"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.n = (module)=>{
        var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
        __webpack_require__.d(getter, {
            a: getter
        });
        return getter;
    };
})();
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    renderShowButton: ()=>renderShowButton
});
require("../atomic-icon/atomic-icon.cjs");
const external_lit_namespaceObject = require("lit");
const when_js_namespaceObject = require("lit/directives/when.js");
const external_button_cjs_namespaceObject = require("../button.cjs");
const arrow_bottom_rounded_cjs_namespaceObject = require("../../../images/arrow-bottom-rounded.cjs");
var arrow_bottom_rounded_cjs_default = /*#__PURE__*/ __webpack_require__.n(arrow_bottom_rounded_cjs_namespaceObject);
const arrow_top_rounded_cjs_namespaceObject = require("../../../images/arrow-top-rounded.cjs");
var arrow_top_rounded_cjs_default = /*#__PURE__*/ __webpack_require__.n(arrow_top_rounded_cjs_namespaceObject);
const renderShowButton = ({ props })=>(0, external_lit_namespaceObject.html)`${(0, external_button_cjs_namespaceObject.renderButton)({
        props: {
            style: 'text-primary',
            part: 'answer-show-button',
            class: 'hidden items-center hover:bg-transparent',
            onClick: props.onClick
        }
    })((0, external_lit_namespaceObject.html)`
    <div class="text-base font-light">
      ${(0, when_js_namespaceObject.when)(props.isCollapsed, ()=>props.i18n.t('show-more'), ()=>props.i18n.t('show-less'))}
    </div>
    <atomic-icon
      part="answer-show-icon"
      class="ml-2 w-3.5"
      icon=${props.isCollapsed ? arrow_bottom_rounded_cjs_default() : arrow_top_rounded_cjs_default()}
    ></atomic-icon>
  `)}`;
exports.renderShowButton = __webpack_exports__.renderShowButton;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "renderShowButton"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
