"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__, {
    renderRefineModalSortSection: ()=>renderRefineModalSortSection
});
const external_lit_namespaceObject = require("lit");
const sort_cjs_namespaceObject = require("../../../images/sort.cjs");
var sort_cjs_default = /*#__PURE__*/ __webpack_require__.n(sort_cjs_namespaceObject);
const renderRefineModalSortSection = ({ props })=>(children)=>(0, external_lit_namespaceObject.html)`
      <h2
        part="section-title section-sort-title"
        class="mb-3 truncate text-2xl font-bold"
      >
        ${props.i18n.t('sort')}
      </h2>
      <div part="select-wrapper" class="relative">
        <select
          class="btn-outline-neutral peer w-full grow cursor-pointer appearance-none rounded-lg px-6 py-5 text-lg font-bold"
          part="select"
          aria-label=${props.i18n.t('sort-by')}
          @change=${props.onSelect}
        >
          ${children}
        </select>
        <div
          part="select-icon-wrapper"
          class="peer-hover:text-primary-light peer-focus-within:text-primary-light pointer-events-none absolute top-0 right-0 bottom-0 flex items-center justify-center pr-6"
        >
          <atomic-icon
            part="select-icon"
            icon=${sort_cjs_default()}
            class="h-6 w-6"
          ></atomic-icon>
        </div>
      </div>
    `;
exports.renderRefineModalSortSection = __webpack_exports__.renderRefineModalSortSection;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "renderRefineModalSortSection"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
