@limetech/lime-elements 34.1.0-next.3 → 34.1.0-next.30

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 (156) hide show
  1. package/dist/cjs/{_arrayIncludesWith-d69e30af.js → _arrayIncludesWith-36a6fafb.js} +7 -6
  2. package/dist/cjs/{_assignValue-493aac17.js → _assignValue-c9fc3712.js} +2 -2
  3. package/dist/cjs/{_defineProperty-c081d04c.js → _defineProperty-8351e789.js} +4 -3
  4. package/dist/cjs/eq-9a943b00.js +75 -0
  5. package/dist/cjs/{isArrayLike-2bebb99c.js → isArrayLike-ac53bdac.js} +1 -30
  6. package/dist/cjs/{isEqual-1ce0c121.js → isEqual-e3b9c27c.js} +21 -19
  7. package/dist/cjs/{eq-3b43a5ca.js → isObject-e28b7997.js} +0 -71
  8. package/dist/cjs/isObjectLike-3e3f0cba.js +31 -0
  9. package/dist/cjs/{isSymbol-4666002c.js → isSymbol-d22b2798.js} +3 -3
  10. package/dist/cjs/lime-elements.cjs.js +1 -1
  11. package/dist/cjs/limel-chip-set.cjs.entry.js +50 -28
  12. package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
  13. package/dist/cjs/limel-color-picker-palette_2.cjs.entry.js +188 -0
  14. package/dist/cjs/limel-color-picker.cjs.entry.js +51 -0
  15. package/dist/cjs/limel-file.cjs.entry.js +1 -1
  16. package/dist/cjs/{limel-flatpickr-adapter_2.cjs.entry.js → limel-flatpickr-adapter.cjs.entry.js} +8 -801
  17. package/dist/cjs/limel-form.cjs.entry.js +64 -26
  18. package/dist/cjs/limel-grid.cjs.entry.js +1 -1
  19. package/dist/cjs/limel-input-field.cjs.entry.js +713 -0
  20. package/dist/cjs/limel-list_3.cjs.entry.js +2431 -0
  21. package/dist/cjs/limel-menu-list.cjs.entry.js +1 -1
  22. package/dist/cjs/limel-menu.cjs.entry.js +5 -4
  23. package/dist/cjs/limel-progress-flow-item.cjs.entry.js +1 -1
  24. package/dist/cjs/limel-progress-flow.cjs.entry.js +1 -1
  25. package/dist/cjs/limel-slider.cjs.entry.js +96 -13
  26. package/dist/cjs/limel-tab-bar.cjs.entry.js +7 -5
  27. package/dist/cjs/limel-table.cjs.entry.js +9 -7
  28. package/dist/cjs/{limel-tooltip.cjs.entry.js → limel-tooltip_2.cjs.entry.js} +16 -0
  29. package/dist/cjs/loader.cjs.js +1 -1
  30. package/dist/cjs/{pickBy-64252559.js → pickBy-88b0430a.js} +10 -10
  31. package/dist/cjs/toNumber-062ea29c.js +99 -0
  32. package/dist/cjs/{zipObject-2f430e94.js → zipObject-4050a45f.js} +1 -1
  33. package/dist/collection/collection-manifest.json +2 -0
  34. package/dist/collection/components/chip-set/chip-set.css +14 -0
  35. package/dist/collection/components/chip-set/chip-set.js +75 -35
  36. package/dist/collection/components/code-editor/code-editor.css +7 -0
  37. package/dist/collection/components/color-picker/color-picker-palette.css +1239 -0
  38. package/dist/collection/components/color-picker/color-picker-palette.js +135 -0
  39. package/dist/collection/components/color-picker/color-picker.css +108 -0
  40. package/dist/collection/components/color-picker/color-picker.js +189 -0
  41. package/dist/collection/components/color-picker/swatches.js +29 -0
  42. package/dist/collection/components/file/file.js +1 -1
  43. package/dist/collection/components/form/adapters/widget-adapter.js +4 -1
  44. package/dist/collection/components/form/form.js +73 -0
  45. package/dist/collection/components/form/templates/array-field-collapsible-item.js +8 -8
  46. package/dist/collection/components/form/templates/common.js +1 -1
  47. package/dist/collection/components/form/widgets/select.js +3 -4
  48. package/dist/collection/components/grid/grid.css +1 -1
  49. package/dist/collection/components/input-field/input-field.css +13 -0
  50. package/dist/collection/components/list/list-renderer.js +17 -0
  51. package/dist/collection/components/list/list.css +327 -3
  52. package/dist/collection/components/list/list.js +1 -0
  53. package/dist/collection/components/menu-list/menu-list.css +1312 -60
  54. package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +7 -5
  55. package/dist/collection/components/progress-flow/progress-flow.css +0 -4
  56. package/dist/collection/components/slider/slider.js +96 -13
  57. package/dist/esm/{_arrayIncludesWith-3f5ce249.js → _arrayIncludesWith-b5d3fd9e.js} +5 -4
  58. package/dist/esm/{_assignValue-94fb6adc.js → _assignValue-08fe10bc.js} +2 -2
  59. package/dist/esm/{_defineProperty-cbf98a2a.js → _defineProperty-8c869077.js} +2 -1
  60. package/dist/esm/eq-c1c7f528.js +72 -0
  61. package/dist/esm/{isArrayLike-14db8f02.js → isArrayLike-dd37ba9a.js} +2 -30
  62. package/dist/esm/{isEqual-4d982635.js → isEqual-4f22635f.js} +5 -3
  63. package/dist/esm/{eq-f40dd1d6.js → isObject-c74e273c.js} +1 -70
  64. package/dist/esm/isObjectLike-38996507.js +29 -0
  65. package/dist/esm/{isSymbol-84252d8e.js → isSymbol-5bf20921.js} +2 -2
  66. package/dist/esm/lime-elements.js +1 -1
  67. package/dist/esm/limel-chip-set.entry.js +50 -28
  68. package/dist/esm/limel-code-editor.entry.js +1 -1
  69. package/dist/esm/limel-color-picker-palette_2.entry.js +183 -0
  70. package/dist/esm/limel-color-picker.entry.js +47 -0
  71. package/dist/esm/limel-file.entry.js +1 -1
  72. package/dist/esm/{limel-flatpickr-adapter_2.entry.js → limel-flatpickr-adapter.entry.js} +8 -800
  73. package/dist/esm/limel-form.entry.js +60 -22
  74. package/dist/esm/limel-grid.entry.js +1 -1
  75. package/dist/esm/limel-input-field.entry.js +709 -0
  76. package/dist/esm/limel-list_3.entry.js +2425 -0
  77. package/dist/esm/limel-menu-list.entry.js +1 -1
  78. package/dist/esm/limel-menu.entry.js +5 -4
  79. package/dist/esm/limel-progress-flow-item.entry.js +1 -1
  80. package/dist/esm/limel-progress-flow.entry.js +1 -1
  81. package/dist/esm/limel-slider.entry.js +96 -13
  82. package/dist/esm/limel-tab-bar.entry.js +7 -5
  83. package/dist/esm/limel-table.entry.js +9 -7
  84. package/dist/esm/{limel-tooltip.entry.js → limel-tooltip_2.entry.js} +16 -1
  85. package/dist/esm/loader.js +1 -1
  86. package/dist/esm/{pickBy-c485c1b5.js → pickBy-8a849e46.js} +5 -5
  87. package/dist/esm/toNumber-a6ed64f0.js +97 -0
  88. package/dist/esm/{zipObject-53fcafb3.js → zipObject-22e88ce9.js} +1 -1
  89. package/dist/lime-elements/lime-elements.esm.js +1 -1
  90. package/dist/lime-elements/{p-c07139f1.entry.js → p-03aa01b5.entry.js} +2 -2
  91. package/dist/lime-elements/p-090bc949.js +1 -0
  92. package/dist/lime-elements/{p-c6b97214.entry.js → p-0ce9165f.entry.js} +1 -1
  93. package/dist/lime-elements/p-13f0e4f4.entry.js +1 -0
  94. package/dist/lime-elements/p-1876a96a.entry.js +1 -0
  95. package/dist/lime-elements/{p-425a0596.js → p-1a64b531.js} +1 -1
  96. package/dist/lime-elements/p-365098fe.js +1 -0
  97. package/dist/lime-elements/p-379955f4.js +1 -0
  98. package/dist/lime-elements/{p-11d5a71a.entry.js → p-411ae86d.entry.js} +1 -1
  99. package/dist/lime-elements/p-426d11b4.js +1 -0
  100. package/dist/lime-elements/p-440084ea.js +1 -0
  101. package/dist/lime-elements/p-468e940e.entry.js +16 -0
  102. package/dist/lime-elements/p-4bc5d3fc.entry.js +1 -0
  103. package/dist/lime-elements/p-511d71e0.entry.js +1 -0
  104. package/dist/lime-elements/p-58cbe99d.entry.js +1 -0
  105. package/dist/lime-elements/p-6003f817.entry.js +1 -0
  106. package/dist/lime-elements/p-622be09b.entry.js +126 -0
  107. package/dist/lime-elements/p-7f43b0c4.js +1 -0
  108. package/dist/lime-elements/p-858c6b82.js +1 -0
  109. package/dist/lime-elements/{p-a1153d2a.entry.js → p-8ad5e143.entry.js} +1 -1
  110. package/dist/lime-elements/{p-b386bfeb.entry.js → p-a2cf74c1.entry.js} +1 -1
  111. package/dist/lime-elements/{p-d070f0e7.entry.js → p-a4c532a7.entry.js} +1 -1
  112. package/dist/lime-elements/p-a77cbb08.entry.js +1 -0
  113. package/dist/lime-elements/p-c93050d6.js +1 -0
  114. package/dist/lime-elements/p-d529bb7d.js +1 -0
  115. package/dist/lime-elements/p-ec727143.entry.js +82 -0
  116. package/dist/lime-elements/p-eda23c05.js +1 -0
  117. package/dist/lime-elements/{p-ff0217b3.entry.js → p-f2c706b8.entry.js} +1 -1
  118. package/dist/lime-elements/p-f83213b8.js +1 -0
  119. package/dist/lime-elements/{p-03c28bee.entry.js → p-fbe6100e.entry.js} +1 -1
  120. package/dist/types/components/chip-set/chip-set.d.ts +12 -0
  121. package/dist/types/components/color-picker/color-picker-palette.d.ts +32 -0
  122. package/dist/types/components/color-picker/color-picker.d.ts +54 -0
  123. package/dist/types/components/color-picker/swatches.d.ts +4 -0
  124. package/dist/types/components/form/form.d.ts +11 -1
  125. package/dist/types/components/list/list-item.types.d.ts +14 -0
  126. package/dist/types/components/list/list-renderer.d.ts +2 -0
  127. package/dist/types/components/list/list.d.ts +1 -0
  128. package/dist/types/components/slider/slider.d.ts +8 -0
  129. package/dist/types/components.d.ts +139 -1
  130. package/package.json +1 -1
  131. package/dist/cjs/limel-list_2.cjs.entry.js +0 -485
  132. package/dist/cjs/limel-popover.cjs.entry.js +0 -116
  133. package/dist/cjs/limel-portal.cjs.entry.js +0 -1935
  134. package/dist/cjs/limel-tooltip-content.cjs.entry.js +0 -22
  135. package/dist/esm/limel-list_2.entry.js +0 -480
  136. package/dist/esm/limel-popover.entry.js +0 -112
  137. package/dist/esm/limel-portal.entry.js +0 -1931
  138. package/dist/esm/limel-tooltip-content.entry.js +0 -18
  139. package/dist/lime-elements/p-227d2c5a.entry.js +0 -1
  140. package/dist/lime-elements/p-3ce2d46a.js +0 -1
  141. package/dist/lime-elements/p-77afe6dd.entry.js +0 -1
  142. package/dist/lime-elements/p-7c4d91f5.js +0 -1
  143. package/dist/lime-elements/p-845e645a.entry.js +0 -1
  144. package/dist/lime-elements/p-8bbe3720.js +0 -1
  145. package/dist/lime-elements/p-8e4ff107.js +0 -1
  146. package/dist/lime-elements/p-acfbf7ac.js +0 -1
  147. package/dist/lime-elements/p-b5d6abc3.entry.js +0 -126
  148. package/dist/lime-elements/p-bbc1bb01.entry.js +0 -1
  149. package/dist/lime-elements/p-c0765c9b.js +0 -1
  150. package/dist/lime-elements/p-df55ee67.entry.js +0 -82
  151. package/dist/lime-elements/p-e28a4246.entry.js +0 -1
  152. package/dist/lime-elements/p-e5738ec6.entry.js +0 -1
  153. package/dist/lime-elements/p-ee7355e7.js +0 -1
  154. package/dist/lime-elements/p-f4495f59.entry.js +0 -1
  155. package/dist/lime-elements/p-fbe32287.entry.js +0 -16
  156. package/dist/lime-elements/p-fc610f15.js +0 -1
