@rededor/cura 1.0.0-alpha.0 → 1.0.0-alpha.1

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 (111) hide show
  1. package/dist/assets/assets/images/avatar/doctor-default.svg +8 -0
  2. package/dist/assets/assets/images/avatar/dora-default.svg +5 -0
  3. package/dist/assets/assets/images/avatar/patient-default.svg +12 -0
  4. package/dist/assets/assets/images/avatar/unit-default.svg +9 -0
  5. package/dist/assets/assets/images/logoCura.svg +15 -0
  6. package/dist/cjs/cura-accordion_9.cjs.entry.js +1 -1
  7. package/dist/cjs/cura-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/cura-avatar.cjs.entry.js +1 -1
  9. package/dist/cjs/cura-button-outline.cjs.entry.js +1 -1
  10. package/dist/cjs/cura-button-select.cjs.entry.js +1 -1
  11. package/dist/cjs/cura-button-transparent_2.cjs.entry.js +1 -1
  12. package/dist/cjs/cura-calendar.cjs.entry.js +1 -1
  13. package/dist/cjs/cura-card.cjs.entry.js +1 -1
  14. package/dist/cjs/cura-checkbox.cjs.entry.js +1 -1
  15. package/dist/cjs/cura-display.cjs.entry.js +1 -1
  16. package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +1 -1
  17. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +1 -1
  18. package/dist/cjs/cura-dropdown-search.cjs.entry.js +12 -4
  19. package/dist/cjs/cura-dropdown-search.cjs.entry.js.map +1 -1
  20. package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
  21. package/dist/cjs/cura-radio.cjs.entry.js +1 -1
  22. package/dist/cjs/cura-select_2.cjs.entry.js +1 -1
  23. package/dist/cjs/cura-switch.cjs.entry.js +1 -1
  24. package/dist/cjs/cura.cjs.js +3 -3
  25. package/dist/cjs/cura.cjs.js.map +1 -1
  26. package/dist/cjs/{index-5b63ff7a.js → index-98e7ba54.js} +46 -31
  27. package/dist/cjs/index-98e7ba54.js.map +1 -0
  28. package/dist/cjs/loader.cjs.js +2 -2
  29. package/dist/collection/collection-manifest.json +2 -2
  30. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.css +4 -0
  31. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +28 -2
  32. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
  33. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js +13 -1
  34. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js.map +1 -1
  35. package/dist/components/cura-dropdown-search.js +12 -3
  36. package/dist/components/cura-dropdown-search.js.map +1 -1
  37. package/dist/cura/cura.esm.js +1 -1
  38. package/dist/cura/cura.esm.js.map +1 -1
  39. package/dist/cura/{p-12d75346.entry.js → p-17a878d4.entry.js} +2 -2
  40. package/dist/cura/{p-5d8e3ee3.entry.js → p-251bd980.entry.js} +2 -2
  41. package/dist/cura/{p-cd757625.entry.js → p-260edb61.entry.js} +2 -2
  42. package/dist/cura/p-312791fb.js +3 -0
  43. package/dist/cura/p-312791fb.js.map +1 -0
  44. package/dist/cura/{p-3c2ebc3a.entry.js → p-31ae34e3.entry.js} +2 -2
  45. package/dist/cura/{p-2d70b515.entry.js → p-3b4bf71e.entry.js} +2 -2
  46. package/dist/cura/{p-22292bfa.entry.js → p-3c39a9d8.entry.js} +2 -2
  47. package/dist/cura/{p-ee7388a5.entry.js → p-5466758a.entry.js} +2 -2
  48. package/dist/cura/{p-8cecf9e5.entry.js → p-578c74a4.entry.js} +2 -2
  49. package/dist/cura/{p-2176f253.entry.js → p-61d20270.entry.js} +2 -2
  50. package/dist/cura/{p-7c41f034.entry.js → p-6373c7cd.entry.js} +2 -2
  51. package/dist/cura/{p-94b5c3b3.entry.js → p-93389727.entry.js} +2 -2
  52. package/dist/cura/{p-45a0a5e8.entry.js → p-9a4094e3.entry.js} +2 -2
  53. package/dist/cura/{p-e661bcca.entry.js → p-b0d66386.entry.js} +2 -2
  54. package/dist/cura/p-b3a50bcf.entry.js +2 -0
  55. package/dist/cura/p-b3a50bcf.entry.js.map +1 -0
  56. package/dist/cura/{p-a5456007.entry.js → p-ba2e7222.entry.js} +2 -2
  57. package/dist/cura/{p-fb9bece3.entry.js → p-c63f4695.entry.js} +2 -2
  58. package/dist/cura/{p-2a8be665.entry.js → p-ced36448.entry.js} +2 -2
  59. package/dist/esm/cura-accordion_9.entry.js +1 -1
  60. package/dist/esm/cura-alert.entry.js +1 -1
  61. package/dist/esm/cura-avatar.entry.js +1 -1
  62. package/dist/esm/cura-button-outline.entry.js +1 -1
  63. package/dist/esm/cura-button-select.entry.js +1 -1
  64. package/dist/esm/cura-button-transparent_2.entry.js +1 -1
  65. package/dist/esm/cura-calendar.entry.js +1 -1
  66. package/dist/esm/cura-card.entry.js +1 -1
  67. package/dist/esm/cura-checkbox.entry.js +1 -1
  68. package/dist/esm/cura-display.entry.js +1 -1
  69. package/dist/esm/cura-dropdown-search-option-title.entry.js +1 -1
  70. package/dist/esm/cura-dropdown-search-option.entry.js +1 -1
  71. package/dist/esm/cura-dropdown-search.entry.js +12 -4
  72. package/dist/esm/cura-dropdown-search.entry.js.map +1 -1
  73. package/dist/esm/cura-icons-view.entry.js +1 -1
  74. package/dist/esm/cura-radio.entry.js +1 -1
  75. package/dist/esm/cura-select_2.entry.js +1 -1
  76. package/dist/esm/cura-switch.entry.js +1 -1
  77. package/dist/esm/cura.js +4 -4
  78. package/dist/esm/cura.js.map +1 -1
  79. package/dist/esm/{index-b6c443d5.js → index-1ad98520.js} +46 -31
  80. package/dist/esm/index-1ad98520.js.map +1 -0
  81. package/dist/esm/loader.js +3 -3
  82. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.d.ts +8 -0
  83. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.stories.d.ts +12 -0
  84. package/dist/types/components.d.ts +8 -0
  85. package/dist/types/stencil-public-runtime.d.ts +4 -0
  86. package/package.json +4 -4
  87. package/dist/cjs/index-5b63ff7a.js.map +0 -1
  88. package/dist/cura/p-586bbe43.js +0 -3
  89. package/dist/cura/p-586bbe43.js.map +0 -1
  90. package/dist/cura/p-de870781.entry.js +0 -2
  91. package/dist/cura/p-de870781.entry.js.map +0 -1
  92. package/dist/esm/index-b6c443d5.js.map +0 -1
  93. /package/dist/assets/{icons → assets/icons}/iconset-default-list.ts +0 -0
  94. /package/dist/assets/{icons → assets/icons}/iconset-default-tmp.svg +0 -0
  95. /package/dist/assets/{icons → assets/icons}/iconset-default.svg +0 -0
  96. /package/dist/cura/{p-12d75346.entry.js.map → p-17a878d4.entry.js.map} +0 -0
  97. /package/dist/cura/{p-5d8e3ee3.entry.js.map → p-251bd980.entry.js.map} +0 -0
  98. /package/dist/cura/{p-cd757625.entry.js.map → p-260edb61.entry.js.map} +0 -0
  99. /package/dist/cura/{p-3c2ebc3a.entry.js.map → p-31ae34e3.entry.js.map} +0 -0
  100. /package/dist/cura/{p-2d70b515.entry.js.map → p-3b4bf71e.entry.js.map} +0 -0
  101. /package/dist/cura/{p-22292bfa.entry.js.map → p-3c39a9d8.entry.js.map} +0 -0
  102. /package/dist/cura/{p-ee7388a5.entry.js.map → p-5466758a.entry.js.map} +0 -0
  103. /package/dist/cura/{p-8cecf9e5.entry.js.map → p-578c74a4.entry.js.map} +0 -0
  104. /package/dist/cura/{p-2176f253.entry.js.map → p-61d20270.entry.js.map} +0 -0
  105. /package/dist/cura/{p-7c41f034.entry.js.map → p-6373c7cd.entry.js.map} +0 -0
  106. /package/dist/cura/{p-94b5c3b3.entry.js.map → p-93389727.entry.js.map} +0 -0
  107. /package/dist/cura/{p-45a0a5e8.entry.js.map → p-9a4094e3.entry.js.map} +0 -0
  108. /package/dist/cura/{p-e661bcca.entry.js.map → p-b0d66386.entry.js.map} +0 -0
  109. /package/dist/cura/{p-a5456007.entry.js.map → p-ba2e7222.entry.js.map} +0 -0
  110. /package/dist/cura/{p-fb9bece3.entry.js.map → p-c63f4695.entry.js.map} +0 -0
  111. /package/dist/cura/{p-2a8be665.entry.js.map → p-ced36448.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as e,c as r,h as a,H as s,g as t}from"./p-586bbe43.js";import{f as c}from"./p-f9b8f665.js";const i='@charset "UTF-8";:host{display:block;width:fit-content;box-sizing:border-box}.container{display:flex;align-items:center;flex-direction:row-reverse;gap:var(--gap)}.position.container{flex-direction:row}.position .label-wrapper{justify-content:end}.position .message{text-align:right}.position .label{order:1}.info{display:flex;flex-direction:column}.label-wrapper{display:flex;justify-content:start;align-items:center;gap:5px}.control{width:fit-content;cursor:pointer;position:relative}.checkbox{appearance:none;border:2px solid var(--neutral-base-neutral-medium);border-radius:4px;background:var(--neutral-black-neutral-purewhite);flex:1 0;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;box-sizing:border-box;width:var(--size);height:var(--size);flex:0 0 var(--size)}.icon{position:absolute;display:flex;opacity:0;transition:opacity 0.3s}.checkbox:focus{border-color:var(--info-base) !important}.disabled .checkbox{background:var(--neutral-black-neutral-white);border-color:var(--neutral-darker-neutral-base);cursor:not-allowed}.disabled .checkbox:hover{border-color:var(--neutral-darker-neutral-base) !important}.disabled.checked .checkbox,.disabled.indeterminate .checkbox{background:var(--neutral-black-neutral-white);border-color:var(--neutral-darker-neutral-base)}.disabled.checked .checkbox:hover,.disabled.indeterminate .checkbox:hover{border-color:var(--neutral-base-neutral-white);background:var(--primary-base-neutral-white)}.disabled .checkbox:focus{border-color:var(--neutral-darker-neutral-base) !important}.checked .checkbox,.indeterminate .checkbox{border-color:var(--color-dark);background:var(--color-base)}.checked .checkbox:hover,.indeterminate .checkbox:hover{border-color:var(--color-light) !important;background:var(--color-lighter)}.checked .icon,.indeterminate .icon{opacity:1}:not(.disabled):not(.checked):not(.indeterminate) .checkbox:hover{border-color:var(--neutral-purewhite-neutral-dark)}.success.dark .checkbox{background:var(--neutral-black)}.success .checkbox{border-color:var(--success-base);background:var(--success-lighter)}.success .checkbox:hover{border-color:var(--success-base) !important}.success.checked .checkbox{border-color:var(--success-dark-base);background:var(--success-base-lighter)}.success.checked .checkbox:hover{border-color:var(--success-dark-base)}.error.dark .checkbox{background:var(--neutral-black)}.error .checkbox{border-color:var(--error-base);background:var(--error-lighter)}.error .checkbox:hover{border-color:var(--error-base) !important}.error.checked .checkbox{border-color:var(--error-dark-base);background:var(--error-base-lighter)}.error.checked .checkbox:hover{border-color:var(--error-dark-base)}input{appearance:none;-webkit-appearance:none;-moz-appearance:none}';const o=i;const n=class{constructor(a){e(this,a);this.onchange=r(this,"onchange",7);if(a.$hostElement$["s-ei"]){this.internals=a.$hostElement$["s-ei"]}else{this.internals=a.$hostElement$.attachInternals();a.$hostElement$["s-ei"]=this.internals}this.isDarkBackground=()=>this.background==="dark";this.isDarkIconColor=()=>this.iconColor==="dark";this.handleClick=()=>{if(this.disabled)return;this.indeterminate=false;this.checked=!this.checked;this.internals.setFormValue(this.value);this.onchange.emit({value:this.value,checked:this.checked,indeterminate:this.indeterminate})};this.checked=false;this.indeterminate=false;this.status="default";this.disabled=false;this.required=false;this.label=undefined;this.ontabindex=0;this.position="left";this.value=undefined;this.name=undefined;this.size="medium";this.background="light";this.iconColor="dark";this.color="accent";this.styles={}}sizeHandler(){this.styles=Object.assign(Object.assign({},this.styles),{"--size":`${c[this.size].size}px`,"--gap":`${c[this.size].gap}px`})}setColors(){const e=[{name:"--color-base",background:`${this.color}-base`},{name:"--color-lighter",background:`${this.color}-lighter`},{name:"--color-light",background:`${this.color}-light`},{name:"--color-dark",background:`${this.color}-dark`},{name:"--info-base",background:"info-base"},{name:"--error-base",background:"error-base"},{name:"--success-lighter",background:"success-lighter"},{name:"--success-base",background:"success-base"},{name:"--success-dark",background:"success-dark"},{name:"--error-lighter",background:"error-lighter"},{name:"--neutral-black",background:"neutral-black"},{name:"--primary-base-neutral-white",background:this.isDarkBackground()?"primary-base":"neutral-white"},{name:"--neutral-base-neutral-medium",background:this.isDarkBackground()?"neutral-base":"neutral-medium"},{name:"--neutral-black-neutral-purewhite",background:this.isDarkBackground()?"neutral-black":"neutral-purewhite"},{name:"--neutral-black-neutral-white",background:this.isDarkBackground()?"neutral-black":"neutral-white"},{name:"--neutral-darker-neutral-base",background:this.isDarkBackground()?"neutral-darker":"neutral-base"},{name:"--neutral-base-neutral-base",background:this.isDarkBackground()?"primary-base":"neutral-base"},{name:"--neutral-purewhite-neutral-dark",background:this.isDarkBackground()?"neutral-purewhite":"neutral-dark"},{name:"--primary-base-neutral-medium",background:this.isDarkBackground()?"primary-base":"neutral-medium"},{name:"--success-base-lighter",background:this.isDarkBackground()?"success-base":"success-lighter"},{name:"--success-dark-base",background:this.isDarkBackground()?"success-dark":"success-base"},{name:"--error-base-lighter",background:this.isDarkBackground()?"error-base":"error-lighter"},{name:"--error-dark-base",background:this.isDarkBackground()?"error-dark":"error-base"}];e.forEach((e=>{this.styles[e.name]=window.CuraAPI.theme.colors.getColor(e.background)}));this.styles=Object.assign({},this.styles)}connectedCallback(){this.sizeHandler();this.setColors()}formAssociatedCallback(e){e.ariaLabel=this.label}formStateRestoreCallback(e){this.value=e.value;this.checked=e.checked;this.indeterminate=e.indeterminate;this.internals.setFormValue(this.value)}formResetCallback(){this.value="";this.checked=false;this.indeterminate=false;this.internals.setValidity({});this.internals.setFormValue(this.value)}formDisabledCallback(e){this.disabled=e}getClasses(){const e={};e["container"]=true;e["checked"]=this.checked;e["disabled"]=this.disabled;e[this.background]=true;e["indeterminate"]=this.indeterminate;e["position"]=this.position==="right";e[this.status]=true;return e}assignColor(e){if(this.disabled)return this.isDarkBackground()?"neutral-dark":"neutral-dark";const r={success:{icon:"success-dark",label:this.isDarkBackground()?"success-lighter":"success-darker",message:this.isDarkBackground()?"success-base":"success-dark"},error:{icon:"error-dark",label:this.isDarkBackground()?"error-lighter":"neutral-darker",message:this.isDarkBackground()?"error-base":"error-dark"},default:{icon:this.isDarkIconColor()?"neutral-black":"neutral-purewhite",label:this.isDarkBackground()?"neutral-white":"neutral-black",message:this.isDarkBackground()?"primary-lighter":"neutral-dark"}};return r[this.status][e]}getIcon(){const e=this.indeterminate?"minus":"check";const r=this.assignColor("icon");const s=this.size==="large"?20:"micro";return a("cura-icon",{class:"icon",name:e,size:s,color:r})}render(){return a(s,{key:"9f96ab8f12502dc777ee00d02d8306ecd3ce9776"},a("div",{key:"4a782c31e4d97df0c7cc1d60a3c83125d01d31f6",class:this.getClasses(),style:this.styles,onClick:this.handleClick},a("div",{key:"c2de03821506646ffbe84cd7106ab91c1cdeba55",class:"info"},a("div",{key:"9a8985036acf8770541b69e35ff449572a6afb0e",class:"label-wrapper"},a("cura-label",{key:"a128e382aa3f25c849fbe488f3820aa9b3cdb775",class:"label",weight:"bold",size:this.size==="large"?"medium":"xsmall",color:this.assignColor("label")},this.label),this.required&&a("cura-paragraph",{key:"84e4817990f7499f047af339ce1ed9efc0ed060c",lineHeight:"0%",marginBlock:"0",color:"error-base"},"* ")),a("cura-label",{key:"33527a9347eb8971d869b7e5ec492c3a7057b123",color:this.assignColor("message"),size:"xsmall",class:"message"},a("slot",{key:"cda5d0d9eca328fd20663f941a41325eb1ad0e29"}))),a("div",{key:"588b04e6c9c74daf8406d0cca1e50bd39d1703c9",class:"checkbox",tabIndex:this.ontabindex},a("input",{key:"209fee01eb3051602e5a9633de4fdea59d986a53",type:"checkbox",name:this.name,value:this.value,disabled:this.disabled,required:this.required,checked:this.checked,indeterminate:this.indeterminate}),this.getIcon())))}static get formAssociated(){return true}get host(){return t(this)}static get watchers(){return{size:["sizeHandler"],color:["setColors"],background:["setColors","assignColor"],iconColor:["assignColor"]}}};n.style=o;export{n as cura_checkbox};
