@baloise/ds-core 19.10.0 → 19.10.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 (131) hide show
  1. package/components/index.js +1 -1
  2. package/components/svg.js +2231 -1593
  3. package/components/tokens.esm.js +1 -1
  4. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  5. package/dist/baloise-design-system/index.esm.js +1 -1
  6. package/dist/baloise-design-system/p--_h4j4q-.js +1 -1
  7. package/dist/baloise-design-system/{p-79d0e94ea1.entry.js → p-0cc81e6629.entry.js} +1 -1
  8. package/dist/baloise-design-system/{p-570ca4dd95.entry.js → p-0ff7f61cfb.entry.js} +1 -1
  9. package/dist/baloise-design-system/{p-397dc857c9.system.entry.js → p-1499fb8b1e.system.entry.js} +1 -1
  10. package/dist/baloise-design-system/{p-cc7d7244d4.system.entry.js → p-1a6ba1626a.system.entry.js} +1 -1
  11. package/dist/baloise-design-system/{p-bb93e69ae9.entry.js → p-208cbbcb1d.entry.js} +1 -1
  12. package/dist/baloise-design-system/{p-bf78d931bc.entry.js → p-24ccaeba21.entry.js} +1 -1
  13. package/dist/baloise-design-system/{p-fc8024a9d7.system.entry.js → p-31175f4af8.system.entry.js} +1 -1
  14. package/dist/baloise-design-system/{p-25fa360aac.system.entry.js → p-3376a1e651.system.entry.js} +1 -1
  15. package/dist/baloise-design-system/{p-02323ca1fe.entry.js → p-429bb32975.entry.js} +1 -1
  16. package/dist/baloise-design-system/{p-7d92171abe.system.entry.js → p-42d463fd3f.system.entry.js} +1 -1
  17. package/dist/baloise-design-system/{p-74b3b2823e.entry.js → p-52f625a5f7.entry.js} +1 -1
  18. package/dist/baloise-design-system/{p-50d92b35e8.system.entry.js → p-609d2320b1.system.entry.js} +1 -1
  19. package/dist/baloise-design-system/{p-d1f78ecd06.system.entry.js → p-64e141077d.system.entry.js} +1 -1
  20. package/dist/baloise-design-system/{p-0f7a033d37.system.entry.js → p-6fc739276a.system.entry.js} +1 -1
  21. package/dist/baloise-design-system/p-88ea8830b6.system.entry.js +1 -0
  22. package/dist/baloise-design-system/{p-9bed3124ac.system.entry.js → p-8927f351fd.system.entry.js} +1 -1
  23. package/dist/baloise-design-system/p-91a2e98786.entry.js +1 -0
  24. package/dist/baloise-design-system/{p-6a6bf23b35.entry.js → p-9be648ffe8.entry.js} +1 -1
  25. package/dist/baloise-design-system/{p-f561dde601.entry.js → p-9dfd29490a.entry.js} +1 -1
  26. package/dist/baloise-design-system/p-BTgSDGRr.js +2 -0
  27. package/dist/baloise-design-system/{p-DAzKMk4j.system.js → p-Bo8qDNOG.system.js} +1 -1
  28. package/dist/baloise-design-system/{p-DoUUOEu5.js → p-BqpLZmeG.js} +1 -1
  29. package/dist/baloise-design-system/{p-D8DleYVA.system.js → p-CFjc7N6P.system.js} +1 -1
  30. package/dist/baloise-design-system/{p-D49COBvb.js → p-CTkFlT9_.js} +1 -1
  31. package/dist/baloise-design-system/p-CUqH3xVz.js +1 -0
  32. package/dist/baloise-design-system/p-CVYynfS9.system.js +3 -0
  33. package/dist/baloise-design-system/p-CrCMAe2F.system.js +1 -1
  34. package/dist/baloise-design-system/{p-254FFVWk.system.js → p-CyZzYmE8.system.js} +1 -1
  35. package/dist/baloise-design-system/p-DeyNn-78.system.js +1 -1
  36. package/dist/baloise-design-system/{p-d6a6080859.entry.js → p-a117ce237f.entry.js} +1 -1
  37. package/dist/baloise-design-system/p-b0b968a148.system.entry.js +1 -0
  38. package/dist/baloise-design-system/{p-6042b3dd87.entry.js → p-ba76da9a32.entry.js} +1 -1
  39. package/dist/baloise-design-system/p-cd15fc8c69.entry.js +1 -0
  40. package/dist/baloise-design-system/{p-7e386c7e4f.system.entry.js → p-daf87a6be6.system.entry.js} +1 -1
  41. package/dist/baloise-design-system/{p-70f197258a.entry.js → p-dcd76bb03e.entry.js} +1 -1
  42. package/dist/baloise-design-system/{p-d41ca5c096.system.entry.js → p-eb1125dab4.system.entry.js} +1 -1
  43. package/dist/baloise-design-system/{p-d4416edc00.entry.js → p-ebfcd6a4b0.entry.js} +1 -1
  44. package/dist/baloise-design-system/{p-180d40dfcf.entry.js → p-efc57cd356.entry.js} +1 -1
  45. package/dist/baloise-design-system/{p-2f1467650a.system.entry.js → p-f3199b24c8.system.entry.js} +1 -1
  46. package/dist/baloise-design-system/{p-36be7b65c2.system.entry.js → p-fac5fa4bcc.system.entry.js} +1 -1
  47. package/dist/baloise-design-system/{p-BBexhGst.system.js → p-tkZtpw7B.system.js} +1 -1
  48. package/dist/cjs/bal-carousel_2.cjs.entry.js +4 -5
  49. package/dist/cjs/bal-field_5.cjs.entry.js +3 -3
  50. package/dist/cjs/bal-footer.cjs.entry.js +1 -1
  51. package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
  52. package/dist/cjs/bal-icon.cjs.entry.js +1 -1
  53. package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
  54. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  55. package/dist/cjs/bal-nav_8.cjs.entry.js +4 -5
  56. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  57. package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
  58. package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
  59. package/dist/cjs/bal-segment_2.cjs.entry.js +4 -4
  60. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  61. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  62. package/dist/cjs/bal-tab-item_2.cjs.entry.js +3 -3
  63. package/dist/cjs/{breakpoints.decorator-C7C_2t01.js → breakpoints.decorator-Dh3Bo-Yu.js} +1 -1
  64. package/dist/cjs/{breakpoints.subject-CXJYXMpo.js → breakpoints.subject-CzZMSmUO.js} +1 -1
  65. package/dist/cjs/index.cjs.js +2 -2
  66. package/dist/cjs/initialize-7J6n8lOv.js +1 -1
  67. package/dist/cjs/svg-DqzoyBUW.js +2245 -0
  68. package/dist/cjs/{tokens.esm-wVc8fBNC.js → tokens.esm-DI0zgU1M.js} +1 -1
  69. package/dist/cjs/{window-resize.decorator-CFAzpxMB.js → window-resize.decorator-CBrnxH3J.js} +1 -1
  70. package/dist/collection/utils/constants/version.constant.js +1 -1
  71. package/dist/esm/bal-carousel_2.entry.js +4 -5
  72. package/dist/esm/bal-field_5.entry.js +3 -3
  73. package/dist/esm/bal-footer.entry.js +1 -1
  74. package/dist/esm/bal-hint_5.entry.js +3 -3
  75. package/dist/esm/bal-icon.entry.js +1 -1
  76. package/dist/esm/bal-list_8.entry.js +3 -3
  77. package/dist/esm/bal-logo.entry.js +3 -3
  78. package/dist/esm/bal-nav_8.entry.js +4 -5
  79. package/dist/esm/bal-navbar_5.entry.js +3 -3
  80. package/dist/esm/bal-pagination.entry.js +3 -3
  81. package/dist/esm/bal-progress-bar.entry.js +4 -4
  82. package/dist/esm/bal-segment_2.entry.js +4 -4
  83. package/dist/esm/bal-shape.entry.js +1 -1
  84. package/dist/esm/bal-steps.entry.js +3 -3
  85. package/dist/esm/bal-tab-item_2.entry.js +3 -3
  86. package/dist/esm/{breakpoints.decorator-Da-lbVYy.js → breakpoints.decorator-BvzrUw7f.js} +1 -1
  87. package/dist/esm/{breakpoints.subject-C32mP6rF.js → breakpoints.subject-BugBexTF.js} +1 -1
  88. package/dist/esm/index.js +3 -3
  89. package/dist/esm/initialize-BS5FhjDS.js +1 -1
  90. package/dist/esm/svg-BTgSDGRr.js +2243 -0
  91. package/dist/esm/{tokens.esm-C22U88Bg.js → tokens.esm-B32RYUT0.js} +1 -1
  92. package/dist/esm/{window-resize.decorator-DSoPWN6q.js → window-resize.decorator-DK5kMpPN.js} +1 -1
  93. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  94. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  95. package/dist/esm-es5/bal-footer.entry.js +1 -1
  96. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  97. package/dist/esm-es5/bal-icon.entry.js +1 -1
  98. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  99. package/dist/esm-es5/bal-logo.entry.js +1 -1
  100. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  101. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  102. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  103. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  104. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  105. package/dist/esm-es5/bal-shape.entry.js +1 -1
  106. package/dist/esm-es5/bal-steps.entry.js +1 -1
  107. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  108. package/dist/esm-es5/breakpoints.decorator-BvzrUw7f.js +1 -0
  109. package/dist/esm-es5/{breakpoints.subject-C32mP6rF.js → breakpoints.subject-BugBexTF.js} +1 -1
  110. package/dist/esm-es5/index.js +1 -1
  111. package/dist/esm-es5/initialize-BS5FhjDS.js +1 -1
  112. package/dist/esm-es5/svg-BTgSDGRr.js +2 -0
  113. package/dist/esm-es5/{window-resize.decorator-DSoPWN6q.js → window-resize.decorator-DK5kMpPN.js} +1 -1
  114. package/dist/types/utils/mask/__test__/mask-component.mock.d.ts +6 -6
  115. package/dist/types/utils/mask/__test__/mask.mock.d.ts +9 -9
  116. package/dist/types/utils/svg.d.ts +1 -1
  117. package/package.json +7 -10
  118. package/dist/baloise-design-system/p-77c8017da1.system.entry.js +0 -1
  119. package/dist/baloise-design-system/p-909e9da161.entry.js +0 -1
  120. package/dist/baloise-design-system/p-CGYi6koW.js +0 -1
  121. package/dist/baloise-design-system/p-Ck7YRry-.system.js +0 -2
  122. package/dist/baloise-design-system/p-DojUs2K8.js +0 -2
  123. package/dist/baloise-design-system/p-a3e46a8705.system.entry.js +0 -1
  124. package/dist/baloise-design-system/p-a5a17d36fd.entry.js +0 -1
  125. package/dist/cjs/svg-qEvvK3mS.js +0 -1607
  126. package/dist/esm/svg-DhNz-XmR.js +0 -1605
  127. package/dist/esm-es5/breakpoints.decorator-Da-lbVYy.js +0 -1
  128. package/dist/esm-es5/svg-DhNz-XmR.js +0 -2
  129. /package/dist/baloise-design-system/{p-C22U88Bg.js → p-B32RYUT0.js} +0 -0
  130. /package/dist/baloise-design-system/{p-DQy9pRj5.system.js → p-D0HQAsaT.system.js} +0 -0
  131. /package/dist/esm-es5/{tokens.esm-C22U88Bg.js → tokens.esm-B32RYUT0.js} +0 -0
