"use strict";
var __webpack_require__ = {};
(()=>{
    __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__, {
    renderFacetPlaceholder: ()=>renderFacetPlaceholder
});
const external_lit_namespaceObject = require("lit");
const when_js_namespaceObject = require("lit/directives/when.js");
const renderFacetPlaceholder = ({ props })=>{
    const facetValues = [];
    for(let i = 0; i < props.numberOfValues; i++)facetValues.push((0, external_lit_namespaceObject.html)`<div
        class="bg-neutral mt-4 flex h-5"
        style="width: 100%; opacity: 0.5"
      ></div>`);
    return (0, external_lit_namespaceObject.html)`<div
    part="placeholder"
    class="bg-background border-neutral mb-4 animate-pulse rounded-lg border p-7"
    aria-hidden="true"
  >
    <div class="bg-neutral h-8 rounded" style="width: 75%"></div>
    ${(0, when_js_namespaceObject.when)(!props.isCollapsed, ()=>(0, external_lit_namespaceObject.html)`<div class="mt-7">${facetValues}</div>`)}
  </div>`;
};
exports.renderFacetPlaceholder = __webpack_exports__.renderFacetPlaceholder;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "renderFacetPlaceholder"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
