@govbr-ds/webcomponents 2.0.0-next.19 → 2.0.0-next.20
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.
- package/dist/cjs/br-button_2.cjs.entry.js +1 -1
- package/dist/cjs/br-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/br-input.cjs.entry.js +13 -9
- package/dist/cjs/br-input.cjs.entry.js.map +1 -1
- package/dist/cjs/br-tag.cjs.entry.js +88 -0
- package/dist/cjs/br-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/br-textarea.cjs.entry.js +1 -1
- package/dist/cjs/br-upload.cjs.entry.js +1 -1
- package/dist/cjs/index-81c11ce2.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/icon/icon.css +1 -1
- package/dist/collection/components/input/input.js +152 -10
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/tag/tag.css +643 -0
- package/dist/collection/components/tag/tag.js +256 -0
- package/dist/collection/components/tag/tag.js.map +1 -0
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/upload/upload.js +1 -1
- package/dist/collection/pages/components/input/index.js +9 -0
- package/dist/collection/pages/components/tag/index.js +18 -0
- package/dist/collection/pages/scripts/menu.js +22 -22
- package/dist/collection/scripts/menu.js +146 -0
- package/dist/components/br-avatar.js +1 -1
- package/dist/components/br-icon.js +1 -1
- package/dist/components/br-input.js +1 -1
- package/dist/components/br-input.js.map +1 -1
- package/dist/components/br-message.js +1 -1
- package/dist/components/br-tag.d.ts +11 -0
- package/dist/components/br-tag.js +6 -0
- package/dist/components/br-tag.js.map +1 -0
- package/dist/components/br-textarea.js +1 -1
- package/dist/components/br-upload.js +1 -1
- package/dist/components/{p-a23c3f6b.js → p-64831033.js} +2 -2
- package/dist/components/{p-a23c3f6b.js.map → p-64831033.js.map} +1 -1
- package/dist/esm/br-button_2.entry.js +1 -1
- package/dist/esm/br-button_2.entry.js.map +1 -1
- package/dist/esm/br-input.entry.js +13 -9
- package/dist/esm/br-input.entry.js.map +1 -1
- package/dist/esm/br-tag.entry.js +84 -0
- package/dist/esm/br-tag.entry.js.map +1 -0
- package/dist/esm/br-textarea.entry.js +1 -1
- package/dist/esm/br-upload.entry.js +1 -1
- package/dist/esm/index-aab4a630.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/esm-es5/br-button_2.entry.js +1 -1
- package/dist/esm-es5/br-button_2.entry.js.map +1 -1
- package/dist/esm-es5/br-input.entry.js +1 -1
- package/dist/esm-es5/br-input.entry.js.map +1 -1
- package/dist/esm-es5/br-tag.entry.js +6 -0
- package/dist/esm-es5/br-tag.entry.js.map +1 -0
- package/dist/esm-es5/br-textarea.entry.js +2 -2
- package/dist/esm-es5/br-upload.entry.js +1 -1
- package/dist/esm-es5/index-aab4a630.js +1 -1
- package/dist/esm-es5/index-aab4a630.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/webcomponents.js +1 -1
- package/dist/esm-es5/webcomponents.js.map +1 -1
- package/dist/types/components/input/input.d.ts +32 -0
- package/dist/types/components/tag/tag.d.ts +73 -0
- package/dist/types/components.d.ts +172 -0
- package/dist/webcomponents/{p-2cc63872.system.entry.js → p-28476b17.system.entry.js} +2 -2
- package/dist/webcomponents/p-447c8036.entry.js +6 -0
- package/dist/webcomponents/p-447c8036.entry.js.map +1 -0
- package/dist/webcomponents/p-55604b7f.system.entry.js +6 -0
- package/dist/webcomponents/p-55604b7f.system.entry.js.map +1 -0
- package/dist/webcomponents/{p-fd6c166e.entry.js → p-61523bc9.entry.js} +2 -2
- package/dist/webcomponents/{p-28aa7e4d.system.entry.js → p-8f156fc4.system.entry.js} +2 -2
- package/dist/webcomponents/p-8f156fc4.system.entry.js.map +1 -0
- package/dist/webcomponents/{p-3c4dea67.entry.js → p-9f0d01d1.entry.js} +2 -2
- package/dist/webcomponents/p-9f0d01d1.entry.js.map +1 -0
- package/dist/webcomponents/p-b88a5d9a.system.js +2 -2
- package/dist/webcomponents/p-b88a5d9a.system.js.map +1 -1
- package/dist/webcomponents/{p-34cec0b3.system.entry.js → p-baad00f8.system.entry.js} +2 -2
- package/dist/webcomponents/{p-155191ea.entry.js → p-d174c8cd.entry.js} +2 -2
- package/dist/webcomponents/{p-2cef0b07.system.entry.js → p-d83e2172.system.entry.js} +2 -2
- package/dist/webcomponents/{p-2cef0b07.system.entry.js.map → p-d83e2172.system.entry.js.map} +1 -1
- package/dist/webcomponents/{p-66b81760.entry.js → p-e6d921ef.entry.js} +2 -2
- package/dist/webcomponents/{p-66b81760.entry.js.map → p-e6d921ef.entry.js.map} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/dist/webcomponents/webcomponents.esm.js.map +1 -1
- package/hydrate/index.js +123 -13
- package/hydrate/index.mjs +123 -13
- package/package.json +2 -2
- package/vscode-data.json +103 -0
- package/dist/webcomponents/p-28aa7e4d.system.entry.js.map +0 -1
- package/dist/webcomponents/p-3c4dea67.entry.js.map +0 -1
- /package/dist/webcomponents/{p-2cc63872.system.entry.js.map → p-28476b17.system.entry.js.map} +0 -0
- /package/dist/webcomponents/{p-fd6c166e.entry.js.map → p-61523bc9.entry.js.map} +0 -0
- /package/dist/webcomponents/{p-34cec0b3.system.entry.js.map → p-baad00f8.system.entry.js.map} +0 -0
- /package/dist/webcomponents/{p-155191ea.entry.js.map → p-d174c8cd.entry.js.map} +0 -0
|
@@ -13,5 +13,5 @@ import{r as t,h as r,a as e,g as i}from"./p-2c2c8629.js";import{i as o}from"./p-
|
|
|
13
13
|
*
|
|
14
14
|
* @license MIT
|
|
15
15
|
* @version 2.1.0
|
|
16
|
-
*/const l=Object.freeze({left:0,top:0,width:16,height:16});const c=Object.freeze({rotate:0,vFlip:false,hFlip:false});const d=Object.freeze({...l,...c});const g=Object.freeze({...d,body:"",hidden:false});const f=Object.freeze({width:null,height:null});const u=Object.freeze({...f,...c});function b(t,r=0){const e=t.replace(/^-?[0-9.]*/,"");function i(t){while(t<0){t+=4}return t%4}if(e===""){const r=parseInt(t);return isNaN(r)?0:i(r)}else if(e!==t){let r=0;switch(e){case"%":r=25;break;case"deg":r=90}if(r){let o=parseFloat(t.slice(0,t.length-e.length));if(isNaN(o)){return 0}o=o/r;return o%1===0?i(o):0}}return r}const v=/[\s,]+/;function p(t,r){r.split(v).forEach((r=>{const e=r.trim();switch(e){case"horizontal":t.hFlip=true;break;case"vertical":t.vFlip=true;break}}))}const h={...u,preserveAspectRatio:""};function m(t){const r={...h};const e=(r,e)=>t.getAttribute(r)||e;r.width=e("width",null);r.height=e("height",null);r.rotate=b(e("rotate",""));p(r,e("flip",""));r.preserveAspectRatio=e("preserveAspectRatio",e("preserveaspectratio",""));return r}function k(t,r){for(const e in h){if(t[e]!==r[e]){return true}}return false}const w=/^[a-z0-9]+(-[a-z0-9]+)*$/;const y=(t,r,e,i="")=>{const o=t.split(":");if(t.slice(0,1)==="@"){if(o.length<2||o.length>3){return null}i=o.shift().slice(1)}if(o.length>3||!o.length){return null}if(o.length>1){const t=o.pop();const e=o.pop();const a={provider:o.length>0?o[0]:i,prefix:e,name:t};return r&&!x(a)?null:a}const a=o[0];const n=a.split("-");if(n.length>1){const t={provider:i,prefix:n.shift(),name:n.join("-")};return r&&!x(t)?null:t}if(e&&i===""){const t={provider:i,prefix:"",name:a};return r&&!x(t,e)?null:t}return null};const x=(t,r)=>{if(!t){return false}return!!((t.provider===""||t.provider.match(w))&&(r&&t.prefix===""||t.prefix.match(w))&&t.name.match(w))};function z(t,r){const e={};if(!t.hFlip!==!r.hFlip){e.hFlip=true}if(!t.vFlip!==!r.vFlip){e.vFlip=true}const i=((t.rotate||0)+(r.rotate||0))%4;if(i){e.rotate=i}return e}function j(t,r){const e=z(t,r);for(const i in g){if(i in c){if(i in t&&!(i in e)){e[i]=c[i]}}else if(i in r){e[i]=r[i]}else if(i in t){e[i]=t[i]}}return e}function O(t,r){const e=t.icons;const i=t.aliases||Object.create(null);const o=Object.create(null);function a(t){if(e[t]){return o[t]=[]}if(!(t in o)){o[t]=null;const r=i[t]&&i[t].parent;const e=r&&a(r);if(e){o[t]=[r].concat(e)}}return o[t]}(r||Object.keys(e).concat(Object.keys(i))).forEach(a);return o}function A(t,r,e){const i=t.icons;const o=t.aliases||Object.create(null);let a={};function n(t){a=j(i[t]||o[t],a)}n(r);e.forEach(n);return j(t,a)}function I(t,r){const e=[];if(typeof t!=="object"||typeof t.icons!=="object"){return e}if(t.not_found instanceof Array){t.not_found.forEach((t=>{r(t,null);e.push(t)}))}const i=O(t);for(const o in i){const a=i[o];if(a){r(o,A(t,o,a));e.push(o)}}return e}const T={provider:"",aliases:{},not_found:{},...l};function M(t,r){for(const e in r){if(e in t&&typeof t[e]!==typeof r[e]){return false}}return true}function S(t){if(typeof t!=="object"||t===null){return null}const r=t;if(typeof r.prefix!=="string"||!t.icons||typeof t.icons!=="object"){return null}if(!M(t,T)){return null}const e=r.icons;for(const t in e){const r=e[t];if(!t.match(w)||typeof r.body!=="string"||!M(r,g)){return null}}const i=r.aliases||Object.create(null);for(const t in i){const r=i[t];const o=r.parent;if(!t.match(w)||typeof o!=="string"||!e[o]&&!i[o]||!M(r,g)){return null}}return r}const C=Object.create(null);function _(t,r){return{provider:t,prefix:r,icons:Object.create(null),missing:new Set}}function P(t,r){const e=C[t]||(C[t]=Object.create(null));return e[r]||(e[r]=_(t,r))}function N(t,r){if(!S(r)){return[]}return I(r,((r,e)=>{if(e){t.icons[r]=e}else{t.missing.add(r)}}))}function L(t,r,e){try{if(typeof e.body==="string"){t.icons[r]={...e};return true}}catch(t){}return false}function R(t,r){let e=[];const i=typeof t==="string"?[t]:Object.keys(C);i.forEach((t=>{const i=typeof t==="string"&&typeof r==="string"?[r]:Object.keys(C[t]||{});i.forEach((r=>{const i=P(t,r);e=e.concat(Object.keys(i.icons).map((e=>(t!==""?"@"+t+":":"")+r+":"+e)))}))}));return e}let F=false;function D(t){if(typeof t==="boolean"){F=t}return F}function J(t){const r=typeof t==="string"?y(t,true,F):t;if(r){const t=P(r.provider,r.prefix);const e=r.name;return t.icons[e]||(t.missing.has(e)?null:void 0)}}function q(t,r){const e=y(t,true,F);if(!e){return false}const i=P(e.provider,e.prefix);return L(i,e.name,r)}function B(t,r){if(typeof t!=="object"){return false}if(typeof r!=="string"){r=t.provider||""}if(F&&!r&&!t.prefix){let r=false;if(S(t)){t.prefix="";I(t,((t,e)=>{if(e&&q(t,e)){r=true}}))}return r}const e=t.prefix;if(!x({provider:r,prefix:e,name:"a"})){return false}const i=P(r,e);return!!N(i,t)}function E(t){return!!J(t)}function U(t){const r=J(t);return r?{...d,...r}:null}function $(t){const r={loaded:[],missing:[],pending:[]};const e=Object.create(null);t.sort(((t,r)=>{if(t.provider!==r.provider){return t.provider.localeCompare(r.provider)}if(t.prefix!==r.prefix){return t.prefix.localeCompare(r.prefix)}return t.name.localeCompare(r.name)}));let i={provider:"",prefix:"",name:""};t.forEach((t=>{if(i.name===t.name&&i.prefix===t.prefix&&i.provider===t.provider){return}i=t;const o=t.provider;const a=t.prefix;const n=t.name;const s=e[o]||(e[o]=Object.create(null));const l=s[a]||(s[a]=P(o,a));let c;if(n in l.icons){c=r.loaded}else if(a===""||l.missing.has(n)){c=r.missing}else{c=r.pending}const d={provider:o,prefix:a,name:n};c.push(d)}));return r}function H(t,r){t.forEach((t=>{const e=t.loaderCallbacks;if(e){t.loaderCallbacks=e.filter((t=>t.id!==r))}}))}function Q(t){if(!t.pendingCallbacksFlag){t.pendingCallbacksFlag=true;setTimeout((()=>{t.pendingCallbacksFlag=false;const r=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!r.length){return}let e=false;const i=t.provider;const o=t.prefix;r.forEach((r=>{const a=r.icons;const n=a.pending.length;a.pending=a.pending.filter((r=>{if(r.prefix!==o){return true}const n=r.name;if(t.icons[n]){a.loaded.push({provider:i,prefix:o,name:n})}else if(t.missing.has(n)){a.missing.push({provider:i,prefix:o,name:n})}else{e=true;return true}return false}));if(a.pending.length!==n){if(!e){H([t],r.id)}r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort)}}))}))}}let W=0;function G(t,r,e){const i=W++;const o=H.bind(null,e,i);if(!r.pending.length){return o}const a={id:i,icons:r,callback:t,abort:o};e.forEach((t=>{(t.loaderCallbacks||(t.loaderCallbacks=[])).push(a)}));return o}const V=Object.create(null);function K(t,r){V[t]=r}function X(t){return V[t]||V[""]}function Y(t,r=true,e=false){const i=[];t.forEach((t=>{const o=typeof t==="string"?y(t,r,e):t;if(o){i.push(o)}}));return i}var Z={resources:[],index:0,timeout:2e3,rotate:750,random:false,dataAfterTimeout:false};function tt(t,r,e,i){const o=t.resources.length;const a=t.random?Math.floor(Math.random()*o):t.index;let n;if(t.random){let r=t.resources.slice(0);n=[];while(r.length>1){const t=Math.floor(Math.random()*r.length);n.push(r[t]);r=r.slice(0,t).concat(r.slice(t+1))}n=n.concat(r)}else{n=t.resources.slice(a).concat(t.resources.slice(0,a))}const s=Date.now();let l="pending";let c=0;let d;let g=null;let f=[];let u=[];if(typeof i==="function"){u.push(i)}function b(){if(g){clearTimeout(g);g=null}}function v(){if(l==="pending"){l="aborted"}b();f.forEach((t=>{if(t.status==="pending"){t.status="aborted"}}));f=[]}function p(t,r){if(r){u=[]}if(typeof t==="function"){u.push(t)}}function h(){return{startTime:s,payload:r,status:l,queriesSent:c,queriesPending:f.length,subscribe:p,abort:v}}function m(){l="failed";u.forEach((t=>{t(void 0,d)}))}function k(){f.forEach((t=>{if(t.status==="pending"){t.status="aborted"}}));f=[]}function w(r,e,i){const o=e!=="success";f=f.filter((t=>t!==r));switch(l){case"pending":break;case"failed":if(o||!t.dataAfterTimeout){return}break;default:return}if(e==="abort"){d=i;m();return}if(o){d=i;if(!f.length){if(!n.length){m()}else{y()}}return}b();k();if(!t.random){const e=t.resources.indexOf(r.resource);if(e!==-1&&e!==t.index){t.index=e}}l="completed";u.forEach((t=>{t(i)}))}function y(){if(l!=="pending"){return}b();const i=n.shift();if(i===void 0){if(f.length){g=setTimeout((()=>{b();if(l==="pending"){k();m()}}),t.timeout);return}m();return}const o={status:"pending",resource:i,callback:(t,r)=>{w(o,t,r)}};f.push(o);c++;g=setTimeout(y,t.rotate);e(i,r,o.callback)}setTimeout(y);return h}function rt(t){const r={...Z,...t};let e=[];function i(){e=e.filter((t=>t().status==="pending"))}function o(t,o,a){const n=tt(r,t,o,((t,r)=>{i();if(a){a(t,r)}}));e.push(n);return n}function a(t){return e.find((r=>t(r)))||null}const n={query:o,find:a,setIndex:t=>{r.index=t},getIndex:()=>r.index,cleanup:i};return n}function et(t){let r;if(typeof t.resources==="string"){r=[t.resources]}else{r=t.resources;if(!(r instanceof Array)||!r.length){return null}}const e={resources:r,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===true,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==false};return e}const it=Object.create(null);const ot=["https://api.simplesvg.com","https://api.unisvg.com"];const at=[];while(ot.length>0){if(ot.length===1){at.push(ot.shift())}else{if(Math.random()>.5){at.push(ot.shift())}else{at.push(ot.pop())}}}it[""]=et({resources:["https://api.iconify.design"].concat(at)});function nt(t,r){const e=et(r);if(e===null){return false}it[t]=e;return true}function st(t){return it[t]}function lt(){return Object.keys(it)}function ct(){}const dt=Object.create(null);function gt(t){if(!dt[t]){const r=st(t);if(!r){return}const e=rt(r);const i={config:r,redundancy:e};dt[t]=i}return dt[t]}function ft(t,r,e){let i;let o;if(typeof t==="string"){const r=X(t);if(!r){e(void 0,424);return ct}o=r.send;const a=gt(t);if(a){i=a.redundancy}}else{const r=et(t);if(r){i=rt(r);const e=t.resources?t.resources[0]:"";const a=X(e);if(a){o=a.send}}}if(!i||!o){e(void 0,424);return ct}return i.query(r,o,e)().abort}const ut="iconify2";const bt="iconify";const vt=bt+"-count";const pt=bt+"-version";const ht=36e5;const mt=168;const kt=50;function wt(t,r){try{return t.getItem(r)}catch(t){}}function yt(t,r,e){try{t.setItem(r,e);return true}catch(t){}}function xt(t,r){try{t.removeItem(r)}catch(t){}}function zt(t,r){return yt(t,vt,r.toString())}function jt(t){return parseInt(wt(t,vt))||0}const Ot={local:true,session:true};const At={local:new Set,session:new Set};let It=false;function Tt(t){It=t}let Mt=typeof window==="undefined"?{}:window;function St(t){const r=t+"Storage";try{if(Mt&&Mt[r]&&typeof Mt[r].length==="number"){return Mt[r]}}catch(t){}Ot[t]=false}function Ct(t,r){const e=St(t);if(!e){return}const i=wt(e,pt);if(i!==ut){if(i){const t=jt(e);for(let r=0;r<t;r++){xt(e,bt+r.toString())}}yt(e,pt,ut);zt(e,0);return}const o=Math.floor(Date.now()/ht)-mt;const a=t=>{const i=bt+t.toString();const a=wt(e,i);if(typeof a!=="string"){return}try{const e=JSON.parse(a);if(typeof e==="object"&&typeof e.cached==="number"&&e.cached>o&&typeof e.provider==="string"&&typeof e.data==="object"&&typeof e.data.prefix==="string"&&r(e,t)){return true}}catch(t){}xt(e,i)};let n=jt(e);for(let r=n-1;r>=0;r--){if(!a(r)){if(r===n-1){n--;zt(e,n)}else{At[t].add(r)}}}}function _t(){if(It){return}Tt(true);for(const t in Ot){Ct(t,(t=>{const r=t.data;const e=t.provider;const i=r.prefix;const o=P(e,i);if(!N(o,r).length){return false}const a=r.lastModified||-1;o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,a):a;return true}))}}function Pt(t,r){const e=t.lastModifiedCached;if(e&&e>=r){return e===r}t.lastModifiedCached=r;if(e){for(const e in Ot){Ct(e,(e=>{const i=e.data;return e.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===r}))}}return true}function Nt(t,r){if(!It){_t()}function e(e){let i;if(!Ot[e]||!(i=St(e))){return}const o=At[e];let a;if(o.size){o.delete(a=Array.from(o).shift())}else{a=jt(i);if(a>=kt||!zt(i,a+1)){return}}const n={cached:Math.floor(Date.now()/ht),provider:t.provider,data:r};return yt(i,bt+a.toString(),JSON.stringify(n))}if(r.lastModified&&!Pt(t,r.lastModified)){return}if(!Object.keys(r.icons).length){return}if(r.not_found){r=Object.assign({},r);delete r.not_found}if(!e("local")){e("session")}}function Lt(){}function Rt(t){if(!t.iconsLoaderFlag){t.iconsLoaderFlag=true;setTimeout((()=>{t.iconsLoaderFlag=false;Q(t)}))}}function Ft(t,r){if(!t.iconsToLoad){t.iconsToLoad=r}else{t.iconsToLoad=t.iconsToLoad.concat(r).sort()}if(!t.iconsQueueFlag){t.iconsQueueFlag=true;setTimeout((()=>{t.iconsQueueFlag=false;const{provider:r,prefix:e}=t;const i=t.iconsToLoad;delete t.iconsToLoad;let o;if(!i||!(o=X(r))){return}const a=o.prepare(r,e,i);a.forEach((e=>{ft(r,e,(r=>{if(typeof r!=="object"){e.icons.forEach((r=>{t.missing.add(r)}))}else{try{const e=N(t,r);if(!e.length){return}const i=t.pendingIcons;if(i){e.forEach((t=>{i.delete(t)}))}Nt(t,r)}catch(t){console.error(t)}}Rt(t)}))}))}))}}const Dt=(t,r)=>{const e=Y(t,true,D());const i=$(e);if(!i.pending.length){let t=true;if(r){setTimeout((()=>{if(t){r(i.loaded,i.missing,i.pending,Lt)}}))}return()=>{t=false}}const o=Object.create(null);const a=[];let n,s;i.pending.forEach((t=>{const{provider:r,prefix:e}=t;if(e===s&&r===n){return}n=r;s=e;a.push(P(r,e));const i=o[r]||(o[r]=Object.create(null));if(!i[e]){i[e]=[]}}));i.pending.forEach((t=>{const{provider:r,prefix:e,name:i}=t;const a=P(r,e);const n=a.pendingIcons||(a.pendingIcons=new Set);if(!n.has(i)){n.add(i);o[r][e].push(i)}}));a.forEach((t=>{const{provider:r,prefix:e}=t;if(o[r][e].length){Ft(t,o[r][e])}}));return r?G(r,i,a):Lt};const Jt=t=>new Promise(((r,e)=>{const i=typeof t==="string"?y(t,true):t;if(!i){e(t);return}Dt([i||t],(o=>{if(o.length&&i){const t=J(i);if(t){r({...d,...t});return}}e(t)}))}));function qt(t){try{const r=typeof t==="string"?JSON.parse(t):t;if(typeof r.body==="string"){return{...r}}}catch(t){}}function Bt(t,r){const e=typeof t==="string"?y(t,true,true):null;if(!e){const r=qt(t);return{value:t,data:r}}const i=J(e);if(i!==void 0||!e.prefix){return{value:t,name:e,data:i}}const o=Dt([e],(()=>r(t,e,J(e))));return{value:t,name:e,loading:o}}let Et=false;try{Et=navigator.vendor.indexOf("Apple")===0}catch(t){}function Ut(t,r){switch(r){case"svg":case"bg":case"mask":return r}if(r!=="style"&&(Et||t.indexOf("<a")===-1)){return"svg"}return t.indexOf("currentColor")===-1?"bg":"mask"}const $t=/(-?[0-9.]*[0-9]+[0-9.]*)/g;const Ht=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Qt(t,r,e){if(r===1){return t}e=e||100;if(typeof t==="number"){return Math.ceil(t*r*e)/e}if(typeof t!=="string"){return t}const i=t.split($t);if(i===null||!i.length){return t}const o=[];let a=i.shift();let n=Ht.test(a);while(true){if(n){const t=parseFloat(a);if(isNaN(t)){o.push(a)}else{o.push(Math.ceil(t*r*e)/e)}}else{o.push(a)}a=i.shift();if(a===void 0){return o.join("")}n=!n}}function Wt(t,r="defs"){let e="";const i=t.indexOf("<"+r);while(i>=0){const o=t.indexOf(">",i);const a=t.indexOf("</"+r);if(o===-1||a===-1){break}const n=t.indexOf(">",a);if(n===-1){break}e+=t.slice(o+1,a).trim();t=t.slice(0,i).trim()+t.slice(n+1)}return{defs:e,content:t}}function Gt(t,r){return t?"<defs>"+t+"</defs>"+r:r}function Vt(t,r,e){const i=Wt(t);return Gt(i.defs,r+i.content+e)}const Kt=t=>t==="unset"||t==="undefined"||t==="none";function Xt(t,r){const e={...d,...t};const i={...u,...r};const o={left:e.left,top:e.top,width:e.width,height:e.height};let a=e.body;[e,i].forEach((t=>{const r=[];const e=t.hFlip;const i=t.vFlip;let n=t.rotate;if(e){if(i){n+=2}else{r.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")");r.push("scale(-1 1)");o.top=o.left=0}}else if(i){r.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")");r.push("scale(1 -1)");o.top=o.left=0}let s;if(n<0){n-=Math.floor(n/4)*4}n=n%4;switch(n){case 1:s=o.height/2+o.top;r.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:r.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:s=o.width/2+o.left;r.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")");break}if(n%2===1){if(o.left!==o.top){s=o.left;o.left=o.top;o.top=s}if(o.width!==o.height){s=o.width;o.width=o.height;o.height=s}}if(r.length){a=Vt(a,'<g transform="'+r.join(" ")+'">',"</g>")}}));const n=i.width;const s=i.height;const l=o.width;const c=o.height;let g;let f;if(n===null){f=s===null?"1em":s==="auto"?c:s;g=Qt(f,l/c)}else{g=n==="auto"?l:n;f=s===null?Qt(g,c/l):s==="auto"?c:s}const b={};const v=(t,r)=>{if(!Kt(r)){b[t]=r.toString()}};v("width",g);v("height",f);const p=[o.left,o.top,l,c];b.viewBox=p.join(" ");return{attributes:b,viewBox:p,body:a}}function Yt(t,r){let e=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const t in r){e+=" "+t+'="'+r[t]+'"'}return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+t+"</svg>"}function Zt(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function tr(t){return"data:image/svg+xml,"+Zt(t)}function rr(t){return'url("'+tr(t)+'")'}const er=()=>{let t;try{t=fetch;if(typeof t==="function"){return t}}catch(t){}};let ir=er();function or(t){ir=t}function ar(){return ir}function nr(t,r){const e=st(t);if(!e){return 0}let i;if(!e.maxURL){i=0}else{let t=0;e.resources.forEach((r=>{const e=r;t=Math.max(t,e.length)}));const o=r+".json?icons=";i=e.maxURL-t-e.path.length-o.length}return i}function sr(t){return t===404}const lr=(t,r,e)=>{const i=[];const o=nr(t,r);const a="icons";let n={type:a,provider:t,prefix:r,icons:[]};let s=0;e.forEach(((e,l)=>{s+=e.length+1;if(s>=o&&l>0){i.push(n);n={type:a,provider:t,prefix:r,icons:[]};s=e.length}n.icons.push(e)}));i.push(n);return i};function cr(t){if(typeof t==="string"){const r=st(t);if(r){return r.path}}return"/"}const dr=(t,r,e)=>{if(!ir){e("abort",424);return}let i=cr(r.provider);switch(r.type){case"icons":{const t=r.prefix;const e=r.icons;const o=e.join(",");const a=new URLSearchParams({icons:o});i+=t+".json?"+a.toString();break}case"custom":{const t=r.uri;i+=t.slice(0,1)==="/"?t.slice(1):t;break}default:e("abort",400);return}let o=503;ir(t+i).then((t=>{const r=t.status;if(r!==200){setTimeout((()=>{e(sr(r)?"abort":"next",r)}));return}o=501;return t.json()})).then((t=>{if(typeof t!=="object"||t===null){setTimeout((()=>{if(t===404){e("abort",t)}else{e("next",o)}}));return}setTimeout((()=>{e("success",t)}))})).catch((()=>{e("next",o)}))};const gr={prepare:lr,send:dr};function fr(t,r){switch(t){case"local":case"session":Ot[t]=r;break;case"all":for(const t in Ot){Ot[t]=r}break}}const ur="data-style";let br="";function vr(t){br=t}function pr(t,r){let e=Array.from(t.childNodes).find((t=>t.hasAttribute&&t.hasAttribute(ur)));if(!e){e=document.createElement("style");e.setAttribute(ur,ur);t.appendChild(e)}e.textContent=":host{display:inline-block;vertical-align:"+(r?"-0.125em":"0")+"}span,svg{display:block}"+br}function hr(){K("",gr);D(true);let t;try{t=window}catch(t){}if(t){_t();if(t.IconifyPreload!==void 0){const r=t.IconifyPreload;const e="Invalid IconifyPreload syntax.";if(typeof r==="object"&&r!==null){(r instanceof Array?r:[r]).forEach((t=>{try{if(typeof t!=="object"||t===null||t instanceof Array||typeof t.icons!=="object"||typeof t.prefix!=="string"||!B(t)){console.error(e)}}catch(t){console.error(e)}}))}}if(t.IconifyProviders!==void 0){const r=t.IconifyProviders;if(typeof r==="object"&&r!==null){for(const t in r){const e="IconifyProviders["+t+"] is invalid.";try{const i=r[t];if(typeof i!=="object"||!i||i.resources===void 0){continue}if(!nt(t,i)){console.error(e)}}catch(t){console.error(e)}}}}}const r={getAPIConfig:st,setAPIModule:K,sendAPIQuery:ft,setFetch:or,getFetch:ar,listAPIProviders:lt};return{enableCache:t=>fr(t,true),disableCache:t=>fr(t,false),iconLoaded:E,iconExists:E,getIcon:U,listIcons:R,addIcon:q,addCollection:B,calculateSize:Qt,buildIcon:Xt,iconToHTML:Yt,svgToURL:rr,loadIcons:Dt,loadIcon:Jt,addAPIProvider:nt,appendCustomStyle:vr,_api:r}}const mr={"background-color":"currentColor"};const kr={"background-color":"transparent"};const wr={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"};const yr={"-webkit-mask":mr,mask:mr,background:kr};for(const t in yr){const r=yr[t];for(const e in wr){r[t+"-"+e]=wr[e]}}function xr(t){return t?t+(t.match(/^[-0-9.]+$/)?"px":""):"inherit"}function zr(t,r,e){const i=document.createElement("span");let o=t.body;if(o.indexOf("<a")!==-1){o+="\x3c!-- "+Date.now()+" --\x3e"}const a=t.attributes;const n=Yt(o,{...a,width:r.width+"",height:r.height+""});const s=rr(n);const l=i.style;const c={"--svg":s,width:xr(a.width),height:xr(a.height),...e?mr:kr};for(const t in c){l.setProperty(t,c[t])}return i}let jr;function Or(){try{jr=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch(t){jr=null}}function Ar(t){if(jr===void 0){Or()}return jr?jr.createHTML(t):t}function Ir(t){const r=document.createElement("span");const e=t.attributes;let i="";if(!e.width){i="width: inherit;"}if(!e.height){i+="height: inherit;"}if(i){e.style=i}const o=Yt(t.body,e);r.innerHTML=Ar(o);return r.firstChild}function Tr(t){return Array.from(t.childNodes).find((t=>{const r=t.tagName&&t.tagName.toUpperCase();return r==="SPAN"||r==="SVG"}))}function Mr(t,r){const e=r.icon.data;const i=r.customisations;const o=Xt(e,i);if(i.preserveAspectRatio){o.attributes["preserveAspectRatio"]=i.preserveAspectRatio}const a=r.renderedMode;let n;switch(a){case"svg":n=Ir(o);break;default:n=zr(o,{...d,...e},a==="mask")}const s=Tr(t);if(s){if(n.tagName==="SPAN"&&s.tagName===n.tagName){s.setAttribute("style",n.getAttribute("style"))}else{t.replaceChild(n,s)}}else{t.appendChild(n)}}function Sr(t,r,e){const i=e&&(e.rendered?e:e.lastRender);return{rendered:false,inline:r,icon:t,lastRender:i}}function Cr(t="iconify-icon"){let r;let e;try{r=window.customElements;e=window.HTMLElement}catch(t){return}if(!r||!e){return}const i=r.get(t);if(i){return i}const o=["icon","mode","inline","noobserver","width","height","rotate","flip"];const a=class extends e{_shadowRoot;_initialised=false;_state;_checkQueued=false;_connected=false;_observer=null;_visible=true;constructor(){super();const t=this._shadowRoot=this.attachShadow({mode:"open"});const r=this.hasAttribute("inline");pr(t,r);this._state=Sr({value:""},r);this._queueCheck()}connectedCallback(){this._connected=true;this.startObserver()}disconnectedCallback(){this._connected=false;this.stopObserver()}static get observedAttributes(){return o.slice(0)}attributeChangedCallback(t){switch(t){case"inline":{const t=this.hasAttribute("inline");const r=this._state;if(t!==r.inline){r.inline=t;pr(this._shadowRoot,t)}break}case"noobserver":{const t=this.hasAttribute("noobserver");if(t){this.startObserver()}else{this.stopObserver()}break}default:this._queueCheck()}}get icon(){const t=this.getAttribute("icon");if(t&&t.slice(0,1)==="{"){try{return JSON.parse(t)}catch(t){}}return t}set icon(t){if(typeof t==="object"){t=JSON.stringify(t)}this.setAttribute("icon",t)}get inline(){return this.hasAttribute("inline")}set inline(t){if(t){this.setAttribute("inline","true")}else{this.removeAttribute("inline")}}get observer(){return this.hasAttribute("observer")}set observer(t){if(t){this.setAttribute("observer","true")}else{this.removeAttribute("observer")}}restartAnimation(){const t=this._state;if(t.rendered){const r=this._shadowRoot;if(t.renderedMode==="svg"){try{r.lastChild.setCurrentTime(0);return}catch(t){}}Mr(r,t)}}get status(){const t=this._state;return t.rendered?"rendered":t.icon.data===null?"failed":"loading"}_queueCheck(){if(!this._checkQueued){this._checkQueued=true;setTimeout((()=>{this._check()}))}}_check(){if(!this._checkQueued){return}this._checkQueued=false;const t=this._state;const r=this.getAttribute("icon");if(r!==t.icon.value){this._iconChanged(r);return}if(!t.rendered||!this._visible){return}const e=this.getAttribute("mode");const i=m(this);if(t.attrMode!==e||k(t.customisations,i)||!Tr(this._shadowRoot)){this._renderIcon(t.icon,i,e)}}_iconChanged(t){const r=Bt(t,((t,r,e)=>{const i=this._state;if(i.rendered||this.getAttribute("icon")!==t){return}const o={value:t,name:r,data:e};if(o.data){this._gotIconData(o)}else{i.icon=o}}));if(r.data){this._gotIconData(r)}else{this._state=Sr(r,this._state.inline,this._state)}}_forceRender(){if(!this._visible){const t=Tr(this._shadowRoot);if(t){this._shadowRoot.removeChild(t)}return}this._queueCheck()}_gotIconData(t){this._checkQueued=false;this._renderIcon(t,m(this),this.getAttribute("mode"))}_renderIcon(t,r,e){const i=Ut(t.data.body,e);const o=this._state.inline;Mr(this._shadowRoot,this._state={rendered:true,icon:t,inline:o,customisations:r,attrMode:e,renderedMode:i})}startObserver(){if(!this._observer&&!this.hasAttribute("noobserver")){try{this._observer=new IntersectionObserver((t=>{const r=t.some((t=>t.isIntersecting));if(r!==this._visible){this._visible=r;this._forceRender()}}));this._observer.observe(this)}catch(t){if(this._observer){try{this._observer.disconnect()}catch(t){}this._observer=null}}}}stopObserver(){if(this._observer){this._observer.disconnect();this._observer=null;this._visible=true;if(this._connected){this._forceRender()}}}};o.forEach((t=>{if(!(t in a.prototype)){Object.defineProperty(a.prototype,t,{get:function(){return this.getAttribute(t)},set:function(r){if(r!==null){this.setAttribute(t,r)}else{this.removeAttribute(t)}}})}}));const n=hr();for(const t in n){a[t]=a.prototype[t]=n[t]}r.define(t,a);return a}Cr()||hr();const _r="*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}html{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a{background-color:transparent}strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}[hidden]{display:none}.d-flex{display:-ms-flexbox !important;display:flex !important}.align-items-center{-ms-flex-align:center !important;align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter) * 0.5);padding-right:calc(var(--grid-gutter) * 0.5);width:100%}.col{-ms-flex:1 0 0%;flex:1 0 0%;min-width:8.3333333333%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.container{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:calc(var(--grid-gutter) * -0.5);margin-right:calc(var(--grid-gutter) * -0.5)}@media (min-width: 576px){.container{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}}@media (min-width: 992px){.container{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}}@media (min-width: 1600px){.container{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mr-2{margin-right:var(--spacing-scale-base) !important}.mr-n2{margin-right:calc(var(--spacing-scale-base) * -1) !important}.mb-3{margin-bottom:var(--spacing-scale-2x) !important}.mr-auto{margin-right:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}.py-3{padding-bottom:var(--spacing-scale-2x) !important;padding-top:var(--spacing-scale-2x) !important}.py-4{padding-bottom:var(--spacing-scale-3x) !important;padding-top:var(--spacing-scale-3x) !important}body{--bg-color:var(--background);--bg-color-rgb:var(--background-rgb);--bg-color-hsl:var(--background-hsl);--font-size:var(--font-size-scale-base);--font-weight:var(--font-weight-regular);--link-color:var(--interactive);--link-color-rgb:var(--interactive-rgb);--link-color-hsl:var(--interactive-hsl);--line-height:var(--font-line-height-medium);--text-color:var(--color);--text-color-rgb:var(--color-rgb);--text-color-hsl:var(--color-hsl);background:var(--bg-color);color:var(--text-color);font-family:var(--font-family-base);font-size:var(--font-size);font-weight:var(--font-weight);line-height:var(--line-height)}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half);color:var(--interactive);text-decoration:none}a:focus{outline:none}a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--hover))), to(rgba(var(--interactive-rgb), var(--hover))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--pressed))), to(rgba(var(--interactive-rgb), var(--pressed))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}button{cursor:pointer}img{max-width:100%;vertical-align:middle}ul{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}::-moz-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::-webkit-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}:-ms-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::-ms-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}.text-pure-0{color:var(--pure-0) !important}.text-primary-default{color:var(--color-primary-default) !important}.bg-support-01{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark);background:var(--color-support-01) !important}.text-nowrap{white-space:nowrap !important}.text-base{font-size:var(--font-size-scale-base) !important}.highlight{background:var(--status-highlight-background) -webkit-gradient(linear, left top, left bottom, from(var(--status-highlight-overlay)), to(var(--status-highlight-overlay)));background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{-webkit-box-shadow:var(--surface-shadow-sm);box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}:host{margin:0 var(--spacing-scale-base)}";const Pr=_r;const Nr=class{constructor(r){t(this,r);this.inheritedAttributes={};this.iconName=undefined;this.height="16";this.width="24";this.cssClasses=undefined;this.isInline=false;this.rotate=undefined;this.flip=undefined}componentWillLoad(){this.inheritedAttributes=o(this.el)}render(){return r(e,{key:"4e061bbb7aabb1fa8820a44cfa570e3372ec6d1b"},r("iconify-icon",Object.assign({key:"14ea56661308b88bbc72c280facae0963b18cd30",flip:this.flip,width:this.width,class:this.cssClasses,icon:this.iconName,inline:this.isInline,height:this.height,rotate:this.rotate},this.inheritedAttributes)))}get el(){return i(this)}};Nr.style=Pr;export{s as br_button,Nr as br_icon};
|
|
17
|
-
//# sourceMappingURL=p-
|
|
16
|
+
*/const l=Object.freeze({left:0,top:0,width:16,height:16});const c=Object.freeze({rotate:0,vFlip:false,hFlip:false});const d=Object.freeze({...l,...c});const g=Object.freeze({...d,body:"",hidden:false});const f=Object.freeze({width:null,height:null});const u=Object.freeze({...f,...c});function b(t,r=0){const e=t.replace(/^-?[0-9.]*/,"");function i(t){while(t<0){t+=4}return t%4}if(e===""){const r=parseInt(t);return isNaN(r)?0:i(r)}else if(e!==t){let r=0;switch(e){case"%":r=25;break;case"deg":r=90}if(r){let o=parseFloat(t.slice(0,t.length-e.length));if(isNaN(o)){return 0}o=o/r;return o%1===0?i(o):0}}return r}const v=/[\s,]+/;function p(t,r){r.split(v).forEach((r=>{const e=r.trim();switch(e){case"horizontal":t.hFlip=true;break;case"vertical":t.vFlip=true;break}}))}const h={...u,preserveAspectRatio:""};function m(t){const r={...h};const e=(r,e)=>t.getAttribute(r)||e;r.width=e("width",null);r.height=e("height",null);r.rotate=b(e("rotate",""));p(r,e("flip",""));r.preserveAspectRatio=e("preserveAspectRatio",e("preserveaspectratio",""));return r}function k(t,r){for(const e in h){if(t[e]!==r[e]){return true}}return false}const w=/^[a-z0-9]+(-[a-z0-9]+)*$/;const y=(t,r,e,i="")=>{const o=t.split(":");if(t.slice(0,1)==="@"){if(o.length<2||o.length>3){return null}i=o.shift().slice(1)}if(o.length>3||!o.length){return null}if(o.length>1){const t=o.pop();const e=o.pop();const a={provider:o.length>0?o[0]:i,prefix:e,name:t};return r&&!x(a)?null:a}const a=o[0];const n=a.split("-");if(n.length>1){const t={provider:i,prefix:n.shift(),name:n.join("-")};return r&&!x(t)?null:t}if(e&&i===""){const t={provider:i,prefix:"",name:a};return r&&!x(t,e)?null:t}return null};const x=(t,r)=>{if(!t){return false}return!!((t.provider===""||t.provider.match(w))&&(r&&t.prefix===""||t.prefix.match(w))&&t.name.match(w))};function z(t,r){const e={};if(!t.hFlip!==!r.hFlip){e.hFlip=true}if(!t.vFlip!==!r.vFlip){e.vFlip=true}const i=((t.rotate||0)+(r.rotate||0))%4;if(i){e.rotate=i}return e}function j(t,r){const e=z(t,r);for(const i in g){if(i in c){if(i in t&&!(i in e)){e[i]=c[i]}}else if(i in r){e[i]=r[i]}else if(i in t){e[i]=t[i]}}return e}function O(t,r){const e=t.icons;const i=t.aliases||Object.create(null);const o=Object.create(null);function a(t){if(e[t]){return o[t]=[]}if(!(t in o)){o[t]=null;const r=i[t]&&i[t].parent;const e=r&&a(r);if(e){o[t]=[r].concat(e)}}return o[t]}(r||Object.keys(e).concat(Object.keys(i))).forEach(a);return o}function A(t,r,e){const i=t.icons;const o=t.aliases||Object.create(null);let a={};function n(t){a=j(i[t]||o[t],a)}n(r);e.forEach(n);return j(t,a)}function I(t,r){const e=[];if(typeof t!=="object"||typeof t.icons!=="object"){return e}if(t.not_found instanceof Array){t.not_found.forEach((t=>{r(t,null);e.push(t)}))}const i=O(t);for(const o in i){const a=i[o];if(a){r(o,A(t,o,a));e.push(o)}}return e}const T={provider:"",aliases:{},not_found:{},...l};function M(t,r){for(const e in r){if(e in t&&typeof t[e]!==typeof r[e]){return false}}return true}function S(t){if(typeof t!=="object"||t===null){return null}const r=t;if(typeof r.prefix!=="string"||!t.icons||typeof t.icons!=="object"){return null}if(!M(t,T)){return null}const e=r.icons;for(const t in e){const r=e[t];if(!t.match(w)||typeof r.body!=="string"||!M(r,g)){return null}}const i=r.aliases||Object.create(null);for(const t in i){const r=i[t];const o=r.parent;if(!t.match(w)||typeof o!=="string"||!e[o]&&!i[o]||!M(r,g)){return null}}return r}const C=Object.create(null);function _(t,r){return{provider:t,prefix:r,icons:Object.create(null),missing:new Set}}function P(t,r){const e=C[t]||(C[t]=Object.create(null));return e[r]||(e[r]=_(t,r))}function N(t,r){if(!S(r)){return[]}return I(r,((r,e)=>{if(e){t.icons[r]=e}else{t.missing.add(r)}}))}function L(t,r,e){try{if(typeof e.body==="string"){t.icons[r]={...e};return true}}catch(t){}return false}function R(t,r){let e=[];const i=typeof t==="string"?[t]:Object.keys(C);i.forEach((t=>{const i=typeof t==="string"&&typeof r==="string"?[r]:Object.keys(C[t]||{});i.forEach((r=>{const i=P(t,r);e=e.concat(Object.keys(i.icons).map((e=>(t!==""?"@"+t+":":"")+r+":"+e)))}))}));return e}let F=false;function D(t){if(typeof t==="boolean"){F=t}return F}function J(t){const r=typeof t==="string"?y(t,true,F):t;if(r){const t=P(r.provider,r.prefix);const e=r.name;return t.icons[e]||(t.missing.has(e)?null:void 0)}}function q(t,r){const e=y(t,true,F);if(!e){return false}const i=P(e.provider,e.prefix);return L(i,e.name,r)}function B(t,r){if(typeof t!=="object"){return false}if(typeof r!=="string"){r=t.provider||""}if(F&&!r&&!t.prefix){let r=false;if(S(t)){t.prefix="";I(t,((t,e)=>{if(e&&q(t,e)){r=true}}))}return r}const e=t.prefix;if(!x({provider:r,prefix:e,name:"a"})){return false}const i=P(r,e);return!!N(i,t)}function E(t){return!!J(t)}function U(t){const r=J(t);return r?{...d,...r}:null}function $(t){const r={loaded:[],missing:[],pending:[]};const e=Object.create(null);t.sort(((t,r)=>{if(t.provider!==r.provider){return t.provider.localeCompare(r.provider)}if(t.prefix!==r.prefix){return t.prefix.localeCompare(r.prefix)}return t.name.localeCompare(r.name)}));let i={provider:"",prefix:"",name:""};t.forEach((t=>{if(i.name===t.name&&i.prefix===t.prefix&&i.provider===t.provider){return}i=t;const o=t.provider;const a=t.prefix;const n=t.name;const s=e[o]||(e[o]=Object.create(null));const l=s[a]||(s[a]=P(o,a));let c;if(n in l.icons){c=r.loaded}else if(a===""||l.missing.has(n)){c=r.missing}else{c=r.pending}const d={provider:o,prefix:a,name:n};c.push(d)}));return r}function H(t,r){t.forEach((t=>{const e=t.loaderCallbacks;if(e){t.loaderCallbacks=e.filter((t=>t.id!==r))}}))}function Q(t){if(!t.pendingCallbacksFlag){t.pendingCallbacksFlag=true;setTimeout((()=>{t.pendingCallbacksFlag=false;const r=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!r.length){return}let e=false;const i=t.provider;const o=t.prefix;r.forEach((r=>{const a=r.icons;const n=a.pending.length;a.pending=a.pending.filter((r=>{if(r.prefix!==o){return true}const n=r.name;if(t.icons[n]){a.loaded.push({provider:i,prefix:o,name:n})}else if(t.missing.has(n)){a.missing.push({provider:i,prefix:o,name:n})}else{e=true;return true}return false}));if(a.pending.length!==n){if(!e){H([t],r.id)}r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort)}}))}))}}let W=0;function G(t,r,e){const i=W++;const o=H.bind(null,e,i);if(!r.pending.length){return o}const a={id:i,icons:r,callback:t,abort:o};e.forEach((t=>{(t.loaderCallbacks||(t.loaderCallbacks=[])).push(a)}));return o}const V=Object.create(null);function K(t,r){V[t]=r}function X(t){return V[t]||V[""]}function Y(t,r=true,e=false){const i=[];t.forEach((t=>{const o=typeof t==="string"?y(t,r,e):t;if(o){i.push(o)}}));return i}var Z={resources:[],index:0,timeout:2e3,rotate:750,random:false,dataAfterTimeout:false};function tt(t,r,e,i){const o=t.resources.length;const a=t.random?Math.floor(Math.random()*o):t.index;let n;if(t.random){let r=t.resources.slice(0);n=[];while(r.length>1){const t=Math.floor(Math.random()*r.length);n.push(r[t]);r=r.slice(0,t).concat(r.slice(t+1))}n=n.concat(r)}else{n=t.resources.slice(a).concat(t.resources.slice(0,a))}const s=Date.now();let l="pending";let c=0;let d;let g=null;let f=[];let u=[];if(typeof i==="function"){u.push(i)}function b(){if(g){clearTimeout(g);g=null}}function v(){if(l==="pending"){l="aborted"}b();f.forEach((t=>{if(t.status==="pending"){t.status="aborted"}}));f=[]}function p(t,r){if(r){u=[]}if(typeof t==="function"){u.push(t)}}function h(){return{startTime:s,payload:r,status:l,queriesSent:c,queriesPending:f.length,subscribe:p,abort:v}}function m(){l="failed";u.forEach((t=>{t(void 0,d)}))}function k(){f.forEach((t=>{if(t.status==="pending"){t.status="aborted"}}));f=[]}function w(r,e,i){const o=e!=="success";f=f.filter((t=>t!==r));switch(l){case"pending":break;case"failed":if(o||!t.dataAfterTimeout){return}break;default:return}if(e==="abort"){d=i;m();return}if(o){d=i;if(!f.length){if(!n.length){m()}else{y()}}return}b();k();if(!t.random){const e=t.resources.indexOf(r.resource);if(e!==-1&&e!==t.index){t.index=e}}l="completed";u.forEach((t=>{t(i)}))}function y(){if(l!=="pending"){return}b();const i=n.shift();if(i===void 0){if(f.length){g=setTimeout((()=>{b();if(l==="pending"){k();m()}}),t.timeout);return}m();return}const o={status:"pending",resource:i,callback:(t,r)=>{w(o,t,r)}};f.push(o);c++;g=setTimeout(y,t.rotate);e(i,r,o.callback)}setTimeout(y);return h}function rt(t){const r={...Z,...t};let e=[];function i(){e=e.filter((t=>t().status==="pending"))}function o(t,o,a){const n=tt(r,t,o,((t,r)=>{i();if(a){a(t,r)}}));e.push(n);return n}function a(t){return e.find((r=>t(r)))||null}const n={query:o,find:a,setIndex:t=>{r.index=t},getIndex:()=>r.index,cleanup:i};return n}function et(t){let r;if(typeof t.resources==="string"){r=[t.resources]}else{r=t.resources;if(!(r instanceof Array)||!r.length){return null}}const e={resources:r,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===true,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==false};return e}const it=Object.create(null);const ot=["https://api.simplesvg.com","https://api.unisvg.com"];const at=[];while(ot.length>0){if(ot.length===1){at.push(ot.shift())}else{if(Math.random()>.5){at.push(ot.shift())}else{at.push(ot.pop())}}}it[""]=et({resources:["https://api.iconify.design"].concat(at)});function nt(t,r){const e=et(r);if(e===null){return false}it[t]=e;return true}function st(t){return it[t]}function lt(){return Object.keys(it)}function ct(){}const dt=Object.create(null);function gt(t){if(!dt[t]){const r=st(t);if(!r){return}const e=rt(r);const i={config:r,redundancy:e};dt[t]=i}return dt[t]}function ft(t,r,e){let i;let o;if(typeof t==="string"){const r=X(t);if(!r){e(void 0,424);return ct}o=r.send;const a=gt(t);if(a){i=a.redundancy}}else{const r=et(t);if(r){i=rt(r);const e=t.resources?t.resources[0]:"";const a=X(e);if(a){o=a.send}}}if(!i||!o){e(void 0,424);return ct}return i.query(r,o,e)().abort}const ut="iconify2";const bt="iconify";const vt=bt+"-count";const pt=bt+"-version";const ht=36e5;const mt=168;const kt=50;function wt(t,r){try{return t.getItem(r)}catch(t){}}function yt(t,r,e){try{t.setItem(r,e);return true}catch(t){}}function xt(t,r){try{t.removeItem(r)}catch(t){}}function zt(t,r){return yt(t,vt,r.toString())}function jt(t){return parseInt(wt(t,vt))||0}const Ot={local:true,session:true};const At={local:new Set,session:new Set};let It=false;function Tt(t){It=t}let Mt=typeof window==="undefined"?{}:window;function St(t){const r=t+"Storage";try{if(Mt&&Mt[r]&&typeof Mt[r].length==="number"){return Mt[r]}}catch(t){}Ot[t]=false}function Ct(t,r){const e=St(t);if(!e){return}const i=wt(e,pt);if(i!==ut){if(i){const t=jt(e);for(let r=0;r<t;r++){xt(e,bt+r.toString())}}yt(e,pt,ut);zt(e,0);return}const o=Math.floor(Date.now()/ht)-mt;const a=t=>{const i=bt+t.toString();const a=wt(e,i);if(typeof a!=="string"){return}try{const e=JSON.parse(a);if(typeof e==="object"&&typeof e.cached==="number"&&e.cached>o&&typeof e.provider==="string"&&typeof e.data==="object"&&typeof e.data.prefix==="string"&&r(e,t)){return true}}catch(t){}xt(e,i)};let n=jt(e);for(let r=n-1;r>=0;r--){if(!a(r)){if(r===n-1){n--;zt(e,n)}else{At[t].add(r)}}}}function _t(){if(It){return}Tt(true);for(const t in Ot){Ct(t,(t=>{const r=t.data;const e=t.provider;const i=r.prefix;const o=P(e,i);if(!N(o,r).length){return false}const a=r.lastModified||-1;o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,a):a;return true}))}}function Pt(t,r){const e=t.lastModifiedCached;if(e&&e>=r){return e===r}t.lastModifiedCached=r;if(e){for(const e in Ot){Ct(e,(e=>{const i=e.data;return e.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===r}))}}return true}function Nt(t,r){if(!It){_t()}function e(e){let i;if(!Ot[e]||!(i=St(e))){return}const o=At[e];let a;if(o.size){o.delete(a=Array.from(o).shift())}else{a=jt(i);if(a>=kt||!zt(i,a+1)){return}}const n={cached:Math.floor(Date.now()/ht),provider:t.provider,data:r};return yt(i,bt+a.toString(),JSON.stringify(n))}if(r.lastModified&&!Pt(t,r.lastModified)){return}if(!Object.keys(r.icons).length){return}if(r.not_found){r=Object.assign({},r);delete r.not_found}if(!e("local")){e("session")}}function Lt(){}function Rt(t){if(!t.iconsLoaderFlag){t.iconsLoaderFlag=true;setTimeout((()=>{t.iconsLoaderFlag=false;Q(t)}))}}function Ft(t,r){if(!t.iconsToLoad){t.iconsToLoad=r}else{t.iconsToLoad=t.iconsToLoad.concat(r).sort()}if(!t.iconsQueueFlag){t.iconsQueueFlag=true;setTimeout((()=>{t.iconsQueueFlag=false;const{provider:r,prefix:e}=t;const i=t.iconsToLoad;delete t.iconsToLoad;let o;if(!i||!(o=X(r))){return}const a=o.prepare(r,e,i);a.forEach((e=>{ft(r,e,(r=>{if(typeof r!=="object"){e.icons.forEach((r=>{t.missing.add(r)}))}else{try{const e=N(t,r);if(!e.length){return}const i=t.pendingIcons;if(i){e.forEach((t=>{i.delete(t)}))}Nt(t,r)}catch(t){console.error(t)}}Rt(t)}))}))}))}}const Dt=(t,r)=>{const e=Y(t,true,D());const i=$(e);if(!i.pending.length){let t=true;if(r){setTimeout((()=>{if(t){r(i.loaded,i.missing,i.pending,Lt)}}))}return()=>{t=false}}const o=Object.create(null);const a=[];let n,s;i.pending.forEach((t=>{const{provider:r,prefix:e}=t;if(e===s&&r===n){return}n=r;s=e;a.push(P(r,e));const i=o[r]||(o[r]=Object.create(null));if(!i[e]){i[e]=[]}}));i.pending.forEach((t=>{const{provider:r,prefix:e,name:i}=t;const a=P(r,e);const n=a.pendingIcons||(a.pendingIcons=new Set);if(!n.has(i)){n.add(i);o[r][e].push(i)}}));a.forEach((t=>{const{provider:r,prefix:e}=t;if(o[r][e].length){Ft(t,o[r][e])}}));return r?G(r,i,a):Lt};const Jt=t=>new Promise(((r,e)=>{const i=typeof t==="string"?y(t,true):t;if(!i){e(t);return}Dt([i||t],(o=>{if(o.length&&i){const t=J(i);if(t){r({...d,...t});return}}e(t)}))}));function qt(t){try{const r=typeof t==="string"?JSON.parse(t):t;if(typeof r.body==="string"){return{...r}}}catch(t){}}function Bt(t,r){const e=typeof t==="string"?y(t,true,true):null;if(!e){const r=qt(t);return{value:t,data:r}}const i=J(e);if(i!==void 0||!e.prefix){return{value:t,name:e,data:i}}const o=Dt([e],(()=>r(t,e,J(e))));return{value:t,name:e,loading:o}}let Et=false;try{Et=navigator.vendor.indexOf("Apple")===0}catch(t){}function Ut(t,r){switch(r){case"svg":case"bg":case"mask":return r}if(r!=="style"&&(Et||t.indexOf("<a")===-1)){return"svg"}return t.indexOf("currentColor")===-1?"bg":"mask"}const $t=/(-?[0-9.]*[0-9]+[0-9.]*)/g;const Ht=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Qt(t,r,e){if(r===1){return t}e=e||100;if(typeof t==="number"){return Math.ceil(t*r*e)/e}if(typeof t!=="string"){return t}const i=t.split($t);if(i===null||!i.length){return t}const o=[];let a=i.shift();let n=Ht.test(a);while(true){if(n){const t=parseFloat(a);if(isNaN(t)){o.push(a)}else{o.push(Math.ceil(t*r*e)/e)}}else{o.push(a)}a=i.shift();if(a===void 0){return o.join("")}n=!n}}function Wt(t,r="defs"){let e="";const i=t.indexOf("<"+r);while(i>=0){const o=t.indexOf(">",i);const a=t.indexOf("</"+r);if(o===-1||a===-1){break}const n=t.indexOf(">",a);if(n===-1){break}e+=t.slice(o+1,a).trim();t=t.slice(0,i).trim()+t.slice(n+1)}return{defs:e,content:t}}function Gt(t,r){return t?"<defs>"+t+"</defs>"+r:r}function Vt(t,r,e){const i=Wt(t);return Gt(i.defs,r+i.content+e)}const Kt=t=>t==="unset"||t==="undefined"||t==="none";function Xt(t,r){const e={...d,...t};const i={...u,...r};const o={left:e.left,top:e.top,width:e.width,height:e.height};let a=e.body;[e,i].forEach((t=>{const r=[];const e=t.hFlip;const i=t.vFlip;let n=t.rotate;if(e){if(i){n+=2}else{r.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")");r.push("scale(-1 1)");o.top=o.left=0}}else if(i){r.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")");r.push("scale(1 -1)");o.top=o.left=0}let s;if(n<0){n-=Math.floor(n/4)*4}n=n%4;switch(n){case 1:s=o.height/2+o.top;r.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:r.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:s=o.width/2+o.left;r.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")");break}if(n%2===1){if(o.left!==o.top){s=o.left;o.left=o.top;o.top=s}if(o.width!==o.height){s=o.width;o.width=o.height;o.height=s}}if(r.length){a=Vt(a,'<g transform="'+r.join(" ")+'">',"</g>")}}));const n=i.width;const s=i.height;const l=o.width;const c=o.height;let g;let f;if(n===null){f=s===null?"1em":s==="auto"?c:s;g=Qt(f,l/c)}else{g=n==="auto"?l:n;f=s===null?Qt(g,c/l):s==="auto"?c:s}const b={};const v=(t,r)=>{if(!Kt(r)){b[t]=r.toString()}};v("width",g);v("height",f);const p=[o.left,o.top,l,c];b.viewBox=p.join(" ");return{attributes:b,viewBox:p,body:a}}function Yt(t,r){let e=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const t in r){e+=" "+t+'="'+r[t]+'"'}return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+t+"</svg>"}function Zt(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function tr(t){return"data:image/svg+xml,"+Zt(t)}function rr(t){return'url("'+tr(t)+'")'}const er=()=>{let t;try{t=fetch;if(typeof t==="function"){return t}}catch(t){}};let ir=er();function or(t){ir=t}function ar(){return ir}function nr(t,r){const e=st(t);if(!e){return 0}let i;if(!e.maxURL){i=0}else{let t=0;e.resources.forEach((r=>{const e=r;t=Math.max(t,e.length)}));const o=r+".json?icons=";i=e.maxURL-t-e.path.length-o.length}return i}function sr(t){return t===404}const lr=(t,r,e)=>{const i=[];const o=nr(t,r);const a="icons";let n={type:a,provider:t,prefix:r,icons:[]};let s=0;e.forEach(((e,l)=>{s+=e.length+1;if(s>=o&&l>0){i.push(n);n={type:a,provider:t,prefix:r,icons:[]};s=e.length}n.icons.push(e)}));i.push(n);return i};function cr(t){if(typeof t==="string"){const r=st(t);if(r){return r.path}}return"/"}const dr=(t,r,e)=>{if(!ir){e("abort",424);return}let i=cr(r.provider);switch(r.type){case"icons":{const t=r.prefix;const e=r.icons;const o=e.join(",");const a=new URLSearchParams({icons:o});i+=t+".json?"+a.toString();break}case"custom":{const t=r.uri;i+=t.slice(0,1)==="/"?t.slice(1):t;break}default:e("abort",400);return}let o=503;ir(t+i).then((t=>{const r=t.status;if(r!==200){setTimeout((()=>{e(sr(r)?"abort":"next",r)}));return}o=501;return t.json()})).then((t=>{if(typeof t!=="object"||t===null){setTimeout((()=>{if(t===404){e("abort",t)}else{e("next",o)}}));return}setTimeout((()=>{e("success",t)}))})).catch((()=>{e("next",o)}))};const gr={prepare:lr,send:dr};function fr(t,r){switch(t){case"local":case"session":Ot[t]=r;break;case"all":for(const t in Ot){Ot[t]=r}break}}const ur="data-style";let br="";function vr(t){br=t}function pr(t,r){let e=Array.from(t.childNodes).find((t=>t.hasAttribute&&t.hasAttribute(ur)));if(!e){e=document.createElement("style");e.setAttribute(ur,ur);t.appendChild(e)}e.textContent=":host{display:inline-block;vertical-align:"+(r?"-0.125em":"0")+"}span,svg{display:block}"+br}function hr(){K("",gr);D(true);let t;try{t=window}catch(t){}if(t){_t();if(t.IconifyPreload!==void 0){const r=t.IconifyPreload;const e="Invalid IconifyPreload syntax.";if(typeof r==="object"&&r!==null){(r instanceof Array?r:[r]).forEach((t=>{try{if(typeof t!=="object"||t===null||t instanceof Array||typeof t.icons!=="object"||typeof t.prefix!=="string"||!B(t)){console.error(e)}}catch(t){console.error(e)}}))}}if(t.IconifyProviders!==void 0){const r=t.IconifyProviders;if(typeof r==="object"&&r!==null){for(const t in r){const e="IconifyProviders["+t+"] is invalid.";try{const i=r[t];if(typeof i!=="object"||!i||i.resources===void 0){continue}if(!nt(t,i)){console.error(e)}}catch(t){console.error(e)}}}}}const r={getAPIConfig:st,setAPIModule:K,sendAPIQuery:ft,setFetch:or,getFetch:ar,listAPIProviders:lt};return{enableCache:t=>fr(t,true),disableCache:t=>fr(t,false),iconLoaded:E,iconExists:E,getIcon:U,listIcons:R,addIcon:q,addCollection:B,calculateSize:Qt,buildIcon:Xt,iconToHTML:Yt,svgToURL:rr,loadIcons:Dt,loadIcon:Jt,addAPIProvider:nt,appendCustomStyle:vr,_api:r}}const mr={"background-color":"currentColor"};const kr={"background-color":"transparent"};const wr={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"};const yr={"-webkit-mask":mr,mask:mr,background:kr};for(const t in yr){const r=yr[t];for(const e in wr){r[t+"-"+e]=wr[e]}}function xr(t){return t?t+(t.match(/^[-0-9.]+$/)?"px":""):"inherit"}function zr(t,r,e){const i=document.createElement("span");let o=t.body;if(o.indexOf("<a")!==-1){o+="\x3c!-- "+Date.now()+" --\x3e"}const a=t.attributes;const n=Yt(o,{...a,width:r.width+"",height:r.height+""});const s=rr(n);const l=i.style;const c={"--svg":s,width:xr(a.width),height:xr(a.height),...e?mr:kr};for(const t in c){l.setProperty(t,c[t])}return i}let jr;function Or(){try{jr=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch(t){jr=null}}function Ar(t){if(jr===void 0){Or()}return jr?jr.createHTML(t):t}function Ir(t){const r=document.createElement("span");const e=t.attributes;let i="";if(!e.width){i="width: inherit;"}if(!e.height){i+="height: inherit;"}if(i){e.style=i}const o=Yt(t.body,e);r.innerHTML=Ar(o);return r.firstChild}function Tr(t){return Array.from(t.childNodes).find((t=>{const r=t.tagName&&t.tagName.toUpperCase();return r==="SPAN"||r==="SVG"}))}function Mr(t,r){const e=r.icon.data;const i=r.customisations;const o=Xt(e,i);if(i.preserveAspectRatio){o.attributes["preserveAspectRatio"]=i.preserveAspectRatio}const a=r.renderedMode;let n;switch(a){case"svg":n=Ir(o);break;default:n=zr(o,{...d,...e},a==="mask")}const s=Tr(t);if(s){if(n.tagName==="SPAN"&&s.tagName===n.tagName){s.setAttribute("style",n.getAttribute("style"))}else{t.replaceChild(n,s)}}else{t.appendChild(n)}}function Sr(t,r,e){const i=e&&(e.rendered?e:e.lastRender);return{rendered:false,inline:r,icon:t,lastRender:i}}function Cr(t="iconify-icon"){let r;let e;try{r=window.customElements;e=window.HTMLElement}catch(t){return}if(!r||!e){return}const i=r.get(t);if(i){return i}const o=["icon","mode","inline","noobserver","width","height","rotate","flip"];const a=class extends e{_shadowRoot;_initialised=false;_state;_checkQueued=false;_connected=false;_observer=null;_visible=true;constructor(){super();const t=this._shadowRoot=this.attachShadow({mode:"open"});const r=this.hasAttribute("inline");pr(t,r);this._state=Sr({value:""},r);this._queueCheck()}connectedCallback(){this._connected=true;this.startObserver()}disconnectedCallback(){this._connected=false;this.stopObserver()}static get observedAttributes(){return o.slice(0)}attributeChangedCallback(t){switch(t){case"inline":{const t=this.hasAttribute("inline");const r=this._state;if(t!==r.inline){r.inline=t;pr(this._shadowRoot,t)}break}case"noobserver":{const t=this.hasAttribute("noobserver");if(t){this.startObserver()}else{this.stopObserver()}break}default:this._queueCheck()}}get icon(){const t=this.getAttribute("icon");if(t&&t.slice(0,1)==="{"){try{return JSON.parse(t)}catch(t){}}return t}set icon(t){if(typeof t==="object"){t=JSON.stringify(t)}this.setAttribute("icon",t)}get inline(){return this.hasAttribute("inline")}set inline(t){if(t){this.setAttribute("inline","true")}else{this.removeAttribute("inline")}}get observer(){return this.hasAttribute("observer")}set observer(t){if(t){this.setAttribute("observer","true")}else{this.removeAttribute("observer")}}restartAnimation(){const t=this._state;if(t.rendered){const r=this._shadowRoot;if(t.renderedMode==="svg"){try{r.lastChild.setCurrentTime(0);return}catch(t){}}Mr(r,t)}}get status(){const t=this._state;return t.rendered?"rendered":t.icon.data===null?"failed":"loading"}_queueCheck(){if(!this._checkQueued){this._checkQueued=true;setTimeout((()=>{this._check()}))}}_check(){if(!this._checkQueued){return}this._checkQueued=false;const t=this._state;const r=this.getAttribute("icon");if(r!==t.icon.value){this._iconChanged(r);return}if(!t.rendered||!this._visible){return}const e=this.getAttribute("mode");const i=m(this);if(t.attrMode!==e||k(t.customisations,i)||!Tr(this._shadowRoot)){this._renderIcon(t.icon,i,e)}}_iconChanged(t){const r=Bt(t,((t,r,e)=>{const i=this._state;if(i.rendered||this.getAttribute("icon")!==t){return}const o={value:t,name:r,data:e};if(o.data){this._gotIconData(o)}else{i.icon=o}}));if(r.data){this._gotIconData(r)}else{this._state=Sr(r,this._state.inline,this._state)}}_forceRender(){if(!this._visible){const t=Tr(this._shadowRoot);if(t){this._shadowRoot.removeChild(t)}return}this._queueCheck()}_gotIconData(t){this._checkQueued=false;this._renderIcon(t,m(this),this.getAttribute("mode"))}_renderIcon(t,r,e){const i=Ut(t.data.body,e);const o=this._state.inline;Mr(this._shadowRoot,this._state={rendered:true,icon:t,inline:o,customisations:r,attrMode:e,renderedMode:i})}startObserver(){if(!this._observer&&!this.hasAttribute("noobserver")){try{this._observer=new IntersectionObserver((t=>{const r=t.some((t=>t.isIntersecting));if(r!==this._visible){this._visible=r;this._forceRender()}}));this._observer.observe(this)}catch(t){if(this._observer){try{this._observer.disconnect()}catch(t){}this._observer=null}}}}stopObserver(){if(this._observer){this._observer.disconnect();this._observer=null;this._visible=true;if(this._connected){this._forceRender()}}}};o.forEach((t=>{if(!(t in a.prototype)){Object.defineProperty(a.prototype,t,{get:function(){return this.getAttribute(t)},set:function(r){if(r!==null){this.setAttribute(t,r)}else{this.removeAttribute(t)}}})}}));const n=hr();for(const t in n){a[t]=a.prototype[t]=n[t]}r.define(t,a);return a}Cr()||hr();const _r="*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}html{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a{background-color:transparent}strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}[hidden]{display:none}.d-flex{display:-ms-flexbox !important;display:flex !important}.align-items-center{-ms-flex-align:center !important;align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter) * 0.5);padding-right:calc(var(--grid-gutter) * 0.5);width:100%}.col{-ms-flex:1 0 0%;flex:1 0 0%;min-width:8.3333333333%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.container{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:calc(var(--grid-gutter) * -0.5);margin-right:calc(var(--grid-gutter) * -0.5)}@media (min-width: 576px){.container{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}}@media (min-width: 992px){.container{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}}@media (min-width: 1600px){.container{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mr-2{margin-right:var(--spacing-scale-base) !important}.mr-n2{margin-right:calc(var(--spacing-scale-base) * -1) !important}.mb-3{margin-bottom:var(--spacing-scale-2x) !important}.mr-auto{margin-right:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}.py-3{padding-bottom:var(--spacing-scale-2x) !important;padding-top:var(--spacing-scale-2x) !important}.py-4{padding-bottom:var(--spacing-scale-3x) !important;padding-top:var(--spacing-scale-3x) !important}body{--bg-color:var(--background);--bg-color-rgb:var(--background-rgb);--bg-color-hsl:var(--background-hsl);--font-size:var(--font-size-scale-base);--font-weight:var(--font-weight-regular);--link-color:var(--interactive);--link-color-rgb:var(--interactive-rgb);--link-color-hsl:var(--interactive-hsl);--line-height:var(--font-line-height-medium);--text-color:var(--color);--text-color-rgb:var(--color-rgb);--text-color-hsl:var(--color-hsl);background:var(--bg-color);color:var(--text-color);font-family:var(--font-family-base);font-size:var(--font-size);font-weight:var(--font-weight);line-height:var(--line-height)}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half);color:var(--interactive);text-decoration:none}a:focus{outline:none}a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--hover))), to(rgba(var(--interactive-rgb), var(--hover))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(var(--interactive-rgb), var(--pressed))), to(rgba(var(--interactive-rgb), var(--pressed))));background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}button{cursor:pointer}img{max-width:100%;vertical-align:middle}ul{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}::-moz-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::-webkit-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}:-ms-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::-ms-input-placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}.text-pure-0{color:var(--pure-0) !important}.text-primary-default{color:var(--color-primary-default) !important}.bg-support-01{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark);background:var(--color-support-01) !important}.text-nowrap{white-space:nowrap !important}.text-base{font-size:var(--font-size-scale-base) !important}.highlight{background:var(--status-highlight-background) -webkit-gradient(linear, left top, left bottom, from(var(--status-highlight-overlay)), to(var(--status-highlight-overlay)));background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{-webkit-box-shadow:var(--surface-shadow-sm);box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}:host{margin:var(--spacing-scale-base)}";const Pr=_r;const Nr=class{constructor(r){t(this,r);this.inheritedAttributes={};this.iconName=undefined;this.height="16";this.width="24";this.cssClasses=undefined;this.isInline=false;this.rotate=undefined;this.flip=undefined}componentWillLoad(){this.inheritedAttributes=o(this.el)}render(){return r(e,{key:"4e061bbb7aabb1fa8820a44cfa570e3372ec6d1b"},r("iconify-icon",Object.assign({key:"14ea56661308b88bbc72c280facae0963b18cd30",flip:this.flip,width:this.width,class:this.cssClasses,icon:this.iconName,inline:this.isInline,height:this.height,rotate:this.rotate},this.inheritedAttributes)))}get el(){return i(this)}};Nr.style=Pr;export{s as br_button,Nr as br_icon};
|
|
17
|
+
//# sourceMappingURL=p-e6d921ef.entry.js.map
|