@@ -1 +1 @@
1
- import{__awaiter,__extends,__generator}from"tslib";import{a as setPlatformHelpers}from"./index-BdVwMG9u.js";import{b as balBrowser}from"./browser-B1u-Mq75.js";import{f as waitForComponent}from"./helpers-BNj87EbG.js";import{d as defaultConfig}from"./config.default-RE8-gLMQ.js";var BALOISE_ANIMATION_KEY="baloise-animated";var Config=function(){function t(){this._componentObservers=[];this._observers=[];this._config=defaultConfig}Object.defineProperty(t.prototype,"brand",{get:function(){return this._config.brand},set:function(t){if(t!==this._config.brand){this._config.brand=t;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"locale",{get:function(){return"".concat(this._config.language,"-").concat(this._config.region)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"region",{get:function(){return this._config.region},set:function(t){if(t!==this._config.region){this._config.region=t;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"language",{get:function(){return this._config.language},set:function(t){if(t!==this._config.language){if(this._config.allowedLanguages.includes(t)){this._config.language=t}else{this._config.language=this._config.fallbackLanguage}this._notify()}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"allowedLanguages",{get:function(){return this._config.allowedLanguages},set:function(t){if(t!==this._config.allowedLanguages){this._config.allowedLanguages=t;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"icons",{get:function(){return this._config.icons},set:function(t){this._config.icons=Object.assign(Object.assign({},this._config.icons),t);this._notify()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"logger",{get:function(){return this._config.logger},set:function(t){this._config.logger=Object.assign({},t);this._notify()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"animated",{get:function(){return this._config.animated},set:function(t){this._config.animated=t;this._notify()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"httpFormSubmit",{get:function(){return this._config.httpFormSubmit},set:function(t){this._config.httpFormSubmit=t;this._notify()},enumerable:false,configurable:true});t.prototype.attach=function(t){var e=this._observers.includes(t);if(e){return console.log("Subject: Observer has been attached already.")}this._observers.push(t);t.configChanged(this._config)};t.prototype.detach=function(t){var e=this._observers.indexOf(t);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._observers.splice(e,1)};t.prototype.attachComponent=function(t){var e=this._componentObservers.includes(t);if(e){return console.log("Subject: Observer has been attached already.")}this._componentObservers.push(t);t.configChanged(this._config)};t.prototype.detachComponent=function(t){var e=this._componentObservers.indexOf(t);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._componentObservers.splice(e,1)};t.prototype.toString=function(){return JSON.stringify(this._config)};t.prototype.reset=function(t){this._config=Object.assign(Object.assign(Object.assign({},this._config),t),{icons:Object.assign(Object.assign({},this._config.icons),t.icons)});this._notify(false)};t.prototype._notify=function(t){if(t===void 0){t=true}for(var e=0,a=this._componentObservers;e<a.length;e++){var i=a[e];i.configChanged(this._config)}if(t){for(var n=0,r=this._observers;n<r.length;n++){var i=r[n];i.configChanged(this._config)}}};return t}();var config=new Config;var configFromLocalStorage=function(t){try{var e=t.localStorage.getItem(BALOISE_ANIMATION_KEY)||"true";var a=JSON.parse(e);if(a!==null){return{animated:a}}return{}}catch(t){return{}}};var setupConfig=function(t,e){if(t===void 0){t={}}if(e===void 0){e={}}if(Object.keys(e).length===0&&balBrowser.hasWindow){e=window}e.BaloiseDesignSystem=e.BaloiseDesignSystem||{};config.reset(Object.assign(Object.assign(Object.assign({},configFromLocalStorage(e)),t),{icons:Object.assign({},t.icons)}));e.BaloiseDesignSystem.config=config};var BalNoticeController=function(){function t(t){this.options=t;this.container=null;this.queue=[];this.preQueue=[];this.queueLimit=5}t.prototype.create=function(t){var e=this;if(balBrowser.hasDocument){this.setupContainer(t);var a=this.findClone(t);if(a===undefined){var i=document.createElement(this.options.tag);Object.assign(i,t);i.addEventListener("balClose",(function(t){e.removeFromQueue(t.detail)}));this.preQueue.push(i);this.updateQueue();return i}return a}};t.prototype.setQueue=function(t){this.queueLimit=t};t.prototype.dismissAll=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,i,n;return __generator(this,(function(r){switch(r.label){case 0:e=(t=this.container)===null||t===void 0?void 0:t.querySelectorAll(this.options.tag);if(!e)return[3,2];a=[];for(i=0;i<e.length;i++){n=e[i];if(n.close){a.push(n.close())}}return[4,Promise.all(a)];case 1:r.sent();r.label=2;case 2:return[2]}}))}))};t.prototype.clearAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){console.warn("[DEPRECATED] - use dismissAll() instead");return[2,this.dismissAll()]}))}))};t.prototype.findClone=function(t){for(var e=0;e<this.queue.length;e++){var a=this.queue[e];if(a.message===t.message&&a.color===t.color){return a}}return undefined};t.prototype.setupContainer=function(t){if(balBrowser.hasDocument){var e="".concat(this.options.tag,"-container");this.container=document.getElementById(e);if(this.container)return;if(!this.container){this.container=document.createElement("bal-notices");this.container.setAttribute("interface",this.options.tag.replace("bal-",""));this.container.setAttribute("animated",t.animated?"true":"false");if(t.container!==undefined){this.container.setAttribute("container",t.container===true?"":t.container)}this.container.id=e}document.body.appendChild(this.container)}};t.prototype.updateQueue=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a;return __generator(this,(function(i){switch(i.label){case 0:if(!(this.queue.length<this.queueLimit))return[3,2];e=this.preQueue.shift();if(!(e&&this.container))return[3,2];return[4,waitForComponent(this.container)];case 1:i.sent();a=this.container.querySelector(".bal-notices__inner");if(a){this.queue.push(e);a.insertAdjacentElement("beforeend",e)}i.label=2;case 2:if(this.queue.length===0){(t=this.container)===null||t===void 0?void 0:t.remove()}return[2]}}))}))};t.prototype.removeFromQueue=function(t){var e=this;this.queue=this.queue.filter((function(e){return e.id!==t}));setTimeout((function(){return e.updateQueue()}),0)};return t}();var BalSnackbarController=function(t){__extends(e,t);function e(){return t.call(this,{tag:"bal-snackbar"})||this}e.prototype.create=function(e){return t.prototype.create.call(this,e)};return e}(BalNoticeController);var balSnackbarController=new BalSnackbarController;var BalToastController=function(t){__extends(e,t);function e(){return t.call(this,{tag:"bal-toast"})||this}e.prototype.create=function(e){return t.prototype.create.call(this,e)};return e}(BalNoticeController);var balToastController=new BalToastController;var tags=["bal-accordion","bal-accordion-details","bal-accordion-summary","bal-accordion-trigger","bal-app","bal-badge","bal-button","bal-button-group","bal-card","bal-card-actions","bal-card-button","bal-card-content","bal-card-subtitle","bal-card-title","bal-carousel","bal-carousel-item","bal-check","bal-checkbox","bal-checkbox-group","bal-close","bal-content","bal-data","bal-data-item","bal-data-label","bal-data-value","bal-date","bal-date-calendar","bal-date-calendar-cell","bal-divider","bal-dropdown","bal-field","bal-field-control","bal-field-hint","bal-field-label","bal-field-message","bal-file-upload","bal-footer","bal-form","bal-form-col","bal-form-grid","bal-heading","bal-hint","bal-hint-text","bal-hint-title","bal-icon","bal-input","bal-input-date","bal-input-group","bal-input-slider","bal-input-stepper","bal-label","bal-list","bal-list-item","bal-list-item-accordion-body","bal-list-item-accordion-head","bal-list-item-content","bal-list-item-icon","bal-list-item-subtitle","bal-list-item-title","bal-logo","bal-modal","bal-modal-body","bal-modal-header","bal-nav","bal-nav-link","bal-nav-link-grid","bal-nav-link-grid-col","bal-nav-link-group","bal-nav-menu-bar","bal-nav-menu-flyout","bal-nav-meta-bar","bal-navbar","bal-navbar-brand","bal-navbar-menu","bal-navbar-menu-end","bal-navbar-menu-start","bal-notices","bal-notification","bal-number-input","bal-option","bal-option-list","bal-pagination","bal-popover","bal-popover-content","bal-popup","bal-progress-bar","bal-radio","bal-radio-group","bal-radio-icon","bal-segment","bal-segment-item","bal-select","bal-select-option","bal-shape","bal-sheet","bal-snackbar","bal-spinner","bal-stack","bal-stage","bal-stage-back-link","bal-stage-body","bal-stage-foot","bal-stage-head","bal-stage-image","bal-step-item","bal-steps","bal-switch","bal-tab-item","bal-table","bal-tabs","bal-tag","bal-tag-group","bal-text","bal-textarea","bal-time-input","bal-toast","bal-tooltip"];var VERSION="19.10.0";var initializeBaloiseDesignSystem=function(t,e,a){if(t===void 0){t={}}if(e===void 0){e=undefined}if(a===void 0){a={}}if(Object.keys(a).length===0&&balBrowser.hasWindow){a=window}a.BaloiseDesignSystem=a.BaloiseDesignSystem||{};if(e){setPlatformHelpers(e)}setupConfig(Object.assign(Object.assign({},t),e),a);a.BaloiseDesignSystem.toastController=balToastController;a.BaloiseDesignSystem.snackbarController=balSnackbarController;a.BaloiseDesignSystem.initialize=function(){return setupConfig(a.BaloiseDesignSystem.config,a)};a.BaloiseDesignSystem.version=VERSION;if(t._generateHydrateForCustomElementsOutput){generateHydrateForCustomElementsOutput(tags)}};var generateHydrateForCustomElementsOutput=function(t){if(t===void 0){t=[]}var e="slot-fb{display:contents}slot-fb[hidden]{display:none}";var a="{visibility:hidden}.hydrated{visibility:inherit}";var i=typeof window!=="undefined"?window:{};if(!i.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=i.document.head;var r=n.querySelector("meta[charset]");var o=i.document.createElement("style");if(t.length>0){o.textContent+=e;o.textContent+=t.sort()+a;if(o.innerHTML.length){o.setAttribute("data-styles","");n.insertBefore(o,r?r.nextSibling:n.firstChild)}}};export{BalSnackbarController as B,BalToastController as a,balSnackbarController as b,balToastController as c,initializeBaloiseDesignSystem as i,setupConfig as s};
1
+ import{__awaiter,__extends,__generator}from"tslib";import{a as setPlatformHelpers}from"./index-BdVwMG9u.js";import{b as balBrowser}from"./browser-B1u-Mq75.js";import{f as waitForComponent}from"./helpers-BNj87EbG.js";import{d as defaultConfig}from"./config.default-RE8-gLMQ.js";var BALOISE_ANIMATION_KEY="baloise-animated";var Config=function(){function t(){this._componentObservers=[];this._observers=[];this._config=defaultConfig}Object.defineProperty(t.prototype,"brand",{get:function(){return this._config.brand},set:function(t){if(t!==this._config.brand){this._config.brand=t;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"locale",{get:function(){return"".concat(this._config.language,"-").concat(this._config.region)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"region",{get:function(){return this._config.region},set:function(t){if(t!==this._config.region){this._config.region=t;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"language",{get:function(){return this._config.language},set:function(t){if(t!==this._config.language){if(this._config.allowedLanguages.includes(t)){this._config.language=t}else{this._config.language=this._config.fallbackLanguage}this._notify()}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"allowedLanguages",{get:function(){return this._config.allowedLanguages},set:function(t){if(t!==this._config.allowedLanguages){this._config.allowedLanguages=t;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"icons",{get:function(){return this._config.icons},set:function(t){this._config.icons=Object.assign(Object.assign({},this._config.icons),t);this._notify()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"logger",{get:function(){return this._config.logger},set:function(t){this._config.logger=Object.assign({},t);this._notify()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"animated",{get:function(){return this._config.animated},set:function(t){this._config.animated=t;this._notify()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"httpFormSubmit",{get:function(){return this._config.httpFormSubmit},set:function(t){this._config.httpFormSubmit=t;this._notify()},enumerable:false,configurable:true});t.prototype.attach=function(t){var e=this._observers.includes(t);if(e){return console.log("Subject: Observer has been attached already.")}this._observers.push(t);t.configChanged(this._config)};t.prototype.detach=function(t){var e=this._observers.indexOf(t);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._observers.splice(e,1)};t.prototype.attachComponent=function(t){var e=this._componentObservers.includes(t);if(e){return console.log("Subject: Observer has been attached already.")}this._componentObservers.push(t);t.configChanged(this._config)};t.prototype.detachComponent=function(t){var e=this._componentObservers.indexOf(t);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._componentObservers.splice(e,1)};t.prototype.toString=function(){return JSON.stringify(this._config)};t.prototype.reset=function(t){this._config=Object.assign(Object.assign(Object.assign({},this._config),t),{icons:Object.assign(Object.assign({},this._config.icons),t.icons)});this._notify(false)};t.prototype._notify=function(t){if(t===void 0){t=true}for(var e=0,a=this._componentObservers;e<a.length;e++){var i=a[e];i.configChanged(this._config)}if(t){for(var n=0,r=this._observers;n<r.length;n++){var i=r[n];i.configChanged(this._config)}}};return t}();var config=new Config;var configFromLocalStorage=function(t){try{var e=t.localStorage.getItem(BALOISE_ANIMATION_KEY)||"true";var a=JSON.parse(e);if(a!==null){return{animated:a}}return{}}catch(t){return{}}};var setupConfig=function(t,e){if(t===void 0){t={}}if(e===void 0){e={}}if(Object.keys(e).length===0&&balBrowser.hasWindow){e=window}e.BaloiseDesignSystem=e.BaloiseDesignSystem||{};config.reset(Object.assign(Object.assign(Object.assign({},configFromLocalStorage(e)),t),{icons:Object.assign({},t.icons)}));e.BaloiseDesignSystem.config=config};var BalNoticeController=function(){function t(t){this.options=t;this.container=null;this.queue=[];this.preQueue=[];this.queueLimit=5}t.prototype.create=function(t){var e=this;if(balBrowser.hasDocument){this.setupContainer(t);var a=this.findClone(t);if(a===undefined){var i=document.createElement(this.options.tag);Object.assign(i,t);i.addEventListener("balClose",(function(t){e.removeFromQueue(t.detail)}));this.preQueue.push(i);this.updateQueue();return i}return a}};t.prototype.setQueue=function(t){this.queueLimit=t};t.prototype.dismissAll=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,i,n;return __generator(this,(function(r){switch(r.label){case 0:e=(t=this.container)===null||t===void 0?void 0:t.querySelectorAll(this.options.tag);if(!e)return[3,2];a=[];for(i=0;i<e.length;i++){n=e[i];if(n.close){a.push(n.close())}}return[4,Promise.all(a)];case 1:r.sent();r.label=2;case 2:return[2]}}))}))};t.prototype.clearAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){console.warn("[DEPRECATED] - use dismissAll() instead");return[2,this.dismissAll()]}))}))};t.prototype.findClone=function(t){for(var e=0;e<this.queue.length;e++){var a=this.queue[e];if(a.message===t.message&&a.color===t.color){return a}}return undefined};t.prototype.setupContainer=function(t){if(balBrowser.hasDocument){var e="".concat(this.options.tag,"-container");this.container=document.getElementById(e);if(this.container)return;if(!this.container){this.container=document.createElement("bal-notices");this.container.setAttribute("interface",this.options.tag.replace("bal-",""));this.container.setAttribute("animated",t.animated?"true":"false");if(t.container!==undefined){this.container.setAttribute("container",t.container===true?"":t.container)}this.container.id=e}document.body.appendChild(this.container)}};t.prototype.updateQueue=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a;return __generator(this,(function(i){switch(i.label){case 0:if(!(this.queue.length<this.queueLimit))return[3,2];e=this.preQueue.shift();if(!(e&&this.container))return[3,2];return[4,waitForComponent(this.container)];case 1:i.sent();a=this.container.querySelector(".bal-notices__inner");if(a){this.queue.push(e);a.insertAdjacentElement("beforeend",e)}i.label=2;case 2:if(this.queue.length===0){(t=this.container)===null||t===void 0?void 0:t.remove()}return[2]}}))}))};t.prototype.removeFromQueue=function(t){var e=this;this.queue=this.queue.filter((function(e){return e.id!==t}));setTimeout((function(){return e.updateQueue()}),0)};return t}();var BalSnackbarController=function(t){__extends(e,t);function e(){return t.call(this,{tag:"bal-snackbar"})||this}e.prototype.create=function(e){return t.prototype.create.call(this,e)};return e}(BalNoticeController);var balSnackbarController=new BalSnackbarController;var BalToastController=function(t){__extends(e,t);function e(){return t.call(this,{tag:"bal-toast"})||this}e.prototype.create=function(e){return t.prototype.create.call(this,e)};return e}(BalNoticeController);var balToastController=new BalToastController;var tags=["bal-accordion","bal-accordion-details","bal-accordion-summary","bal-accordion-trigger","bal-app","bal-badge","bal-button","bal-button-group","bal-card","bal-card-actions","bal-card-button","bal-card-content","bal-card-subtitle","bal-card-title","bal-carousel","bal-carousel-item","bal-check","bal-checkbox","bal-checkbox-group","bal-close","bal-content","bal-data","bal-data-item","bal-data-label","bal-data-value","bal-date","bal-date-calendar","bal-date-calendar-cell","bal-divider","bal-dropdown","bal-field","bal-field-control","bal-field-hint","bal-field-label","bal-field-message","bal-file-upload","bal-footer","bal-form","bal-form-col","bal-form-grid","bal-heading","bal-hint","bal-hint-text","bal-hint-title","bal-icon","bal-input","bal-input-date","bal-input-group","bal-input-slider","bal-input-stepper","bal-label","bal-list","bal-list-item","bal-list-item-accordion-body","bal-list-item-accordion-head","bal-list-item-content","bal-list-item-icon","bal-list-item-subtitle","bal-list-item-title","bal-logo","bal-modal","bal-modal-body","bal-modal-header","bal-nav","bal-nav-link","bal-nav-link-grid","bal-nav-link-grid-col","bal-nav-link-group","bal-nav-menu-bar","bal-nav-menu-flyout","bal-nav-meta-bar","bal-navbar","bal-navbar-brand","bal-navbar-menu","bal-navbar-menu-end","bal-navbar-menu-start","bal-notices","bal-notification","bal-number-input","bal-option","bal-option-list","bal-pagination","bal-popover","bal-popover-content","bal-popup","bal-progress-bar","bal-radio","bal-radio-group","bal-radio-icon","bal-segment","bal-segment-item","bal-select","bal-select-option","bal-shape","bal-sheet","bal-snackbar","bal-spinner","bal-stack","bal-stage","bal-stage-back-link","bal-stage-body","bal-stage-foot","bal-stage-head","bal-stage-image","bal-step-item","bal-steps","bal-switch","bal-tab-item","bal-table","bal-tabs","bal-tag","bal-tag-group","bal-text","bal-textarea","bal-time-input","bal-toast","bal-tooltip"];var VERSION="19.10.1";var initializeBaloiseDesignSystem=function(t,e,a){if(t===void 0){t={}}if(e===void 0){e=undefined}if(a===void 0){a={}}if(Object.keys(a).length===0&&balBrowser.hasWindow){a=window}a.BaloiseDesignSystem=a.BaloiseDesignSystem||{};if(e){setPlatformHelpers(e)}setupConfig(Object.assign(Object.assign({},t),e),a);a.BaloiseDesignSystem.toastController=balToastController;a.BaloiseDesignSystem.snackbarController=balSnackbarController;a.BaloiseDesignSystem.initialize=function(){return setupConfig(a.BaloiseDesignSystem.config,a)};a.BaloiseDesignSystem.version=VERSION;if(t._generateHydrateForCustomElementsOutput){generateHydrateForCustomElementsOutput(tags)}};var generateHydrateForCustomElementsOutput=function(t){if(t===void 0){t=[]}var e="slot-fb{display:contents}slot-fb[hidden]{display:none}";var a="{visibility:hidden}.hydrated{visibility:inherit}";var i=typeof window!=="undefined"?window:{};if(!i.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=i.document.head;var r=n.querySelector("meta[charset]");var o=i.document.createElement("style");if(t.length>0){o.textContent+=e;o.textContent+=t.sort()+a;if(o.innerHTML.length){o.setAttribute("data-styles","");n.insertBefore(o,r?r.nextSibling:n.firstChild)}}};export{BalSnackbarController as B,BalToastController as a,balSnackbarController as b,balToastController as c,initializeBaloiseDesignSystem as i,setupConfig as s};
@@ -0,0 +1,2 @@
1
+ /*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE */
2
+ import{__spreadArray}from"tslib";function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=Array(r);t<r;t++)a[t]=e[t];return a}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,n,i,o,l=[],s=true,f=false;try{if(i=(t=t.call(e)).next,0===r);else for(;!(s=(a=i.call(t)).done)&&(l.push(a.value),l.length!==r);s=true);}catch(e){f=true,n=e}finally{try{if(!s&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(f)throw n}}return l}}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _slicedToArray(e,r){return _arrayWithHoles(e)||_iterableToArrayLimit(e,r)||_unsupportedIterableToArray(e,r)||_nonIterableRest()}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}var entries=Object.entries,setPrototypeOf=Object.setPrototypeOf,isFrozen=Object.isFrozen,getPrototypeOf=Object.getPrototypeOf,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;var freeze=Object.freeze,seal=Object.seal,create=Object.create;var _ref=typeof Reflect!=="undefined"&&Reflect,apply=_ref.apply,construct=_ref.construct;if(!freeze){freeze=function e(r){return r}}if(!seal){seal=function e(r){return r}}if(!apply){apply=function e(r,t){for(var a=arguments.length,n=new Array(a>2?a-2:0),i=2;i<a;i++){n[i-2]=arguments[i]}return r.apply(t,n)}}if(!construct){construct=function e(r){for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n<t;n++){a[n-1]=arguments[n]}return new(r.bind.apply(r,__spreadArray([void 0],a,false)))}}var arrayForEach=unapply(Array.prototype.forEach);var arrayLastIndexOf=unapply(Array.prototype.lastIndexOf);var arrayPop=unapply(Array.prototype.pop);var arrayPush=unapply(Array.prototype.push);var arraySplice=unapply(Array.prototype.splice);var arrayIsArray=Array.isArray;var stringToLowerCase=unapply(String.prototype.toLowerCase);var stringToString=unapply(String.prototype.toString);var stringMatch=unapply(String.prototype.match);var stringReplace=unapply(String.prototype.replace);var stringIndexOf=unapply(String.prototype.indexOf);var stringTrim=unapply(String.prototype.trim);var numberToString=unapply(Number.prototype.toString);var booleanToString=unapply(Boolean.prototype.toString);var bigintToString=typeof BigInt==="undefined"?null:unapply(BigInt.prototype.toString);var symbolToString=typeof Symbol==="undefined"?null:unapply(Symbol.prototype.toString);var objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty);var objectToString=unapply(Object.prototype.toString);var regExpTest=unapply(RegExp.prototype.test);var typeErrorCreate=unconstruct(TypeError);function unapply(e){return function(r){if(r instanceof RegExp){r.lastIndex=0}for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n<t;n++){a[n-1]=arguments[n]}return apply(e,r,a)}}function unconstruct(e){return function(){for(var r=arguments.length,t=new Array(r),a=0;a<r;a++){t[a]=arguments[a]}return construct(e,t)}}function addToSet(e,r){var t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:stringToLowerCase;if(setPrototypeOf){setPrototypeOf(e,null)}if(!arrayIsArray(r)){return e}var a=r.length;while(a--){var n=r[a];if(typeof n==="string"){var i=t(n);if(i!==n){if(!isFrozen(r)){r[a]=i}n=i}}e[n]=true}return e}function cleanArray(e){for(var r=0;r<e.length;r++){var t=objectHasOwnProperty(e,r);if(!t){e[r]=null}}return e}function clone(e){var r=create(null);for(var t=0,a=entries(e);t<a.length;t++){var n=a[t];var i=_slicedToArray(n,2);var o=i[0];var l=i[1];var s=objectHasOwnProperty(e,o);if(s){if(arrayIsArray(l)){r[o]=cleanArray(l)}else if(l&&typeof l==="object"&&l.constructor===Object){r[o]=clone(l)}else{r[o]=l}}}return r}function stringifyValue(e){switch(typeof e){case"string":{return e}case"number":{return numberToString(e)}case"boolean":{return booleanToString(e)}case"bigint":{return bigintToString?bigintToString(e):"0"}case"symbol":{return symbolToString?symbolToString(e):"Symbol()"}case"undefined":{return objectToString(e)}case"function":case"object":{if(e===null){return objectToString(e)}var r=e;var t=lookupGetter(r,"toString");if(typeof t==="function"){var a=t(r);return typeof a==="string"?a:objectToString(a)}return objectToString(e)}default:{return objectToString(e)}}}function lookupGetter(e,r){while(e!==null){var t=getOwnPropertyDescriptor(e,r);if(t){if(t.get){return unapply(t.get)}if(typeof t.value==="function"){return unapply(t.value)}}e=getPrototypeOf(e)}function a(){return null}return a}function isRegex(e){try{regExpTest(e,"");return true}catch(e){return false}}var html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);var svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);var svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);var svgDisallowed=freeze(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);var mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);var mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);var text=freeze(["#text"]);var html=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]);var svg=freeze(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);var mathMl=freeze(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);var xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);var MUSTACHE_EXPR=seal(/{{[\w\W]*|^[\w\W]*}}/g);var ERB_EXPR=seal(/<%[\w\W]*|^[\w\W]*%>/g);var TMPLIT_EXPR=seal(/\${[\w\W]*/g);var DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);var ARIA_ATTR=seal(/^aria-[\-\w]+$/);var IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);var IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i);var ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);var DOCTYPE_NAME=seal(/^html$/i);var CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var ELEMENT_MARKUP_PROBE=seal(/<[/\w!]/g);var COMMENT_MARKUP_PROBE=seal(/<[/\w]/g);var FALLBACK_TAG_CLOSE=seal(/<\/no(script|embed|frames)/i);var SELF_CLOSING_TAG=seal(/\/>/i);var NODE_TYPE={element:1,text:3,processingInstruction:7,comment:8,document:9,documentFragment:11};var getGlobal=function e(){return typeof window==="undefined"?null:window};var _createTrustedTypesPolicy=function e(r,t){if(typeof r!=="object"||typeof r.createPolicy!=="function"){return null}var a=null;var n="data-tt-policy-suffix";if(t&&t.hasAttribute(n)){a=t.getAttribute(n)}var i="dompurify"+(a?"#"+a:"");try{return r.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){console.warn("TrustedTypes policy "+i+" could not be created.");return null}};var _createHooksMap=function e(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var _resolveSetOption=function e(r,t,a,n){return objectHasOwnProperty(r,t)&&arrayIsArray(r[t])?addToSet(n.base?clone(n.base):{},r[t],n.transform):a};function createDOMPurify(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:getGlobal();var r=function(e){return createDOMPurify(e)};r.version="3.4.11";r.removed=[];if(!e||!e.document||e.document.nodeType!==NODE_TYPE.document||!e.Element){r.isSupported=false;return r}var t=e.document;var a=t;var n=a.currentScript;var i=e.HTMLTemplateElement,o=e.Node,l=e.Element,s=e.NodeFilter;var f=e.DOMParser,u=e.trustedTypes;var c=l.prototype;var p=lookupGetter(c,"cloneNode");var d=lookupGetter(c,"remove");var v=lookupGetter(c,"nextSibling");var m=lookupGetter(c,"childNodes");var y=lookupGetter(c,"parentNode");var g=lookupGetter(c,"shadowRoot");var h=lookupGetter(c,"attributes");var T=o&&o.prototype?lookupGetter(o.prototype,"nodeType"):null;var b=o&&o.prototype?lookupGetter(o.prototype,"nodeName"):null;if(typeof i==="function"){var _=t.createElement("template");if(_.content&&_.content.ownerDocument){t=_.content.ownerDocument}}var E;var S="";var w;var A=false;var O=0;var x=function e(){if(O>0){throw typeErrorCreate("A configured TRUSTED_TYPES_POLICY callback (createHTML or "+"createScriptURL) must not call DOMPurify.sanitize, as that causes "+"infinite recursion. Do not pass a policy whose callbacks wrap "+'DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted '+'Types" section of the README.')}};var P=function e(r){x();O++;try{return E.createHTML(r)}finally{O--}};var k=function e(r){x();O++;try{return E.createScriptURL(r)}finally{O--}};var R=function e(){if(!A){w=_createTrustedTypesPolicy(u,n);A=true}return w};var D=t,I=D.implementation,L=D.createNodeIterator,M=D.createDocumentFragment,j=D.getElementsByTagName;var C=a.importNode;var z=_createHooksMap();r.isSupported=typeof entries==="function"&&typeof y==="function"&&I&&I.createHTMLDocument!==undefined;var N=MUSTACHE_EXPR,F=ERB_EXPR,H=TMPLIT_EXPR,G=DATA_ATTR,U=ARIA_ATTR,B=IS_SCRIPT_OR_DATA,Y=ATTR_WHITESPACE,$=CUSTOM_ELEMENT;var W=IS_ALLOWED_URI;var q=null;var K=addToSet({},__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([],html$1,true),svg$1,true),svgFilters,true),mathMl$1,true),text,true));var X=null;var V=addToSet({},__spreadArray(__spreadArray(__spreadArray(__spreadArray([],html,true),svg,true),mathMl,true),xml,true));var J=Object.seal(create(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));var Q=null;var Z=null;var ee=Object.seal(create(null,{tagCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeCheck:{writable:true,configurable:false,enumerable:true,value:null}}));var re=true;var te=true;var ae=false;var ne=true;var ie=false;var oe=true;var le=false;var se=false;var fe=null;var ue=null;var ce=false;var pe=false;var de=false;var ve=false;var me=true;var ye=false;var ge="user-content-";var he=true;var Te=false;var be={};var _e=null;var Ee=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);var Se=null;var we=addToSet({},["audio","video","img","source","image","track"]);var Ae=null;var Oe=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);var xe="http://www.w3.org/1998/Math/MathML";var Pe="http://www.w3.org/2000/svg";var ke="http://www.w3.org/1999/xhtml";var Re=ke;var De=false;var Ie=null;var Le=addToSet({},[xe,Pe,ke],stringToString);var Me=freeze(["mi","mo","mn","ms","mtext"]);var je=addToSet({},Me);var Ce=freeze(["annotation-xml"]);var ze=addToSet({},Ce);var Ne=addToSet({},["title","style","font","a","script"]);var Fe=null;var He=["application/xhtml+xml","text/html"];var Ge="text/html";var Ue=null;var Be=null;var Ye=t.createElement("form");var $e=function e(r){return r instanceof RegExp||r instanceof Function};var We=function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(Be&&Be===r){return}if(!r||typeof r!=="object"){r={}}r=clone(r);Fe=He.indexOf(r.PARSER_MEDIA_TYPE)===-1?Ge:r.PARSER_MEDIA_TYPE;Ue=Fe==="application/xhtml+xml"?stringToString:stringToLowerCase;q=_resolveSetOption(r,"ALLOWED_TAGS",K,{transform:Ue});X=_resolveSetOption(r,"ALLOWED_ATTR",V,{transform:Ue});Ie=_resolveSetOption(r,"ALLOWED_NAMESPACES",Le,{transform:stringToString});Ae=_resolveSetOption(r,"ADD_URI_SAFE_ATTR",Oe,{transform:Ue,base:Oe});Se=_resolveSetOption(r,"ADD_DATA_URI_TAGS",we,{transform:Ue,base:we});_e=_resolveSetOption(r,"FORBID_CONTENTS",Ee,{transform:Ue});Q=_resolveSetOption(r,"FORBID_TAGS",clone({}),{transform:Ue});Z=_resolveSetOption(r,"FORBID_ATTR",clone({}),{transform:Ue});be=objectHasOwnProperty(r,"USE_PROFILES")?r.USE_PROFILES&&typeof r.USE_PROFILES==="object"?clone(r.USE_PROFILES):r.USE_PROFILES:false;re=r.ALLOW_ARIA_ATTR!==false;te=r.ALLOW_DATA_ATTR!==false;ae=r.ALLOW_UNKNOWN_PROTOCOLS||false;ne=r.ALLOW_SELF_CLOSE_IN_ATTR!==false;ie=r.SAFE_FOR_TEMPLATES||false;oe=r.SAFE_FOR_XML!==false;le=r.WHOLE_DOCUMENT||false;pe=r.RETURN_DOM||false;de=r.RETURN_DOM_FRAGMENT||false;ve=r.RETURN_TRUSTED_TYPE||false;ce=r.FORCE_BODY||false;me=r.SANITIZE_DOM!==false;ye=r.SANITIZE_NAMED_PROPS||false;he=r.KEEP_CONTENT!==false;Te=r.IN_PLACE||false;W=isRegex(r.ALLOWED_URI_REGEXP)?r.ALLOWED_URI_REGEXP:IS_ALLOWED_URI;Re=typeof r.NAMESPACE==="string"?r.NAMESPACE:ke;je=objectHasOwnProperty(r,"MATHML_TEXT_INTEGRATION_POINTS")&&r.MATHML_TEXT_INTEGRATION_POINTS&&typeof r.MATHML_TEXT_INTEGRATION_POINTS==="object"?clone(r.MATHML_TEXT_INTEGRATION_POINTS):addToSet({},Me);ze=objectHasOwnProperty(r,"HTML_INTEGRATION_POINTS")&&r.HTML_INTEGRATION_POINTS&&typeof r.HTML_INTEGRATION_POINTS==="object"?clone(r.HTML_INTEGRATION_POINTS):addToSet({},Ce);var t=objectHasOwnProperty(r,"CUSTOM_ELEMENT_HANDLING")&&r.CUSTOM_ELEMENT_HANDLING&&typeof r.CUSTOM_ELEMENT_HANDLING==="object"?clone(r.CUSTOM_ELEMENT_HANDLING):create(null);J=create(null);if(objectHasOwnProperty(t,"tagNameCheck")&&$e(t.tagNameCheck)){J.tagNameCheck=t.tagNameCheck}if(objectHasOwnProperty(t,"attributeNameCheck")&&$e(t.attributeNameCheck)){J.attributeNameCheck=t.attributeNameCheck}if(objectHasOwnProperty(t,"allowCustomizedBuiltInElements")&&typeof t.allowCustomizedBuiltInElements==="boolean"){J.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements}seal(J);if(ie){te=false}if(de){pe=true}if(be){q=addToSet({},text);X=create(null);if(be.html===true){addToSet(q,html$1);addToSet(X,html)}if(be.svg===true){addToSet(q,svg$1);addToSet(X,svg);addToSet(X,xml)}if(be.svgFilters===true){addToSet(q,svgFilters);addToSet(X,svg);addToSet(X,xml)}if(be.mathMl===true){addToSet(q,mathMl$1);addToSet(X,mathMl);addToSet(X,xml)}}ee.tagCheck=null;ee.attributeCheck=null;if(objectHasOwnProperty(r,"ADD_TAGS")){if(typeof r.ADD_TAGS==="function"){ee.tagCheck=r.ADD_TAGS}else if(arrayIsArray(r.ADD_TAGS)){if(q===K){q=clone(q)}addToSet(q,r.ADD_TAGS,Ue)}}if(objectHasOwnProperty(r,"ADD_ATTR")){if(typeof r.ADD_ATTR==="function"){ee.attributeCheck=r.ADD_ATTR}else if(arrayIsArray(r.ADD_ATTR)){if(X===V){X=clone(X)}addToSet(X,r.ADD_ATTR,Ue)}}if(objectHasOwnProperty(r,"ADD_URI_SAFE_ATTR")&&arrayIsArray(r.ADD_URI_SAFE_ATTR)){addToSet(Ae,r.ADD_URI_SAFE_ATTR,Ue)}if(objectHasOwnProperty(r,"FORBID_CONTENTS")&&arrayIsArray(r.FORBID_CONTENTS)){if(_e===Ee){_e=clone(_e)}addToSet(_e,r.FORBID_CONTENTS,Ue)}if(objectHasOwnProperty(r,"ADD_FORBID_CONTENTS")&&arrayIsArray(r.ADD_FORBID_CONTENTS)){if(_e===Ee){_e=clone(_e)}addToSet(_e,r.ADD_FORBID_CONTENTS,Ue)}if(he){q["#text"]=true}if(le){addToSet(q,["html","head","body"])}if(q.table){addToSet(q,["tbody"]);delete Q.tbody}if(r.TRUSTED_TYPES_POLICY){if(typeof r.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof r.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}var a=E;E=r.TRUSTED_TYPES_POLICY;try{S=P("")}catch(e){E=a;throw e}}else if(r.TRUSTED_TYPES_POLICY===null){E=undefined;S=""}else{if(E===undefined){E=R()}if(E&&typeof S==="string"){S=P("")}}if(freeze){freeze(r)}Be=r};var qe=addToSet({},__spreadArray(__spreadArray(__spreadArray([],svg$1,true),svgFilters,true),svgDisallowed,true));var Ke=addToSet({},__spreadArray(__spreadArray([],mathMl$1,true),mathMlDisallowed,true));var Xe=function e(r,t,a){if(t.namespaceURI===ke){return r==="svg"}if(t.namespaceURI===xe){return r==="svg"&&(a==="annotation-xml"||je[a])}return Boolean(qe[r])};var Ve=function e(r,t,a){if(t.namespaceURI===ke){return r==="math"}if(t.namespaceURI===Pe){return r==="math"&&ze[a]}return Boolean(Ke[r])};var Je=function e(r,t,a){if(t.namespaceURI===Pe&&!ze[a]){return false}if(t.namespaceURI===xe&&!je[a]){return false}return!Ke[r]&&(Ne[r]||!qe[r])};var Qe=function e(r){var t=y(r);if(!t||!t.tagName){t={namespaceURI:Re,tagName:"template"}}var a=stringToLowerCase(r.tagName);var n=stringToLowerCase(t.tagName);if(!Ie[r.namespaceURI]){return false}if(r.namespaceURI===Pe){return Xe(a,t,n)}if(r.namespaceURI===xe){return Ve(a,t,n)}if(r.namespaceURI===ke){return Je(a,t,n)}if(Fe==="application/xhtml+xml"&&Ie[r.namespaceURI]){return true}return false};var Ze=function e(t){arrayPush(r.removed,{element:t});try{y(t).removeChild(t)}catch(e){d(t);if(!y(t)){throw typeErrorCreate("a node selected for removal could not be detached from its tree "+"and cannot be safely returned; refusing to sanitize in place")}}};var er=function e(r){var t=m(r);if(t){var a=[];arrayForEach(t,(function(e){arrayPush(a,e)}));arrayForEach(a,(function(e){try{d(e)}catch(e){}}))}var n=h(r);if(n){for(var i=n.length-1;i>=0;--i){var o=n[i];var l=o&&o.name;if(typeof l==="string"){try{r.removeAttribute(l)}catch(e){}}}}};var rr=function e(t,a){try{arrayPush(r.removed,{attribute:a.getAttributeNode(t),from:a})}catch(e){arrayPush(r.removed,{attribute:null,from:a})}a.removeAttribute(t);if(t==="is"){if(pe||de){try{Ze(a)}catch(e){}}else{try{a.setAttribute(t,"")}catch(e){}}}};var tr=function e(r){var t=h(r);if(!t){return}for(var a=t.length-1;a>=0;--a){var n=t[a];var i=n&&n.name;if(typeof i!=="string"||X[Ue(i)]){continue}try{r.removeAttribute(i)}catch(e){}}};var ar=function e(r){var t=[r];while(t.length>0){var a=t.pop();var n=T?T(a):a.nodeType;if(n===NODE_TYPE.element){tr(a)}var i=m(a);if(i){for(var o=i.length-1;o>=0;--o){t.push(i[o])}}}};var nr=function e(r){var a=null;var n=null;if(ce){r="<remove></remove>"+r}else{var i=stringMatch(r,/^[\r\n\t ]+/);n=i&&i[0]}if(Fe==="application/xhtml+xml"&&Re===ke){r='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+r+"</body></html>"}var o=E?P(r):r;if(Re===ke){try{a=(new f).parseFromString(o,Fe)}catch(e){}}if(!a||!a.documentElement){a=I.createDocument(Re,"template",null);try{a.documentElement.innerHTML=De?S:o}catch(e){}}var l=a.body||a.documentElement;if(r&&n){l.insertBefore(t.createTextNode(n),l.childNodes[0]||null)}if(Re===ke){return j.call(a,le?"html":"body")[0]}return le?a.documentElement:l};var ir=function e(r){return L.call(r.ownerDocument||r,r,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)};var or=function e(r){r=stringReplace(r,N," ");r=stringReplace(r,F," ");r=stringReplace(r,H," ");return r};var lr=function e(r){var t;r.normalize();var a=L.call(r.ownerDocument||r,r,s.SHOW_TEXT|s.SHOW_COMMENT|s.SHOW_CDATA_SECTION|s.SHOW_PROCESSING_INSTRUCTION,null);var n=a.nextNode();while(n){n.data=or(n.data);n=a.nextNode()}var i=(t=r.querySelectorAll)===null||t===void 0?void 0:t.call(r,"template");if(i){arrayForEach(i,(function(e){if(fr(e.content)){lr(e.content)}}))}};var sr=function e(r){var t=b?b(r):null;if(typeof t!=="string"){return false}if(Ue(t)!=="form"){return false}return typeof r.nodeName!=="string"||typeof r.textContent!=="string"||typeof r.removeChild!=="function"||r.attributes!==h(r)||typeof r.removeAttribute!=="function"||typeof r.setAttribute!=="function"||typeof r.namespaceURI!=="string"||typeof r.insertBefore!=="function"||typeof r.hasChildNodes!=="function"||r.nodeType!==T(r)||r.childNodes!==m(r)};var fr=function e(r){if(!T||typeof r!=="object"||r===null){return false}try{return T(r)===NODE_TYPE.documentFragment}catch(e){return false}};var ur=function e(r){if(!T||typeof r!=="object"||r===null){return false}try{return typeof T(r)==="number"}catch(e){return false}};function cr(e,t,a){if(e.length===0){return}arrayForEach(e,(function(e){e.call(r,t,a,Be)}))}var pr=function e(r,t){if(oe&&r.hasChildNodes()&&!ur(r.firstElementChild)&&regExpTest(ELEMENT_MARKUP_PROBE,r.textContent)&&regExpTest(ELEMENT_MARKUP_PROBE,r.innerHTML)){return true}if(oe&&r.namespaceURI===ke&&t==="style"&&ur(r.firstElementChild)){return true}if(r.nodeType===NODE_TYPE.processingInstruction){return true}if(oe&&r.nodeType===NODE_TYPE.comment&&regExpTest(COMMENT_MARKUP_PROBE,r.data)){return true}return false};var dr=function e(r,t){if(!Q[t]&&gr(t)){if(J.tagNameCheck instanceof RegExp&&regExpTest(J.tagNameCheck,t)){return false}if(J.tagNameCheck instanceof Function&&J.tagNameCheck(t)){return false}}if(he&&!_e[t]){var a=y(r);var n=m(r);if(n&&a){var i=n.length;for(var o=i-1;o>=0;--o){var l=Te?n[o]:p(n[o],true);a.insertBefore(l,v(r))}}}Ze(r);return true};var vr=function e(t){cr(z.beforeSanitizeElements,t,null);if(sr(t)){Ze(t);return true}var a=Ue(b?b(t):t.nodeName);cr(z.uponSanitizeElement,t,{tagName:a,allowedTags:q});if(pr(t,a)){Ze(t);return true}if(Q[a]||!(ee.tagCheck instanceof Function&&ee.tagCheck(a))&&!q[a]){return dr(t,a)}var n=T?T(t):t.nodeType;if(n===NODE_TYPE.element&&!Qe(t)){Ze(t);return true}if((a==="noscript"||a==="noembed"||a==="noframes")&&regExpTest(FALLBACK_TAG_CLOSE,t.innerHTML)){Ze(t);return true}if(ie&&t.nodeType===NODE_TYPE.text){var i=or(t.textContent);if(t.textContent!==i){arrayPush(r.removed,{element:t.cloneNode()});t.textContent=i}}cr(z.afterSanitizeElements,t,null);return false};var mr=function e(r,a,n){if(Z[a]){return false}if(me&&(a==="id"||a==="name")&&(n in t||n in Ye)){return false}var i=X[a]||ee.attributeCheck instanceof Function&&ee.attributeCheck(a,r);if(te&&regExpTest(G,a));else if(re&&regExpTest(U,a));else if(!i){if(gr(r)&&(J.tagNameCheck instanceof RegExp&&regExpTest(J.tagNameCheck,r)||J.tagNameCheck instanceof Function&&J.tagNameCheck(r))&&(J.attributeNameCheck instanceof RegExp&&regExpTest(J.attributeNameCheck,a)||J.attributeNameCheck instanceof Function&&J.attributeNameCheck(a,r))||a==="is"&&J.allowCustomizedBuiltInElements&&(J.tagNameCheck instanceof RegExp&&regExpTest(J.tagNameCheck,n)||J.tagNameCheck instanceof Function&&J.tagNameCheck(n)));else{return false}}else if(Ae[a]);else if(regExpTest(W,stringReplace(n,Y,"")));else if((a==="src"||a==="xlink:href"||a==="href")&&r!=="script"&&stringIndexOf(n,"data:")===0&&Se[r]);else if(ae&&!regExpTest(B,stringReplace(n,Y,"")));else if(n){return false}else;return true};var yr=addToSet({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]);var gr=function e(r){return!yr[stringToLowerCase(r)]&&regExpTest($,r)};var hr=function e(r,t,a,n){if(E&&typeof u==="object"&&typeof u.getAttributeType==="function"&&!a){switch(u.getAttributeType(r,t)){case"TrustedHTML":{return P(n)}case"TrustedScriptURL":{return k(n)}}}return n};var Tr=function e(t,a,n,i){try{if(n){t.setAttributeNS(n,a,i)}else{t.setAttribute(a,i)}if(sr(t)){Ze(t)}else{arrayPop(r.removed)}}catch(e){rr(a,t)}};var br=function e(r){cr(z.beforeSanitizeAttributes,r,null);var t=r.attributes;if(!t||sr(r)){return}var a={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:X,forceKeepAttr:undefined};var n=t.length;var i=Ue(r.nodeName);while(n--){var o=t[n];var l=o.name,s=o.namespaceURI,f=o.value;var u=Ue(l);var c=f;var p=l==="value"?c:stringTrim(c);a.attrName=u;a.attrValue=p;a.keepAttr=true;a.forceKeepAttr=undefined;cr(z.uponSanitizeAttribute,r,a);p=a.attrValue;if(ye&&(u==="id"||u==="name")&&stringIndexOf(p,ge)!==0){rr(l,r);p=ge+p}if(oe&&regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,p)){rr(l,r);continue}if(u==="attributename"&&stringMatch(p,"href")){rr(l,r);continue}if(a.forceKeepAttr){continue}if(!a.keepAttr){rr(l,r);continue}if(!ne&&regExpTest(SELF_CLOSING_TAG,p)){rr(l,r);continue}if(ie){p=or(p)}if(!mr(i,u,p)){rr(l,r);continue}p=hr(i,u,s,p);if(p!==c){Tr(r,l,s,p)}}cr(z.afterSanitizeAttributes,r,null)};var _r=function e(r){var t=null;var a=ir(r);cr(z.beforeSanitizeShadowDOM,r,null);while(t=a.nextNode()){cr(z.uponSanitizeShadowNode,t,null);vr(t);br(t);if(fr(t.content)){_r(t.content)}var n=T?T(t):t.nodeType;if(n===NODE_TYPE.element){var i=g(t);if(fr(i)){Er(i);_r(i)}}}cr(z.afterSanitizeShadowDOM,r,null)};var Er=function e(r){var t=[{node:r,shadow:null}];while(t.length>0){var a=t.pop();if(a.shadow){_r(a.shadow);continue}var n=a.node;var i=T?T(n):n.nodeType;var o=i===NODE_TYPE.element;var l=m(n);if(l){for(var s=l.length-1;s>=0;--s){t.push({node:l[s],shadow:null})}}if(o){var f=b?b(n):null;if(typeof f==="string"&&Ue(f)==="template"){var u=n.content;if(fr(u)){t.push({node:u,shadow:null})}}}if(o){var c=g(n);if(fr(c)){t.push({node:null,shadow:c},{node:c,shadow:null})}}}};r.sanitize=function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var n=null;var i=null;var o=null;var l=null;De=!e;if(De){e="\x3c!--\x3e"}if(typeof e!=="string"&&!ur(e)){e=stringifyValue(e);if(typeof e!=="string"){throw typeErrorCreate("dirty is not a string, aborting")}}if(!r.isSupported){return e}if(se){q=fe;X=ue}else{We(t)}if(z.uponSanitizeElement.length>0||z.uponSanitizeAttribute.length>0){q=clone(q)}if(z.uponSanitizeAttribute.length>0){X=clone(X)}r.removed=[];var s=Te&&typeof e!=="string"&&ur(e);if(s){var f=b?b(e):e.nodeName;if(typeof f==="string"){var u=Ue(f);if(!q[u]||Q[u]){throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}if(sr(e)){throw typeErrorCreate("root node is clobbered and cannot be sanitized in-place")}try{Er(e)}catch(r){er(e);throw r}}else if(ur(e)){n=nr("\x3c!----\x3e");i=n.ownerDocument.importNode(e,true);if(i.nodeType===NODE_TYPE.element&&i.nodeName==="BODY"){n=i}else if(i.nodeName==="HTML"){n=i}else{n.appendChild(i)}Er(i)}else{if(!pe&&!ie&&!le&&e.indexOf("<")===-1){return E&&ve?P(e):e}n=nr(e);if(!n){return pe?null:ve?S:""}}if(n&&ce){Ze(n.firstChild)}var c=ir(s?e:n);try{while(o=c.nextNode()){vr(o);br(o);if(fr(o.content)){_r(o.content)}}}catch(r){if(s){er(e)}throw r}if(s){arrayForEach(r.removed,(function(e){if(e.element){ar(e.element)}}));if(ie){lr(e)}return e}if(pe){if(ie){lr(n)}if(de){l=M.call(n.ownerDocument);while(n.firstChild){l.appendChild(n.firstChild)}}else{l=n}if(X.shadowroot||X.shadowrootmode){l=C.call(a,l,true)}return l}var p=le?n.outerHTML:n.innerHTML;if(le&&q["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&regExpTest(DOCTYPE_NAME,n.ownerDocument.doctype.name)){p="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+p}if(ie){p=or(p)}return E&&ve?P(p):p};r.setConfig=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};We(e);se=true;fe=q;ue=X};r.clearConfig=function(){Be=null;se=false;fe=null;ue=null;E=w;S=""};r.isValidAttribute=function(e,r,t){if(!Be){We({})}var a=Ue(e);var n=Ue(r);return mr(a,n,t)};r.addHook=function(e,r){if(typeof r!=="function"){return}if(!objectHasOwnProperty(z,e)){return}arrayPush(z[e],r)};r.removeHook=function(e,r){if(!objectHasOwnProperty(z,e)){return undefined}if(r!==undefined){var t=arrayLastIndexOf(z[e],r);return t===-1?undefined:arraySplice(z[e],t,1)[0]}return arrayPop(z[e])};r.removeHooks=function(e){if(!objectHasOwnProperty(z,e)){return}z[e]=[]};r.removeAllHooks=function(){z=_createHooksMap()};return r}var purify=createDOMPurify();var sanitizeSvg=function(e){return purify.sanitize(e,{USE_PROFILES:{svg:true},FORBID_ATTR:["height","width"]})};export{sanitizeSvg as s};
@@ -1 +1 @@
1
- import{__extends}from"tslib";import{B as BalWindowResizeListener}from"./breakpoints.subject-C32mP6rF.js";import{a as SingleSubject}from"./listener-CClDIhvK.js";import{b as balBrowser}from"./browser-B1u-Mq75.js";var BalWindowResizeSubject=function(i){__extends(t,i);function t(){var t=i.call(this,(function(i,t){i.windowResizeListener()}))||this;t.listener=new BalWindowResizeListener;return t}t.prototype.attach=function(t){var e=this;i.prototype.attach.call(this,t);if(balBrowser.hasWindow){this.listener.connect(window);this.listener.add((function(){return i.prototype.notify.call(e)}))}};t.prototype.detach=function(){i.prototype.detach.call(this);this.listener.disconnect()};return t}(SingleSubject);new BalWindowResizeSubject;function ListenToWindowResize(){return function(i,t,e){var n=i.connectedCallback,s=i.disconnectedCallback;i.connectedCallback=function(){if(!this._balWindowResizeSubject){this._balWindowResizeSubject=new BalWindowResizeSubject;this._balWindowResizeSubject.attach(this)}return n&&n.call(this)};i.disconnectedCallback=function(){if(this._balWindowResizeSubject){this._balWindowResizeSubject.detach();this._balWindowResizeSubject=undefined}return s&&s.call(this)}}}export{ListenToWindowResize as L};
1
+ import{__extends}from"tslib";import{B as BalWindowResizeListener}from"./breakpoints.subject-BugBexTF.js";import{a as SingleSubject}from"./listener-CClDIhvK.js";import{b as balBrowser}from"./browser-B1u-Mq75.js";var BalWindowResizeSubject=function(i){__extends(t,i);function t(){var t=i.call(this,(function(i,t){i.windowResizeListener()}))||this;t.listener=new BalWindowResizeListener;return t}t.prototype.attach=function(t){var e=this;i.prototype.attach.call(this,t);if(balBrowser.hasWindow){this.listener.connect(window);this.listener.add((function(){return i.prototype.notify.call(e)}))}};t.prototype.detach=function(){i.prototype.detach.call(this);this.listener.disconnect()};return t}(SingleSubject);new BalWindowResizeSubject;function ListenToWindowResize(){return function(i,t,e){var n=i.connectedCallback,s=i.disconnectedCallback;i.connectedCallback=function(){if(!this._balWindowResizeSubject){this._balWindowResizeSubject=new BalWindowResizeSubject;this._balWindowResizeSubject.attach(this)}return n&&n.call(this)};i.disconnectedCallback=function(){if(this._balWindowResizeSubject){this._balWindowResizeSubject.detach();this._balWindowResizeSubject=undefined}return s&&s.call(this)}}}export{ListenToWindowResize as L};
@@ -9,20 +9,20 @@ export declare class MaskComponentMock implements MaskComponent {
9
9
  readonly: boolean;
10
10
  el: HTMLDivElement;
11
11
  nativeInput: HTMLInputElement;
12
- valueChanged: import("vitest").Mock<any, any>;
12
+ valueChanged: import("vitest").Mock<(...args: any[]) => any>;
13
13
  balKeyPress: {
14
- emit: import("vitest").Mock<any, any>;
14
+ emit: import("vitest").Mock<(...args: any[]) => any>;
15
15
  };
16
16
  balChange: {
17
- emit: import("vitest").Mock<any, any>;
17
+ emit: import("vitest").Mock<(...args: any[]) => any>;
18
18
  };
19
19
  balInput: {
20
- emit: import("vitest").Mock<any, any>;
20
+ emit: import("vitest").Mock<(...args: any[]) => any>;
21
21
  };
22
22
  balFocus: {
23
- emit: import("vitest").Mock<any, any>;
23
+ emit: import("vitest").Mock<(...args: any[]) => any>;
24
24
  };
25
25
  balBlur: {
26
- emit: import("vitest").Mock<any, any>;
26
+ emit: import("vitest").Mock<(...args: any[]) => any>;
27
27
  };
28
28
  }
@@ -3,13 +3,13 @@ export declare class MaskMock implements Mask {
3
3
  maxLength: number;
4
4
  minLength: number;
5
5
  inputMode: BalProps.BalInputInputMode;
6
- fireI18nChange: import("vitest").Mock<any, any>;
7
- fireKeyDown: import("vitest").Mock<any, any>;
8
- fireFocus: import("vitest").Mock<any, any>;
9
- fireBlur: import("vitest").Mock<any, any>;
10
- firePaste: import("vitest").Mock<any, any>;
11
- fireClick: import("vitest").Mock<any, any>;
12
- fireValueChanged: import("vitest").Mock<any, any>;
13
- toParsedValue: import("vitest").Mock<any, any>;
14
- toFormattedValue: import("vitest").Mock<any, any>;
6
+ fireI18nChange: import("vitest").Mock<(...args: any[]) => any>;
7
+ fireKeyDown: import("vitest").Mock<(...args: any[]) => any>;
8
+ fireFocus: import("vitest").Mock<(...args: any[]) => any>;
9
+ fireBlur: import("vitest").Mock<(...args: any[]) => any>;
10
+ firePaste: import("vitest").Mock<(...args: any[]) => any>;
11
+ fireClick: import("vitest").Mock<(...args: any[]) => any>;
12
+ fireValueChanged: import("vitest").Mock<(...args: any[]) => any>;
13
+ toParsedValue: import("vitest").Mock<(...args: any[]) => any>;
14
+ toFormattedValue: import("vitest").Mock<(...args: any[]) => any>;
15
15
  }
@@ -1 +1 @@
1
- export declare const sanitizeSvg: (svg: string) => any;
1
+ export declare const sanitizeSvg: (svg: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baloise/ds-core",
3
- "version": "19.10.0",
3
+ "version": "19.10.1",
4
4
  "description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,12 +24,9 @@
24
24
  "dist/",
25
25
  "loader/"
26
26
  ],
27
- "scripts": {
28
- "test:ui": "vitest --ui"
29
- },
30
27
  "dependencies": {
31
- "@baloise/ds-styles": "19.10.0",
32
- "@baloise/ds-icons": "19.10.0",
28
+ "@baloise/ds-styles": "19.10.1",
29
+ "@baloise/ds-icons": "19.10.1",
33
30
  "@baloise/web-app-utils": "3.15.0",
34
31
  "@floating-ui/dom": "~1.6.3",
35
32
  "@popperjs/core": "~2.11.4",
@@ -37,7 +34,7 @@
37
34
  "big.js": "~6.2.1",
38
35
  "contactjs": "2.1.7",
39
36
  "filesize.js": "~2.0.0",
40
- "dompurify": "3.1.2",
37
+ "dompurify": "^3.4.11",
41
38
  "lodash.camelcase": "~4.3.0",
42
39
  "lodash.isempty": "~4.4.0",
43
40
  "lodash.isnan": "~3.0.2",
@@ -53,9 +50,9 @@
53
50
  "devDependencies": {
54
51
  "@baloise/output-target-angular": "0.0.0",
55
52
  "@baloise/output-target-web": "0.0.0",
56
- "@baloise/ds-maps": "19.10.0",
57
- "@baloise/ds-brand-icons": "19.10.0",
58
- "@baloise/ds-favicons": "19.10.0",
53
+ "@baloise/ds-maps": "19.10.1",
54
+ "@baloise/ds-brand-icons": "19.10.1",
55
+ "@baloise/ds-favicons": "19.10.1",
59
56
  "compression": "~1.8.1",
60
57
  "express": "~4.22.1",
61
58
  "serve-index": "~1.9.1"
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,a){function n(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function i(e){try{l(a.next(e))}catch(e){o(e)}}function s(e){try{l(a["throw"](e))}catch(e){o(e)}}function l(e){e.done?r(e.value):n(e.value).then(i,s)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(r=0)),r)try{if(a=1,n&&(o=s[0]&2?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;if(n=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];n=0}finally{a=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-PNu_g_s6.system.js","./p-Cjiw70Dk.system.js","./p-BbAtjg9Y.system.js","./p-254FFVWk.system.js","./p-CLDmOIBx.system.js","./p-DKjTFqnu.system.js","./p-BNWt5z9B.system.js","./p-DV-2u4Pm.system.js","./p-D5aEF_JU.system.js","./p-CTuoH3RE.system.js","./p-D8DleYVA.system.js","./p-ncoiCFQ1.system.js","./p-DST0VloN.system.js","./p-BpMXwP_q.system.js","./p-Ck7YRry-.system.js","./p-m5GX4h3i.system.js","./p-D1opIX9W.system.js","./p-DtlqgdI2.system.js","./p-DDPYMMGG.system.js","./p-D7_eHNTI.system.js","./p-4RgSLeC0.system.js","./p-DdX8FaaK.system.js","./p-DQy9pRj5.system.js","./p-BM_oHMik.system.js","./p-4Y53iwfN.system.js","./p-Bzy18UgU.system.js"],(function(e){"use strict";var t,r,a,n,o,i,s,l,c,u,b,d,h,p,m,f,g,_,w,v,y,k,x,j;return{setters:[function(e){t=e.h;r=e.r;a=e.c;n=e.H;o=e.g},function(e){i=e._;s=e.a},function(e){l=e.B},function(e){c=e.L},function(e){u=e.s},function(e){b=e.a},function(e){d=e.t;h=e.S},function(e){p=e.L},function(e){m=e.L},function(e){f=e.L},function(e){g=e.b},function(e){_=e.d},function(e){w=e.L},function(e){v=e.L},function(e){y=e.s},function(e){k=e.i},function(e){x=e.l;j=e.a},null,null,null,null,null,null,null,null,null],execute:function(){var O=function(e){var r=e.value,a=e.items,n=e.containerId,o=e.onControlChange;var i=l.block("carousel");var s=i.element("controls");return t("div",{class:Object.assign(Object.assign({},s.class()),s.modifier("tabs").class())},t("bal-card",null,t("bal-card-content",{role:"tabs"},a.map((function(e){return t("button",{class:{button:true,"is-fullwidth":true,"is-primary":r===e.value,"is-light":r!==e.value},role:"tab","aria-selected":b(r===e.value),"aria-controls":n+"-"+d(e.label),key:e.value,onClick:function(){return o(e)}},e.label)})))))};var z=':root{--bal-carousel-inner-border-background:var(--bal-color-border);--bal-carousel-inner-border-background-inverted:var(--bal-color-border-primary-light);--bal-carousel-inner-shadow-left-background-before:var(--bal-color-white);--bal-carousel-inner-shadow-right-background-after:var(--bal-color-white);--bal-carousel-inner-shadow-left-background-inverted-before:var(--bal-color-primary);--bal-carousel-inner-shadow-right-background-inverted-after:var(--bal-color-primary);--bal-carousel-product-item-button-background:var(--bal-color-white);--bal-carousel-product-item-button-background-green:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-hover:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-active:var(--bal-color-green-2);--bal-carousel-product-item-button-background-red:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-hover:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-active:var(--bal-color-red-2);--bal-carousel-product-item-button-background-yellow:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-hover:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-active:var(--bal-color-yellow-2);--bal-carousel-product-item-button-background-purple:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-hover:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-active:var(--bal-color-purple-2);--bal-carousel-inner-border-radius:var(--bal-radius-rounded);--bal-carousel-image-border-radius:var(--bal-radius-normal);--bal-carousel-product-item-button-border-radius:var(--bal-radius-large);--bal-carousel-product-item-button-label-text-color:var(--bal-color-text-primary);--bal-carousel-sticky-top:0}.bal-swiper{position:relative;display:block}.bal-swiper__inner{display:block;position:relative;margin-left:auto;margin-right:auto;overflow:clip;list-style:none;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}.bal-swiper__inner--items-per-view-auto .bal-carousel__item{width:auto}.bal-swiper__inner--items-per-view-1 .bal-carousel__item{width:100%}.bal-swiper__inner--items-per-view-2 .bal-carousel__item{width:50%}.bal-swiper__inner--items-per-view-3 .bal-carousel__item{width:33.3333%}.bal-swiper__inner--items-per-view-4 .bal-carousel__item{width:25%}.bal-swiper__container{position:relative;max-width:100%;width:100%;height:100%;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0ms;transition-duration:0ms;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-swiper__container--gap-none{gap:0}.bal-swiper__container--gap-normal{gap:1rem}.bal-swiper__container--gap-medium{gap:1.5rem}.bal-swiper__controls{width:100%}.bal-swiper__controls--dots{position:relative}@media screen and (max-width: 768px){.bal-swiper__controls--large{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;gap:2rem;margin-top:1rem}}@media screen and (min-width: 769px),print{.bal-swiper__controls--large{position:absolute;top:calc(50% - 1.5rem)}.bal-swiper__controls--large .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--large .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--large .bal-swiper__controls__button--right{right:0}}.bal-swiper__controls__button--hidden{display:none !important;visibility:none !important}.bal-swiper__controls--small{position:absolute;top:calc(50% - 1rem)}.bal-swiper__controls--small .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--small .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--small .bal-swiper__controls__button--right{right:0}.bal-swiper__controls--small .bal-swiper__controls__button--hidden{display:none !important;visibility:hidden !important}.bal-swiper__inner--shadow-left::before,.bal-swiper__inner--shadow-right::after{position:absolute;width:3rem;height:100%;top:0}.bal-swiper__inner--shadow-left::before{content:"";left:0;background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right::after{content:"";right:0;background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-after) 50%)}.bal-swiper__inner--shadow-left.bal-swiper__inner--inverted::before{background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-inverted-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-inverted-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right.bal-swiper__inner--inverted::after{background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-inverted-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--full-height{height:100%}.bal-carousel--full-height .bal-carousel__item{height:auto}.bal-carousel__inner--full-height{height:100%}.bal-carousel__inner__container--border{padding-bottom:var(--bal-border-width-normal)}.bal-carousel__inner__container__border{position:absolute;background:var(--bal-carousel-inner-border-background);border-radius:var(--bal-carousel-inner-border-radius);height:var(--bal-border-width-normal);width:100%;bottom:0;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-carousel__inner__container__border--inverted{background:var(--bal-carousel-inner-border-background-inverted)}.bal-carousel__item{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;font-size:var(--bal-text-size-large);min-height:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;round:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:2.5rem}}@media screen and (min-width: 1024px){.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:3rem}}.bal-carousel--card{margin-left:-1rem;margin-right:-1rem}@media screen and (min-width: 769px),print{.bal-carousel--card{margin-left:-2.5rem;margin-right:-2.5rem}}.bal-carousel--card .bal-carousel__controls{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__controls{padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--card .bal-carousel__item{width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__item{width:100%;padding-top:2.5rem;padding-bottom:2.5rem;padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--controls-sticky .bal-carousel__controls--tabs{position:-webkit-sticky;position:sticky;top:var(--bal-carousel-sticky-top);z-index:var(--bal-z-index-sticky)}.bal-carousel__controls--tabs .bal-card{padding:0}.bal-carousel__controls--tabs .bal-card-content{padding:.5rem !important;gap:.5rem;display:-ms-flexbox;display:flex}.bal-carousel__controls--tabs .bal-card-content .bal-button{-ms-flex:1;flex:1}.bal-carousel__controls--tabs .bal-card-content .bal-button .button{padding:.5rem !important}.bal-carousel--image .bal-carousel__inner{border-radius:var(--bal-carousel-image-border-radius)}.bal-carousel--image .bal-carousel__inner--is-1by1{padding-top:100%}.bal-carousel--image .bal-carousel__inner--is-16by9{padding-top:56.25%}.bal-carousel--image .bal-carousel__inner--is-3by2{padding-top:66.66%}.bal-carousel--image .bal-carousel__inner--is-4by3{padding-top:75%}.bal-carousel--image .bal-carousel__inner__container{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%}.bal-carousel--image .bal-carousel__item{position:relative;-ms-flex:0 0 100%;flex:0 0 100%}.bal-carousel--image .bal-carousel__item>img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-drag:none;user-zoom:fixed}.bal-carousel--product .bal-carousel__inner__container{gap:1rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:1rem;padding-bottom:1rem}@media screen and (min-width: 769px),print{.bal-carousel--product .bal-carousel__inner__container{padding-top:1.5rem;padding-bottom:1.5rem}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__inner__container{padding-top:2rem;padding-bottom:2rem}}.bal-carousel--product .bal-carousel__item{display:-ms-flexbox;display:flex;min-width:10rem;max-width:10rem;height:11rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item__button{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:1rem;border-radius:var(--bal-carousel-product-item-button-border-radius);padding:var(--bal-text-size-x-small);border:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;background:var(--bal-carousel-product-item-button-background)}@media (hover: hover)and (pointer: fine){.bal-carousel--product .bal-carousel__item__button:focus-visible:not(:active){-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-green{background:var(--bal-carousel-product-item-button-background-green)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-green:hover{background:var(--bal-carousel-product-item-button-background-green-hover)}.bal-carousel--product .bal-carousel__item__button--color-green:active{background:var(--bal-carousel-product-item-button-background-green-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-red{background:var(--bal-carousel-product-item-button-background-red)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-red:hover{background:var(--bal-carousel-product-item-button-background-red-hover)}.bal-carousel--product .bal-carousel__item__button--color-red:active{background:var(--bal-carousel-product-item-button-background-red-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-yellow{background:var(--bal-carousel-product-item-button-background-yellow)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-yellow:hover{background:var(--bal-carousel-product-item-button-background-yellow-hover)}.bal-carousel--product .bal-carousel__item__button--color-yellow:active{background:var(--bal-carousel-product-item-button-background-yellow-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-purple{background:var(--bal-carousel-product-item-button-background-purple)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-purple:hover{background:var(--bal-carousel-product-item-button-background-purple-hover)}.bal-carousel--product .bal-carousel__item__button--color-purple:active{background:var(--bal-carousel-product-item-button-background-purple-active)}}.bal-carousel--product .bal-carousel__item__button__image{width:5rem;height:5rem;pointer-events:none}.bal-carousel--product .bal-carousel__item__button__label{font-weight:var(--bal-font-weight-bold);color:var(--bal-carousel-product-item-button-label-text-color);font-size:var(--bal-text-size-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;height:3.5rem;overflow:hidden;line-height:1.15rem;word-break:break-word}';var C=e("bal_carousel",function(){function e(e){r(this,e);this.balChange=a(this,"balChange");this.swiper=new h;this.swiperIsLastSlideVisible=false;this.hasAnimated=false;this.isMobile=g.isMobile;this.language=_.language;this.value=0;this.steps=1;this.itemsPerView=1;this.controls="none";this.space="none";this.htmlRole="list";this.controlsOverflow=false;this.inverted=false;this.fullHeight=false;this.aspectRatio="16by9";this.interface="";this.controlsSticky=false;this.scrollY=true;this.border=false;this.mutationObserverActive=true}e.prototype.onValueChange=function(){this.swiper.index=this.value};e.prototype.onStepsChange=function(){this.swiper.steps=this.steps};e.prototype.onItemsPerViewChange=function(){this.swiper.itemsPerView=this.itemsPerView};e.prototype.onControlsChange=function(){this.swiper.controls=this.controls};e.prototype.onSpaceChange=function(){this.swiper.gapSpace=this.space};e.prototype.onInterFaceChange=function(){this.swiper.gapSpace=this.interface==="product"?"normal":this.space};e.prototype.connectedCallback=function(){this.swiper.connectedCallback(this);this.onControlsChange();this.onItemsPerViewChange();this.onStepsChange();this.onSpaceChange();this.onInterFaceChange();this.onValueChange()};e.prototype.disconnectedCallback=function(){this.swiper.disconnectedCallback()};e.prototype.blockVerticalScrolling=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){if(!this.scrollY&&((t=this.el)===null||t===void 0?void 0:t.contains(e.target))){u(e)}return[2]}))}))};e.prototype.mutationListener=function(){this.swiper.notifyChange()};e.prototype.visibilityListener=function(){this.swiper.notifyChange()};e.prototype.swipeListener=function(e){var t=e.left,r=e.right;if(t){this.next()}else if(r){this.previous()}};e.prototype.breakpointListener=function(e){this.isMobile=e.mobile;this.swiper.notifyChange()};e.prototype.resizeListener=function(){this.swiper.notifyChange()};e.prototype.configChanged=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=e.language;return[2]}))}))};e.prototype.previous=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=this.steps}return __generator(this,(function(t){this.swiper.previous(e);return[2]}))}))};e.prototype.next=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e=this.steps}return __generator(this,(function(t){this.swiper.next(e);return[2]}))}))};e.prototype.getContainerId=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.swiper.containerId]}))}))};e.prototype.swiperGetAllChildrenElements=function(){return Array.from(this.el.querySelectorAll("bal-carousel-item"))};e.prototype.swiperOnChange=function(e){this.value=e;this.balChange.emit(e)};e.prototype.render=function(){var e=this;var r=l.block("carousel");var a=r.element("inner");var o=a.element("container");return t(n,{key:"561107c8e3c5eb7a80b3e2a8b113ed13f2fdfb5d",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssSwiper()),r.class()),r.modifier(this.interface).class(this.interface!=="")),r.modifier("full-height").class(this.fullHeight)),r.modifier("controls-sticky").class(this.controlsSticky)),r.modifier("controls-tabs").class(this.controls==="tabs"))},this.controls==="tabs"?t(O,{value:this.value,items:this.swiper.getAllControlItems(),containerId:this.swiper.containerId,onControlChange:function(t){return e.swiper.onControlChange(t.value)}}):"",t("div",{key:"6adb9641efe5f488a940ffac297bcc7b3932c92a",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssInnerSwiper()),a.class()),a.modifier("is-".concat(this.aspectRatio)).class()),a.modifier("inverted").class(this.inverted)),a.modifier("full-height").class(this.fullHeight)),ref:function(t){return e.swiper.innerEl=t}},t("div",{key:"fb4083afd4a967761c25200e8630f171b02a6c2d",id:this.swiper.containerId,role:this.controls==="tabs"?"":"list",class:Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssSwiperContainer()),o.class()),o.modifier("border").class(this.border)),o.modifier("is-".concat(this.aspectRatio)).class()),ref:function(t){return e.swiper.containerEl=t}},t("slot",{key:"c46d996cc3904bcdc38951f155e3a49f73f284f8"}),this.border?t("div",{id:"".concat(this.swiper.id,"-border"),"aria-hidden":"true",class:Object.assign(Object.assign({},o.element("border").class()),o.element("border").modifier("inverted").class(this.inverted)),ref:function(t){return e.swiper.borderEl=t}}):"")),this.swiper.renderControls())};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["onValueChange"],steps:["onStepsChange"],itemsPerView:["onItemsPerViewChange"],controls:["onControlsChange"],space:["onSpaceChange"],interface:["onInterFaceChange"]}},enumerable:false,configurable:true});return e}());i([p({tags:["bal-carousel-item"],characterData:false}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"mutationListener",null);i([w(),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"visibilityListener",null);i([m(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],C.prototype,"swipeListener",null);i([c(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],C.prototype,"breakpointListener",null);i([f(),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"resizeListener",null);i([v(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",Promise)],C.prototype,"configChanged",null);C.style=z;var D=e("bal_carousel_item",function(){function e(e){var t=this;r(this,e);this.balNavigate=a(this,"balNavigate");this.balFocus=a(this,"balFocus");this.balBlur=a(this,"balBlur");this.imageInheritAttributes={};this.isOnLoadEventDone=false;this.containerId="";this.svgContent="";this.label="";this.svg="";this.htmlRole="listitem";this.elementType="button";this.name=undefined;this.value=undefined;this.target="_self";this.generateSvgContent=function(){if(t.svg!==undefined&&t.svg.length>0){t.svgContent=y(t.svg)}};this.onClick=function(e){if(t.href!==undefined){t.balNavigate.emit(e)}};this.onFocus=function(){t.balFocus.emit()};this.onBlur=function(){t.balBlur.emit()}}e.prototype.svgChanged=function(){this.generateSvgContent()};e.prototype.connectedCallback=function(){this.generateSvgContent()};e.prototype.componentDidLoad=function(){var e=this;x((function(){e.isOnLoadEventDone=true}))};e.prototype.componentWillLoad=function(){this.imageInheritAttributes=k(this.el,["alt"]);this.getContainerId()};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,j()];case 1:e.sent();if(this.buttonEl){this.buttonEl.focus()}return[2]}}))}))};e.prototype.getContainerId=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){switch(r.label){case 0:e=this.el.closest("bal-carousel");t=this;return[4,e.getContainerId()];case 1:t.containerId=r.sent();return[2]}}))}))};e.prototype.render=function(){var e=this;var r=l.block("carousel");var a=r.element("item");var o=!!this.color&&!!this.label;var i=this.el.closest("bal-carousel");var s=i&&i.controls==="tabs"?"tabpanel":"listitem";var c="".concat(this.containerId,"-").concat(d(this.label));if(!o){return t(n,{id:c,role:s,class:Object.assign({},a.class()),"aria-label":this.label},this.isOnLoadEventDone&&this.src!==undefined?t("img",Object.assign({draggable:false,onDragStart:function(){return false},src:this.src},this.imageInheritAttributes)):"",t("slot",null))}var u=a.element("button");var b=u.element("image");var h=u.element("label");var p=this,m=p.elementType,f=p.download,g=p.href,_=p.rel,w=p.target,v=p.name,y=p.value;var k=this.href===undefined?"button":"a";var x=k==="button"?{type:m,name:v,value:y}:{download:f,href:g,rel:_,target:w};return t(n,{id:c,role:s,"aria-label":this.label,class:Object.assign({},a.class())},t(k,Object.assign({},x,{class:Object.assign(Object.assign({},u.class()),u.modifier("color-".concat(this.color)).class()),part:"native",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,ref:function(t){return e.buttonEl=t}}),this.isOnLoadEventDone&&this.src!==undefined?t("img",Object.assign({class:Object.assign({},b.class()),draggable:false,onDragStart:function(){return false},"aria-hidden":"true",src:this.src},this.imageInheritAttributes)):this.isOnLoadEventDone&&this.svgContent!==undefined?t("div",{class:Object.assign({},b.class()),innerHTML:this.svgContent}):"",this.label!==undefined?t("span",{class:Object.assign({},h.class())},this.label):"",t("slot",null)))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{svg:["svgChanged"]}},enumerable:false,configurable:true});return e}())}}}));
@@ -1 +0,0 @@
1
- import{h as e,r,c as t,H as a,g as o}from"./p-BdVwMG9u.js";import{_ as i,a as s}from"./p-dfXERft2.js";import{B as n}from"./p-ByiN-QjD.js";import{L as l}from"./p-CGYi6koW.js";import{s as c}from"./p-CpDHeXfo.js";import{a as b}from"./p-DBsOHTWj.js";import{t as d,S as u}from"./p-B_C7V4Sa.js";import{L as p}from"./p-Dvgek0Sb.js";import{L as h}from"./p-DRqAN-8G.js";import{L as m}from"./p-IZFfLjcz.js";import{b as g}from"./p-DoUUOEu5.js";import{d as _}from"./p-CBkFUwrD.js";import{L as w}from"./p-Dp4edqFK.js";import{L as f}from"./p-B-L34nz8.js";import{s as v}from"./p-DojUs2K8.js";import{i as k}from"./p-C4sZQbkT.js";import{l as y,a as x}from"./p-Ba5qjFjW.js";import"./p-BERg8BNc.js";import"./p-C20cwFWy.js";import"./p-B1u-Mq75.js";import"./p-C_FHgwWW.js";import"./p-MBsgW7uz.js";import"./p-C22U88Bg.js";import"./p-D7M-7v58.js";import"./p-D7ovid3w.js";import"./p-BFTU3MAI.js";const j=({value:r,items:t,containerId:a,onControlChange:o})=>{const i=n.block("carousel").element("controls");return e("div",{class:Object.assign(Object.assign({},i.class()),i.modifier("tabs").class())},e("bal-card",null,e("bal-card-content",{role:"tabs"},t.map((t=>e("button",{class:{button:!0,"is-fullwidth":!0,"is-primary":r===t.value,"is-light":r!==t.value},role:"tab","aria-selected":b(r===t.value),"aria-controls":a+"-"+d(t.label),key:t.value,onClick:()=>o(t)},t.label))))))},C=class{constructor(e){r(this,e),this.balChange=t(this,"balChange"),this.swiper=new u,this.swiperIsLastSlideVisible=!1,this.hasAnimated=!1,this.isMobile=g.isMobile,this.language=_.language,this.value=0,this.steps=1,this.itemsPerView=1,this.controls="none",this.space="none",this.htmlRole="list",this.controlsOverflow=!1,this.inverted=!1,this.fullHeight=!1,this.aspectRatio="16by9",this.interface="",this.controlsSticky=!1,this.scrollY=!0,this.border=!1,this.mutationObserverActive=!0}onValueChange(){this.swiper.index=this.value}onStepsChange(){this.swiper.steps=this.steps}onItemsPerViewChange(){this.swiper.itemsPerView=this.itemsPerView}onControlsChange(){this.swiper.controls=this.controls}onSpaceChange(){this.swiper.gapSpace=this.space}onInterFaceChange(){this.swiper.gapSpace="product"===this.interface?"normal":this.space}connectedCallback(){this.swiper.connectedCallback(this),this.onControlsChange(),this.onItemsPerViewChange(),this.onStepsChange(),this.onSpaceChange(),this.onInterFaceChange(),this.onValueChange()}disconnectedCallback(){this.swiper.disconnectedCallback()}async blockVerticalScrolling(e){var r;!this.scrollY&&(null===(r=this.el)||void 0===r?void 0:r.contains(e.target))&&c(e)}mutationListener(){this.swiper.notifyChange()}visibilityListener(){this.swiper.notifyChange()}swipeListener({left:e,right:r}){e?this.next():r&&this.previous()}breakpointListener(e){this.isMobile=e.mobile,this.swiper.notifyChange()}resizeListener(){this.swiper.notifyChange()}async configChanged(e){this.language=e.language}async previous(e=this.steps){this.swiper.previous(e)}async next(e=this.steps){this.swiper.next(e)}async getContainerId(){return this.swiper.containerId}swiperGetAllChildrenElements(){return Array.from(this.el.querySelectorAll("bal-carousel-item"))}swiperOnChange(e){this.value=e,this.balChange.emit(e)}render(){const r=n.block("carousel"),t=r.element("inner"),o=t.element("container");return e(a,{key:"561107c8e3c5eb7a80b3e2a8b113ed13f2fdfb5d",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssSwiper()),r.class()),r.modifier(this.interface).class(""!==this.interface)),r.modifier("full-height").class(this.fullHeight)),r.modifier("controls-sticky").class(this.controlsSticky)),r.modifier("controls-tabs").class("tabs"===this.controls))},"tabs"===this.controls?e(j,{value:this.value,items:this.swiper.getAllControlItems(),containerId:this.swiper.containerId,onControlChange:e=>this.swiper.onControlChange(e.value)}):"",e("div",{key:"6adb9641efe5f488a940ffac297bcc7b3932c92a",class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssInnerSwiper()),t.class()),t.modifier(`is-${this.aspectRatio}`).class()),t.modifier("inverted").class(this.inverted)),t.modifier("full-height").class(this.fullHeight)),ref:e=>this.swiper.innerEl=e},e("div",{key:"fb4083afd4a967761c25200e8630f171b02a6c2d",id:this.swiper.containerId,role:"tabs"===this.controls?"":"list",class:Object.assign(Object.assign(Object.assign(Object.assign({},this.swiper.cssSwiperContainer()),o.class()),o.modifier("border").class(this.border)),o.modifier(`is-${this.aspectRatio}`).class()),ref:e=>this.swiper.containerEl=e},e("slot",{key:"c46d996cc3904bcdc38951f155e3a49f73f284f8"}),this.border?e("div",{id:`${this.swiper.id}-border`,"aria-hidden":"true",class:Object.assign(Object.assign({},o.element("border").class()),o.element("border").modifier("inverted").class(this.inverted)),ref:e=>this.swiper.borderEl=e}):"")),this.swiper.renderControls())}get el(){return o(this)}static get watchers(){return{value:["onValueChange"],steps:["onStepsChange"],itemsPerView:["onItemsPerViewChange"],controls:["onControlsChange"],space:["onSpaceChange"],interface:["onInterFaceChange"]}}};i([p({tags:["bal-carousel-item"],characterData:!1}),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"mutationListener",null),i([w(),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"visibilityListener",null),i([h(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],C.prototype,"swipeListener",null),i([l(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],C.prototype,"breakpointListener",null),i([m(),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],C.prototype,"resizeListener",null),i([f(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",Promise)],C.prototype,"configChanged",null),C.style=':root{--bal-carousel-inner-border-background:var(--bal-color-border);--bal-carousel-inner-border-background-inverted:var(--bal-color-border-primary-light);--bal-carousel-inner-shadow-left-background-before:var(--bal-color-white);--bal-carousel-inner-shadow-right-background-after:var(--bal-color-white);--bal-carousel-inner-shadow-left-background-inverted-before:var(--bal-color-primary);--bal-carousel-inner-shadow-right-background-inverted-after:var(--bal-color-primary);--bal-carousel-product-item-button-background:var(--bal-color-white);--bal-carousel-product-item-button-background-green:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-hover:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-active:var(--bal-color-green-2);--bal-carousel-product-item-button-background-red:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-hover:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-active:var(--bal-color-red-2);--bal-carousel-product-item-button-background-yellow:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-hover:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-active:var(--bal-color-yellow-2);--bal-carousel-product-item-button-background-purple:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-hover:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-active:var(--bal-color-purple-2);--bal-carousel-inner-border-radius:var(--bal-radius-rounded);--bal-carousel-image-border-radius:var(--bal-radius-normal);--bal-carousel-product-item-button-border-radius:var(--bal-radius-large);--bal-carousel-product-item-button-label-text-color:var(--bal-color-text-primary);--bal-carousel-sticky-top:0}.bal-swiper{position:relative;display:block}.bal-swiper__inner{display:block;position:relative;margin-left:auto;margin-right:auto;overflow:clip;list-style:none;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}.bal-swiper__inner--items-per-view-auto .bal-carousel__item{width:auto}.bal-swiper__inner--items-per-view-1 .bal-carousel__item{width:100%}.bal-swiper__inner--items-per-view-2 .bal-carousel__item{width:50%}.bal-swiper__inner--items-per-view-3 .bal-carousel__item{width:33.3333%}.bal-swiper__inner--items-per-view-4 .bal-carousel__item{width:25%}.bal-swiper__container{position:relative;max-width:100%;width:100%;height:100%;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0ms;transition-duration:0ms;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-swiper__container--gap-none{gap:0}.bal-swiper__container--gap-normal{gap:1rem}.bal-swiper__container--gap-medium{gap:1.5rem}.bal-swiper__controls{width:100%}.bal-swiper__controls--dots{position:relative}@media screen and (max-width: 768px){.bal-swiper__controls--large{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;gap:2rem;margin-top:1rem}}@media screen and (min-width: 769px),print{.bal-swiper__controls--large{position:absolute;top:calc(50% - 1.5rem)}.bal-swiper__controls--large .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--large .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--large .bal-swiper__controls__button--right{right:0}}.bal-swiper__controls__button--hidden{display:none !important;visibility:none !important}.bal-swiper__controls--small{position:absolute;top:calc(50% - 1rem)}.bal-swiper__controls--small .bal-swiper__controls__button{position:absolute;z-index:7}.bal-swiper__controls--small .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--small .bal-swiper__controls__button--right{right:0}.bal-swiper__controls--small .bal-swiper__controls__button--hidden{display:none !important;visibility:hidden !important}.bal-swiper__inner--shadow-left::before,.bal-swiper__inner--shadow-right::after{position:absolute;width:3rem;height:100%;top:0}.bal-swiper__inner--shadow-left::before{content:"";left:0;background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right::after{content:"";right:0;background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-after) 50%)}.bal-swiper__inner--shadow-left.bal-swiper__inner--inverted::before{background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-inverted-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-inverted-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right.bal-swiper__inner--inverted::after{background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-inverted-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--full-height{height:100%}.bal-carousel--full-height .bal-carousel__item{height:auto}.bal-carousel__inner--full-height{height:100%}.bal-carousel__inner__container--border{padding-bottom:var(--bal-border-width-normal)}.bal-carousel__inner__container__border{position:absolute;background:var(--bal-carousel-inner-border-background);border-radius:var(--bal-carousel-inner-border-radius);height:var(--bal-border-width-normal);width:100%;bottom:0;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-carousel__inner__container__border--inverted{background:var(--bal-carousel-inner-border-background-inverted)}.bal-carousel__item{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;font-size:var(--bal-text-size-large);min-height:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;round:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:2.5rem}}@media screen and (min-width: 1024px){.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:3rem}}.bal-carousel--card{margin-left:-1rem;margin-right:-1rem}@media screen and (min-width: 769px),print{.bal-carousel--card{margin-left:-2.5rem;margin-right:-2.5rem}}.bal-carousel--card .bal-carousel__controls{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__controls{padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--card .bal-carousel__item{width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__item{width:100%;padding-top:2.5rem;padding-bottom:2.5rem;padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--controls-sticky .bal-carousel__controls--tabs{position:-webkit-sticky;position:sticky;top:var(--bal-carousel-sticky-top);z-index:var(--bal-z-index-sticky)}.bal-carousel__controls--tabs .bal-card{padding:0}.bal-carousel__controls--tabs .bal-card-content{padding:.5rem !important;gap:.5rem;display:-ms-flexbox;display:flex}.bal-carousel__controls--tabs .bal-card-content .bal-button{-ms-flex:1;flex:1}.bal-carousel__controls--tabs .bal-card-content .bal-button .button{padding:.5rem !important}.bal-carousel--image .bal-carousel__inner{border-radius:var(--bal-carousel-image-border-radius)}.bal-carousel--image .bal-carousel__inner--is-1by1{padding-top:100%}.bal-carousel--image .bal-carousel__inner--is-16by9{padding-top:56.25%}.bal-carousel--image .bal-carousel__inner--is-3by2{padding-top:66.66%}.bal-carousel--image .bal-carousel__inner--is-4by3{padding-top:75%}.bal-carousel--image .bal-carousel__inner__container{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%}.bal-carousel--image .bal-carousel__item{position:relative;-ms-flex:0 0 100%;flex:0 0 100%}.bal-carousel--image .bal-carousel__item>img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-drag:none;user-zoom:fixed}.bal-carousel--product .bal-carousel__inner__container{gap:1rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:1rem;padding-bottom:1rem}@media screen and (min-width: 769px),print{.bal-carousel--product .bal-carousel__inner__container{padding-top:1.5rem;padding-bottom:1.5rem}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__inner__container{padding-top:2rem;padding-bottom:2rem}}.bal-carousel--product .bal-carousel__item{display:-ms-flexbox;display:flex;min-width:10rem;max-width:10rem;height:11rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item__button{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:1rem;border-radius:var(--bal-carousel-product-item-button-border-radius);padding:var(--bal-text-size-x-small);border:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;background:var(--bal-carousel-product-item-button-background)}@media (hover: hover)and (pointer: fine){.bal-carousel--product .bal-carousel__item__button:focus-visible:not(:active){-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-green{background:var(--bal-carousel-product-item-button-background-green)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-green:hover{background:var(--bal-carousel-product-item-button-background-green-hover)}.bal-carousel--product .bal-carousel__item__button--color-green:active{background:var(--bal-carousel-product-item-button-background-green-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-red{background:var(--bal-carousel-product-item-button-background-red)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-red:hover{background:var(--bal-carousel-product-item-button-background-red-hover)}.bal-carousel--product .bal-carousel__item__button--color-red:active{background:var(--bal-carousel-product-item-button-background-red-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-yellow{background:var(--bal-carousel-product-item-button-background-yellow)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-yellow:hover{background:var(--bal-carousel-product-item-button-background-yellow-hover)}.bal-carousel--product .bal-carousel__item__button--color-yellow:active{background:var(--bal-carousel-product-item-button-background-yellow-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-purple{background:var(--bal-carousel-product-item-button-background-purple)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-purple:hover{background:var(--bal-carousel-product-item-button-background-purple-hover)}.bal-carousel--product .bal-carousel__item__button--color-purple:active{background:var(--bal-carousel-product-item-button-background-purple-active)}}.bal-carousel--product .bal-carousel__item__button__image{width:5rem;height:5rem;pointer-events:none}.bal-carousel--product .bal-carousel__item__button__label{font-weight:var(--bal-font-weight-bold);color:var(--bal-carousel-product-item-button-label-text-color);font-size:var(--bal-text-size-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;height:3.5rem;overflow:hidden;line-height:1.15rem;word-break:break-word}';const O=class{constructor(e){r(this,e),this.balNavigate=t(this,"balNavigate"),this.balFocus=t(this,"balFocus"),this.balBlur=t(this,"balBlur"),this.imageInheritAttributes={},this.isOnLoadEventDone=!1,this.containerId="",this.svgContent="",this.label="",this.svg="",this.htmlRole="listitem",this.elementType="button",this.name=void 0,this.value=void 0,this.target="_self",this.generateSvgContent=()=>{void 0!==this.svg&&this.svg.length>0&&(this.svgContent=v(this.svg))},this.onClick=e=>{void 0!==this.href&&this.balNavigate.emit(e)},this.onFocus=()=>{this.balFocus.emit()},this.onBlur=()=>{this.balBlur.emit()}}svgChanged(){this.generateSvgContent()}connectedCallback(){this.generateSvgContent()}componentDidLoad(){y((()=>{this.isOnLoadEventDone=!0}))}componentWillLoad(){this.imageInheritAttributes=k(this.el,["alt"]),this.getContainerId()}async setFocus(){await x(),this.buttonEl&&this.buttonEl.focus()}async getContainerId(){const e=this.el.closest("bal-carousel");this.containerId=await e.getContainerId()}render(){const r=n.block("carousel").element("item"),t=!!this.color&&!!this.label,o=this.el.closest("bal-carousel"),i=o&&"tabs"===o.controls?"tabpanel":"listitem",s=`${this.containerId}-${d(this.label)}`;if(!t)return e(a,{id:s,role:i,class:Object.assign({},r.class()),"aria-label":this.label},this.isOnLoadEventDone&&void 0!==this.src?e("img",Object.assign({draggable:!1,onDragStart:()=>!1,src:this.src},this.imageInheritAttributes)):"",e("slot",null));const l=r.element("button"),c=l.element("image"),b=l.element("label"),{elementType:u,download:p,href:h,rel:m,target:g,name:_,value:w}=this,f=void 0===this.href?"button":"a",v="button"===f?{type:u,name:_,value:w}:{download:p,href:h,rel:m,target:g};return e(a,{id:s,role:i,"aria-label":this.label,class:Object.assign({},r.class())},e(f,Object.assign({},v,{class:Object.assign(Object.assign({},l.class()),l.modifier(`color-${this.color}`).class()),part:"native",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,ref:e=>this.buttonEl=e}),this.isOnLoadEventDone&&void 0!==this.src?e("img",Object.assign({class:Object.assign({},c.class()),draggable:!1,onDragStart:()=>!1,"aria-hidden":"true",src:this.src},this.imageInheritAttributes)):this.isOnLoadEventDone&&void 0!==this.svgContent?e("div",{class:Object.assign({},c.class()),innerHTML:this.svgContent}):"",void 0!==this.label?e("span",{class:Object.assign({},b.class())},this.label):"",e("slot",null)))}get el(){return o(this)}static get watchers(){return{svg:["svgChanged"]}}};export{C as bal_carousel,O as bal_carousel_item}
@@ -1 +0,0 @@
1
- import{a as n}from"./p-DoUUOEu5.js";function t(){return function(t){const{connectedCallback:c,disconnectedCallback:o}=t;t.connectedCallback=function(){return n.attach(this),c&&c.call(this)},t.disconnectedCallback=function(){return n.detach(this),o&&o.call(this)}}}export{t as L}
@@ -1,2 +0,0 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,i;a<n;a++){if(i||!(a in t)){if(!i)i=Array.prototype.slice.call(t,0,a);i[a]=t[a]}}return e.concat(i||Array.prototype.slice.call(t))};System.register(["./p-Bzy18UgU.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.g}],execute:function(){var r={exports:{}};
2
- /*! @license DOMPurify 3.1.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.2/LICENSE */var a=r.exports;var n;function i(){if(n)return r.exports;n=1;(function(e,t){(function(t,r){e.exports=r()})(a,(function(){var e=Object.entries,t=Object.setPrototypeOf,r=Object.isFrozen,a=Object.getPrototypeOf,n=Object.getOwnPropertyDescriptor;var i=Object.freeze,o=Object.seal,l=Object.create;var f=typeof Reflect!=="undefined"&&Reflect,u=f.apply,s=f.construct;if(!i){i=function e(t){return t}}if(!o){o=function e(t){return t}}if(!u){u=function e(t,r,a){return t.apply(r,a)}}if(!s){s=function e(t,r){return new(t.bind.apply(t,__spreadArray([void 0],r,false)))}}var c=k(Array.prototype.forEach);var p=k(Array.prototype.pop);var m=k(Array.prototype.push);var d=k(String.prototype.toLowerCase);var v=k(String.prototype.toString);var h=k(String.prototype.match);var g=k(String.prototype.replace);var y=k(String.prototype.indexOf);var b=k(String.prototype.trim);var w=k(Object.prototype.hasOwnProperty);var x=k(RegExp.prototype.test);var _=A(TypeError);function k(e){return function(t){for(var r=arguments.length,a=new Array(r>1?r-1:0),n=1;n<r;n++){a[n-1]=arguments[n]}return u(e,t,a)}}function A(e){return function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++){r[a]=arguments[a]}return s(e,r)}}function T(e,a){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:d;if(t){t(e,null)}var i=a.length;while(i--){var o=a[i];if(typeof o==="string"){var l=n(o);if(l!==o){if(!r(a)){a[i]=l}o=l}}e[o]=true}return e}function S(e){for(var t=0;t<e.length;t++){var r=w(e,t);if(!r){e[t]=null}}return e}function E(t){var r=l(null);for(var a=0,n=e(t);a<n.length;a++){var i=n[a],o=i[0],f=i[1];var u=w(t,o);if(u){if(Array.isArray(f)){r[o]=S(f)}else if(f&&typeof f==="object"&&f.constructor===Object){r[o]=E(f)}else{r[o]=f}}}return r}function R(e,t){while(e!==null){var r=n(e,t);if(r){if(r.get){return k(r.get)}if(typeof r.value==="function"){return k(r.value)}}e=a(e)}function i(){return null}return i}var O=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);var z=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);var L=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);var D=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);var j=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);var F=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);var M=i(["#text"]);var I=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);var C=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);var P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);var N=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);var U=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm);var B=o(/<%[\w\W]*|[\w\W]*%>/gm);var W=o(/\${[\w\W]*}/gm);var q=o(/^data-[\-\w.\u00B7-\uFFFF]/);var Y=o(/^aria-[\-\w]+$/);var H=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);var G=o(/^(?:\w+script|data):/i);var $=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);var X=o(/^html$/i);var V=o(/^[a-z][.\w]*(-[.\w]+)+$/i);var J=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:B,TMPLIT_EXPR:W,DATA_ATTR:q,ARIA_ATTR:Y,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:G,ATTR_WHITESPACE:$,DOCTYPE_NAME:X,CUSTOM_ELEMENT:V});var K=function e(){return typeof window==="undefined"?null:window};var Q=function e(t,r){if(typeof t!=="object"||typeof t.createPolicy!=="function"){return null}var a=null;var n="data-tt-policy-suffix";if(r&&r.hasAttribute(n)){a=r.getAttribute(n)}var i="dompurify"+(a?"#"+a:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){console.warn("TrustedTypes policy "+i+" could not be created.");return null}};function Z(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:K();var r=function(e){return Z(e)};r.version="3.1.2";r.removed=[];if(!t||!t.document||t.document.nodeType!==9){r.isSupported=false;return r}var a=t.document;var n=a;var o=n.currentScript;var f=t.DocumentFragment,u=t.HTMLTemplateElement,s=t.Node,k=t.Element,A=t.NodeFilter,S=t.NamedNodeMap,U=S===void 0?t.NamedNodeMap||t.MozNamedAttrMap:S,B=t.HTMLFormElement,W=t.DOMParser,q=t.trustedTypes;var Y=k.prototype;var G=R(Y,"cloneNode");var $=R(Y,"nextSibling");var V=R(Y,"childNodes");var ee=R(Y,"parentNode");if(typeof u==="function"){var te=a.createElement("template");if(te.content&&te.content.ownerDocument){a=te.content.ownerDocument}}var re;var ae="";var ne=a.implementation,ie=a.createNodeIterator,oe=a.createDocumentFragment,le=a.getElementsByTagName;var fe=n.importNode;var ue={};r.isSupported=typeof e==="function"&&typeof ee==="function"&&ne&&ne.createHTMLDocument!==undefined;var se=J.MUSTACHE_EXPR,ce=J.ERB_EXPR,pe=J.TMPLIT_EXPR,me=J.DATA_ATTR,de=J.ARIA_ATTR,ve=J.IS_SCRIPT_OR_DATA,he=J.ATTR_WHITESPACE,ge=J.CUSTOM_ELEMENT;var ye=J.IS_ALLOWED_URI;var be=null;var we=T({},__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([],O,true),z,true),L,true),j,true),M,true));var xe=null;var _e=T({},__spreadArray(__spreadArray(__spreadArray(__spreadArray([],I,true),C,true),P,true),N,true));var ke=Object.seal(l(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));var Ae=null;var Te=null;var Se=true;var Ee=true;var Re=false;var Oe=true;var ze=false;var Le=true;var De=false;var je=false;var Fe=false;var Me=false;var Ie=false;var Ce=false;var Pe=true;var Ne=false;var Ue="user-content-";var Be=true;var We=false;var qe={};var Ye=null;var He=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);var Ge=null;var $e=T({},["audio","video","img","source","image","track"]);var Xe=null;var Ve=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);var Je="http://www.w3.org/1998/Math/MathML";var Ke="http://www.w3.org/2000/svg";var Qe="http://www.w3.org/1999/xhtml";var Ze=Qe;var et=false;var tt=null;var rt=T({},[Je,Ke,Qe],v);var at=null;var nt=["application/xhtml+xml","text/html"];var it="text/html";var ot=null;var lt=null;var ft=255;var ut=a.createElement("form");var st=function e(t){return t instanceof RegExp||t instanceof Function};var ct=function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(lt&&lt===t){return}if(!t||typeof t!=="object"){t={}}t=E(t);at=nt.indexOf(t.PARSER_MEDIA_TYPE)===-1?it:t.PARSER_MEDIA_TYPE;ot=at==="application/xhtml+xml"?v:d;be=w(t,"ALLOWED_TAGS")?T({},t.ALLOWED_TAGS,ot):we;xe=w(t,"ALLOWED_ATTR")?T({},t.ALLOWED_ATTR,ot):_e;tt=w(t,"ALLOWED_NAMESPACES")?T({},t.ALLOWED_NAMESPACES,v):rt;Xe=w(t,"ADD_URI_SAFE_ATTR")?T(E(Ve),t.ADD_URI_SAFE_ATTR,ot):Ve;Ge=w(t,"ADD_DATA_URI_TAGS")?T(E($e),t.ADD_DATA_URI_TAGS,ot):$e;Ye=w(t,"FORBID_CONTENTS")?T({},t.FORBID_CONTENTS,ot):He;Ae=w(t,"FORBID_TAGS")?T({},t.FORBID_TAGS,ot):{};Te=w(t,"FORBID_ATTR")?T({},t.FORBID_ATTR,ot):{};qe=w(t,"USE_PROFILES")?t.USE_PROFILES:false;Se=t.ALLOW_ARIA_ATTR!==false;Ee=t.ALLOW_DATA_ATTR!==false;Re=t.ALLOW_UNKNOWN_PROTOCOLS||false;Oe=t.ALLOW_SELF_CLOSE_IN_ATTR!==false;ze=t.SAFE_FOR_TEMPLATES||false;Le=t.SAFE_FOR_XML!==false;De=t.WHOLE_DOCUMENT||false;Me=t.RETURN_DOM||false;Ie=t.RETURN_DOM_FRAGMENT||false;Ce=t.RETURN_TRUSTED_TYPE||false;Fe=t.FORCE_BODY||false;Pe=t.SANITIZE_DOM!==false;Ne=t.SANITIZE_NAMED_PROPS||false;Be=t.KEEP_CONTENT!==false;We=t.IN_PLACE||false;ye=t.ALLOWED_URI_REGEXP||H;Ze=t.NAMESPACE||Qe;ke=t.CUSTOM_ELEMENT_HANDLING||{};if(t.CUSTOM_ELEMENT_HANDLING&&st(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)){ke.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck}if(t.CUSTOM_ELEMENT_HANDLING&&st(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)){ke.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck}if(t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"){ke.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements}if(ze){Ee=false}if(Ie){Me=true}if(qe){be=T({},M);xe=[];if(qe.html===true){T(be,O);T(xe,I)}if(qe.svg===true){T(be,z);T(xe,C);T(xe,N)}if(qe.svgFilters===true){T(be,L);T(xe,C);T(xe,N)}if(qe.mathMl===true){T(be,j);T(xe,P);T(xe,N)}}if(t.ADD_TAGS){if(be===we){be=E(be)}T(be,t.ADD_TAGS,ot)}if(t.ADD_ATTR){if(xe===_e){xe=E(xe)}T(xe,t.ADD_ATTR,ot)}if(t.ADD_URI_SAFE_ATTR){T(Xe,t.ADD_URI_SAFE_ATTR,ot)}if(t.FORBID_CONTENTS){if(Ye===He){Ye=E(Ye)}T(Ye,t.FORBID_CONTENTS,ot)}if(Be){be["#text"]=true}if(De){T(be,["html","head","body"])}if(be.table){T(be,["tbody"]);delete Ae.tbody}if(t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}re=t.TRUSTED_TYPES_POLICY;ae=re.createHTML("")}else{if(re===undefined){re=Q(q,o)}if(re!==null&&typeof ae==="string"){ae=re.createHTML("")}}if(i){i(t)}lt=t};var pt=T({},["mi","mo","mn","ms","mtext"]);var mt=T({},["foreignobject","annotation-xml"]);var dt=T({},["title","style","font","a","script"]);var vt=T({},__spreadArray(__spreadArray(__spreadArray([],z,true),L,true),D,true));var ht=T({},__spreadArray(__spreadArray([],j,true),F,true));var gt=function e(t){var r=ee(t);if(!r||!r.tagName){r={namespaceURI:Ze,tagName:"template"}}var a=d(t.tagName);var n=d(r.tagName);if(!tt[t.namespaceURI]){return false}if(t.namespaceURI===Ke){if(r.namespaceURI===Qe){return a==="svg"}if(r.namespaceURI===Je){return a==="svg"&&(n==="annotation-xml"||pt[n])}return Boolean(vt[a])}if(t.namespaceURI===Je){if(r.namespaceURI===Qe){return a==="math"}if(r.namespaceURI===Ke){return a==="math"&&mt[n]}return Boolean(ht[a])}if(t.namespaceURI===Qe){if(r.namespaceURI===Ke&&!mt[n]){return false}if(r.namespaceURI===Je&&!pt[n]){return false}return!ht[a]&&(dt[a]||!vt[a])}if(at==="application/xhtml+xml"&&tt[t.namespaceURI]){return true}return false};var yt=function e(t){m(r.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}};var bt=function e(t,a){try{m(r.removed,{attribute:a.getAttributeNode(t),from:a})}catch(e){m(r.removed,{attribute:null,from:a})}a.removeAttribute(t);if(t==="is"&&!xe[t]){if(Me||Ie){try{yt(a)}catch(e){}}else{try{a.setAttribute(t,"")}catch(e){}}}};var wt=function e(t){var r=null;var n=null;if(Fe){t="<remove></remove>"+t}else{var i=h(t,/^[\r\n\t ]+/);n=i&&i[0]}if(at==="application/xhtml+xml"&&Ze===Qe){t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>"}var o=re?re.createHTML(t):t;if(Ze===Qe){try{r=(new W).parseFromString(o,at)}catch(e){}}if(!r||!r.documentElement){r=ne.createDocument(Ze,"template",null);try{r.documentElement.innerHTML=et?ae:o}catch(e){}}var l=r.body||r.documentElement;if(t&&n){l.insertBefore(a.createTextNode(n),l.childNodes[0]||null)}if(Ze===Qe){return le.call(r,De?"html":"body")[0]}return De?r.documentElement:l};var xt=function e(t){return ie.call(t.ownerDocument||t,t,A.SHOW_ELEMENT|A.SHOW_COMMENT|A.SHOW_TEXT|A.SHOW_PROCESSING_INSTRUCTION|A.SHOW_CDATA_SECTION,null)};var _t=function e(t){return t instanceof B&&(typeof t.__depth!=="undefined"&&typeof t.__depth!=="number"||typeof t.__removalCount!=="undefined"&&typeof t.__removalCount!=="number"||typeof t.nodeName!=="string"||typeof t.textContent!=="string"||typeof t.removeChild!=="function"||!(t.attributes instanceof U)||typeof t.removeAttribute!=="function"||typeof t.setAttribute!=="function"||typeof t.namespaceURI!=="string"||typeof t.insertBefore!=="function"||typeof t.hasChildNodes!=="function")};var kt=function e(t){return typeof s==="function"&&t instanceof s};var At=function e(t,a,n){if(!ue[t]){return}c(ue[t],(function(e){e.call(r,a,n,lt)}))};var Tt=function e(t){var a=null;At("beforeSanitizeElements",t,null);if(_t(t)){yt(t);return true}var n=ot(t.nodeName);At("uponSanitizeElement",t,{tagName:n,allowedTags:be});if(t.hasChildNodes()&&!kt(t.firstElementChild)&&x(/<[/\w]/g,t.innerHTML)&&x(/<[/\w]/g,t.textContent)){yt(t);return true}if(t.nodeType===7){yt(t);return true}if(Le&&t.nodeType===8&&x(/<[/\w]/g,t.data)){yt(t);return true}if(!be[n]||Ae[n]){if(!Ae[n]&&Et(n)){if(ke.tagNameCheck instanceof RegExp&&x(ke.tagNameCheck,n)){return false}if(ke.tagNameCheck instanceof Function&&ke.tagNameCheck(n)){return false}}if(Be&&!Ye[n]){var i=ee(t)||t.parentNode;var o=V(t)||t.childNodes;if(o&&i){var l=o.length;for(var f=l-1;f>=0;--f){var u=G(o[f],true);u.__removalCount=(t.__removalCount||0)+1;i.insertBefore(u,$(t))}}}yt(t);return true}if(t instanceof k&&!gt(t)){yt(t);return true}if((n==="noscript"||n==="noembed"||n==="noframes")&&x(/<\/no(script|embed|frames)/i,t.innerHTML)){yt(t);return true}if(ze&&t.nodeType===3){a=t.textContent;c([se,ce,pe],(function(e){a=g(a,e," ")}));if(t.textContent!==a){m(r.removed,{element:t.cloneNode()});t.textContent=a}}At("afterSanitizeElements",t,null);return false};var St=function e(t,r,n){if(Pe&&(r==="id"||r==="name")&&(n in a||n in ut)){return false}if(Ee&&!Te[r]&&x(me,r));else if(Se&&x(de,r));else if(!xe[r]||Te[r]){if(Et(t)&&(ke.tagNameCheck instanceof RegExp&&x(ke.tagNameCheck,t)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(t))&&(ke.attributeNameCheck instanceof RegExp&&x(ke.attributeNameCheck,r)||ke.attributeNameCheck instanceof Function&&ke.attributeNameCheck(r))||r==="is"&&ke.allowCustomizedBuiltInElements&&(ke.tagNameCheck instanceof RegExp&&x(ke.tagNameCheck,n)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(n)));else{return false}}else if(Xe[r]);else if(x(ye,g(n,he,"")));else if((r==="src"||r==="xlink:href"||r==="href")&&t!=="script"&&y(n,"data:")===0&&Ge[t]);else if(Re&&!x(ve,g(n,he,"")));else if(n){return false}else;return true};var Et=function e(t){return t!=="annotation-xml"&&h(t,ge)};var Rt=function e(t){At("beforeSanitizeAttributes",t,null);var a=t.attributes;if(!a){return}var n={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:xe};var i=a.length;var o=function(){var e=a[i];var o=e.name,l=e.namespaceURI,f=e.value;var u=ot(o);var s=o==="value"?f:b(f);n.attrName=u;n.attrValue=s;n.keepAttr=true;n.forceKeepAttr=undefined;At("uponSanitizeAttribute",t,n);s=n.attrValue;if(n.forceKeepAttr){return"continue"}bt(o,t);if(!n.keepAttr){return"continue"}if(!Oe&&x(/\/>/i,s)){bt(o,t);return"continue"}if(ze){c([se,ce,pe],(function(e){s=g(s,e," ")}))}var m=ot(t.nodeName);if(!St(m,u,s)){return"continue"}if(Ne&&(u==="id"||u==="name")){bt(o,t);s=Ue+s}if(re&&typeof q==="object"&&typeof q.getAttributeType==="function"){if(l);else{switch(q.getAttributeType(m,u)){case"TrustedHTML":{s=re.createHTML(s);break}case"TrustedScriptURL":{s=re.createScriptURL(s);break}}}}try{if(l){t.setAttributeNS(l,o,s)}else{t.setAttribute(o,s)}p(r.removed)}catch(e){}};while(i--){o()}At("afterSanitizeAttributes",t,null)};var Ot=function e(t){var r=null;var a=xt(t);At("beforeSanitizeShadowDOM",t,null);while(r=a.nextNode()){At("uponSanitizeShadowNode",r,null);if(Tt(r)){continue}var n=ee(r);if(r.nodeType===1){if(n&&n.__depth){r.__depth=(r.__removalCount||0)+n.__depth+1}else{r.__depth=1}}if(r.__depth>=ft){yt(r)}if(r.content instanceof f){r.content.__depth=r.__depth;e(r.content)}Rt(r)}At("afterSanitizeShadowDOM",t,null)};r.sanitize=function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a=null;var i=null;var o=null;var l=null;et=!e;if(et){e="\x3c!--\x3e"}if(typeof e!=="string"&&!kt(e)){if(typeof e.toString==="function"){e=e.toString();if(typeof e!=="string"){throw _("dirty is not a string, aborting")}}else{throw _("toString is not a function")}}if(!r.isSupported){return e}if(!je){ct(t)}r.removed=[];if(typeof e==="string"){We=false}if(We){if(e.nodeName){var u=ot(e.nodeName);if(!be[u]||Ae[u]){throw _("root node is forbidden and cannot be sanitized in-place")}}}else if(e instanceof s){a=wt("\x3c!----\x3e");i=a.ownerDocument.importNode(e,true);if(i.nodeType===1&&i.nodeName==="BODY"){a=i}else if(i.nodeName==="HTML"){a=i}else{a.appendChild(i)}}else{if(!Me&&!ze&&!De&&e.indexOf("<")===-1){return re&&Ce?re.createHTML(e):e}a=wt(e);if(!a){return Me?null:Ce?ae:""}}if(a&&Fe){yt(a.firstChild)}var p=xt(We?e:a);while(o=p.nextNode()){if(Tt(o)){continue}var m=ee(o);if(o.nodeType===1){if(m&&m.__depth){o.__depth=(o.__removalCount||0)+m.__depth+1}else{o.__depth=1}}if(o.__depth>=ft){yt(o)}if(o.content instanceof f){o.content.__depth=o.__depth;Ot(o.content)}Rt(o)}if(We){return e}if(Me){if(Ie){l=oe.call(a.ownerDocument);while(a.firstChild){l.appendChild(a.firstChild)}}else{l=a}if(xe.shadowroot||xe.shadowrootmode){l=fe.call(n,l,true)}return l}var d=De?a.outerHTML:a.innerHTML;if(De&&be["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&x(X,a.ownerDocument.doctype.name)){d="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+d}if(ze){c([se,ce,pe],(function(e){d=g(d,e," ")}))}return re&&Ce?re.createHTML(d):d};r.setConfig=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};ct(e);je=true};r.clearConfig=function(){lt=null;je=false};r.isValidAttribute=function(e,t,r){if(!lt){ct({})}var a=ot(e);var n=ot(t);return St(a,n,r)};r.addHook=function(e,t){if(typeof t!=="function"){return}ue[e]=ue[e]||[];m(ue[e],t)};r.removeHook=function(e){if(ue[e]){return p(ue[e])}};r.removeHooks=function(e){if(ue[e]){ue[e]=[]}};r.removeAllHooks=function(){ue={}};return r}var ee=Z();return ee}))})(r);return r.exports}var o=i();var l=t(o);var f=e("s",(function(e){return l.sanitize(e,{USE_PROFILES:{svg:true},FORBID_ATTR:["height","width"]})}))}}}));
@@ -1,2 +0,0 @@
1
- import{g as t}from"./p-BFTU3MAI.js";var e,n={exports:{}},o=(e||(e=1,n.exports=function(){const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:i}=Object;let{freeze:r,seal:a,create:l}=Object,{apply:s,construct:c}="undefined"!=typeof Reflect&&Reflect;r||(r=function(t){return t}),a||(a=function(t){return t}),s||(s=function(t,e,n){return t.apply(e,n)}),c||(c=function(t,e){return new t(...e)});const u=k(Array.prototype.forEach),f=k(Array.prototype.pop),m=k(Array.prototype.push),p=k(String.prototype.toLowerCase),d=k(String.prototype.toString),g=k(String.prototype.match),h=k(String.prototype.replace),y=k(String.prototype.indexOf),b=k(String.prototype.trim),w=k(Object.prototype.hasOwnProperty),x=k(RegExp.prototype.test),v=(T=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return c(T,e)});var T;function k(t){return function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return s(t,e,o)}}function A(t,o){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let r=o.length;for(;r--;){let e=o[r];if("string"==typeof e){const t=i(e);t!==e&&(n(o)||(o[r]=t),e=t)}t[e]=!0}return t}function E(t){for(let e=0;e<t.length;e++)w(t,e)||(t[e]=null);return t}function S(e){const n=l(null);for(const[o,i]of t(e))w(e,o)&&(n[o]=Array.isArray(i)?E(i):i&&"object"==typeof i&&i.constructor===Object?S(i):i);return n}function R(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return k(n.get);if("function"==typeof n.value)return k(n.value)}t=o(t)}return function(){return null}}const _=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),L=r(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),z=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),I=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=r(["#text"]),F=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),P=r(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),N=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),C=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),H=a(/^aria-[\-\w]+$/),q=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var V=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:j,TMPLIT_EXPR:B,DATA_ATTR:W,ARIA_ATTR:H,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:X,DOCTYPE_NAME:G,CUSTOM_ELEMENT:$});const J=function(){return"undefined"==typeof window?null:window};var K=function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J();const o=t=>e(t);if(o.version="3.1.2",o.removed=[],!n||!n.document||9!==n.document.nodeType)return o.isSupported=!1,o;let{document:i}=n;const a=i,s=a.currentScript,{DocumentFragment:c,HTMLTemplateElement:T,Node:k,Element:E,NodeFilter:U,NamedNodeMap:j=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:H}=n,Y=E.prototype,X=R(Y,"cloneNode"),$=R(Y,"nextSibling"),K=R(Y,"childNodes"),Q=R(Y,"parentNode");if("function"==typeof T){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let Z,tt="";const{implementation:et,createNodeIterator:nt,createDocumentFragment:ot,getElementsByTagName:it}=i,{importNode:rt}=a;let at={};o.isSupported="function"==typeof t&&"function"==typeof Q&&et&&void 0!==et.createHTMLDocument;const{MUSTACHE_EXPR:lt,ERB_EXPR:st,TMPLIT_EXPR:ct,DATA_ATTR:ut,ARIA_ATTR:ft,IS_SCRIPT_OR_DATA:mt,ATTR_WHITESPACE:pt,CUSTOM_ELEMENT:dt}=V;let{IS_ALLOWED_URI:gt}=V,ht=null;const yt=A({},[..._,...O,...D,...z,...M]);let bt=null;const wt=A({},[...F,...P,...N,...C]);let xt=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),vt=null,Tt=null,kt=!0,At=!0,Et=!1,St=!0,Rt=!1,_t=!0,Ot=!1,Dt=!1,Lt=!1,zt=!1,It=!1,Mt=!1,Ft=!0,Pt=!1,Nt=!0,Ct=!1,Ut={},jt=null;const Bt=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Wt=null;const Ht=A({},["audio","video","img","source","image","track"]);let qt=null;const Yt=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xt="http://www.w3.org/1998/Math/MathML",Gt="http://www.w3.org/2000/svg",$t="http://www.w3.org/1999/xhtml";let Vt=$t,Jt=!1,Kt=null;const Qt=A({},[Xt,Gt,$t],d);let Zt=null;const te=["application/xhtml+xml","text/html"];let ee=null,ne=null;const oe=i.createElement("form"),ie=function(t){return t instanceof RegExp||t instanceof Function},re=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ne||ne!==t){if(t&&"object"==typeof t||(t={}),t=S(t),Zt=-1===te.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ee="application/xhtml+xml"===Zt?d:p,ht=w(t,"ALLOWED_TAGS")?A({},t.ALLOWED_TAGS,ee):yt,bt=w(t,"ALLOWED_ATTR")?A({},t.ALLOWED_ATTR,ee):wt,Kt=w(t,"ALLOWED_NAMESPACES")?A({},t.ALLOWED_NAMESPACES,d):Qt,qt=w(t,"ADD_URI_SAFE_ATTR")?A(S(Yt),t.ADD_URI_SAFE_ATTR,ee):Yt,Wt=w(t,"ADD_DATA_URI_TAGS")?A(S(Ht),t.ADD_DATA_URI_TAGS,ee):Ht,jt=w(t,"FORBID_CONTENTS")?A({},t.FORBID_CONTENTS,ee):Bt,vt=w(t,"FORBID_TAGS")?A({},t.FORBID_TAGS,ee):{},Tt=w(t,"FORBID_ATTR")?A({},t.FORBID_ATTR,ee):{},Ut=!!w(t,"USE_PROFILES")&&t.USE_PROFILES,kt=!1!==t.ALLOW_ARIA_ATTR,At=!1!==t.ALLOW_DATA_ATTR,Et=t.ALLOW_UNKNOWN_PROTOCOLS||!1,St=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Rt=t.SAFE_FOR_TEMPLATES||!1,_t=!1!==t.SAFE_FOR_XML,Ot=t.WHOLE_DOCUMENT||!1,zt=t.RETURN_DOM||!1,It=t.RETURN_DOM_FRAGMENT||!1,Mt=t.RETURN_TRUSTED_TYPE||!1,Lt=t.FORCE_BODY||!1,Ft=!1!==t.SANITIZE_DOM,Pt=t.SANITIZE_NAMED_PROPS||!1,Nt=!1!==t.KEEP_CONTENT,Ct=t.IN_PLACE||!1,gt=t.ALLOWED_URI_REGEXP||q,Vt=t.NAMESPACE||$t,xt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(xt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(xt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(xt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Rt&&(At=!1),It&&(zt=!0),Ut&&(ht=A({},M),bt=[],!0===Ut.html&&(A(ht,_),A(bt,F)),!0===Ut.svg&&(A(ht,O),A(bt,P),A(bt,C)),!0===Ut.svgFilters&&(A(ht,D),A(bt,P),A(bt,C)),!0===Ut.mathMl&&(A(ht,z),A(bt,N),A(bt,C))),t.ADD_TAGS&&(ht===yt&&(ht=S(ht)),A(ht,t.ADD_TAGS,ee)),t.ADD_ATTR&&(bt===wt&&(bt=S(bt)),A(bt,t.ADD_ATTR,ee)),t.ADD_URI_SAFE_ATTR&&A(qt,t.ADD_URI_SAFE_ATTR,ee),t.FORBID_CONTENTS&&(jt===Bt&&(jt=S(jt)),A(jt,t.FORBID_CONTENTS,ee)),Nt&&(ht["#text"]=!0),Ot&&A(ht,["html","head","body"]),ht.table&&(A(ht,["tbody"]),delete vt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Z=t.TRUSTED_TYPES_POLICY,tt=Z.createHTML("")}else void 0===Z&&(Z=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(n=e.getAttribute(o));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(H,s)),null!==Z&&"string"==typeof tt&&(tt=Z.createHTML(""));r&&r(t),ne=t}},ae=A({},["mi","mo","mn","ms","mtext"]),le=A({},["foreignobject","annotation-xml"]),se=A({},["title","style","font","a","script"]),ce=A({},[...O,...D,...L]),ue=A({},[...z,...I]),fe=function(t){m(o.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},me=function(t,e){try{m(o.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){m(o.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!bt[t])if(zt||It)try{fe(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},pe=function(t){let e=null,n=null;if(Lt)t="<remove></remove>"+t;else{const e=g(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Zt&&Vt===$t&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const o=Z?Z.createHTML(t):t;if(Vt===$t)try{e=(new W).parseFromString(o,Zt)}catch(t){}if(!e||!e.documentElement){e=et.createDocument(Vt,"template",null);try{e.documentElement.innerHTML=Jt?tt:o}catch(t){}}const r=e.body||e.documentElement;return t&&n&&r.insertBefore(i.createTextNode(n),r.childNodes[0]||null),Vt===$t?it.call(e,Ot?"html":"body")[0]:Ot?e.documentElement:r},de=function(t){return nt.call(t.ownerDocument||t,t,U.SHOW_ELEMENT|U.SHOW_COMMENT|U.SHOW_TEXT|U.SHOW_PROCESSING_INSTRUCTION|U.SHOW_CDATA_SECTION,null)},ge=function(t){return"function"==typeof k&&t instanceof k},he=function(t,e,n){at[t]&&u(at[t],(t=>{t.call(o,e,n,ne)}))},ye=function(t){let e=null;if(he("beforeSanitizeElements",t,null),(n=t)instanceof B&&(void 0!==n.__depth&&"number"!=typeof n.__depth||void 0!==n.__removalCount&&"number"!=typeof n.__removalCount||"string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof j)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return fe(t),!0;var n;const i=ee(t.nodeName);if(he("uponSanitizeElement",t,{tagName:i,allowedTags:ht}),t.hasChildNodes()&&!ge(t.firstElementChild)&&x(/<[/\w]/g,t.innerHTML)&&x(/<[/\w]/g,t.textContent))return fe(t),!0;if(7===t.nodeType)return fe(t),!0;if(_t&&8===t.nodeType&&x(/<[/\w]/g,t.data))return fe(t),!0;if(!ht[i]||vt[i]){if(!vt[i]&&we(i)){if(xt.tagNameCheck instanceof RegExp&&x(xt.tagNameCheck,i))return!1;if(xt.tagNameCheck instanceof Function&&xt.tagNameCheck(i))return!1}if(Nt&&!jt[i]){const e=Q(t)||t.parentNode,n=K(t)||t.childNodes;if(n&&e)for(let o=n.length-1;o>=0;--o){const i=X(n[o],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,$(t))}}return fe(t),!0}return t instanceof E&&!function(t){let e=Q(t);e&&e.tagName||(e={namespaceURI:Vt,tagName:"template"});const n=p(t.tagName),o=p(e.tagName);return!!Kt[t.namespaceURI]&&(t.namespaceURI===Gt?e.namespaceURI===$t?"svg"===n:e.namespaceURI===Xt?"svg"===n&&("annotation-xml"===o||ae[o]):Boolean(ce[n]):t.namespaceURI===Xt?e.namespaceURI===$t?"math"===n:e.namespaceURI===Gt?"math"===n&&le[o]:Boolean(ue[n]):t.namespaceURI===$t?!(e.namespaceURI===Gt&&!le[o])&&!(e.namespaceURI===Xt&&!ae[o])&&!ue[n]&&(se[n]||!ce[n]):!("application/xhtml+xml"!==Zt||!Kt[t.namespaceURI]))}(t)?(fe(t),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!x(/<\/no(script|embed|frames)/i,t.innerHTML)?(Rt&&3===t.nodeType&&(e=t.textContent,u([lt,st,ct],(t=>{e=h(e,t," ")})),t.textContent!==e&&(m(o.removed,{element:t.cloneNode()}),t.textContent=e)),he("afterSanitizeElements",t,null),!1):(fe(t),!0)},be=function(t,e,n){if(Ft&&("id"===e||"name"===e)&&(n in i||n in oe))return!1;if(At&&!Tt[e]&&x(ut,e));else if(kt&&x(ft,e));else if(!bt[e]||Tt[e]){if(!(we(t)&&(xt.tagNameCheck instanceof RegExp&&x(xt.tagNameCheck,t)||xt.tagNameCheck instanceof Function&&xt.tagNameCheck(t))&&(xt.attributeNameCheck instanceof RegExp&&x(xt.attributeNameCheck,e)||xt.attributeNameCheck instanceof Function&&xt.attributeNameCheck(e))||"is"===e&&xt.allowCustomizedBuiltInElements&&(xt.tagNameCheck instanceof RegExp&&x(xt.tagNameCheck,n)||xt.tagNameCheck instanceof Function&&xt.tagNameCheck(n))))return!1}else if(qt[e]);else if(x(gt,h(n,pt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(n,"data:")||!Wt[t])if(Et&&!x(mt,h(n,pt,"")));else if(n)return!1;return!0},we=function(t){return"annotation-xml"!==t&&g(t,dt)},xe=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:bt};let i=e.length;for(;i--;){const r=e[i],{name:a,namespaceURI:l,value:s}=r,c=ee(a);let m="value"===a?s:b(s);if(n.attrName=c,n.attrValue=m,n.keepAttr=!0,n.forceKeepAttr=void 0,he("uponSanitizeAttribute",t,n),m=n.attrValue,n.forceKeepAttr)continue;if(me(a,t),!n.keepAttr)continue;if(!St&&x(/\/>/i,m)){me(a,t);continue}Rt&&u([lt,st,ct],(t=>{m=h(m,t," ")}));const p=ee(t.nodeName);if(be(p,c,m)){if(!Pt||"id"!==c&&"name"!==c||(me(a,t),m="user-content-"+m),Z&&"object"==typeof H&&"function"==typeof H.getAttributeType)if(l);else switch(H.getAttributeType(p,c)){case"TrustedHTML":m=Z.createHTML(m);break;case"TrustedScriptURL":m=Z.createScriptURL(m)}try{l?t.setAttributeNS(l,a,m):t.setAttribute(a,m),f(o.removed)}catch(t){}}}he("afterSanitizeAttributes",t,null)},ve=function t(e){let n=null;const o=de(e);for(he("beforeSanitizeShadowDOM",e,null);n=o.nextNode();){if(he("uponSanitizeShadowNode",n,null),ye(n))continue;const e=Q(n);1===n.nodeType&&(n.__depth=e&&e.__depth?(n.__removalCount||0)+e.__depth+1:1),n.__depth>=255&&fe(n),n.content instanceof c&&(n.content.__depth=n.__depth,t(n.content)),xe(n)}he("afterSanitizeShadowDOM",e,null)};return o.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,r=null,l=null;if(Jt=!t,Jt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ge(t)){if("function"!=typeof t.toString)throw v("toString is not a function");if("string"!=typeof(t=t.toString()))throw v("dirty is not a string, aborting")}if(!o.isSupported)return t;if(Dt||re(e),o.removed=[],"string"==typeof t&&(Ct=!1),Ct){if(t.nodeName){const e=ee(t.nodeName);if(!ht[e]||vt[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof k)n=pe("\x3c!----\x3e"),i=n.ownerDocument.importNode(t,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!zt&&!Rt&&!Ot&&-1===t.indexOf("<"))return Z&&Mt?Z.createHTML(t):t;if(n=pe(t),!n)return zt?null:Mt?tt:""}n&&Lt&&fe(n.firstChild);const s=de(Ct?t:n);for(;r=s.nextNode();){if(ye(r))continue;const t=Q(r);1===r.nodeType&&(r.__depth=t&&t.__depth?(r.__removalCount||0)+t.__depth+1:1),r.__depth>=255&&fe(r),r.content instanceof c&&(r.content.__depth=r.__depth,ve(r.content)),xe(r)}if(Ct)return t;if(zt){if(It)for(l=ot.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(bt.shadowroot||bt.shadowrootmode)&&(l=rt.call(a,l,!0)),l}let f=Ot?n.outerHTML:n.innerHTML;return Ot&&ht["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&x(G,n.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+f),Rt&&u([lt,st,ct],(t=>{f=h(f,t," ")})),Z&&Mt?Z.createHTML(f):f},o.setConfig=function(){re(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Dt=!0},o.clearConfig=function(){ne=null,Dt=!1},o.isValidAttribute=function(t,e,n){ne||re({});const o=ee(t),i=ee(e);return be(o,i,n)},o.addHook=function(t,e){"function"==typeof e&&(at[t]=at[t]||[],m(at[t],e))},o.removeHook=function(t){if(at[t])return f(at[t])},o.removeHooks=function(t){at[t]&&(at[t]=[])},o.removeAllHooks=function(){at={}},o}();return K}()),n.exports),i=t(o);
2
- /*! @license DOMPurify 3.1.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.2/LICENSE */const r=t=>i.sanitize(t,{USE_PROFILES:{svg:!0},FORBID_ATTR:["height","width"]});export{r as s}