@oiz/stzh-components 2.5.0-alpha → 2.5.0-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/cjs/{app-globals-0c3558c0.js → app-globals-adfd466f.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  4. package/dist/cjs/stzh-chip_2.cjs.entry.js +1 -1
  5. package/dist/cjs/stzh-components.cjs.js +2 -2
  6. package/dist/cjs/stzh-dropdown.cjs.entry.js +19 -1
  7. package/dist/cjs/stzh-olmap.cjs.entry.js +442 -1
  8. package/dist/collection/components/stzh-button/stzh-button.css +1 -0
  9. package/dist/collection/components/stzh-chip/stzh-chip.css +13 -8
  10. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +15 -2
  11. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +94 -8
  12. package/dist/collection/components/stzh-olmap/stzh-olmap.css +7 -2
  13. package/dist/collection/components/stzh-olmap/stzh-olmap.js +34 -0
  14. package/dist/components/index.js +1 -1
  15. package/dist/components/stzh-button2.js +1 -1
  16. package/dist/components/stzh-chip2.js +1 -1
  17. package/dist/components/stzh-dropdown2.js +24 -2
  18. package/dist/components/stzh-olmap.js +444 -2
  19. package/dist/esm/{app-globals-a58b5d2d.js → app-globals-9f43baf6.js} +1 -1
  20. package/dist/esm/loader.js +2 -2
  21. package/dist/esm/stzh-badge_3.entry.js +1 -1
  22. package/dist/esm/stzh-chip_2.entry.js +1 -1
  23. package/dist/esm/stzh-components.js +2 -2
  24. package/dist/esm/stzh-dropdown.entry.js +19 -1
  25. package/dist/esm/stzh-olmap.entry.js +442 -1
  26. package/dist/esm-es5/{app-globals-a58b5d2d.js → app-globals-9f43baf6.js} +1 -1
  27. package/dist/esm-es5/loader.js +1 -1
  28. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  29. package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
  30. package/dist/esm-es5/stzh-components.js +1 -1
  31. package/dist/esm-es5/stzh-dropdown.entry.js +6 -6
  32. package/dist/esm-es5/stzh-olmap.entry.js +2 -2
  33. package/dist/stzh-components/p-08e324a9.entry.js +9 -0
  34. package/dist/stzh-components/p-22d01c71.entry.js +1 -0
  35. package/dist/stzh-components/{p-72f050c1.system.js → p-3cec74af.system.js} +1 -1
  36. package/dist/stzh-components/p-4b2a4289.entry.js +1 -0
  37. package/dist/stzh-components/{p-a8205b50.system.entry.js → p-833c666f.system.entry.js} +1 -1
  38. package/dist/stzh-components/p-8e48e5b2.system.js +1 -0
  39. package/dist/stzh-components/p-a3d67aca.entry.js +7 -0
  40. package/dist/stzh-components/p-a493c52e.system.entry.js +1 -0
  41. package/dist/stzh-components/p-b706c115.system.entry.js +1 -0
  42. package/dist/stzh-components/{p-73ce3c9b.system.entry.js → p-bd2b4c37.system.entry.js} +7 -7
  43. package/dist/stzh-components/{p-8276a3a5.js → p-d8468b5f.js} +1 -1
  44. package/dist/stzh-components/stzh-components.esm.js +1 -1
  45. package/dist/stzh-components/stzh-components.js +1 -1
  46. package/dist/types/components.d.ts +36 -8
  47. package/dist/vscode-data.json +20 -0
  48. package/package.json +1 -1
  49. package/dist/stzh-components/p-06e2b01d.system.entry.js +0 -1
  50. package/dist/stzh-components/p-077a1368.entry.js +0 -1
  51. package/dist/stzh-components/p-0b5226e2.entry.js +0 -7
  52. package/dist/stzh-components/p-406c9413.entry.js +0 -9
  53. package/dist/stzh-components/p-ac6df3e4.system.entry.js +0 -1
  54. package/dist/stzh-components/p-cfe82456.entry.js +0 -1
  55. package/dist/stzh-components/p-dde56464.system.js +0 -1
@@ -1,9 +0,0 @@
1
- import{r as t,e as o,h as e,c as s,g as r}from"./p-99a3742a.js";import{h as i}from"./p-5c697491.js";import{f as n}from"./p-25a09313.js";import{S as l}from"./p-7f0fb35c.js";import{c as a,a as d}from"./p-3e8ff66b.js";var h=a((function(t){t.exports=function(){function t(t,o){t.split(/\s+/).forEach((t=>{o(t)}))}class o{constructor(){this._events=void 0,this._events={}}on(o,e){t(o,(t=>{const o=this._events[t]||[];o.push(e),this._events[t]=o}))}off(o,e){var s=arguments.length;0!==s?t(o,(t=>{if(1===s)return void delete this._events[t];const o=this._events[t];void 0!==o&&(o.splice(o.indexOf(e),1),this._events[t]=o)})):this._events={}}trigger(o,...e){var s=this;t(o,(t=>{const o=s._events[t];void 0!==o&&o.forEach((t=>{t.apply(s,e)}))}))}}
2
- /*! @orchidjs/unicode-variants | https://github.com/orchidjs/unicode-variants | Apache License (v2) */
3
- const e=t=>(t=t.filter(Boolean)).length<2?t[0]||"":1==l(t)?"["+t.join("")+"]":"(?:"+t.join("|")+")",s=t=>{if(!i(t))return t.join("");let o="",e=0;const s=()=>{e>1&&(o+="{"+e+"}")};return t.forEach(((r,i)=>{r!==t[i-1]?(s(),o+=r,e=1):e++})),s(),o},r=t=>{let o=d(t);return e(o)},i=t=>new Set(t).size!==t.length,n=t=>(t+"").replace(/([\$\(\)\*\+\.\?\[\]\^\{\|\}\\])/gu,"\\$1"),l=t=>t.reduce(((t,o)=>Math.max(t,a(o))),0),a=t=>d(t).length,d=t=>Array.from(t)
4
- /*! @orchidjs/unicode-variants | https://github.com/orchidjs/unicode-variants | Apache License (v2) */,h=t=>{if(1===t.length)return[[t]];let o=[];const e=t.substring(1);return h(e).forEach((function(e){let s=e.slice(0);s[0]=t.charAt(0)+s[0],o.push(s),s=e.slice(0),s.unshift(t.charAt(0)),o.push(s)})),o},p=[[0,65535]];let c,u;const z={},v={"/":"⁄∕",0:"߀",a:"ⱥɐɑ",aa:"ꜳ",ae:"æǽǣ",ao:"ꜵ",au:"ꜷ",av:"ꜹꜻ",ay:"ꜽ",b:"ƀɓƃ",c:"ꜿƈȼↄ",d:"đɗɖᴅƌꮷԁɦ",e:"ɛǝᴇɇ",f:"ꝼƒ",g:"ǥɠꞡᵹꝿɢ",h:"ħⱨⱶɥ",i:"ɨı",j:"ɉȷ",k:"ƙⱪꝁꝃꝅꞣ",l:"łƚɫⱡꝉꝇꞁɭ",m:"ɱɯϻ",n:"ꞥƞɲꞑᴎлԉ",o:"øǿɔɵꝋꝍᴑ",oe:"œ",oi:"ƣ",oo:"ꝏ",ou:"ȣ",p:"ƥᵽꝑꝓꝕρ",q:"ꝗꝙɋ",r:"ɍɽꝛꞧꞃ",s:"ßȿꞩꞅʂ",t:"ŧƭʈⱦꞇ",th:"þ",tz:"ꜩ",u:"ʉ",v:"ʋꝟʌ",vy:"ꝡ",w:"ⱳ",y:"ƴɏỿ",z:"ƶȥɀⱬꝣ",hv:"ƕ"};for(let pt in v){let t=v[pt]||"";for(let o=0;o<t.length;o++){let e=t.substring(o,o+1);z[e]=pt}}const m=new RegExp(Object.keys(z).join("|")+"|[̀-ͯ·ʾʼ]","gu"),w=(t,o="NFKD")=>t.normalize(o),f=t=>d(t).reduce(((t,o)=>t+_(o)),""),_=t=>(t=w(t).toLowerCase().replace(m,(t=>z[t]||"")),w(t,"NFC"));const g=t=>{const o={},e=(t,e)=>{const s=o[t]||new Set,i=new RegExp("^"+r(s)+"$","iu");e.match(i)||(s.add(n(e)),o[t]=s)};for(let s of function*(t){for(const[o,e]of t)for(let t=o;t<=e;t++){let o=String.fromCharCode(t),e=f(o);e!=o.toLowerCase()&&(e.length>3||0!=e.length&&(yield{folded:e,composed:o,code_point:t}))}}(t))e(s.folded,s.folded),e(s.folded,s.composed);return o},b=t=>{const o=g(t),s={};let i=[];for(let e in o){let t=o[e];t&&(s[e]=r(t)),e.length>1&&i.push(n(e))}i.sort(((t,o)=>o.length-t.length));const l=e(i);return u=new RegExp("^"+l,"u"),s},x=(t,o=1)=>(o=Math.max(o,t.length-1),e(h(t).map((t=>((t,o=1)=>{let e=0;return t=t.map((t=>(c[t]&&(e+=t.length),c[t]||t))),e>=o?s(t):""})(t,o))))),y=(t,o=!0)=>{let r=t.length>1?1:0;return e(t.map((t=>{let e=[];const i=o?t.length():t.length()-1;for(let o=0;o<i;o++)e.push(x(t.substrs[o]||"",r));return s(e)})))},k=(t,o)=>{for(const e of o){if(e.start!=t.start||e.end!=t.end)continue;if(e.substrs.join("")!==t.substrs.join(""))continue;let o=t.parts;if(!(e.parts.filter((t=>{for(const e of o){if(e.start===t.start&&e.substr===t.substr)return!1;if(1!=t.length&&1!=e.length){if(t.start<e.start&&t.end>e.start)return!0;if(e.start<t.start&&e.end>t.start)return!0}}return!1})).length>0))return!0}return!1};class O{constructor(){this.parts=[],this.substrs=[],this.start=0,this.end=0}add(t){t&&(this.parts.push(t),this.substrs.push(t.substr),this.start=Math.min(t.start,this.start),this.end=Math.max(t.end,this.end))}last(){return this.parts[this.parts.length-1]}length(){return this.parts.length}clone(t,o){let e=new O,s=JSON.parse(JSON.stringify(this.parts)),r=s.pop();for(const l of s)e.add(l);let i=o.substr.substring(0,t-r.start),n=i.length;return e.add({start:r.start,end:r.start+n,length:n,substr:i}),e}}const S=t=>{var o;void 0===c&&(c=b(o||p)),t=f(t);let e="",s=[new O];for(let r=0;r<t.length;r++){let o=t.substring(r).match(u);const i=t.substring(r,r+1),n=o?o[0]:null;let l=[],a=new Set;for(const t of s){const o=t.last();if(!o||1==o.length||o.end<=r)if(n){const o=n.length;t.add({start:r,end:r+o,length:o,substr:n}),a.add("1")}else t.add({start:r,end:r+1,length:1,substr:i}),a.add("2");else if(n){let e=t.clone(r,o);const s=n.length;e.add({start:r,end:r+s,length:s,substr:n}),l.push(e)}else a.add("3")}if(l.length>0){l=l.sort(((t,o)=>t.length()-o.length()));for(let t of l)k(t,s)||s.push(t)}else if(r>0&&1==a.size&&!a.has("3")){e+=y(s,!1);let t=new O;const o=s[0];o&&t.add(o.last()),s=[t]}}return e+=y(s,!0),e},F=(t,o)=>{if(t)return t[o]},A=(t,o)=>{if(t){for(var e,s=o.split(".");(e=s.shift())&&(t=t[e]););return t}},C=(t,o,e)=>{var s,r;return t?null==o.regex||-1===(r=(t+="").search(o.regex))?0:(s=o.string.length/t.length,0===r&&(s+=.5),s*e):0},I=(t,o)=>{var e=t[o];if("function"==typeof e)return e;e&&!Array.isArray(e)&&(t[o]=[e])},j=(t,o)=>{if(Array.isArray(t))t.forEach(o);else for(var e in t)t.hasOwnProperty(e)&&o(t[e],e)},E=(t,o)=>"number"==typeof t&&"number"==typeof o?t>o?1:t<o?-1:0:(t=f(t+"").toLowerCase())>(o=f(o+"").toLowerCase())?1:o>t?-1:0;
5
- /*! sifter.js | https://github.com/orchidjs/sifter.js | Apache License (v2) */
6
- /*! sifter.js | https://github.com/orchidjs/sifter.js | Apache License (v2) */
7
- class ${constructor(t,o){this.items=void 0,this.settings=void 0,this.items=t,this.settings=o||{diacritics:!0}}tokenize(t,o,e){if(!t||!t.length)return[];const s=[],r=t.split(/\s+/);var i;return e&&(i=new RegExp("^("+Object.keys(e).map(n).join("|")+"):(.*)$")),r.forEach((t=>{let e,r=null,l=null;i&&(e=t.match(i))&&(r=e[1],t=e[2]),t.length>0&&(l=this.settings.diacritics?S(t)||null:n(t),l&&o&&(l="\\b"+l)),s.push({string:t,regex:l?new RegExp(l,"iu"):null,field:r})})),s}getScoreFunction(t,o){var e=this.prepareSearch(t,o);return this._getScoreFunction(e)}_getScoreFunction(t){const o=t.tokens,e=o.length;if(!e)return function(){return 0};const s=t.options.fields,r=t.weights,i=s.length,n=t.getAttrFn;if(!i)return function(){return 1};const l=1===i?function(t,o){const e=s[0].field;return C(n(o,e),t,r[e]||1)}:function(t,o){var e=0;if(t.field){const s=n(o,t.field);e+=!t.regex&&s?1/i:C(s,t,1)}else j(r,((s,r)=>{e+=C(n(o,r),t,s)}));return e/i};return 1===e?function(t){return l(o[0],t)}:"and"===t.options.conjunction?function(t){var s,r=0;for(let e of o){if((s=l(e,t))<=0)return 0;r+=s}return r/e}:function(t){var s=0;return j(o,(o=>{s+=l(o,t)})),s/e}}getSortFunction(t,o){var e=this.prepareSearch(t,o);return this._getSortFunction(e)}_getSortFunction(t){var o,e=[];const s=this,r=t.options,i=!t.query&&r.sort_empty?r.sort_empty:r.sort;if("function"==typeof i)return i.bind(this);const n=function(o,e){return"$score"===o?e.score:t.getAttrFn(s.items[e.id],o)};if(i)for(let l of i)(t.query||"$score"!==l.field)&&e.push(l);if(t.query){o=!0;for(let t of e)if("$score"===t.field){o=!1;break}o&&e.unshift({field:"$score",direction:"desc"})}else e=e.filter((t=>"$score"!==t.field));return e.length?function(t,o){var s,r;for(let i of e)if(s=("desc"===i.direction?-1:1)*E(n(r=i.field,t),n(r,o)))return s;return 0}:null}prepareSearch(t,o){const e={};var s=Object.assign({},o);if(I(s,"sort"),I(s,"sort_empty"),s.fields){I(s,"fields");const t=[];s.fields.forEach((o=>{"string"==typeof o&&(o={field:o,weight:1}),t.push(o),e[o.field]="weight"in o?o.weight:1})),s.fields=t}return{options:s,query:t.toLowerCase().trim(),tokens:this.tokenize(t,s.respect_word_boundaries,e),total:0,items:[],weights:e,getAttrFn:s.nesting?A:F}}search(t,o){var e,s,r=this;t=(s=this.prepareSearch(t,o)).query;const i=(o=s.options).score||r._getScoreFunction(s);j(r.items,t.length?(t,r)=>{e=i(t),(!1===o.filter||e>0)&&s.items.push({score:e,id:r})}:(t,o)=>{s.items.push({score:1,id:o})});const n=r._getSortFunction(s);return n&&s.items.sort(n),s.total=s.items.length,"number"==typeof o.limit&&(s.items=s.items.slice(0,o.limit)),s}}const T=(t,o)=>{if(Array.isArray(t))t.forEach(o);else for(var e in t)t.hasOwnProperty(e)&&o(t[e],e)},L=t=>{if(t.jquery)return t[0];if(t instanceof HTMLElement)return t;if(R(t)){var o=document.createElement("template");return o.innerHTML=t.trim(),o.content.firstChild}return document.querySelector(t)},R=t=>"string"==typeof t&&t.indexOf("<")>-1,M=(t,o)=>{var e=document.createEvent("HTMLEvents");e.initEvent(o,!0,!1),t.dispatchEvent(e)},N=(t,o)=>{Object.assign(t.style,o)},W=(t,...o)=>{var e=q(o);(t=P(t)).map((t=>{e.map((o=>{t.classList.add(o)}))}))},D=(t,...o)=>{var e=q(o);(t=P(t)).map((t=>{e.map((o=>{t.classList.remove(o)}))}))},q=t=>{var o=[];return T(t,(t=>{"string"==typeof t&&(t=t.trim().split(/[\11\12\14\15\40]/)),Array.isArray(t)&&(o=o.concat(t))})),o.filter(Boolean)},P=t=>(Array.isArray(t)||(t=[t]),t),V=(t,o,e)=>{if(!e||e.contains(t))for(;t&&t.matches;){if(t.matches(o))return t;t=t.parentNode}},J=(t,o=0)=>o>0?t[t.length-1]:t[0],B=(t,o)=>{if(!t)return-1;o=o||t.nodeName;for(var e=0;t=t.previousElementSibling;)t.matches(o)&&e++;return e},H=(t,o)=>{T(o,((o,e)=>{null==o?t.removeAttribute(e):t.setAttribute(e,""+o)}))},K=(t,o)=>{t.parentNode&&t.parentNode.replaceChild(o,t)},G=(t,o)=>{if(null===o)return;if("string"==typeof o){if(!o.length)return;o=new RegExp(o,"i")}const e=t=>3===t.nodeType?(t=>{var e=t.data.match(o);if(e&&t.data.length>0){var s=document.createElement("span");s.className="highlight";var r=t.splitText(e.index);r.splitText(e[0].length);var i=r.cloneNode(!0);return s.appendChild(i),K(r,s),1}return 0})(t):((t=>{1!==t.nodeType||!t.childNodes||/(script|style)/i.test(t.tagName)||"highlight"===t.className&&"SPAN"===t.tagName||Array.from(t.childNodes).forEach((t=>{e(t)}))})(t),0);e(t)},Y="undefined"!=typeof navigator&&/Mac/.test(navigator.userAgent)?"metaKey":"ctrlKey";var U={options:[],optgroups:[],plugins:[],delimiter:",",splitOn:null,persist:!0,diacritics:!0,create:null,createOnBlur:!1,createFilter:null,highlight:!0,openOnFocus:!0,shouldOpen:null,maxOptions:50,maxItems:null,hideSelected:null,duplicates:!1,addPrecedence:!1,selectOnTab:!1,preload:null,allowEmptyOption:!1,loadThrottle:300,loadingClass:"loading",dataAttr:null,optgroupField:"optgroup",valueField:"value",labelField:"text",disabledField:"disabled",optgroupLabelField:"label",optgroupValueField:"value",lockOptgroupOrder:!1,sortField:"$order",searchField:["text"],searchConjunction:"and",mode:null,wrapperClass:"ts-wrapper",controlClass:"ts-control",dropdownClass:"ts-dropdown",dropdownContentClass:"ts-dropdown-content",itemClass:"item",optionClass:"option",dropdownParent:null,controlInput:'<input type="text" autocomplete="off" size="1" />',copyClassesToDropdown:!1,placeholder:null,hidePlaceholder:null,shouldLoad:function(t){return t.length>0},render:{}};const Q=t=>null==t?null:X(t),X=t=>"boolean"==typeof t?t?"1":"0":t+"",Z=t=>(t+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),tt=(t,o)=>{var e;return function(s,r){var i=this;e&&(i.loading=Math.max(i.loading-1,0),clearTimeout(e)),e=setTimeout((function(){e=null,i.loadedSearches[s]=!0,t.call(i,s,r)}),o)}},ot=(t,o,e)=>{var s,r=t.trigger,i={};for(s of(t.trigger=function(){var e=arguments[0];if(-1===o.indexOf(e))return r.apply(t,arguments);i[e]=arguments},e.apply(t,[]),t.trigger=r,o))s in i&&r.apply(t,i[s])},et=(t,o=!1)=>{t&&(t.preventDefault(),o&&t.stopPropagation())},st=(t,o,e,s)=>{t.addEventListener(o,e,s)},rt=(t,o)=>!!o&&!!o[t]&&1==(o.altKey?1:0)+(o.ctrlKey?1:0)+(o.shiftKey?1:0)+(o.metaKey?1:0),it=(t,o)=>t.getAttribute("id")||(t.setAttribute("id",o),o),nt=t=>t.replace(/[\\"']/g,"\\$&"),lt=(t,o)=>{o&&t.append(o)};function at(t,o){var e=Object.assign({},U,o),s=e.dataAttr,r=e.labelField,i=e.valueField,n=e.disabledField,l=e.optgroupField,a=e.optgroupLabelField,d=e.optgroupValueField,h=t.tagName.toLowerCase(),p=t.getAttribute("placeholder")||t.getAttribute("data-placeholder");if(!p&&!e.allowEmptyOption){let o=t.querySelector('option[value=""]');o&&(p=o.textContent)}var c,u,z,v,m,w,f,_={placeholder:p,options:[],optgroups:[],items:[],maxItems:null};return"select"===h?(u=_.options,z={},v=1,m=t=>{var o=Object.assign({},t.dataset),e=s&&o[s];return"string"==typeof e&&e.length&&(o=Object.assign(o,JSON.parse(e))),o},w=(t,o)=>{var s=Q(t.value);if(null!=s&&(s||e.allowEmptyOption)){if(z.hasOwnProperty(s)){if(o){var a=z[s][l];a?Array.isArray(a)?a.push(o):z[s][l]=[a,o]:z[s][l]=o}}else{var d=m(t);d[r]=d[r]||t.textContent,d[i]=d[i]||s,d[n]=d[n]||t.disabled,d[l]=d[l]||o,d.$option=t,z[s]=d,u.push(d)}t.selected&&_.items.push(s)}},f=t=>{var o,e;(e=m(t))[a]=e[a]||t.getAttribute("label")||"",e[d]=e[d]||v++,e[n]=e[n]||t.disabled,_.optgroups.push(e),o=e[d],T(t.children,(t=>{w(t,o)}))},_.maxItems=t.hasAttribute("multiple")?null:1,T(t.children,(t=>{"optgroup"===(c=t.tagName.toLowerCase())?f(t):"option"===c&&w(t)}))):(()=>{const o=t.getAttribute(s);if(o)_.options=JSON.parse(o),T(_.options,(t=>{_.items.push(t[i])}));else{var n=t.value.trim()||"";if(!e.allowEmptyOption&&!n.length)return;const o=n.split(e.delimiter);T(o,(t=>{const o={};o[r]=t,o[i]=t,_.options.push(o)})),_.items=o}})(),Object.assign({},U,_,o)}var dt=0;class ht extends(function(t){return t.plugins={},class extends t{constructor(...t){super(...t),this.plugins={names:[],settings:{},requested:{},loaded:{}}}static define(o,e){t.plugins[o]={name:o,fn:e}}initializePlugins(t){var o,e;const s=this,r=[];if(Array.isArray(t))t.forEach((t=>{"string"==typeof t?r.push(t):(s.plugins.settings[t.name]=t.options,r.push(t.name))}));else if(t)for(o in t)t.hasOwnProperty(o)&&(s.plugins.settings[o]=t[o],r.push(o));for(;e=r.shift();)s.require(e)}loadPlugin(o){var e=this,s=e.plugins,r=t.plugins[o];if(!t.plugins.hasOwnProperty(o))throw new Error('Unable to find "'+o+'" plugin');s.requested[o]=!0,s.loaded[o]=r.fn.apply(e,[e.plugins.settings[o]||{}]),s.names.push(o)}require(t){var o=this,e=o.plugins;if(!o.plugins.loaded.hasOwnProperty(t)){if(e.requested[t])throw new Error('Plugin has circular dependency ("'+t+'")');o.loadPlugin(t)}return e.loaded[t]}}}(o)){constructor(t,o){var e;super(),this.control_input=void 0,this.wrapper=void 0,this.dropdown=void 0,this.control=void 0,this.dropdown_content=void 0,this.focus_node=void 0,this.order=0,this.settings=void 0,this.input=void 0,this.tabIndex=void 0,this.is_select_tag=void 0,this.rtl=void 0,this.inputId=void 0,this._destroy=void 0,this.sifter=void 0,this.isOpen=!1,this.isDisabled=!1,this.isRequired=void 0,this.isInvalid=!1,this.isValid=!0,this.isLocked=!1,this.isFocused=!1,this.isInputHidden=!1,this.isSetup=!1,this.ignoreFocus=!1,this.ignoreHover=!1,this.hasOptions=!1,this.currentResults=void 0,this.lastValue="",this.caretPos=0,this.loading=0,this.loadedSearches={},this.activeOption=null,this.activeItems=[],this.optgroups={},this.options={},this.userOptions={},this.items=[],dt++;var s=L(t);if(s.tomselect)throw new Error("Tom Select already initialized on this element");s.tomselect=this,e=(window.getComputedStyle&&window.getComputedStyle(s,null)).getPropertyValue("direction");const r=at(s,o);this.settings=r,this.input=s,this.tabIndex=s.tabIndex||0,this.is_select_tag="select"===s.tagName.toLowerCase(),this.rtl=/rtl/i.test(e),this.inputId=it(s,"tomselect-"+dt),this.isRequired=s.required,this.sifter=new $(this.options,{diacritics:r.diacritics}),r.mode=r.mode||(1===r.maxItems?"single":"multi"),"boolean"!=typeof r.hideSelected&&(r.hideSelected="multi"===r.mode),"boolean"!=typeof r.hidePlaceholder&&(r.hidePlaceholder="multi"!==r.mode);var i=r.createFilter;"function"!=typeof i&&("string"==typeof i&&(i=new RegExp(i)),r.createFilter=i instanceof RegExp?t=>i.test(t):t=>this.settings.duplicates||!this.options[t]),this.initializePlugins(r.plugins),this.setupCallbacks(),this.setupTemplates();const n=L("<div>"),l=L("<div>"),a=this._render("dropdown"),d=L('<div role="listbox" tabindex="-1">'),h=this.input.getAttribute("class")||"",p=r.mode;var c;W(n,r.wrapperClass,h,p),W(l,r.controlClass),lt(n,l),W(a,r.dropdownClass,p),r.copyClassesToDropdown&&W(a,h),W(d,r.dropdownContentClass),lt(a,d),L(r.dropdownParent||n).appendChild(a),R(r.controlInput)?(c=L(r.controlInput),j(["autocorrect","autocapitalize","autocomplete"],(t=>{s.getAttribute(t)&&H(c,{[t]:s.getAttribute(t)})})),c.tabIndex=-1,l.appendChild(c),this.focus_node=c):r.controlInput?(c=L(r.controlInput),this.focus_node=c):(c=L("<input/>"),this.focus_node=l),this.wrapper=n,this.dropdown=a,this.dropdown_content=d,this.control=l,this.control_input=c,this.setup()}setup(){const t=this,o=t.settings,e=t.control_input,s=t.dropdown,r=t.dropdown_content,i=t.wrapper,l=t.control,a=t.input,d=t.focus_node,h={passive:!0},p=t.inputId+"-ts-dropdown";H(r,{id:p}),H(d,{role:"combobox","aria-haspopup":"listbox","aria-expanded":"false","aria-controls":p});const c=it(d,t.inputId+"-ts-control"),u="label[for='"+(t=>t.replace(/['"\\]/g,"\\$&"))(t.inputId)+"']",z=document.querySelector(u),v=t.focus.bind(t);if(z){st(z,"click",v),H(z,{for:c});const o=it(z,t.inputId+"-ts-label");H(d,{"aria-labelledby":o}),H(r,{"aria-labelledby":o})}if(i.style.width=a.style.width,t.plugins.names.length){const o="plugin-"+t.plugins.names.join(" plugin-");W([i,s],o)}(null===o.maxItems||o.maxItems>1)&&t.is_select_tag&&H(a,{multiple:"multiple"}),o.placeholder&&H(e,{placeholder:o.placeholder}),!o.splitOn&&o.delimiter&&(o.splitOn=new RegExp("\\s*"+n(o.delimiter)+"+\\s*")),o.load&&o.loadThrottle&&(o.load=tt(o.load,o.loadThrottle)),t.control_input.type=a.type,st(s,"mousemove",(()=>{t.ignoreHover=!1})),st(s,"mouseenter",(o=>{var e=V(o.target,"[data-selectable]",s);e&&t.onOptionHover(o,e)}),{capture:!0}),st(s,"click",(o=>{const e=V(o.target,"[data-selectable]");e&&(t.onOptionSelect(o,e),et(o,!0))})),st(l,"click",(o=>{var s=V(o.target,"[data-ts-item]",l);s&&t.onItemSelect(o,s)?et(o,!0):""==e.value&&(t.onClick(),et(o,!0))})),st(d,"keydown",(o=>t.onKeyDown(o))),st(e,"keypress",(o=>t.onKeyPress(o))),st(e,"input",(o=>t.onInput(o))),st(d,"blur",(o=>t.onBlur(o))),st(d,"focus",(o=>t.onFocus(o))),st(e,"paste",(o=>t.onPaste(o)));const m=o=>{const r=o.composedPath()[0];if(!i.contains(r)&&!s.contains(r))return t.isFocused&&t.blur(),void t.inputState();r==e&&t.isOpen?o.stopPropagation():et(o,!0)},w=()=>{t.isOpen&&t.positionDropdown()};st(document,"mousedown",m),st(window,"scroll",w,h),st(window,"resize",w,h),this._destroy=()=>{document.removeEventListener("mousedown",m),window.removeEventListener("scroll",w),window.removeEventListener("resize",w),z&&z.removeEventListener("click",v)},this.revertSettings={innerHTML:a.innerHTML,tabIndex:a.tabIndex},a.tabIndex=-1,a.insertAdjacentElement("afterend",t.wrapper),t.sync(!1),o.items=[],delete o.optgroups,delete o.options,st(a,"invalid",(()=>{t.isValid&&(t.isValid=!1,t.isInvalid=!0,t.refreshState())})),t.updateOriginalInput(),t.refreshItems(),t.close(!1),t.inputState(),t.isSetup=!0,a.disabled?t.disable():t.enable(),t.on("change",this.onChange),W(a,"tomselected","ts-hidden-accessible"),t.trigger("initialize"),!0===o.preload&&t.preload()}setupOptions(t=[],o=[]){this.addOptions(t),j(o,(t=>{this.registerOptionGroup(t)}))}setupTemplates(){var t=this,o=t.settings.labelField,e=t.settings.optgroupLabelField;t.settings.render=Object.assign({},{optgroup:t=>{let o=document.createElement("div");return o.className="optgroup",o.appendChild(t.options),o},optgroup_header:(t,o)=>'<div class="optgroup-header">'+o(t[e])+"</div>",option:(t,e)=>"<div>"+e(t[o])+"</div>",item:(t,e)=>"<div>"+e(t[o])+"</div>",option_create:(t,o)=>'<div class="create">Add <strong>'+o(t.input)+"</strong>&hellip;</div>",no_results:()=>'<div class="no-results">No results found</div>',loading:()=>'<div class="spinner"></div>',not_loading:()=>{},dropdown:()=>"<div></div>"},t.settings.render)}setupCallbacks(){var t,o,e={initialize:"onInitialize",change:"onChange",item_add:"onItemAdd",item_remove:"onItemRemove",item_select:"onItemSelect",clear:"onClear",option_add:"onOptionAdd",option_remove:"onOptionRemove",option_clear:"onOptionClear",optgroup_add:"onOptionGroupAdd",optgroup_remove:"onOptionGroupRemove",optgroup_clear:"onOptionGroupClear",dropdown_open:"onDropdownOpen",dropdown_close:"onDropdownClose",type:"onType",load:"onLoad",focus:"onFocus",blur:"onBlur"};for(t in e)(o=this.settings[e[t]])&&this.on(t,o)}sync(t=!0){const o=this,e=t?at(o.input,{delimiter:o.settings.delimiter}):o.settings;o.setupOptions(e.options,e.optgroups),o.setValue(e.items||[],!0),o.lastQuery=null}onClick(){var t=this;if(t.activeItems.length>0)return t.clearActiveItems(),void t.focus();t.isFocused&&t.isOpen?t.blur():t.focus()}onMouseDown(){}onChange(){M(this.input,"input"),M(this.input,"change")}onPaste(t){var o=this;o.isInputHidden||o.isLocked?et(t):o.settings.splitOn&&setTimeout((()=>{var t=o.inputValue();if(t.match(o.settings.splitOn)){var e=t.trim().split(o.settings.splitOn);j(e,(t=>{Q(t)&&(this.options[t]?o.addItem(t):o.createItem(t))}))}}),0)}onKeyPress(t){var o=this;if(!o.isLocked){var e=String.fromCharCode(t.keyCode||t.which);return o.settings.create&&"multi"===o.settings.mode&&e===o.settings.delimiter?(o.createItem(),void et(t)):void 0}et(t)}onKeyDown(t){var o=this;if(o.ignoreHover=!0,o.isLocked)9!==t.keyCode&&et(t);else{switch(t.keyCode){case 65:if(rt(Y,t)&&""==o.control_input.value)return et(t),void o.selectAll();break;case 27:return o.isOpen&&(et(t,!0),o.close()),void o.clearActiveItems();case 40:if(!o.isOpen&&o.hasOptions)o.open();else if(o.activeOption){let t=o.getAdjacent(o.activeOption,1);t&&o.setActiveOption(t)}return void et(t);case 38:if(o.activeOption){let t=o.getAdjacent(o.activeOption,-1);t&&o.setActiveOption(t)}return void et(t);case 13:return void(o.canSelect(o.activeOption)?(o.onOptionSelect(t,o.activeOption),et(t)):(o.settings.create&&o.createItem()||document.activeElement==o.control_input&&o.isOpen)&&et(t));case 37:return void o.advanceSelection(-1,t);case 39:return void o.advanceSelection(1,t);case 9:return void(o.settings.selectOnTab&&(o.canSelect(o.activeOption)&&(o.onOptionSelect(t,o.activeOption),et(t)),o.settings.create&&o.createItem()&&et(t)));case 8:case 46:return void o.deleteSelection(t)}o.isInputHidden&&!rt(Y,t)&&et(t)}}onInput(t){var o=this;if(!o.isLocked){var e=o.inputValue();o.lastValue!==e&&(o.lastValue=e,o.settings.shouldLoad.call(o,e)&&o.load(e),o.refreshOptions(),o.trigger("type",e))}}onOptionHover(t,o){this.ignoreHover||this.setActiveOption(o,!1)}onFocus(t){var o=this,e=o.isFocused;if(o.isDisabled)return o.blur(),void et(t);o.ignoreFocus||(o.isFocused=!0,"focus"===o.settings.preload&&o.preload(),e||o.trigger("focus"),o.activeItems.length||(o.showInput(),o.refreshOptions(!!o.settings.openOnFocus)),o.refreshState())}onBlur(t){if(!1!==document.hasFocus()){var o=this;if(o.isFocused){o.isFocused=!1,o.ignoreFocus=!1;var e=()=>{o.close(),o.setActiveItem(),o.setCaret(o.items.length),o.trigger("blur")};o.settings.create&&o.settings.createOnBlur?o.createItem(null,e):e()}}}onOptionSelect(t,o){var e,s=this;o.parentElement&&o.parentElement.matches("[data-disabled]")||(o.classList.contains("create")?s.createItem(null,(()=>{s.settings.closeAfterSelect&&s.close()})):void 0!==(e=o.dataset.value)&&(s.lastQuery=null,s.addItem(e),s.settings.closeAfterSelect&&s.close(),!s.settings.hideSelected&&t.type&&/click/.test(t.type)&&s.setActiveOption(o)))}canSelect(t){return!!(this.isOpen&&t&&this.dropdown_content.contains(t))}onItemSelect(t,o){var e=this;return!e.isLocked&&"multi"===e.settings.mode&&(et(t),e.setActiveItem(o,t),!0)}canLoad(t){return!!this.settings.load&&!this.loadedSearches.hasOwnProperty(t)}load(t){const o=this;if(!o.canLoad(t))return;W(o.wrapper,o.settings.loadingClass),o.loading++;const e=o.loadCallback.bind(o);o.settings.load.call(o,t,e)}loadCallback(t,o){const e=this;e.loading=Math.max(e.loading-1,0),e.lastQuery=null,e.clearActiveOption(),e.setupOptions(t,o),e.refreshOptions(e.isFocused&&!e.isInputHidden),e.loading||D(e.wrapper,e.settings.loadingClass),e.trigger("load",t,o)}preload(){var t=this.wrapper.classList;t.contains("preloaded")||(t.add("preloaded"),this.load(""))}setTextboxValue(t=""){var o=this.control_input;o.value!==t&&(o.value=t,M(o,"update"),this.lastValue=t)}getValue(){return this.is_select_tag&&this.input.hasAttribute("multiple")?this.items:this.items.join(this.settings.delimiter)}setValue(t,o){ot(this,o?[]:["change"],(()=>{this.clear(o),this.addItems(t,o)}))}setMaxItems(t){0===t&&(t=null),this.settings.maxItems=t,this.refreshState()}setActiveItem(t,o){var e,s,r,i,n,l,a=this;if("single"!==a.settings.mode){if(!t)return a.clearActiveItems(),void(a.isFocused&&a.showInput());if("click"===(e=o&&o.type.toLowerCase())&&rt("shiftKey",o)&&a.activeItems.length){for(l=a.getLastActive(),(r=Array.prototype.indexOf.call(a.control.children,l))>(i=Array.prototype.indexOf.call(a.control.children,t))&&(n=r,r=i,i=n),s=r;s<=i;s++)-1===a.activeItems.indexOf(t=a.control.children[s])&&a.setActiveItemClass(t);et(o)}else"click"===e&&rt(Y,o)||"keydown"===e&&rt("shiftKey",o)?t.classList.contains("active")?a.removeActiveItem(t):a.setActiveItemClass(t):(a.clearActiveItems(),a.setActiveItemClass(t));a.hideInput(),a.isFocused||a.focus()}}setActiveItemClass(t){const o=this,e=o.control.querySelector(".last-active");e&&D(e,"last-active"),W(t,"active last-active"),o.trigger("item_select",t),-1==o.activeItems.indexOf(t)&&o.activeItems.push(t)}removeActiveItem(t){var o=this.activeItems.indexOf(t);this.activeItems.splice(o,1),D(t,"active")}clearActiveItems(){D(this.activeItems,"active"),this.activeItems=[]}setActiveOption(t,o=!0){t!==this.activeOption&&(this.clearActiveOption(),t&&(this.activeOption=t,H(this.focus_node,{"aria-activedescendant":t.getAttribute("id")}),H(t,{"aria-selected":"true"}),W(t,"active"),o&&this.scrollToOption(t)))}scrollToOption(t,o){if(!t)return;const e=this.dropdown_content,s=e.clientHeight,r=e.scrollTop||0,i=t.offsetHeight,n=t.getBoundingClientRect().top-e.getBoundingClientRect().top+r;n+i>s+r?this.scroll(n-s+i,o):n<r&&this.scroll(n,o)}scroll(t,o){const e=this.dropdown_content;o&&(e.style.scrollBehavior=o),e.scrollTop=t,e.style.scrollBehavior=""}clearActiveOption(){this.activeOption&&(D(this.activeOption,"active"),H(this.activeOption,{"aria-selected":null})),this.activeOption=null,H(this.focus_node,{"aria-activedescendant":null})}selectAll(){const t=this;if("single"===t.settings.mode)return;const o=t.controlChildren();o.length&&(t.hideInput(),t.close(),t.activeItems=o,j(o,(o=>{t.setActiveItemClass(o)})))}inputState(){var t=this;t.control.contains(t.control_input)&&(H(t.control_input,{placeholder:t.settings.placeholder}),t.activeItems.length>0||!t.isFocused&&t.settings.hidePlaceholder&&t.items.length>0?(t.setTextboxValue(),t.isInputHidden=!0):(t.settings.hidePlaceholder&&t.items.length>0&&H(t.control_input,{placeholder:""}),t.isInputHidden=!1),t.wrapper.classList.toggle("input-hidden",t.isInputHidden))}hideInput(){this.inputState()}showInput(){this.inputState()}inputValue(){return this.control_input.value.trim()}focus(){var t=this;t.isDisabled||(t.ignoreFocus=!0,t.control_input.offsetWidth?t.control_input.focus():t.focus_node.focus(),setTimeout((()=>{t.ignoreFocus=!1,t.onFocus()}),0))}blur(){this.focus_node.blur(),this.onBlur()}getScoreFunction(t){return this.sifter.getScoreFunction(t,this.getSearchOptions())}getSearchOptions(){var t=this.settings,o=t.sortField;return"string"==typeof t.sortField&&(o=[{field:t.sortField}]),{fields:t.searchField,conjunction:t.searchConjunction,sort:o,nesting:t.nesting}}search(t){var o,e,s=this,r=this.getSearchOptions();if(s.settings.score&&"function"!=typeof(e=s.settings.score.call(s,t)))throw new Error('Tom Select "score" setting must be a function that returns a function');return t!==s.lastQuery?(s.lastQuery=t,o=s.sifter.search(t,Object.assign(r,{score:e})),s.currentResults=o):o=Object.assign({},s.currentResults),s.settings.hideSelected&&(o.items=o.items.filter((t=>{let o=Q(t.id);return!(o&&-1!==s.items.indexOf(o))}))),o}refreshOptions(t=!0){var o,e,s,r,i,n,l,a,d,h;const p={},c=[];var u=this,z=u.inputValue();const v=z===u.lastQuery||""==z&&null==u.lastQuery;var m,w=u.search(z),f=null,_=u.settings.shouldOpen||!1,g=u.dropdown_content;for(v&&(f=u.activeOption)&&(d=f.closest("[data-group]")),r=w.items.length,"number"==typeof u.settings.maxOptions&&(r=Math.min(r,u.settings.maxOptions)),r>0&&(_=!0),o=0;o<r;o++){let t=w.items[o];if(!t)continue;let r=t.id,l=u.options[r];if(void 0===l)continue;let a=X(r),h=u.getOption(a,!0);for(u.settings.hideSelected||h.classList.toggle("selected",u.items.includes(a)),i=l[u.settings.optgroupField]||"",e=0,s=(n=Array.isArray(i)?i:[i])&&n.length;e<s;e++){u.optgroups.hasOwnProperty(i=n[e])||(i="");let t=p[i];void 0===t&&(t=document.createDocumentFragment(),c.push(i)),e>0&&(h=h.cloneNode(!0),H(h,{id:l.$id+"-clone-"+e,"aria-selected":null}),h.classList.add("ts-cloned"),D(h,"active"),u.activeOption&&u.activeOption.dataset.value==r&&d&&d.dataset.group===i.toString()&&(f=h)),t.appendChild(h),p[i]=t}}u.settings.lockOptgroupOrder&&c.sort(((t,o)=>{const e=u.optgroups[t],s=u.optgroups[o];return(e&&e.$order||0)-(s&&s.$order||0)})),l=document.createDocumentFragment(),j(c,(t=>{let o=p[t];if(!o||!o.children.length)return;let e=u.optgroups[t];if(void 0!==e){let t=document.createDocumentFragment(),s=u.render("optgroup_header",e);lt(t,s),lt(t,o);let r=u.render("optgroup",{group:e,options:t});lt(l,r)}else lt(l,o)})),g.innerHTML="",lt(g,l),u.settings.highlight&&(m=g.querySelectorAll("span.highlight"),Array.prototype.forEach.call(m,(function(t){var o=t.parentNode;o.replaceChild(t.firstChild,t),o.normalize()})),w.query.length&&w.tokens.length&&j(w.tokens,(t=>{G(g,t.regex)})));var b=t=>{let o=u.render(t,{input:z});return o&&(_=!0,g.insertBefore(o,g.firstChild)),o};if(u.loading?b("loading"):u.settings.shouldLoad.call(u,z)?0===w.items.length&&b("no_results"):b("not_loading"),(a=u.canCreate(z))&&(h=b("option_create")),u.hasOptions=w.items.length>0||a,_){if(w.items.length>0){if(f||"single"!==u.settings.mode||null==u.items[0]||(f=u.getOption(u.items[0])),!g.contains(f)){let t=0;h&&!u.settings.addPrecedence&&(t=1),f=u.selectable()[t]}}else h&&(f=h);t&&!u.isOpen&&(u.open(),u.scrollToOption(f,"auto")),u.setActiveOption(f)}else u.clearActiveOption(),t&&u.isOpen&&u.close(!1)}selectable(){return this.dropdown_content.querySelectorAll("[data-selectable]")}addOption(t,o=!1){const e=this;if(Array.isArray(t))return e.addOptions(t,o),!1;const s=Q(t[e.settings.valueField]);return null!==s&&!e.options.hasOwnProperty(s)&&(t.$order=t.$order||++e.order,t.$id=e.inputId+"-opt-"+t.$order,e.options[s]=t,e.lastQuery=null,o&&(e.userOptions[s]=o,e.trigger("option_add",s,t)),s)}addOptions(t,o=!1){j(t,(t=>{this.addOption(t,o)}))}registerOption(t){return this.addOption(t)}registerOptionGroup(t){var o=Q(t[this.settings.optgroupValueField]);return null!==o&&(t.$order=t.$order||++this.order,this.optgroups[o]=t,o)}addOptionGroup(t,o){var e;o[this.settings.optgroupValueField]=t,(e=this.registerOptionGroup(o))&&this.trigger("optgroup_add",e,o)}removeOptionGroup(t){this.optgroups.hasOwnProperty(t)&&(delete this.optgroups[t],this.clearCache(),this.trigger("optgroup_remove",t))}clearOptionGroups(){this.optgroups={},this.clearCache(),this.trigger("optgroup_clear")}updateOption(t,o){const e=this;var s,r;const i=Q(t),n=Q(o[e.settings.valueField]);if(null===i)return;const l=e.options[i];if(null==l)return;if("string"!=typeof n)throw new Error("Value must be set in option data");const a=e.getOption(i),d=e.getItem(i);if(o.$order=o.$order||l.$order,delete e.options[i],e.uncacheValue(n),e.options[n]=o,a){if(e.dropdown_content.contains(a)){const t=e._render("option",o);K(a,t),e.activeOption===a&&e.setActiveOption(t)}a.remove()}d&&(-1!==(r=e.items.indexOf(i))&&e.items.splice(r,1,n),s=e._render("item",o),d.classList.contains("active")&&W(s,"active"),K(d,s)),e.lastQuery=null}removeOption(t,o){const e=this;t=X(t),e.uncacheValue(t),delete e.userOptions[t],delete e.options[t],e.lastQuery=null,e.trigger("option_remove",t),e.removeItem(t,o)}clearOptions(t){const o=(t||this.clearFilter).bind(this);this.loadedSearches={},this.userOptions={},this.clearCache();const e={};j(this.options,((t,s)=>{o(t,s)&&(e[s]=t)})),this.options=this.sifter.items=e,this.lastQuery=null,this.trigger("option_clear")}clearFilter(t,o){return this.items.indexOf(o)>=0}getOption(t,o=!1){const e=Q(t);if(null===e)return null;const s=this.options[e];if(null!=s){if(s.$div)return s.$div;if(o)return this._render("option",s)}return null}getAdjacent(t,o,e="option"){var s;if(!t)return null;s="item"==e?this.controlChildren():this.dropdown_content.querySelectorAll("[data-selectable]");for(let r=0;r<s.length;r++)if(s[r]==t)return o>0?s[r+1]:s[r-1];return null}getItem(t){if("object"==typeof t)return t;var o=Q(t);return null!==o?this.control.querySelector(`[data-value="${nt(o)}"]`):null}addItems(t,o){var e=this,s=Array.isArray(t)?t:[t];const r=(s=s.filter((t=>-1===e.items.indexOf(t))))[s.length-1];s.forEach((t=>{e.isPending=t!==r,e.addItem(t,o)}))}addItem(t,o){ot(this,o?[]:["change","dropdown_close"],(()=>{var e,s;const r=this,i=r.settings.mode,n=Q(t);if((!n||-1===r.items.indexOf(n)||("single"===i&&r.close(),"single"!==i&&r.settings.duplicates))&&null!==n&&r.options.hasOwnProperty(n)&&("single"===i&&r.clear(o),"multi"!==i||!r.isFull())){if(e=r._render("item",r.options[n]),r.control.contains(e)&&(e=e.cloneNode(!0)),s=r.isFull(),r.items.splice(r.caretPos,0,n),r.insertAtCaret(e),r.isSetup){if(!r.isPending&&r.settings.hideSelected){let t=r.getOption(n),o=r.getAdjacent(t,1);o&&r.setActiveOption(o)}r.isPending||r.settings.closeAfterSelect||r.refreshOptions(r.isFocused&&"single"!==i),0!=r.settings.closeAfterSelect&&r.isFull()?r.close():r.isPending||r.positionDropdown(),r.trigger("item_add",n,e),r.isPending||r.updateOriginalInput({silent:o})}(!r.isPending||!s&&r.isFull())&&(r.inputState(),r.refreshState())}}))}removeItem(t=null,o){const e=this;if(!(t=e.getItem(t)))return;var s,r;const i=t.dataset.value;s=B(t),t.remove(),t.classList.contains("active")&&(r=e.activeItems.indexOf(t),e.activeItems.splice(r,1),D(t,"active")),e.items.splice(s,1),e.lastQuery=null,!e.settings.persist&&e.userOptions.hasOwnProperty(i)&&e.removeOption(i,o),s<e.caretPos&&e.setCaret(e.caretPos-1),e.updateOriginalInput({silent:o}),e.refreshState(),e.positionDropdown(),e.trigger("item_remove",i,t)}createItem(t=null,o=(()=>{})){3===arguments.length&&(o=arguments[2]),"function"!=typeof o&&(o=()=>{});var e,s=this,r=s.caretPos;if(t=t||s.inputValue(),!s.canCreate(t))return o(),!1;s.lock();var i=!1,n=t=>{if(s.unlock(),!t||"object"!=typeof t)return o();var e=Q(t[s.settings.valueField]);if("string"!=typeof e)return o();s.setTextboxValue(),s.addOption(t,!0),s.setCaret(r),s.addItem(e),o(t),i=!0};return e="function"==typeof s.settings.create?s.settings.create.call(this,t,n):{[s.settings.labelField]:t,[s.settings.valueField]:t},i||n(e),!0}refreshItems(){var t=this;t.lastQuery=null,t.isSetup&&t.addItems(t.items),t.updateOriginalInput(),t.refreshState()}refreshState(){const t=this;t.refreshValidityState();const o=t.isFull(),e=t.isLocked;t.wrapper.classList.toggle("rtl",t.rtl);const s=t.wrapper.classList;s.toggle("focus",t.isFocused),s.toggle("disabled",t.isDisabled),s.toggle("required",t.isRequired),s.toggle("invalid",!t.isValid),s.toggle("locked",e),s.toggle("full",o),s.toggle("input-active",t.isFocused&&!t.isInputHidden),s.toggle("dropdown-active",t.isOpen),s.toggle("has-options",0===Object.keys(t.options).length),s.toggle("has-items",t.items.length>0)}refreshValidityState(){var t=this;t.input.validity&&(t.isValid=t.input.validity.valid,t.isInvalid=!t.isValid)}isFull(){return null!==this.settings.maxItems&&this.items.length>=this.settings.maxItems}updateOriginalInput(t={}){const o=this;var e,s;const r=o.input.querySelector('option[value=""]');if(o.is_select_tag){const i=[],n=o.input.querySelectorAll("option:checked").length;function l(t,e,s){return t||(t=L('<option value="'+Z(e)+'">'+Z(s)+"</option>")),t!=r&&o.input.append(t),i.push(t),(t!=r||n>0)&&(t.selected=!0),t}o.input.querySelectorAll("option:checked").forEach((t=>{t.selected=!1})),0==o.items.length&&"single"==o.settings.mode?l(r,"",""):o.items.forEach((t=>{s=(e=o.options[t])[o.settings.labelField]||"",i.includes(e.$option)?l(o.input.querySelector(`option[value="${nt(t)}"]:not(:checked)`),t,s):e.$option=l(e.$option,t,s)}))}else o.input.value=o.getValue();o.isSetup&&(t.silent||o.trigger("change",o.getValue()))}open(){var t=this;t.isLocked||t.isOpen||"multi"===t.settings.mode&&t.isFull()||(t.isOpen=!0,H(t.focus_node,{"aria-expanded":"true"}),t.refreshState(),N(t.dropdown,{visibility:"hidden",display:"block"}),t.positionDropdown(),N(t.dropdown,{visibility:"visible",display:"block"}),t.focus(),t.trigger("dropdown_open",t.dropdown))}close(t=!0){var o=this,e=o.isOpen;t&&(o.setTextboxValue(),"single"===o.settings.mode&&o.items.length&&o.hideInput()),o.isOpen=!1,H(o.focus_node,{"aria-expanded":"false"}),N(o.dropdown,{display:"none"}),o.settings.hideSelected&&o.clearActiveOption(),o.refreshState(),e&&o.trigger("dropdown_close",o.dropdown)}positionDropdown(){if("body"===this.settings.dropdownParent){var t=this.control,o=t.getBoundingClientRect(),e=t.offsetHeight+o.top+window.scrollY,s=o.left+window.scrollX;N(this.dropdown,{width:o.width+"px",top:e+"px",left:s+"px"})}}clear(t){var o=this;if(o.items.length){var e=o.controlChildren();j(e,(t=>{o.removeItem(t,!0)})),o.showInput(),t||o.updateOriginalInput(),o.trigger("clear")}}insertAtCaret(t){const o=this,e=o.caretPos,s=o.control;s.insertBefore(t,s.children[e]||null),o.setCaret(e+1)}deleteSelection(t){var o,e,s,r,i,n=this;o=t&&8===t.keyCode?-1:1,e={start:(i=n.control_input).selectionStart||0,length:(i.selectionEnd||0)-(i.selectionStart||0)};const l=[];if(n.activeItems.length)r=J(n.activeItems,o),s=B(r),o>0&&s++,j(n.activeItems,(t=>l.push(t)));else if((n.isFocused||"single"===n.settings.mode)&&n.items.length){const t=n.controlChildren();let s;o<0&&0===e.start&&0===e.length?s=t[n.caretPos-1]:o>0&&e.start===n.inputValue().length&&(s=t[n.caretPos]),void 0!==s&&l.push(s)}if(!n.shouldDelete(l,t))return!1;for(et(t,!0),void 0!==s&&n.setCaret(s);l.length;)n.removeItem(l.pop());return n.showInput(),n.positionDropdown(),n.refreshOptions(!1),!0}shouldDelete(t,o){const e=t.map((t=>t.dataset.value));return!(!e.length||"function"==typeof this.settings.onDelete&&!1===this.settings.onDelete(e,o))}advanceSelection(t,o){var e,s,r=this;r.rtl&&(t*=-1),r.inputValue().length||(rt(Y,o)||rt("shiftKey",o)?(s=(e=r.getLastActive(t))?e.classList.contains("active")?r.getAdjacent(e,t,"item"):e:t>0?r.control_input.nextElementSibling:r.control_input.previousElementSibling)&&(s.classList.contains("active")&&r.removeActiveItem(e),r.setActiveItemClass(s)):r.moveCaret(t))}moveCaret(t){}getLastActive(t){let o=this.control.querySelector(".last-active");if(o)return o;var e=this.control.querySelectorAll(".active");return e?J(e,t):void 0}setCaret(t){this.caretPos=this.items.length}controlChildren(){return Array.from(this.control.querySelectorAll("[data-ts-item]"))}lock(){this.isLocked=!0,this.refreshState()}unlock(){this.isLocked=!1,this.refreshState()}disable(){var t=this;t.input.disabled=!0,t.control_input.disabled=!0,t.focus_node.tabIndex=-1,t.isDisabled=!0,this.close(),t.lock()}enable(){var t=this;t.input.disabled=!1,t.control_input.disabled=!1,t.focus_node.tabIndex=t.tabIndex,t.isDisabled=!1,t.unlock()}destroy(){var t=this,o=t.revertSettings;t.trigger("destroy"),t.off(),t.wrapper.remove(),t.dropdown.remove(),t.input.innerHTML=o.innerHTML,t.input.tabIndex=o.tabIndex,D(t.input,"tomselected","ts-hidden-accessible"),t._destroy(),delete t.input.tomselect}render(t,o){var e;const s=this;if("function"!=typeof this.settings.render[t])return null;if(!(e=s.settings.render[t].call(this,o,Z)))return null;if(e=L(e),"option"===t||"option_create"===t?H(e,o[s.settings.disabledField]?{"aria-disabled":"true"}:{"data-selectable":""}):"optgroup"===t&&(H(e,{"data-group":o.group[s.settings.optgroupValueField]}),o.group[s.settings.disabledField]&&H(e,{"data-disabled":""})),"option"===t||"item"===t){const r=X(o[s.settings.valueField]);H(e,{"data-value":r}),"item"===t?(W(e,s.settings.itemClass),H(e,{"data-ts-item":""})):(W(e,s.settings.optionClass),H(e,{role:"option",id:o.$id}),o.$div=e,s.options[r]=o)}return e}_render(t,o){const e=this.render(t,o);if(null==e)throw"HTMLElement expected";return e}clearCache(){j(this.options,(t=>{t.$div&&(t.$div.remove(),delete t.$div)}))}uncacheValue(t){const o=this.getOption(t);o&&o.remove()}canCreate(t){return this.settings.create&&t.length>0&&this.settings.createFilter.call(this,t)}hook(t,o,e){var s=this,r=s[o];s[o]=function(){var o,i;return"after"===t&&(o=r.apply(s,arguments)),i=e.apply(s,arguments),"instead"===t?i:("before"===t&&(o=r.apply(s,arguments)),o)}}}return ht}()})),p=a((function(t){t.exports=function(){
8
- /*! @orchidjs/unicode-variants | https://github.com/orchidjs/unicode-variants | Apache License (v2) */
9
- const t={},o={"/":"⁄∕",0:"߀",a:"ⱥɐɑ",aa:"ꜳ",ae:"æǽǣ",ao:"ꜵ",au:"ꜷ",av:"ꜹꜻ",ay:"ꜽ",b:"ƀɓƃ",c:"ꜿƈȼↄ",d:"đɗɖᴅƌꮷԁɦ",e:"ɛǝᴇɇ",f:"ꝼƒ",g:"ǥɠꞡᵹꝿɢ",h:"ħⱨⱶɥ",i:"ɨı",j:"ɉȷ",k:"ƙⱪꝁꝃꝅꞣ",l:"łƚɫⱡꝉꝇꞁɭ",m:"ɱɯϻ",n:"ꞥƞɲꞑᴎлԉ",o:"øǿɔɵꝋꝍᴑ",oe:"œ",oi:"ƣ",oo:"ꝏ",ou:"ȣ",p:"ƥᵽꝑꝓꝕρ",q:"ꝗꝙɋ",r:"ɍɽꝛꞧꞃ",s:"ßȿꞩꞅʂ",t:"ŧƭʈⱦꞇ",th:"þ",tz:"ꜩ",u:"ʉ",v:"ʋꝟʌ",vy:"ꝡ",w:"ⱳ",y:"ƴɏỿ",z:"ƶȥɀⱬꝣ",hv:"ƕ"};for(let n in o){let e=o[n]||"";for(let o=0;o<e.length;o++)t[e.substring(o,o+1)]=n}new RegExp(Object.keys(t).join("|")+"|[̀-ͯ·ʾʼ]","gu");const e=t=>{if(t.jquery)return t[0];if(t instanceof HTMLElement)return t;if(s(t)){var o=document.createElement("template");return o.innerHTML=t.trim(),o.content.firstChild}return document.querySelector(t)},s=t=>"string"==typeof t&&t.indexOf("<")>-1,r=(t,o=!1)=>{t&&(t.preventDefault(),o&&t.stopPropagation())},i=(t,o,e,s)=>{t.addEventListener(o,e,s)};return function(t){const o=Object.assign({label:"&times;",title:"Remove",className:"remove",append:!0},t);var s=this;if(o.append){var n='<a href="javascript:void(0)" class="'+o.className+'" tabindex="-1" title="'+((o.title+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")+'">')+o.label+"</a>";s.hook("after","setupTemplates",(()=>{var t=s.settings.render.item;s.settings.render.item=(o,l)=>{var a=e(t.call(s,o,l)),d=e(n);return a.appendChild(d),i(d,"mousedown",(t=>{r(t,!0)})),i(d,"click",(t=>{r(t,!0),s.isLocked||s.shouldDelete([a],t)&&(s.removeItem(a),s.refreshOptions(!1),s.inputState())})),a}}))}}}()})),c=a((function(t){t.exports=function(){const t=t=>"boolean"==typeof t?t?"1":"0":t+"",o=(t,o=!1)=>{t&&(t.preventDefault(),o&&t.stopPropagation())},e={},s={"/":"⁄∕",0:"߀",a:"ⱥɐɑ",aa:"ꜳ",ae:"æǽǣ",ao:"ꜵ",au:"ꜷ",av:"ꜹꜻ",ay:"ꜽ",b:"ƀɓƃ",c:"ꜿƈȼↄ",d:"đɗɖᴅƌꮷԁɦ",e:"ɛǝᴇɇ",f:"ꝼƒ",g:"ǥɠꞡᵹꝿɢ",h:"ħⱨⱶɥ",i:"ɨı",j:"ɉȷ",k:"ƙⱪꝁꝃꝅꞣ",l:"łƚɫⱡꝉꝇꞁɭ",m:"ɱɯϻ",n:"ꞥƞɲꞑᴎлԉ",o:"øǿɔɵꝋꝍᴑ",oe:"œ",oi:"ƣ",oo:"ꝏ",ou:"ȣ",p:"ƥᵽꝑꝓꝕρ",q:"ꝗꝙɋ",r:"ɍɽꝛꞧꞃ",s:"ßȿꞩꞅʂ",t:"ŧƭʈⱦꞇ",th:"þ",tz:"ꜩ",u:"ʉ",v:"ʋꝟʌ",vy:"ꝡ",w:"ⱳ",y:"ƴɏỿ",z:"ƶȥɀⱬꝣ",hv:"ƕ"};for(let i in s){let t=s[i]||"";for(let o=0;o<t.length;o++)e[t.substring(o,o+1)]=i}new RegExp(Object.keys(e).join("|")+"|[̀-ͯ·ʾʼ]","gu");const r=t=>"string"==typeof t&&t.indexOf("<")>-1;return function(){var e=this,s=e.onOptionSelect;e.settings.hideSelected=!1;var i=function(t){setTimeout((()=>{var o=t.querySelector("input");o instanceof HTMLInputElement&&(o.checked=!!t.classList.contains("selected"))}),1)};e.hook("after","setupTemplates",(()=>{var s=e.settings.render.option;e.settings.render.option=(i,n)=>{var l=(t=>{if(t.jquery)return t[0];if(t instanceof HTMLElement)return t;if(r(t)){var o=document.createElement("template");return o.innerHTML=t.trim(),o.content.firstChild}return document.querySelector(t)})(s.call(e,i,n)),a=document.createElement("input");a.addEventListener("click",(function(t){o(t)})),a.type="checkbox";const d=null==(h=i[e.settings.valueField])?null:t(h);var h;return d&&e.items.indexOf(d)>-1&&(a.checked=!0),l.prepend(a),l}})),e.on("item_remove",(t=>{var o=e.getOption(t);o&&(o.classList.remove("selected"),i(o))})),e.on("item_add",(t=>{var o=e.getOption(t);o&&i(o)})),e.hook("instead","onOptionSelect",((t,r)=>{if(r.classList.contains("selected"))return r.classList.remove("selected"),e.removeItem(r.dataset.value),e.refreshOptions(),void o(t,!0);s.call(e,t,r),i(r)}))}}()})),u=a((function(t){t.exports=function(){const t=(t,o,e,s)=>{t.addEventListener(o,e,s)};return function(){var o=this;o.on("initialize",(()=>{var e=document.createElement("span"),s=o.control_input;e.style.cssText="position:absolute; top:-99999px; left:-99999px; width:auto; padding:0; white-space:pre; ",o.wrapper.appendChild(e);for(const t of["letterSpacing","fontSize","fontFamily","fontWeight","textTransform"])e.style[t]=s.style[t];var r=()=>{e.textContent=s.value,s.style.width=e.clientWidth+"px"};r(),o.on("update item_add item_remove",r),t(s,"input",r),t(s,"keyup",r),t(s,"blur",r),t(s,"update",r)}))}}()})),z=a((function(t){t.exports=function(){var t=this,o=t.deleteSelection;this.hook("instead","deleteSelection",(e=>!!t.activeItems.length&&o.call(t,e)))}}));const v="stzh-dropdown--is-filled",m="stzh-dropdown--has-focus";h.define("remove_button",p),h.define("checkbox_options",c),h.define("input_autogrow",u),h.define("no_backspace_delete",z),h.define("input_readonly",(function(){const t=this;t.on("initialize",(()=>{const o=t.control_input;o&&(o.readOnly=!0)}))}));let w=0;const f=class{constructor(e){t(this,e),this.stzhChange=o(this,"stzhChange",7),this.stzhItemAdd=o(this,"stzhItemAdd",7),this.stzhItemRemove=o(this,"stzhItemRemove",7),this.stzhOptionAdd=o(this,"stzhOptionAdd",7),this.stzhOptionRemove=o(this,"stzhOptionRemove",7),this.stzhOpen=o(this,"stzhOpen",7),this.stzhClose=o(this,"stzhClose",7),this.stzhFocus=o(this,"stzhFocus",7),this.stzhBlur=o(this,"stzhBlur",7),this.stzhInit=o(this,"stzhInit",7),this.focusedByInput=!1,this.onRootFocus=()=>{this.focusedByInput||this.setFocus(),this.focusedByInput=!1},this.options=void 0,this.optgroups=void 0,this.items=void 0,this.searchField=["text"],this.multiple=!1,this.inline=!1,this.maxOptions=50,this.searchConjunction="and",this.allowEmptyOption=!1,this.openOnFocus=!0,this.closeAfterSelect=null,this.load=null,this.minCharacters=3,this.loadThrottle=300,this.preload=!1,this.labelField="text",this.valueField="value",this.optgroupField="optgroup",this.optgroupLabelField="label",this.optgroupValueField="value",this.lockOptgroupOrder=void 0,this.name="",this.variant="default",this.size="default",this.disabled=!1,this.popoverPlacement="bottom",this.label="",this.icon="",this.noSearch=!1,this.noBackspaceDelete=!1,this.invalid=!1,this.required=!1,this.showMarker=!1,this.description=void 0,this.descriptionLong=void 0,this.error=void 0,this.localization=void 0,this.a11yDescribedby=""}optionsWatcher(t){this._options="string"==typeof t?JSON.parse(t):t}itemsWatcher(t){this._items="string"==typeof t?JSON.parse(t):t}searchFieldWatcher(t){this._searchField="string"==typeof t?JSON.parse(t):t}optgroupsWatcher(t){this._optgroups="string"==typeof t?JSON.parse(t):t}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(o){this._error=t?[t]:[]}else this._error=t||[];this.invalid=this._error.length>0}async getValue(){return this.tomSelect.getValue()}async setValue(t,o=!1){this.tomSelect.setValue(t,o)}async setFocus(){this.tomSelect.focus()}async resetLoadedSearches(){this.tomSelect.loadedSearches={}}async getLoadedSearches(){return this.tomSelect.loadedSearches}async getItems(){return this.tomSelect.items}async loadItems(t){return this.tomSelect.load(t)}updateFilled(){this._items.length>0?this.rootElement.classList.add(v):this.rootElement.classList.remove(v)}async componentWillLoad(){this.dropdownId="stzh-dropdown-"+w++,this.optionsWatcher(this.options),this.optgroupsWatcher(this.optgroups),this.itemsWatcher(this.items),this.searchFieldWatcher(this.searchField),this.errorWatcher(this.error),this.localization||(this.localization=await n(this.element,"dropdown"))}async componentWillUpdate(){this.tomSelect&&(this.tomSelect.destroy(),this.tomSelect=null)}async componentDidRender(){if(this.tomSelect)return;const t={};this.noSearch?t.input_readonly={}:t.input_autogrow={},this.noBackspaceDelete&&(t.no_backspace_delete={}),this.multiple&&(t.checkbox_options={},t.remove_button={title:this.localization.removeButtonTitle,label:'<stzh-icon name="close" class="stzh-dropdown__remove-icon"></stzh-icon>'});const o={plugins:t,maxItems:this.multiple?null:1,maxOptions:this.maxOptions,items:this._items,optgroups:this._optgroups,searchField:this._searchField,searchConjunction:this.searchConjunction,allowEmptyOption:this.allowEmptyOption,closeAfterSelect:null!==this.closeAfterSelect?this.closeAfterSelect:!this.multiple,labelField:this.labelField,valueField:this.valueField,optgroupField:this.optgroupField,optgroupLabelField:this.optgroupLabelField,optgroupValueField:this.optgroupValueField,lockOptgroupOrder:this.lockOptgroupOrder,load:this.load,shouldLoad:t=>t.length>=this.minCharacters,loadThrottle:this.loadThrottle,preload:this.preload,openOnFocus:this.openOnFocus,loadingClass:"is-loading",hideSelected:!1,duplicates:!1,delimiter:",",copyClassesToDropdown:!1,hidePlaceholder:null,render:{option:(t,o)=>`\n <div class="stzh-dropdown__option" title="${o(t[this.labelField])}">\n <stzh-icon name="checkmark" class="stzh-dropdown__option-check"></stzh-icon>\n <span class="stzh-dropdown__option-title">\n ${o(t[this.labelField])}\n </span>\n </div>\n `,item:(t,o)=>`\n <div class="stzh-dropdown__item">\n ${o(t[this.labelField])}\n </div>\n `,option_create:(t,o)=>`\n <div class="stzh-dropdown__create">\n ${this.localization.create.replace(/{x}/gi,o(t.input))}&hellip;\n </div>\n `,no_results:(t,o)=>`\n <div class="stzh-dropdown__no-results">\n ${this.localization.noResults.replace(/{x}/gi,o(t.input))}\n </div>`,not_loading:null===this.load?null:(t,o)=>`\n <div class="stzh-dropdown__not-loading">\n ${this.localization.notLoading.replace(/{x}/gi,o(this.minCharacters.toString()))}\n </div>\n `,optgroup:t=>{let o=document.createElement("div");return o.className="stzh-dropdown__optgroup",o.appendChild(t.options),o},optgroup_header:(t,o)=>`\n <div class="stzh-dropdown__optgroup-header">\n ${o(t.label)}\n </div>\n `,loading:()=>'\n <div class="stzh-dropdown__loader">\n <stzh-loader></stzh-loader>\n </div>\n ',dropdown:()=>'<div class="stzh-dropdown__dropdown"></div>'},onChange:t=>{this._items=this.tomSelect.items,this.updateFilled(),this.stzhChange.emit({component:"stzh-dropdown",value:t})},onItemAdd:t=>{this._items=this.tomSelect.items,this.stzhItemAdd.emit({component:"stzh-dropdown",value:t})},onItemRemove:t=>{this._items=this.tomSelect.items,this.stzhItemRemove.emit({component:"stzh-dropdown",value:t})},onOptionAdd:t=>{this._options=this.tomSelect.options,this.updateFilled(),this.stzhOptionAdd.emit({component:"stzh-dropdown",value:t})},onOptionRemove:t=>{this._options=this.tomSelect.options,this.updateFilled(),this.stzhOptionRemove.emit({component:"stzh-dropdown",value:t})},onDropdownOpen:()=>{this.stzhOpen.emit({component:"stzh-dropdown"})},onDropdownClose:()=>{this.stzhClose.emit({component:"stzh-dropdown"})},onFocus:()=>{this.focusedByInput=!0,this.tomSelect.load&&"focus"===this.preload&&(this.resetLoadedSearches(),this.tomSelect.wrapper.classList.contains("preloaded")&&this.tomSelect.load("")),this.rootElement.classList.add(m);const t=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhFocus.emit({component:"stzh-dropdown",originalEvent:{target:this.tomSelect.control}})},onBlur:()=>{this.rootElement.classList.remove(m);const t=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(t),this.stzhBlur.emit({component:"stzh-dropdown"})},onInitialize:()=>{this.stzhInit.emit({component:"stzh-dropdown"})},onLoad:()=>{this._options=this.tomSelect.options}};this._options&&(o.options=this._options),this._optgroups&&(o.optgroups=this._optgroups),this._items&&(o.items=this._items),this.tomSelect=new h(this.select,o),this.openOnFocus||this.tomSelect.control.addEventListener("click",(()=>{this.tomSelect.open()}))}disconnectedCallback(){this.tomSelect&&(this.tomSelect.destroy(),this.tomSelect=null)}render(){var t;const o=i(this.element,"icon")||!!this.icon,r=i(this.element,"description")||!!this.description,n=i(this.element,"description-long")||!!this.descriptionLong,a=i(this.element,"error")||!!this.error,d={"stzh-dropdown":!0,"stzh-dropdown--is-inline":this.inline,"stzh-dropdown--is-multiple":this.multiple,"stzh-dropdown--is-disabled":this.disabled,"stzh-dropdown--is-required":this.required,"stzh-dropdown--is-invalid":this.invalid,[v]:this._items&&this._items.length>0,"stzh-dropdown--has-icon":o,"stzh-dropdown--has-description":r,"stzh-dropdown--has-description-long":n,"stzh-dropdown--has-error":a,"stzh-dropdown--has-fixed-label":"fixed"===(null===(t=null===window||void 0===window?void 0:window.stzhComponents)||void 0===t?void 0:t.labels),[`stzh-dropdown--popover-placement-${this.popoverPlacement}`]:!!this.popoverPlacement,[`stzh-dropdown--size-${this.size}`]:!!this.size,[`stzh-dropdown--${this.variant}`]:!!this.variant};return e(s,{tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},e("div",{class:d,ref:t=>this.rootElement=t},e("div",{class:"stzh-dropdown__field-wrapper"},e("select",{id:this.dropdownId,class:"stzh-dropdown__select",ref:t=>this.select=t,multiple:this.multiple,name:this.name,disabled:this.disabled,"aria-invalid":this.invalid?"true":"false","aria-describedby":`${this.dropdownId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false"},e("slot",null)),e("stzh-icon",{name:"angle-down",class:"stzh-dropdown__angle-icon"}),e("div",{class:"stzh-dropdown__icon-wrapper"},this.icon?e("stzh-icon",{class:"stzh-dropdown__icon",name:this.icon}):e("slot",{name:"icon"})),e("label",{class:"stzh-dropdown__label",htmlFor:this.dropdownId},this.label?this.label:e("slot",{name:"label"}),this.showMarker&&e("span",{class:"stzh-dropdown__marker"},e("span",{class:"stzh-dropdown__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{class:"stzh-dropdown__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(l,{classPrefix:"stzh-dropdown",id:`${this.dropdownId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:n,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return r(this)}static get watchers(){return{options:["optionsWatcher"],items:["itemsWatcher"],searchField:["searchFieldWatcher"],optgroups:["optgroupsWatcher"],error:["errorWatcher"]}}};f.style=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}stzh-dropdown{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-color:var(--stzh-color-grey61);--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-white);--label-background:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--hover-color);--popover-width:100%;--popover-min-width:var(--stzh-popover-min-width);--popover-max-width:var(--stzh-popover-min-width);--popover-max-height:calc(6.5 * var(--stzh-menu-item-height));width:100%;border-radius:var(--stzh-form-input-border-radius);}stzh-dropdown[hidden]{display:none}stzh-dropdown *,stzh-dropdown *::before,stzh-dropdown *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}stzh-dropdown[variant=plain]{--background-color:transparent}stzh-dropdown[inline]:not([inline=false]){--popover-width:auto;width:auto}stzh-dropdown[invalid]:not([invalid=false]){--color:var(--stzh-color-error);--border-color:var(--stzh-color-error);--label-color:var(--stzh-color-error);--placeholder-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-border-color:var(--stzh-color-error)}stzh-dropdown[disabled]:not([disabled=false]){--color:var(--stzh-color-grey61);--border-color:transparent;--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-black8);--label-background:transparent;--hover-color:var(--stzh-color-grey61);--hover-border-color:transparent}stzh-dropdown[disabled]:not([disabled=false])[variant=plain]{--background-color:transparent}.stzh-dropdown__icon-wrapper stzh-icon,.stzh-dropdown__icon{--size:var(--icon-size)}.stzh-dropdown{}.stzh-dropdown__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-dropdown__marker-text{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-dropdown__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-dropdown__error,.stzh-dropdown__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-dropdown__error{color:var(--stzh-color-error)}.stzh-dropdown__error-list{list-style:none;margin:0;padding:0}.stzh-dropdown__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-dropdown__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-dropdown__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-dropdown__description-long-popover[open]:not([open=false]) .stzh-dropdown__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-dropdown__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown stzh-icon.stzh-dropdown__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-dropdown--has-error .stzh-dropdown__error,.stzh-dropdown--has-description .stzh-dropdown__description{margin-top:var(--stzh-space-xxsmall)}.stzh-dropdown .ts-hidden-accessible{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-dropdown .ts-dropdown-content{max-height:var(--popover-max-height);overflow-y:auto;overflow-x:hidden;overflow-scrolling:touch;scroll-behavior:smooth}.stzh-dropdown .ts-control{overflow:hidden;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-radius:var(--stzh-form-input-border-radius);background-color:var(--background-color);-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-dropdown .ts-control:hover,.stzh-dropdown .ts-control:focus-within{border-color:var(--hover-border-color)}.stzh-dropdown .ts-control>*{vertical-align:baseline;display:inline-block}.stzh-dropdown .ts-control,.stzh-dropdown__sizer{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;width:100%;min-height:var(--stzh-form-input-height);border:0.0625rem solid var(--border-color)}.stzh-dropdown .ts-control>input{font-size:inherit;line-height:inherit;-ms-flex:1 1 auto;flex:1 1 auto;display:inline-block;padding:0;min-height:0;max-height:none;max-width:100%;margin:0;text-indent:0;border:0 none;background:none;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}.stzh-dropdown .ts-control>input::-webkit-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-ms-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-ms-clear{display:none}.stzh-dropdown .ts-control>input:focus{outline:none}.stzh-dropdown .ts-control>input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:placeholder-shown{text-overflow:ellipsis}.stzh-dropdown__field-wrapper,.stzh-dropdown__select{position:relative}.stzh-dropdown__icon-wrapper{position:absolute}.stzh-dropdown__select .ts-control>input,.stzh-dropdown__select.single .stzh-dropdown__item,.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{color:var(--color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-dropdown__select.multi .stzh-dropdown__item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__select:hover .ts-control>input,.stzh-dropdown__select:focus-within .ts-control>input,.stzh-dropdown__select.single:hover .stzh-dropdown__item,.stzh-dropdown__select.single:focus-within .stzh-dropdown__item,.stzh-dropdown__select:hover~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:focus-within~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:hover~.stzh-dropdown__angle-icon,.stzh-dropdown__select:focus-within~.stzh-dropdown__angle-icon,.stzh-dropdown__select:hover~.stzh-dropdown__label,.stzh-dropdown__select:focus-within~.stzh-dropdown__label{color:var(--hover-color)}.stzh-dropdown__sizer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:calc(var(--stzh-form-input-height) / -1);pointer-events:none;visibility:hidden}.stzh-dropdown__select.has-items~.stzh-dropdown__sizer{display:none}.stzh-dropdown__select.plugin-input_hide~.stzh-dropdown__sizer{visibility:visible}.stzh-dropdown__select.input-active .ts-control,.stzh-dropdown__select.input-active .ts-control>input{cursor:text}.stzh-dropdown__select.input-hidden .ts-control>input,.stzh-dropdown__select.plugin-input_hide .ts-control>input{opacity:0;position:absolute;left:-625rem}.stzh-dropdown__select.single .ts-control,.stzh-dropdown__select.multi .ts-control,.stzh-dropdown__sizer{padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.stzh-dropdown__icon-wrapper{display:-ms-flexbox;display:flex;left:var(--stzh-space-medium)}.stzh-dropdown stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-medium)}.stzh-dropdown__angle-icon{right:var(--stzh-space-medium)}.stzh-dropdown__label{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--label-color);display:block;width:auto;position:absolute;top:calc(var(--stzh-form-input-height) / 2);left:calc(var(--stzh-space-medium) + 0.0625rem);max-width:calc(100% - var(--stzh-space-medium) * 2);-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);pointer-events:none}.stzh-dropdown__label:empty{display:none}.stzh-dropdown__label::before{content:"";display:none;background:var(--label-background);position:absolute;width:100%;z-index:-1;left:0;top:50%;height:0.125rem;margin-top:-0.5px}.stzh-dropdown__option,.stzh-dropdown__create{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;-webkit-text-decoration-line:none;text-decoration-line:none;outline:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--stzh-color-grey70);height:var(--stzh-menu-item-height);line-height:var(--stzh-menu-item-height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-dropdown__option:hover,.stzh-dropdown__option.active,.stzh-dropdown__create:hover,.stzh-dropdown__create.active{background-color:var(--stzh-color-grey5)}.stzh-dropdown__option.selected,.stzh-dropdown__create.selected{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover,.stzh-dropdown__option.selected.active,.stzh-dropdown__create.selected:hover,.stzh-dropdown__create.selected.active{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown__option input,.stzh-dropdown__create input{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-dropdown__create{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:block}.stzh-dropdown__option-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-dropdown__option[data-selectable] .highlight{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-dropdown__select .stzh-dropdown__option-check{display:none;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover .stzh-dropdown__option-check,.stzh-dropdown__option.selected.active .stzh-dropdown__option-check{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-dropdown__no-results{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.stzh-dropdown__no-results,.stzh-dropdown__not-loading{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large)}.stzh-dropdown__optgroup-header{cursor:default}.stzh-dropdown__loader{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2.375rem}.stzh-dropdown__dropdown{position:absolute;top:100%;left:0;width:var(--popover-width);margin-top:var(--stzh-space-xsmall);background-color:var(--stzh-color-white);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);z-index:var(--stzh-z-index-popover);border-radius:var(--stzh-popover-border-radius);overflow:hidden}@media screen and (min-width: 600px){.stzh-dropdown__dropdown{min-width:var(--popover-min-width);max-width:var(--popover-max-width)}}.stzh-dropdown__select.plugin-input_autogrow.has-items .ts-control>input{min-width:0}.stzh-dropdown__select.plugin-input_autogrow.has-items.focus .ts-control>input{-ms-flex:none;flex:none;min-width:0.25rem}.stzh-dropdown__select.has-items .ts-control>input{margin:0 0.25rem}.stzh-dropdown__select.has-items .ts-control>input::-webkit-input-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input::-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-ms-input-placeholder{color:transparent}.stzh-dropdown--is-multiple .stzh-dropdown__option-check{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);margin-right:var(--stzh-space-xsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__option{padding-left:var(--stzh-space-small)}.stzh-dropdown--is-multiple .stzh-dropdown__option.selected .stzh-dropdown__option-check{opacity:1}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi.has-items .ts-control{padding-top:calc(var(--stzh-space-xsmall) - 0.0625rem);padding-bottom:calc(var(--stzh-space-xsmall) - 0.0625rem)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);position:relative;height:1.5rem;line-height:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:0.75rem;padding:0 var(--stzh-space-medium);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;border:0.0625rem solid transparent;background-color:var(--stzh-color-grey5);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);margin:var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) 0;cursor:pointer}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item.active{color:var(--stzh-color-white);background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-right:calc(1.5rem + var(--stzh-space-xxsmall))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{position:absolute;top:50%;right:-0.0625rem;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-text-decoration-line:none;text-decoration-line:none;width:1.5rem;height:1.5rem;border-radius:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--stzh-base-lead-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__remove-icon{--size:var(--stzh-icon-size-xxsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item.active .stzh-dropdown__remove-icon{color:var(--stzh-color-white)}.stzh-dropdown--popover-placement-top .stzh-dropdown__dropdown{margin-top:0;top:auto;bottom:100%;margin-bottom:var(--stzh-space-xsmall)}.stzh-dropdown--popover-placement-top.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-bottom:0}.stzh-dropdown--size-small .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-dropdown--size-small .ts-control{min-height:var(--stzh-form-input-small-height)}.stzh-dropdown--size-small .stzh-dropdown__sizer{min-height:initial;height:var(--stzh-form-input-small-height);margin-top:calc(var(--stzh-form-input-small-height) / -1)}.stzh-dropdown--size-small .stzh-dropdown__label{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{padding:var(--stzh-space-xxsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--size-small stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-small)}.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--plain .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain .stzh-dropdown__sizer{border:none;padding-left:0;padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--plain .stzh-dropdown__icon-wrapper{left:0}.stzh-dropdown--plain .stzh-dropdown__angle-icon{right:0}.stzh-dropdown--plain .stzh-dropdown__label{left:0;max-width:100%;padding:0}.stzh-dropdown--plain .stzh-dropdown__label::before{content:none}.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-top:0}.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__sizer{padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--has-focus .stzh-dropdown__label{top:0;left:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall));height:1.25rem;line-height:1.25rem;padding:0 var(--stzh-space-xxsmall);max-width:calc(100% - (var(--stzh-space-medium) - var(--stzh-space-xxsmall)) * 2);pointer-events:all}.stzh-dropdown--has-fixed-label .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-filled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-disabled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-invalid .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--has-focus .stzh-dropdown__label:not(:empty)::before{display:block}.stzh-dropdown--plain.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--has-focus .stzh-dropdown__label{left:0;padding:0;max-width:100%}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{cursor:not-allowed}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-grey25);background-color:var(--stzh-color-white);border-color:var(--stzh-base-border-color)}.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-grey13);background-color:transparent}';export{f as stzh_dropdown}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,o,e,s){function n(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,r){function i(t){try{h(s.next(t))}catch(o){r(o)}}function a(t){try{h(s["throw"](t))}catch(o){r(o)}}function h(t){t.done?e(t.value):n(t.value).then(i,a)}h((s=s.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,n,r,i;return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(t){return function(o){return h([t,o])}}function h(a){if(s)throw new TypeError("Generator is already executing.");while(i&&(i=0,a[0]&&(e=0)),e)try{if(s=1,n&&(r=a[0]&2?n["return"]:a[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,a[1])).done)return r;if(n=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;n=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){e.label=a[1];break}if(a[0]===6&&e.label<r[1]){e.label=r[1];r=a;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(a);break}if(r[2])e.ops.pop();e.trys.pop();continue}a=o.call(t,e)}catch(h){a=[6,h];n=0}finally{s=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-36e72c1d.system.js","./p-d4b7a303.system.js","./p-a408bfba.system.js"],(function(t){"use strict";var o,e,s,n,r,i,a,h;return{setters:[function(t){o=t.r;e=t.h;s=t.c;n=t.e;r=t.F;i=t.g},function(t){a=t.h},function(t){h=t.f}],execute:function(){var c=".sc-stzh-badge-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-badge-h{display:none}.sc-stzh-badge-h *.sc-stzh-badge,.sc-stzh-badge-h *.sc-stzh-badge::before,.sc-stzh-badge-h *.sc-stzh-badge::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-badge-h{--color:var(--stzh-color-white);--background-color:var(--stzh-base-color);display:-ms-inline-flexbox;display:inline-flex}[type=success].sc-stzh-badge-h{--background-color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-badge-h{--color:var(--stzh-color-grey87);--background-color:var(--stzh-color-warning)}[type=error].sc-stzh-badge-h{--background-color:var(--stzh-color-error)}[type=info].sc-stzh-badge-h{--background-color:var(--stzh-color-zueriblue)}.stzh-badge.sc-stzh-badge{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-width:0.625rem;font-size:0.625rem;line-height:1.4;-webkit-box-shadow:0 0 0 0.0625rem #fff;box-shadow:0 0 0 0.0625rem #fff;border-radius:0.875rem;padding:0.0625rem 0.375rem;background-color:var(--background-color);color:var(--color);text-transform:uppercase}.stzh-badge.sc-stzh-badge:empty{width:0.875rem;height:0.875rem;padding:0}";var l=t("stzh_badge",function(){function t(t){o(this,t);this.label="";this.type="default"}t.prototype.render=function(){var t;var o=(t={"stzh-badge":true},t["stzh-badge--type-".concat(this.type)]=!!this.type,t);return e(s,null,e("div",{class:o},this.label))};return t}());l.style=c;var b='@charset "UTF-8";.sc-stzh-button-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-button-h{display:none}.sc-stzh-button-h *.sc-stzh-button,.sc-stzh-button-h *.sc-stzh-button::before,.sc-stzh-button-h *.sc-stzh-button::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-button-h{--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-width:0.0625rem;--border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-radius:var(--stzh-button-border-radius);--height:var(--stzh-form-input-height);--icon-size:var(--stzh-icon-size-small);--icon-text-margin:var(--stzh-space-small);--badge-icon-text-margin:calc(var(--icon-text-margin) + var(--stzh-space-xxsmall));--padding:calc(var(--stzh-space-xsmall) - 0.0625rem) var(--stzh-space-xlarge);--white-space:normal;--border-radius:var(--stzh-button-border-radius);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--floating-position:sticky;--floating-float:right;--floating-bottom:var(--stzh-space-medium);--floating-right:var(--stzh-space-medium);display:inline-block}@media screen and (min-width: 600px){.sc-stzh-button-h{--floating-bottom:var(--stzh-space-xlarge);--floating-right:var(--stzh-space-xlarge)}}[fullwidth].sc-stzh-button-h:not([fullwidth=false]){width:100%;display:block}[rounded].sc-stzh-button-h:not([rounded=false]){--border-radius:var(--height)}[floating].sc-stzh-button-h:not([floating=false]){position:var(--floating-position);bottom:var(--floating-bottom);right:var(--floating-right);float:var(--floating-float)}[size=small].sc-stzh-button-h{--height:var(--stzh-form-input-small-height)}[size=tiny].sc-stzh-button-h{--height:var(--stzh-form-input-tiny-height);--icon-text-margin:var(--stzh-space-xsmall);--padding:calc(var(--stzh-space-xxsmall) - 0.0625rem) var(--stzh-space-medium)}[variant=secondary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:var(--stzh-color-white)}[variant=input].sc-stzh-button-h{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[variant=tertiary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-button-text-hover-background);--hover-border-color:transparent}[active].sc-stzh-button-h:not([active=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[disabled].sc-stzh-button-h:not([disabled=false]){--border-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-grey13);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:var(--stzh-color-grey13)}[disabled].sc-stzh-button-h:not([disabled=false])[variant=secondary],[disabled].sc-stzh-button-h:not([disabled=false])[variant=input],[disabled].sc-stzh-button-h:not([disabled=false])[variant=tertiary]{--color:var(--stzh-color-grey25);--border-color:var(--stzh-color-grey13);--background-color:transparent;--hover-color:var(--stzh-color-grey25);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:transparent}@-webkit-keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}@keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}.sc-stzh-button-h .sc-stzh-button-s>stzh-icon,.stzh-button__icon.sc-stzh-button{--size:var(--icon-size)}.stzh-button.sc-stzh-button{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);line-height:1.25;font-family:inherit;position:relative;z-index:0;overflow:visible;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--color);padding:var(--padding);background-color:var(--background-color);-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;border-style:solid;border-width:var(--border-width);border-color:var(--border-color);cursor:pointer;-webkit-text-decoration-line:none;text-decoration-line:none;width:100%;min-width:var(--height);min-height:var(--height);border-radius:var(--border-radius);text-align:left}.stzh-button.sc-stzh-button:hover{border-color:var(--hover-border-color);background-color:var(--hover-background-color);color:var(--hover-color)}.stzh-button__vhidden.sc-stzh-button{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-button__inner.sc-stzh-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}.stzh-button__icon-wrapper.sc-stzh-button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-button__text.sc-stzh-button{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;white-space:var(--white-space);text-align:center}.stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--icon-text-margin)}.stzh-button__badge.sc-stzh-button{position:absolute;z-index:1;top:0;right:0}.stzh-button__input.sc-stzh-button{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.stzh-button__mark.sc-stzh-button{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:50%;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed);width:1.25rem;height:1.25rem;margin-right:var(--stzh-space-xsmall);border-color:currentColor}.stzh-button__mark.sc-stzh-button::before{content:""}.stzh-button__check.sc-stzh-button{background-color:currentColor;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));width:0.5rem;height:0.5rem;border-radius:50%;opacity:0}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-button__check.sc-stzh-button{background-color:ButtonText}}.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button.sc-stzh-button:hover .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:focus:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button__input.sc-stzh-button:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{opacity:1}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-grey61)}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:transparent}.stzh-button--is-disabled.sc-stzh-button .stzh-button__mark.sc-stzh-button{background-color:var(--stzh-color-black8)}.stzh-button--size-small.sc-stzh-button,.stzh-button--size-tiny.sc-stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-button--is-floating.sc-stzh-button{-webkit-box-shadow:var(--stzh-box-shadow-overlay);box-shadow:var(--stzh-box-shadow-overlay)}.stzh-button--badge-position-button.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:static}.stzh-button__badge.sc-stzh-button,.stzh-button--badge-position-button.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:relative}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--badge-icon-text-margin)}.stzh-button--has-icon-only.sc-stzh-button{width:var(--height);height:var(--height);padding:0}.stzh-button--has-icon-only.sc-stzh-button .stzh-button__text.sc-stzh-button{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-button--effect-cta.sc-stzh-button:hover .stzh-button__icon-wrapper.sc-stzh-button{-webkit-animation:stzh-button-effect-cta 1s;animation:stzh-button-effect-cta 1s}.stzh-button--align-left.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:start;justify-content:flex-start}.stzh-button--align-right.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:end;justify-content:flex-end}.stzh-button--align-center.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:center;justify-content:center}.stzh-button--align-space-between.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:justify;justify-content:space-between}.stzh-button--is-disabled.sc-stzh-button{cursor:not-allowed}';var u=t("stzh_button",function(){function t(t){var e=this;o(this,t);this.stzhFocus=n(this,"stzhFocus",7);this.stzhBlur=n(this,"stzhBlur",7);this.stzhChange=n(this,"stzhChange",7);this.focusedByInput=false;this.onInput=function(t){e.checked=e.input.checked;e.stzhChange.emit({component:"stzh-button",originalEvent:t,value:e.value,checked:e.checked})};this.onRootFocus=function(){if(!e.focusedByInput){e.setFocus()}e.focusedByInput=false};this.onFocus=function(t){e.focusedByInput=true;var o=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});e.element.dispatchEvent(o);e.stzhFocus.emit({component:"stzh-button",originalEvent:t})};this.onBlur=function(t){var o=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});e.element.dispatchEvent(o);e.stzhBlur.emit({component:"stzh-button",originalEvent:t})};this.onClick=function(t){if(e.disabled){t.stopPropagation();t.preventDefault()}};this.localization=undefined;this.badge="";this.badgeType="default";this.badgePosition="button";this.badgeEmpty=false;this.fullwidth=false;this.rounded=false;this.floating=false;this.size="default";this.textAlign="default";this.variant="default";this.icon="";this.iconPosition="left";this.checked=false;this.name="";this.value="";this.href="";this.rel=undefined;this.target="";this.download=undefined;this.type="button";this.disabled=false;this.active=false;this.label="";this.effect="default";this.iconOnly=false;this.linkAccesskey=undefined;this.a11yLabel=undefined;this.a11yDescribedby="";this.a11yExpanded=undefined;this.a11yDisabled=undefined;this.a11yControls=undefined;this.a11yTabindex=undefined}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus();return[2]}))}))};t.prototype.renderIcon=function(t){return e("div",{class:"stzh-button__icon-wrapper"},this.icon?e("stzh-icon",{class:"stzh-button__icon",name:this.icon}):e("slot",{name:"icon"}),(this.badge||this.badgeEmpty)&&this.badgePosition==="icon"&&t&&e("stzh-badge",{class:"stzh-button__badge",label:this.badge,type:this.badgeType}))};t.prototype.renderContent=function(){return e("div",{class:"stzh-button__text"},this.rel&&this.rel.includes("external")&&e("div",{class:"stzh-button__vhidden"},this.localization.$globals.externalLinkLabel),this.download&&e("div",{class:"stzh-button__vhidden"},this.localization.$globals.downloadLinkLabel),this.label?this.label:e("slot",null))};t.prototype.renderInner=function(t){return e(r,null,e("div",{class:"stzh-button__inner",onClick:this.onClick},this.type==="radio"&&e("div",{class:"stzh-button__mark"},e("div",{class:"stzh-button__check"})),this.iconPosition==="left"&&this.renderIcon(t),this.renderContent(),this.iconPosition==="right"&&this.renderIcon(t)),(this.badge||this.badgeEmpty)&&(this.badgePosition==="button"||!t)&&e("stzh-badge",{class:"stzh-button__badge",label:this.badge,type:this.badgeType,onClick:this.onClick}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(o){switch(o.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,h(this.element,"button")];case 1:t.localization=o.sent();o.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t;var o=this;var n=a(this.element,"icon")||!!this.icon;var r=(t={"stzh-button":true,"stzh-button--has-icon":n,"stzh-button--has-icon-only":this.iconOnly,"stzh-button--has-badge":!!this.badge,"stzh-button--is-floating":this.floating,"stzh-button--is-rounded":this.rounded,"stzh-button--is-fullwidth":this.fullwidth,"stzh-button--is-disabled":this.disabled,"stzh-button--is-active":this.active},t["stzh-button--effect-".concat(this.effect)]=!!this.effect,t["stzh-button--badge-position-".concat(this.badgePosition)]=!!this.badgePosition,t["stzh-button--align-".concat(this.textAlign)]=!!this.textAlign,t["stzh-button--size-".concat(this.size)]=!!this.size,t["stzh-button--type-".concat(this.type)]=!!this.type,t["stzh-button--".concat(this.variant)]=!!this.variant,t);return e(s,{tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},this.href?e("a",{ref:function(t){return o.button=t},href:this.disabled?null:this.href,rel:this.rel,download:this.download,target:this.target,class:r,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,"aria-disabled":typeof this.a11yDisabled!=="undefined"?this.a11yDisabled?"true":"false":null,"aria-expanded":typeof this.a11yExpanded!=="undefined"?this.a11yExpanded?"true":"false":null,"aria-controls":this.a11yControls,accessKey:this.linkAccesskey,tabindex:this.a11yTabindex,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick},this.renderInner(n)):this.type==="radio"?e("label",{ref:function(t){return o.button=t},class:r,onClick:this.onClick},e("input",{ref:function(t){return o.input=t},type:"radio",class:"stzh-button__input",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,"aria-disabled":typeof this.a11yDisabled!=="undefined"?this.a11yDisabled?"true":"false":null,"aria-expanded":typeof this.a11yExpanded!=="undefined"?this.a11yExpanded?"true":"false":null,"aria-controls":this.a11yControls,accessKey:this.linkAccesskey,tabindex:this.a11yTabindex,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,onInput:this.onInput}),this.renderInner(n)):e("button",{ref:function(t){return o.button=t},class:r,type:this.type,disabled:this.disabled,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,"aria-disabled":typeof this.a11yDisabled!=="undefined"?this.a11yDisabled?"true":"false":null,"aria-expanded":typeof this.a11yExpanded!=="undefined"?this.a11yExpanded?"true":"false":null,"aria-controls":this.a11yControls,accessKey:this.linkAccesskey,tabindex:this.a11yTabindex,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick},this.renderInner(n)))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());u.style=b;var d=".sc-stzh-icon-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-icon-h{display:none}.sc-stzh-icon-h *.sc-stzh-icon,.sc-stzh-icon-h *.sc-stzh-icon::before,.sc-stzh-icon-h *.sc-stzh-icon::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-icon-h{--size:var(--stzh-icon-size-default);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:currentColor;vertical-align:text-top}.stzh-icon.sc-stzh-icon{width:var(--size);height:var(--size)}";var z=0;var f=t("stzh_icon",function(){function t(t){o(this,t);this.name="";this.a11yTitle=""}t.prototype.componentWillLoad=function(){this.iconId="stzh-icon-".concat(z++)};t.prototype.render=function(){return e(s,null,this.name&&e("svg",{class:"stzh-icon",role:this.a11yTitle?"img":"presentation","aria-hidden":this.a11yTitle?null:"true",focusable:this.a11yTitle?"true":"false","aria-labelledby":this.a11yTitle?"".concat(this.iconId,"-title"):null},this.a11yTitle&&e("title",{id:"".concat(this.iconId,"-title")},this.a11yTitle),e("use",{href:"#stzh-icon-".concat(this.name)})))};return t}());f.style=d}}}));
@@ -1 +0,0 @@
1
- import{r as o,e as r,h as t,F as i,c as s,g as e}from"./p-99a3742a.js";import{f as h}from"./p-25a09313.js";const c=class{constructor(t){o(this,t),this.stzhClick=r(this,"stzhClick",7),this.stzhRemove=r(this,"stzhRemove",7),this.stzhFocus=r(this,"stzhFocus",7),this.stzhBlur=r(this,"stzhBlur",7),this.focusedByInput=!1,this.onRootFocus=()=>{this.focusedByInput||this.setFocus(),this.focusedByInput=!1},this.onFocus=o=>{this.focusedByInput=!0;const r=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(r),this.stzhFocus.emit({component:"stzh-chip",originalEvent:o})},this.onBlur=o=>{const r=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(r),this.stzhBlur.emit({component:"stzh-chip",originalEvent:o})},this.onClick=o=>{this.stzhClick.emit({component:"stzh-chip",originalEvent:o})},this.onRemoveClick=o=>{this.stzhRemove.emit({component:"stzh-chip",originalEvent:o})},this.label="",this.icon="",this.href="",this.target="",this.nonInteractive=!1,this.removable=!1,this.variant="tag",this.size="default",this.type="default",this.counter="",this.removeLabel="",this.active=!1,this.disabled=!1,this.a11yTabindex=void 0,this.a11yLabel=void 0,this.a11yDescribedby=""}async setFocus(){this.chip.focus()}renderInner(){return t(i,null,t("div",{class:"stzh-chip__icon-wrapper"},this.icon?t("stzh-icon",{class:"stzh-chip__icon",name:this.icon}):t("slot",{name:"icon"})),t("stzh-clamp",{lines:1,class:"stzh-chip__label"},this.label?this.label:t("slot",null),this.counter&&t("span",{class:"stzh-chip__vhidden"}," (",this.counter,")")),this.counter&&t("div",{class:"stzh-chip__counter","aria-hidden":"true"},this.counter))}render(){const o=this.nonInteractive?"div":this.href?"a":"button";return t(s,{tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},t("div",{class:{"stzh-chip":!0,"stzh-chip--is-active":this.active,"stzh-chip--is-disabled":this.disabled,"stzh-chip--is-removable":this.removable,"stzh-chip--has-counter":!!this.counter,[`stzh-chip--type-${this.type}`]:!!this.type,[`stzh-chip--size-${this.size}`]:!!this.size,[`stzh-chip--${this.variant}`]:!!this.variant}},this.removable&&t("button",{class:"stzh-chip__remove",onClick:this.onRemoveClick,disabled:this.disabled,"aria-label":this.removeLabel,type:"button"},t("stzh-icon",{class:"stzh-chip__remove-icon",name:"close"})),t(o,this.href?{ref:o=>this.chip=o,class:{"stzh-chip__button":!0,"is-button":!this.nonInteractive&&!this.href,"is-link":!this.nonInteractive&&!!this.href},href:this.disabled?null:this.href,target:this.target,tabindex:this.a11yTabindex,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur}:{ref:o=>this.chip=o,class:{"stzh-chip__button":!0,"is-button":!this.nonInteractive&&!this.href,"is-link":!this.nonInteractive&&!!this.href},disabled:this.disabled,type:"button",tabindex:this.a11yTabindex,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner())))}get element(){return e(this)}};c.style=".sc-stzh-chip-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-h{display:none}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-chip-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:2rem;--padding:0 var(--stzh-space-medium);--border-color:var(--stzh-color-grey13);--border-radius:1rem;--remove-color:var(--stzh-base-lead-color);--remove-border-radius:1.5rem;--background-color:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-primary60op);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--border-color);--hover-background-color:var(--stzh-color-primary8);--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--hover-background-color);--hover-icon-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:-ms-inline-flexbox;display:inline-flex}@media (forced-colors: active), (-ms-high-contrast: active){.sc-stzh-chip-h{--hover-color:Highlight;--hover-border:0.0625rem solid Highlight;--hover-background-color:Canvas;--hover-remove-color:Highlight;--hover-remove-background-color:Canvas;--hover-icon-color:Highlight;--hover-counter-color:Highlight}}[size=large].sc-stzh-chip-h{--height:2.5rem;--border-radius:1.25rem;--padding:0 var(--stzh-space-xlarge)}[size=small].sc-stzh-chip-h{--height:1.5rem;--icon-size:var(--stzh-icon-size-xsmall)}[variant=input].sc-stzh-chip-h{--border-color:transparent;--background-color:var(--stzh-color-grey5);--hover-border-color:transparent}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-base-color);--icon-color:var(--stzh-base-color);--counter-color:var(--stzh-base-color);--border-color:transparent;--background-color:var(--stzh-color-black8);--hover-color:var(--stzh-base-color);--hover-border-color:transparent;--hover-background-color:var(--stzh-color-black8);--hover-icon-color:var(--stzh-base-color);--hover-counter-color:var(--stzh-base-color)}[type=secondary].sc-stzh-chip-h{--color:var(--stzh-base-lead-color);--counter-color:var(--stzh-color-grey40)}[type=important].sc-stzh-chip-h{--color:var(--stzh-color-error);--icon-color:var(--stzh-color-error);--counter-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-icon-color:var(--stzh-color-error);--hover-counter-color:var(--stzh-color-error)}@media (forced-colors: active), (-ms-high-contrast: active){[type=important].sc-stzh-chip-h{--hover-color:Highlight;--hover-icon-color:Highlight;--hover-counter-color:Highlight}}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-color-white);--border-color:transparent;--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--icon-color:var(--stzh-color-white);--counter-color:var(--stzh-color-white56);--hover-color:var(--stzh-color-white);--hover-border-color:transparent;--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-icon-color:var(--stzh-color-white);--hover-counter-color:var(--stzh-color-white56)}@media (forced-colors: active), (-ms-high-contrast: active){[active].sc-stzh-chip-h:not([active=false]){--color:SelectedItem;--border-color:SelectedItem;--remove-color:SelectedItem;--background-color:Canvas;--icon-color:SelectedItem;--counter-color:SelectedItem;--hover-color:Highlight;--hover-border-color:Highlight;--hover-background-color:Canvas;--hover-remove-color:Highlight;--hover-remove-background-color:Canvas;--hover-icon-color:Highlight;--hover-counter-color:Highlight}}[non-interactive].sc-stzh-chip-h:not([non-interactive=false]){--hover-color:var(--color);--hover-border:var(--border-color);--hover-background-color:var(--background-color);--hover-icon-color:var(--icon-color);--hover-counter-color:var(--counter-color)}[disabled].sc-stzh-chip-h:not([disabled=false]){--color:var(--stzh-color-grey25);--border-color:var(--stzh-base-border-color);--remove-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-white);--icon-color:var(--stzh-color-grey25);--counter-color:var(--stzh-color-grey25);--hover-color:var(--stzh-color-grey25);--hover-border-color:var(--stzh-base-border-color);--hover-background-color:var(--stzh-color-white);--hover-remove-color:var(--stzh-color-grey13);--hover-remove-background-color:transparent;--hover-icon-color:var(--stzh-color-grey25);--hover-counter-color:var(--stzh-color-grey25)}.sc-stzh-chip-h .sc-stzh-chip-s>stzh-icon,.stzh-chip__icon.sc-stzh-chip{--size:var(--icon-size)}.stzh-chip.sc-stzh-chip{position:relative}.stzh-chip__vhidden.sc-stzh-chip{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);font-family:inherit;height:var(--height);display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:var(--border-radius);padding:var(--padding);color:var(--color);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:0.0625rem;border-style:solid;border-color:var(--border-color);background-color:var(--background-color);-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-chip__button.is-button.sc-stzh-chip,.stzh-chip__button.is-link.sc-stzh-chip{cursor:pointer}.stzh-chip__label.sc-stzh-chip{text-align:left}.stzh-chip__icon-wrapper.sc-stzh-chip{display:-ms-flexbox;display:flex;color:var(--icon-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);-ms-flex-negative:0;flex-shrink:0}.stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-chip__counter.sc-stzh-chip{display:-ms-flexbox;display:flex;font-variant-numeric:tabular-nums;margin-left:var(--stzh-space-xsmall);color:var(--counter-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip{position:absolute;top:0;right:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;border:none;background:none;padding:0;width:var(--height);height:var(--height);border-radius:var(--remove-border-radius);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--remove-color);-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;cursor:pointer}.stzh-chip__remove.sc-stzh-chip:hover{color:var(--hover-remove-color);background-color:var(--hover-remove-background-color)}.stzh-chip__remove-icon.sc-stzh-chip{--size:var(--stzh-icon-size-xxsmall)}.stzh-chip__button.sc-stzh-chip:hover,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip{color:var(--hover-color);background-color:var(--hover-background-color);border-color:var(--hover-border-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__counter.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{color:var(--hover-counter-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__icon-wrapper.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip{color:var(--hover-icon-color)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xxsmall)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{margin-left:var(--stzh-space-xxsmall)}.stzh-chip--is-removable.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{padding-right:calc(var(--height) + var(--stzh-space-xxsmall))}.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__button.sc-stzh-chip,.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__remove.sc-stzh-chip{cursor:not-allowed}";const a=class{constructor(t){o(this,t),this.stzhClamp=r(this,"stzhClamp",7),this.stzhExpand=r(this,"stzhExpand",7),this.updateClamped=()=>{if(!this.textCloneElement)return;const o=this.clamped;this.clamped=this.textCloneElement.scrollHeight>this.textCloneElement.clientHeight,o!==this.clamped&&this.stzhClamp.emit({component:"stzh-clamp",clamped:this.clamped})},this.handleResize=()=>{this.debounceResize&&window.cancelAnimationFrame(this.debounceResize),this.debounceResize=requestAnimationFrame(this.updateClamped)},this.handleMutaton=()=>{this.update()},this.handleExpandClick=()=>{this.expanded=!this.expanded,this.stzhExpand.emit({component:"stzh-clamp",expanded:this.expanded})},this.localization=void 0,this.lines=1,this.linesSmall=0,this.linesMedium=0,this.linesLarge=0,this.linesUltra=0,this.showExpandLink=!1,this.expanded=!1,this.clamped=!1}async update(){this.textCloneElement.innerHTML=this.textElement.innerHTML,this.updateClamped()}async componentWillLoad(){this.localization||(this.localization=await h(this.element,"clamp"))}componentDidLoad(){this.mutationObserver=new MutationObserver(this.handleMutaton),this.mutationObserver.observe(this.textElement,{childList:!0,subtree:!0})}componentDidRender(){this.update()}connectedCallback(){this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.element)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect()}render(){const o={"stzh-clamp":!0,"stzh-clamp--is-not-expanded":!this.expanded};return t(s,{style:{"--lines":this.lines?this.lines.toString():null,"--lines-small":this.linesSmall?this.linesSmall.toString():null,"--lines-medium":this.linesMedium?this.linesMedium.toString():null,"--lines-large":this.linesLarge?this.linesLarge.toString():null,"--lines-ultra":this.linesUltra?this.linesUltra.toString():null}},t("div",{class:o},t("div",{ref:o=>this.textElement=o,class:"stzh-clamp__text"},t("slot",null)),t("div",{ref:o=>this.textCloneElement=o,class:"stzh-clamp__text is-clone","aria-hidden":"true"}),this.showExpandLink&&this.clamped&&t("stzh-link",{class:"stzh-clamp__trigger",a11yTabindex:"-1","aria-hidden":"true",onClick:this.handleExpandClick},this.expanded?this.localization.showLess:this.localization.showMore)))}get element(){return e(this)}};a.style=":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}stzh-clamp{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;--current-lines:var(--lines, 0);width:100%;color:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;line-height:inherit}stzh-clamp[hidden]{display:none}stzh-clamp *,stzh-clamp *::before,stzh-clamp *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}@media screen and (min-width: 600px){stzh-clamp{--current-lines:var(--lines-small, var(--lines, 0))}}@media screen and (min-width: 1024px){stzh-clamp{--current-lines:var(--lines-medium, var(--lines-small, var(--lines, 0)))}}@media screen and (min-width: 1260px){stzh-clamp{--current-lines:var(--lines-large, var(--lines-medium, var(--lines-small, var(--lines, 0))))}}@media screen and (min-width: 1440px){stzh-clamp{--current-lines:var(--lines-ultra, var(--lines-large, var(--lines-medium, var(--lines-small, var(--lines, 0)))))}}.stzh-clamp{position:relative}.stzh-clamp__text{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.stzh-clamp__text>*:first-child{margin-top:0 !important}.stzh-clamp__text>*:last-child{margin-bottom:0 !important}.stzh-clamp__text.is-clone{position:absolute;visibility:hidden;opacity:0;top:0;left:0;width:100%}.stzh-clamp__trigger{margin-top:var(--stzh-space-xxsmall)}.stzh-clamp--is-not-expanded .stzh-clamp__text,.stzh-clamp__text.is-clone{-webkit-line-clamp:var(--current-lines);line-clamp:var(--current-lines)}";export{c as stzh_chip,a as stzh_clamp}
@@ -1 +0,0 @@
1
- System.register(["./p-36e72c1d.system.js","./p-72f050c1.system.js"],(function(e,t){"use strict";var a,i,s,o,l,n,r,d;return{setters:[function(t){a=t.d;i=t.N;s=t.w;o=t.p;l=t.a;n=t.H;r=t.b;e("setNonce",t.s)},function(e){d=e.g}],execute:function(){function e(e){var t,a,i;return(i=(a=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||a===void 0?void 0:a.getAttribute("content"))!==null&&i!==void 0?i:undefined}var c=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var p=function(){{m(n.prototype)}var e=Array.from(a.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(i,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===i}));var l=e["data-opts"]||{};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{l.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,s.location.href)).href;{h(l.resourcesUrl,e)}if(!s.customElements){return t.import("./p-cbfae706.system.js").then((function(){return l}))}}return o(l)};var h=function(t,o){var n=c(i);try{s[n]=new Function("w","return import(w);//".concat(Math.random()))}catch(d){var r=new Map;s[n]=function(i){var d;var c=new URL(i,t).href;var p=r.get(c);if(!p){var h=a.createElement("script");h.type="module";h.crossOrigin=o.crossOrigin;h.src=URL.createObjectURL(new Blob(["import * as m from '".concat(c,"'; window.").concat(n,".m = m;")],{type:"application/javascript"}));var m=(d=l.$nonce$)!==null&&d!==void 0?d:e(a);if(m!=null){h.setAttribute("nonce",m)}p=new Promise((function(e){h.onload=function(){e(s[n].m);h.remove()}}));r.set(c,p);a.head.appendChild(h)}return p}}};var m=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var a=t.call(this,false);var i=this.childNodes;if(e){for(var s=0;s<i.length;s++){if(i[s].nodeType!==2){a.appendChild(i[s].cloneNode(true))}}}return a}};p().then((function(e){d();return r(JSON.parse('[["p-cb8d0d64.system",[[2,"stzh-microsite-teaserlist",{"localization":[16],"api":[1],"tags":[1],"stepItems":[2,"step-items"],"showItems":[32],"activeFilter":[32]}]]],["p-5373c40e.system",[[2,"stzh-appointments",{"localization":[16],"sortBy":[1025,"sort-by"],"appointments":[1],"currentDate":[1025,"current-date"],"value":[1025],"name":[513],"showItems":[1026,"show-items"],"stepItems":[2,"step-items"],"calendarTitle":[1,"calendar-title"],"appointmentsTitle":[1,"appointments-title"],"dateAdapter":[16]}]]],["p-0ecd29c5.system",[[2,"stzh-datamessagelist-item",{"localization":[16],"heading":[1],"unread":[4],"href":[1],"rel":[1],"target":[1],"description":[1],"icon":[1],"loadingStatus":[1,"loading-status"],"meta":[1],"actions":[1],"tags":[1],"external":[32]}]]],["p-529951e9.system",[[6,"stzh-contact",{"type":[1],"heading":[1],"mainHeading":[1,"main-heading"],"name":[1],"street":[1],"streetInfo":[1,"street-info"],"postalCode":[1,"postal-code"],"location":[1],"numbers":[1],"poBoxHeading":[1,"po-box-heading"],"poboxTitle":[1,"pobox-title"],"poboxPostalCode":[1,"pobox-postal-code"],"poboxLocation":[1,"pobox-location"],"availabilityTitle":[1,"availability-title"],"availability":[1],"withBorder":[4,"with-border"]}]]],["p-4909551f.system",[[0,"stzh-sitemap",{"items":[1]}]]],["p-3c75c708.system",[[4,"stzh-datatable",{"localization":[16],"label":[1],"sortBy":[1025,"sort-by"],"sortDirection":[1025,"sort-direction"],"tokenize":[1],"idField":[1,"id-field"],"disableMinWidth":[516,"disable-min-width"],"rows":[1],"columns":[1],"query":[32],"hasScrollLeft":[32],"hasScrollRight":[32],"isScrollable":[32],"cellsStickyLeft":[32],"cellsStickyRight":[32],"toggleSort":[64]}]]],["p-25496f49.system",[[2,"stzh-saptcha",{"localization":[16],"numbers":[1],"value":[1],"name":[513],"error":[1],"invalid":[516],"disabled":[516]}]]],["p-d9f5bb65.system",[[2,"stzh-vbz-majorticker",{"api":[1],"data":[8],"moreInfoLink":[1,"more-info-link"],"dateAdapter":[16],"localization":[16],"ghettoboxCloseTimeKey":[1,"ghettobox-close-time-key"],"ghettoboxShown":[32],"getGhettoboxShown":[64],"getDisturbance":[64]}]]],["p-6a911d9c.system",[[6,"stzh-vbz-ticker",{"api":[1],"data":[8],"moreInfoLink":[1,"more-info-link"],"dateAdapter":[16],"localization":[16]}]]],["p-a63df129.system",[[2,"stzh-anchornav",{"columns":[514],"columnsSmall":[514,"columns-small"],"columnsMedium":[514,"columns-medium"],"columnsLarge":[514,"columns-large"],"columnsUltra":[514,"columns-ultra"],"items":[1],"withBorder":[516,"with-border"]}]]],["p-0688fe3a.system",[[6,"stzh-audio",{"localization":[16],"src":[1],"preload":[1],"transcript":[1],"transcriptShown":[1028,"transcript-shown"],"play":[64],"pause":[64]}]]],["p-6f4d7926.system",[[4,"stzh-upload",{"existingFiles":[1,"existing-files"],"label":[1],"description":[1],"button":[1],"url":[1],"method":[1],"withCredentials":[4,"with-credentials"],"disabled":[516],"invalid":[516],"downloadDisabled":[4,"download-disabled"],"error":[1],"acceptedFiles":[1,"accepted-files"],"autoProcessQueue":[4,"auto-process-queue"],"maxFiles":[2,"max-files"],"maxFilesize":[2,"max-filesize"],"parallelUploads":[2,"parallel-uploads"],"uploadMultiple":[4,"upload-multiple"],"chunking":[4],"forceChunking":[4,"force-chunking"],"chunkSize":[2,"chunk-size"],"parallelChunkUploads":[4,"parallel-chunk-uploads"],"retryChunks":[4,"retry-chunks"],"retryChunksLimit":[2,"retry-chunks-limit"],"filesizeBase":[2,"filesize-base"],"headers":[16],"defaultHeaders":[4,"default-headers"],"accept":[16],"chunksUploaded":[16],"hiddenInputContainer":[1,"hidden-input-container"],"localization":[16],"processQueue":[64]}]]],["p-373e5bb9.system",[[4,"stzh-footer",{"localization":[16],"copyright":[1],"variant":[1],"mainUrl":[1,"main-url"],"withBorder":[4,"with-border"]}]]],["p-c7263e0f.system",[[2,"stzh-langnav",{"languageActive":[1,"language-active"],"languages":[1],"popoverPlacement":[513,"popover-placement"],"preventUrlchange":[4,"prevent-urlchange"]}]]],["p-7b887b10.system",[[6,"stzh-message",{"label":[1],"description":[1],"closeKey":[1,"close-key"],"type":[513],"hideClose":[4,"hide-close"],"localization":[16],"open":[32],"show":[64],"hide":[64]}]]],["p-72a71f30.system",[[6,"stzh-pagebottom",{"shareTitle":[1,"share-title"],"shareUrl":[1,"share-url"],"shareServices":[1,"share-services"],"shareDisabled":[4,"share-disabled"],"logoHref":[1,"logo-href"],"withBorder":[4,"with-border"]}]]],["p-6a7152dd.system",[[6,"stzh-accordion-item",{"open":[1540],"disabled":[516],"heading":[1],"subtitle":[1],"description":[1],"icon":[1],"badge":[1],"badgeEmpty":[516,"badge-empty"],"badgeType":[513,"badge-type"],"headingLevel":[513,"heading-level"],"show":[64],"hide":[64],"toggle":[64],"setFocus":[64]}]]],["p-b7509be8.system",[[6,"stzh-checkbox",{"localization":[16],"disabled":[516],"name":[513],"value":[1025],"invalid":[516],"required":[516],"checked":[1540],"label":[1],"description":[1],"descriptionLong":[1,"description-long"],"showMarker":[516,"show-marker"],"error":[1],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}]]],["p-dbe89e81.system",[[6,"stzh-checkboxgroup",{"localization":[16],"disabled":[516],"name":[513],"legend":[1],"hideLegend":[516,"hide-legend"],"invalid":[516],"showMarker":[516,"show-marker"],"value":[1025],"direction":[513],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"checkedCheckbox":[16],"preventUpdateProperties":[1,"prevent-update-properties"]},[[0,"stzhChange","onChange"]]]]],["p-2a9e7099.system",[[6,"stzh-dialog",{"localization":[16],"closeOnEscapeKey":[4,"close-on-escape-key"],"closeOnBackdropClick":[4,"close-on-backdrop-click"],"open":[1028],"stay":[4],"size":[513],"hideClose":[4,"hide-close"],"heading":[1],"a11yRole":[1,"a11y-role"],"a11yLabel":[1,"a11y-label"],"show":[64],"hide":[64]},[[6,"click","handleOutsideClick"],[4,"keydown","handleKeydown"],[4,"click","handleOpenTriggerClick"]]]]],["p-a70423e5.system",[[2,"stzh-progressbar",{"data":[1],"index":[2],"steps":[2],"stepsSmall":[2,"steps-small"],"stepsMedium":[2,"steps-medium"],"stepsLarge":[2,"steps-large"],"stepsUltra":[2,"steps-ultra"],"currentSteps":[32]}]]],["p-673d68e7.system",[[6,"stzh-toggle",{"localization":[16],"disabled":[516],"name":[513],"value":[1025],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"checked":[1540],"label":[1],"labelPosition":[513,"label-position"],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}]]],["p-180e8516.system",[[6,"stzh-fieldset",{"legend":[1],"hideLegend":[4,"hide-legend"],"legendLevel":[1,"legend-level"],"legendCurve":[1,"legend-curve"]}]]],["p-a8205b50.system",[[0,"stzh-olmap",{"localization":[16],"hostname":[1],"scaleControl":[4,"scale-control"],"layerControl":[4,"layer-control"],"printControl":[4,"print-control"],"locationControl":[4,"location-control"],"layer":[1025],"zoom":[2],"zoomLocation":[2,"zoom-location"],"center":[16],"centerMarker":[4,"center-marker"],"resolutions":[16],"layers":[1],"getMap":[64],"addIconMarker":[64],"removeIconMarker":[64],"setIconMarkerActive":[64],"setIconMarkerInactive":[64],"enableLocationTracking":[64],"disableLocationTracking":[64]},[[8,"load","handleLoad"],[8,"deviceorientation","handleLoad"],[8,"pageshow","handleLoad"]]]]],["p-1b197c5e.system",[[6,"stzh-accordion",{"collapsible":[4],"multiselectable":[4],"setItemFocus":[64]},[[0,"stzhOpen","openListener"]]]]],["p-6b05235b.system",[[6,"stzh-actions",{"variant":[513],"withBorder":[516,"with-border"]}]]],["p-ebc2b991.system",[[6,"stzh-appnav",{"appTitle":[1,"app-title"],"appStatus":[1,"app-status"],"appHref":[1,"app-href"]}]]],["p-c164e020.system",[[6,"stzh-buttongroup"]]],["p-a0aeb3d6.system",[[6,"stzh-carousel",{"localization":[16],"variant":[513],"disabled":[516],"slides":[2],"slidesSmall":[2,"slides-small"],"slidesMedium":[2,"slides-medium"],"slidesLarge":[2,"slides-large"],"slidesUltra":[2,"slides-ultra"],"slide":[2],"autoplay":[1028],"tabThrough":[4,"tab-through"],"preventMouseDrag":[32],"scrollTimeout":[32],"autoplayTimeout":[32],"distanceQuickSwipe":[32],"distancePreventClick":[32],"autoplayRunning":[32],"autoplayDisabledByMotionMedia":[32],"autoplayDisabledByMouse":[32],"autoplayDisabledByFocus":[32],"dragging":[32],"scrolling":[32],"ariaLive":[32],"currentSlides":[32],"currentSwipeSlides":[32],"slideElements":[32],"previousElements":[32],"nextElements":[32],"navigationTextElements":[32],"slideTo":[64],"slideToPrevious":[64],"slideToNext":[64]}]]],["p-206f5f74.system",[[1,"stzh-cell",{"span":[2],"spanSmall":[2,"span-small"],"spanMedium":[2,"span-medium"],"spanLarge":[2,"span-large"],"spanUltra":[2,"span-ultra"],"justifySelf":[513,"justify-self"],"alignSelf":[513,"align-self"]}]]],["p-ec7f15c8.system",[[0,"stzh-chart",{"chartId":[1,"chart-id"],"create":[16]}]]],["p-3e8bba03.system",[[6,"stzh-container",{"inverted":[516]}]]],["p-17761054.system",[[6,"stzh-cspace"]]],["p-5859f81f.system",[[6,"stzh-datamessagelist"]]],["p-61e701ce.system",[[6,"stzh-details",{"open":[1540],"show":[64],"hide":[64],"toggle":[64]}]]],["p-90053b06.system",[[6,"stzh-figure",{"caption":[1],"copyright":[1],"fullwidth":[516]}]]],["p-320273c3.system",[[2,"stzh-flyingfocus",{"style":[32],"position":[32],"enabled":[32],"visible":[32],"helper":[32],"moving":[32],"reposition":[64]},[[4,"keydown","handleKeydown"],[5,"mousedown","handleMousedown"],[6,"focus","handleFocus"],[6,"stzhFocus","handleFocus"],[6,"blur","handleBlur"],[7,"scroll","handleScrollResize"],[11,"resize","handleScrollResize"]]]]],["p-198b8305.system",[[6,"stzh-header",{"href":[1],"metabarStay":[4,"metabar-stay"],"stickyDisabled":[4,"sticky-disabled"],"preventAppnavPlaceholder":[4,"prevent-appnav-placeholder"],"hideLogo":[32],"paddingTop":[32],"metabarTransform":[32],"sticky":[32],"stickyClosing":[32],"stickyMetabar":[32],"stickyMetabarEnd":[32],"updatePosition":[64]},[[9,"scroll","scrollListener"]]]]],["p-df617d8e.system",[[2,"stzh-hr"]]],["p-36fbc15e.system",[[1,"stzh-hspace",{"curve":[1],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"],"justify":[1],"items":[1],"around":[516],"border":[513]}]]],["p-cd7d91be.system",[[0,"stzh-icon-sprite"]]],["p-1457ac31.system",[[6,"stzh-invert"]]],["p-ca7ec43f.system",[[1,"stzh-list",{"variant":[513]}]]],["p-47c70501.system",[[1,"stzh-list-item"]]],["p-e5318901.system",[[2,"stzh-loadingbar",{"percent":[2],"hidePercent":[4,"hide-percent"],"label":[1]}]]],["p-d46116ce.system",[[6,"stzh-metanav"]]],["p-84ee50a5.system",[[6,"stzh-overlay",{"open":[1028],"stay":[4],"a11yLabel":[1,"a11y-label"],"show":[64],"hide":[64]}]]],["p-fb6952f1.system",[[6,"stzh-page-skiplinks"]]],["p-cd3c2a3a.system",[[6,"stzh-pagetitle"]]],["p-7bc49298.system",[[6,"stzh-pagetitle-hero",{"heading":[1],"leadAuthor":[1,"lead-author"],"subtitle":[1]}]]],["p-de151e4f.system",[[0,"stzh-portal-mitwirken"]]],["p-5ab2ae81.system",[[6,"stzh-ratio",{"ratio":[513],"portrait":[516],"fit":[513]}]]],["p-7a95f89c.system",[[4,"stzh-readspeaker",{"href":[1],"eventId":[1,"event-id"]},[[8,"DOMContentLoaded","addClickEvents"],[8,"load","addClickEvents"]]]]],["p-dc970ea6.system",[[1,"stzh-row",{"span":[2],"spanSmall":[2,"span-small"],"spanMedium":[2,"span-medium"],"spanLarge":[2,"span-large"],"spanUltra":[2,"span-ultra"],"justify":[513],"items":[513],"content":[513]}]]],["p-bbacd4b6.system",[[6,"stzh-section",{"variant":[1]}]]],["p-18c9a3e1.system",[[1,"stzh-show",{"mikro":[4],"small":[4],"medium":[4],"large":[4],"ultra":[4],"hideFromDate":[1,"hide-from-date"]}]]],["p-8f996d7e.system",[[6,"stzh-skiplink",{"href":[1],"linkAccesskey":[1,"link-accesskey"],"linkTitle":[1,"link-title"],"focused":[32]},[[0,"focusin","focusinHandler"],[0,"focusout","focusoutHandler"]]]]],["p-7c1e4ff7.system",[[1,"stzh-space",{"curve":[1],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"],"justify":[1],"items":[1],"around":[516],"border":[513]}]]],["p-bfece369.system",[[6,"stzh-sticky",{"disableStickyTop":[516,"disable-sticky-top"],"disableStickyBottom":[516,"disable-sticky-bottom"],"breakout":[516],"isStuckTop":[32],"isStuckBottom":[32]}]]],["p-509c7218.system",[[4,"stzh-table",{"fixedLeft":[2,"fixed-left"],"fixedRight":[2,"fixed-right"],"disableMinWidth":[516,"disable-min-width"],"hasScrollLeft":[32],"hasScrollRight":[32],"isScrollable":[32],"cellsStickyLeft":[32],"cellsStickyRight":[32]}]]],["p-42b69706.system",[[1,"stzh-textandimage",{"floating":[516],"fullwidth":[516],"size":[513]}]]],["p-035a0f82.system",[[6,"stzh-visuallyhidden"]]],["p-7142e816.system",[[1,"stzh-vspace",{"curve":[1],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"],"justify":[1],"items":[1],"around":[516],"border":[513]}]]],["p-ac6df3e4.system",[[6,"stzh-button",{"localization":[16],"badge":[1],"badgeType":[513,"badge-type"],"badgePosition":[513,"badge-position"],"badgeEmpty":[516,"badge-empty"],"fullwidth":[516],"rounded":[516],"floating":[516],"size":[513],"textAlign":[513,"text-align"],"variant":[513],"icon":[1],"iconPosition":[513,"icon-position"],"checked":[1540],"name":[513],"value":[1025],"href":[1],"rel":[1],"target":[1],"download":[1],"type":[1],"disabled":[516],"active":[516],"label":[1],"effect":[1],"iconOnly":[516,"icon-only"],"linkAccesskey":[1,"link-accesskey"],"a11yLabel":[1,"a11y-label"],"a11yDescribedby":[1,"a11y-describedby"],"a11yExpanded":[516,"a11y-expanded"],"a11yDisabled":[516,"a11y-disabled"],"a11yControls":[1,"a11y-controls"],"a11yTabindex":[1,"a11y-tabindex"],"setFocus":[64]}],[2,"stzh-badge",{"label":[1],"type":[513]}],[2,"stzh-icon",{"name":[1],"a11yTitle":[1,"a11y-title"]}]]],["p-bd275bc1.system",[[2,"stzh-share",{"localization":[16],"url":[1],"services":[1]}]]],["p-a6c76983.system",[[6,"stzh-progressbar-item",{"disabled":[516],"first":[516],"last":[516],"passed":[516],"current":[516],"hide":[516],"dotted":[516],"step":[514],"icon":[513]}]]],["p-670495df.system",[[2,"stzh-vbz-linechip",{"line":[1],"active":[516],"alert":[516],"global":[516],"disabled":[516],"setFocus":[64]}]]],["p-13f024e3.system",[[6,"stzh-loader",{"size":[1],"label":[1],"hideLabel":[4,"hide-label"]}]]],["p-65833306.system",[[2,"stzh-actionset",{"localization":[16],"variant":[513],"popoverButtonVariant":[513,"popover-button-variant"],"popoverButtonSize":[513,"popover-button-size"],"popoverPlacement":[513,"popover-placement"],"actions":[1],"actionsCollapsed":[32],"dynamicActions":[32],"isSmall":[32],"isMedium":[32]}]]],["p-13017524.system",[[6,"stzh-ghettobox",{"hiddenTitle":[1,"hidden-title"],"mainTitle":[1,"main-title"],"description":[1],"hideClose":[4,"hide-close"],"publishDate":[1,"publish-date"],"closeTimeKey":[1,"close-time-key"],"localization":[16],"open":[32],"show":[64],"hide":[64]}],[6,"stzh-richtext",{"localization":[16],"externalLinkSelector":[1,"external-link-selector"],"externalLinkIcon":[1,"external-link-icon"]}]]],["p-6ef3c304.system",[[2,"stzh-calendar",{"value":[1025],"min":[1],"max":[1],"firstDayOfWeek":[2,"first-day-of-week"],"localization":[16],"isDateDisabled":[16],"activeFocus":[32],"focusedDay":[32],"setFocusedDay":[64],"setDate":[64]}]]],["p-39f6243c.system",[[6,"stzh-sortable",{"localization":[16],"disabled":[516],"dataIdAttribute":[1,"data-id-attribute"],"container":[16],"ghostClone":[16],"filterElements":[1,"filter-elements"],"toArray":[64],"sort":[64],"moveItem":[64]}]]],["p-3a3d196e.system",[[6,"stzh-text",{"font":[1],"curve":[513],"lead":[516],"size":[1],"sizeSmall":[1,"size-small"],"sizeMedium":[1,"size-medium"],"sizeLarge":[1,"size-large"],"sizeUltra":[1,"size-ultra"]}]]],["p-b9a687f5.system",[[6,"stzh-heading",{"level":[513],"curve":[513],"withBorder":[516,"with-border"]}]]],["p-47bf4999.system",[[6,"stzh-popover",{"open":[1540],"placement":[513],"variant":[513],"skidding":[2],"distance":[2],"label":[1],"strategy":[1],"localization":[16],"computedPlacement":[32],"show":[64],"hide":[64],"toggle":[64],"update":[64]},[[6,"click","handleOutsideClick"]]]]],["p-1434d4f7.system",[[6,"stzh-input",{"localization":[16],"multiline":[4],"rows":[2],"type":[1],"step":[2],"min":[2],"max":[2],"showSpin":[516,"show-spin"],"readonly":[516],"disabled":[516],"clearable":[516],"showMarker":[516,"show-marker"],"minlength":[2],"maxlength":[2],"name":[513],"value":[1025],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"invalid":[516],"required":[516],"inputmode":[1],"autocomplete":[1],"noAutocomplete":[4,"no-autocomplete"],"label":[1],"size":[513],"a11yDescribedby":[1,"a11y-describedby"],"filled":[32],"setFocus":[64]}]]],["p-73ce3c9b.system",[[4,"stzh-dropdown",{"options":[1],"optgroups":[1],"items":[1],"searchField":[1,"search-field"],"multiple":[516],"inline":[516],"maxOptions":[2,"max-options"],"searchConjunction":[1,"search-conjunction"],"allowEmptyOption":[4,"allow-empty-option"],"openOnFocus":[4,"open-on-focus"],"closeAfterSelect":[4,"close-after-select"],"load":[16],"minCharacters":[2,"min-characters"],"loadThrottle":[2,"load-throttle"],"preload":[8],"labelField":[1,"label-field"],"valueField":[1,"value-field"],"optgroupField":[1,"optgroup-field"],"optgroupLabelField":[1,"optgroup-label-field"],"optgroupValueField":[1,"optgroup-value-field"],"lockOptgroupOrder":[4,"lock-optgroup-order"],"name":[513],"variant":[513],"size":[513],"disabled":[516],"popoverPlacement":[513,"popover-placement"],"label":[1],"icon":[1],"noSearch":[4,"no-search"],"noBackspaceDelete":[4,"no-backspace-delete"],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"localization":[16],"a11yDescribedby":[1,"a11y-describedby"],"getValue":[64],"setValue":[64],"setFocus":[64],"resetLoadedSearches":[64],"getLoadedSearches":[64],"getItems":[64],"loadItems":[64]}]]],["p-9443ef45.system",[[6,"stzh-link",{"localization":[16],"icon":[1],"iconPosition":[513,"icon-position"],"size":[513],"href":[1],"rel":[1],"target":[1],"download":[1],"type":[1],"variant":[513],"fullwidth":[516],"textAlign":[513,"text-align"],"badge":[1],"badgeType":[513,"badge-type"],"badgeEmpty":[516,"badge-empty"],"badgePosition":[513,"badge-position"],"disabled":[516],"active":[516],"iconOnly":[516,"icon-only"],"label":[1],"linkAccesskey":[1,"link-accesskey"],"a11yLabel":[1,"a11y-label"],"a11yDescribedby":[1,"a11y-describedby"],"a11yExpanded":[516,"a11y-expanded"],"a11yDisabled":[516,"a11y-disabled"],"a11yControls":[1,"a11y-controls"],"a11yTabindex":[1,"a11y-tabindex"],"setFocus":[64]}]]],["p-06e2b01d.system",[[6,"stzh-chip",{"label":[1],"icon":[1],"href":[1],"target":[1],"nonInteractive":[516,"non-interactive"],"removable":[516],"variant":[513],"size":[513],"type":[513],"counter":[1],"removeLabel":[1,"remove-label"],"active":[516],"disabled":[516],"a11yTabindex":[1,"a11y-tabindex"],"a11yLabel":[1,"a11y-label"],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}],[4,"stzh-clamp",{"localization":[16],"lines":[2],"linesSmall":[2,"lines-small"],"linesMedium":[2,"lines-medium"],"linesLarge":[2,"lines-large"],"linesUltra":[2,"lines-ultra"],"showExpandLink":[4,"show-expand-link"],"expanded":[1540],"clamped":[1540],"update":[64]}]]],["p-788e2455.system",[[6,"stzh-tooltip",{"open":[1028],"label":[1],"content":[1],"placement":[1],"strategy":[1],"skidding":[2],"distance":[2],"interactive":[4],"trigger":[1],"localization":[16],"computedPlacement":[32],"show":[64],"hide":[64],"toggle":[64],"update":[64]},[[6,"click","handleDocumentClick"]]]]],["p-294acb66.system",[[6,"stzh-card",{"localization":[16],"collapsed":[1540],"starred":[1540],"starrable":[516],"selectable":[516],"checked":[516],"name":[513],"href":[513],"target":[1],"value":[1025],"disabled":[516],"withArrow":[516,"with-arrow"],"heading":[1],"subtitle":[1],"headerActions":[1,"header-actions"],"footerActions":[1,"footer-actions"],"subtitleInteractive":[4,"subtitle-interactive"],"sortableDisabled":[516,"sortable-disabled"],"collapsible":[516],"hideHeaderBorder":[516,"hide-header-border"],"hideFooterBorder":[516,"hide-footer-border"],"hideElevation":[516,"hide-elevation"],"hideMovementActions":[4,"hide-movement-actions"]}],[6,"stzh-chip-select",{"localization":[16],"data":[1],"name":[513],"label":[1],"value":[1],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"invalid":[516],"required":[516],"disabled":[516],"a11yDescribedby":[1,"a11y-describedby"],"activeFocusOptionIndex":[32]}],[6,"stzh-card-list",{"localization":[16],"layout":[513],"description":[1],"showToggleLink":[516,"show-toggle-link"],"sortableEnabled":[4,"sortable-enabled"],"sortableDataIdAttribute":[1,"sortable-data-id-attribute"],"allCollapsed":[32]},[[0,"stzhCollapse","collapseListener"]]]]],["p-444af671.system",[[6,"stzh-datepicker",{"calendarMin":[1,"calendar-min"],"calendarMax":[1,"calendar-max"],"calendarIsDateDisabled":[16],"name":[513],"value":[1025],"label":[1],"readonly":[516],"disabled":[516],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"size":[513],"inline":[4],"dateAdapter":[16],"localization":[16],"buttonLabel":[32],"setDate":[64],"getPopover":[64]}],[6,"stzh-radio",{"localization":[16],"disabled":[516],"name":[513],"value":[1025],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"checked":[1540],"label":[1],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"a11yDescribedby":[1,"a11y-describedby"],"setFocus":[64]}],[6,"stzh-radiogroup",{"localization":[16],"disabled":[516],"name":[513],"legend":[1],"hideLegend":[516,"hide-legend"],"invalid":[516],"required":[516],"showMarker":[516,"show-marker"],"value":[1025],"direction":[513],"description":[1],"descriptionLong":[1,"description-long"],"error":[1],"checkedRadio":[8,"checked-radio"],"preventUpdateProperties":[1,"prevent-update-properties"]},[[0,"stzhChange","onChange"]]]]],["p-222d9dd1.system",[[2,"stzh-status",{"percent":[2],"withLoadingbar":[516,"with-loadingbar"],"label":[1],"type":[513]}]]],["p-e18f5e43.system",[[6,"stzh-datalist",{"direction":[513],"directionSmall":[513,"direction-small"],"directionMedium":[513,"direction-medium"],"directionLarge":[513,"direction-large"],"directionUltra":[513,"direction-ultra"],"hideBorder":[516,"hide-border"],"disableLabelMinWidth":[516,"disable-label-min-width"],"currentDirection":[513,"current-direction"],"items":[1]}],[6,"stzh-datalist-item",{"localization":[16],"direction":[513],"href":[513],"rel":[1],"target":[1],"download":[1],"leadingIcon":[1,"leading-icon"],"icon":[1],"iconLabel":[1,"icon-label"],"iconTooltip":[1,"icon-tooltip"],"label":[1],"value":[1],"meta":[1],"statusLabel":[1,"status-label"],"statusType":[1,"status-type"],"hideBorder":[516,"hide-border"],"a11yExpanded":[516,"a11y-expanded"],"a11yControls":[1,"a11y-controls"],"external":[32]}]]],["p-770a5d07.system",[[6,"stzh-menu-item",{"badge":[1],"badgeType":[513,"badge-type"],"badgeEmpty":[516,"badge-empty"],"disabled":[516],"active":[516],"icon":[1],"label":[1],"href":[1],"target":[1],"a11yLabel":[1,"a11y-label"],"setFocus":[64]}],[6,"stzh-menu"]]]]'),e)}))}}}));