@@ -0,0 +1 @@
1
+ import{r,c as o,h as l,g as a}from"./p-92146da6.js";import{c}from"./p-6c094f3f.js";import{b as e}from"./p-216ffe20.js";import{z as t}from"./p-440084ea.js";import"./p-090bc949.js";import"./p-379955f4.js";import"./p-eda23c05.js";import"./p-c93050d6.js";const g=["red","pink","magenta","purple","violet","indigo","blue","sky","cyan","teal","green","lime","grass","yellow","amber","orange","coral","brown","gray","glaucous"],n=["lighter","light","default","dark","darker"];function d(r,o){return`--color-${r}-${o}`}function i(r,o){return`rgb(var(${d(r,o)}))`}let s=class{constructor(a){r(this,a),this.change=o(this,"change",7),this.renderSwatches=()=>g.map((r=>n.map(this.renderSwatch(r)))),this.renderSwatch=r=>o=>{const a={swatch:!0,[d(r,o)]:!0,"swatch--selected":this.value===i(r,o)};return l("div",{class:a,onClick:this.handleClick(r,o),tabindex:"0"})},this.handleChange=r=>{r.stopPropagation(),this.change.emit(r.detail)},this.handleClick=(r,o)=>l=>{const a=i(r,o);l.stopPropagation(),this.change.emit(a)}}render(){const r=this.value?{"--background":this.value}:{};return[l("div",{class:"color-picker-palette"},this.renderSwatches()),l("div",{class:"chosen-color-name"},l("limel-input-field",{label:this.label,helperText:this.helperText,value:this.value,onChange:this.handleChange,required:this.required}),l("div",{class:"chosen-color-preview",style:r}))]}};function b(r,o){var l;if(r.contains(o)||(null===(l=r.shadowRoot)||void 0===l?void 0:l.contains(o)))return!0;const a=function(r){const o=r.closest(".limel-portal--container");return o?o.portalSource:r.getRootNode().host}(o);return!!a&&b(r,a)}s.style='.color-palette{display:grid;gap:0.25rem;grid-auto-flow:column;margin:0.75rem auto 1.25rem auto;padding:1.25rem 0.75rem;background-color:rgb(var(--kompendium-contrast-300));border-radius:0.1875rem}.brightness-label,.swatch{display:flex;align-items:center;position:relative}.swatch{transition:border-radius 0.2s ease;border-radius:3px;justify-content:center;color:rgba(var(--kompendium-color-white), 0.4);font-size:1.25rem;line-height:99%}.swatch:after{content:"";display:block;padding-top:100%}.swatch.hue{font-family:"Source Code Pro", monospace;font-size:0.75rem;position:relative;color:rgb(var(--kompendium-contrast-900));padding-top:0.5rem;writing-mode:vertical-lr;justify-content:left}.brightness-label{font-family:"Source Code Pro", monospace;font-size:0.75rem;color:rgb(var(--kompendium-contrast-900));justify-content:start}.brand-colors-tips{transition:opacity 0.2s ease 0.4s;opacity:0;font-size:0.875rem;padding-left:2.75rem;margin-bottom:2.5rem}.brand-colors .brand-colors-tips{opacity:1}@media (prefers-color-scheme: light){.brand-colors .--color-glaucous-default,.brand-colors .--color-gray-dark{border-radius:50%}}@media (prefers-color-scheme: dark){.brand-colors .--color-red-light,.brand-colors .--color-magenta-default,.brand-colors .--color-sky-light,.brand-colors .--color-teal-light,.brand-colors .--color-green-light,.brand-colors .--color-amber-light,.brand-colors .--color-amber-default,.brand-colors .--color-coral-light,.brand-colors .--color-gray-light{border-radius:50%}}.--color-red-lighter{background-color:rgb(var(--color-red-lighter))}.--color-red-light{background-color:rgb(var(--color-red-light))}.--color-red-default{background-color:rgb(var(--color-red-default))}.--color-red-dark{background-color:rgb(var(--color-red-dark))}.--color-red-darker{background-color:rgb(var(--color-red-darker))}.--color-pink-lighter{background-color:rgb(var(--color-pink-lighter))}.--color-pink-light{background-color:rgb(var(--color-pink-light))}.--color-pink-default{background-color:rgb(var(--color-pink-default))}.--color-pink-dark{background-color:rgb(var(--color-pink-dark))}.--color-pink-darker{background-color:rgb(var(--color-pink-darker))}.--color-magenta-lighter{background-color:rgb(var(--color-magenta-lighter))}.--color-magenta-light{background-color:rgb(var(--color-magenta-light))}.--color-magenta-default{background-color:rgb(var(--color-magenta-default))}.--color-magenta-dark{background-color:rgb(var(--color-magenta-dark))}.--color-magenta-darker{background-color:rgb(var(--color-magenta-darker))}.--color-purple-lighter{background-color:rgb(var(--color-purple-lighter))}.--color-purple-light{background-color:rgb(var(--color-purple-light))}.--color-purple-default{background-color:rgb(var(--color-purple-default))}.--color-purple-dark{background-color:rgb(var(--color-purple-dark))}.--color-purple-darker{background-color:rgb(var(--color-purple-darker))}.--color-violet-lighter{background-color:rgb(var(--color-violet-lighter))}.--color-violet-light{background-color:rgb(var(--color-violet-light))}.--color-violet-default{background-color:rgb(var(--color-violet-default))}.--color-violet-dark{background-color:rgb(var(--color-violet-dark))}.--color-violet-darker{background-color:rgb(var(--color-violet-darker))}.--color-indigo-lighter{background-color:rgb(var(--color-indigo-lighter))}.--color-indigo-light{background-color:rgb(var(--color-indigo-light))}.--color-indigo-default{background-color:rgb(var(--color-indigo-default))}.--color-indigo-dark{background-color:rgb(var(--color-indigo-dark))}.--color-indigo-darker{background-color:rgb(var(--color-indigo-darker))}.--color-blue-lighter{background-color:rgb(var(--color-blue-lighter))}.--color-blue-light{background-color:rgb(var(--color-blue-light))}.--color-blue-default{background-color:rgb(var(--color-blue-default))}.--color-blue-dark{background-color:rgb(var(--color-blue-dark))}.--color-blue-darker{background-color:rgb(var(--color-blue-darker))}.--color-sky-lighter{background-color:rgb(var(--color-sky-lighter))}.--color-sky-light{background-color:rgb(var(--color-sky-light))}.--color-sky-default{background-color:rgb(var(--color-sky-default))}.--color-sky-dark{background-color:rgb(var(--color-sky-dark))}.--color-sky-darker{background-color:rgb(var(--color-sky-darker))}.--color-cyan-lighter{background-color:rgb(var(--color-cyan-lighter))}.--color-cyan-light{background-color:rgb(var(--color-cyan-light))}.--color-cyan-default{background-color:rgb(var(--color-cyan-default))}.--color-cyan-dark{background-color:rgb(var(--color-cyan-dark))}.--color-cyan-darker{background-color:rgb(var(--color-cyan-darker))}.--color-teal-lighter{background-color:rgb(var(--color-teal-lighter))}.--color-teal-light{background-color:rgb(var(--color-teal-light))}.--color-teal-default{background-color:rgb(var(--color-teal-default))}.--color-teal-dark{background-color:rgb(var(--color-teal-dark))}.--color-teal-darker{background-color:rgb(var(--color-teal-darker))}.--color-green-lighter{background-color:rgb(var(--color-green-lighter))}.--color-green-light{background-color:rgb(var(--color-green-light))}.--color-green-default{background-color:rgb(var(--color-green-default))}.--color-green-dark{background-color:rgb(var(--color-green-dark))}.--color-green-darker{background-color:rgb(var(--color-green-darker))}.--color-lime-lighter{background-color:rgb(var(--color-lime-lighter))}.--color-lime-light{background-color:rgb(var(--color-lime-light))}.--color-lime-default{background-color:rgb(var(--color-lime-default))}.--color-lime-dark{background-color:rgb(var(--color-lime-dark))}.--color-lime-darker{background-color:rgb(var(--color-lime-darker))}.--color-grass-lighter{background-color:rgb(var(--color-grass-lighter))}.--color-grass-light{background-color:rgb(var(--color-grass-light))}.--color-grass-default{background-color:rgb(var(--color-grass-default))}.--color-grass-dark{background-color:rgb(var(--color-grass-dark))}.--color-grass-darker{background-color:rgb(var(--color-grass-darker))}.--color-yellow-lighter{background-color:rgb(var(--color-yellow-lighter))}.--color-yellow-light{background-color:rgb(var(--color-yellow-light))}.--color-yellow-default{background-color:rgb(var(--color-yellow-default))}.--color-yellow-dark{background-color:rgb(var(--color-yellow-dark))}.--color-yellow-darker{background-color:rgb(var(--color-yellow-darker))}.--color-amber-lighter{background-color:rgb(var(--color-amber-lighter))}.--color-amber-light{background-color:rgb(var(--color-amber-light))}.--color-amber-default{background-color:rgb(var(--color-amber-default))}.--color-amber-dark{background-color:rgb(var(--color-amber-dark))}.--color-amber-darker{background-color:rgb(var(--color-amber-darker))}.--color-orange-lighter{background-color:rgb(var(--color-orange-lighter))}.--color-orange-light{background-color:rgb(var(--color-orange-light))}.--color-orange-default{background-color:rgb(var(--color-orange-default))}.--color-orange-dark{background-color:rgb(var(--color-orange-dark))}.--color-orange-darker{background-color:rgb(var(--color-orange-darker))}.--color-coral-lighter{background-color:rgb(var(--color-coral-lighter))}.--color-coral-light{background-color:rgb(var(--color-coral-light))}.--color-coral-default{background-color:rgb(var(--color-coral-default))}.--color-coral-dark{background-color:rgb(var(--color-coral-dark))}.--color-coral-darker{background-color:rgb(var(--color-coral-darker))}.--color-brown-lighter{background-color:rgb(var(--color-brown-lighter))}.--color-brown-light{background-color:rgb(var(--color-brown-light))}.--color-brown-default{background-color:rgb(var(--color-brown-default))}.--color-brown-dark{background-color:rgb(var(--color-brown-dark))}.--color-brown-darker{background-color:rgb(var(--color-brown-darker))}.--color-gray-lighter{background-color:rgb(var(--color-gray-lighter))}.--color-gray-light{background-color:rgb(var(--color-gray-light))}.--color-gray-default{background-color:rgb(var(--color-gray-default))}.--color-gray-dark{background-color:rgb(var(--color-gray-dark))}.--color-gray-darker{background-color:rgb(var(--color-gray-darker))}.--color-glaucous-lighter{background-color:rgb(var(--color-glaucous-lighter))}.--color-glaucous-light{background-color:rgb(var(--color-glaucous-light))}.--color-glaucous-default{background-color:rgb(var(--color-glaucous-default))}.--color-glaucous-dark{background-color:rgb(var(--color-glaucous-dark))}.--color-glaucous-darker{background-color:rgb(var(--color-glaucous-darker))}.--contrast-100{color:rgb(var(--contrast-900));background-color:rgb(var(--contrast-100))}.--contrast-200{color:rgb(var(--contrast-1000));background-color:rgb(var(--contrast-200))}.--contrast-300{color:rgb(var(--contrast-1100));background-color:rgb(var(--contrast-300))}.--contrast-400{color:rgb(var(--contrast-1200));background-color:rgb(var(--contrast-400))}.--contrast-500{color:rgb(var(--contrast-1300));background-color:rgb(var(--contrast-500))}.--contrast-600{color:rgb(var(--contrast-1400));background-color:rgb(var(--contrast-600))}.--contrast-700{color:rgb(var(--contrast-1500));background-color:rgb(var(--contrast-700))}.--contrast-800{color:rgb(var(--contrast-1600));background-color:rgb(var(--contrast-800))}.--contrast-900{color:rgb(var(--contrast-1700));background-color:rgb(var(--contrast-900))}.--contrast-1000{color:rgb(var(--contrast-100));background-color:rgb(var(--contrast-1000))}.--contrast-1100{color:rgb(var(--contrast-200));background-color:rgb(var(--contrast-1100))}.--contrast-1200{color:rgb(var(--contrast-300));background-color:rgb(var(--contrast-1200))}.--contrast-1300{color:rgb(var(--contrast-400));background-color:rgb(var(--contrast-1300))}.--contrast-1400{color:rgb(var(--contrast-500));background-color:rgb(var(--contrast-1400))}.--contrast-1500{color:rgb(var(--contrast-600));background-color:rgb(var(--contrast-1500))}.--contrast-1600{color:rgb(var(--contrast-700));background-color:rgb(var(--contrast-1600))}.--contrast-1700{color:rgb(var(--contrast-800));background-color:rgb(var(--contrast-1700))}.--color-white{color:rgb(var(--color-black));background-color:rgb(var(--color-white))}.--color-black{color:rgb(var(--color-white));background-color:rgb(var(--color-black))}:host{--lime-brand-color-deep-red:240, 87, 80;--lime-brand-color-sellable-orange:255, 112, 67;--lime-brand-color-orange:255, 176, 59;--lime-brand-color-yellow:255, 207, 61;--lime-brand-color-lime-green:102, 187, 106;--lime-brand-color-flexible-turquoise:38, 166, 154;--lime-brand-color-simple-blue:41, 182, 246;--lime-brand-color-dark-blue:87, 135, 159;--lime-brand-color-loving-magenta:255, 49, 149;--lime-brand-color-light-grey:173, 173, 173;--lime-brand-color-grey:87, 87, 86;--color-white:255, 255, 255;--color-black:0, 0, 0;--contrast-100:255, 255, 255;--contrast-200:250, 250, 251;--contrast-300:246, 246, 247;--contrast-400:241, 241, 243;--contrast-500:237, 237, 238;--contrast-600:232, 232, 234;--contrast-700:209, 209, 213;--contrast-800:186, 186, 192;--contrast-900:140, 140, 150;--contrast-1000:117, 117, 128;--contrast-1100:94, 94, 108;--contrast-1200:71, 71, 86;--contrast-1300:48, 48, 66;--contrast-1400:39, 39, 57;--contrast-1500:35, 35, 53;--contrast-1600:25, 25, 44;--contrast-1700:0, 0, 0;--color-red-lighter:255, 205, 210;--color-red-light:255, 117, 107;--color-red-default:244, 67, 54;--color-red-dark:211, 47, 47;--color-red-darker:183, 28, 28;--color-pink-lighter:248, 187, 208;--color-pink-light:240, 98, 146;--color-pink-default:233, 30, 99;--color-pink-dark:194, 24, 91;--color-pink-darker:136, 14, 79;--color-purple-lighter:225, 190, 231;--color-purple-light:186, 104, 200;--color-purple-default:156, 39, 176;--color-purple-dark:123, 31, 162;--color-purple-darker:74, 20, 140;--color-magenta-lighter:249, 176, 212;--color-magenta-light:247, 89, 166;--color-magenta-default:243, 65, 151;--color-magenta-dark:199, 46, 121;--color-magenta-darker:156, 22, 87;--color-violet-lighter:209, 196, 233;--color-violet-light:149, 117, 205;--color-violet-default:103, 58, 183;--color-violet-dark:81, 45, 168;--color-violet-darker:49, 27, 146;--color-indigo-lighter:197, 202, 233;--color-indigo-light:121, 134, 203;--color-indigo-default:63, 81, 181;--color-indigo-dark:48, 63, 159;--color-indigo-darker:26, 35, 126;--color-blue-lighter:187, 222, 251;--color-blue-light:100, 181, 246;--color-blue-default:33, 150, 243;--color-blue-dark:25, 118, 210;--color-blue-darker:13, 71, 161;--color-sky-lighter:179, 229, 252;--color-sky-light:79, 195, 247;--color-sky-default:3, 169, 244;--color-sky-dark:2, 136, 209;--color-sky-darker:1, 87, 155;--color-cyan-lighter:178, 235, 242;--color-cyan-light:77, 208, 225;--color-cyan-default:0, 188, 212;--color-cyan-dark:0, 151, 167;--color-cyan-darker:0, 96, 100;--color-teal-lighter:178, 223, 219;--color-teal-light:77, 182, 172;--color-teal-default:0, 150, 136;--color-teal-dark:0, 121, 107;--color-teal-darker:0, 77, 64;--color-green-lighter:200, 230, 201;--color-green-light:129, 199, 132;--color-green-default:76, 175, 80;--color-green-dark:56, 142, 60;--color-green-darker:27, 94, 32;--color-lime-lighter:220, 237, 200;--color-lime-light:174, 213, 129;--color-lime-default:139, 195, 74;--color-lime-dark:104, 159, 56;--color-lime-darker:51, 105, 30;--color-grass-lighter:240, 244, 195;--color-grass-light:220, 231, 117;--color-grass-default:205, 220, 57;--color-grass-dark:175, 180, 43;--color-grass-darker:130, 119, 23;--color-yellow-lighter:255, 249, 196;--color-yellow-light:255, 241, 118;--color-yellow-default:255, 235, 59;--color-yellow-dark:251, 206, 44;--color-yellow-darker:232, 191, 41;--color-amber-lighter:255, 236, 179;--color-amber-light:255, 213, 79;--color-amber-default:255, 193, 7;--color-amber-dark:255, 160, 0;--color-amber-darker:255, 111, 0;--color-orange-lighter:255, 224, 178;--color-orange-light:255, 183, 77;--color-orange-default:255, 152, 0;--color-orange-dark:245, 124, 0;--color-orange-darker:230, 81, 0;--color-coral-lighter:255, 204, 188;--color-coral-light:255, 138, 101;--color-coral-default:255, 87, 34;--color-coral-dark:230, 74, 25;--color-coral-darker:191, 54, 12;--color-brown-lighter:215, 204, 200;--color-brown-light:161, 136, 127;--color-brown-default:121, 85, 72;--color-brown-dark:93, 64, 55;--color-brown-darker:62, 39, 35;--color-gray-lighter:245, 245, 245;--color-gray-light:224, 224, 224;--color-gray-default:158, 158, 158;--color-gray-dark:var(--lime-brand-color-grey);--color-gray-darker:33, 33, 33;--color-glaucous-lighter:208, 225, 232;--color-glaucous-light:135, 174, 193;--color-glaucous-default:var(--lime-brand-color-dark-blue);--color-glaucous-dark:58, 100, 119;--color-glaucous-darker:37, 71, 88;}@media (prefers-color-scheme: dark){:host{--contrast-100:0, 0, 0;--contrast-200:25, 25, 44;--contrast-300:35, 35, 53;--contrast-400:39, 39, 57;--contrast-500:48, 48, 66;--contrast-600:71, 71, 86;--contrast-700:94, 94, 108;--contrast-800:117, 117, 128;--contrast-900:140, 140, 150;--contrast-1000:186, 186, 192;--contrast-1100:209, 209, 213;--contrast-1200:232, 232, 234;--contrast-1300:237, 237, 238;--contrast-1400:241, 241, 243;--contrast-1500:246, 246, 247;--contrast-1600:250, 250, 251;--contrast-1700:255, 255, 255;--color-red-lighter:239, 154, 154;--color-red-light:var(--lime-brand-color-deep-red);--color-red-default:229, 57, 53;--color-red-dark:198, 40, 40;--color-red-darker:165, 23, 23;--color-pink-lighter:244, 143, 177;--color-pink-light:236, 64, 122;--color-pink-default:216, 27, 96;--color-pink-dark:173, 20, 87;--color-pink-darker:132, 10, 75;--color-magenta-lighter:249, 161, 204;--color-magenta-light:249, 79, 162;--color-magenta-default:var(--lime-brand-color-loving-magenta);--color-magenta-dark:208, 31, 117;--color-magenta-darker:156, 22, 87;--color-purple-lighter:206, 147, 216;--color-purple-light:171, 71, 188;--color-purple-default:142, 36, 170;--color-purple-dark:106, 27, 154;--color-purple-darker:62, 13, 121;--color-violet-lighter:179, 157, 219;--color-violet-light:126, 87, 194;--color-violet-default:94, 53, 177;--color-violet-dark:69, 39, 160;--color-violet-darker:41, 22, 127;--color-indigo-lighter:159, 168, 218;--color-indigo-light:92, 107, 192;--color-indigo-default:57, 73, 171;--color-indigo-dark:40, 53, 147;--color-indigo-darker:21, 30, 115;--color-blue-lighter:144, 202, 249;--color-blue-light:66, 165, 245;--color-blue-default:30, 136, 229;--color-blue-dark:21, 101, 192;--color-blue-darker:10, 60, 138;--color-sky-lighter:129, 212, 250;--color-sky-light:var(--lime-brand-color-simple-blue);--color-sky-default:3, 155, 229;--color-sky-dark:2, 119, 189;--color-sky-darker:1, 81, 144;--color-cyan-lighter:128, 222, 234;--color-cyan-light:38, 198, 218;--color-cyan-default:0, 172, 193;--color-cyan-dark:0, 131, 143;--color-cyan-darker:0, 89, 93;--color-teal-lighter:128, 203, 196;--color-teal-light:var(--lime-brand-color-flexible-turquoise);--color-teal-default:0, 137, 123;--color-teal-dark:0, 105, 92;--color-teal-darker:1, 82, 69;--color-green-lighter:165, 214, 167;--color-green-light:var(--lime-brand-color-lime-green);--color-green-default:67, 160, 71;--color-green-dark:46, 125, 50;--color-green-darker:32, 97, 37;--color-lime-lighter:197, 225, 165;--color-lime-light:156, 204, 101;--color-lime-default:124, 179, 66;--color-lime-dark:85, 139, 47;--color-lime-darker:43, 90, 25;--color-grass-lighter:230, 238, 156;--color-grass-light:212, 225, 87;--color-grass-default:192, 202, 51;--color-grass-dark:158, 157, 36;--color-grass-darker:119, 109, 19;--color-yellow-lighter:255, 245, 157;--color-yellow-light:255, 238, 88;--color-yellow-default:253, 216, 53;--color-yellow-dark:245, 200, 39;--color-yellow-darker:224, 180, 21;--color-amber-lighter:255, 224, 130;--color-amber-light:var(--lime-brand-color-yellow);--color-amber-default:var(--lime-brand-color-orange);--color-amber-dark:255, 143, 0;--color-amber-darker:222, 98, 2;--color-orange-lighter:255, 204, 128;--color-orange-light:255, 167, 38;--color-orange-default:251, 140, 0;--color-orange-dark:239, 108, 0;--color-orange-darker:216, 77, 1;--color-coral-lighter:255, 171, 145;--color-coral-light:var(--lime-brand-color-sellable-orange);--color-coral-default:244, 81, 30;--color-coral-dark:216, 67, 21;--color-coral-darker:181, 50, 10;--color-brown-lighter:188, 170, 164;--color-brown-light:141, 110, 99;--color-brown-default:109, 76, 65;--color-brown-dark:78, 52, 46;--color-brown-darker:51, 32, 28;--color-gray-lighter:238, 238, 238;--color-gray-light:var(--lime-brand-color-light-grey);--color-gray-default:117, 117, 117;--color-gray-dark:66, 66, 66;--color-gray-darker:33, 32, 32;--color-glaucous-lighter:159, 194, 208;--color-glaucous-light:110, 141, 156;--color-glaucous-default:68, 108, 128;--color-glaucous-dark:42, 87, 107;--color-glaucous-darker:34, 65, 80;}}.color-palette{grid-template-rows:repeat(5, 1fr) auto;grid-template-columns:repeat(20, 1fr) auto}.picker-trigger[style="--background:lime-magenta;"]:after,.chosen-color-preview[style="--background:lime-magenta;"]:after{background-color:var(--lime-magenta)}.picker-trigger[style="--background:lime-blue;"]:after,.chosen-color-preview[style="--background:lime-blue;"]:after{background-color:var(--lime-blue)}.picker-trigger[style="--background:lime-orange;"]:after,.chosen-color-preview[style="--background:lime-orange;"]:after{background-color:var(--lime-orange)}.picker-trigger[style="--background:lime-green;"]:after,.chosen-color-preview[style="--background:lime-green;"]:after{background-color:var(--lime-green)}.picker-trigger[style="--background:lime-red;"]:after,.chosen-color-preview[style="--background:lime-red;"]:after{background-color:var(--lime-red)}.picker-trigger[style="--background:lime-dark-blue;"]:after,.chosen-color-preview[style="--background:lime-dark-blue;"]:after{background-color:var(--lime-dark-blue)}.picker-trigger[style="--background:lime-turquoise;"]:after,.chosen-color-preview[style="--background:lime-turquoise;"]:after{background-color:var(--lime-turquoise)}.picker-trigger[style="--background:lime-yellow;"]:after,.chosen-color-preview[style="--background:lime-yellow;"]:after{background-color:var(--lime-yellow)}.picker-trigger[style="--background:lime-light-grey;"]:after,.chosen-color-preview[style="--background:lime-light-grey;"]:after{background-color:var(--lime-light-grey)}:host{--popover-surface-width:50rem;--color-picker-default-background:url("data:image/svg+xml;charset=utf-8, <svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 8 8\' style=\'fill-rule:evenodd;\'><path fill-opacity=\'0.1\' d=\'M0 0h4v4H0zM4 4h4v4H4z\'/></svg>")}.color-picker{display:grid;gap:0.5rem;grid-template-columns:auto 1fr}.chosen-color-preview,.picker-trigger{box-sizing:border-box;position:relative;isolation:isolate;width:3.5rem;height:3.5rem}.chosen-color-preview:before,.chosen-color-preview:after,.picker-trigger:before,.picker-trigger:after{content:"";position:absolute;inset:0;border-radius:inherit}.chosen-color-preview:before,.picker-trigger:before{background:var(--color-picker-default-background);background-size:0.5rem;z-index:0}.chosen-color-preview:after,.picker-trigger:after{background:var(--background);z-index:1}.picker-trigger{border-radius:0.5rem;cursor:pointer;transition:background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;box-shadow:var(--button-shadow-normal)}.picker-trigger:hover{box-shadow:var(--button-shadow-hovered)}.picker-trigger:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}.picker-trigger:after{box-shadow:0 0 0 0.25rem rgb(var(--contrast-100)) inset}:host([readonly]) .picker-trigger:hover,:host([readonly]) .picker-trigger:active{cursor:default;box-shadow:var(--button-shadow-normal);transform:none}.chosen-color-input[readonly]{transform:translateY(1rem)}:host{border-radius:0.75rem;background-color:rgb(var(--kompendium-contrast-300))}.color-picker-palette{display:grid;gap:0.25rem;grid-auto-flow:column;grid-template-columns:repeat(20, 1fr);grid-template-rows:repeat(4, 1fr) auto;margin:1rem}.chosen-color-name{box-sizing:border-box;padding:1rem;display:grid;grid-template-columns:1fr auto;gap:0.5rem}.chosen-color-preview{border:1px solid rgba(var(--contrast-700), 0.65);border-radius:50%}.swatch:not(.hue){transition:background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer}.swatch:not(.hue):hover{box-shadow:var(--button-shadow-hovered)}.swatch:not(.hue):active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}.swatch:not(.hue):focus-visible{box-shadow:var(--shadow-depth-8-focused), 0 0 0 0.25rem rgb(var(--contrast-100)) inset}.swatch--selected{border-radius:50%}';let u=class{constructor(l){r(this,l),this.close=o(this,"close",7),this.open=!1,this.handleGlobalKeyPress=r=>{r.key===e&&(r.stopPropagation(),r.preventDefault(),this.close.emit())},this.portalId=c(),this.globalClickListener=this.globalClickListener.bind(this)}watchOpen(){this.setupGlobalHandlers()}componentWillLoad(){this.setupGlobalHandlers()}setupGlobalHandlers(){this.open?(document.addEventListener("click",this.globalClickListener,{capture:!0}),document.addEventListener("keyup",this.handleGlobalKeyPress)):(document.removeEventListener("click",this.globalClickListener),document.removeEventListener("keyup",this.handleGlobalKeyPress))}render(){const r=this.getCssProperties(),o=getComputedStyle(this.host).getPropertyValue("--popover-z-index");return l("div",{class:"trigger-anchor"},l("slot",{name:"trigger"}),l("limel-portal",{visible:this.open,containerId:this.portalId,containerStyle:{"z-index":o}},l("limel-popover-surface",{contentCollection:this.host.children,style:r})))}globalClickListener(r){const o=b(this.host,r.target);this.open&&!o&&(r.stopPropagation(),r.preventDefault(),this.close.emit())}getCssProperties(){const r=["--popover-surface-width","--popover-body-background-color","--popover-border-radius"],o=getComputedStyle(this.host),l=r.map((r=>o.getPropertyValue(r)));return t(r,l)}get host(){return a(this)}static get watchers(){return{open:["watchOpen"]}}};u.style=".trigger-anchor{display:inline-block;position:relative}";export{s as limel_color_picker_palette,u as limel_popover}
@@ -1 +1 @@
1
- import{a as r,d as n,l as t,M as u,o,n as i,p as e,q as f,r as a,t as c,u as s,k as v,c as l,v as p}from"./p-8e4ff107.js";import{S as b,i as d}from"./p-fc610f15.js";import{i as j}from"./p-0b1af919.js";import{i as m}from"./p-ee7355e7.js";import{a as y,b as h,c as O}from"./p-3ce2d46a.js";import{a as w}from"./p-acfbf7ac.js";var g=b?b.prototype:void 0,E=g?g.toString:void 0;function _(n){if("string"==typeof n)return n;if(j(n))return r(n,_)+"";if(m(n))return E?E.call(n):"";var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}var x=Object.prototype.hasOwnProperty;function $(r){return y(r)?t(r,!0):function(r){if(!d(r))return function(r){var n=[];if(null!=r)for(var t in Object(r))n.push(t);return n}(r);var t=n(r),u=[];for(var o in r)("constructor"!=o||!t&&x.call(r,o))&&u.push(o);return u}(r)}var k=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/;function q(r,n){if(j(r))return!1;var t=typeof r;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=r&&!m(r))||T.test(r)||!k.test(r)||null!=n&&r in Object(n)}function M(r,n){if("function"!=typeof r||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var t=function(){var u=arguments,o=n?n.apply(this,u):u[0],i=t.cache;if(i.has(o))return i.get(o);var e=r.apply(this,u);return t.cache=i.set(o,e)||i,e};return t.cache=new(M.Cache||u),t}M.Cache=u;var S,z,A,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,C=/\\(\\)?/g,D=(S=function(r){var n=[];return 46===r.charCodeAt(0)&&n.push(""),r.replace(B,(function(r,t,u,o){n.push(u?o.replace(C,"$1"):t||r)})),n},z=M(S,(function(r){return 500===A.size&&A.clear(),r})),A=z.cache,z);function F(r){return null==r?"":_(r)}function G(r,n){return j(r)?r:q(r,n)?[r]:D(F(r))}function H(r){if("string"==typeof r||m(r))return r;var n=r+"";return"0"==n&&1/r==-1/0?"-0":n}function I(r,n){for(var t=0,u=(n=G(n,r)).length;null!=r&&t<u;)r=r[H(n[t++])];return t&&t==u?r:void 0}function J(r,n,t){var u=null==r?void 0:I(r,n);return void 0===u?t:u}var K=o(Object.getPrototypeOf,Object),L=Object.getOwnPropertySymbols?function(r){for(var n=[];r;)e(n,f(r)),r=K(r);return n}:i;function N(r){return r==r&&!d(r)}function P(r,n){return function(t){return null!=t&&t[r]===n&&(void 0!==n||r in Object(t))}}function Q(r,n){return null!=r&&n in Object(r)}function R(r,n,t){for(var u=-1,o=(n=G(n,r)).length,i=!1;++u<o;){var e=H(n[u]);if(!(i=null!=r&&t(r,e)))break;r=r[e]}return i||++u!=o?i:!!(o=null==r?0:r.length)&&h(o)&&O(e,o)&&(j(r)||l(r))}function U(r){return"function"==typeof r?r:null==r?p:"object"==typeof r?j(r)?(o=r[1],q(u=r[0])&&N(o)?P(H(u),o):function(r){var n=J(r,u);return void 0===n&&n===o?function(r,n){return null!=r&&R(r,n,Q)}(r,u):s(o,n,3)}):1==(t=function(r){for(var n=v(r),t=n.length;t--;){var u=n[t],o=r[u];n[t]=[u,o,N(o)]}return n}(n=r)).length&&t[0][2]?P(t[0][0],t[0][1]):function(r){return r===n||function(r,n,t,u){var o=t.length,i=o;if(null==r)return!i;for(r=Object(r);o--;){var e=t[o];if(e[2]?e[1]!==r[e[0]]:!(e[0]in r))return!1}for(;++o<i;){var f=(e=t[o])[0],a=r[f],v=e[1];if(e[2]){if(void 0===a&&!(f in r))return!1}else{var l,p=new c;if(!(void 0===l?s(v,a,3,u,p):l))return!1}}return!0}(r,0,t)}:function(r){return q(r)?(n=H(r),function(r){return null==r?void 0:r[n]}):function(r){return function(n){return I(n,r)}}(r);var n}(r);var n,t,u,o}var V=Object.prototype.hasOwnProperty;function W(r,n){return null!=r&&V.call(r,n)}function X(r,n){return null!=r&&R(r,n,W)}function Y(r){if("function"!=typeof r)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!r.call(this);case 1:return!r.call(this,n[0]);case 2:return!r.call(this,n[0],n[1]);case 3:return!r.call(this,n[0],n[1],n[2])}return!r.apply(this,n)}}function Z(r,n,t,u){if(!d(r))return r;for(var o=-1,i=(n=G(n,r)).length,e=i-1,f=r;null!=f&&++o<i;){var a=H(n[o]),c=t;if("__proto__"===a||"constructor"===a||"prototype"===a)return r;if(o!=e){var s=f[a];void 0===(c=u?u(s,a,f):void 0)&&(c=d(s)?s:O(n[o+1])?[]:{})}w(f,a,c),f=f[a]}return r}function rr(n,t){if(null==n)return{};var u=r(function(r){return a(r,$,L)}(n),(function(r){return[r]}));return t=U(t),function(r,n,t){for(var u=-1,o=n.length,i={};++u<o;){var e=n[u],f=I(r,e);t(f,e)&&Z(i,G(e,r),f)}return i}(n,u,(function(r,n){return t(r,n[0])}))}export{J as a,U as b,K as g,X as h,Y as n,rr as p,F as t}
1
+ import{a as r,d as n,l as t,M as u,o,n as i,p as e,q as f,r as a,t as c,u as s,k as v,c as l,v as p}from"./p-426d11b4.js";import{S as b,i as d}from"./p-c93050d6.js";import{i as j}from"./p-0b1af919.js";import{i as m}from"./p-d529bb7d.js";import{i as y,a as h,b as O}from"./p-7f43b0c4.js";import{a as w}from"./p-090bc949.js";var g=b?b.prototype:void 0,E=g?g.toString:void 0;function _(n){if("string"==typeof n)return n;if(j(n))return r(n,_)+"";if(m(n))return E?E.call(n):"";var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}var x=Object.prototype.hasOwnProperty;function $(r){return y(r)?t(r,!0):function(r){if(!d(r))return function(r){var n=[];if(null!=r)for(var t in Object(r))n.push(t);return n}(r);var t=n(r),u=[];for(var o in r)("constructor"!=o||!t&&x.call(r,o))&&u.push(o);return u}(r)}var k=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/;function q(r,n){if(j(r))return!1;var t=typeof r;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=r&&!m(r))||T.test(r)||!k.test(r)||null!=n&&r in Object(n)}function M(r,n){if("function"!=typeof r||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var t=function(){var u=arguments,o=n?n.apply(this,u):u[0],i=t.cache;if(i.has(o))return i.get(o);var e=r.apply(this,u);return t.cache=i.set(o,e)||i,e};return t.cache=new(M.Cache||u),t}M.Cache=u;var S,z,A,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,C=/\\(\\)?/g,D=(S=function(r){var n=[];return 46===r.charCodeAt(0)&&n.push(""),r.replace(B,(function(r,t,u,o){n.push(u?o.replace(C,"$1"):t||r)})),n},z=M(S,(function(r){return 500===A.size&&A.clear(),r})),A=z.cache,z);function F(r){return null==r?"":_(r)}function G(r,n){return j(r)?r:q(r,n)?[r]:D(F(r))}function H(r){if("string"==typeof r||m(r))return r;var n=r+"";return"0"==n&&1/r==-1/0?"-0":n}function I(r,n){for(var t=0,u=(n=G(n,r)).length;null!=r&&t<u;)r=r[H(n[t++])];return t&&t==u?r:void 0}function J(r,n,t){var u=null==r?void 0:I(r,n);return void 0===u?t:u}var K=o(Object.getPrototypeOf,Object),L=Object.getOwnPropertySymbols?function(r){for(var n=[];r;)e(n,f(r)),r=K(r);return n}:i;function N(r){return r==r&&!d(r)}function P(r,n){return function(t){return null!=t&&t[r]===n&&(void 0!==n||r in Object(t))}}function Q(r,n){return null!=r&&n in Object(r)}function R(r,n,t){for(var u=-1,o=(n=G(n,r)).length,i=!1;++u<o;){var e=H(n[u]);if(!(i=null!=r&&t(r,e)))break;r=r[e]}return i||++u!=o?i:!!(o=null==r?0:r.length)&&h(o)&&O(e,o)&&(j(r)||l(r))}function U(r){return"function"==typeof r?r:null==r?p:"object"==typeof r?j(r)?(o=r[1],q(u=r[0])&&N(o)?P(H(u),o):function(r){var n=J(r,u);return void 0===n&&n===o?function(r,n){return null!=r&&R(r,n,Q)}(r,u):s(o,n,3)}):1==(t=function(r){for(var n=v(r),t=n.length;t--;){var u=n[t],o=r[u];n[t]=[u,o,N(o)]}return n}(n=r)).length&&t[0][2]?P(t[0][0],t[0][1]):function(r){return r===n||function(r,n,t,u){var o=t.length,i=o;if(null==r)return!i;for(r=Object(r);o--;){var e=t[o];if(e[2]?e[1]!==r[e[0]]:!(e[0]in r))return!1}for(;++o<i;){var f=(e=t[o])[0],a=r[f],v=e[1];if(e[2]){if(void 0===a&&!(f in r))return!1}else{var l,p=new c;if(!(void 0===l?s(v,a,3,u,p):l))return!1}}return!0}(r,0,t)}:function(r){return q(r)?(n=H(r),function(r){return null==r?void 0:r[n]}):function(r){return function(n){return I(n,r)}}(r);var n}(r);var n,t,u,o}var V=Object.prototype.hasOwnProperty;function W(r,n){return null!=r&&V.call(r,n)}function X(r,n){return null!=r&&R(r,n,W)}function Y(r){if("function"!=typeof r)throw new TypeError("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!r.call(this);case 1:return!r.call(this,n[0]);case 2:return!r.call(this,n[0],n[1]);case 3:return!r.call(this,n[0],n[1],n[2])}return!r.apply(this,n)}}function Z(r,n,t,u){if(!d(r))return r;for(var o=-1,i=(n=G(n,r)).length,e=i-1,f=r;null!=f&&++o<i;){var a=H(n[o]),c=t;if("__proto__"===a||"constructor"===a||"prototype"===a)return r;if(o!=e){var s=f[a];void 0===(c=u?u(s,a,f):void 0)&&(c=d(s)?s:O(n[o+1])?[]:{})}w(f,a,c),f=f[a]}return r}function rr(n,t){if(null==n)return{};var u=r(function(r){return a(r,$,L)}(n),(function(r){return[r]}));return t=U(t),function(r,n,t){for(var u=-1,o=n.length,i={};++u<o;){var e=n[u],f=I(r,e);t(f,e)&&Z(i,G(e,r),f)}return i}(n,u,(function(r,n){return t(r,n[0])}))}export{J as a,U as b,K as g,X as h,Y as n,rr as p,F as t}
@@ -0,0 +1 @@
1
+ import{i as r}from"./p-c93050d6.js";import{i as t}from"./p-d529bb7d.js";var i=/\s/,f=/^\s+/;var n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,e=parseInt;function p(p){if("number"==typeof p)return p;if(t(p))return NaN;if(r(p)){var s="function"==typeof p.valueOf?p.valueOf():p;p=r(s)?s+"":s}if("string"!=typeof p)return 0===p?p:+p;var u;p=(u=p)?u.slice(0,function(r){for(var t=r.length;t--&&i.test(r.charAt(t)););return t}(u)+1).replace(f,""):u;var v=a.test(p);return v||o.test(p)?e(p.slice(2),v?2:8):n.test(p)?NaN:+p}export{p as t}
@@ -0,0 +1 @@
1
+ import{i as r}from"./p-eda23c05.js";import{r as t,i as n}from"./p-c93050d6.js";var o,c=t["__core-js_shared__"],u=(o=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",a=Function.prototype.toString;function e(r){if(null!=r){try{return a.call(r)}catch(r){}try{return r+""}catch(r){}}return""}var i=/^\[object .+?Constructor\]$/,f=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function s(t,o){var c=function(r,t){return null==r?void 0:r[t]}(t,o);return function(t){return!(!n(t)||(o=t,u&&u in o))&&(r(t)?f:i).test(e(t));var o}(c)?c:void 0}var p=function(){try{var r=s(Object,"defineProperty");return r({},"",{}),r}catch(r){}}();export{p as d,s as g,e as t}