2
- //# sourceMappingURL=p-ee7388a5.entry.js.map
1
+ import{r as e,c as r,h as a,H as s,g as t}from"./p-312791fb.js";import{f as c}from"./p-f9b8f665.js";const i='@charset "UTF-8";:host{display:block;width:fit-content;box-sizing:border-box}.container{display:flex;align-items:center;flex-direction:row-reverse;gap:var(--gap)}.position.container{flex-direction:row}.position .label-wrapper{justify-content:end}.position .message{text-align:right}.position .label{order:1}.info{display:flex;flex-direction:column}.label-wrapper{display:flex;justify-content:start;align-items:center;gap:5px}.control{width:fit-content;cursor:pointer;position:relative}.checkbox{appearance:none;border:2px solid var(--neutral-base-neutral-medium);border-radius:4px;background:var(--neutral-black-neutral-purewhite);flex:1 0;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;box-sizing:border-box;width:var(--size);height:var(--size);flex:0 0 var(--size)}.icon{position:absolute;display:flex;opacity:0;transition:opacity 0.3s}.checkbox:focus{border-color:var(--info-base) !important}.disabled .checkbox{background:var(--neutral-black-neutral-white);border-color:var(--neutral-darker-neutral-base);cursor:not-allowed}.disabled .checkbox:hover{border-color:var(--neutral-darker-neutral-base) !important}.disabled.checked .checkbox,.disabled.indeterminate .checkbox{background:var(--neutral-black-neutral-white);border-color:var(--neutral-darker-neutral-base)}.disabled.checked .checkbox:hover,.disabled.indeterminate .checkbox:hover{border-color:var(--neutral-base-neutral-white);background:var(--primary-base-neutral-white)}.disabled .checkbox:focus{border-color:var(--neutral-darker-neutral-base) !important}.checked .checkbox,.indeterminate .checkbox{border-color:var(--color-dark);background:var(--color-base)}.checked .checkbox:hover,.indeterminate .checkbox:hover{border-color:var(--color-light) !important;background:var(--color-lighter)}.checked .icon,.indeterminate .icon{opacity:1}:not(.disabled):not(.checked):not(.indeterminate) .checkbox:hover{border-color:var(--neutral-purewhite-neutral-dark)}.success.dark .checkbox{background:var(--neutral-black)}.success .checkbox{border-color:var(--success-base);background:var(--success-lighter)}.success .checkbox:hover{border-color:var(--success-base) !important}.success.checked .checkbox{border-color:var(--success-dark-base);background:var(--success-base-lighter)}.success.checked .checkbox:hover{border-color:var(--success-dark-base)}.error.dark .checkbox{background:var(--neutral-black)}.error .checkbox{border-color:var(--error-base);background:var(--error-lighter)}.error .checkbox:hover{border-color:var(--error-base) !important}.error.checked .checkbox{border-color:var(--error-dark-base);background:var(--error-base-lighter)}.error.checked .checkbox:hover{border-color:var(--error-dark-base)}input{appearance:none;-webkit-appearance:none;-moz-appearance:none}';const o=i;const n=class{constructor(a){e(this,a);this.onchange=r(this,"onchange",7);if(a.$hostElement$["s-ei"]){this.internals=a.$hostElement$["s-ei"]}else{this.internals=a.$hostElement$.attachInternals();a.$hostElement$["s-ei"]=this.internals}this.isDarkBackground=()=>this.background==="dark";this.isDarkIconColor=()=>this.iconColor==="dark";this.handleClick=()=>{if(this.disabled)return;this.indeterminate=false;this.checked=!this.checked;this.internals.setFormValue(this.value);this.onchange.emit({value:this.value,checked:this.checked,indeterminate:this.indeterminate})};this.checked=false;this.indeterminate=false;this.status="default";this.disabled=false;this.required=false;this.label=undefined;this.ontabindex=0;this.position="left";this.value=undefined;this.name=undefined;this.size="medium";this.background="light";this.iconColor="dark";this.color="accent";this.styles={}}sizeHandler(){this.styles=Object.assign(Object.assign({},this.styles),{"--size":`${c[this.size].size}px`,"--gap":`${c[this.size].gap}px`})}setColors(){const e=[{name:"--color-base",background:`${this.color}-base`},{name:"--color-lighter",background:`${this.color}-lighter`},{name:"--color-light",background:`${this.color}-light`},{name:"--color-dark",background:`${this.color}-dark`},{name:"--info-base",background:"info-base"},{name:"--error-base",background:"error-base"},{name:"--success-lighter",background:"success-lighter"},{name:"--success-base",background:"success-base"},{name:"--success-dark",background:"success-dark"},{name:"--error-lighter",background:"error-lighter"},{name:"--neutral-black",background:"neutral-black"},{name:"--primary-base-neutral-white",background:this.isDarkBackground()?"primary-base":"neutral-white"},{name:"--neutral-base-neutral-medium",background:this.isDarkBackground()?"neutral-base":"neutral-medium"},{name:"--neutral-black-neutral-purewhite",background:this.isDarkBackground()?"neutral-black":"neutral-purewhite"},{name:"--neutral-black-neutral-white",background:this.isDarkBackground()?"neutral-black":"neutral-white"},{name:"--neutral-darker-neutral-base",background:this.isDarkBackground()?"neutral-darker":"neutral-base"},{name:"--neutral-base-neutral-base",background:this.isDarkBackground()?"primary-base":"neutral-base"},{name:"--neutral-purewhite-neutral-dark",background:this.isDarkBackground()?"neutral-purewhite":"neutral-dark"},{name:"--primary-base-neutral-medium",background:this.isDarkBackground()?"primary-base":"neutral-medium"},{name:"--success-base-lighter",background:this.isDarkBackground()?"success-base":"success-lighter"},{name:"--success-dark-base",background:this.isDarkBackground()?"success-dark":"success-base"},{name:"--error-base-lighter",background:this.isDarkBackground()?"error-base":"error-lighter"},{name:"--error-dark-base",background:this.isDarkBackground()?"error-dark":"error-base"}];e.forEach((e=>{this.styles[e.name]=window.CuraAPI.theme.colors.getColor(e.background)}));this.styles=Object.assign({},this.styles)}connectedCallback(){this.sizeHandler();this.setColors()}formAssociatedCallback(e){e.ariaLabel=this.label}formStateRestoreCallback(e){this.value=e.value;this.checked=e.checked;this.indeterminate=e.indeterminate;this.internals.setFormValue(this.value)}formResetCallback(){this.value="";this.checked=false;this.indeterminate=false;this.internals.setValidity({});this.internals.setFormValue(this.value)}formDisabledCallback(e){this.disabled=e}getClasses(){const e={};e["container"]=true;e["checked"]=this.checked;e["disabled"]=this.disabled;e[this.background]=true;e["indeterminate"]=this.indeterminate;e["position"]=this.position==="right";e[this.status]=true;return e}assignColor(e){if(this.disabled)return this.isDarkBackground()?"neutral-dark":"neutral-dark";const r={success:{icon:"success-dark",label:this.isDarkBackground()?"success-lighter":"success-darker",message:this.isDarkBackground()?"success-base":"success-dark"},error:{icon:"error-dark",label:this.isDarkBackground()?"error-lighter":"neutral-darker",message:this.isDarkBackground()?"error-base":"error-dark"},default:{icon:this.isDarkIconColor()?"neutral-black":"neutral-purewhite",label:this.isDarkBackground()?"neutral-white":"neutral-black",message:this.isDarkBackground()?"primary-lighter":"neutral-dark"}};return r[this.status][e]}getIcon(){const e=this.indeterminate?"minus":"check";const r=this.assignColor("icon");const s=this.size==="large"?20:"micro";return a("cura-icon",{class:"icon",name:e,size:s,color:r})}render(){return a(s,{key:"9f96ab8f12502dc777ee00d02d8306ecd3ce9776"},a("div",{key:"4a782c31e4d97df0c7cc1d60a3c83125d01d31f6",class:this.getClasses(),style:this.styles,onClick:this.handleClick},a("div",{key:"c2de03821506646ffbe84cd7106ab91c1cdeba55",class:"info"},a("div",{key:"9a8985036acf8770541b69e35ff449572a6afb0e",class:"label-wrapper"},a("cura-label",{key:"a128e382aa3f25c849fbe488f3820aa9b3cdb775",class:"label",weight:"bold",size:this.size==="large"?"medium":"xsmall",color:this.assignColor("label")},this.label),this.required&&a("cura-paragraph",{key:"84e4817990f7499f047af339ce1ed9efc0ed060c",lineHeight:"0%",marginBlock:"0",color:"error-base"},"* ")),a("cura-label",{key:"33527a9347eb8971d869b7e5ec492c3a7057b123",color:this.assignColor("message"),size:"xsmall",class:"message"},a("slot",{key:"cda5d0d9eca328fd20663f941a41325eb1ad0e29"}))),a("div",{key:"588b04e6c9c74daf8406d0cca1e50bd39d1703c9",class:"checkbox",tabIndex:this.ontabindex},a("input",{key:"209fee01eb3051602e5a9633de4fdea59d986a53",type:"checkbox",name:this.name,value:this.value,disabled:this.disabled,required:this.required,checked:this.checked,indeterminate:this.indeterminate}),this.getIcon())))}static get formAssociated(){return true}get host(){return t(this)}static get watchers(){return{size:["sizeHandler"],color:["setColors"],background:["setColors","assignColor"],iconColor:["assignColor"]}}};n.style=o;export{n as cura_checkbox};
2
+ //# sourceMappingURL=p-5466758a.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as a,h as t,H as r}from"./p-586bbe43.js";import{f as i}from"./p-f9b8f665.js";const s='@charset "UTF-8";:host{display:block;width:fit-content;box-sizing:border-box}.container{display:flex;align-items:center;flex-direction:row-reverse;gap:var(--gap);text-align:left}.position{flex-direction:row}.label,.message{text-align:left}.control{width:fit-content}.track{background:var(--neutral-dark-base);border-radius:16px;transition:background-color 0.3s;align-items:flex-start;flex-shrink:0;box-sizing:border-box;width:var(--size-track);height:var(--size);position:relative}.thumb{background:var(--neutral-purewhite);border:2px solid var(--neutral-darker-medium);border-radius:50%;position:absolute;transition:transform 0.3s, outline 0.3s;display:inline-block;cursor:pointer;user-select:none;box-sizing:border-box;width:var(--size);height:var(--size);top:50%;transform:translateY(-50%)}.checked .thumb{border-color:var(--color-dark);box-shadow:0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16));background:var(--neutral-purewhite);transform:translateX(var(--size)) translateY(-50%)}.checked .thumb:hover{background:var(--neutral-pale) !important;border-color:var(--neutral-darker-medium) !important}.checked .thumb:active{border-color:var(--color-dark);background:var(--neutral-pale)}.checked .track{background:var(--color-base-light)}.disabled .track{background:var(--neutral-black-neutral-pale)}.disabled .thumb{background:var(--neutral-black-neutral-base) !important;border-color:var(--neutral-black-neutral-pale) !important;cursor:not-allowed}.disabled.checked .track{background:var(--neutral-black-neutral-pale)}.container.disabled .thumb:focus{outline:none !important;border-color:var(--neutral-black-neutral-pale) !important}:not(.disabled):not(.checked) .thumb:hover{border-color:var(--color-dark);background:var(--neutral-pale)}:not(.disabled):not(.checked) .thumb:active{border-color:var(--color-dark);background:var(--neutral-pale)}:not(.disabled) .thumb:focus{outline:2px solid var(--info-base) !important;border:2px solid var(--neutral-darker-medium);z-index:1}:not(.disabled) .checked .thumb:focus{outline:2px solid var(--info-base) !important;border-color:var(--color-dark)}';const l=s;const o=class{constructor(t){e(this,t);this.onchange=a(this,"onchange",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.sizes={large:{size:64},medium:{size:48},small:{size:40}};this.isDarkbackground=()=>this.background==="dark";this.toggleSwitch=()=>{if(this.disabled)return null;this.checked=!this.checked;this.internals.setFormValue(this.checked.toString());this.onchange.emit({checked:this.checked})};this.checked=false;this.disabled=false;this.label="";this.ontabindex=0;this.position="left";this.size="medium";this.background="light";this.color="accent";this.styles={}}sizeHandler(){this.styles=Object.assign(Object.assign({},this.styles),{"--size-track":`${this.sizes[this.size].size}px`,"--size":`${i[this.size].size}px`,"--gap":`${i[this.size].gap}px`})}setColors(){const e=[{name:"--info-base",background:"info-base"},{name:"--neutral-black-shadow",background:"neutral-black",opacity:.16},{name:"--neutral-purewhite",background:"neutral-purewhite"},{name:"--neutral-medium",background:"neutral-medium"},{name:"--neutral-pale",background:"neutral-pale"},{name:"--neutral-dark-base",background:`neutral-${this.isDarkbackground()?"dark":"base"}`},{name:"--neutral-darker-medium",background:`neutral-${this.isDarkbackground()?"darker":"medium"}`},{name:"--neutral-black-neutral-pale",background:`${this.isDarkbackground()?"neutral-black":"neutral-pale"}`},{name:"--neutral-black-neutral-base",background:`${this.isDarkbackground()?"neutral-dark":"neutral-base"}`},{name:"--color-base-light",background:`${this.color}-light`},{name:"--color-dark",background:`${this.color}-dark`}];e.forEach((e=>{this.styles[e.name]=window.CuraAPI.theme.colors.getColor(e.background,e===null||e===void 0?void 0:e.opacity)}));this.styles=Object.assign({},this.styles)}connectedCallback(){this.sizeHandler();this.setColors()}formAssociatedCallback(e){e.ariaLabel=this.label}formStateRestoreCallback(e){this.checked=e.value==="true";this.internals.setFormValue(this.checked.toString())}formResetCallback(){this.checked=false;this.internals.setValidity({});this.internals.setFormValue(this.checked.toString())}formDisabledCallback(e){this.disabled=e}assignColor(e,a){if(this.disabled)return this.isDarkbackground()?"neutral-dark":"neutral-dark";return this.isDarkbackground()?e:a}getClasses(){const e={};e["container"]=true;e["checked"]=this.checked;e["disabled"]=this.disabled;e["position"]=this.position==="right";return e}render(){return t(r,{key:"e0040434db080b1ccdb12a1389ca028f5c02f66a"},t("div",{key:"6008f7aef47e0519e965c2be573dc1eacc001b6c",class:this.getClasses(),style:this.styles},t("div",{key:"a954404dce1c7eafd79cb3236e8761a3dc29f86e",class:"info"},t("cura-label",{key:"6ff5cc1f26abad0f173c4e1330aaae43357b7737",style:{textAlign:this.position==="right"?"right":"left"},class:"label",weight:"bold",size:this.size==="large"?"medium":"xsmall",lineHeight:"125%",color:this.assignColor("neutral-white","neutral-black")},this.label),t("cura-label",{key:"b82e4cb25ef94481642e1d5a2180eb4e12b8eff8",style:{textAlign:this.position==="right"?"right":"left"},color:this.assignColor("primary-lighter","neutral-dark"),size:"xsmall",class:"message"},t("slot",{key:"243e906253614d9ce837e0c598b259ad7c87afb4"}))),t("div",{key:"36d0165722a6fae98ca829a5a2e89edef3694ff2",onClick:this.toggleSwitch,class:"control"},t("div",{key:"f9c0c7cbc84b655e37e7e8df1c2293c1260445ca",class:`track ${this.size.toLowerCase()}`},t("div",{key:"e5ca4006ad41a6cbf8d62ca612b52ef26fb7255f",class:`thumb ${this.size.toLowerCase()}`,tabIndex:this.ontabindex})))))}static get formAssociated(){return true}static get watchers(){return{size:["sizeHandler"],color:["setColors"],background:["setColors"]}}};o.style=l;export{o as cura_switch};
2
- //# sourceMappingURL=p-8cecf9e5.entry.js.map
1
+ import{r as e,c as a,h as t,H as r}from"./p-312791fb.js";import{f as i}from"./p-f9b8f665.js";const s='@charset "UTF-8";:host{display:block;width:fit-content;box-sizing:border-box}.container{display:flex;align-items:center;flex-direction:row-reverse;gap:var(--gap);text-align:left}.position{flex-direction:row}.label,.message{text-align:left}.control{width:fit-content}.track{background:var(--neutral-dark-base);border-radius:16px;transition:background-color 0.3s;align-items:flex-start;flex-shrink:0;box-sizing:border-box;width:var(--size-track);height:var(--size);position:relative}.thumb{background:var(--neutral-purewhite);border:2px solid var(--neutral-darker-medium);border-radius:50%;position:absolute;transition:transform 0.3s, outline 0.3s;display:inline-block;cursor:pointer;user-select:none;box-sizing:border-box;width:var(--size);height:var(--size);top:50%;transform:translateY(-50%)}.checked .thumb{border-color:var(--color-dark);box-shadow:0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16));background:var(--neutral-purewhite);transform:translateX(var(--size)) translateY(-50%)}.checked .thumb:hover{background:var(--neutral-pale) !important;border-color:var(--neutral-darker-medium) !important}.checked .thumb:active{border-color:var(--color-dark);background:var(--neutral-pale)}.checked .track{background:var(--color-base-light)}.disabled .track{background:var(--neutral-black-neutral-pale)}.disabled .thumb{background:var(--neutral-black-neutral-base) !important;border-color:var(--neutral-black-neutral-pale) !important;cursor:not-allowed}.disabled.checked .track{background:var(--neutral-black-neutral-pale)}.container.disabled .thumb:focus{outline:none !important;border-color:var(--neutral-black-neutral-pale) !important}:not(.disabled):not(.checked) .thumb:hover{border-color:var(--color-dark);background:var(--neutral-pale)}:not(.disabled):not(.checked) .thumb:active{border-color:var(--color-dark);background:var(--neutral-pale)}:not(.disabled) .thumb:focus{outline:2px solid var(--info-base) !important;border:2px solid var(--neutral-darker-medium);z-index:1}:not(.disabled) .checked .thumb:focus{outline:2px solid var(--info-base) !important;border-color:var(--color-dark)}';const l=s;const o=class{constructor(t){e(this,t);this.onchange=a(this,"onchange",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.sizes={large:{size:64},medium:{size:48},small:{size:40}};this.isDarkbackground=()=>this.background==="dark";this.toggleSwitch=()=>{if(this.disabled)return null;this.checked=!this.checked;this.internals.setFormValue(this.checked.toString());this.onchange.emit({checked:this.checked})};this.checked=false;this.disabled=false;this.label="";this.ontabindex=0;this.position="left";this.size="medium";this.background="light";this.color="accent";this.styles={}}sizeHandler(){this.styles=Object.assign(Object.assign({},this.styles),{"--size-track":`${this.sizes[this.size].size}px`,"--size":`${i[this.size].size}px`,"--gap":`${i[this.size].gap}px`})}setColors(){const e=[{name:"--info-base",background:"info-base"},{name:"--neutral-black-shadow",background:"neutral-black",opacity:.16},{name:"--neutral-purewhite",background:"neutral-purewhite"},{name:"--neutral-medium",background:"neutral-medium"},{name:"--neutral-pale",background:"neutral-pale"},{name:"--neutral-dark-base",background:`neutral-${this.isDarkbackground()?"dark":"base"}`},{name:"--neutral-darker-medium",background:`neutral-${this.isDarkbackground()?"darker":"medium"}`},{name:"--neutral-black-neutral-pale",background:`${this.isDarkbackground()?"neutral-black":"neutral-pale"}`},{name:"--neutral-black-neutral-base",background:`${this.isDarkbackground()?"neutral-dark":"neutral-base"}`},{name:"--color-base-light",background:`${this.color}-light`},{name:"--color-dark",background:`${this.color}-dark`}];e.forEach((e=>{this.styles[e.name]=window.CuraAPI.theme.colors.getColor(e.background,e===null||e===void 0?void 0:e.opacity)}));this.styles=Object.assign({},this.styles)}connectedCallback(){this.sizeHandler();this.setColors()}formAssociatedCallback(e){e.ariaLabel=this.label}formStateRestoreCallback(e){this.checked=e.value==="true";this.internals.setFormValue(this.checked.toString())}formResetCallback(){this.checked=false;this.internals.setValidity({});this.internals.setFormValue(this.checked.toString())}formDisabledCallback(e){this.disabled=e}assignColor(e,a){if(this.disabled)return this.isDarkbackground()?"neutral-dark":"neutral-dark";return this.isDarkbackground()?e:a}getClasses(){const e={};e["container"]=true;e["checked"]=this.checked;e["disabled"]=this.disabled;e["position"]=this.position==="right";return e}render(){return t(r,{key:"e0040434db080b1ccdb12a1389ca028f5c02f66a"},t("div",{key:"6008f7aef47e0519e965c2be573dc1eacc001b6c",class:this.getClasses(),style:this.styles},t("div",{key:"a954404dce1c7eafd79cb3236e8761a3dc29f86e",class:"info"},t("cura-label",{key:"6ff5cc1f26abad0f173c4e1330aaae43357b7737",style:{textAlign:this.position==="right"?"right":"left"},class:"label",weight:"bold",size:this.size==="large"?"medium":"xsmall",lineHeight:"125%",color:this.assignColor("neutral-white","neutral-black")},this.label),t("cura-label",{key:"b82e4cb25ef94481642e1d5a2180eb4e12b8eff8",style:{textAlign:this.position==="right"?"right":"left"},color:this.assignColor("primary-lighter","neutral-dark"),size:"xsmall",class:"message"},t("slot",{key:"243e906253614d9ce837e0c598b259ad7c87afb4"}))),t("div",{key:"36d0165722a6fae98ca829a5a2e89edef3694ff2",onClick:this.toggleSwitch,class:"control"},t("div",{key:"f9c0c7cbc84b655e37e7e8df1c2293c1260445ca",class:`track ${this.size.toLowerCase()}`},t("div",{key:"e5ca4006ad41a6cbf8d62ca612b52ef26fb7255f",class:`thumb ${this.size.toLowerCase()}`,tabIndex:this.ontabindex})))))}static get formAssociated(){return true}static get watchers(){return{size:["sizeHandler"],color:["setColors"],background:["setColors"]}}};o.style=l;export{o as cura_switch};
2
+ //# sourceMappingURL=p-578c74a4.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,h as e,H as r}from"./p-586bbe43.js";const a=":host{display:block;box-sizing:border-box;width:100%}cura-label{padding:12px 0px;border-bottom:1px solid var(--neutral-light)}";const t=a;const c=class{constructor(e){o(this,e)}render(){return e(r,{key:"6e2312e0bf01db89fe6c85fbe525c02ed2dff7ec",slot:"dropdown-search-option"},e("cura-label",{key:"551017409617799c76a6119b4e61596a4188f5ad",color:"neutral-dark",size:"xsmall",lineHeight:"16px",marginBlock:"0"},e("slot",{key:"4e0b3b588dec8603df342358840bc0a2d8ab3c4c"})))}};c.style=t;export{c as cura_dropdown_search_option_title};
2
- //# sourceMappingURL=p-2176f253.entry.js.map
1
+ import{r as o,h as e,H as r}from"./p-312791fb.js";const a=":host{display:block;box-sizing:border-box;width:100%}cura-label{padding:12px 0px;border-bottom:1px solid var(--neutral-light)}";const t=a;const c=class{constructor(e){o(this,e)}render(){return e(r,{key:"6e2312e0bf01db89fe6c85fbe525c02ed2dff7ec",slot:"dropdown-search-option"},e("cura-label",{key:"551017409617799c76a6119b4e61596a4188f5ad",color:"neutral-dark",size:"xsmall",lineHeight:"16px",marginBlock:"0"},e("slot",{key:"4e0b3b588dec8603df342358840bc0a2d8ab3c4c"})))}};c.style=t;export{c as cura_dropdown_search_option_title};
2
+ //# sourceMappingURL=p-61d20270.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as t,h as s,H as a,g as c}from"./p-586bbe43.js";const i=":host{display:block;box-sizing:border-box}:host .conteiner{display:flex;box-sizing:border-box;padding:12px;gap:12px;flex-shrink:0;border:1px solid var(--color-base);border-radius:4px;background-color:var(--color-lighter)}:host .conteiner.floating{box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}:host .icon-left{margin-right:5px}:host .icon-right{margin-left:auto;cursor:pointer}:host .text{margin-top:3px}:host .actions{margin-top:5px}";const r=i;const o=class{constructor(s){e(this,s);this.close=t(this,"close",7);this.handleClose=()=>{this.close.emit();this.host.remove()};this.type="info";this.floating=false;this.label=undefined;this.closeable=true;this.icon=undefined;this.styles={}}setColors(){const e=[{name:"--color-lighter",theme:`${this.type}-lighter`},{name:"--neutral-black",theme:"neutral-black"},{name:"--color-light",theme:`${this.type}-light`},{name:"--color-base",theme:`${this.type}-base`}];e.forEach((e=>{this.styles[e.name]=window.CuraAPI.theme.colors.getColor(e.theme)}));this.styles=Object.assign({},this.styles)}connectedCallback(){this.setColors()}getClasses(){const e={};e["conteiner"]=true;e["floating"]=this.floating;return e}getNameIcon(){const e={info:"infoCircle",success:"checkCircle",warning:"alertCircle",error:"alertTriangle"};return this.icon?this.icon:e[this.type]}render(){return s(a,{key:"874149c03df4a705e618cfdbfe98294cd1e3ef13"},s("div",{key:"ded92424295ffe7f082dc0152689f0bf6d862466",class:this.getClasses(),style:this.styles},s("cura-icon",{key:"cac5d460fa77bb519d0cbdc2a651e52e024f2b80",name:this.getNameIcon(),class:"icon-left",size:16,color:`${this.type}-dark`}),s("div",{key:"9b7770169053ca34d9a96ef44f6c110d36ee1f87",class:"content"},s("cura-label",{key:"b131071ad2e29b165ce767e2c3ef68bb5464a57c",class:"title",size:"small",color:"neutral-darker",weight:"bold"},this.label),s("cura-paragraph",{key:"aa027c5e80769cf3a1446a9f629493eae2bd7263",class:"text",color:`${this.type}-darker`,size:"xsmall",marginBlock:"0",lineHeight:"133.33%"},s("slot",{key:"3ca047a4f9a25c8f060bcd5e14adf0a1c66c7a25"})),s("div",{key:"0c2e0f5e6b88b780236aecedbc9b68413600e6be",class:"actions"},s("slot",{key:"3866c4c4629f22fa76c034c5ba0bf9ef8f8bdf8b",name:"actions"}))),this.closeable?s("cura-icon",{name:"close",size:16,color:"error-dark",class:"icon-right",onClick:this.handleClose}):""))}get host(){return c(this)}static get watchers(){return{type:["setColors"]}}};o.style=r;export{o as cura_alert};
2
- //# sourceMappingURL=p-7c41f034.entry.js.map
1
+ import{r as e,c as t,h as s,H as a,g as c}from"./p-312791fb.js";const i=":host{display:block;box-sizing:border-box}:host .conteiner{display:flex;box-sizing:border-box;padding:12px;gap:12px;flex-shrink:0;border:1px solid var(--color-base);border-radius:4px;background-color:var(--color-lighter)}:host .conteiner.floating{box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}:host .icon-left{margin-right:5px}:host .icon-right{margin-left:auto;cursor:pointer}:host .text{margin-top:3px}:host .actions{margin-top:5px}";const r=i;const o=class{constructor(s){e(this,s);this.close=t(this,"close",7);this.handleClose=()=>{this.close.emit();this.host.remove()};this.type="info";this.floating=false;this.label=undefined;this.closeable=true;this.icon=undefined;this.styles={}}setColors(){const e=[{name:"--color-lighter",theme:`${this.type}-lighter`},{name:"--neutral-black",theme:"neutral-black"},{name:"--color-light",theme:`${this.type}-light`},{name:"--color-base",theme:`${this.type}-base`}];e.forEach((e=>{this.styles[e.name]=window.CuraAPI.theme.colors.getColor(e.theme)}));this.styles=Object.assign({},this.styles)}connectedCallback(){this.setColors()}getClasses(){const e={};e["conteiner"]=true;e["floating"]=this.floating;return e}getNameIcon(){const e={info:"infoCircle",success:"checkCircle",warning:"alertCircle",error:"alertTriangle"};return this.icon?this.icon:e[this.type]}render(){return s(a,{key:"874149c03df4a705e618cfdbfe98294cd1e3ef13"},s("div",{key:"ded92424295ffe7f082dc0152689f0bf6d862466",class:this.getClasses(),style:this.styles},s("cura-icon",{key:"cac5d460fa77bb519d0cbdc2a651e52e024f2b80",name:this.getNameIcon(),class:"icon-left",size:16,color:`${this.type}-dark`}),s("div",{key:"9b7770169053ca34d9a96ef44f6c110d36ee1f87",class:"content"},s("cura-label",{key:"b131071ad2e29b165ce767e2c3ef68bb5464a57c",class:"title",size:"small",color:"neutral-darker",weight:"bold"},this.label),s("cura-paragraph",{key:"aa027c5e80769cf3a1446a9f629493eae2bd7263",class:"text",color:`${this.type}-darker`,size:"xsmall",marginBlock:"0",lineHeight:"133.33%"},s("slot",{key:"3ca047a4f9a25c8f060bcd5e14adf0a1c66c7a25"})),s("div",{key:"0c2e0f5e6b88b780236aecedbc9b68413600e6be",class:"actions"},s("slot",{key:"3866c4c4629f22fa76c034c5ba0bf9ef8f8bdf8b",name:"actions"}))),this.closeable?s("cura-icon",{name:"close",size:16,color:"error-dark",class:"icon-right",onClick:this.handleClose}):""))}get host(){return c(this)}static get watchers(){return{type:["setColors"]}}};o.style=r;export{o as cura_alert};
2
+ //# sourceMappingURL=p-6373c7cd.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as o,g as i}from"./p-586bbe43.js";import{m as s,i as a}from"./p-a7221f0c.js";const l=':host{display:block;color:var(--font-color);font-size:var(--font-size);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}:host::after{content:"";display:block;border-bottom:solid 1px var(--neutral-base);width:100%}';const h=l;const n=class{constructor(e){t(this,e);this.mutationObserverCallback=(t,e)=>{var o;for(const e of t){if(e.type==="attributes"&&e.attributeName==="opened"&&((o=e.target)===null||o===void 0?void 0:o["opened"])){if(this.behavior!=="default")continue;this.host.querySelectorAll("cura-accordion-item").forEach((t=>{if(t!=e.target){t.opened=false}}))}if(e.type==="childList"){const t=Array.from(e.addedNodes||[]);for(let e of t){this.setChildProperties(e)}}}};this.mutationObserver=new MutationObserver(this.mutationObserverCallback);this.color="primary";this.activeColor="accent";this.colorMode="dark";this.iconSize=32;this.openIcon="down";this.closeIcon="up";this.iconColor="";this.iconActiveColor="";this.behavior="default";this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){const t=window.CuraAPI.theme.fonts.getWeights();this.styles["--base-spacing"]=window.CuraAPI.theme.spacing.getSpacing();this.styles["--neutral-purewhite"]=window.CuraAPI.theme.colors.getColor(`neutral-purewhite`);this.styles["--neutral-lighter"]=window.CuraAPI.theme.colors.getColor(`neutral-lighter`);this.styles["--neutral-base"]=window.CuraAPI.theme.colors.getColor(`neutral-base`);this.styles["--font-size"]=window.CuraAPI.theme.fonts.getSize();this.styles["--font-color"]=window.CuraAPI.theme.fonts.getColor();this.styles["--font-family"]=window.CuraAPI.theme.fonts.getFamily();this.styles["--font-weight-regular"]=t.regular;this.setColors()}componentDidLoad(){this.host.querySelectorAll("cura-accordion-item").forEach((t=>{this.setChildProperties(t)}));const t={childList:true,subtree:true,attributes:true};this.mutationObserver.observe(this.host,t)}disconnectedCallback(){this.mutationObserver.disconnect()}setChildProperties(t){t.colorMode=this.colorMode;t.iconColor=this.iconColor||this.color;t.iconActiveColor=this.iconActiveColor||this.activeColor;t.iconSize=this.iconSize;t.openIcon=this.openIcon;t.closeIcon=this.closeIcon}setColors(){this.styles=Object.assign(Object.assign({},this.styles),{"--color-lighter":window.CuraAPI.theme.colors.getColor(`${this.color}-lighter`),"--color-light":window.CuraAPI.theme.colors.getColor(`${this.color}-light`),"--color-base":window.CuraAPI.theme.colors.getColor(`${this.color}-base`),"--color-dark":window.CuraAPI.theme.colors.getColor(`${this.color}-dark`),"--color-active-lighter":window.CuraAPI.theme.colors.getColor(`${this.activeColor}-lighter`),"--color-active-light":window.CuraAPI.theme.colors.getColor(`${this.activeColor}-light`),"--color-active-base":window.CuraAPI.theme.colors.getColor(`${this.activeColor}-base`),"--color-active-dark":window.CuraAPI.theme.colors.getColor(`${this.activeColor}-dark`),"--icon-color-lighter":window.CuraAPI.theme.colors.getColor(`${this.iconColor||this.color}-lighter`),"--icon-color-light":window.CuraAPI.theme.colors.getColor(`${this.iconColor||this.color}-light`),"--icon-color-base":window.CuraAPI.theme.colors.getColor(`${this.iconColor||this.color}-base`),"--icon-color-dark":window.CuraAPI.theme.colors.getColor(`${this.iconColor||this.color}-dark`),"--icon-color-active-lighter":window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor||this.activeColor}-lighter`),"--icon-color-active-light":window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor||this.activeColor}-light`),"--icon-color-active-base":window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor||this.activeColor}-base`),"--icon-color-active-dark":window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor||this.activeColor}-dark`)})}render(){return e(o,{key:"6d25b84df610918423ce8eac4213e4f012af6a20",style:this.styles},e("slot",{key:"812c3195ec83ecee009a221bc3bec303903c1e68",name:"accordion-item"}))}get host(){return i(this)}static get watchers(){return{color:["handleChangeColor"],activeColor:["handleChangeColor"]}}};n.style=h;const r=':host{display:block}:host .accordion-item{width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label::before{content:"";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--base-spacing) * 2px);min-height:40px;word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular);color:var(--color-base);padding:0px}:host .accordion-item .label .label-container cura-icon{margin-right:4px}:host .accordion-item .label .label-container:hover{color:var(--color-light)}:host .accordion-item .label .label-container:hover cura-icon{--color:var(--icon-color-light) !important}:host .accordion-item .label .label-container:active{color:var(--color-dark)}:host .accordion-item .label .label-container:active cura-icon{--color:var(--icon-color-dark) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height 0.25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--base-spacing) * 2px) 0px;border-top:solid 1px var(--neutral-base)}:host .accordion-item.active .label .label-container{color:var(--color-active-base)}:host .accordion-item.active .label .label-container:hover{color:var(--color-active-light)}:host .accordion-item.active .label .label-container:hover cura-icon{--color:var(--icon-color-active-light) !important}:host .accordion-item.active .label .label-container:active{color:var(--color-active-dark)}:host .accordion-item.active .label .label-container:active cura-icon{--color:var(--icon-color-active-dark) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height 0.5s ease 0.14s}:host .accordion-item.inverted .label .label-container{color:var(--neutral-lighter)}:host .accordion-item.inverted .label .label-container:hover{color:var(--color-lighter)}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color:var(--icon-color-lighter) !important}:host .accordion-item.inverted .label .label-container:active{color:var(--color-light)}:host .accordion-item.inverted .label .label-container:active cura-icon{--color:var(--icon-color-light) !important}:host .accordion-item.active.inverted .label .label-container{color:var(--neutral-purewhite)}:host .accordion-item.active.inverted .label .label-container:hover{color:var(--color-active-lighter)}:host .accordion-item.active.inverted .label .label-container:hover cura-icon{--color:var(--icon-color-active-lighter) !important}:host .accordion-item.active.inverted .label .label-container:active{color:var(--color-active-light)}:host .accordion-item.active.inverted .label .label-container:active cura-icon{--color:var(--icon-color-active-light) !important}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}';const c=r;const d=class{constructor(e){t(this,e);this.label="";this.iconSize=32;this.openIcon="down";this.closeIcon="up";this.iconColor="";this.iconActiveColor="";this.colorMode="dark";this.opened=false;this.styles={}}getIconColor(){const t=this.colorMode==="light";const e=t?"neutral-lighter":`${this.iconColor}-base`;const o=t?"neutral-purewhite":`${this.iconActiveColor}-base`;return this.opened?o:e}getClasses(){const t={};t["accordion-item"]=true;t["active"]=this.opened;t["inverted"]=this.colorMode==="light";return t}accordionItemClick(t){this.opened=!this.opened}render(){return e(o,{key:"8d46e9fd7c698c049a9020375cd77b5ebb9d38fd",slot:"accordion-item"},e("div",{key:"fdc11f228f3051f2452b0beb56e232de836fa382",class:this.getClasses(),style:this.styles},e("div",{key:"7507b6c72d3433550b1590530c8070fe07431389",class:"label",onClick:t=>this.accordionItemClick(t)},e("div",{key:"8f6d6deb3fc2e864ac81abb744c5d4a32ad6b974",class:"label-container"},e("span",{key:"7b1a4e96fa8c3dfdfffa7890c17ed8afacf3032f"},this.label),e("cura-icon",{key:"0f9c6f9dc664ad96a7b02c084700fd8f75fbc677",name:this.opened?this.closeIcon:this.openIcon,size:this.iconSize,color:this.getIconColor()}))),e("div",{key:"fb1860aa74170ff18edc03b8171356cd1a1fd271",class:"content"},e("div",{key:"4d3c9252658e9c30521353579f0b3ef9bc8a3087",class:"content-wrapper"},e("slot",{key:"067f12a534860a5942d01d5945d1e4d272e5a541"})))))}};d.style=c;const b=':host{--border-radius:4px;display:inline-block;vertical-align:middle;position:relative}:host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:var(--color-base-neutral-purewhite);box-sizing:border-box;border:2px solid transparent}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button:not(.disabled):not(.isLoading),:host a:not(.disabled):not(.isLoading){border:2px solid var(--color-base-color-light)}:host button:not(.disabled):hover,:host a:not(.disabled):hover{border-color:var(--color-dark-color-base);background:var(--color-base-color-light);box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}:host button:not(.isLoading):not(.disabled):active,:host a:not(.isLoading):not(.disabled):active{background-color:var(--color-dark-color-light);border-color:var(--color-dark-color-light)}:host button:hover,:host a:hover{box-shadow:0 4px 8px 0 rgba(38, 38, 38, 0.16)}:host button.medium:hover,:host a.medium:hover{box-shadow:0 3px 6px 0 rgba(38, 38, 38, 0.16)}:host button.small:hover,:host a.small:hover{box-shadow:0 2px 5px 0 rgba(38, 38, 38, 0.16)}:host button:active,:host button.disabled:hover,:host button.isLoading:hover,:host a:active,:host a.disabled:hover,:host a.isLoading:hover{box-shadow:none !important}:host button.large,:host a.large{padding:calc(var(--base-spacing) * 6.12px) calc(var(--base-spacing) * 9.96px);min-height:calc(var(--base-spacing) * 13px);min-width:calc(var(--base-spacing) * 33.7px)}:host button.medium,:host a.medium{padding:calc(var(--base-spacing) * 3.44px) calc(var(--base-spacing) * 9.96px);min-height:calc(var(--base-spacing) * 11px);min-width:calc(var(--base-spacing) * 29.95px)}:host button.small,:host a.small{padding:calc(var(--base-spacing) * 3.24px) calc(var(--base-spacing) * 7.44px);min-height:calc(var(--base-spacing) * 8px);min-width:calc(var(--base-spacing) * 21.67px)}:host button:not(.isLoading).large,:host a:not(.isLoading).large{padding:calc(var(--base-spacing) * 3.5px) calc(var(--base-spacing) * 4px);min-height:calc(var(--base-spacing) * 13px);min-width:calc(var(--base-spacing) * 13px)}:host button:not(.isLoading).medium,:host a:not(.isLoading).medium{padding:calc(var(--base-spacing) * 2.75px) calc(var(--base-spacing) * 4px);min-height:calc(var(--base-spacing) * 11px);min-width:calc(var(--base-spacing) * 11px)}:host button:not(.isLoading).small,:host a:not(.isLoading).small{padding:calc(var(--base-spacing) * 1.5px) calc(var(--base-spacing) * 3px);min-height:calc(var(--base-spacing) * 8px);min-width:calc(var(--base-spacing) * 8px)}:host button .button-container,:host a .button-container{display:flex;align-items:center;opacity:1;transition:opacity 0.2s linear;position:relative}:host button.icon-right .button-container,:host a.icon-right .button-container{flex-direction:row-reverse}:host button cura-label,:host a cura-label{flex:1;font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:1.43em;line-height:1.2em;text-align:var(--text-align, "left")}:host button.medium cura-label,:host a.medium cura-label{font-size:1.14em}:host button.small cura-label,:host a.small cura-label{font-size:1em}:host button.icon-left cura-icon,:host a.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 3px)}:host button.icon-right cura-icon,:host a.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 3px)}:host button.medium.icon-left cura-icon,:host a.medium.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 2.7px)}:host button.medium.icon-right cura-icon,:host a.medium.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 2.7px)}:host button.small.icon-left cura-icon,:host a.small.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 2.5px)}:host button.small.icon-right cura-icon,:host a.small.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 2.5px)}:host button.disabled,:host a.disabled{cursor:not-allowed;background-color:var(--neutral-pale-neutral-black)}:host button.icon-only,:host a.icon-only{padding:calc(var(--base-spacing) * 3.5px)}:host button.icon-only cura-label,:host a.icon-only cura-label{display:none}:host button.icon-only cura-icon,:host a.icon-only cura-icon{margin-left:0 !important;margin-right:0 !important}:host button.icon-only.medium,:host a.icon-only.medium{padding:calc(var(--base-spacing) * 2.75px)}:host button.icon-only.small,:host a.icon-only.small{padding:calc(var(--base-spacing) * 1.5px)}:host button cura-loader-circle,:host a cura-loader-circle{position:absolute;display:none}:host button.isLoading,:host a.isLoading{cursor:wait}:host button.isLoading .button-container,:host a.isLoading .button-container{opacity:0.3}:host button.isLoading.icon-only .button-container,:host a.isLoading.icon-only .button-container{opacity:0}:host button.isLoading cura-loader-circle,:host a.isLoading cura-loader-circle{display:block}:host button.isLoading cura-label,:host a.isLoading cura-label{display:none}';const g=b;const m=class{constructor(e){t(this,e);if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}this.type="button";this.size="large";this.disabled=false;this.isLoading=false;this.iconName=undefined;this.iconset="default";this.iconPosition="left";this.iconOnly=false;this.href=undefined;this.target="_self";this.color="accent";this.background="light";this.fontColor="dark";this.textAlign="left";this.styles={};this.hovered=false}connectedCallback(){this.weights=window.CuraAPI.theme.fonts.getWeights();this.styles["--base-spacing"]=window.CuraAPI.theme.spacing.getSpacing();this.styles["--font-size"]=window.CuraAPI.theme.fonts.getSize();this.styles["--font-family"]=window.CuraAPI.theme.fonts.getFamily();this.styles["--font-weight-medium"]=this.weights.medium;this.styles["--text-align"]=this.textAlign;this.setColors()}setColors(){const t=[{name:"--color-base-neutral-purewhite",theme:`${this.background==="light"?`${this.color}-base`:"neutral-pale"}`},{name:"--color-base-color-light",theme:`${this.background==="light"?`${this.color}-base`:`${this.color}-lighter`}`},{name:"--color-dark-color-light",theme:`${this.background==="light"?`${this.color}-dark`:`${this.color}-light`}`},{name:"--color-dark-color-base",theme:`${this.background==="light"?`${this.color}-dark`:`${this.color}-base`}`},{name:"--neutral-pale-neutral-black",theme:`${this.background==="light"?"neutral-pale":"neutral-black"}`}];t.forEach((t=>this.styles[t.name]=window.CuraAPI.theme.colors.getColor(t.theme)));this.styles=Object.assign({},this.styles)}handleMouseEnter(){if(this.disabled)return;this.hovered=true}handleMouseLeave(){this.hovered=false}getClasses(){var t,e;const o={};o[`${(t=this.size)===null||t===void 0?void 0:t.toLowerCase()}`]=true;o[`icon-${(e=this.iconPosition)===null||e===void 0?void 0:e.toLowerCase()}`]=true;o[`icon-only`]=this.iconOnly;o["disabled"]=this.disabled;o["isLoading"]=this.isLoading;return o}getIcon(){if(!this.iconName||this.isLoading)return"";const t=this.size==="small"?16:this.size==="medium"?20:24;return e("cura-icon",{name:this.iconName,iconset:this.iconset,size:t,color:this.getSymbolColor()})}getSymbolColor(){return this.disabled?"neutral-dark":this.fontColor==="light"?"neutral-white":"neutral-black"}handleClick(t){if(this.disabled||this.isLoading){t.preventDefault();return}if(!this.href){if(this.type==="submit"&&this.internals.form)this.internals.form.submit();if(this.type==="reset"&&this.internals.form)this.internals.form.reset()}}render(){return e(o,{key:"7491e8209b9193f5e7f51ead1b08afe88b160ec1"},this.href?e("a",{href:this.disabled?"":this.href,target:this.target,class:this.getClasses(),style:this.styles,onClick:t=>this.handleClick(t),onMouseEnter:()=>this.handleMouseEnter(),onMouseLeave:()=>this.handleMouseLeave()},e("span",{class:"button-container"},this.getIcon(),e("cura-label",{class:"label",lineHeight:"0%",color:this.getSymbolColor()},e("slot",null))),e("cura-loader-circle",{size:this.size,color:"neutral-black"})):e("button",{class:this.getClasses(),style:this.styles,disabled:this.disabled||null,onClick:t=>this.handleClick(t),onMouseEnter:()=>this.handleMouseEnter(),onMouseLeave:()=>this.handleMouseLeave(),type:this.type},e("span",{class:"button-container"},this.getIcon(),e("cura-label",{class:"label",lineHeight:"0%",color:this.getSymbolColor()},e("slot",null))),e("cura-loader-circle",{size:this.size,color:"neutral-black"})))}static get formAssociated(){return true}static get watchers(){return{background:["setColors"],color:["setColors"]}}};m.style=g;const f=":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.714em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.bold-weight,:host h2.bold-weight,:host h3.bold-weight,:host h4.bold-weight,:host h5.bold-weight,:host h6.bold-weight{font-weight:var(--font-weight-medium)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.071em;letter-spacing:-0.58px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:calc(var(--line-height) + 20%)}:host h1.small.bold-weight,:host h1.small ::slotted(b),:host h1.small ::slotted(strong),:host h2.small.bold-weight,:host h2.small ::slotted(b),:host h2.small ::slotted(strong),:host h3.small.bold-weight,:host h3.small ::slotted(b),:host h3.small ::slotted(strong),:host h4.small.bold-weight,:host h4.small ::slotted(b),:host h4.small ::slotted(strong),:host h5.small.bold-weight,:host h5.small ::slotted(b),:host h5.small ::slotted(strong),:host h6.small.bold-weight,:host h6.small ::slotted(b),:host h6.small ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.714em;font-weight:var(--font-weight-medium);letter-spacing:0.6px}:host h1.xsmall.bold-weight,:host h1.xsmall ::slotted(b),:host h1.xsmall ::slotted(strong),:host h2.xsmall.bold-weight,:host h2.xsmall ::slotted(b),:host h2.xsmall ::slotted(strong),:host h3.xsmall.bold-weight,:host h3.xsmall ::slotted(b),:host h3.xsmall ::slotted(strong),:host h4.xsmall.bold-weight,:host h4.xsmall ::slotted(b),:host h4.xsmall ::slotted(strong),:host h5.xsmall.bold-weight,:host h5.xsmall ::slotted(b),:host h5.xsmall ::slotted(strong),:host h6.xsmall.bold-weight,:host h6.xsmall ::slotted(b),:host h6.xsmall ::slotted(strong){font-weight:var(--font-weight-bold)}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.357em;letter-spacing:-0.66px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.857em;line-height:calc(var(--line-height) + 3%);letter-spacing:0.72px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:calc(var(--line-height) + 5%);letter-spacing:-0.82px}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.929em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.714em;line-height:calc(var(--line-height) + 30%);letter-spacing:0%}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:1em;line-height:calc(var(--line-height) + 12.857%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-medium)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%;cursor:pointer}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}:host ::slotted(i),:host ::slotted(em){font-weight:var(--font-weight-medium)}";const p=f;const u=class{constructor(e){t(this,e);this.theme=window.CuraAPI.theme;this.level=1;this.size="medium";this.weight="regular";this.spotColor="accent-dark";this.color=undefined;this.marginBlock="1.25em";this.lineHeight="130%";this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){this.setFontProperties();this.setColors()}getClasses(){const t={};t[this.size.toLowerCase()]=true;t[`${this.weight.toLowerCase()}-weight`]=true;return t}setFontProperties(){this.weights=this.theme.fonts.getWeights();this.fontSizeBase=this.theme.fonts.getSize();this.styles={"--font-family":window.CuraAPI.theme.fonts.getFamily("heading"),"--font-weight-regular":this.weights.regular,"--font-weight-medium":this.weights.medium,"--font-weight-bold":this.weights.bold,"--font-weight-black":this.weights.black}}hostCSSProperties(){return{"--margin-block":this.marginBlock,"--font-size-base":this.fontSizeBase,"--line-height":this.lineHeight}}setColors(){const t=this.color?this.theme.colors.getColor(this.color):this.theme.fonts.getColor();this.styles=Object.assign(Object.assign({},this.styles),{"--color-body":t||this.theme.colors.getColor("neutral-darker"),"--color-link":this.theme.colors.getColor(`${this.spotColor}`)})}getHeadingTag(){const t={1:e("h1",{style:this.styles,class:this.getClasses()},e("slot",null)),2:e("h2",{style:this.styles,class:this.getClasses()},e("slot",null)),3:e("h3",{style:this.styles,class:this.getClasses()},e("slot",null)),4:e("h4",{style:this.styles,class:this.getClasses()},e("slot",null)),5:e("h5",{style:this.styles,class:this.getClasses()},e("slot",null)),6:e("h6",{style:this.styles,class:this.getClasses()},e("slot",null)),default:e("h1",{style:this.styles,class:this.getClasses()},e("slot",null))};return t[`${this.level}`]||t["default"]}render(){return e(o,{key:"456cd35fd9ad4389ceb13d3b89d05f70e2423068",style:this.hostCSSProperties()},this.getHeadingTag())}get host(){return i(this)}static get watchers(){return{color:["handleChangeColor"],spotColor:["handleChangeColor"]}}};u.style=p;const v=":host{width:var(--size);height:var(--size)}:host svg{display:inline-block;stroke:var(--color);width:var(--size);height:var(--size);stroke-width:var(--stroke);fill:none}";const w=v;const x=class{constructor(e){t(this,e);this.name="";this.color="neutral-base";this.size=undefined;this.iconset="default";this.disabled=false}sizeHandler(t){if(t==="micro"&&!s.includes(this.name)){t=16;console.warn(`Icon ${this.name} doesn't support micro size. Minimum size of 16 was applied instead.`)}const e=t=>`${a[t].stroke*(a.default.size/a[t].size)}px`;this.setHostProperty("--size",a[`${t}`]?`${a[t].size}px`:`${a.default.size}px`);this.setHostProperty("--stroke",a[`${t}`]?e(t):e("default"))}colorHandler(){this.setHostProperty("--color",window.CuraAPI.theme.colors.getColor(this.disabled?"neutral-light":this.color||"neutral"))}connectedCallback(){this.assetsPath=window.CuraAPI.localAssetsPath;this.sizeHandler(this.size);this.colorHandler()}setHostProperty(t,e){this.host.style.setProperty(t,e)}render(){return e(o,{key:"d49f752d12f9babd6a82fe97ef384f89879e1db9"},e("svg",{key:"0c6d9dad5f8f8b571dd422ebb5f7941a75b46336",version:"1.1",viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg"},e("use",{key:"88eab15bcbbff03713282d99055f140ccd424108",xlinkHref:`${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}`})))}get host(){return i(this)}static get watchers(){return{size:["sizeHandler"],color:["colorHandler"],disabled:["colorHandler"]}}};x.style=w;const k=":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:1.143em;font-weight:var(--font-weight-medium);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.32px}:host p.bold-weight,:host p ::slotted(b),:host p ::slotted(strong),:host p ::slotted(u){font-weight:var(--font-weight-bold)}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:0.56px}:host p.xsmall{font-size:0.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:0.72px}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";const y=k;const z=class{constructor(e){t(this,e);this.theme=window.CuraAPI.theme;this.size="medium";this.weight="regular";this.spotColor="accent-dark";this.color=undefined;this.marginBlock="0";this.lineHeight="125%";this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){this.setFontProperties();this.setColors()}getClasses(){const t={};t[this.size.toLowerCase()]=true;t[`${this.weight.toLowerCase()}-weight`]=true;return t}setFontProperties(){this.weights=this.theme.fonts.getWeights();this.fontSizeBase=this.theme.fonts.getSize();this.styles={"--font-family":this.theme.fonts.getFamily("body"),"--font-weight-medium":this.weights.medium,"--font-weight-bold":this.weights.bold}}setColors(){const t=this.color?this.theme.colors.getColor(this.color):this.theme.fonts.getColor();this.styles=Object.assign(Object.assign({},this.styles),{"--color-body":t||this.theme.colors.getColor("neutral-darker"),"--color-link":this.theme.colors.getColor(`${this.spotColor}`)})}hostCSSProperties(){return{"--margin-block":this.marginBlock,"--font-size-base":this.fontSizeBase,"--line-height":this.lineHeight}}render(){return e(o,{key:"42662869e7cc4cd7cc8ff29ef37209514eaea0ac",style:this.hostCSSProperties()},e("p",{key:"cf6be4faf13ab24e0ae65edea48b528763072a7b",style:this.styles,class:this.getClasses()},e("slot",{key:"45ee41cdc15f0c73672e4b3047df4508dbb870e3"})))}get host(){return i(this)}static get watchers(){return{color:["handleChangeColor"],spotColor:["handleChangeColor"]}}};z.style=y;const C=":host{display:inline-block;width:var(--size);height:var(--size)}:host svg{width:var(--size);height:var(--size);animation:rotate 0.7s linear infinite}:host circle,:host path{stroke-miterlimit:10;stroke-linecap:round;stroke-linejoin:round}:host path{stroke:var(--color)}:host stop{stop-color:var(--color)}:host linearGradient stop:first-child{stop-opacity:0.14}@keyframes rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}";const $=C;const L=class{constructor(e){t(this,e);this.sizes={xlarge:32,large:24,medium:20,small:16,default:16};this.getPxSize=()=>this.sizes[this.size]||this.sizes["default"];this.size="medium";this.color="neutral-white"}getStyles(){return{"--size":`${this.getPxSize()}px`,"--color":window.CuraAPI.theme.colors.getColor(this.color)}}render(){return e(o,{key:"8b2b73c6aefffd1a4350618ed52038a414cebb48",style:this.getStyles()},e("svg",{key:"4478c39440bc66adcb3bcf1d947ae12cd5c3c721",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"3c01be9c541a634c504a2b8f72296426b8cebe28"},e("circle",{key:"153102890325235a989b91badcadd00f852ccc3e",cx:"8",cy:"8",r:"7",stroke:"url(#paint0_linear_13485_11488)","stroke-width":"2"}),e("path",{key:"5fd7be471c351a46154fa96b459a99be297dfb5e",d:"M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5","stroke-width":"2"})),e("defs",{key:"89ce06231240879c222d93fc4efc44d963bbd167"},e("linearGradient",{key:"0999b93ff91ef7d31b9bfc70cfb08190838197e9",id:"paint0_linear_13485_11488",x1:"15.7",y1:"4.5",x2:"4.15",y2:"11.5",gradientUnits:"userSpaceOnUse"},e("stop",{key:"d7adf5104e03f40f4c757d218c0fc786e9f8ef2c"}),e("stop",{key:"8aaddbffb82d660aa8d62b2147efb74409218f41",offset:"1"})))))}};L.style=$;const _=':host{display:block}:host .grid-template{display:grid;grid-template-rows:auto;grid-template-columns:auto;grid-template-areas:"sub-header" "header" "pre-content" "content-container" "post-body" "footer" "sub-footer"}:host .grid-template #sub-header{grid-area:sub-header}:host .grid-template #header{grid-area:header}:host .grid-template #pre-content{grid-area:pre-content}:host .grid-template #content-container{grid-area:content-container}:host .grid-template #post-body{grid-area:post-body}:host .grid-template #footer{grid-area:footer}:host .grid-template #sub-footer{grid-area:sub-footer}@media (max-width: 768px){:host .grid-template{padding:0px}}@media (min-width: 769px) and (max-width: 992px){:host .grid-template{padding:0px}}@media (min-width: 993px) and (max-width: 1920px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 5px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 5px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}}@media (min-width: 1921px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 7px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 7px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}:host .grid-template #content-container.centered{max-width:1921px;justify-self:center}}';const j=_;const H=class{constructor(e){t(this,e);this.contentwidth="default"}connectedCallback(){this.styles={"--spacing":window.CuraAPI.theme.spacing.getSpacing()}}getClasses(){const t={};t[this.contentwidth.toLowerCase()]=true;return t}render(){return e(o,{key:"b420fd773b337fbf64107124c3a65b7d543aa0f9"},e("div",{key:"00e031bf40ed01904107f07367ee5b3042c1871f",style:this.styles,class:"grid-template"},e("div",{key:"4c5c8112fe739d2b330a5a71bfdd6f6339206b15",id:"sub-header"},e("slot",{key:"8b9896a17e6016bc791da8fd01f562a41d7f5bb1",name:"sub-header"})),e("div",{key:"9d45f7a18ce35ae550521b281cfc0d9ea5009343",id:"header"},e("slot",{key:"79ecbfb33b818b41c98f8a1f09243f6c2082b7bd",name:"header"})),e("div",{key:"129b9928ddd3c0f0c357fa71494b3b77876ecd49",id:"pre-content"},e("slot",{key:"71b6fbe0755848ac8df0a800e65b8ebc6909aff3",name:"pre-content"})),e("div",{key:"80389bc85c71768906aa2ab564a80b84a045705d",id:"content-container",class:this.getClasses()},e("div",{key:"438eb89b07be453c1a7caf31eb78879a6b000fc3",id:"sidebar-left"},e("slot",{key:"8e0dd99e31be8d03d767acdee8bd18f4f6fe80bd",name:"sidebar-left"})),e("div",{key:"21edd321d65ff1a685c699314a2d4617a14b6d09",id:"content"},e("slot",{key:"125f790bc5d5ecade8946c154b00fdb7591ec26f",name:"content"}),e("slot",{key:"e52dfd04c751d893335037f6dc970902a37a7d4f"})),e("div",{key:"3d35da8b265ca7a96fe36d8f037c6db0e0857537",id:"sidebar-right"},e("slot",{key:"1d812f29d7cc068b0c4f6e705a60defc91da7145",name:"sidebar-right"}))),e("div",{key:"10f23a4d4e837bbb11e140a5fd09be05836a27ba",id:"post-body"},e("slot",{key:"8f3bd8fea091a0b025e69f1a0916016f1354aeb8",name:"post-body"})),e("div",{key:"474062139aa0dd1ed49bc9c8594820fa2ff0ba83",id:"footer"},e("slot",{key:"ad46b1122b0875390822df6db770413980090f5e",name:"footer"})),e("div",{key:"c3de6dd778e675e38099d85d248e7923e276a25c",id:"sub-footer"},e("slot",{key:"81a48964dc8912a225ea9ea49478d674d8d7271b",name:"sub-footer"}))))}get host(){return i(this)}};H.style=j;const M=":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.28px}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.48px}:host p.caption,:host p.xsmall{font-size:0.714em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.6px}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.56px}:host p.caption,:host p.xsmall{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-bold)}:host ::slotted(a){font-weight:var(--font-weight-medium);color:var(--color-link);text-underline-offset:10%}:host ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";const O=M;const S=class{constructor(e){t(this,e);this.theme=window.CuraAPI.theme;this.size="medium";this.spotColor="accent-dark";this.color=undefined;this.marginBlock="1.25em";this.lineHeight="140%";this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){this.setFontProperties();this.setColors()}setsizeClass(){const t={};t[this.size.toLowerCase()]=true;return t}setFontProperties(){this.weights=this.theme.fonts.getWeights();this.fontSizeBase=this.theme.fonts.getSize();this.styles={"--font-family":this.theme.fonts.getFamily("body"),"--font-weight-regular":this.weights.regular,"--font-weight-medium":this.weights.medium,"--font-weight-bold":this.weights.bold}}setColors(){const t=this.color?this.theme.colors.getColor(this.color):this.theme.fonts.getColor();this.styles=Object.assign(Object.assign({},this.styles),{"--color-body":t||this.theme.colors.getColor("neutral-darker"),"--color-link":this.theme.colors.getColor(`${this.spotColor}`)})}hostCSSProperties(){return{"--margin-block":this.marginBlock,"--font-size-base":this.fontSizeBase,"--line-height":this.lineHeight}}render(){return e(o,{key:"5b219ac846a02c36df1db1ff5be6f0c5c833c2c1",style:this.hostCSSProperties()},e("p",{key:"e53f25d18b0b5d54548879872c0f234d3782b4f0",style:this.styles,class:this.setsizeClass()},e("slot",{key:"be875e98ec8c19682f972d0e4bb0bb07e9ee4224"})))}get host(){return i(this)}static get watchers(){return{color:["handleChangeColor"],spotColor:["handleChangeColor"]}}};S.style=O;export{n as cura_accordion,d as cura_accordion_item,m as cura_button,u as cura_heading,x as cura_icon,z as cura_label,L as cura_loader_circle,H as cura_page_template,S as cura_paragraph};
2
- //# sourceMappingURL=p-94b5c3b3.entry.js.map
1
+ import{r as t,h as e,H as o,g as i}from"./p-312791fb.js";import{m as s,i as a}from"./p-a7221f0c.js";const l=':host{display:block;color:var(--font-color);font-size:var(--font-size);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}:host::after{content:"";display:block;border-bottom:solid 1px var(--neutral-base);width:100%}';const h=l;const n=class{constructor(e){t(this,e);this.mutationObserverCallback=(t,e)=>{var o;for(const e of t){if(e.type==="attributes"&&e.attributeName==="opened"&&((o=e.target)===null||o===void 0?void 0:o["opened"])){if(this.behavior!=="default")continue;this.host.querySelectorAll("cura-accordion-item").forEach((t=>{if(t!=e.target){t.opened=false}}))}if(e.type==="childList"){const t=Array.from(e.addedNodes||[]);for(let e of t){this.setChildProperties(e)}}}};this.mutationObserver=new MutationObserver(this.mutationObserverCallback);this.color="primary";this.activeColor="accent";this.colorMode="dark";this.iconSize=32;this.openIcon="down";this.closeIcon="up";this.iconColor="";this.iconActiveColor="";this.behavior="default";this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){const t=window.CuraAPI.theme.fonts.getWeights();this.styles["--base-spacing"]=window.CuraAPI.theme.spacing.getSpacing();this.styles["--neutral-purewhite"]=window.CuraAPI.theme.colors.getColor(`neutral-purewhite`);this.styles["--neutral-lighter"]=window.CuraAPI.theme.colors.getColor(`neutral-lighter`);this.styles["--neutral-base"]=window.CuraAPI.theme.colors.getColor(`neutral-base`);this.styles["--font-size"]=window.CuraAPI.theme.fonts.getSize();this.styles["--font-color"]=window.CuraAPI.theme.fonts.getColor();this.styles["--font-family"]=window.CuraAPI.theme.fonts.getFamily();this.styles["--font-weight-regular"]=t.regular;this.setColors()}componentDidLoad(){this.host.querySelectorAll("cura-accordion-item").forEach((t=>{this.setChildProperties(t)}));const t={childList:true,subtree:true,attributes:true};this.mutationObserver.observe(this.host,t)}disconnectedCallback(){this.mutationObserver.disconnect()}setChildProperties(t){t.colorMode=this.colorMode;t.iconColor=this.iconColor||this.color;t.iconActiveColor=this.iconActiveColor||this.activeColor;t.iconSize=this.iconSize;t.openIcon=this.openIcon;t.closeIcon=this.closeIcon}setColors(){this.styles=Object.assign(Object.assign({},this.styles),{"--color-lighter":window.CuraAPI.theme.colors.getColor(`${this.color}-lighter`),"--color-light":window.CuraAPI.theme.colors.getColor(`${this.color}-light`),"--color-base":window.CuraAPI.theme.colors.getColor(`${this.color}-base`),"--color-dark":window.CuraAPI.theme.colors.getColor(`${this.color}-dark`),"--color-active-lighter":window.CuraAPI.theme.colors.getColor(`${this.activeColor}-lighter`),"--color-active-light":window.CuraAPI.theme.colors.getColor(`${this.activeColor}-light`),"--color-active-base":window.CuraAPI.theme.colors.getColor(`${this.activeColor}-base`),"--color-active-dark":window.CuraAPI.theme.colors.getColor(`${this.activeColor}-dark`),"--icon-color-lighter":window.CuraAPI.theme.colors.getColor(`${this.iconColor||this.color}-lighter`),"--icon-color-light":window.CuraAPI.theme.colors.getColor(`${this.iconColor||this.color}-light`),"--icon-color-base":window.CuraAPI.theme.colors.getColor(`${this.iconColor||this.color}-base`),"--icon-color-dark":window.CuraAPI.theme.colors.getColor(`${this.iconColor||this.color}-dark`),"--icon-color-active-lighter":window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor||this.activeColor}-lighter`),"--icon-color-active-light":window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor||this.activeColor}-light`),"--icon-color-active-base":window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor||this.activeColor}-base`),"--icon-color-active-dark":window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor||this.activeColor}-dark`)})}render(){return e(o,{key:"6d25b84df610918423ce8eac4213e4f012af6a20",style:this.styles},e("slot",{key:"812c3195ec83ecee009a221bc3bec303903c1e68",name:"accordion-item"}))}get host(){return i(this)}static get watchers(){return{color:["handleChangeColor"],activeColor:["handleChangeColor"]}}};n.style=h;const r=':host{display:block}:host .accordion-item{width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label::before{content:"";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--base-spacing) * 2px);min-height:40px;word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular);color:var(--color-base);padding:0px}:host .accordion-item .label .label-container cura-icon{margin-right:4px}:host .accordion-item .label .label-container:hover{color:var(--color-light)}:host .accordion-item .label .label-container:hover cura-icon{--color:var(--icon-color-light) !important}:host .accordion-item .label .label-container:active{color:var(--color-dark)}:host .accordion-item .label .label-container:active cura-icon{--color:var(--icon-color-dark) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height 0.25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--base-spacing) * 2px) 0px;border-top:solid 1px var(--neutral-base)}:host .accordion-item.active .label .label-container{color:var(--color-active-base)}:host .accordion-item.active .label .label-container:hover{color:var(--color-active-light)}:host .accordion-item.active .label .label-container:hover cura-icon{--color:var(--icon-color-active-light) !important}:host .accordion-item.active .label .label-container:active{color:var(--color-active-dark)}:host .accordion-item.active .label .label-container:active cura-icon{--color:var(--icon-color-active-dark) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height 0.5s ease 0.14s}:host .accordion-item.inverted .label .label-container{color:var(--neutral-lighter)}:host .accordion-item.inverted .label .label-container:hover{color:var(--color-lighter)}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color:var(--icon-color-lighter) !important}:host .accordion-item.inverted .label .label-container:active{color:var(--color-light)}:host .accordion-item.inverted .label .label-container:active cura-icon{--color:var(--icon-color-light) !important}:host .accordion-item.active.inverted .label .label-container{color:var(--neutral-purewhite)}:host .accordion-item.active.inverted .label .label-container:hover{color:var(--color-active-lighter)}:host .accordion-item.active.inverted .label .label-container:hover cura-icon{--color:var(--icon-color-active-lighter) !important}:host .accordion-item.active.inverted .label .label-container:active{color:var(--color-active-light)}:host .accordion-item.active.inverted .label .label-container:active cura-icon{--color:var(--icon-color-active-light) !important}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}';const c=r;const d=class{constructor(e){t(this,e);this.label="";this.iconSize=32;this.openIcon="down";this.closeIcon="up";this.iconColor="";this.iconActiveColor="";this.colorMode="dark";this.opened=false;this.styles={}}getIconColor(){const t=this.colorMode==="light";const e=t?"neutral-lighter":`${this.iconColor}-base`;const o=t?"neutral-purewhite":`${this.iconActiveColor}-base`;return this.opened?o:e}getClasses(){const t={};t["accordion-item"]=true;t["active"]=this.opened;t["inverted"]=this.colorMode==="light";return t}accordionItemClick(t){this.opened=!this.opened}render(){return e(o,{key:"8d46e9fd7c698c049a9020375cd77b5ebb9d38fd",slot:"accordion-item"},e("div",{key:"fdc11f228f3051f2452b0beb56e232de836fa382",class:this.getClasses(),style:this.styles},e("div",{key:"7507b6c72d3433550b1590530c8070fe07431389",class:"label",onClick:t=>this.accordionItemClick(t)},e("div",{key:"8f6d6deb3fc2e864ac81abb744c5d4a32ad6b974",class:"label-container"},e("span",{key:"7b1a4e96fa8c3dfdfffa7890c17ed8afacf3032f"},this.label),e("cura-icon",{key:"0f9c6f9dc664ad96a7b02c084700fd8f75fbc677",name:this.opened?this.closeIcon:this.openIcon,size:this.iconSize,color:this.getIconColor()}))),e("div",{key:"fb1860aa74170ff18edc03b8171356cd1a1fd271",class:"content"},e("div",{key:"4d3c9252658e9c30521353579f0b3ef9bc8a3087",class:"content-wrapper"},e("slot",{key:"067f12a534860a5942d01d5945d1e4d272e5a541"})))))}};d.style=c;const b=':host{--border-radius:4px;display:inline-block;vertical-align:middle;position:relative}:host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:var(--color-base-neutral-purewhite);box-sizing:border-box;border:2px solid transparent}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button:not(.disabled):not(.isLoading),:host a:not(.disabled):not(.isLoading){border:2px solid var(--color-base-color-light)}:host button:not(.disabled):hover,:host a:not(.disabled):hover{border-color:var(--color-dark-color-base);background:var(--color-base-color-light);box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}:host button:not(.isLoading):not(.disabled):active,:host a:not(.isLoading):not(.disabled):active{background-color:var(--color-dark-color-light);border-color:var(--color-dark-color-light)}:host button:hover,:host a:hover{box-shadow:0 4px 8px 0 rgba(38, 38, 38, 0.16)}:host button.medium:hover,:host a.medium:hover{box-shadow:0 3px 6px 0 rgba(38, 38, 38, 0.16)}:host button.small:hover,:host a.small:hover{box-shadow:0 2px 5px 0 rgba(38, 38, 38, 0.16)}:host button:active,:host button.disabled:hover,:host button.isLoading:hover,:host a:active,:host a.disabled:hover,:host a.isLoading:hover{box-shadow:none !important}:host button.large,:host a.large{padding:calc(var(--base-spacing) * 6.12px) calc(var(--base-spacing) * 9.96px);min-height:calc(var(--base-spacing) * 13px);min-width:calc(var(--base-spacing) * 33.7px)}:host button.medium,:host a.medium{padding:calc(var(--base-spacing) * 3.44px) calc(var(--base-spacing) * 9.96px);min-height:calc(var(--base-spacing) * 11px);min-width:calc(var(--base-spacing) * 29.95px)}:host button.small,:host a.small{padding:calc(var(--base-spacing) * 3.24px) calc(var(--base-spacing) * 7.44px);min-height:calc(var(--base-spacing) * 8px);min-width:calc(var(--base-spacing) * 21.67px)}:host button:not(.isLoading).large,:host a:not(.isLoading).large{padding:calc(var(--base-spacing) * 3.5px) calc(var(--base-spacing) * 4px);min-height:calc(var(--base-spacing) * 13px);min-width:calc(var(--base-spacing) * 13px)}:host button:not(.isLoading).medium,:host a:not(.isLoading).medium{padding:calc(var(--base-spacing) * 2.75px) calc(var(--base-spacing) * 4px);min-height:calc(var(--base-spacing) * 11px);min-width:calc(var(--base-spacing) * 11px)}:host button:not(.isLoading).small,:host a:not(.isLoading).small{padding:calc(var(--base-spacing) * 1.5px) calc(var(--base-spacing) * 3px);min-height:calc(var(--base-spacing) * 8px);min-width:calc(var(--base-spacing) * 8px)}:host button .button-container,:host a .button-container{display:flex;align-items:center;opacity:1;transition:opacity 0.2s linear;position:relative}:host button.icon-right .button-container,:host a.icon-right .button-container{flex-direction:row-reverse}:host button cura-label,:host a cura-label{flex:1;font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:1.43em;line-height:1.2em;text-align:var(--text-align, "left")}:host button.medium cura-label,:host a.medium cura-label{font-size:1.14em}:host button.small cura-label,:host a.small cura-label{font-size:1em}:host button.icon-left cura-icon,:host a.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 3px)}:host button.icon-right cura-icon,:host a.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 3px)}:host button.medium.icon-left cura-icon,:host a.medium.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 2.7px)}:host button.medium.icon-right cura-icon,:host a.medium.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 2.7px)}:host button.small.icon-left cura-icon,:host a.small.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 2.5px)}:host button.small.icon-right cura-icon,:host a.small.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 2.5px)}:host button.disabled,:host a.disabled{cursor:not-allowed;background-color:var(--neutral-pale-neutral-black)}:host button.icon-only,:host a.icon-only{padding:calc(var(--base-spacing) * 3.5px)}:host button.icon-only cura-label,:host a.icon-only cura-label{display:none}:host button.icon-only cura-icon,:host a.icon-only cura-icon{margin-left:0 !important;margin-right:0 !important}:host button.icon-only.medium,:host a.icon-only.medium{padding:calc(var(--base-spacing) * 2.75px)}:host button.icon-only.small,:host a.icon-only.small{padding:calc(var(--base-spacing) * 1.5px)}:host button cura-loader-circle,:host a cura-loader-circle{position:absolute;display:none}:host button.isLoading,:host a.isLoading{cursor:wait}:host button.isLoading .button-container,:host a.isLoading .button-container{opacity:0.3}:host button.isLoading.icon-only .button-container,:host a.isLoading.icon-only .button-container{opacity:0}:host button.isLoading cura-loader-circle,:host a.isLoading cura-loader-circle{display:block}:host button.isLoading cura-label,:host a.isLoading cura-label{display:none}';const g=b;const m=class{constructor(e){t(this,e);if(e.$hostElement$["s-ei"]){this.internals=e.$hostElement$["s-ei"]}else{this.internals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.internals}this.type="button";this.size="large";this.disabled=false;this.isLoading=false;this.iconName=undefined;this.iconset="default";this.iconPosition="left";this.iconOnly=false;this.href=undefined;this.target="_self";this.color="accent";this.background="light";this.fontColor="dark";this.textAlign="left";this.styles={};this.hovered=false}connectedCallback(){this.weights=window.CuraAPI.theme.fonts.getWeights();this.styles["--base-spacing"]=window.CuraAPI.theme.spacing.getSpacing();this.styles["--font-size"]=window.CuraAPI.theme.fonts.getSize();this.styles["--font-family"]=window.CuraAPI.theme.fonts.getFamily();this.styles["--font-weight-medium"]=this.weights.medium;this.styles["--text-align"]=this.textAlign;this.setColors()}setColors(){const t=[{name:"--color-base-neutral-purewhite",theme:`${this.background==="light"?`${this.color}-base`:"neutral-pale"}`},{name:"--color-base-color-light",theme:`${this.background==="light"?`${this.color}-base`:`${this.color}-lighter`}`},{name:"--color-dark-color-light",theme:`${this.background==="light"?`${this.color}-dark`:`${this.color}-light`}`},{name:"--color-dark-color-base",theme:`${this.background==="light"?`${this.color}-dark`:`${this.color}-base`}`},{name:"--neutral-pale-neutral-black",theme:`${this.background==="light"?"neutral-pale":"neutral-black"}`}];t.forEach((t=>this.styles[t.name]=window.CuraAPI.theme.colors.getColor(t.theme)));this.styles=Object.assign({},this.styles)}handleMouseEnter(){if(this.disabled)return;this.hovered=true}handleMouseLeave(){this.hovered=false}getClasses(){var t,e;const o={};o[`${(t=this.size)===null||t===void 0?void 0:t.toLowerCase()}`]=true;o[`icon-${(e=this.iconPosition)===null||e===void 0?void 0:e.toLowerCase()}`]=true;o[`icon-only`]=this.iconOnly;o["disabled"]=this.disabled;o["isLoading"]=this.isLoading;return o}getIcon(){if(!this.iconName||this.isLoading)return"";const t=this.size==="small"?16:this.size==="medium"?20:24;return e("cura-icon",{name:this.iconName,iconset:this.iconset,size:t,color:this.getSymbolColor()})}getSymbolColor(){return this.disabled?"neutral-dark":this.fontColor==="light"?"neutral-white":"neutral-black"}handleClick(t){if(this.disabled||this.isLoading){t.preventDefault();return}if(!this.href){if(this.type==="submit"&&this.internals.form)this.internals.form.submit();if(this.type==="reset"&&this.internals.form)this.internals.form.reset()}}render(){return e(o,{key:"7491e8209b9193f5e7f51ead1b08afe88b160ec1"},this.href?e("a",{href:this.disabled?"":this.href,target:this.target,class:this.getClasses(),style:this.styles,onClick:t=>this.handleClick(t),onMouseEnter:()=>this.handleMouseEnter(),onMouseLeave:()=>this.handleMouseLeave()},e("span",{class:"button-container"},this.getIcon(),e("cura-label",{class:"label",lineHeight:"0%",color:this.getSymbolColor()},e("slot",null))),e("cura-loader-circle",{size:this.size,color:"neutral-black"})):e("button",{class:this.getClasses(),style:this.styles,disabled:this.disabled||null,onClick:t=>this.handleClick(t),onMouseEnter:()=>this.handleMouseEnter(),onMouseLeave:()=>this.handleMouseLeave(),type:this.type},e("span",{class:"button-container"},this.getIcon(),e("cura-label",{class:"label",lineHeight:"0%",color:this.getSymbolColor()},e("slot",null))),e("cura-loader-circle",{size:this.size,color:"neutral-black"})))}static get formAssociated(){return true}static get watchers(){return{background:["setColors"],color:["setColors"]}}};m.style=g;const f=":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.714em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.bold-weight,:host h2.bold-weight,:host h3.bold-weight,:host h4.bold-weight,:host h5.bold-weight,:host h6.bold-weight{font-weight:var(--font-weight-medium)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.071em;letter-spacing:-0.58px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:calc(var(--line-height) + 20%)}:host h1.small.bold-weight,:host h1.small ::slotted(b),:host h1.small ::slotted(strong),:host h2.small.bold-weight,:host h2.small ::slotted(b),:host h2.small ::slotted(strong),:host h3.small.bold-weight,:host h3.small ::slotted(b),:host h3.small ::slotted(strong),:host h4.small.bold-weight,:host h4.small ::slotted(b),:host h4.small ::slotted(strong),:host h5.small.bold-weight,:host h5.small ::slotted(b),:host h5.small ::slotted(strong),:host h6.small.bold-weight,:host h6.small ::slotted(b),:host h6.small ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.714em;font-weight:var(--font-weight-medium);letter-spacing:0.6px}:host h1.xsmall.bold-weight,:host h1.xsmall ::slotted(b),:host h1.xsmall ::slotted(strong),:host h2.xsmall.bold-weight,:host h2.xsmall ::slotted(b),:host h2.xsmall ::slotted(strong),:host h3.xsmall.bold-weight,:host h3.xsmall ::slotted(b),:host h3.xsmall ::slotted(strong),:host h4.xsmall.bold-weight,:host h4.xsmall ::slotted(b),:host h4.xsmall ::slotted(strong),:host h5.xsmall.bold-weight,:host h5.xsmall ::slotted(b),:host h5.xsmall ::slotted(strong),:host h6.xsmall.bold-weight,:host h6.xsmall ::slotted(b),:host h6.xsmall ::slotted(strong){font-weight:var(--font-weight-bold)}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.357em;letter-spacing:-0.66px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.857em;line-height:calc(var(--line-height) + 3%);letter-spacing:0.72px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:calc(var(--line-height) + 5%);letter-spacing:-0.82px}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.929em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.714em;line-height:calc(var(--line-height) + 30%);letter-spacing:0%}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:1em;line-height:calc(var(--line-height) + 12.857%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-medium)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%;cursor:pointer}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}:host ::slotted(i),:host ::slotted(em){font-weight:var(--font-weight-medium)}";const p=f;const u=class{constructor(e){t(this,e);this.theme=window.CuraAPI.theme;this.level=1;this.size="medium";this.weight="regular";this.spotColor="accent-dark";this.color=undefined;this.marginBlock="1.25em";this.lineHeight="130%";this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){this.setFontProperties();this.setColors()}getClasses(){const t={};t[this.size.toLowerCase()]=true;t[`${this.weight.toLowerCase()}-weight`]=true;return t}setFontProperties(){this.weights=this.theme.fonts.getWeights();this.fontSizeBase=this.theme.fonts.getSize();this.styles={"--font-family":window.CuraAPI.theme.fonts.getFamily("heading"),"--font-weight-regular":this.weights.regular,"--font-weight-medium":this.weights.medium,"--font-weight-bold":this.weights.bold,"--font-weight-black":this.weights.black}}hostCSSProperties(){return{"--margin-block":this.marginBlock,"--font-size-base":this.fontSizeBase,"--line-height":this.lineHeight}}setColors(){const t=this.color?this.theme.colors.getColor(this.color):this.theme.fonts.getColor();this.styles=Object.assign(Object.assign({},this.styles),{"--color-body":t||this.theme.colors.getColor("neutral-darker"),"--color-link":this.theme.colors.getColor(`${this.spotColor}`)})}getHeadingTag(){const t={1:e("h1",{style:this.styles,class:this.getClasses()},e("slot",null)),2:e("h2",{style:this.styles,class:this.getClasses()},e("slot",null)),3:e("h3",{style:this.styles,class:this.getClasses()},e("slot",null)),4:e("h4",{style:this.styles,class:this.getClasses()},e("slot",null)),5:e("h5",{style:this.styles,class:this.getClasses()},e("slot",null)),6:e("h6",{style:this.styles,class:this.getClasses()},e("slot",null)),default:e("h1",{style:this.styles,class:this.getClasses()},e("slot",null))};return t[`${this.level}`]||t["default"]}render(){return e(o,{key:"456cd35fd9ad4389ceb13d3b89d05f70e2423068",style:this.hostCSSProperties()},this.getHeadingTag())}get host(){return i(this)}static get watchers(){return{color:["handleChangeColor"],spotColor:["handleChangeColor"]}}};u.style=p;const v=":host{width:var(--size);height:var(--size)}:host svg{display:inline-block;stroke:var(--color);width:var(--size);height:var(--size);stroke-width:var(--stroke);fill:none}";const w=v;const x=class{constructor(e){t(this,e);this.name="";this.color="neutral-base";this.size=undefined;this.iconset="default";this.disabled=false}sizeHandler(t){if(t==="micro"&&!s.includes(this.name)){t=16;console.warn(`Icon ${this.name} doesn't support micro size. Minimum size of 16 was applied instead.`)}const e=t=>`${a[t].stroke*(a.default.size/a[t].size)}px`;this.setHostProperty("--size",a[`${t}`]?`${a[t].size}px`:`${a.default.size}px`);this.setHostProperty("--stroke",a[`${t}`]?e(t):e("default"))}colorHandler(){this.setHostProperty("--color",window.CuraAPI.theme.colors.getColor(this.disabled?"neutral-light":this.color||"neutral"))}connectedCallback(){this.assetsPath=window.CuraAPI.localAssetsPath;this.sizeHandler(this.size);this.colorHandler()}setHostProperty(t,e){this.host.style.setProperty(t,e)}render(){return e(o,{key:"d49f752d12f9babd6a82fe97ef384f89879e1db9"},e("svg",{key:"0c6d9dad5f8f8b571dd422ebb5f7941a75b46336",version:"1.1",viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg"},e("use",{key:"88eab15bcbbff03713282d99055f140ccd424108",xlinkHref:`${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}`})))}get host(){return i(this)}static get watchers(){return{size:["sizeHandler"],color:["colorHandler"],disabled:["colorHandler"]}}};x.style=w;const k=":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:1.143em;font-weight:var(--font-weight-medium);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.32px}:host p.bold-weight,:host p ::slotted(b),:host p ::slotted(strong),:host p ::slotted(u){font-weight:var(--font-weight-bold)}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:0.56px}:host p.xsmall{font-size:0.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:0.72px}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";const y=k;const z=class{constructor(e){t(this,e);this.theme=window.CuraAPI.theme;this.size="medium";this.weight="regular";this.spotColor="accent-dark";this.color=undefined;this.marginBlock="0";this.lineHeight="125%";this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){this.setFontProperties();this.setColors()}getClasses(){const t={};t[this.size.toLowerCase()]=true;t[`${this.weight.toLowerCase()}-weight`]=true;return t}setFontProperties(){this.weights=this.theme.fonts.getWeights();this.fontSizeBase=this.theme.fonts.getSize();this.styles={"--font-family":this.theme.fonts.getFamily("body"),"--font-weight-medium":this.weights.medium,"--font-weight-bold":this.weights.bold}}setColors(){const t=this.color?this.theme.colors.getColor(this.color):this.theme.fonts.getColor();this.styles=Object.assign(Object.assign({},this.styles),{"--color-body":t||this.theme.colors.getColor("neutral-darker"),"--color-link":this.theme.colors.getColor(`${this.spotColor}`)})}hostCSSProperties(){return{"--margin-block":this.marginBlock,"--font-size-base":this.fontSizeBase,"--line-height":this.lineHeight}}render(){return e(o,{key:"42662869e7cc4cd7cc8ff29ef37209514eaea0ac",style:this.hostCSSProperties()},e("p",{key:"cf6be4faf13ab24e0ae65edea48b528763072a7b",style:this.styles,class:this.getClasses()},e("slot",{key:"45ee41cdc15f0c73672e4b3047df4508dbb870e3"})))}get host(){return i(this)}static get watchers(){return{color:["handleChangeColor"],spotColor:["handleChangeColor"]}}};z.style=y;const C=":host{display:inline-block;width:var(--size);height:var(--size)}:host svg{width:var(--size);height:var(--size);animation:rotate 0.7s linear infinite}:host circle,:host path{stroke-miterlimit:10;stroke-linecap:round;stroke-linejoin:round}:host path{stroke:var(--color)}:host stop{stop-color:var(--color)}:host linearGradient stop:first-child{stop-opacity:0.14}@keyframes rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}";const $=C;const L=class{constructor(e){t(this,e);this.sizes={xlarge:32,large:24,medium:20,small:16,default:16};this.getPxSize=()=>this.sizes[this.size]||this.sizes["default"];this.size="medium";this.color="neutral-white"}getStyles(){return{"--size":`${this.getPxSize()}px`,"--color":window.CuraAPI.theme.colors.getColor(this.color)}}render(){return e(o,{key:"8b2b73c6aefffd1a4350618ed52038a414cebb48",style:this.getStyles()},e("svg",{key:"4478c39440bc66adcb3bcf1d947ae12cd5c3c721",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"3c01be9c541a634c504a2b8f72296426b8cebe28"},e("circle",{key:"153102890325235a989b91badcadd00f852ccc3e",cx:"8",cy:"8",r:"7",stroke:"url(#paint0_linear_13485_11488)","stroke-width":"2"}),e("path",{key:"5fd7be471c351a46154fa96b459a99be297dfb5e",d:"M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5","stroke-width":"2"})),e("defs",{key:"89ce06231240879c222d93fc4efc44d963bbd167"},e("linearGradient",{key:"0999b93ff91ef7d31b9bfc70cfb08190838197e9",id:"paint0_linear_13485_11488",x1:"15.7",y1:"4.5",x2:"4.15",y2:"11.5",gradientUnits:"userSpaceOnUse"},e("stop",{key:"d7adf5104e03f40f4c757d218c0fc786e9f8ef2c"}),e("stop",{key:"8aaddbffb82d660aa8d62b2147efb74409218f41",offset:"1"})))))}};L.style=$;const _=':host{display:block}:host .grid-template{display:grid;grid-template-rows:auto;grid-template-columns:auto;grid-template-areas:"sub-header" "header" "pre-content" "content-container" "post-body" "footer" "sub-footer"}:host .grid-template #sub-header{grid-area:sub-header}:host .grid-template #header{grid-area:header}:host .grid-template #pre-content{grid-area:pre-content}:host .grid-template #content-container{grid-area:content-container}:host .grid-template #post-body{grid-area:post-body}:host .grid-template #footer{grid-area:footer}:host .grid-template #sub-footer{grid-area:sub-footer}@media (max-width: 768px){:host .grid-template{padding:0px}}@media (min-width: 769px) and (max-width: 992px){:host .grid-template{padding:0px}}@media (min-width: 993px) and (max-width: 1920px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 5px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 5px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}}@media (min-width: 1921px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 7px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 7px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}:host .grid-template #content-container.centered{max-width:1921px;justify-self:center}}';const j=_;const H=class{constructor(e){t(this,e);this.contentwidth="default"}connectedCallback(){this.styles={"--spacing":window.CuraAPI.theme.spacing.getSpacing()}}getClasses(){const t={};t[this.contentwidth.toLowerCase()]=true;return t}render(){return e(o,{key:"b420fd773b337fbf64107124c3a65b7d543aa0f9"},e("div",{key:"00e031bf40ed01904107f07367ee5b3042c1871f",style:this.styles,class:"grid-template"},e("div",{key:"4c5c8112fe739d2b330a5a71bfdd6f6339206b15",id:"sub-header"},e("slot",{key:"8b9896a17e6016bc791da8fd01f562a41d7f5bb1",name:"sub-header"})),e("div",{key:"9d45f7a18ce35ae550521b281cfc0d9ea5009343",id:"header"},e("slot",{key:"79ecbfb33b818b41c98f8a1f09243f6c2082b7bd",name:"header"})),e("div",{key:"129b9928ddd3c0f0c357fa71494b3b77876ecd49",id:"pre-content"},e("slot",{key:"71b6fbe0755848ac8df0a800e65b8ebc6909aff3",name:"pre-content"})),e("div",{key:"80389bc85c71768906aa2ab564a80b84a045705d",id:"content-container",class:this.getClasses()},e("div",{key:"438eb89b07be453c1a7caf31eb78879a6b000fc3",id:"sidebar-left"},e("slot",{key:"8e0dd99e31be8d03d767acdee8bd18f4f6fe80bd",name:"sidebar-left"})),e("div",{key:"21edd321d65ff1a685c699314a2d4617a14b6d09",id:"content"},e("slot",{key:"125f790bc5d5ecade8946c154b00fdb7591ec26f",name:"content"}),e("slot",{key:"e52dfd04c751d893335037f6dc970902a37a7d4f"})),e("div",{key:"3d35da8b265ca7a96fe36d8f037c6db0e0857537",id:"sidebar-right"},e("slot",{key:"1d812f29d7cc068b0c4f6e705a60defc91da7145",name:"sidebar-right"}))),e("div",{key:"10f23a4d4e837bbb11e140a5fd09be05836a27ba",id:"post-body"},e("slot",{key:"8f3bd8fea091a0b025e69f1a0916016f1354aeb8",name:"post-body"})),e("div",{key:"474062139aa0dd1ed49bc9c8594820fa2ff0ba83",id:"footer"},e("slot",{key:"ad46b1122b0875390822df6db770413980090f5e",name:"footer"})),e("div",{key:"c3de6dd778e675e38099d85d248e7923e276a25c",id:"sub-footer"},e("slot",{key:"81a48964dc8912a225ea9ea49478d674d8d7271b",name:"sub-footer"}))))}get host(){return i(this)}};H.style=j;const M=":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.28px}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.48px}:host p.caption,:host p.xsmall{font-size:0.714em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.6px}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.56px}:host p.caption,:host p.xsmall{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-bold)}:host ::slotted(a){font-weight:var(--font-weight-medium);color:var(--color-link);text-underline-offset:10%}:host ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";const O=M;const S=class{constructor(e){t(this,e);this.theme=window.CuraAPI.theme;this.size="medium";this.spotColor="accent-dark";this.color=undefined;this.marginBlock="1.25em";this.lineHeight="140%";this.styles={}}handleChangeColor(){this.setColors()}connectedCallback(){this.setFontProperties();this.setColors()}setsizeClass(){const t={};t[this.size.toLowerCase()]=true;return t}setFontProperties(){this.weights=this.theme.fonts.getWeights();this.fontSizeBase=this.theme.fonts.getSize();this.styles={"--font-family":this.theme.fonts.getFamily("body"),"--font-weight-regular":this.weights.regular,"--font-weight-medium":this.weights.medium,"--font-weight-bold":this.weights.bold}}setColors(){const t=this.color?this.theme.colors.getColor(this.color):this.theme.fonts.getColor();this.styles=Object.assign(Object.assign({},this.styles),{"--color-body":t||this.theme.colors.getColor("neutral-darker"),"--color-link":this.theme.colors.getColor(`${this.spotColor}`)})}hostCSSProperties(){return{"--margin-block":this.marginBlock,"--font-size-base":this.fontSizeBase,"--line-height":this.lineHeight}}render(){return e(o,{key:"5b219ac846a02c36df1db1ff5be6f0c5c833c2c1",style:this.hostCSSProperties()},e("p",{key:"e53f25d18b0b5d54548879872c0f234d3782b4f0",style:this.styles,class:this.setsizeClass()},e("slot",{key:"be875e98ec8c19682f972d0e4bb0bb07e9ee4224"})))}get host(){return i(this)}static get watchers(){return{color:["handleChangeColor"],spotColor:["handleChangeColor"]}}};S.style=O;export{n as cura_accordion,d as cura_accordion_item,m as cura_button,u as cura_heading,x as cura_icon,z as cura_label,L as cura_loader_circle,H as cura_page_template,S as cura_paragraph};
2
+ //# sourceMappingURL=p-93389727.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as i,H as a}from"./p-586bbe43.js";import{i as c,m as r}from"./p-a7221f0c.js";const l=["360","accessibility","addUser","airdrop","alertCircle","alertTriangle","arrowDown","arrowDownCircle","arrowLeft","arrowLeftCircle","arrowRight","arrowRightCircle","arrowUp","arrowUpCircle","attach","avatarF","avatarM","biometry","bloodGroup","calendar","cam","camOff","central","chatCircle","check","checkBadge","checkCircle","checkDouble","clock","close","closeCircle","collapse","config","contacts","currency","delete","desktop","doc","down","download","duplicate","edit","exam","examDoc","expand","facebook","fileBmp","fileJpg","filePdf","filePng","fileUpload","fileXls","filter","fullscreen","gallery","geotag","geotagUnity","geotagUnityGroup","google","graph","healthPlan","heart","height","height2","home","horizontalList","imageUp","infoCircle","instagram","key","lamp","language","language2","languageEN","languagePT","lattes","left","like","link","linkExternal","linkedin","list","login","logout","mail","maintenance","medDoc","medEspec","medImg","medUser","medical","menuHamburguer","menuKebab","menuMeatballs","mic","micOff","minus","minusCircle","minusSquare","mobile","news","notification","npsDeslike","npsHate","npsLike","npsLove","npsNeutral","order","partner","phone","play","plus","plusCircle","plusSquare","print","profile","profileCircle","questionCircle","questionSquare","range","reload","ribbon","right","schedule","scheduleCancel","scheduleCheck","scheduleHistorico","search","secure","share","siren","sound","soundOff","subItem","swap","target","team","telegram","twitter","unLink","unSecure","unity","unlike","up","upload","verticalList","viewFalse","viewTrue","weight","whatsapp","wifi","wifiOff","youtube","zoomIn","zoomOut"];const n=':host{display:block;padding:24px;font-family:"Roboto", Arial, Helvetica, sans-serif}.iconDetail{display:block}.iconSizes{display:flex;align-items:center}.iconSizes .size{display:flex;flex-direction:column;text-align:center;align-items:center;margin-right:9px;padding:8px}.iconSizes .size:last-child{margin-right:0}.iconSizes .size span{font-size:10px;margin:8px 0}.iconSizes.invert{margin-top:12px}.iconSizes.invert .size{background-color:#2d2d2d;color:#F6F6F6;border-radius:3px}.icons{margin-top:28px;display:flex;flex-wrap:wrap;position:relative}.icons .icon{position:relative;padding:4px;cursor:pointer;opacity:0.6;transition:opacity 0.2s linear;width:105px;display:flex;flex-direction:column;text-align:center;align-items:center;margin-bottom:16px;box-sizing:border-box;}.icons .icon cura-label{margin-top:8px}.icons .icon cura-paragraph{margin-top:4px}';const s=n;const o=class{constructor(i){e(this,i);this.sizes=Object.keys(c).filter((e=>e!=="default"));this.colors=["primary","secondary","accent","info","warning","error","success","neutral"];this.setSelected=e=>{this.selected=e};this.selected=l[0]}connectedCallback(){this.sizes.unshift(this.sizes.pop())}render(){return i(a,{key:"57820e2608c03f54b58656602ca329c7166e142e"},i("div",{key:"47fb932e5b2c0876f58fde68b88e30193e14b590",class:"iconDetail"},i("cura-heading",{key:"b4ad008b60026ac7ceccee16c68276e9bef114cb",size:"small","margin-block":"0 24px"},"Icon: ",i("b",{key:"6634d3ae9cf33df1942563e44e72f470199725e5"},this.selected)),i("div",{key:"8c565d1b3714dc5b1aad971e408cab340a4aca46",class:"iconSizes"},this.sizes.map((e=>e==="micro"&&!r.includes(this.selected)?"":i("div",{class:"size"},i("cura-icon",{name:this.selected,size:e}),i("span",null,e))))),i("div",{key:"d979d1169689f583900d85d592c29bb2869ff62a",class:"iconSizes invert"},this.sizes.map((e=>e==="micro"&&!r.includes(this.selected)?"":i("div",{class:"size"},i("cura-icon",{name:this.selected,size:e,color:"neutral-white"}),i("span",null,e)))))),i("div",{key:"0ed5c55f057bcdea8de3bdaa1d2f45a516763d95",class:"icons"},l.map((e=>i("div",{class:{icon:true,selected:e===this.selected},onClick:()=>this.setSelected(e)},i("cura-icon",{name:e,size:"32",color:e===this.selected?"accent-dark":"neutral-dark"}),i("cura-label",{size:"xsmall",weight:e===this.selected?"bold":"regular",color:e===this.selected?"accent-dark":"neutral-dark"},e),!r.includes(e)?"":i("cura-paragraph",{color:"success-dark",size:"xsmall","margin-block":"0px","line-height":"100%"},"MICRO"))))))}};o.style=s;export{o as cura_icons_view};
2
- //# sourceMappingURL=p-45a0a5e8.entry.js.map
1
+ import{r as e,h as i,H as a}from"./p-312791fb.js";import{i as c,m as r}from"./p-a7221f0c.js";const l=["360","accessibility","addUser","airdrop","alertCircle","alertTriangle","arrowDown","arrowDownCircle","arrowLeft","arrowLeftCircle","arrowRight","arrowRightCircle","arrowUp","arrowUpCircle","attach","avatarF","avatarM","biometry","bloodGroup","calendar","cam","camOff","central","chatCircle","check","checkBadge","checkCircle","checkDouble","clock","close","closeCircle","collapse","config","contacts","currency","delete","desktop","doc","down","download","duplicate","edit","exam","examDoc","expand","facebook","fileBmp","fileJpg","filePdf","filePng","fileUpload","fileXls","filter","fullscreen","gallery","geotag","geotagUnity","geotagUnityGroup","google","graph","healthPlan","heart","height","height2","home","horizontalList","imageUp","infoCircle","instagram","key","lamp","language","language2","languageEN","languagePT","lattes","left","like","link","linkExternal","linkedin","list","login","logout","mail","maintenance","medDoc","medEspec","medImg","medUser","medical","menuHamburguer","menuKebab","menuMeatballs","mic","micOff","minus","minusCircle","minusSquare","mobile","news","notification","npsDeslike","npsHate","npsLike","npsLove","npsNeutral","order","partner","phone","play","plus","plusCircle","plusSquare","print","profile","profileCircle","questionCircle","questionSquare","range","reload","ribbon","right","schedule","scheduleCancel","scheduleCheck","scheduleHistorico","search","secure","share","siren","sound","soundOff","subItem","swap","target","team","telegram","twitter","unLink","unSecure","unity","unlike","up","upload","verticalList","viewFalse","viewTrue","weight","whatsapp","wifi","wifiOff","youtube","zoomIn","zoomOut"];const n=':host{display:block;padding:24px;font-family:"Roboto", Arial, Helvetica, sans-serif}.iconDetail{display:block}.iconSizes{display:flex;align-items:center}.iconSizes .size{display:flex;flex-direction:column;text-align:center;align-items:center;margin-right:9px;padding:8px}.iconSizes .size:last-child{margin-right:0}.iconSizes .size span{font-size:10px;margin:8px 0}.iconSizes.invert{margin-top:12px}.iconSizes.invert .size{background-color:#2d2d2d;color:#F6F6F6;border-radius:3px}.icons{margin-top:28px;display:flex;flex-wrap:wrap;position:relative}.icons .icon{position:relative;padding:4px;cursor:pointer;opacity:0.6;transition:opacity 0.2s linear;width:105px;display:flex;flex-direction:column;text-align:center;align-items:center;margin-bottom:16px;box-sizing:border-box;}.icons .icon cura-label{margin-top:8px}.icons .icon cura-paragraph{margin-top:4px}';const s=n;const o=class{constructor(i){e(this,i);this.sizes=Object.keys(c).filter((e=>e!=="default"));this.colors=["primary","secondary","accent","info","warning","error","success","neutral"];this.setSelected=e=>{this.selected=e};this.selected=l[0]}connectedCallback(){this.sizes.unshift(this.sizes.pop())}render(){return i(a,{key:"57820e2608c03f54b58656602ca329c7166e142e"},i("div",{key:"47fb932e5b2c0876f58fde68b88e30193e14b590",class:"iconDetail"},i("cura-heading",{key:"b4ad008b60026ac7ceccee16c68276e9bef114cb",size:"small","margin-block":"0 24px"},"Icon: ",i("b",{key:"6634d3ae9cf33df1942563e44e72f470199725e5"},this.selected)),i("div",{key:"8c565d1b3714dc5b1aad971e408cab340a4aca46",class:"iconSizes"},this.sizes.map((e=>e==="micro"&&!r.includes(this.selected)?"":i("div",{class:"size"},i("cura-icon",{name:this.selected,size:e}),i("span",null,e))))),i("div",{key:"d979d1169689f583900d85d592c29bb2869ff62a",class:"iconSizes invert"},this.sizes.map((e=>e==="micro"&&!r.includes(this.selected)?"":i("div",{class:"size"},i("cura-icon",{name:this.selected,size:e,color:"neutral-white"}),i("span",null,e)))))),i("div",{key:"0ed5c55f057bcdea8de3bdaa1d2f45a516763d95",class:"icons"},l.map((e=>i("div",{class:{icon:true,selected:e===this.selected},onClick:()=>this.setSelected(e)},i("cura-icon",{name:e,size:"32",color:e===this.selected?"accent-dark":"neutral-dark"}),i("cura-label",{size:"xsmall",weight:e===this.selected?"bold":"regular",color:e===this.selected?"accent-dark":"neutral-dark"},e),!r.includes(e)?"":i("cura-paragraph",{color:"success-dark",size:"xsmall","margin-block":"0px","line-height":"100%"},"MICRO"))))))}};o.style=s;export{o as cura_icons_view};
2
+ //# sourceMappingURL=p-9a4094e3.entry.js.map