@tdesign/site-components 0.17.1 → 0.17.2

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/lib/site.umd.js CHANGED
@@ -1,12 +1,12 @@
1
- (function(Be,Ve){typeof exports=="object"&&typeof module<"u"?Ve(exports):typeof define=="function"&&define.amd?define(["exports"],Ve):(Be=typeof globalThis<"u"?globalThis:Be||self,Ve(Be["td-site"]={}))})(this,function(Be){"use strict";const Ve=new Map;function rt(e){let t=Ve.get(e);return t===void 0&&(t=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Ve.set(e,t)),t}function ye(e,t,n={}){return e.dispatchEvent(new globalThis.CustomEvent(t,{bubbles:!1,...n}))}function xt(e){return`<${String(e.tagName).toLowerCase()}>`}function At(e,t){e.nodeType===globalThis.Node.ELEMENT_NODE&&(t(e),e.shadowRoot&&At(e.shadowRoot,t));const n=globalThis.document.createTreeWalker(e,globalThis.NodeFilter.SHOW_ELEMENT,null,!1);for(;n.nextNode();){const o=n.currentNode;t(o),o.shadowRoot&&At(o.shadowRoot,t)}}const Gt=Promise.resolve(),$r=new WeakMap,Ut=At.name==="walkInShadow",it=new Set;function Jn(e){it.size||Gt.then(ti),it.add(e)}function ei(e){it.delete(e)}function ti(){for(const e of it)try{e()}catch(t){console.error(t)}it.clear()}const Dt=new WeakMap,at=new Set;function Wn(e){const t=new Set,n=t.values();for(;e;){if(e.resolved=!1,e.deps){for(const o of e.deps)o.contexts.delete(e);e.deps.clear()}if(e.contexts)for(const o of e.contexts)at.has(o)||(t.add(o),e.contexts.delete(o));e.observe&&Jn(e.observe),e=n.next().value}}function Tt(e,t){let n=Dt.get(e);n||(n=new Map,Dt.set(e,n));let o=n.get(t);return o||(o={key:t,target:e,value:void 0,lastValue:void 0,resolved:!1,contexts:void 0,deps:void 0,observe:void 0},n.set(t,o)),o}let xe=null;function _n(e,t,n){const o=Tt(e,t);if(xe&&(o.contexts||(o.contexts=new Set),xe.deps||(xe.deps=new Set),o.contexts.add(xe),xe.deps.add(o)),o.resolved)return o.value;const r=xe;try{if(at.has(o))throw Error(`Circular get invocation is forbidden: '${t}'`);xe=o,at.add(o),o.value=n(e,o.value),o.resolved=!0,xe=r,at.delete(o)}catch(i){throw xe=r,at.delete(o),xe&&(xe.deps.delete(o),o.contexts.delete(xe)),i}return o.value}function ni(e,t,n,o){const r=Tt(e,t),i=n(e,o,r.value);i!==r.value&&(r.value=i,Wn(r))}function oi(e,t,n,o){const r=Tt(e,t);r.observe=()=>{const i=_n(e,t,n);i!==r.lastValue&&(o(e,i,r.lastValue),r.lastValue=i)};try{r.observe()}catch(i){console.error(i)}return()=>{ei(r.observe),r.observe=void 0,r.lastValue=void 0}}const Ht=new Set;function ri(e){Ht.size||setTimeout(()=>{for(const t of Ht)if(!t.contexts||t.contexts.size===0){if(t.deps)for(const o of t.deps)o.contexts.delete(t);Dt.get(t.target).delete(t.key)}Ht.clear()}),Ht.add(e)}function $n(e,t){Wn(e),t.clearValue&&(e.value=void 0,e.lastValue=void 0),t.deleteEntry&&ri(e)}function eo(e,t,n={}){const o=Tt(e,t);$n(o,n)}function ii(e,t={}){const n=Dt.get(e);if(n)for(const o of n.values())$n(o,t)}function to(e,t){return{get:t?n=>{const o=e(n),r=n.shadowRoot||n.attachShadow({mode:"open",delegatesFocus:e.delegatesFocus||!1});return()=>(o(n,r),r)}:n=>{const o=e(n);return()=>(o(n,n),n)},observe(n,o){o()}}}const no={string:(e,t,n)=>{const o=t?String(t):"";return o?e.setAttribute(n,o):e.removeAttribute(n),o},number:(e,t,n)=>{const o=Number(t);return e.setAttribute(n,o),o},boolean:(e,t,n)=>{const o=!!t;return o?e.setAttribute(n,""):e.removeAttribute(n),o},undefined:(e,t,n)=>{const o=typeof t,r=o!=="undefined"&&no[o];return r?r(e,t,n):(e.hasAttribute(n)&&e.removeAttribute(n),t)}},ai={string:(e,t)=>e.getAttribute(t),number:(e,t)=>Number(e.getAttribute(t))||0,boolean:(e,t)=>e.hasAttribute(t),undefined:(e,t)=>e.getAttribute(t)};function si(e,t){const n=typeof t.value,o=no[n],r=ai[n];if(!o)throw TypeError(`Invalid default value for '${e}' property - it must be a string, number, boolean or undefined: ${n}`);const i=rt(e);return{get:(a,s)=>s===void 0?r(a,i)||t.value:s,set:(a,s)=>o(a,s,i),connect:n!=="undefined"?(a,s,c)=>(!a.hasAttribute(i)&&a[s]===t.value&&(a[s]=o(a,t.value,i)),t.connect&&t.connect(a,s,c)):t.connect,observe:t.observe}}const st=new WeakMap,Pt=new WeakMap;function Kt(e,t){if(t){const i=st.get(t);if(e===i)return t;for(const a of Object.keys(i))a!=="tag"&&delete t.prototype[a]}else t=class extends globalThis.HTMLElement{connectedCallback(){for(const a of t.settable){if(!hasOwnProperty.call(this,a))continue;const s=this[a];delete this[a],this[a]=s}const i=new Set;Pt.set(this,i),Jn(()=>{if(i===Pt.get(this)){for(const a of t.connects)i.add(a(this));for(const a of t.observers)i.add(a(this))}})}disconnectedCallback(){const i=Pt.get(this);for(const a of i)a&&a();Pt.delete(this),ii(this)}};st.set(t,Object.freeze(e));const n=new Set,o=new Set,r=new Set;for(const i of Object.keys(e)){if(i==="tag")continue;let a=e[i];const s=typeof a;if(s==="function")i==="render"?a=to(a,!0):i==="content"?a=to(a):a={get:a};else if(s!=="object"||a===null)a={value:a};else if(a.set){if(hasOwnProperty.call(a,"value"))throw TypeError(`Invalid property descriptor for '${i}' property - it must not have 'value' and 'set' properties at the same time.`);const c=rt(i),h=a.get||((g,f)=>f);a.get=(g,f)=>(f===void 0&&(f=a.set(g,g.getAttribute(c)||f)),h(g,f))}if(hasOwnProperty.call(a,"value"))a=si(i,a);else if(!a.get)throw TypeError(`Invalid descriptor for '${i}' property - it must contain 'value' or 'get' option`);a.set&&r.add(i),Object.defineProperty(t.prototype,i,{get:function(){return _n(this,i,a.get)},set:a.set&&function(h){ni(this,i,a.set,h)},enumerable:!0,configurable:!0}),a.connect&&n.add(c=>a.connect(c,i,()=>{eo(c,i)})),a.observe&&o.add(c=>oi(c,i,a.get,a.observe))}return t.connects=n,t.observers=o,t.settable=r,t}const lt=new Map;function li(e){lt.size||Gt.then(()=>{At(globalThis.document.body,t=>{if(lt.has(t.constructor)){const n=lt.get(t.constructor),o=st.get(t.constructor);t.disconnectedCallback();for(const r of Object.keys(o)){const i=typeof o[r],a=i!=="object"&&i!=="function"&&o[r]!==n[r];a&&t.removeAttribute(rt(r)),eo(t,r,{clearValue:a})}t.connectedCallback()}}),lt.clear()}),lt.set(e,st.get(e))}function oo(e){if(!e.tag)throw TypeError("Error while defining hybrids: 'tag' property with dashed tag name is required");const t=globalThis.customElements.get(e.tag);if(t){if(st.get(t))return li(t),Kt(e,t),e;throw TypeError(`Custom element with '${e.tag}' tag name already defined outside of the hybrids context`)}return globalThis.customElements.define(e.tag,Kt(e)),e}function ci(e,{root:t="",prefix:n}={}){for(const o of Object.keys(e)){const r=e[o];if(!r.tag){const i=rt([].concat(t).reduce((a,s)=>a.replace(s,""),o).replace(/^[./]+/,"").replace(/\//g,"-").replace(/\.[a-zA-Z]+$/,""));r.tag=n?`${n}-${i}`:i}oo(r)}return e}const ie=Object.freeze(Object.assign(oo,{compile:e=>Kt(e),from:ci})),ct=new WeakMap;function je(e){let t=ct.get(e);return t||(ct.set(e,t={}),t)}function Bt(e){let t;for(;e&&(t=je(e))&&t.endNode;)e=t.endNode;return e}function dt(e){if(e.nodeType===globalThis.Node.TEXT_NODE){const t=ct.get(e);if(t&&t.startNode){const n=Bt(t.endNode);let o=t.startNode;const r=n.nextSibling;for(;o;){const i=o.nextSibling;o.parentNode.removeChild(o),o=i!==r&&i}ct.set(e,{})}}else{let t=e.childNodes[0];for(;t;)e.removeChild(t),t=e.childNodes[0];ct.set(e,{})}}const di=Date.now(),Ne=(e=0)=>`H-${di}-${e}`,Vt=!!(globalThis.document&&globalThis.document.adoptedStyleSheets),Zt=/^\d+$/,ui={block:(e,t)=>({display:"block","text-align":t}),inline:({display:e})=>({display:`inline${e?`-${e}`:""}`}),contents:{display:"contents"},hidden:{display:"none"},...["row","row-reverse","column","column-reverse"].reduce((e,t)=>(e[t]=(n,o="nowrap")=>({display:"flex","flex-flow":`${t} ${o}`}),e),{}),grow:(e,t=1)=>({"flex-grow":t}),shrink:(e,t=1)=>({"flex-shrink":t}),basis:(e,t)=>({"flex-basis":le(t)}),order:(e,t=0)=>({order:t}),grid:(e,t="1",n="",o="",r="")=>({display:"grid",...["columns","rows"].reduce((i,a)=>{const s=a==="columns"?t:n;return i[`grid-template-${a}`]=s&&s.split("|").map(c=>c.match(Zt)?`repeat(${c}, minmax(0, 1fr))`:le(c)).join(" "),i},{}),"grid-auto-flow":`${o} ${r&&"dense"}`}),area:(e,t="",n="")=>({"grid-column":t.match(Zt)?`span ${t}`:t,"grid-row":n.match(Zt)?`span ${n}`:n}),gap:(e,t=1,n="")=>({"column-gap":le(t),"row-gap":le(n||t)}),items:(e,t="start",n="")=>({"place-items":`${t} ${n}`}),content:(e,t="start",n="")=>({"place-content":`${t} ${n}`}),self:(e,t="start",n="")=>({"place-self":`${t} ${n}`}),center:{"place-items":"center","place-content":"center"},size:(e,t,n=t)=>({width:le(t),height:le(n),"box-sizing":"border-box"}),width:(e,t,n,o)=>({width:le(t),"min-width":le(n),"max-width":le(o),"box-sizing":"border-box"}),height:(e,t,n,o)=>({height:le(t),"min-height":le(n),"max-height":le(o),"box-sizing":"border-box"}),ratio:(e,t)=>({"aspect-ratio":t}),overflow:(e,t="hidden",n="")=>{const o=n?`-${t}`:"",r=n||t;return{[`overflow${o}`]:r,...r==="scroll"?{"flex-grow":e["flex-grow"]||1,"flex-basis":0,"overscroll-behavior":"contain","--webkit-overflow-scrolling":"touch"}:{}}},margin:(e,t="1",n,o,r)=>t.match(/top|bottom|left|right/)?{[`margin-${t}`]:le(n||"1")}:{margin:`${le(t)} ${le(n)} ${le(o)} ${le(r)}`},padding:(e,t="1",n,o,r)=>t.match(/top|bottom|left|right/)?{[`padding-${t}`]:le(n||"1")}:{padding:`${le(t)} ${le(n)} ${le(o)} ${le(r)}`},absolute:{position:"absolute"},relative:{position:"relative"},fixed:{position:"fixed"},sticky:{position:"sticky"},static:{position:"static"},inset:(e,t=0)=>{const n=le(t);return{top:n,right:n,bottom:n,left:n}},top:(e,t=0)=>({top:le(t)}),bottom:(e,t=0)=>({bottom:le(t)}),left:(e,t=0)=>({left:le(t)}),right:(e,t=0)=>({right:le(t)}),layer:(e,t=1)=>({"z-index":t}),"":(e,t,...n)=>{if(n.length<2)throw new Error("Generic rule '::' requires at least two arguments, eg.: ::[property]:[name]");return{[n[n.length-2]]:`var(--${n.join("-")})`}},view:(e,t)=>({"view-transition-name":t})},fi={min:"min-content",max:"max-content",fit:"fit-content",full:"100%"},gi={portrait:"orientation: portrait",landscape:"orientation: landscape"};function le(e){return e=fi[e]||e,/^-?\d+(\.\d+)*$/.test(String(e))?`${e*8}px`:e||""}let Ze;function ro(){if(Ze)return Ze;if(Vt)Ze=new globalThis.CSSStyleSheet;else{const e=globalThis.document.createElement("style");e.appendChild(globalThis.document.createTextNode("")),globalThis.document.head.appendChild(e),Ze=e.sheet}return Ze.insertRule(":host([hidden]) { display: none; }"),Ze}const io=new WeakMap;let Yt=new WeakSet;function hi(e){const t=e.getRootNode();if(Yt.has(t))return;const n=ro();if(Vt)t.adoptedStyleSheets=[...t.adoptedStyleSheets,n];else{if(t===globalThis.document)return;let o=io.get(t);o||(o=globalThis.document.createElement("style"),t.appendChild(o),io.set(t,o));let r="";for(let i=0;i<n.cssRules.length;i++)r+=n.cssRules[i].cssText;o.textContent=r}Yt.add(t)}const ao=new Map;function so(e,t,n,o){let r=ao.get(e);r||(r=`l-${Math.random().toString(36).substr(2,5)}`,ao.set(e,r)),Vt||(Yt=new WeakSet);const i=ro(),[a,s=""]=t.split("@"),c=Object.entries(n.replace(/\s+/g," ").trim().split(" ").reduce((g,f)=>{const[C,...w]=f.split(":"),u=ui[C];if(!u)throw TypeError(`Unsupported layout rule: '${C}'`);return Object.assign(g,typeof u=="function"?u(g,...w.map(l=>l.match(/--.*/)?`var(${l})`:l)):u)},{})).reduce((g,[f,C])=>C!==void 0&&C!==""?g+`${f}: ${C};`:g,""),h=s.split(":").reduce((g,f)=>f===""?g:g+` and (${gi[f]||`min-width: ${f}`})`,"@media screen");if(o){const g=`:host(.${r}-s${a})`,f=`:where(.${r}-c${a})`;[g,f].forEach(C=>{i.insertRule(s?`${h} { ${C} { ${c} } }`:`${C} { ${c} }`,i.cssRules.length-1)})}else{const g=`.${r}${a}`;i.insertRule(s?`${h} { ${g} { ${c} } }`:`${g} { ${c} }`,i.cssRules.length-1)}return r}const Jt=new WeakMap;function pi(e,t){const n=je(e),o=n.startNode,r=Bt(n.endNode);t.parentNode.insertBefore(e,t.nextSibling);let i=e,a=o;for(;a;){const s=a.nextSibling;i.parentNode.insertBefore(a,i.nextSibling),i=a,a=s!==r.nextSibling&&s}}function vi(e,t,n,o,r){let i=Jt.get(t);const a=n.map((g,f)=>({id:hasOwnProperty.call(g,"id")?g.id:f,value:g,placeholder:null,available:!0}));if(Jt.set(t,a),i){const g=new Set;for(const f of a)g.add(f.id);i=i.filter(f=>g.has(f.id)?!0:(dt(f.placeholder),f.placeholder.parentNode.removeChild(f.placeholder),!1))}let s=t;const c=n.length-1,h=je(t);for(let g=0;g<a.length;g+=1){const f=a[g];let C;if(i){for(let w=0;w<i.length;w+=1)if(i[w].available&&i[w].id===f.id){C=i[w];break}}C?(C.available=!1,f.placeholder=C.placeholder,f.placeholder.previousSibling!==s&&pi(f.placeholder,s),C.value!==f.value&&o(e,f.placeholder,f.value,C.value,r)):(f.placeholder=globalThis.document.createTextNode(""),s.parentNode.insertBefore(f.placeholder,s.nextSibling),o(e,f.placeholder,f.value,void 0,r)),s=Bt(je(f.placeholder).endNode||f.placeholder),g===0&&(h.startNode=f.placeholder),g===c&&(h.endNode=s)}if(i)for(const g of i)g.available&&(dt(g.placeholder),g.placeholder.parentNode.removeChild(g.placeholder))}function mi(e,t,n){dt(t);const o=je(t);o.startNode=o.endNode=n,t.parentNode.insertBefore(n,t.nextSibling)}function lo(e){const t=typeof e;if(t==="object"){if(Array.isArray(e))return"array";if(e instanceof globalThis.Node)return"node"}return t}function ut(e,t,n,o,r){const i=lo(n),a=lo(o);switch(a!=="undefined"&&i!==a&&(i!=="function"&&dt(t),a==="array"?Jt.delete(t):a!=="node"&&a!=="function"&&(t.textContent="")),i){case"array":vi(e,t,n,ut,r);break;case"node":mi(e,t,n);break;case"function":r&&(n.useLayout=!0),n(e,t);break;default:t.textContent=i==="number"||n?n:""}}const Wt=new WeakMap;function bi(e){return(t,n,o,r)=>{if(r){const i=Wt.get(n);n.removeEventListener(e,i.get(r),r.options!==void 0?r.options:!1)}if(o){if(typeof o!="function")throw Error(`Event listener must be a function: ${typeof o}`);let i=Wt.get(n);i||(i=new WeakMap,Wt.set(n,i));const a=o.bind(null,t);i.set(o,a),n.addEventListener(e,a,o.options!==void 0?o.options:!1)}}}function Ci(e,t=new Set){if(Array.isArray(e))for(const n of e)n&&t.add(n);else if(e!==null&&typeof e=="object")for(const[n,o]of Object.entries(e))n&&o&&t.add(n);else e&&t.add(e);return t}const co=new WeakMap;function wi(e,t,n){const o=co.get(t)||new Set,r=Ci(n);co.set(t,r);for(const i of r)t.classList.add(i),o.delete(i);for(const i of o)t.classList.remove(i)}const uo=new WeakMap;function yi(e,t,n){if(n===null||typeof n!="object")throw TypeError(`Style value must be an object in ${xt(t)}:`,n);const o=uo.get(t)||new Map,r=new Map;for(const i of Object.keys(n)){const a=rt(i),s=n[i];!s&&s!==0?t.style.removeProperty(a):t.style.setProperty(a,s),r.set(a,s),o.delete(a)}for(const i of o.keys())t.style[i]="";uo.set(t,r)}function xi(e,t,n){if(t.substr(0,2)==="on"){const o=t.substr(2);return bi(o)}switch(e){case"class":return wi;case"style":return yi;default:{let o=!1;return(r,i,a)=>{if(o=o||!(i instanceof globalThis.SVGElement)&&t in i,o)i[t]=a;else if(a===!1||a===void 0||a===null)i.removeAttribute(e);else{const s=a===!0?"":String(a);i.setAttribute(e,s)}}}}}const fo=Ne("(\\d+)"),ft=new RegExp(`^${fo}$`),Ye=new RegExp(fo,"g"),Ai=/^[^A-Za-z]+$/;function Di(e){let t=e[0],n=!1;for(let o=1;o<e.length;o+=1)n=n||e[o-1].match(/<\s*(table|tr|thead|tbody|tfoot|colgroup)([^<>]|"[^"]*"|'[^']*')*>\s*$/),t+=(n?`<!--${Ne(o-1)}-->`:Ne(o-1))+e[o],n=n&&!e[o].match(/<\/\s*(table|tr|thead|tbody|tfoot|colgroup)\s*>/);return t}function Ti(e){return e.replace(/\s*=\s*['"]*$/g,"").split(/\s+/).pop()}function go(e){return globalThis.document.createTreeWalker(e,globalThis.NodeFilter.SHOW_ELEMENT|globalThis.NodeFilter.SHOW_TEXT|globalThis.NodeFilter.SHOW_COMMENT,null,!1)}function Hi(e,t=0){e=e.replace(/(^[\n\s\t ]+)|([\n\s\t ]+$)+/g,"");let n=e.indexOf(`
1
+ (function(Be,Ve){typeof exports=="object"&&typeof module<"u"?Ve(exports):typeof define=="function"&&define.amd?define(["exports"],Ve):(Be=typeof globalThis<"u"?globalThis:Be||self,Ve(Be["td-site"]={}))})(this,function(Be){"use strict";const Ve=new Map;function it(e){let t=Ve.get(e);return t===void 0&&(t=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Ve.set(e,t)),t}function ye(e,t,n={}){return e.dispatchEvent(new globalThis.CustomEvent(t,{bubbles:!1,...n}))}function At(e){return`<${String(e.tagName).toLowerCase()}>`}function Dt(e,t){e.nodeType===globalThis.Node.ELEMENT_NODE&&(t(e),e.shadowRoot&&Dt(e.shadowRoot,t));const n=globalThis.document.createTreeWalker(e,globalThis.NodeFilter.SHOW_ELEMENT,null,!1);for(;n.nextNode();){const o=n.currentNode;t(o),o.shadowRoot&&Dt(o.shadowRoot,t)}}const Gt=Promise.resolve(),$r=new WeakMap,Ut=Dt.name==="walkInShadow",at=new Set;function Jn(e){at.size||Gt.then(ti),at.add(e)}function ei(e){at.delete(e)}function ti(){for(const e of at)try{e()}catch(t){console.error(t)}at.clear()}const Tt=new WeakMap,st=new Set;function Wn(e){const t=new Set,n=t.values();for(;e;){if(e.resolved=!1,e.deps){for(const o of e.deps)o.contexts.delete(e);e.deps.clear()}if(e.contexts)for(const o of e.contexts)st.has(o)||(t.add(o),e.contexts.delete(o));e.observe&&Jn(e.observe),e=n.next().value}}function Ht(e,t){let n=Tt.get(e);n||(n=new Map,Tt.set(e,n));let o=n.get(t);return o||(o={key:t,target:e,value:void 0,lastValue:void 0,resolved:!1,contexts:void 0,deps:void 0,observe:void 0},n.set(t,o)),o}let xe=null;function _n(e,t,n){const o=Ht(e,t);if(xe&&(o.contexts||(o.contexts=new Set),xe.deps||(xe.deps=new Set),o.contexts.add(xe),xe.deps.add(o)),o.resolved)return o.value;const r=xe;try{if(st.has(o))throw Error(`Circular get invocation is forbidden: '${t}'`);xe=o,st.add(o),o.value=n(e,o.value),o.resolved=!0,xe=r,st.delete(o)}catch(i){throw xe=r,st.delete(o),xe&&(xe.deps.delete(o),o.contexts.delete(xe)),i}return o.value}function ni(e,t,n,o){const r=Ht(e,t),i=n(e,o,r.value);i!==r.value&&(r.value=i,Wn(r))}function oi(e,t,n,o){const r=Ht(e,t);r.observe=()=>{const i=_n(e,t,n);i!==r.lastValue&&(o(e,i,r.lastValue),r.lastValue=i)};try{r.observe()}catch(i){console.error(i)}return()=>{ei(r.observe),r.observe=void 0,r.lastValue=void 0}}const Pt=new Set;function ri(e){Pt.size||setTimeout(()=>{for(const t of Pt)if(!t.contexts||t.contexts.size===0){if(t.deps)for(const o of t.deps)o.contexts.delete(t);Tt.get(t.target).delete(t.key)}Pt.clear()}),Pt.add(e)}function $n(e,t){Wn(e),t.clearValue&&(e.value=void 0,e.lastValue=void 0),t.deleteEntry&&ri(e)}function eo(e,t,n={}){const o=Ht(e,t);$n(o,n)}function ii(e,t={}){const n=Tt.get(e);if(n)for(const o of n.values())$n(o,t)}function to(e,t){return{get:t?n=>{const o=e(n),r=n.shadowRoot||n.attachShadow({mode:"open",delegatesFocus:e.delegatesFocus||!1});return()=>(o(n,r),r)}:n=>{const o=e(n);return()=>(o(n,n),n)},observe(n,o){o()}}}const no={string:(e,t,n)=>{const o=t?String(t):"";return o?e.setAttribute(n,o):e.removeAttribute(n),o},number:(e,t,n)=>{const o=Number(t);return e.setAttribute(n,o),o},boolean:(e,t,n)=>{const o=!!t;return o?e.setAttribute(n,""):e.removeAttribute(n),o},undefined:(e,t,n)=>{const o=typeof t,r=o!=="undefined"&&no[o];return r?r(e,t,n):(e.hasAttribute(n)&&e.removeAttribute(n),t)}},ai={string:(e,t)=>e.getAttribute(t),number:(e,t)=>Number(e.getAttribute(t))||0,boolean:(e,t)=>e.hasAttribute(t),undefined:(e,t)=>e.getAttribute(t)};function si(e,t){const n=typeof t.value,o=no[n],r=ai[n];if(!o)throw TypeError(`Invalid default value for '${e}' property - it must be a string, number, boolean or undefined: ${n}`);const i=it(e);return{get:(a,s)=>s===void 0?r(a,i)||t.value:s,set:(a,s)=>o(a,s,i),connect:n!=="undefined"?(a,s,c)=>(!a.hasAttribute(i)&&a[s]===t.value&&(a[s]=o(a,t.value,i)),t.connect&&t.connect(a,s,c)):t.connect,observe:t.observe}}const lt=new WeakMap,Bt=new WeakMap;function Kt(e,t){if(t){const i=lt.get(t);if(e===i)return t;for(const a of Object.keys(i))a!=="tag"&&delete t.prototype[a]}else t=class extends globalThis.HTMLElement{connectedCallback(){for(const a of t.settable){if(!hasOwnProperty.call(this,a))continue;const s=this[a];delete this[a],this[a]=s}const i=new Set;Bt.set(this,i),Jn(()=>{if(i===Bt.get(this)){for(const a of t.connects)i.add(a(this));for(const a of t.observers)i.add(a(this))}})}disconnectedCallback(){const i=Bt.get(this);for(const a of i)a&&a();Bt.delete(this),ii(this)}};lt.set(t,Object.freeze(e));const n=new Set,o=new Set,r=new Set;for(const i of Object.keys(e)){if(i==="tag")continue;let a=e[i];const s=typeof a;if(s==="function")i==="render"?a=to(a,!0):i==="content"?a=to(a):a={get:a};else if(s!=="object"||a===null)a={value:a};else if(a.set){if(hasOwnProperty.call(a,"value"))throw TypeError(`Invalid property descriptor for '${i}' property - it must not have 'value' and 'set' properties at the same time.`);const c=it(i),h=a.get||((g,f)=>f);a.get=(g,f)=>(f===void 0&&(f=a.set(g,g.getAttribute(c)||f)),h(g,f))}if(hasOwnProperty.call(a,"value"))a=si(i,a);else if(!a.get)throw TypeError(`Invalid descriptor for '${i}' property - it must contain 'value' or 'get' option`);a.set&&r.add(i),Object.defineProperty(t.prototype,i,{get:function(){return _n(this,i,a.get)},set:a.set&&function(h){ni(this,i,a.set,h)},enumerable:!0,configurable:!0}),a.connect&&n.add(c=>a.connect(c,i,()=>{eo(c,i)})),a.observe&&o.add(c=>oi(c,i,a.get,a.observe))}return t.connects=n,t.observers=o,t.settable=r,t}const ct=new Map;function li(e){ct.size||Gt.then(()=>{Dt(globalThis.document.body,t=>{if(ct.has(t.constructor)){const n=ct.get(t.constructor),o=lt.get(t.constructor);t.disconnectedCallback();for(const r of Object.keys(o)){const i=typeof o[r],a=i!=="object"&&i!=="function"&&o[r]!==n[r];a&&t.removeAttribute(it(r)),eo(t,r,{clearValue:a})}t.connectedCallback()}}),ct.clear()}),ct.set(e,lt.get(e))}function oo(e){if(!e.tag)throw TypeError("Error while defining hybrids: 'tag' property with dashed tag name is required");const t=globalThis.customElements.get(e.tag);if(t){if(lt.get(t))return li(t),Kt(e,t),e;throw TypeError(`Custom element with '${e.tag}' tag name already defined outside of the hybrids context`)}return globalThis.customElements.define(e.tag,Kt(e)),e}function ci(e,{root:t="",prefix:n}={}){for(const o of Object.keys(e)){const r=e[o];if(!r.tag){const i=it([].concat(t).reduce((a,s)=>a.replace(s,""),o).replace(/^[./]+/,"").replace(/\//g,"-").replace(/\.[a-zA-Z]+$/,""));r.tag=n?`${n}-${i}`:i}oo(r)}return e}const ie=Object.freeze(Object.assign(oo,{compile:e=>Kt(e),from:ci})),dt=new WeakMap;function je(e){let t=dt.get(e);return t||(dt.set(e,t={}),t)}function Ot(e){let t;for(;e&&(t=je(e))&&t.endNode;)e=t.endNode;return e}function ut(e){if(e.nodeType===globalThis.Node.TEXT_NODE){const t=dt.get(e);if(t&&t.startNode){const n=Ot(t.endNode);let o=t.startNode;const r=n.nextSibling;for(;o;){const i=o.nextSibling;o.parentNode.removeChild(o),o=i!==r&&i}dt.set(e,{})}}else{let t=e.childNodes[0];for(;t;)e.removeChild(t),t=e.childNodes[0];dt.set(e,{})}}const di=Date.now(),Ne=(e=0)=>`H-${di}-${e}`,Vt=!!(globalThis.document&&globalThis.document.adoptedStyleSheets),Zt=/^\d+$/,ui={block:(e,t)=>({display:"block","text-align":t}),inline:({display:e})=>({display:`inline${e?`-${e}`:""}`}),contents:{display:"contents"},hidden:{display:"none"},...["row","row-reverse","column","column-reverse"].reduce((e,t)=>(e[t]=(n,o="nowrap")=>({display:"flex","flex-flow":`${t} ${o}`}),e),{}),grow:(e,t=1)=>({"flex-grow":t}),shrink:(e,t=1)=>({"flex-shrink":t}),basis:(e,t)=>({"flex-basis":le(t)}),order:(e,t=0)=>({order:t}),grid:(e,t="1",n="",o="",r="")=>({display:"grid",...["columns","rows"].reduce((i,a)=>{const s=a==="columns"?t:n;return i[`grid-template-${a}`]=s&&s.split("|").map(c=>c.match(Zt)?`repeat(${c}, minmax(0, 1fr))`:le(c)).join(" "),i},{}),"grid-auto-flow":`${o} ${r&&"dense"}`}),area:(e,t="",n="")=>({"grid-column":t.match(Zt)?`span ${t}`:t,"grid-row":n.match(Zt)?`span ${n}`:n}),gap:(e,t=1,n="")=>({"column-gap":le(t),"row-gap":le(n||t)}),items:(e,t="start",n="")=>({"place-items":`${t} ${n}`}),content:(e,t="start",n="")=>({"place-content":`${t} ${n}`}),self:(e,t="start",n="")=>({"place-self":`${t} ${n}`}),center:{"place-items":"center","place-content":"center"},size:(e,t,n=t)=>({width:le(t),height:le(n),"box-sizing":"border-box"}),width:(e,t,n,o)=>({width:le(t),"min-width":le(n),"max-width":le(o),"box-sizing":"border-box"}),height:(e,t,n,o)=>({height:le(t),"min-height":le(n),"max-height":le(o),"box-sizing":"border-box"}),ratio:(e,t)=>({"aspect-ratio":t}),overflow:(e,t="hidden",n="")=>{const o=n?`-${t}`:"",r=n||t;return{[`overflow${o}`]:r,...r==="scroll"?{"flex-grow":e["flex-grow"]||1,"flex-basis":0,"overscroll-behavior":"contain","--webkit-overflow-scrolling":"touch"}:{}}},margin:(e,t="1",n,o,r)=>t.match(/top|bottom|left|right/)?{[`margin-${t}`]:le(n||"1")}:{margin:`${le(t)} ${le(n)} ${le(o)} ${le(r)}`},padding:(e,t="1",n,o,r)=>t.match(/top|bottom|left|right/)?{[`padding-${t}`]:le(n||"1")}:{padding:`${le(t)} ${le(n)} ${le(o)} ${le(r)}`},absolute:{position:"absolute"},relative:{position:"relative"},fixed:{position:"fixed"},sticky:{position:"sticky"},static:{position:"static"},inset:(e,t=0)=>{const n=le(t);return{top:n,right:n,bottom:n,left:n}},top:(e,t=0)=>({top:le(t)}),bottom:(e,t=0)=>({bottom:le(t)}),left:(e,t=0)=>({left:le(t)}),right:(e,t=0)=>({right:le(t)}),layer:(e,t=1)=>({"z-index":t}),"":(e,t,...n)=>{if(n.length<2)throw new Error("Generic rule '::' requires at least two arguments, eg.: ::[property]:[name]");return{[n[n.length-2]]:`var(--${n.join("-")})`}},view:(e,t)=>({"view-transition-name":t})},fi={min:"min-content",max:"max-content",fit:"fit-content",full:"100%"},gi={portrait:"orientation: portrait",landscape:"orientation: landscape"};function le(e){return e=fi[e]||e,/^-?\d+(\.\d+)*$/.test(String(e))?`${e*8}px`:e||""}let Ze;function ro(){if(Ze)return Ze;if(Vt)Ze=new globalThis.CSSStyleSheet;else{const e=globalThis.document.createElement("style");e.appendChild(globalThis.document.createTextNode("")),globalThis.document.head.appendChild(e),Ze=e.sheet}return Ze.insertRule(":host([hidden]) { display: none; }"),Ze}const io=new WeakMap;let Yt=new WeakSet;function hi(e){const t=e.getRootNode();if(Yt.has(t))return;const n=ro();if(Vt)t.adoptedStyleSheets=[...t.adoptedStyleSheets,n];else{if(t===globalThis.document)return;let o=io.get(t);o||(o=globalThis.document.createElement("style"),t.appendChild(o),io.set(t,o));let r="";for(let i=0;i<n.cssRules.length;i++)r+=n.cssRules[i].cssText;o.textContent=r}Yt.add(t)}const ao=new Map;function so(e,t,n,o){let r=ao.get(e);r||(r=`l-${Math.random().toString(36).substr(2,5)}`,ao.set(e,r)),Vt||(Yt=new WeakSet);const i=ro(),[a,s=""]=t.split("@"),c=Object.entries(n.replace(/\s+/g," ").trim().split(" ").reduce((g,f)=>{const[C,...w]=f.split(":"),u=ui[C];if(!u)throw TypeError(`Unsupported layout rule: '${C}'`);return Object.assign(g,typeof u=="function"?u(g,...w.map(l=>l.match(/--.*/)?`var(${l})`:l)):u)},{})).reduce((g,[f,C])=>C!==void 0&&C!==""?g+`${f}: ${C};`:g,""),h=s.split(":").reduce((g,f)=>f===""?g:g+` and (${gi[f]||`min-width: ${f}`})`,"@media screen");if(o){const g=`:host(.${r}-s${a})`,f=`:where(.${r}-c${a})`;[g,f].forEach(C=>{i.insertRule(s?`${h} { ${C} { ${c} } }`:`${C} { ${c} }`,i.cssRules.length-1)})}else{const g=`.${r}${a}`;i.insertRule(s?`${h} { ${g} { ${c} } }`:`${g} { ${c} }`,i.cssRules.length-1)}return r}const Jt=new WeakMap;function pi(e,t){const n=je(e),o=n.startNode,r=Ot(n.endNode);t.parentNode.insertBefore(e,t.nextSibling);let i=e,a=o;for(;a;){const s=a.nextSibling;i.parentNode.insertBefore(a,i.nextSibling),i=a,a=s!==r.nextSibling&&s}}function vi(e,t,n,o,r){let i=Jt.get(t);const a=n.map((g,f)=>({id:hasOwnProperty.call(g,"id")?g.id:f,value:g,placeholder:null,available:!0}));if(Jt.set(t,a),i){const g=new Set;for(const f of a)g.add(f.id);i=i.filter(f=>g.has(f.id)?!0:(ut(f.placeholder),f.placeholder.parentNode.removeChild(f.placeholder),!1))}let s=t;const c=n.length-1,h=je(t);for(let g=0;g<a.length;g+=1){const f=a[g];let C;if(i){for(let w=0;w<i.length;w+=1)if(i[w].available&&i[w].id===f.id){C=i[w];break}}C?(C.available=!1,f.placeholder=C.placeholder,f.placeholder.previousSibling!==s&&pi(f.placeholder,s),C.value!==f.value&&o(e,f.placeholder,f.value,C.value,r)):(f.placeholder=globalThis.document.createTextNode(""),s.parentNode.insertBefore(f.placeholder,s.nextSibling),o(e,f.placeholder,f.value,void 0,r)),s=Ot(je(f.placeholder).endNode||f.placeholder),g===0&&(h.startNode=f.placeholder),g===c&&(h.endNode=s)}if(i)for(const g of i)g.available&&(ut(g.placeholder),g.placeholder.parentNode.removeChild(g.placeholder))}function mi(e,t,n){ut(t);const o=je(t);o.startNode=o.endNode=n,t.parentNode.insertBefore(n,t.nextSibling)}function lo(e){const t=typeof e;if(t==="object"){if(Array.isArray(e))return"array";if(e instanceof globalThis.Node)return"node"}return t}function ft(e,t,n,o,r){const i=lo(n),a=lo(o);switch(a!=="undefined"&&i!==a&&(i!=="function"&&ut(t),a==="array"?Jt.delete(t):a!=="node"&&a!=="function"&&(t.textContent="")),i){case"array":vi(e,t,n,ft,r);break;case"node":mi(e,t,n);break;case"function":r&&(n.useLayout=!0),n(e,t);break;default:t.textContent=i==="number"||n?n:""}}const Wt=new WeakMap;function bi(e){return(t,n,o,r)=>{if(r){const i=Wt.get(n);n.removeEventListener(e,i.get(r),r.options!==void 0?r.options:!1)}if(o){if(typeof o!="function")throw Error(`Event listener must be a function: ${typeof o}`);let i=Wt.get(n);i||(i=new WeakMap,Wt.set(n,i));const a=o.bind(null,t);i.set(o,a),n.addEventListener(e,a,o.options!==void 0?o.options:!1)}}}function Ci(e,t=new Set){if(Array.isArray(e))for(const n of e)n&&t.add(n);else if(e!==null&&typeof e=="object")for(const[n,o]of Object.entries(e))n&&o&&t.add(n);else e&&t.add(e);return t}const co=new WeakMap;function wi(e,t,n){const o=co.get(t)||new Set,r=Ci(n);co.set(t,r);for(const i of r)t.classList.add(i),o.delete(i);for(const i of o)t.classList.remove(i)}const uo=new WeakMap;function yi(e,t,n){if(n===null||typeof n!="object")throw TypeError(`Style value must be an object in ${At(t)}:`,n);const o=uo.get(t)||new Map,r=new Map;for(const i of Object.keys(n)){const a=it(i),s=n[i];!s&&s!==0?t.style.removeProperty(a):t.style.setProperty(a,s),r.set(a,s),o.delete(a)}for(const i of o.keys())t.style[i]="";uo.set(t,r)}function xi(e,t,n){if(t.substr(0,2)==="on"){const o=t.substr(2);return bi(o)}switch(e){case"class":return wi;case"style":return yi;default:{let o=!1;return(r,i,a)=>{if(o=o||!(i instanceof globalThis.SVGElement)&&t in i,o)i[t]=a;else if(a===!1||a===void 0||a===null)i.removeAttribute(e);else{const s=a===!0?"":String(a);i.setAttribute(e,s)}}}}}const fo=Ne("(\\d+)"),gt=new RegExp(`^${fo}$`),Ye=new RegExp(fo,"g"),Ai=/^[^A-Za-z]+$/;function Di(e){let t=e[0],n=!1;for(let o=1;o<e.length;o+=1)n=n||e[o-1].match(/<\s*(table|tr|thead|tbody|tfoot|colgroup)([^<>]|"[^"]*"|'[^']*')*>\s*$/),t+=(n?`<!--${Ne(o-1)}-->`:Ne(o-1))+e[o],n=n&&!e[o].match(/<\/\s*(table|tr|thead|tbody|tfoot|colgroup)\s*>/);return t}function Ti(e){return e.replace(/\s*=\s*['"]*$/g,"").split(/\s+/).pop()}function go(e){return globalThis.document.createTreeWalker(e,globalThis.NodeFilter.SHOW_ELEMENT|globalThis.NodeFilter.SHOW_TEXT|globalThis.NodeFilter.SHOW_COMMENT,null,!1)}function Hi(e,t=0){e=e.replace(/(^[\n\s\t ]+)|([\n\s\t ]+$)+/g,"");let n=e.indexOf(`
2
2
  `);if(n>-1){let o=0-t-2;for(n+=1;e[n]===" "&&n<e.length;n+=1)o+=1;return e.replace(/\n +/g,r=>r.substr(0,Math.max(r.length-o,1)))}return e}function ho(e,t){const n=Ne(t);return`${Hi(e).split(`
3
3
  `).filter(r=>r).map(r=>{const i=r.indexOf(n);return i>-1?`| ${r}
4
4
  --${"-".repeat(i)}${"^".repeat(6)}`:`| ${r}`}).join(`
5
- `).replace(Ye,"${...}")}`}const po=new Map,vo=new WeakMap;function Pi(e,t){const n=vo.get(e);if(!n&&!t)return;const o=t&&t.map(i=>{let a=i;return a instanceof globalThis.CSSStyleSheet||(a=po.get(i),a||(a=new globalThis.CSSStyleSheet,a.replaceSync(i),po.set(i,a))),a});let r;if(n){if(o&&o.length===n.length&&o.every((i,a)=>i===n[a]))return;r=e.adoptedStyleSheets.filter(i=>!n.includes(i))}o&&(r=(r||e.adoptedStyleSheets).concat(o)),e.adoptedStyleSheets=r,vo.set(e,o)}const _t=new WeakMap;function mo(e,t){let n=_t.get(e);if(t){(!n||n.parentNode!==e)&&(n=globalThis.document.createElement("style"),_t.set(e,n),e=Bt(e),e.nodeType===globalThis.Node.TEXT_NODE?e.parentNode.insertBefore(n,e.nextSibling):e.appendChild(n));const o=[...t].join(`
5
+ `).replace(Ye,"${...}")}`}const po=new Map,vo=new WeakMap;function Pi(e,t){const n=vo.get(e);if(!n&&!t)return;const o=t&&t.map(i=>{let a=i;return a instanceof globalThis.CSSStyleSheet||(a=po.get(i),a||(a=new globalThis.CSSStyleSheet,a.replaceSync(i),po.set(i,a))),a});let r;if(n){if(o&&o.length===n.length&&o.every((i,a)=>i===n[a]))return;r=e.adoptedStyleSheets.filter(i=>!n.includes(i))}o&&(r=(r||e.adoptedStyleSheets).concat(o)),e.adoptedStyleSheets=r,vo.set(e,o)}const _t=new WeakMap;function mo(e,t){let n=_t.get(e);if(t){(!n||n.parentNode!==e)&&(n=globalThis.document.createElement("style"),_t.set(e,n),e=Ot(e),e.nodeType===globalThis.Node.TEXT_NODE?e.parentNode.insertBefore(n,e.nextSibling):e.appendChild(n));const o=[...t].join(`
6
6
  /*------*/
7
- `);n.textContent!==o&&(n.textContent=o)}else n&&(n.parentNode.removeChild(n),_t.set(e,null))}const bo=new WeakMap;function Bi(e,t){let n=bo.get(e);n||(n=e.adoptedStyleSheets?Pi:mo,bo.set(e,n)),n(e,t)}function Oi(e,t,n,o){let r=globalThis.document.createElement("template");const i={},a=Di(e);r.innerHTML=a;let s;const c=r.content.children[0];if(c instanceof globalThis.HTMLTemplateElement){for(const u of Array.from(c.attributes)){const l=u.value.trim();if(l&&u.name.startsWith("layout")){if(l.match(Ye))throw Error("Layout attribute cannot contain expressions");s=so(c,u.name.substr(6),l,!0)}}if(s!==void 0&&r.content.children.length>1)throw Error("Template, which uses layout system must have only the '<template>' root element");o=s||c.hasAttribute("layout"),r=c}const h=go(r.content),g=[];let f=0,C=null;for(;h.nextNode();){let u=h.currentNode;if(C&&!C.contains(u)&&(C=null),u.nodeType===globalThis.Node.COMMENT_NODE&&ft.test(u.textContent)&&(u.parentNode.insertBefore(globalThis.document.createTextNode(u.textContent),u.nextSibling),h.nextNode(),u.parentNode.removeChild(u),u=h.currentNode),u.nodeType===globalThis.Node.TEXT_NODE){let l=u.textContent;const d=l.match(ft);if(d)u.textContent="",i[d[1]]=[f,ut];else{if(Ui()&&!C&&!l.match(/^\s*$/)){let p;const b=l.trim(),y=b.replace(/\s+/g," ").replace(Ye,(D,A)=>(A=Number(A),p===void 0&&(p=A),`\${${A-p}}`));if(!y.match(Ai)){let D=u.previousSibling&&u.previousSibling.nodeType===globalThis.Node.COMMENT_NODE?u.previousSibling:"";D&&(D.parentNode.removeChild(D),f-=1,D=(D.textContent.split("|")[1]||"").trim().replace(/\s+/g," "));const A=Ki(y,D).replace(/\${(\d+)}/g,(H,O)=>Ne(Number(O)+p));l=l.replace(b,A),u.textContent=l}}const v=l.match(Ye);if(v){let p=u;v.reduce((b,y)=>{const[D,A]=b.pop().split(y);return D&&b.push(D),b.push(y),A&&b.push(A),b},[l]).forEach((b,y)=>{y===0?p.textContent=b:(p=p.parentNode.insertBefore(globalThis.document.createTextNode(b),p.nextSibling),h.currentNode=p,f+=1);const D=p.textContent.match(ft);D&&(p.textContent="",i[D[1]]=[f,ut])})}}}else if(u.nodeType===globalThis.Node.ELEMENT_NODE){if(!C&&(u.getAttribute("translate")==="no"||u.tagName.toLowerCase()==="script"||u.tagName.toLowerCase()==="style")&&(C=u),Ut){const l=u.tagName.toLowerCase();l.match(/.+-.+/)&&!globalThis.customElements.get(l)&&!g.includes(l)&&g.push(l)}for(const l of Array.from(u.attributes)){const d=l.value.trim(),v=l.name;if(o&&v.startsWith("layout")&&d){if(d.match(Ye))throw Error("Layout attribute cannot contain expressions");const b=so(u,v.substr(6),d);u.removeAttribute(v),u.classList.add(b);continue}const p=d.match(ft);if(p){const b=Ti(e[p[1]]);i[p[1]]=[f,xi(v,b)],u.removeAttribute(l.name)}else{const b=d.match(Ye);if(b){const y=`attr__${v}`;for(const[D,A]of b.entries()){const[,H]=A.match(ft);let O=!1;i[H]=[f,(P,x,B)=>{const k=je(x);k[y]=(k[y]||d).replace(A,B??""),(b.length===1||D+1===b.length)&&(O=O||!(x instanceof globalThis.SVGElement)&&v in x,O?x[v]=k[y]:x.setAttribute(v,k[y]),k[y]=void 0)}]}l.value=""}}}}f+=1}Ut&&g.length&&console.warn(`Not defined ${g.map(u=>`<${u}>`).join(", ")} element${g.length>1?"s":""} found in the template:
8
- ${ho(a,-1)}`);const w=Object.keys(i);return function(l,d,v,{styleSheets:p}){let b=je(d);if(r!==b.template){const y=globalThis.document.importNode(r.content,!0),D=go(y),A=[];let H=0,O=0,P=i[w[O]];for(;D.nextNode();){const x=D.currentNode;for(;P&&P[0]===H;)A.push({index:w[O],node:x,fn:P[1]}),O+=1,P=i[w[O]];H+=1}if(b.hostLayout&&l.classList.remove(b.hostLayout),dt(d),b=je(d),b.template=r,b.markers=A,d.nodeType===globalThis.Node.TEXT_NODE){mo(d),b.startNode=y.childNodes[0],b.endNode=y.childNodes[y.childNodes.length-1];let x=d,B=y.childNodes[0];for(;B;)d.parentNode.insertBefore(B,x.nextSibling),x=B,B=y.childNodes[0]}else{if(o){const x=`${s}-${l===d?"c":"s"}`;l.classList.add(x),b.hostLayout=x}d.appendChild(y)}o&&hi(d)}Bi(d,p);for(const y of b.markers){const D=v[y.index],A=b.prevArgs&&b.prevArgs[y.index];if(!(b.prevArgs&&D===A))try{y.fn(l,y.node,D,A,o)}catch(H){throw console.error(`Error while updating template expression in ${xt(l)}:
9
- ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){return function o(r,i){const a=o.useLayout;let s;t&&(s=setTimeout(()=>{s=void 0,ut(r,i,t,void 0,a)},n)),$t.set(i,e),e.then(c=>{s&&clearTimeout(s),$t.get(i)===e&&(ut(r,i,c,t&&!s?t:void 0,a),$t.set(i,null))})}}function Co({target:e,detail:t},n){let o;switch(e.type){case"radio":case"checkbox":o=e.checked&&e.value;break;case"file":o=e.files;break;default:o=t&&hasOwnProperty.call(t,"value")?t.value:e.value}n(o)}function Mi(e,t){return e.split(".").reverse().reduce((n,o)=>n?{[o]:n}:{[o]:t},null)}const wo=new Map;function ki(e,t){if(!e)throw Error(`The first argument must be a property name or an object instance: ${e}`);if(typeof e=="object"){if(t===void 0)throw Error("For model instance property the second argument must be defined");const o=$r.get(e);if(!o)throw Error("Provided object must be a model instance of the store");return t===null?()=>{o.set(e,null)}:(r,i)=>{Co(i,a=>{o.set(e,Mi(t,a))})}}if(arguments.length===2)return o=>{o[e]=t};let n=wo.get(e);return n||(n=(o,r)=>{Co(r,i=>{o[e]=i})},wo.set(e,n)),n}let Ot;const Qi=globalThis.document&&globalThis.document.startViewTransition!==void 0&&function(t){return function n(o,r){if(Ot){console.warn(`${xt(o)}: view transition already started in ${xt(Ot)}`),t(o,r);return}t.useLayout=n.useLayout,Ot=o,globalThis.document.startViewTransition(()=>(t(o,r),Gt.then(()=>{Ot=void 0})))}}||(e=>e),Li=Object.freeze(Object.defineProperty({__proto__:null,resolve:Ei,set:ki,transition:Qi},Symbol.toStringTag,{value:"Module"}));function zi(e){return this.id=e,this}function Ri(...e){return this.styleSheets=this.styleSheets||[],this.styleSheets.push(...e),this}function ji(e,...t){this.styleSheets=this.styleSheets||[];let n=e[0];for(let o=1;o<e.length;o++)n+=(t[o-1]!==void 0?t[o-1]:"")+e[o];return this.styleSheets.push(n),this}function Si(e){return this.plugins=this.plugins||[],this.plugins.push(e),this}const Ii=Object.freeze(Object.defineProperty({__proto__:null,css:ji,key:zi,style:Ri,use:Si},Symbol.toStringTag,{value:"Module"})),Ni=Ne(),Xi=Ne("layout"),yo=new Map;function Fi(e,t,n,o){function r(i,a=i){let s=e.join(Ni);const c=r.useLayout;c&&(s+=Xi);let h=yo.get(s);h||(h=Oi(e,n,o,c),yo.set(s,h)),r.plugins?r.plugins.reduce((g,f)=>f(g),()=>h(i,a,t,r))(i,a):h(i,a,t,r)}return Object.assign(r,Ii)}function j(e,...t){return Fi(e,t,!1,!1)}Object.freeze(Object.assign(j,Li));const Et=new Map,xo=new Map;let qi=null;const Gi=(()=>{let e;try{e=globalThis.navigator.languages||[globalThis.navigator.language]}catch{e=[]}return e.reduce((t,n)=>{const o=n.split("-")[0];return t.add(n),n!==o&&t.add(o),t},new Set)})();function Ui(){return Et.size}const Ao=new Map;function Ki(e,t,n=[]){e=e.trim().replace(/\s+/g," "),t=t.trim();const o=`${e} | ${t}`;let r=xo.get(o);if(!r){if(Et.size)for(const i of Gi){const a=Et.get(i);if(a&&(r=a[o]||a[e],r)){if(r=r.message,typeof r=="object"){let s=Ao.get(i);s||(s=new Intl.PluralRules(i),Ao.set(i,s));const c=r;r=h=>h===0&&c.zero||c[s.select(h)]||c.other||""}break}}r||r||(r=e,(Et.size||qi)&&Ut&&console.warn(`Missing translation: "${e}"${t?` [${t}]`:""}`)),xo.set(o,r)}return typeof r=="function"?r(n[0]):r}const en=`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
7
+ `);n.textContent!==o&&(n.textContent=o)}else n&&(n.parentNode.removeChild(n),_t.set(e,null))}const bo=new WeakMap;function Bi(e,t){let n=bo.get(e);n||(n=e.adoptedStyleSheets?Pi:mo,bo.set(e,n)),n(e,t)}function Oi(e,t,n,o){let r=globalThis.document.createElement("template");const i={},a=Di(e);r.innerHTML=a;let s;const c=r.content.children[0];if(c instanceof globalThis.HTMLTemplateElement){for(const u of Array.from(c.attributes)){const l=u.value.trim();if(l&&u.name.startsWith("layout")){if(l.match(Ye))throw Error("Layout attribute cannot contain expressions");s=so(c,u.name.substr(6),l,!0)}}if(s!==void 0&&r.content.children.length>1)throw Error("Template, which uses layout system must have only the '<template>' root element");o=s||c.hasAttribute("layout"),r=c}const h=go(r.content),g=[];let f=0,C=null;for(;h.nextNode();){let u=h.currentNode;if(C&&!C.contains(u)&&(C=null),u.nodeType===globalThis.Node.COMMENT_NODE&&gt.test(u.textContent)&&(u.parentNode.insertBefore(globalThis.document.createTextNode(u.textContent),u.nextSibling),h.nextNode(),u.parentNode.removeChild(u),u=h.currentNode),u.nodeType===globalThis.Node.TEXT_NODE){let l=u.textContent;const d=l.match(gt);if(d)u.textContent="",i[d[1]]=[f,ft];else{if(Ui()&&!C&&!l.match(/^\s*$/)){let p;const b=l.trim(),y=b.replace(/\s+/g," ").replace(Ye,(D,A)=>(A=Number(A),p===void 0&&(p=A),`\${${A-p}}`));if(!y.match(Ai)){let D=u.previousSibling&&u.previousSibling.nodeType===globalThis.Node.COMMENT_NODE?u.previousSibling:"";D&&(D.parentNode.removeChild(D),f-=1,D=(D.textContent.split("|")[1]||"").trim().replace(/\s+/g," "));const A=Ki(y,D).replace(/\${(\d+)}/g,(H,O)=>Ne(Number(O)+p));l=l.replace(b,A),u.textContent=l}}const v=l.match(Ye);if(v){let p=u;v.reduce((b,y)=>{const[D,A]=b.pop().split(y);return D&&b.push(D),b.push(y),A&&b.push(A),b},[l]).forEach((b,y)=>{y===0?p.textContent=b:(p=p.parentNode.insertBefore(globalThis.document.createTextNode(b),p.nextSibling),h.currentNode=p,f+=1);const D=p.textContent.match(gt);D&&(p.textContent="",i[D[1]]=[f,ft])})}}}else if(u.nodeType===globalThis.Node.ELEMENT_NODE){if(!C&&(u.getAttribute("translate")==="no"||u.tagName.toLowerCase()==="script"||u.tagName.toLowerCase()==="style")&&(C=u),Ut){const l=u.tagName.toLowerCase();l.match(/.+-.+/)&&!globalThis.customElements.get(l)&&!g.includes(l)&&g.push(l)}for(const l of Array.from(u.attributes)){const d=l.value.trim(),v=l.name;if(o&&v.startsWith("layout")&&d){if(d.match(Ye))throw Error("Layout attribute cannot contain expressions");const b=so(u,v.substr(6),d);u.removeAttribute(v),u.classList.add(b);continue}const p=d.match(gt);if(p){const b=Ti(e[p[1]]);i[p[1]]=[f,xi(v,b)],u.removeAttribute(l.name)}else{const b=d.match(Ye);if(b){const y=`attr__${v}`;for(const[D,A]of b.entries()){const[,H]=A.match(gt);let O=!1;i[H]=[f,(P,x,B)=>{const k=je(x);k[y]=(k[y]||d).replace(A,B??""),(b.length===1||D+1===b.length)&&(O=O||!(x instanceof globalThis.SVGElement)&&v in x,O?x[v]=k[y]:x.setAttribute(v,k[y]),k[y]=void 0)}]}l.value=""}}}}f+=1}Ut&&g.length&&console.warn(`Not defined ${g.map(u=>`<${u}>`).join(", ")} element${g.length>1?"s":""} found in the template:
8
+ ${ho(a,-1)}`);const w=Object.keys(i);return function(l,d,v,{styleSheets:p}){let b=je(d);if(r!==b.template){const y=globalThis.document.importNode(r.content,!0),D=go(y),A=[];let H=0,O=0,P=i[w[O]];for(;D.nextNode();){const x=D.currentNode;for(;P&&P[0]===H;)A.push({index:w[O],node:x,fn:P[1]}),O+=1,P=i[w[O]];H+=1}if(b.hostLayout&&l.classList.remove(b.hostLayout),ut(d),b=je(d),b.template=r,b.markers=A,d.nodeType===globalThis.Node.TEXT_NODE){mo(d),b.startNode=y.childNodes[0],b.endNode=y.childNodes[y.childNodes.length-1];let x=d,B=y.childNodes[0];for(;B;)d.parentNode.insertBefore(B,x.nextSibling),x=B,B=y.childNodes[0]}else{if(o){const x=`${s}-${l===d?"c":"s"}`;l.classList.add(x),b.hostLayout=x}d.appendChild(y)}o&&hi(d)}Bi(d,p);for(const y of b.markers){const D=v[y.index],A=b.prevArgs&&b.prevArgs[y.index];if(!(b.prevArgs&&D===A))try{y.fn(l,y.node,D,A,o)}catch(H){throw console.error(`Error while updating template expression in ${At(l)}:
9
+ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){return function o(r,i){const a=o.useLayout;let s;t&&(s=setTimeout(()=>{s=void 0,ft(r,i,t,void 0,a)},n)),$t.set(i,e),e.then(c=>{s&&clearTimeout(s),$t.get(i)===e&&(ft(r,i,c,t&&!s?t:void 0,a),$t.set(i,null))})}}function Co({target:e,detail:t},n){let o;switch(e.type){case"radio":case"checkbox":o=e.checked&&e.value;break;case"file":o=e.files;break;default:o=t&&hasOwnProperty.call(t,"value")?t.value:e.value}n(o)}function Mi(e,t){return e.split(".").reverse().reduce((n,o)=>n?{[o]:n}:{[o]:t},null)}const wo=new Map;function ki(e,t){if(!e)throw Error(`The first argument must be a property name or an object instance: ${e}`);if(typeof e=="object"){if(t===void 0)throw Error("For model instance property the second argument must be defined");const o=$r.get(e);if(!o)throw Error("Provided object must be a model instance of the store");return t===null?()=>{o.set(e,null)}:(r,i)=>{Co(i,a=>{o.set(e,Mi(t,a))})}}if(arguments.length===2)return o=>{o[e]=t};let n=wo.get(e);return n||(n=(o,r)=>{Co(r,i=>{o[e]=i})},wo.set(e,n)),n}let Et;const Qi=globalThis.document&&globalThis.document.startViewTransition!==void 0&&function(t){return function n(o,r){if(Et){console.warn(`${At(o)}: view transition already started in ${At(Et)}`),t(o,r);return}t.useLayout=n.useLayout,Et=o,globalThis.document.startViewTransition(()=>(t(o,r),Gt.then(()=>{Et=void 0})))}}||(e=>e),Li=Object.freeze(Object.defineProperty({__proto__:null,resolve:Ei,set:ki,transition:Qi},Symbol.toStringTag,{value:"Module"}));function zi(e){return this.id=e,this}function Ri(...e){return this.styleSheets=this.styleSheets||[],this.styleSheets.push(...e),this}function ji(e,...t){this.styleSheets=this.styleSheets||[];let n=e[0];for(let o=1;o<e.length;o++)n+=(t[o-1]!==void 0?t[o-1]:"")+e[o];return this.styleSheets.push(n),this}function Si(e){return this.plugins=this.plugins||[],this.plugins.push(e),this}const Ii=Object.freeze(Object.defineProperty({__proto__:null,css:ji,key:zi,style:Ri,use:Si},Symbol.toStringTag,{value:"Module"})),Ni=Ne(),Xi=Ne("layout"),yo=new Map;function Fi(e,t,n,o){function r(i,a=i){let s=e.join(Ni);const c=r.useLayout;c&&(s+=Xi);let h=yo.get(s);h||(h=Oi(e,n,o,c),yo.set(s,h)),r.plugins?r.plugins.reduce((g,f)=>f(g),()=>h(i,a,t,r))(i,a):h(i,a,t,r)}return Object.assign(r,Ii)}function j(e,...t){return Fi(e,t,!1,!1)}Object.freeze(Object.assign(j,Li));const Mt=new Map,xo=new Map;let qi=null;const Gi=(()=>{let e;try{e=globalThis.navigator.languages||[globalThis.navigator.language]}catch{e=[]}return e.reduce((t,n)=>{const o=n.split("-")[0];return t.add(n),n!==o&&t.add(o),t},new Set)})();function Ui(){return Mt.size}const Ao=new Map;function Ki(e,t,n=[]){e=e.trim().replace(/\s+/g," "),t=t.trim();const o=`${e} | ${t}`;let r=xo.get(o);if(!r){if(Mt.size)for(const i of Gi){const a=Mt.get(i);if(a&&(r=a[o]||a[e],r)){if(r=r.message,typeof r=="object"){let s=Ao.get(i);s||(s=new Intl.PluralRules(i),Ao.set(i,s));const c=r;r=h=>h===0&&c.zero||c[s.select(h)]||c.other||""}break}}r||r||(r=e,(Mt.size||qi)&&Ut&&console.warn(`Missing translation: "${e}"${t?` [${t}]`:""}`)),xo.set(o,r)}return typeof r=="function"?r(n[0]):r}const en=`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
10
10
  <path
11
11
  d="M16 17.8385L22.1518 23.9903L23.9903 22.1518L17.8385 16L23.9903 9.84817L22.1518 8.0097L16 14.1615L9.84812 8.00964L8.00964 9.84812L14.1615 16L8.00964 22.1518L9.84812 23.9903L16 17.8385Z"
12
12
  fill="currentColor" />
@@ -17,10 +17,10 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
17
17
  <path fill-rule="evenodd" clip-rule="evenodd"
18
18
  d="M12 2.23999C6.475 2.23999 2 6.71499 2 12.24C2 16.665 4.8625 20.4025 8.8375 21.7275C9.3375 21.815 9.525 21.515 9.525 21.2525C9.525 21.015 9.5125 20.2275 9.5125 19.39C7 19.8525 6.35 18.7775 6.15 18.215C6.0375 17.9275 5.55 17.04 5.125 16.8025C4.775 16.615 4.275 16.1525 5.1125 16.14C5.9 16.1275 6.4625 16.865 6.65 17.165C7.55 18.6775 8.9875 18.2525 9.5625 17.99C9.65 17.34 9.9125 16.9025 10.2 16.6525C7.975 16.4025 5.65 15.54 5.65 11.715C5.65 10.6275 6.0375 9.72749 6.675 9.02749C6.575 8.77749 6.225 7.75249 6.775 6.37749C6.775 6.37749 7.6125 6.11499 9.525 7.40249C10.325 7.17749 11.175 7.06499 12.025 7.06499C12.875 7.06499 13.725 7.17749 14.525 7.40249C16.4375 6.10249 17.275 6.37749 17.275 6.37749C17.825 7.75249 17.475 8.77749 17.375 9.02749C18.0125 9.72749 18.4 10.615 18.4 11.715C18.4 15.5525 16.0625 16.4025 13.8375 16.6525C14.2 16.965 14.5125 17.565 14.5125 18.5025C14.5125 19.84 14.5 20.915 14.5 21.2525C14.5 21.515 14.6875 21.8275 15.1875 21.7275C17.1727 21.0573 18.8977 19.7815 20.1198 18.0795C21.3419 16.3776 21.9995 14.3352 22 12.24C22 6.71499 17.525 2.23999 12 2.23999Z"
19
19
  fill="currentColor" />
20
- </svg>`,tn="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M24.0133%205.06641L19.9833%2012.0465L15.9535%205.06641H2.5332L19.9835%2035.2915L37.4337%205.06641H24.0133Z'%20fill='%2342B983'/%3e%3cpath%20d='M24.0137%205.06641L19.9837%2012.0465L15.9538%205.06641H9.51367L19.9838%2023.2011L30.4539%205.06641H24.0137Z'%20fill='%2335495E'/%3e%3c/svg%3e",To="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.1175%205.91895C28.521%206.15192%2028.9018%206.65217%2029.1092%207.6216C29.3165%208.59087%2029.316%209.89706%2029.0621%2011.4818C28.9831%2011.9749%2028.8805%2012.4888%2028.7548%2013.0205C27.3951%2012.7295%2025.934%2012.5052%2024.4005%2012.3569C23.5053%2011.103%2022.5805%209.94987%2021.6487%208.91778C22.0462%208.54307%2022.44%208.19733%2022.8276%207.88233C24.0731%206.87007%2025.204%206.21654%2026.1471%205.91145C27.0903%205.60631%2027.7139%205.68597%2028.1175%205.91895ZM18.3272%208.91778C17.9297%208.54307%2017.5359%208.19734%2017.1483%207.88235C15.9029%206.87009%2014.7719%206.21656%2013.8288%205.91147C12.8856%205.60633%2012.262%205.68599%2011.8585%205.91896C11.4549%206.15194%2011.0741%206.65219%2010.8668%207.62162C10.6595%208.59088%2010.66%209.89708%2010.9138%2011.4818C10.9929%2011.975%2011.0954%2012.4888%2011.2211%2013.0205C12.5809%2012.7295%2014.0419%2012.5052%2015.5755%2012.3569C16.4706%2011.103%2017.3954%209.94987%2018.3272%208.91778ZM19.988%207.21345C19.5394%206.78938%2019.0922%206.39612%2018.649%206.03591C17.2716%204.91642%2015.8816%204.07479%2014.5612%203.64762C13.2409%203.2205%2011.8585%203.17148%2010.6688%203.85837C9.47905%204.54526%208.83027%205.76701%208.54003%207.12395C8.24976%208.48106%208.28365%2010.1056%208.56444%2011.8582C8.65479%2012.4222%208.7718%2013.006%208.91475%2013.6065C8.32322%2013.783%207.75908%2013.9736%207.22554%2014.1773C5.56732%2014.8104%204.14347%2015.5934%203.11332%2016.5233C2.08329%2017.4531%201.34961%2018.6259%201.34961%2019.9996C1.34961%2021.3734%202.08329%2022.5461%203.11332%2023.476C4.14347%2024.4059%205.56732%2025.1888%207.22554%2025.822C7.75909%2026.0257%208.32324%2026.2163%208.91478%2026.3927C8.77182%2026.9933%208.65481%2027.5772%208.56445%2028.1411C8.28366%2029.8937%208.24976%2031.5183%208.54004%2032.8754C8.83028%2034.2323%209.47905%2035.4541%2010.6688%2036.141C11.8585%2036.8279%2013.241%2036.7788%2014.5612%2036.3517C15.8816%2035.9246%2017.2716%2035.0829%2018.649%2033.9634C19.0922%2033.6032%2019.5394%2033.21%2019.988%2032.7859C20.4365%2033.21%2020.8837%2033.6032%2021.3269%2033.9635C22.7043%2035.0829%2024.0943%2035.9246%2025.4147%2036.3517C26.735%2036.7789%2028.1174%2036.8279%2029.3071%2036.141C30.4969%2035.4541%2031.1456%2034.2324%2031.4359%2032.8754C31.7262%2031.5183%2031.6923%2029.8937%2031.4115%2028.1411C31.3211%2027.5772%2031.2041%2026.9933%2031.0611%2026.3928C31.6527%2026.2163%2032.2169%2026.0257%2032.7504%2025.822C34.4087%2025.1888%2035.8325%2024.4059%2036.8627%2023.476C37.8927%2022.5461%2038.6264%2021.3734%2038.6264%2019.9996C38.6264%2018.6259%2037.8927%2017.4531%2036.8627%2016.5233C35.8325%2015.5934%2034.4087%2014.8104%2032.7504%2014.1773C32.2169%2013.9736%2031.6527%2013.783%2031.0612%2013.6065C31.2041%2013.006%2031.3211%2012.4221%2031.4115%2011.8582C31.6923%2010.1056%2031.7262%208.48104%2031.4359%207.12393C31.1457%205.76699%2030.4969%204.54524%2029.3072%203.85835C28.1174%203.17147%2026.735%203.22049%2025.4147%203.6476C24.0943%204.07477%2022.7043%204.9164%2021.3269%206.03589C20.8837%206.3961%2020.4365%206.78938%2019.988%207.21345ZM28.1027%2015.3146C27.4695%2015.1824%2026.8097%2015.0649%2026.1268%2014.9637C26.3504%2015.3277%2026.5709%2015.6979%2026.7879%2016.0737C27.0049%2016.4496%2027.2152%2016.8256%2027.4186%2017.2013C27.6724%2016.5592%2027.9006%2015.9291%2028.1027%2015.3146ZM28.813%2019.9997C29.4514%2018.5974%2029.9876%2017.22%2030.4155%2015.8969C30.9388%2016.0538%2031.4351%2016.222%2031.9017%2016.4001C33.4011%2016.9726%2034.5326%2017.6253%2035.2683%2018.2895C36.0042%2018.9538%2036.247%2019.5337%2036.247%2019.9996C36.247%2020.4656%2036.0042%2021.0455%2035.2683%2021.7098C34.5326%2022.374%2033.4011%2023.0266%2031.9017%2023.5991C31.4351%2023.7773%2030.9388%2023.9454%2030.4155%2024.1024C29.9876%2022.7793%2029.4513%2021.4019%2028.813%2019.9997ZM26.183%2019.9997C25.7431%2019.097%2025.2576%2018.1819%2024.7273%2017.2634C24.197%2016.3449%2023.6473%2015.4669%2023.0854%2014.6346C22.0837%2014.5641%2021.0485%2014.5271%2019.988%2014.5271C18.9274%2014.5271%2017.8922%2014.5641%2016.8905%2014.6346C16.3286%2015.4669%2015.7789%2016.3449%2015.2486%2017.2634C14.7183%2018.1819%2014.2328%2019.0969%2013.7929%2019.9997C14.2328%2020.9024%2014.7183%2021.8175%2015.2486%2022.736C15.7789%2023.6544%2016.3286%2024.5324%2016.8904%2025.3647C17.8921%2025.4351%2018.9274%2025.4722%2019.988%2025.4722C21.0485%2025.4722%2022.0838%2025.4351%2023.0855%2025.3647C23.6474%2024.5324%2024.1971%2023.6544%2024.7273%2022.7359C25.2576%2021.8175%2025.7431%2020.9024%2026.183%2019.9997ZM26.1268%2025.0356C26.3504%2024.6716%2026.5709%2024.3015%2026.7879%2023.9256C27.0049%2023.5498%2027.2152%2023.1738%2027.4186%2022.7981C27.6724%2023.4401%2027.9006%2024.0702%2028.1027%2024.6847C27.4695%2024.8169%2026.8097%2024.9343%2026.1268%2025.0356ZM21.2798%2027.834C20.8528%2027.8456%2020.422%2027.8515%2019.988%2027.8515C19.554%2027.8515%2019.1232%2027.8456%2018.6961%2027.834C19.1252%2028.3748%2019.5568%2028.8875%2019.988%2029.3698C20.4191%2028.8875%2020.8507%2028.3748%2021.2798%2027.834ZM21.6487%2031.0816C22.5805%2030.0495%2023.5053%2028.8963%2024.4005%2027.6424C25.934%2027.4941%2027.3951%2027.2698%2028.7548%2026.9788C28.8805%2027.5105%2028.9831%2028.0244%2029.0621%2028.5175C29.316%2030.1023%2029.3165%2031.4085%2029.1091%2032.3777C28.9018%2033.3472%2028.521%2033.8474%2028.1175%2034.0804C27.7139%2034.3134%2027.0903%2034.393%2026.1471%2034.0879C25.204%2033.7828%2024.0731%2033.1293%2022.8276%2032.117C22.44%2031.802%2022.0462%2031.4563%2021.6487%2031.0816ZM18.3272%2031.0816C17.3954%2030.0495%2016.4706%2028.8963%2015.5754%2027.6424C14.0419%2027.494%2012.5809%2027.2698%2011.2211%2026.9788C11.0954%2027.5105%2010.9929%2028.0244%2010.9139%2028.5175C10.66%2030.1023%2010.6595%2031.4085%2010.8668%2032.3777C11.0741%2033.3472%2011.4549%2033.8474%2011.8585%2034.0804C12.262%2034.3134%2012.8856%2034.393%2013.8288%2034.0879C14.7719%2033.7828%2015.9029%2033.1293%2017.1483%2032.117C17.5359%2031.802%2017.9297%2031.4563%2018.3272%2031.0816ZM11.8732%2024.6847C12.5064%2024.8169%2013.1662%2024.9343%2013.8491%2025.0356C13.6255%2024.6716%2013.405%2024.3015%2013.188%2023.9256C12.971%2023.5498%2012.7607%2023.1738%2012.5573%2022.7981C12.3035%2023.4401%2012.0754%2024.0702%2011.8732%2024.6847ZM12.5573%2017.2012C12.7607%2016.8256%2012.971%2016.4496%2013.188%2016.0737C13.405%2015.6978%2013.6255%2015.3277%2013.8491%2014.9637C13.1662%2015.0649%2012.5064%2015.1824%2011.8732%2015.3146C12.0753%2015.9291%2012.3035%2016.5592%2012.5573%2017.2012ZM11.1629%2019.9997C10.5246%2021.4019%209.98831%2022.7793%209.56042%2024.1023C9.03713%2023.9454%208.54083%2023.7773%208.07426%2023.5991C6.57488%2023.0266%205.44343%2022.374%204.70768%2021.7098C3.9718%2021.0455%203.72898%2020.4656%203.72898%2019.9996C3.72898%2019.5337%203.9718%2018.9538%204.70768%2018.2895C5.44343%2017.6253%206.57488%2016.9726%208.07426%2016.4001C8.54082%2016.222%209.03711%2016.0539%209.56038%2015.8969C9.98828%2017.22%2010.5246%2018.5974%2011.1629%2019.9997ZM18.6962%2012.1653C19.1232%2012.1536%2019.554%2012.1477%2019.988%2012.1477C20.422%2012.1477%2020.8527%2012.1536%2021.2797%2012.1652C20.8506%2011.6245%2020.419%2011.1119%2019.988%2010.6295C19.5569%2011.1119%2019.1253%2011.6245%2018.6962%2012.1653ZM23.2393%2019.9997C23.2393%2021.7956%2021.7834%2023.2515%2019.9875%2023.2515C18.1916%2023.2515%2016.7357%2021.7956%2016.7357%2019.9997C16.7357%2018.2038%2018.1916%2016.7479%2019.9875%2016.7479C21.7834%2016.7479%2023.2393%2018.2038%2023.2393%2019.9997Z'%20fill='%2361DAFB'/%3e%3c/svg%3e",Ho="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_22539_139637'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='40'%20height='40'%3e%3crect%20width='40'%20height='40'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_22539_139637)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M32.4972%204.95434C35.1486%206.25306%2036.7951%208.81475%2037.3777%2012.1934C37.9432%2015.473%2036.4782%2018.0897%2034.8157%2019.8171C33.1907%2021.5055%2031.1401%2022.6188%2029.704%2023.0506C28.3818%2023.4482%2026.9876%2022.6987%2026.59%2021.3764C26.1924%2020.0542%2026.942%2018.66%2028.2642%2018.2624C28.8967%2018.0722%2030.1971%2017.4056%2031.2131%2016.3499C32.1915%2015.3333%2032.6572%2014.2419%2032.4504%2013.043C32.0677%2010.8235%2031.1629%209.86839%2030.2978%209.4446C29.3298%208.97047%2027.8151%208.86811%2025.7622%209.53967C23.2029%2010.3769%2022.7262%2012.1074%2022.6585%2012.7263V28.3271L22.6246%2028.5308C22.3096%2030.4256%2021.0062%2032.7905%2018.9145%2034.4353C16.6883%2036.1857%2013.5289%2037.1461%209.75544%2035.9603C5.964%2034.7689%203.98007%2032.1666%203.23478%2029.4408C2.53713%2026.8892%202.92557%2024.2691%203.68407%2022.6241C4.14363%2021.6274%205.13716%2020.3341%206.39848%2019.2718C7.67494%2018.1968%209.53668%2017.0968%2011.7876%2017.0101C13.1673%2016.9569%2014.3289%2018.0322%2014.3821%2019.4119C14.4353%2020.7916%2013.3599%2021.9532%2011.9802%2022.0063C11.2523%2022.0344%2010.4251%2022.4177%209.61935%2023.0962C8.79849%2023.7876%208.31664%2024.5182%208.22464%2024.7177C7.94126%2025.3323%207.68144%2026.7458%208.05776%2028.1221C8.38644%2029.3243%209.19871%2030.5443%2011.2543%2031.1903C13.3279%2031.8419%2014.7885%2031.319%2015.8239%2030.5048C16.8991%2029.6594%2017.4928%2028.509%2017.6585%2027.8677V12.5293L17.6648%2012.4407C17.8097%2010.4042%2019.1476%206.44281%2024.2076%204.7875C26.9814%203.8801%2029.9486%203.70596%2032.4972%204.95434Z'%20fill='%2300A870'/%3e%3c/g%3e%3c/svg%3e",Zi="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M23.1861%203.33301L6.5%2019.9997L11.6389%2025.1386L33.4222%203.34967H23.2042L23.1861%203.33301ZM23.2056%2018.7108L14.2181%2027.6788L23.2042%2036.665H33.4444L24.4722%2027.6816L33.4444%2018.7094L23.2056%2018.7108Z'%20fill='%2344D1FD'/%3e%3c/svg%3e";function Po(e){if(!e)return;function t(){requestAnimationFrame(()=>{if(!e||!e.shadowRoot||e.patchDom)return;const n=document.createElement("div");n.setAttribute("slot","__render_content__"),n.innerHTML=e.shadowRoot.innerHTML,e.appendChild(n)})}return window.addEventListener("load",t),()=>window.removeEventListener("load",t)}function nn(){return/\/components\//.test(location.pathname)}function Bo(){return/\/global-configuration/.test(location.pathname)}const on={get:(e,t)=>t||{},set:(e,t)=>t,connect:e=>{const t=()=>{const n={};e.platform==="mobile"&&(window.innerWidth<960?n.paddingRight="0px":n.paddingRight=nn()?"400px":""),e.mobileBodyStyle=n};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}};function Xe(){return location.host.includes("oa.com")}function Oo(e=()=>{}){const t=document.documentElement,n={attributes:!0},o=i=>{for(const a of i)if(a.attributeName==="theme-mode"){const s=a.target.getAttribute("theme-mode")||"light";e(s)}},r=new MutationObserver(o);return r.observe(t,n),r}function Oe(){return/-en$/.test(location.pathname)?"en":"zh"}function Mt(e,t=!0){return e===void 0?t:typeof e=="string"?e==="true":!!e}const Yi=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join(""),Eo=[];function Ji(){if(Oe()==="en"){const t=location.pathname.slice(0,-3);location.pathname=t}else location.pathname==="/"?location.pathname="index-en":location.pathname=`${location.pathname}-en`}function Wi(e=Ji){Eo.includes(e)||(Eo.push(e),document.addEventListener("tdesign_site_lang",e))}function he(e){return Oe()==="en"?`${e}-en`:e}const _i=()=>{const e=Xe(),n=Oe()==="en",o=[{name:n?"Design":"设计",path:he("/design"),type:"main",target:"_self"},{name:n?"Components":"基础组件",path:he("/vue/overview"),type:"base",target:"_self"},e?{name:n?"Industry component":"行业组件",path:"/trade",type:"main",target:"_self"}:null,{name:n?"Templates":"页面模板",path:"https://tdesign.tencent.com/starter/",type:"main",target:"_self"},{name:n?"Resources":"资源",path:he("/source"),type:"main",target:"_self"},{name:n?"About":"关于",path:he("/about/introduce"),type:"main",target:"_self"}].filter(a=>a),r={web:{name:n?"Web PC":"Web 桌面端",links:[{name:"Vue",icon:tn,path:he("/vue/overview"),npm:"tdesign-vue",status:1},{name:"Vue Next",icon:tn,path:he("/vue-next/overview"),npm:"tdesign-vue-next",status:1},{name:"React",icon:To,path:he("/react/overview"),npm:"tdesign-react",status:1}]},mobile:{name:n?"Mobile":"Mobile 移动端",links:[{name:"Vue Next",icon:tn,path:he("/mobile-vue/overview"),npm:"tdesign-mobile-vue",status:1},{name:"React",icon:To,path:he("/mobile-react/overview"),npm:"tdesign-mobile-react",status:2},{name:"Flutter",icon:Zi,path:he("/flutter/overview"),npm:"tdesign-flutter",status:2},{name:n?"WeChat-Miniprogram":"微信小程序",icon:Ho,path:he("/miniprogram/overview"),npm:"tdesign-miniprogram",status:1},{name:n?"QQ-Miniprogram":"QQ 小程序",icon:Ho,path:he("/qq-miniprogram/overview"),npm:"tdesign-qq-miniprogram",status:2}]}};return{headerList:o,baseComponentsLinks:r,baseComponentPrefix:["vue","react","mobile-vue","mobile-react","vue-next","flutter","miniprogram"]}},$i=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
20
+ </svg>`,tn="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M24.0133%205.06641L19.9833%2012.0465L15.9535%205.06641H2.5332L19.9835%2035.2915L37.4337%205.06641H24.0133Z'%20fill='%2342B983'/%3e%3cpath%20d='M24.0137%205.06641L19.9837%2012.0465L15.9538%205.06641H9.51367L19.9838%2023.2011L30.4539%205.06641H24.0137Z'%20fill='%2335495E'/%3e%3c/svg%3e",To="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.1175%205.91895C28.521%206.15192%2028.9018%206.65217%2029.1092%207.6216C29.3165%208.59087%2029.316%209.89706%2029.0621%2011.4818C28.9831%2011.9749%2028.8805%2012.4888%2028.7548%2013.0205C27.3951%2012.7295%2025.934%2012.5052%2024.4005%2012.3569C23.5053%2011.103%2022.5805%209.94987%2021.6487%208.91778C22.0462%208.54307%2022.44%208.19733%2022.8276%207.88233C24.0731%206.87007%2025.204%206.21654%2026.1471%205.91145C27.0903%205.60631%2027.7139%205.68597%2028.1175%205.91895ZM18.3272%208.91778C17.9297%208.54307%2017.5359%208.19734%2017.1483%207.88235C15.9029%206.87009%2014.7719%206.21656%2013.8288%205.91147C12.8856%205.60633%2012.262%205.68599%2011.8585%205.91896C11.4549%206.15194%2011.0741%206.65219%2010.8668%207.62162C10.6595%208.59088%2010.66%209.89708%2010.9138%2011.4818C10.9929%2011.975%2011.0954%2012.4888%2011.2211%2013.0205C12.5809%2012.7295%2014.0419%2012.5052%2015.5755%2012.3569C16.4706%2011.103%2017.3954%209.94987%2018.3272%208.91778ZM19.988%207.21345C19.5394%206.78938%2019.0922%206.39612%2018.649%206.03591C17.2716%204.91642%2015.8816%204.07479%2014.5612%203.64762C13.2409%203.2205%2011.8585%203.17148%2010.6688%203.85837C9.47905%204.54526%208.83027%205.76701%208.54003%207.12395C8.24976%208.48106%208.28365%2010.1056%208.56444%2011.8582C8.65479%2012.4222%208.7718%2013.006%208.91475%2013.6065C8.32322%2013.783%207.75908%2013.9736%207.22554%2014.1773C5.56732%2014.8104%204.14347%2015.5934%203.11332%2016.5233C2.08329%2017.4531%201.34961%2018.6259%201.34961%2019.9996C1.34961%2021.3734%202.08329%2022.5461%203.11332%2023.476C4.14347%2024.4059%205.56732%2025.1888%207.22554%2025.822C7.75909%2026.0257%208.32324%2026.2163%208.91478%2026.3927C8.77182%2026.9933%208.65481%2027.5772%208.56445%2028.1411C8.28366%2029.8937%208.24976%2031.5183%208.54004%2032.8754C8.83028%2034.2323%209.47905%2035.4541%2010.6688%2036.141C11.8585%2036.8279%2013.241%2036.7788%2014.5612%2036.3517C15.8816%2035.9246%2017.2716%2035.0829%2018.649%2033.9634C19.0922%2033.6032%2019.5394%2033.21%2019.988%2032.7859C20.4365%2033.21%2020.8837%2033.6032%2021.3269%2033.9635C22.7043%2035.0829%2024.0943%2035.9246%2025.4147%2036.3517C26.735%2036.7789%2028.1174%2036.8279%2029.3071%2036.141C30.4969%2035.4541%2031.1456%2034.2324%2031.4359%2032.8754C31.7262%2031.5183%2031.6923%2029.8937%2031.4115%2028.1411C31.3211%2027.5772%2031.2041%2026.9933%2031.0611%2026.3928C31.6527%2026.2163%2032.2169%2026.0257%2032.7504%2025.822C34.4087%2025.1888%2035.8325%2024.4059%2036.8627%2023.476C37.8927%2022.5461%2038.6264%2021.3734%2038.6264%2019.9996C38.6264%2018.6259%2037.8927%2017.4531%2036.8627%2016.5233C35.8325%2015.5934%2034.4087%2014.8104%2032.7504%2014.1773C32.2169%2013.9736%2031.6527%2013.783%2031.0612%2013.6065C31.2041%2013.006%2031.3211%2012.4221%2031.4115%2011.8582C31.6923%2010.1056%2031.7262%208.48104%2031.4359%207.12393C31.1457%205.76699%2030.4969%204.54524%2029.3072%203.85835C28.1174%203.17147%2026.735%203.22049%2025.4147%203.6476C24.0943%204.07477%2022.7043%204.9164%2021.3269%206.03589C20.8837%206.3961%2020.4365%206.78938%2019.988%207.21345ZM28.1027%2015.3146C27.4695%2015.1824%2026.8097%2015.0649%2026.1268%2014.9637C26.3504%2015.3277%2026.5709%2015.6979%2026.7879%2016.0737C27.0049%2016.4496%2027.2152%2016.8256%2027.4186%2017.2013C27.6724%2016.5592%2027.9006%2015.9291%2028.1027%2015.3146ZM28.813%2019.9997C29.4514%2018.5974%2029.9876%2017.22%2030.4155%2015.8969C30.9388%2016.0538%2031.4351%2016.222%2031.9017%2016.4001C33.4011%2016.9726%2034.5326%2017.6253%2035.2683%2018.2895C36.0042%2018.9538%2036.247%2019.5337%2036.247%2019.9996C36.247%2020.4656%2036.0042%2021.0455%2035.2683%2021.7098C34.5326%2022.374%2033.4011%2023.0266%2031.9017%2023.5991C31.4351%2023.7773%2030.9388%2023.9454%2030.4155%2024.1024C29.9876%2022.7793%2029.4513%2021.4019%2028.813%2019.9997ZM26.183%2019.9997C25.7431%2019.097%2025.2576%2018.1819%2024.7273%2017.2634C24.197%2016.3449%2023.6473%2015.4669%2023.0854%2014.6346C22.0837%2014.5641%2021.0485%2014.5271%2019.988%2014.5271C18.9274%2014.5271%2017.8922%2014.5641%2016.8905%2014.6346C16.3286%2015.4669%2015.7789%2016.3449%2015.2486%2017.2634C14.7183%2018.1819%2014.2328%2019.0969%2013.7929%2019.9997C14.2328%2020.9024%2014.7183%2021.8175%2015.2486%2022.736C15.7789%2023.6544%2016.3286%2024.5324%2016.8904%2025.3647C17.8921%2025.4351%2018.9274%2025.4722%2019.988%2025.4722C21.0485%2025.4722%2022.0838%2025.4351%2023.0855%2025.3647C23.6474%2024.5324%2024.1971%2023.6544%2024.7273%2022.7359C25.2576%2021.8175%2025.7431%2020.9024%2026.183%2019.9997ZM26.1268%2025.0356C26.3504%2024.6716%2026.5709%2024.3015%2026.7879%2023.9256C27.0049%2023.5498%2027.2152%2023.1738%2027.4186%2022.7981C27.6724%2023.4401%2027.9006%2024.0702%2028.1027%2024.6847C27.4695%2024.8169%2026.8097%2024.9343%2026.1268%2025.0356ZM21.2798%2027.834C20.8528%2027.8456%2020.422%2027.8515%2019.988%2027.8515C19.554%2027.8515%2019.1232%2027.8456%2018.6961%2027.834C19.1252%2028.3748%2019.5568%2028.8875%2019.988%2029.3698C20.4191%2028.8875%2020.8507%2028.3748%2021.2798%2027.834ZM21.6487%2031.0816C22.5805%2030.0495%2023.5053%2028.8963%2024.4005%2027.6424C25.934%2027.4941%2027.3951%2027.2698%2028.7548%2026.9788C28.8805%2027.5105%2028.9831%2028.0244%2029.0621%2028.5175C29.316%2030.1023%2029.3165%2031.4085%2029.1091%2032.3777C28.9018%2033.3472%2028.521%2033.8474%2028.1175%2034.0804C27.7139%2034.3134%2027.0903%2034.393%2026.1471%2034.0879C25.204%2033.7828%2024.0731%2033.1293%2022.8276%2032.117C22.44%2031.802%2022.0462%2031.4563%2021.6487%2031.0816ZM18.3272%2031.0816C17.3954%2030.0495%2016.4706%2028.8963%2015.5754%2027.6424C14.0419%2027.494%2012.5809%2027.2698%2011.2211%2026.9788C11.0954%2027.5105%2010.9929%2028.0244%2010.9139%2028.5175C10.66%2030.1023%2010.6595%2031.4085%2010.8668%2032.3777C11.0741%2033.3472%2011.4549%2033.8474%2011.8585%2034.0804C12.262%2034.3134%2012.8856%2034.393%2013.8288%2034.0879C14.7719%2033.7828%2015.9029%2033.1293%2017.1483%2032.117C17.5359%2031.802%2017.9297%2031.4563%2018.3272%2031.0816ZM11.8732%2024.6847C12.5064%2024.8169%2013.1662%2024.9343%2013.8491%2025.0356C13.6255%2024.6716%2013.405%2024.3015%2013.188%2023.9256C12.971%2023.5498%2012.7607%2023.1738%2012.5573%2022.7981C12.3035%2023.4401%2012.0754%2024.0702%2011.8732%2024.6847ZM12.5573%2017.2012C12.7607%2016.8256%2012.971%2016.4496%2013.188%2016.0737C13.405%2015.6978%2013.6255%2015.3277%2013.8491%2014.9637C13.1662%2015.0649%2012.5064%2015.1824%2011.8732%2015.3146C12.0753%2015.9291%2012.3035%2016.5592%2012.5573%2017.2012ZM11.1629%2019.9997C10.5246%2021.4019%209.98831%2022.7793%209.56042%2024.1023C9.03713%2023.9454%208.54083%2023.7773%208.07426%2023.5991C6.57488%2023.0266%205.44343%2022.374%204.70768%2021.7098C3.9718%2021.0455%203.72898%2020.4656%203.72898%2019.9996C3.72898%2019.5337%203.9718%2018.9538%204.70768%2018.2895C5.44343%2017.6253%206.57488%2016.9726%208.07426%2016.4001C8.54082%2016.222%209.03711%2016.0539%209.56038%2015.8969C9.98828%2017.22%2010.5246%2018.5974%2011.1629%2019.9997ZM18.6962%2012.1653C19.1232%2012.1536%2019.554%2012.1477%2019.988%2012.1477C20.422%2012.1477%2020.8527%2012.1536%2021.2797%2012.1652C20.8506%2011.6245%2020.419%2011.1119%2019.988%2010.6295C19.5569%2011.1119%2019.1253%2011.6245%2018.6962%2012.1653ZM23.2393%2019.9997C23.2393%2021.7956%2021.7834%2023.2515%2019.9875%2023.2515C18.1916%2023.2515%2016.7357%2021.7956%2016.7357%2019.9997C16.7357%2018.2038%2018.1916%2016.7479%2019.9875%2016.7479C21.7834%2016.7479%2023.2393%2018.2038%2023.2393%2019.9997Z'%20fill='%2361DAFB'/%3e%3c/svg%3e",Ho="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_22539_139637'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='40'%20height='40'%3e%3crect%20width='40'%20height='40'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_22539_139637)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M32.4972%204.95434C35.1486%206.25306%2036.7951%208.81475%2037.3777%2012.1934C37.9432%2015.473%2036.4782%2018.0897%2034.8157%2019.8171C33.1907%2021.5055%2031.1401%2022.6188%2029.704%2023.0506C28.3818%2023.4482%2026.9876%2022.6987%2026.59%2021.3764C26.1924%2020.0542%2026.942%2018.66%2028.2642%2018.2624C28.8967%2018.0722%2030.1971%2017.4056%2031.2131%2016.3499C32.1915%2015.3333%2032.6572%2014.2419%2032.4504%2013.043C32.0677%2010.8235%2031.1629%209.86839%2030.2978%209.4446C29.3298%208.97047%2027.8151%208.86811%2025.7622%209.53967C23.2029%2010.3769%2022.7262%2012.1074%2022.6585%2012.7263V28.3271L22.6246%2028.5308C22.3096%2030.4256%2021.0062%2032.7905%2018.9145%2034.4353C16.6883%2036.1857%2013.5289%2037.1461%209.75544%2035.9603C5.964%2034.7689%203.98007%2032.1666%203.23478%2029.4408C2.53713%2026.8892%202.92557%2024.2691%203.68407%2022.6241C4.14363%2021.6274%205.13716%2020.3341%206.39848%2019.2718C7.67494%2018.1968%209.53668%2017.0968%2011.7876%2017.0101C13.1673%2016.9569%2014.3289%2018.0322%2014.3821%2019.4119C14.4353%2020.7916%2013.3599%2021.9532%2011.9802%2022.0063C11.2523%2022.0344%2010.4251%2022.4177%209.61935%2023.0962C8.79849%2023.7876%208.31664%2024.5182%208.22464%2024.7177C7.94126%2025.3323%207.68144%2026.7458%208.05776%2028.1221C8.38644%2029.3243%209.19871%2030.5443%2011.2543%2031.1903C13.3279%2031.8419%2014.7885%2031.319%2015.8239%2030.5048C16.8991%2029.6594%2017.4928%2028.509%2017.6585%2027.8677V12.5293L17.6648%2012.4407C17.8097%2010.4042%2019.1476%206.44281%2024.2076%204.7875C26.9814%203.8801%2029.9486%203.70596%2032.4972%204.95434Z'%20fill='%2300A870'/%3e%3c/g%3e%3c/svg%3e",Zi="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M23.1861%203.33301L6.5%2019.9997L11.6389%2025.1386L33.4222%203.34967H23.2042L23.1861%203.33301ZM23.2056%2018.7108L14.2181%2027.6788L23.2042%2036.665H33.4444L24.4722%2027.6816L33.4444%2018.7094L23.2056%2018.7108Z'%20fill='%2344D1FD'/%3e%3c/svg%3e";function Po(e){if(!e)return;function t(){requestAnimationFrame(()=>{if(!e||!e.shadowRoot||e.patchDom)return;const n=document.createElement("div");n.setAttribute("slot","__render_content__"),n.innerHTML=e.shadowRoot.innerHTML,e.appendChild(n)})}return window.addEventListener("load",t),()=>window.removeEventListener("load",t)}function nn(){return/\/components\//.test(location.pathname)}function Bo(){return/\/global-configuration/.test(location.pathname)}const on={get:(e,t)=>t||{},set:(e,t)=>t,connect:e=>{const t=()=>{const n={};e.platform==="mobile"&&(window.innerWidth<960?n.paddingRight="0px":n.paddingRight=nn()?"400px":""),e.mobileBodyStyle=n};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}};function Xe(){return location.host.includes("oa.com")}function Oo(e=()=>{}){const t=document.documentElement,n={attributes:!0},o=i=>{for(const a of i)if(a.attributeName==="theme-mode"){const s=a.target.getAttribute("theme-mode")||"light";e(s)}},r=new MutationObserver(o);return r.observe(t,n),r}function Oe(){return/-en$/.test(location.pathname)?"en":"zh"}function Je(e,t=!0){return e===void 0?t:typeof e=="string"?e==="true":!!e}const Yi=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join(""),Eo=[];function Ji(){if(Oe()==="en"){const t=location.pathname.slice(0,-3);location.pathname=t}else location.pathname==="/"?location.pathname="index-en":location.pathname=`${location.pathname}-en`}function Wi(e=Ji){Eo.includes(e)||(Eo.push(e),document.addEventListener("tdesign_site_lang",e))}function he(e){return Oe()==="en"?`${e}-en`:e}const _i=()=>{const e=Xe(),n=Oe()==="en",o=[{name:n?"Design":"设计",path:he("/design"),type:"main",target:"_self"},{name:n?"Components":"基础组件",path:he("/vue/overview"),type:"base",target:"_self"},e?{name:n?"Industry component":"行业组件",path:"/trade",type:"main",target:"_self"}:null,{name:n?"Templates":"页面模板",path:"https://tdesign.tencent.com/starter/",type:"main",target:"_self"},{name:n?"Resources":"资源",path:he("/source"),type:"main",target:"_self"},{name:n?"About":"关于",path:he("/about/introduce"),type:"main",target:"_self"}].filter(a=>a),r={web:{name:n?"Web PC":"Web 桌面端",links:[{name:"Vue",icon:tn,path:he("/vue/overview"),npm:"tdesign-vue",status:1},{name:"Vue Next",icon:tn,path:he("/vue-next/overview"),npm:"tdesign-vue-next",status:1},{name:"React",icon:To,path:he("/react/overview"),npm:"tdesign-react",status:1}]},mobile:{name:n?"Mobile":"Mobile 移动端",links:[{name:"Vue Next",icon:tn,path:he("/mobile-vue/overview"),npm:"tdesign-mobile-vue",status:1},{name:"React",icon:To,path:he("/mobile-react/overview"),npm:"tdesign-mobile-react",status:2},{name:"Flutter",icon:Zi,path:he("/flutter/overview"),npm:"tdesign-flutter",status:2},{name:n?"WeChat-Miniprogram":"微信小程序",icon:Ho,path:he("/miniprogram/overview"),npm:"tdesign-miniprogram",status:1},{name:n?"QQ-Miniprogram":"QQ 小程序",icon:Ho,path:he("/qq-miniprogram/overview"),npm:"tdesign-qq-miniprogram",status:2}]}};return{headerList:o,baseComponentsLinks:r,baseComponentPrefix:["vue","react","mobile-vue","mobile-react","vue-next","flutter","miniprogram"]}},$i=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
21
21
  <path fill-rule="evenodd" clip-rule="evenodd" d="M2 5C2 3.34315 3.34315 2 5 2H7C8.65685 2 10 3.34315 10 5V11H8V8.5H4V11H2V5ZM4 6.5H8V5C8 4.44772 7.55228 4 7 4H5C4.44772 4 4 4.44772 4 5V6.5ZM12 3.5H18C19.6569 3.5 21 4.84315 21 6.5V9H19V6.5C19 5.94772 18.5523 5.5 18 5.5H12V3.5ZM18 11.5V13H22V15H20.9381C20.7182 16.7638 19.9241 18.3492 18.7488 19.5634C19.4441 19.845 20.2041 20 21 20H22V22H21C19.5425 22 18.1765 21.6102 17.0001 20.9297C15.8234 21.6104 14.4572 22 13 22H12V20H13C13.7962 20 14.5562 19.8449 15.2514 19.5633C14.6487 18.9407 14.1463 18.2205 13.7704 17.4291L13.3413 16.5258L15.1478 15.6676L15.5769 16.5709C15.9219 17.2971 16.4081 17.9427 16.9999 18.4723C17.9921 17.5843 18.687 16.371 18.917 15H12V13H16V11.5H18ZM6 13V19C6 19.5523 6.44772 20 7 20H9.5V22H7C5.34315 22 4 20.6569 4 19V13H6Z" fill="currentColor"/>
22
22
  </svg>
23
- `,ea=".TDesign-base-components-links{display:flex;flex-direction:column;padding:16px;width:832px;box-sizing:border-box;row-gap:16px}.TDesign-base-components-links__web,.TDesign-base-components-links__mobile{display:flex;flex-direction:column;row-gap:8px}.TDesign-base-components-links__list{display:flex;flex-wrap:wrap;gap:4px}.TDesign-base-components-links .title{color:var(--text-placeholder);margin:0 8px;font-size:14px;line-height:22px}.TDesign-base-components-links .link{border-radius:6px;transition:all .2s linear;color:var(--text-secondary);text-decoration:none;padding:8px;display:inline-flex;align-items:center;width:264px;box-sizing:border-box}.TDesign-base-components-links .link:not(.disabled):hover{color:var(--text-primary);background:var(--bg-color-container-hover)}.TDesign-base-components-links .link .details{display:flex;flex-direction:column}.TDesign-base-components-links .link .name{font-size:14px;line-height:24px;height:24px}.TDesign-base-components-links .link .version{font-size:14px;line-height:22px;color:var(--text-placeholder)}.TDesign-base-components-links .link .icon{max-width:40px;max-height:40px;margin-right:8px}.TDesign-base-components-links .link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-base-components-links .link.disabled{cursor:no-drop}.TDesign-base-components-links .link .disable-tag,.TDesign-base-components-links .link .alpha-tag,.TDesign-base-components-links .link .beta-tag,.TDesign-base-components-links .link .rc-tag,.TDesign-base-components-links .link .stable-tag{font-size:12px;border-radius:var(--border-radius);padding:2px 4px;margin-left:4px;vertical-align:bottom}.TDesign-base-components-links .link .disable-tag{color:var(--text-secondary);background:var(--bg-color-tag)}.TDesign-base-components-links .link .alpha-tag{color:var(--brand-main);background:var(--brand-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-base-components-links .link .beta-tag,.TDesign-base-components-links .link .rc-tag{color:var(--success-main);background:var(--success-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-base-components-links .link .stable-tag{color:#029cd4;background:#029cd41a;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}@media screen and (max-width: 960px){.TDesign-base-components-links{display:none}}",ta=':host{position:relative;--header-inner-max-width: 100%;--header-inner-padding: 0 24px;--search-display: block}@media screen and (max-width: 1200px){:host{--search-display: none}}.TDesign-header-notice{width:100%;line-height:24px;padding:8px 16px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;position:relative}.TDesign-header-notice.primary{background-color:var(--brand-main)}.TDesign-header-notice__content{cursor:pointer;color:#ffffffe6;transition:all .2s}.TDesign-header-notice__content:hover{color:#fff}.TDesign-header-notice__close{display:inline-flex;align-items:center;position:absolute;right:8px;cursor:pointer;transition:all .2s;color:#ffffffe6}.TDesign-header-notice__close:hover{color:#fff}.TDesign-header-notice__close svg{width:16px;height:16px}.TDesign-header{height:var(--header-height);background-color:var(--bg-color-container);color:var(--text-secondary);position:relative;z-index:1400;box-shadow:var(--header-box-shadow)}.TDesign-header-inner{padding:var(--header-inner-padding);height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;max-width:var(--header-inner-max-width);margin:auto;transition:all .25s var(--anim-time-fn-easing)}.TDesign-header-left{display:flex;align-items:center}.TDesign-header .slot-search{display:var(--search-display)}.TDesign-header-nav{display:flex;align-items:center;justify-content:flex-start;column-gap:8px}.TDesign-header-nav__link{cursor:pointer;padding:4px 16px;box-sizing:border-box;height:32px;line-height:24px;color:var(--text-primary);text-decoration:none;border-radius:var(--border-radius);transition:all .1s;display:inline-block;vertical-align:middle;word-break:keep-all;flex-shrink:0}.TDesign-header-nav__link:hover{background:var(--bg-color-container-hover)}.TDesign-header-nav__link:hover .icon svg path{d:path("M3.75 10.2002L7.99274 5.7998L12.2361 10.0425")}.TDesign-header-nav__link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-header-nav__link .icon{width:16px;height:16px;display:inline-block;vertical-align:middle;margin-top:-4px;margin-left:4px}.TDesign-header-nav__link .icon svg path{transition:d .2s;stroke:currentColor}.TDesign-header-nav__git,.TDesign-header-nav__translate{display:inline-flex;color:var(--text-primary);border-radius:var(--border-radius);transition:all .2s linear;width:32px;height:32px;align-items:center;justify-content:center;cursor:pointer}.TDesign-header-nav__git:hover,.TDesign-header-nav__translate:hover{background:var(--bg-color-container-hover)}.TDesign-header-nav__git-icon,.TDesign-header-nav__translate-icon{width:24px;height:24px;display:inline-block}.TDesign-header-nav td-theme-tabs{margin-left:8px}',na=_i(),{headerList:Mo,baseComponentsLinks:gt,baseComponentPrefix:oa}=na;function kt(e,t,n){t.preventDefault(),n.status&&(location.href=n.path)}function Qt(e){if(e===0)return j`<span class="disable-tag">待上线</span>`;if(e===1)return j`<span class="stable-tag">Stable</span>`;if(e===2)return j`<span class="alpha-tag">Alpha</span>`;if(e===3)return j`<span class="beta-tag">Beta</span>`;if(e===4)return j`<span class="rc-tag">Rc</span>`}function rn(e){return/^https?:/.test(e)?location.href.includes(e):location.pathname.includes(e)}function ra(e){if(location.host!=="tdesign.tencent.com"&&!localStorage.getItem("TDesign_notice"))return j``;const{notice:t}=e;let n=location.pathname.split("/")[1]||"site";["design","source","about"].includes(n)&&(n="site");let o=t[n];if(o!=null&&o.title||(o=t.all),!(o!=null&&o.title))return j``;if(localStorage.getItem("TDesign_notice_closed")===(o==null?void 0:o.title))return j``;const r=(s="96px")=>{const c=document.querySelector("td-doc-aside");c&&(c.style.setProperty("--aside-top",s),c.shadowRoot.querySelector(".TDesign-doc-aside").style.top=s)},i=()=>{e.shadowRoot&&(e.shadowRoot.querySelector(".TDesign-header-notice").style.display="none",r("64px"),localStorage.setItem("TDesign_notice_closed",o==null?void 0:o.title))},a=()=>{o!=null&&o.actionUrl&&(location.href=o.actionUrl)};return r(),j`
23
+ `,ea=".TDesign-base-components-links{display:flex;flex-direction:column;padding:16px;width:832px;box-sizing:border-box;row-gap:16px}.TDesign-base-components-links__web,.TDesign-base-components-links__mobile{display:flex;flex-direction:column;row-gap:8px}.TDesign-base-components-links__list{display:flex;flex-wrap:wrap;gap:4px}.TDesign-base-components-links .title{color:var(--text-placeholder);margin:0 8px;font-size:14px;line-height:22px}.TDesign-base-components-links .link{border-radius:6px;transition:all .2s linear;color:var(--text-secondary);text-decoration:none;padding:8px;display:inline-flex;align-items:center;width:264px;box-sizing:border-box}.TDesign-base-components-links .link:not(.disabled):hover{color:var(--text-primary);background:var(--bg-color-container-hover)}.TDesign-base-components-links .link .details{display:flex;flex-direction:column}.TDesign-base-components-links .link .name{font-size:14px;line-height:24px;height:24px}.TDesign-base-components-links .link .version{font-size:14px;line-height:22px;color:var(--text-placeholder)}.TDesign-base-components-links .link .icon{max-width:40px;max-height:40px;margin-right:8px}.TDesign-base-components-links .link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-base-components-links .link.disabled{cursor:no-drop}.TDesign-base-components-links .link .disable-tag,.TDesign-base-components-links .link .alpha-tag,.TDesign-base-components-links .link .beta-tag,.TDesign-base-components-links .link .rc-tag,.TDesign-base-components-links .link .stable-tag{font-size:12px;border-radius:var(--border-radius);padding:2px 4px;margin-left:4px;vertical-align:bottom}.TDesign-base-components-links .link .disable-tag{color:var(--text-secondary);background:var(--bg-color-tag)}.TDesign-base-components-links .link .alpha-tag{color:var(--brand-main);background:var(--brand-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-base-components-links .link .beta-tag,.TDesign-base-components-links .link .rc-tag{color:var(--success-main);background:var(--success-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-base-components-links .link .stable-tag{color:#029cd4;background:#029cd41a;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}@media screen and (max-width: 960px){.TDesign-base-components-links{display:none}}",ta=':host{position:relative;--header-inner-max-width: 100%;--header-inner-padding: 0 24px;--search-display: block}@media screen and (max-width: 1200px){:host{--search-display: none}}.TDesign-header-notice{width:100%;line-height:24px;padding:8px 16px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;position:relative}.TDesign-header-notice.primary{background-color:var(--brand-main)}.TDesign-header-notice__content{cursor:pointer;color:#ffffffe6;transition:all .2s}.TDesign-header-notice__content:hover{color:#fff}.TDesign-header-notice__close{display:inline-flex;align-items:center;position:absolute;right:8px;cursor:pointer;transition:all .2s;color:#ffffffe6}.TDesign-header-notice__close:hover{color:#fff}.TDesign-header-notice__close svg{width:16px;height:16px}.TDesign-header{height:var(--header-height);background-color:var(--bg-color-container);color:var(--text-secondary);position:relative;z-index:1400;box-shadow:var(--header-box-shadow)}.TDesign-header-inner{padding:var(--header-inner-padding);height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;max-width:var(--header-inner-max-width);margin:auto;transition:all .25s var(--anim-time-fn-easing)}.TDesign-header-left{display:flex;align-items:center}.TDesign-header .slot-search{display:var(--search-display)}.TDesign-header-nav{display:flex;align-items:center;justify-content:flex-start;column-gap:8px}.TDesign-header-nav__link{cursor:pointer;padding:4px 16px;box-sizing:border-box;height:32px;line-height:24px;color:var(--text-primary);text-decoration:none;border-radius:var(--border-radius);transition:all .1s;display:inline-block;vertical-align:middle;word-break:keep-all;flex-shrink:0}.TDesign-header-nav__link:hover{background:var(--bg-color-container-hover)}.TDesign-header-nav__link:hover .icon svg path{d:path("M3.75 10.2002L7.99274 5.7998L12.2361 10.0425")}.TDesign-header-nav__link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-header-nav__link .icon{width:16px;height:16px;display:inline-block;vertical-align:middle;margin-top:-4px;margin-left:4px}.TDesign-header-nav__link .icon svg path{transition:d .2s;stroke:currentColor}.TDesign-header-nav__git,.TDesign-header-nav__translate{display:inline-flex;color:var(--text-primary);border-radius:var(--border-radius);transition:all .2s linear;width:32px;height:32px;align-items:center;justify-content:center;cursor:pointer}.TDesign-header-nav__git:hover,.TDesign-header-nav__translate:hover{background:var(--bg-color-container-hover)}.TDesign-header-nav__git-icon,.TDesign-header-nav__translate-icon{width:24px;height:24px;display:inline-block}.TDesign-header-nav td-theme-tabs{margin-left:8px}',na=_i(),{headerList:Mo,baseComponentsLinks:ht,baseComponentPrefix:oa}=na;function kt(e,t,n){t.preventDefault(),n.status&&(location.href=n.path)}function Qt(e){if(e===0)return j`<span class="disable-tag">待上线</span>`;if(e===1)return j`<span class="stable-tag">Stable</span>`;if(e===2)return j`<span class="alpha-tag">Alpha</span>`;if(e===3)return j`<span class="beta-tag">Beta</span>`;if(e===4)return j`<span class="rc-tag">Rc</span>`}function rn(e){return/^https?:/.test(e)?location.href.includes(e):location.pathname.includes(e)}function ra(e){if(location.host!=="tdesign.tencent.com"&&!localStorage.getItem("TDesign_notice"))return j``;const{notice:t}=e;let n=location.pathname.split("/")[1]||"site";["design","source","about"].includes(n)&&(n="site");let o=t[n];if(o!=null&&o.title||(o=t.all),!(o!=null&&o.title))return j``;if(localStorage.getItem("TDesign_notice_closed")===(o==null?void 0:o.title))return j``;const r=(s="96px")=>{const c=document.querySelector("td-doc-aside");c&&(c.style.setProperty("--aside-top",s),c.shadowRoot.querySelector(".TDesign-doc-aside").style.top=s)},i=()=>{e.shadowRoot&&(e.shadowRoot.querySelector(".TDesign-header-notice").style.display="none",r("64px"),localStorage.setItem("TDesign_notice_closed",o==null?void 0:o.title))},a=()=>{o!=null&&o.actionUrl&&(location.href=o.actionUrl)};return r(),j`
24
24
  <div class="TDesign-header-notice ${o.type}">
25
25
  <div class="TDesign-header-notice__content" onclick="${a}">${o.title}</div>
26
26
  ${o.closeable&&j`<i class="TDesign-header-notice__close" innerHTML="${en}" onclick="${i}"></i>`}
@@ -30,9 +30,9 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
30
30
  ${t}
31
31
  <div slot="content" class="TDesign-base-components-links">
32
32
  <div class="TDesign-base-components-links__web">
33
- <p class="title">${gt.web.name}</p>
33
+ <p class="title">${ht.web.name}</p>
34
34
  <div class="TDesign-base-components-links__list">
35
- ${gt.web.links.map(n=>j`
35
+ ${ht.web.links.map(n=>j`
36
36
  <a
37
37
  href="${n.path}"
38
38
  class="link ${rn(n.path)?"active":""} ${n.status?"":"disabled"}"
@@ -51,9 +51,9 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
51
51
  </div>
52
52
 
53
53
  <div class="TDesign-base-components-links__mobile">
54
- <p class="title">${gt.mobile.name}</p>
54
+ <p class="title">${ht.mobile.name}</p>
55
55
  <div class="TDesign-base-components-links__list">
56
- ${gt.mobile.links.map(n=>j`
56
+ ${ht.mobile.links.map(n=>j`
57
57
  <a
58
58
  href="${n.path}"
59
59
  class="link ${rn(n.path)?"active":""} ${n.status?"":"disabled"}"
@@ -105,7 +105,7 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
105
105
  platform="${t}"
106
106
  framework="${n}"
107
107
  headerList="${Mo}"
108
- baseComponentsLinks="${gt}"
108
+ baseComponentsLinks="${ht}"
109
109
  >
110
110
  </td-collapse-menu>
111
111
  `:j`
@@ -385,7 +385,7 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
385
385
  `});W=!1,oe=G.length}function se(ne,de){var ce="="+re,pe=ne.indexOf(ce,de),we=C(ne.substring(ne.indexOf("=",de)+1,pe)).split(" ");return Y=we[0],re=we[we.length-1],pe+ce.length-1}for(k&&(k=k.split(" "),Y=k[0],re=k[1]),K=0;K<T;K++)z==M?w(Y,B,K)?(--K,V(),z=R):B.charAt(K)==`
386
386
  `?ae(W):U+=B.charAt(K):z==R?(K+=Y.length-1,Z=o.tags[B.charAt(K+1)],F=Z?B.charAt(K+1):"_v",F=="="?(K=se(B,K),z=M):(Z&&K++,z=S),W=K):w(re,B,K)?(G.push({tag:F,n:C(U),otag:Y,ctag:re,i:F=="/"?W-Y.length:K+re.length}),U="",K+=re.length-1,z=M,F=="{"&&(re=="}}"?K++:f(G[G.length-1]))):U+=B.charAt(K);return ae(W,!0),G};function f(x){x.n.substr(x.n.length-1)==="}"&&(x.n=x.n.substring(0,x.n.length-1))}function C(x){return x.trim?x.trim():x.replace(/^\s*|\s*$/g,"")}function w(x,B,k){if(B.charAt(k)!=x.charAt(0))return!1;for(var T=1,M=x.length;T<M;T++)if(B.charAt(k+T)!=x.charAt(T))return!1;return!0}var u={_t:!0,"\n":!0,$:!0,"/":!0};function l(x,B,k,T){var M=[],R=null,S=null,z=null;for(S=k[k.length-1];x.length>0;){if(z=x.shift(),S&&S.tag=="<"&&!(z.tag in u))throw new Error("Illegal content in < super tag.");if(o.tags[z.tag]<=o.tags.$||d(z,T))k.push(z),z.nodes=l(x,z.tag,k,T);else if(z.tag=="/"){if(k.length===0)throw new Error("Closing tag without opener: /"+z.n);if(R=k.pop(),z.n!=R.n&&!v(z.n,R.n,T))throw new Error("Nesting error: "+R.n+" vs. "+z.n);return R.end=z.i,M}else z.tag==`
387
387
  `&&(z.last=x.length==0||x[0].tag==`
388
- `);M.push(z)}if(k.length>0)throw new Error("missing closing tag: "+k.pop().n);return M}function d(x,B){for(var k=0,T=B.length;k<T;k++)if(B[k].o==x.n)return x.tag="#",!0}function v(x,B,k){for(var T=0,M=k.length;T<M;T++)if(k[T].c==x&&k[T].o==B)return!0}function p(x){var B=[];for(var k in x)B.push('"'+D(k)+'": function(c,p,t,i) {'+x[k]+"}");return"{ "+B.join(",")+" }"}function b(x){var B=[];for(var k in x.partials)B.push('"'+D(k)+'":{name:"'+D(x.partials[k].name)+'", '+b(x.partials[k])+"}");return"partials: {"+B.join(",")+"}, subs: "+p(x.subs)}o.stringify=function(x,B,k){return"{code: function (c,p,i) { "+o.wrapMain(x.code)+" },"+b(x)+"}"};var y=0;o.generate=function(x,B,k){y=0;var T={code:"",subs:{},partials:{}};return o.walk(x,T),k.asString?this.stringify(T,B,k):this.makeTemplate(T,B,k)},o.wrapMain=function(x){return'var t=this;t.b(i=i||"");'+x+"return t.fl();"},o.template=o.Template,o.makeTemplate=function(x,B,k){var T=this.makePartials(x);return T.code=new Function("c","p","i",this.wrapMain(x.code)),new this.template(T,B,this,k)},o.makePartials=function(x){var B,k={subs:{},partials:x.partials,name:x.name};for(B in k.partials)k.partials[B]=this.makePartials(k.partials[B]);for(B in x.subs)k.subs[B]=new Function("c","p","t","i",x.subs[B]);return k};function D(x){return x.replace(c,"\\\\").replace(i,'\\"').replace(a,"\\n").replace(s,"\\r").replace(h,"\\u2028").replace(g,"\\u2029")}function A(x){return~x.indexOf(".")?"d":"f"}function H(x,B){var k="<"+(B.prefix||""),T=k+x.n+y++;return B.partials[T]={name:x.n,partials:{}},B.code+='t.b(t.rp("'+D(T)+'",c,p,"'+(x.indent||"")+'"));',T}o.codegen={"#":function(x,B){B.code+="if(t.s(t."+A(x.n)+'("'+D(x.n)+'",c,p,1),c,p,0,'+x.i+","+x.end+',"'+x.otag+" "+x.ctag+'")){t.rs(c,p,function(c,p,t){',o.walk(x.nodes,B),B.code+="});c.pop();}"},"^":function(x,B){B.code+="if(!t.s(t."+A(x.n)+'("'+D(x.n)+'",c,p,1),c,p,1,0,0,"")){',o.walk(x.nodes,B),B.code+="};"},">":H,"<":function(x,B){var k={partials:{},code:"",subs:{},inPartial:!0};o.walk(x.nodes,k);var T=B.partials[H(x,B)];T.subs=k.subs,T.partials=k.partials},$:function(x,B){var k={subs:{},code:"",partials:B.partials,prefix:x.n};o.walk(x.nodes,k),B.subs[x.n]=k.code,B.inPartial||(B.code+='t.sub("'+D(x.n)+'",c,p,i);')},"\n":function(x,B){B.code+=P('"\\n"'+(x.last?"":" + i"))},_v:function(x,B){B.code+="t.b(t.v(t."+A(x.n)+'("'+D(x.n)+'",c,p,0)));'},_t:function(x,B){B.code+=P('"'+D(x.text)+'"')},"{":O,"&":O};function O(x,B){B.code+="t.b(t.t(t."+A(x.n)+'("'+D(x.n)+'",c,p,0)));'}function P(x){return"t.b("+x+");"}o.walk=function(x,B){for(var k,T=0,M=x.length;T<M;T++)k=o.codegen[x[T].tag],k&&k(x[T],B);return B},o.parse=function(x,B,k){return k=k||{},l(x,"",[],k.sectionTags||[])},o.cache={},o.cacheKey=function(x,B){return[x,!!B.asString,!!B.disableLambda,B.delimiters,!!B.modelGet].join("||")},o.compile=function(x,B){B=B||{};var k=o.cacheKey(x,B),T=this.cache[k];if(T){var M=T.partials;for(var R in M)delete M[R].instance;return T}return T=this.generate(this.parse(this.scan(x,B.delimiters),x,B),x,B),this.cache[k]=T}})(t)},function(e,t,n){(function(o){o.Template=function(l,d,v,p){l=l||{},this.r=l.code||this.r,this.c=v,this.options=p||{},this.text=d||"",this.partials=l.partials||{},this.subs=l.subs||{},this.buf=""},o.Template.prototype={r:function(l,d,v){return""},v:w,t:C,render:function(d,v,p){return this.ri([d],v||{},p)},ri:function(l,d,v){return this.r(l,d,v)},ep:function(l,d){var v=this.partials[l],p=d[v.name];if(v.instance&&v.base==p)return v.instance;if(typeof p=="string"){if(!this.c)throw new Error("No compiler available.");p=this.c.compile(p,this.options)}if(!p)return null;if(this.partials[l].base=p,v.subs){d.stackText||(d.stackText={});for(key in v.subs)d.stackText[key]||(d.stackText[key]=this.activeSub!==void 0&&d.stackText[this.activeSub]?d.stackText[this.activeSub]:this.text);p=i(p,v.subs,v.partials,this.stackSubs,this.stackPartials,d.stackText)}return this.partials[l].instance=p,p},rp:function(l,d,v,p){var b=this.ep(l,v);return b?b.ri(d,v,p):""},rs:function(l,d,v){var p=l[l.length-1];if(!u(p)){v(l,d,this);return}for(var b=0;b<p.length;b++)l.push(p[b]),v(l,d,this),l.pop()},s:function(l,d,v,p,b,y,D){var A;return u(l)&&l.length===0?!1:(typeof l=="function"&&(l=this.ms(l,d,v,p,b,y,D)),A=!!l,!p&&A&&d&&d.push(typeof l=="object"?l:d[d.length-1]),A)},d:function(l,d,v,p){var b,y=l.split("."),D=this.f(y[0],d,v,p),A=this.options.modelGet,H=null;if(l==="."&&u(d[d.length-2]))D=d[d.length-1];else for(var O=1;O<y.length;O++)b=r(y[O],D,A),b!==void 0?(H=D,D=b):D="";return p&&!D?!1:(!p&&typeof D=="function"&&(d.push(H),D=this.mv(D,d,v),d.pop()),D)},f:function(l,d,v,p){for(var b=!1,y=null,D=!1,A=this.options.modelGet,H=d.length-1;H>=0;H--)if(y=d[H],b=r(l,y,A),b!==void 0){D=!0;break}return D?(!p&&typeof b=="function"&&(b=this.mv(b,d,v)),b):p?!1:""},ls:function(l,d,v,p,b){var y=this.options.delimiters;return this.options.delimiters=b,this.b(this.ct(C(l.call(d,p)),d,v)),this.options.delimiters=y,!1},ct:function(l,d,v){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(l,this.options).render(d,v)},b:function(l){this.buf+=l},fl:function(){var l=this.buf;return this.buf="",l},ms:function(l,d,v,p,b,y,D){var A,H=d[d.length-1],O=l.call(H);return typeof O=="function"?p?!0:(A=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(O,H,v,A.substring(b,y),D)):O},mv:function(l,d,v){var p=d[d.length-1],b=l.call(p);return typeof b=="function"?this.ct(C(b.call(p)),p,v):b},sub:function(l,d,v,p){var b=this.subs[l];b&&(this.activeSub=l,b(d,v,this,p),this.activeSub=!1)}};function r(l,d,v){var p;return d&&typeof d=="object"&&(d[l]!==void 0?p=d[l]:v&&d.get&&typeof d.get=="function"&&(p=d.get(l))),p}function i(l,d,v,p,b,y){function D(){}D.prototype=l;function A(){}A.prototype=l.subs;var H,O=new D;O.subs=new A,O.subsText={},O.buf="",p=p||{},O.stackSubs=p,O.subsText=y;for(H in d)p[H]||(p[H]=d[H]);for(H in p)O.subs[H]=p[H];b=b||{},O.stackPartials=b;for(H in v)b[H]||(b[H]=v[H]);for(H in b)O.partials[H]=b[H];return O}var a=/&/g,s=/</g,c=/>/g,h=/\'/g,g=/\"/g,f=/[&<>\"\']/;function C(l){return String(l??"")}function w(l){return l=C(l),f.test(l)?l.replace(a,"&amp;").replace(s,"&lt;").replace(c,"&gt;").replace(h,"&#39;").replace(g,"&quot;"):l}var u=Array.isArray||function(l){return Object.prototype.toString.call(l)==="[object Array]"}})(t)},function(e,t,n){var o=n(30),r=n(41);e.exports=r(o,"(lite) ")},function(e,t,n){e.exports=h;var o=n(5),r=n(31),i=n(32),a=n(38),s=500,c=Object({NODE_ENV:"production"}).RESET_APP_DATA_TIMER&&parseInt(Object({NODE_ENV:"production"}).RESET_APP_DATA_TIMER,10)||60*2*1e3;function h(u,l,d){var v=n(8)("algoliasearch"),p=n(3),b=n(6),y=n(7),D="Usage: algoliasearch(applicationID, apiKey, opts)";if(d._allowEmptyCredentials!==!0&&!u)throw new o.AlgoliaSearchError("Please provide an application ID. "+D);if(d._allowEmptyCredentials!==!0&&!l)throw new o.AlgoliaSearchError("Please provide an API key. "+D);this.applicationID=u,this.apiKey=l,this.hosts={read:[],write:[]},d=d||{},this._timeouts=d.timeouts||{connect:1*1e3,read:2*1e3,write:30*1e3},d.timeout&&(this._timeouts.connect=this._timeouts.read=this._timeouts.write=d.timeout);var A=d.protocol||"https:";if(/:$/.test(A)||(A=A+":"),A!=="http:"&&A!=="https:")throw new o.AlgoliaSearchError("protocol must be `http:` or `https:` (was `"+d.protocol+"`)");if(this._checkAppIdData(),d.hosts)b(d.hosts)?(this.hosts.read=p(d.hosts),this.hosts.write=p(d.hosts)):(this.hosts.read=p(d.hosts.read),this.hosts.write=p(d.hosts.write));else{var H=y(this._shuffleResult,function(P){return u+"-"+P+".algolianet.com"}),O=(d.dsn===!1?"":"-dsn")+".algolia.net";this.hosts.read=[this.applicationID+O].concat(H),this.hosts.write=[this.applicationID+".algolia.net"].concat(H)}this.hosts.read=y(this.hosts.read,g(A)),this.hosts.write=y(this.hosts.write,g(A)),this.extraHeaders={},this.cache=d._cache||{},this._ua=d._ua,this._useCache=d._useCache===void 0||d._cache?!0:d._useCache,this._useRequestCache=this._useCache&&d._useRequestCache,this._useFallback=d.useFallback===void 0?!0:d.useFallback,this._setTimeout=d._setTimeout,v("init done, %j",this)}h.prototype.initIndex=function(u){return new i(this,u)},h.prototype.setExtraHeader=function(u,l){this.extraHeaders[u.toLowerCase()]=l},h.prototype.getExtraHeader=function(u){return this.extraHeaders[u.toLowerCase()]},h.prototype.unsetExtraHeader=function(u){delete this.extraHeaders[u.toLowerCase()]},h.prototype.addAlgoliaAgent=function(u){this._ua.indexOf(";"+u)===-1&&(this._ua+=";"+u)},h.prototype._jsonRequest=function(u){this._checkAppIdData();var l=n(8)("algoliasearch:"+u.url),d,v,p=u.additionalUA||"",b=u.cache,y=this,D=0,A=!1,H=y._useFallback&&y._request.fallback&&u.fallback,O;this.apiKey.length>s&&u.body!==void 0&&(u.body.params!==void 0||u.body.requests!==void 0)?(u.body.apiKey=this.apiKey,O=this._computeRequestHeaders({additionalUA:p,withApiKey:!1,headers:u.headers})):O=this._computeRequestHeaders({additionalUA:p,headers:u.headers}),u.body!==void 0&&(d=f(u.body)),l("request start");var P=[];function x(S,z){y._checkAppIdData();var F=new Date;if(y._useCache&&!y._useRequestCache&&(v=u.url),y._useCache&&!y._useRequestCache&&d&&(v+="_body_"+z.body),B(!y._useRequestCache,b,v)){l("serving response from cache");var Z=b[v];return y._promise.resolve({body:JSON.parse(Z),responseText:Z})}if(D>=y.hosts[u.hostType].length)return!H||A?(l("could not get any response"),y._promise.reject(new o.AlgoliaSearchError("Cannot connect to the AlgoliaSearch API. Send an email to support@algolia.com to report and resolve the issue. Application id was: "+y.applicationID,{debugData:P}))):(l("switching to fallback"),D=0,z.method=u.fallback.method,z.url=u.fallback.url,z.jsonBody=u.fallback.body,z.jsonBody&&(z.body=f(z.jsonBody)),O=y._computeRequestHeaders({additionalUA:p,headers:u.headers}),z.timeouts=y._getTimeoutsForRequest(u.hostType),y._setHostIndexByType(0,u.hostType),A=!0,x(y._request.fallback,z));var U=y._getHostByType(u.hostType),G=U+z.url,W={body:z.body,jsonBody:z.jsonBody,method:z.method,headers:O,timeouts:z.timeouts,debug:l,forceAuthHeaders:z.forceAuthHeaders};return l("method: %s, url: %s, headers: %j, timeouts: %d",W.method,G,W.headers,W.timeouts),S===y._request.fallback&&l("using fallback"),S.call(y,G,W).then(K,oe);function K(V){var ee=V&&V.body&&V.body.message&&V.body.status||V.statusCode||V&&V.body&&200;l("received response: statusCode: %s, computed statusCode: %d, headers: %j",V.statusCode,ee,V.headers);var ae=Math.floor(ee/100)===2,se=new Date;if(P.push({currentHost:U,headers:w(O),content:d||null,contentLength:d!==void 0?d.length:null,method:z.method,timeouts:z.timeouts,url:z.url,startTime:F,endTime:se,duration:se-F,statusCode:ee}),ae)return y._useCache&&!y._useRequestCache&&b&&(b[v]=V.responseText),{responseText:V.responseText,body:V.body};var ne=Math.floor(ee/100)!==4;if(ne)return D+=1,Y();l("unrecoverable error");var de=new o.AlgoliaSearchError(V.body&&V.body.message,{debugData:P,statusCode:ee});return y._promise.reject(de)}function oe(V){l("error: %s, stack: %s",V.message,V.stack);var ee=new Date;return P.push({currentHost:U,headers:w(O),content:d||null,contentLength:d!==void 0?d.length:null,method:z.method,timeouts:z.timeouts,url:z.url,startTime:F,endTime:ee,duration:ee-F}),V instanceof o.AlgoliaSearchError||(V=new o.Unknown(V&&V.message,V)),D+=1,V instanceof o.Unknown||V instanceof o.UnparsableJSON||D>=y.hosts[u.hostType].length&&(A||!H)?(V.debugData=P,y._promise.reject(V)):V instanceof o.RequestTimeout?re():Y()}function Y(){return l("retrying request"),y._incrementHostIndex(u.hostType),x(S,z)}function re(){return l("retrying request with higher timeout"),y._incrementHostIndex(u.hostType),y._incrementTimeoutMultipler(),z.timeouts=y._getTimeoutsForRequest(u.hostType),x(S,z)}}function B(S,z,F){return y._useCache&&S&&z&&z[F]!==void 0}function k(S,z){if(B(y._useRequestCache,b,v)&&S.catch(function(){delete b[v]}),typeof u.callback=="function")S.then(function(Z){r(function(){u.callback(null,z(Z))},y._setTimeout||setTimeout)},function(Z){r(function(){u.callback(Z)},y._setTimeout||setTimeout)});else return S.then(z)}if(y._useCache&&y._useRequestCache&&(v=u.url),y._useCache&&y._useRequestCache&&d&&(v+="_body_"+d),B(y._useRequestCache,b,v)){l("serving request from cache");var T=b[v],M=typeof T.then!="function"?y._promise.resolve({responseText:T}):T;return k(M,function(S){return JSON.parse(S.responseText)})}var R=x(y._request,{url:u.url,method:u.method,body:d,jsonBody:u.body,timeouts:y._getTimeoutsForRequest(u.hostType),forceAuthHeaders:u.forceAuthHeaders});return y._useCache&&y._useRequestCache&&b&&(b[v]=R),k(R,function(S){return S.body})},h.prototype._getSearchParams=function(u,l){if(u==null)return l;for(var d in u)d!==null&&u[d]!==void 0&&u.hasOwnProperty(d)&&(l+=l===""?"":"&",l+=d+"="+encodeURIComponent(Object.prototype.toString.call(u[d])==="[object Array]"?f(u[d]):u[d]));return l},h.prototype._computeRequestHeaders=function(u){var l=n(2),d=u.additionalUA?this._ua+";"+u.additionalUA:this._ua,v={"x-algolia-agent":d,"x-algolia-application-id":this.applicationID};return u.withApiKey!==!1&&(v["x-algolia-api-key"]=this.apiKey),this.userToken&&(v["x-algolia-usertoken"]=this.userToken),this.securityTags&&(v["x-algolia-tagfilters"]=this.securityTags),l(this.extraHeaders,function(b,y){v[y]=b}),u.headers&&l(u.headers,function(b,y){v[y]=b}),v},h.prototype.search=function(u,l,d){var v=n(6),p=n(7),b="Usage: client.search(arrayOfQueries[, callback])";if(!v(u))throw new Error(b);typeof l=="function"?(d=l,l={}):l===void 0&&(l={});var y=this,D={requests:p(u,function(P){var x="";return P.query!==void 0&&(x+="query="+encodeURIComponent(P.query)),{indexName:P.indexName,params:y._getSearchParams(P.params,x)}})},A=p(D.requests,function(P,x){return x+"="+encodeURIComponent("/1/indexes/"+encodeURIComponent(P.indexName)+"?"+P.params)}).join("&"),H="/1/indexes/*/queries";return l.strategy!==void 0&&(D.strategy=l.strategy),this._jsonRequest({cache:this.cache,method:"POST",url:H,body:D,hostType:"read",fallback:{method:"GET",url:"/1/indexes/*",body:{params:A}},callback:d})},h.prototype.searchForFacetValues=function(u){var l=n(6),d=n(7),v="Usage: client.searchForFacetValues([{indexName, params: {facetName, facetQuery, ...params}}, ...queries])";if(!l(u))throw new Error(v);var p=this;return p._promise.all(d(u,function(y){if(!y||y.indexName===void 0||y.params.facetName===void 0||y.params.facetQuery===void 0)throw new Error(v);var D=n(3),A=n(14),H=y.indexName,O=y.params,P=O.facetName,x=A(D(O),function(k){return k==="facetName"}),B=p._getSearchParams(x,"");return p._jsonRequest({cache:p.cache,method:"POST",url:"/1/indexes/"+encodeURIComponent(H)+"/facets/"+encodeURIComponent(P)+"/query",hostType:"read",body:{params:B}})}))},h.prototype.setSecurityTags=function(u){if(Object.prototype.toString.call(u)==="[object Array]"){for(var l=[],d=0;d<u.length;++d)if(Object.prototype.toString.call(u[d])==="[object Array]"){for(var v=[],p=0;p<u[d].length;++p)v.push(u[d][p]);l.push("("+v.join(",")+")")}else l.push(u[d]);u=l.join(",")}this.securityTags=u},h.prototype.setUserToken=function(u){this.userToken=u},h.prototype.clearCache=function(){this.cache={}},h.prototype.setRequestTimeout=function(u){u&&(this._timeouts.connect=this._timeouts.read=this._timeouts.write=u)},h.prototype.setTimeouts=function(u){this._timeouts=u},h.prototype.getTimeouts=function(){return this._timeouts},h.prototype._getAppIdData=function(){var u=a.get(this.applicationID);return u!==null&&this._cacheAppIdData(u),u},h.prototype._setAppIdData=function(u){return u.lastChange=new Date().getTime(),this._cacheAppIdData(u),a.set(this.applicationID,u)},h.prototype._checkAppIdData=function(){var u=this._getAppIdData(),l=new Date().getTime();return u===null||l-u.lastChange>c?this._resetInitialAppIdData(u):u},h.prototype._resetInitialAppIdData=function(u){var l=u||{};return l.hostIndexes={read:0,write:0},l.timeoutMultiplier=1,l.shuffleResult=l.shuffleResult||C([1,2,3]),this._setAppIdData(l)},h.prototype._cacheAppIdData=function(u){this._hostIndexes=u.hostIndexes,this._timeoutMultiplier=u.timeoutMultiplier,this._shuffleResult=u.shuffleResult},h.prototype._partialAppIdDataUpdate=function(u){var l=n(2),d=this._getAppIdData();return l(u,function(v,p){d[p]=v}),this._setAppIdData(d)},h.prototype._getHostByType=function(u){return this.hosts[u][this._getHostIndexByType(u)]},h.prototype._getTimeoutMultiplier=function(){return this._timeoutMultiplier},h.prototype._getHostIndexByType=function(u){return this._hostIndexes[u]},h.prototype._setHostIndexByType=function(u,l){var d=n(3),v=d(this._hostIndexes);return v[l]=u,this._partialAppIdDataUpdate({hostIndexes:v}),u},h.prototype._incrementHostIndex=function(u){return this._setHostIndexByType((this._getHostIndexByType(u)+1)%this.hosts[u].length,u)},h.prototype._incrementTimeoutMultipler=function(){var u=Math.max(this._timeoutMultiplier+1,4);return this._partialAppIdDataUpdate({timeoutMultiplier:u})},h.prototype._getTimeoutsForRequest=function(u){return{connect:this._timeouts.connect*this._timeoutMultiplier,complete:this._timeouts[u]*this._timeoutMultiplier}};function g(u){return function(d){return u+"//"+d.toLowerCase()}}function f(u){if(Array.prototype.toJSON===void 0)return JSON.stringify(u);var l=Array.prototype.toJSON;delete Array.prototype.toJSON;var d=JSON.stringify(u);return Array.prototype.toJSON=l,d}function C(u){for(var l=u.length,d,v;l!==0;)v=Math.floor(Math.random()*l),l-=1,d=u[l],u[l]=u[v],u[v]=d;return u}function w(u){var l={};for(var d in u)if(Object.prototype.hasOwnProperty.call(u,d)){var v;d==="x-algolia-api-key"||d==="x-algolia-application-id"?v="**hidden for security purposes**":v=u[d],l[d]=v}return l}},function(e,t){e.exports=function(o,r){r(o,0)}},function(e,t,n){var o=n(13),r=n(33),i=n(34);e.exports=a;function a(s,c){this.indexName=c,this.as=s,this.typeAheadArgs=null,this.typeAheadValueOption=null,this.cache={}}a.prototype.clearCache=function(){this.cache={}},a.prototype.search=o("query"),a.prototype.similarSearch=o("similarQuery"),a.prototype.browse=function(s,c,h){var g=n(35),f=this,C,w;arguments.length===0||arguments.length===1&&typeof arguments[0]=="function"?(C=0,h=arguments[0],s=void 0):typeof arguments[0]=="number"?(C=arguments[0],typeof arguments[1]=="number"?w=arguments[1]:typeof arguments[1]=="function"&&(h=arguments[1],w=void 0),s=void 0,c=void 0):typeof arguments[0]=="object"?(typeof arguments[1]=="function"&&(h=arguments[1]),c=arguments[0],s=void 0):typeof arguments[0]=="string"&&typeof arguments[1]=="function"&&(h=arguments[1],c=void 0),c=g({},c||{},{page:C,hitsPerPage:w,query:s});var u=this.as._getSearchParams(c,"");return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(f.indexName)+"/browse",body:{params:u},hostType:"read",callback:h})},a.prototype.browseFrom=function(s,c){return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/browse",body:{cursor:s},hostType:"read",callback:c})},a.prototype.searchForFacetValues=function(s,c){var h=n(3),g=n(14),f="Usage: index.searchForFacetValues({facetName, facetQuery, ...params}[, callback])";if(s.facetName===void 0||s.facetQuery===void 0)throw new Error(f);var C=s.facetName,w=g(h(s),function(l){return l==="facetName"}),u=this.as._getSearchParams(w,"");return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/facets/"+encodeURIComponent(C)+"/query",hostType:"read",body:{params:u},callback:c})},a.prototype.searchFacet=r(function(s,c){return this.searchForFacetValues(s,c)},i("index.searchFacet(params[, callback])","index.searchForFacetValues(params[, callback])")),a.prototype._search=function(s,c,h,g){return this.as._jsonRequest({cache:this.cache,method:"POST",url:c||"/1/indexes/"+encodeURIComponent(this.indexName)+"/query",body:{params:s},hostType:"read",fallback:{method:"GET",url:"/1/indexes/"+encodeURIComponent(this.indexName),body:{params:s}},callback:h,additionalUA:g})},a.prototype.getObject=function(s,c,h){var g=this;(arguments.length===1||typeof c=="function")&&(h=c,c=void 0);var f="";if(c!==void 0){f="?attributes=";for(var C=0;C<c.length;++C)C!==0&&(f+=","),f+=c[C]}return this.as._jsonRequest({method:"GET",url:"/1/indexes/"+encodeURIComponent(g.indexName)+"/"+encodeURIComponent(s)+f,hostType:"read",callback:h})},a.prototype.getObjects=function(s,c,h){var g=n(6),f=n(7),C="Usage: index.getObjects(arrayOfObjectIDs[, callback])";if(!g(s))throw new Error(C);var w=this;(arguments.length===1||typeof c=="function")&&(h=c,c=void 0);var u={requests:f(s,function(d){var v={indexName:w.indexName,objectID:d};return c&&(v.attributesToRetrieve=c.join(",")),v})};return this.as._jsonRequest({method:"POST",url:"/1/indexes/*/objects",hostType:"read",body:u,callback:h})},a.prototype.as=null,a.prototype.indexName=null,a.prototype.typeAheadArgs=null,a.prototype.typeAheadValueOption=null},function(e,t){e.exports=function(o,r){var i=!1;function a(){return i||(console.warn(r),i=!0),o.apply(this,arguments)}return a}},function(e,t){e.exports=function(o,r){var i=o.toLowerCase().replace(/[\.\(\)]/g,"");return"algoliasearch: `"+o+"` was replaced by `"+r+"`. Please see https://github.com/algolia/algoliasearch-client-javascript/wiki/Deprecated#"+i}},function(e,t,n){var o=n(2);e.exports=function r(i){var a=Array.prototype.slice.call(arguments);return o(a,function(s){for(var c in s)s.hasOwnProperty(c)&&(typeof i[c]=="object"&&typeof s[c]=="object"?i[c]=r({},i[c],s[c]):s[c]!==void 0&&(i[c]=s[c]))}),i}},function(e,t,n){var o=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Array.prototype.slice,a=n(37),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),h=s.call(function(){},"prototype"),g=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(d){var v=d.constructor;return v&&v.prototype===d},C={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},w=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!C["$"+d]&&o.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{f(window[d])}catch{return!0}}catch{return!0}return!1}(),u=function(d){if(typeof window>"u"||!w)return f(d);try{return f(d)}catch{return!1}},l=function(v){var p=v!==null&&typeof v=="object",b=r.call(v)==="[object Function]",y=a(v),D=p&&r.call(v)==="[object String]",A=[];if(!p&&!b&&!y)throw new TypeError("Object.keys called on a non-object");var H=h&&b;if(D&&v.length>0&&!o.call(v,0))for(var O=0;O<v.length;++O)A.push(String(O));if(y&&v.length>0)for(var P=0;P<v.length;++P)A.push(String(P));else for(var x in v)!(H&&x==="prototype")&&o.call(v,x)&&A.push(String(x));if(c)for(var B=u(v),k=0;k<g.length;++k)!(B&&g[k]==="constructor")&&o.call(v,g[k])&&A.push(g[k]);return A};l.shim=function(){if(Object.keys){var v=function(){return(Object.keys(arguments)||"").length===2}(1,2);if(!v){var p=Object.keys;Object.keys=function(y){return a(y)?p(i.call(y)):p(y)}}}else Object.keys=l;return Object.keys||l},e.exports=l},function(e,t,n){var o=Object.prototype.toString;e.exports=function(i){var a=o.call(i),s=a==="[object Arguments]";return s||(s=a!=="[object Array]"&&i!==null&&typeof i=="object"&&typeof i.length=="number"&&i.length>=0&&o.call(i.callee)==="[object Function]"),s}},function(e,t,n){(function(o){var r=n(8)("algoliasearch:src/hostIndexState.js"),i="algoliasearch-client-js",a,s={state:{},set:function(w,u){return this.state[w]=u,this.state[w]},get:function(w){return this.state[w]||null}},c={set:function(w,u){s.set(w,u);try{var l=JSON.parse(o.localStorage[i]);return l[w]=u,o.localStorage[i]=JSON.stringify(l),l[w]}catch(d){return h(w,d)}},get:function(w){try{return JSON.parse(o.localStorage[i])[w]||null}catch(u){return h(w,u)}}};function h(w,u){return r("localStorage failed with",u),C(),a=s,a.get(w)}a=f()?c:s,e.exports={get:g,set:g,supportsLocalStorage:f};function g(w,u){return arguments.length===1?a.get(w):a.set(w,u)}function f(){try{return"localStorage"in o&&o.localStorage!==null?(o.localStorage[i]||o.localStorage.setItem(i,JSON.stringify({})),!0):!1}catch{return!1}}function C(){try{o.localStorage.removeItem(i)}catch{}}}).call(t,n(4))},function(e,t,n){t=e.exports=i.debug=i.default=i,t.coerce=h,t.disable=s,t.enable=a,t.enabled=c,t.humanize=n(40),t.names=[],t.skips=[],t.formatters={};var o;function r(g){var f=0,C;for(C in g)f=(f<<5)-f+g.charCodeAt(C),f|=0;return t.colors[Math.abs(f)%t.colors.length]}function i(g){function f(){if(f.enabled){var C=f,w=+new Date,u=w-(o||w);C.diff=u,C.prev=o,C.curr=w,o=w;for(var l=new Array(arguments.length),d=0;d<l.length;d++)l[d]=arguments[d];l[0]=t.coerce(l[0]),typeof l[0]!="string"&&l.unshift("%O");var v=0;l[0]=l[0].replace(/%([a-zA-Z%])/g,function(b,y){if(b==="%%")return b;v++;var D=t.formatters[y];if(typeof D=="function"){var A=l[v];b=D.call(C,A),l.splice(v,1),v--}return b}),t.formatArgs.call(C,l);var p=f.log||t.log||console.log.bind(console);p.apply(C,l)}}return f.namespace=g,f.enabled=t.enabled(g),f.useColors=t.useColors(),f.color=r(g),typeof t.init=="function"&&t.init(f),f}function a(g){t.save(g),t.names=[],t.skips=[];for(var f=(typeof g=="string"?g:"").split(/[\s,]+/),C=f.length,w=0;w<C;w++)f[w]&&(g=f[w].replace(/\*/g,".*?"),g[0]==="-"?t.skips.push(new RegExp("^"+g.substr(1)+"$")):t.names.push(new RegExp("^"+g+"$")))}function s(){t.enable("")}function c(g){var f,C;for(f=0,C=t.skips.length;f<C;f++)if(t.skips[f].test(g))return!1;for(f=0,C=t.names.length;f<C;f++)if(t.names[f].test(g))return!0;return!1}function h(g){return g instanceof Error?g.stack||g.message:g}},function(e,t){var n=1e3,o=n*60,r=o*60,i=r*24,a=i*365.25;e.exports=function(f,C){C=C||{};var w=typeof f;if(w==="string"&&f.length>0)return s(f);if(w==="number"&&isNaN(f)===!1)return C.long?h(f):c(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function s(f){if(f=String(f),!(f.length>100)){var C=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(f);if(C){var w=parseFloat(C[1]),u=(C[2]||"ms").toLowerCase();switch(u){case"years":case"year":case"yrs":case"yr":case"y":return w*a;case"days":case"day":case"d":return w*i;case"hours":case"hour":case"hrs":case"hr":case"h":return w*r;case"minutes":case"minute":case"mins":case"min":case"m":return w*o;case"seconds":case"second":case"secs":case"sec":case"s":return w*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return w;default:return}}}}function c(f){return f>=i?Math.round(f/i)+"d":f>=r?Math.round(f/r)+"h":f>=o?Math.round(f/o)+"m":f>=n?Math.round(f/n)+"s":f+"ms"}function h(f){return g(f,i,"day")||g(f,r,"hour")||g(f,o,"minute")||g(f,n,"second")||f+" ms"}function g(f,C,w){if(!(f<C))return f<C*1.5?Math.floor(f/C)+" "+w:Math.ceil(f/C)+" "+w+"s"}},function(e,t,n){var o=n(42),r=o.Promise||n(43).Promise;e.exports=function(a,s){var c=n(12),h=n(5),g=n(44),f=n(46),C=n(47);s=s||"";function w(d,v,p){var b=n(3);return p=b(p||{}),p._ua=p._ua||w.ua,new l(d,v,p)}w.version=n(48),w.ua="Algolia for vanilla JavaScript "+s+w.version,w.initPlaces=C(w),o.__algolia={debug:n(8),algoliasearch:w};var u={hasXMLHttpRequest:"XMLHttpRequest"in o,hasXDomainRequest:"XDomainRequest"in o};u.hasXMLHttpRequest&&(u.cors="withCredentials"in new XMLHttpRequest);function l(){a.apply(this,arguments)}return c(l,a),l.prototype._request=function(v,p){return new r(function(y,D){if(!u.cors&&!u.hasXDomainRequest){D(new h.Network("CORS not supported"));return}v=g(v,p.headers);var A=p.body,H=u.cors?new XMLHttpRequest:new XDomainRequest,O,P,x=!1;O=setTimeout(T,p.timeouts.connect),H.onprogress=R,"onreadystatechange"in H&&(H.onreadystatechange=S),H.onload=B,H.onerror=k,H instanceof XMLHttpRequest?(H.open(p.method,v,!0),p.forceAuthHeaders&&(H.setRequestHeader("x-algolia-application-id",p.headers["x-algolia-application-id"]),H.setRequestHeader("x-algolia-api-key",p.headers["x-algolia-api-key"]))):H.open(p.method,v),u.cors&&(A&&(p.method==="POST"?H.setRequestHeader("content-type","application/x-www-form-urlencoded"):H.setRequestHeader("content-type","application/json")),H.setRequestHeader("accept","application/json")),A?H.send(A):H.send();function B(){if(!P){clearTimeout(O);var z;try{z={body:JSON.parse(H.responseText),responseText:H.responseText,statusCode:H.status,headers:H.getAllResponseHeaders&&H.getAllResponseHeaders()||{}}}catch{z=new h.UnparsableJSON({more:H.responseText})}z instanceof h.UnparsableJSON?D(z):y(z)}}function k(z){P||(clearTimeout(O),D(new h.Network({more:z})))}function T(){P=!0,H.abort(),D(new h.RequestTimeout)}function M(){x=!0,clearTimeout(O),O=setTimeout(T,p.timeouts.complete)}function R(){x||M()}function S(){!x&&H.readyState>1&&M()}})},l.prototype._request.fallback=function(v,p){return v=g(v,p.headers),new r(function(y,D){f(v,p,function(H,O){if(H){D(H);return}y(O)})})},l.prototype._promise={reject:function(v){return r.reject(v)},resolve:function(v){return r.resolve(v)},delay:function(v){return new r(function(b){setTimeout(b,v)})},all:function(v){return r.all(v)}},w}},function(e,t,n){(function(o){var r;typeof window<"u"?r=window:typeof o<"u"?r=o:typeof self<"u"?r=self:r={},e.exports=r}).call(t,n(4))},function(e,t,n){(function(o,r){(function(i,a){e.exports=a()})(this,function(){function i(L){var I=typeof L;return L!==null&&(I==="object"||I==="function")}function a(L){return typeof L=="function"}var s=void 0;Array.isArray?s=Array.isArray:s=function(L){return Object.prototype.toString.call(L)==="[object Array]"};var c=s,h=0,g=void 0,f=void 0,C=function(I,X){P[h]=I,P[h+1]=X,h+=2,h===2&&(f?f(x):k())};function w(L){f=L}function u(L){C=L}var l=typeof window<"u"?window:void 0,d=l||{},v=d.MutationObserver||d.WebKitMutationObserver,p=typeof self>"u"&&typeof o<"u"&&{}.toString.call(o)==="[object process]",b=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function y(){return function(){return o.nextTick(x)}}function D(){return typeof g<"u"?function(){g(x)}:O()}function A(){var L=0,I=new v(x),X=document.createTextNode("");return I.observe(X,{characterData:!0}),function(){X.data=L=++L%2}}function H(){var L=new MessageChannel;return L.port1.onmessage=x,function(){return L.port2.postMessage(0)}}function O(){var L=setTimeout;return function(){return L(x,1)}}var P=new Array(1e3);function x(){for(var L=0;L<h;L+=2){var I=P[L],X=P[L+1];I(X),P[L]=void 0,P[L+1]=void 0}h=0}function B(){try{var L=Function("return this")().require("vertx");return g=L.runOnLoop||L.runOnContext,D()}catch{return O()}}var k=void 0;p?k=y():v?k=A():b?k=H():l===void 0?k=B():k=O();function T(L,I){var X=this,J=new this.constructor(S);J[R]===void 0&&He(J);var $=X._state;if($){var te=arguments[$-1];C(function(){return we($,J,te,X._result)})}else de(X,J,L,I);return J}function M(L){var I=this;if(L&&typeof L=="object"&&L.constructor===I)return L;var X=new I(S);return ee(X,L),X}var R=Math.random().toString(36).substring(2);function S(){}var z=void 0,F=1,Z=2,U={error:null};function G(){return new TypeError("You cannot resolve a promise with itself")}function W(){return new TypeError("A promises callback cannot return that same promise.")}function K(L){try{return L.then}catch(I){return U.error=I,U}}function oe(L,I,X,J){try{L.call(I,X,J)}catch($){return $}}function Y(L,I,X){C(function(J){var $=!1,te=oe(X,I,function(ge){$||($=!0,I!==ge?ee(J,ge):se(J,ge))},function(ge){$||($=!0,ne(J,ge))},"Settle: "+(J._label||" unknown promise"));!$&&te&&($=!0,ne(J,te))},L)}function re(L,I){I._state===F?se(L,I._result):I._state===Z?ne(L,I._result):de(I,void 0,function(X){return ee(L,X)},function(X){return ne(L,X)})}function V(L,I,X){I.constructor===L.constructor&&X===T&&I.constructor.resolve===M?re(L,I):X===U?(ne(L,U.error),U.error=null):X===void 0?se(L,I):a(X)?Y(L,I,X):se(L,I)}function ee(L,I){L===I?ne(L,G()):i(I)?V(L,I,K(I)):se(L,I)}function ae(L){L._onerror&&L._onerror(L._result),ce(L)}function se(L,I){L._state===z&&(L._result=I,L._state=F,L._subscribers.length!==0&&C(ce,L))}function ne(L,I){L._state===z&&(L._state=Z,L._result=I,C(ae,L))}function de(L,I,X,J){var $=L._subscribers,te=$.length;L._onerror=null,$[te]=I,$[te+F]=X,$[te+Z]=J,te===0&&L._state&&C(ce,L)}function ce(L){var I=L._subscribers,X=L._state;if(I.length!==0){for(var J=void 0,$=void 0,te=L._result,ge=0;ge<I.length;ge+=3)J=I[ge],$=I[ge+X],J?we(X,J,$,te):$(te);L._subscribers.length=0}}function pe(L,I){try{return L(I)}catch(X){return U.error=X,U}}function we(L,I,X,J){var $=a(X),te=void 0,ge=void 0,ot=void 0,qt=void 0;if($){if(te=pe(X,J),te===U?(qt=!0,ge=te.error,te.error=null):ot=!0,I===te){ne(I,W());return}}else te=J,ot=!0;I._state!==z||($&&ot?ee(I,te):qt?ne(I,ge):L===F?se(I,te):L===Z&&ne(I,te))}function ze(L,I){try{I(function(J){ee(L,J)},function(J){ne(L,J)})}catch(X){ne(L,X)}}var ve=0;function Ke(){return ve++}function He(L){L[R]=ve++,L._state=void 0,L._result=void 0,L._subscribers=[]}function Pe(){return new Error("Array Methods must be provided an Array")}var Re=function(){function L(I,X){this._instanceConstructor=I,this.promise=new I(S),this.promise[R]||He(this.promise),c(X)?(this.length=X.length,this._remaining=X.length,this._result=new Array(this.length),this.length===0?se(this.promise,this._result):(this.length=this.length||0,this._enumerate(X),this._remaining===0&&se(this.promise,this._result))):ne(this.promise,Pe())}return L.prototype._enumerate=function(X){for(var J=0;this._state===z&&J<X.length;J++)this._eachEntry(X[J],J)},L.prototype._eachEntry=function(X,J){var $=this._instanceConstructor,te=$.resolve;if(te===M){var ge=K(X);if(ge===T&&X._state!==z)this._settledAt(X._state,J,X._result);else if(typeof ge!="function")this._remaining--,this._result[J]=X;else if($===q){var ot=new $(S);V(ot,X,ge),this._willSettleAt(ot,J)}else this._willSettleAt(new $(function(qt){return qt(X)}),J)}else this._willSettleAt(te(X),J)},L.prototype._settledAt=function(X,J,$){var te=this.promise;te._state===z&&(this._remaining--,X===Z?ne(te,$):this._result[J]=$),this._remaining===0&&se(te,this._result)},L.prototype._willSettleAt=function(X,J){var $=this;de(X,void 0,function(te){return $._settledAt(F,J,te)},function(te){return $._settledAt(Z,J,te)})},L}();function m(L){return new Re(this,L).promise}function E(L){var I=this;return c(L)?new I(function(X,J){for(var $=L.length,te=0;te<$;te++)I.resolve(L[te]).then(X,J)}):new I(function(X,J){return J(new TypeError("You must pass an array to race."))})}function Q(L){var I=this,X=new I(S);return ne(X,L),X}function N(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function _(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var q=function(){function L(I){this[R]=Ke(),this._result=this._state=void 0,this._subscribers=[],S!==I&&(typeof I!="function"&&N(),this instanceof L?ze(this,I):_())}return L.prototype.catch=function(X){return this.then(null,X)},L.prototype.finally=function(X){var J=this,$=J.constructor;return J.then(function(te){return $.resolve(X()).then(function(){return te})},function(te){return $.resolve(X()).then(function(){throw te})})},L}();q.prototype.then=T,q.all=m,q.race=E,q.resolve=M,q.reject=Q,q._setScheduler=w,q._setAsap=u,q._asap=C;function fe(){var L=void 0;if(typeof r<"u")L=r;else if(typeof self<"u")L=self;else try{L=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var I=L.Promise;if(I){var X=null;try{X=Object.prototype.toString.call(I.resolve())}catch{}if(X==="[object Promise]"&&!I.cast)return}L.Promise=q}return q.polyfill=fe,q.Promise=q,q})}).call(t,n(9),n(4))},function(e,t,n){e.exports=r;var o=n(45);function r(i,a){return/\?/.test(i)?i+="&":i+="?",i+o(a)}},function(e,t,n){var o=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};e.exports=function(s,c,h,g){return c=c||"&",h=h||"=",s===null&&(s=void 0),typeof s=="object"?i(a(s),function(f){var C=encodeURIComponent(o(f))+h;return r(s[f])?i(s[f],function(w){return C+encodeURIComponent(o(w))}).join(c):C+encodeURIComponent(o(s[f]))}).join(c):g?encodeURIComponent(o(g))+h+encodeURIComponent(o(s)):""};var r=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function i(s,c){if(s.map)return s.map(c);for(var h=[],g=0;g<s.length;g++)h.push(c(s[g],g));return h}var a=Object.keys||function(s){var c=[];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&c.push(h);return c}},function(e,t,n){e.exports=i;var o=n(5),r=0;function i(a,s,c){if(s.method!=="GET"){c(new Error("Method "+s.method+" "+a+" is not supported by JSONP."));return}s.debug("JSONP: start");var h=!1,g=!1;r+=1;var f=document.getElementsByTagName("head")[0],C=document.createElement("script"),w="algoliaJSONP_"+r,u=!1;window[w]=function(A){if(b(),g){s.debug("JSONP: Late answer, ignoring");return}h=!0,p(),c(null,{body:A,responseText:JSON.stringify(A)})},a+="&callback="+w,s.jsonBody&&s.jsonBody.params&&(a+="&"+s.jsonBody.params);var l=setTimeout(y,s.timeouts.complete);C.onreadystatechange=v,C.onload=d,C.onerror=D,C.async=!0,C.defer=!0,C.src=a,f.appendChild(C);function d(){s.debug("JSONP: success"),!(u||g)&&(u=!0,h||(s.debug("JSONP: Fail. Script loaded but did not call the callback"),p(),c(new o.JSONPScriptFail)))}function v(){(this.readyState==="loaded"||this.readyState==="complete")&&d()}function p(){clearTimeout(l),C.onload=null,C.onreadystatechange=null,C.onerror=null,f.removeChild(C)}function b(){try{delete window[w],delete window[w+"_loaded"]}catch{window[w]=window[w+"_loaded"]=void 0}}function y(){s.debug("JSONP: Script timeout"),g=!0,p(),c(new o.RequestTimeout)}function D(){s.debug("JSONP: Script error"),!(u||g)&&(p(),c(new o.JSONPScriptError))}}},function(e,t,n){e.exports=r;var o=n(13);function r(i){return function(s,c,h){var g=n(3);h=h&&g(h)||{},h.hosts=h.hosts||["places-dsn.algolia.net","places-1.algolianet.com","places-2.algolianet.com","places-3.algolianet.com"],(arguments.length===0||typeof s=="object"||s===void 0)&&(s="",c="",h._allowEmptyCredentials=!0);var f=i(s,c,h),C=f.initIndex("places");return C.search=o("query","/1/places/query"),C.getObject=function(w,u){return this.as._jsonRequest({method:"GET",url:"/1/places/"+encodeURIComponent(w),hostType:"read",callback:u})},C}}},function(e,t,n){e.exports="3.30.0"},function(e,t,n){e.exports=n(50)},function(e,t,n){var o=n(15),r=n(1);r.element=o;var i=n(0);i.isArray=o.isArray,i.isFunction=o.isFunction,i.isObject=o.isPlainObject,i.bind=o.proxy,i.each=function(C,w){o.each(C,u);function u(l,d){return w(d,l)}},i.map=o.map,i.mixin=o.extend,i.Event=o.Event;var a="aaAutocomplete",s=n(51),c=n(16);function h(C,w,u,l){u=i.isArray(u)?u:[].slice.call(arguments,2);var d=o(C).each(function(v,p){var b=o(p),y=new c({el:b}),D=l||new s({input:b,eventBus:y,dropdownMenuContainer:w.dropdownMenuContainer,hint:w.hint===void 0?!0:!!w.hint,minLength:w.minLength,autoselect:w.autoselect,autoselectOnBlur:w.autoselectOnBlur,tabAutocomplete:w.tabAutocomplete,openOnFocus:w.openOnFocus,templates:w.templates,debug:w.debug,clearOnSelected:w.clearOnSelected,cssClasses:w.cssClasses,datasets:u,keyboardShortcuts:w.keyboardShortcuts,appendTo:w.appendTo,autoWidth:w.autoWidth,ariaLabel:w.ariaLabel||p.getAttribute("aria-label")});b.data(a,D)});return d.autocomplete={},i.each(["open","close","getVal","setVal","destroy","getWrapper"],function(v){d.autocomplete[v]=function(){var p=arguments,b;return d.each(function(y,D){var A=o(D).data(a);b=A[v].apply(A,p)}),b}}),d}h.sources=s.sources,h.escapeHighlightedString=i.escapeHighlightedString;var g="autocomplete"in window,f=window.autocomplete;h.noConflict=function(){return g?window.autocomplete=f:delete window.autocomplete,h},e.exports=h},function(e,t,n){var o="aaAttrs",r=n(0),i=n(1),a=n(16),s=n(52),c=n(59),h=n(17),g=n(11);function f(l){var d,v;if(l=l||{},l.input||r.error("missing input"),this.isActivated=!1,this.debug=!!l.debug,this.autoselect=!!l.autoselect,this.autoselectOnBlur=!!l.autoselectOnBlur,this.openOnFocus=!!l.openOnFocus,this.minLength=r.isNumber(l.minLength)?l.minLength:1,this.autoWidth=l.autoWidth===void 0?!0:!!l.autoWidth,this.clearOnSelected=!!l.clearOnSelected,this.tabAutocomplete=l.tabAutocomplete===void 0?!0:!!l.tabAutocomplete,l.hint=!!l.hint,l.hint&&l.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=l.css=r.mixin({},g,l.appendTo?g.appendTo:{}),this.cssClasses=l.cssClasses=r.mixin({},g.defaultClasses,l.cssClasses||{}),this.cssClasses.prefix=l.cssClasses.formattedPrefix=r.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=l.listboxId=[this.cssClasses.root,"listbox",r.getUniqueId()].join("-");var p=C(l);this.$node=p.wrapper;var b=this.$input=p.input;d=p.menu,v=p.hint,l.dropdownMenuContainer&&i.element(l.dropdownMenuContainer).css("position","relative").append(d.css("top","0")),b.on("blur.aa",function(y){var D=document.activeElement;r.isMsie()&&(d[0]===D||d[0].contains(D))&&(y.preventDefault(),y.stopImmediatePropagation(),r.defer(function(){b.focus()}))}),d.on("mousedown.aa",function(y){y.preventDefault()}),this.eventBus=l.eventBus||new a({el:b}),this.dropdown=new f.Dropdown({appendTo:l.appendTo,wrapper:this.$node,menu:d,datasets:l.datasets,templates:l.templates,cssClasses:l.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new f.Input({input:b,hint:v}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(l),this._setLanguageDirection()}r.mixin(f.prototype,{_bindKeyboardShortcuts:function(l){if(l.keyboardShortcuts){var d=this.$input,v=[];r.each(l.keyboardShortcuts,function(p){typeof p=="string"&&(p=p.toUpperCase().charCodeAt(0)),v.push(p)}),i.element(document).keydown(function(p){var b=p.target||p.srcElement,y=b.tagName;if(!(b.isContentEditable||y==="INPUT"||y==="SELECT"||y==="TEXTAREA")){var D=p.which||p.keyCode;v.indexOf(D)!==-1&&(d.focus(),p.stopPropagation(),p.preventDefault())}})}},_onSuggestionClicked:function(d,v){var p,b={selectionMethod:"click"};(p=this.dropdown.getDatumForSuggestion(v))&&this._select(p,b)},_onCursorMoved:function(d,v){var p=this.dropdown.getDatumForCursor(),b=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(b),p&&(v&&this.input.setInputValue(p.value,!0),this.eventBus.trigger("cursorchanged",p.raw,p.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var d=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",d.width+"px");var v=this.$node[0].getBoundingClientRect(),p=d.bottom-v.top;this.$node.css("top",p+"px");var b=d.left-v.left;this.$node.css("left",b+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var d=this.input.getQuery();d.length>=this.minLength?this.dropdown.update(d):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){var d,v;d=this.dropdown.getDatumForCursor(),v=this.dropdown.getDatumForTopSuggestion();var p={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&d?this._select(d,p):this.autoselectOnBlur&&v?this._select(v,p):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(d,v){var p,b;p=this.dropdown.getDatumForCursor(),b=this.dropdown.getDatumForTopSuggestion();var y={selectionMethod:"enterKey"};p?(this._select(p,y),v.preventDefault()):this.autoselect&&b&&(this._select(b,y),v.preventDefault())},_onTabKeyed:function(d,v){if(!this.tabAutocomplete){this.dropdown.close();return}var p,b={selectionMethod:"tabKey"};(p=this.dropdown.getDatumForCursor())?(this._select(p,b),v.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var d=this.input.getQuery();this.dropdown.isEmpty&&d.length>=this.minLength?this.dropdown.update(d):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var d=this.input.getQuery();this.dropdown.isEmpty&&d.length>=this.minLength?this.dropdown.update(d):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){this.dir==="rtl"&&this._autocomplete()},_onRightKeyed:function(){this.dir==="ltr"&&this._autocomplete()},_onQueryChanged:function(d,v){this.input.clearHintIfInvalid(),v.length>=this.minLength?this.dropdown.update(v):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var d=this.input.getLanguageDirection();this.dir!==d&&(this.dir=d,this.$node.css("direction",d),this.dropdown.setLanguageDirection(d))},_updateHint:function(){var d,v,p,b,y,D;d=this.dropdown.getDatumForTopSuggestion(),d&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(v=this.input.getInputValue(),p=s.normalizeQuery(v),b=r.escapeRegExChars(p),y=new RegExp("^(?:"+b+")(.+$)","i"),D=y.exec(d.value),D?this.input.setHint(v+D[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(d){var v,p,b,y;v=this.input.getHint(),p=this.input.getQuery(),b=d||this.input.isCursorAtEnd(),v&&p!==v&&b&&(y=this.dropdown.getDatumForTopSuggestion(),y&&this.input.setInputValue(y.value),this.eventBus.trigger("autocompleted",y.raw,y.datasetName))},_select:function(d,v){typeof d.value<"u"&&this.input.setQuery(d.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(d.value,!0),this._setLanguageDirection();var p=this.eventBus.trigger("selected",d.raw,d.datasetName,v);p.isDefaultPrevented()===!1&&(this.dropdown.close(),r.defer(r.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var d=this.input.getInputValue();d.length>=this.minLength?this.dropdown.update(d):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(d){d=r.toStr(d),this.isActivated?this.input.setInputValue(d):(this.input.setQuery(d),this.input.setInputValue(d,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),u(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}});function C(l){var d,v,p,b;d=i.element(l.input),v=i.element(h.wrapper.replace("%ROOT%",l.cssClasses.root)).css(l.css.wrapper),!l.appendTo&&d.css("display")==="block"&&d.parent().css("display")==="table"&&v.css("display","table-cell");var y=h.dropdown.replace("%PREFIX%",l.cssClasses.prefix).replace("%DROPDOWN_MENU%",l.cssClasses.dropdownMenu);p=i.element(y).css(l.css.dropdown).attr({role:"listbox",id:l.listboxId}),l.templates&&l.templates.dropdownMenu&&p.html(r.templatify(l.templates.dropdownMenu)()),b=d.clone().css(l.css.hint).css(w(d)),b.val("").addClass(r.className(l.cssClasses.prefix,l.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),b.removeData&&b.removeData(),d.data(o,{"aria-autocomplete":d.attr("aria-autocomplete"),"aria-expanded":d.attr("aria-expanded"),"aria-owns":d.attr("aria-owns"),autocomplete:d.attr("autocomplete"),dir:d.attr("dir"),role:d.attr("role"),spellcheck:d.attr("spellcheck"),style:d.attr("style"),type:d.attr("type")}),d.addClass(r.className(l.cssClasses.prefix,l.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":l.datasets&&l.datasets[0]&&l.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":l.ariaLabel,"aria-owns":l.listboxId}).css(l.hint?l.css.input:l.css.inputWithNoHint);try{d.attr("dir")||d.attr("dir","auto")}catch{}return v=l.appendTo?v.appendTo(i.element(l.appendTo).eq(0)).eq(0):d.wrap(v).parent(),v.prepend(l.hint?b:null).append(p),{wrapper:v,input:d,hint:b,menu:p}}function w(l){return{backgroundAttachment:l.css("background-attachment"),backgroundClip:l.css("background-clip"),backgroundColor:l.css("background-color"),backgroundImage:l.css("background-image"),backgroundOrigin:l.css("background-origin"),backgroundPosition:l.css("background-position"),backgroundRepeat:l.css("background-repeat"),backgroundSize:l.css("background-size")}}function u(l,d){var v=l.find(r.className(d.prefix,d.input));r.each(v.data(o),function(p,b){p===void 0?v.removeAttr(b):v.attr(b,p)}),v.detach().removeClass(r.className(d.prefix,d.input,!0)).insertAfter(l),v.removeData&&v.removeData(o),l.remove()}f.Dropdown=c,f.Input=s,f.sources=n(61),e.exports=f},function(e,t,n){var o;o={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var r=n(0),i=n(1),a=n(10);function s(f){var C=this,w,u,l,d;f=f||{},f.input||r.error("input is missing"),w=r.bind(this._onBlur,this),u=r.bind(this._onFocus,this),l=r.bind(this._onKeydown,this),d=r.bind(this._onInput,this),this.$hint=i.element(f.hint),this.$input=i.element(f.input).on("blur.aa",w).on("focus.aa",u).on("keydown.aa",l),this.$hint.length===0&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=r.noop),r.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(v){o[v.which||v.keyCode]||r.defer(r.bind(C._onInput,C,v))}):this.$input.on("input.aa",d),this.query=this.$input.val(),this.$overflowHelper=c(this.$input)}s.normalizeQuery=function(f){return(f||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},r.mixin(s.prototype,a,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(C){var w=o[C.which||C.keyCode];this._managePreventDefault(w,C),w&&this._shouldTrigger(w,C)&&this.trigger(w+"Keyed",C)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(C,w){var u,l,d;switch(C){case"tab":l=this.getHint(),d=this.getInputValue(),u=l&&l!==d&&!g(w);break;case"up":case"down":u=!g(w);break;default:u=!1}u&&w.preventDefault()},_shouldTrigger:function(C,w){var u;switch(C){case"tab":u=!g(w);break;default:u=!0}return u},_checkInputValue:function(){var C,w,u;C=this.getInputValue(),w=h(C,this.query),u=w&&this.query?this.query.length!==C.length:!1,this.query=C,w?u&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(C){this.query=C},getInputValue:function(){return this.$input.val()},setInputValue:function(C,w){typeof C>"u"&&(C=this.query),this.$input.val(C),w?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(C){this.$input.attr("aria-activedescendant",C)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(C){this.$hint.val(C)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var C,w,u,l;C=this.getInputValue(),w=this.getHint(),u=C!==w&&w.indexOf(C)===0,l=C!==""&&u&&!this.hasOverflow(),l||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var C=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=C},isCursorAtEnd:function(){var f,C,w;return f=this.$input.val().length,C=this.$input[0].selectionStart,r.isNumber(C)?C===f:document.selection?(w=document.selection.createRange(),w.moveStart("character",-f),f===w.text.length):!0},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}});function c(f){return i.element('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:f.css("font-family"),fontSize:f.css("font-size"),fontStyle:f.css("font-style"),fontVariant:f.css("font-variant"),fontWeight:f.css("font-weight"),wordSpacing:f.css("word-spacing"),letterSpacing:f.css("letter-spacing"),textIndent:f.css("text-indent"),textRendering:f.css("text-rendering"),textTransform:f.css("text-transform")}).insertAfter(f)}function h(f,C){return s.normalizeQuery(f)===s.normalizeQuery(C)}function g(f){return f.altKey||f.ctrlKey||f.metaKey||f.shiftKey}e.exports=s},function(e,t,n){var o=[n(54),n(55),n(56),n(57),n(58)],r,i,a=-1,s=[],c=!1;function h(){!r||!i||(r=!1,i.length?s=i.concat(s):a=-1,s.length&&g())}function g(){if(!r){c=!1,r=!0;for(var d=s.length,v=setTimeout(h);d;){for(i=s,s=[];i&&++a<d;)i[a].run();a=-1,d=s.length}i=null,a=-1,r=!1,clearTimeout(v)}}for(var f,C=-1,w=o.length;++C<w;)if(o[C]&&o[C].test&&o[C].test()){f=o[C].install(g);break}function u(d,v){this.fun=d,this.array=v}u.prototype.run=function(){var d=this.fun,v=this.array;switch(v.length){case 0:return d();case 1:return d(v[0]);case 2:return d(v[0],v[1]);case 3:return d(v[0],v[1],v[2]);default:return d.apply(null,v)}},e.exports=l;function l(d){var v=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)v[p-1]=arguments[p];s.push(new u(d,v)),!c&&!r&&(c=!0,f())}},function(e,t,n){(function(o){t.test=function(){return typeof o<"u"&&!o.browser},t.install=function(r){return function(){o.nextTick(r)}}}).call(t,n(9))},function(e,t,n){(function(o){var r=o.MutationObserver||o.WebKitMutationObserver;t.test=function(){return r},t.install=function(i){var a=0,s=new r(i),c=o.document.createTextNode("");return s.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}}).call(t,n(4))},function(e,t,n){(function(o){t.test=function(){return o.setImmediate?!1:typeof o.MessageChannel<"u"},t.install=function(r){var i=new o.MessageChannel;return i.port1.onmessage=r,function(){i.port2.postMessage(0)}}}).call(t,n(4))},function(e,t,n){(function(o){t.test=function(){return"document"in o&&"onreadystatechange"in o.document.createElement("script")},t.install=function(r){return function(){var i=o.document.createElement("script");return i.onreadystatechange=function(){r(),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},o.document.documentElement.appendChild(i),r}}}).call(t,n(4))},function(e,t,n){t.test=function(){return!0},t.install=function(o){return function(){setTimeout(o,0)}}},function(e,t,n){var o=n(0),r=n(1),i=n(10),a=n(60),s=n(11);function c(g){var f=this,C,w,u;g=g||{},g.menu||o.error("menu is required"),!o.isArray(g.datasets)&&!o.isObject(g.datasets)&&o.error("1 or more datasets required"),g.datasets||o.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=g.minLength||0,this.templates={},this.appendTo=g.appendTo||!1,this.css=o.mixin({},s,g.appendTo?s.appendTo:{}),this.cssClasses=g.cssClasses=o.mixin({},s.defaultClasses,g.cssClasses||{}),this.cssClasses.prefix=g.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),C=o.bind(this._onSuggestionClick,this),w=o.bind(this._onSuggestionMouseEnter,this),u=o.bind(this._onSuggestionMouseLeave,this);var l=o.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=r.element(g.menu).on("mouseenter.aa",l,w).on("mouseleave.aa",l,u).on("click.aa",l,C),this.$container=g.appendTo?g.wrapper:this.$menu,g.templates&&g.templates.header&&(this.templates.header=o.templatify(g.templates.header),this.$menu.prepend(this.templates.header())),g.templates&&g.templates.empty&&(this.templates.empty=o.templatify(g.templates.empty),this.$empty=r.element('<div class="'+o.className(this.cssClasses.prefix,this.cssClasses.empty,!0)+'"></div>'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=o.map(g.datasets,function(v){return h(f.$menu,v,g.cssClasses)}),o.each(this.datasets,function(v){var p=v.getRoot();p&&p.parent().length===0&&f.$menu.append(p),v.onSync("rendered",f._onRendered,f)}),g.templates&&g.templates.footer&&(this.templates.footer=o.templatify(g.templates.footer),this.$menu.append(this.templates.footer()));var d=this;r.element(window).resize(function(){d._redraw()})}o.mixin(c.prototype,i,{_onSuggestionClick:function(f){this.trigger("suggestionClicked",r.element(f.currentTarget))},_onSuggestionMouseEnter:function(f){var C=r.element(f.currentTarget);if(!C.hasClass(o.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var w=this;setTimeout(function(){w._setCursor(C,!1)},0)}},_onSuggestionMouseLeave:function(f){if(f.relatedTarget){var C=r.element(f.relatedTarget);if(C.closest("."+o.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0)return}this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(f,C){if(this.isEmpty=o.every(this.datasets,u),this.isEmpty)if(C.length>=this.minLength&&this.trigger("empty"),this.$empty)if(C.length<this.minLength)this._hide();else{var w=this.templates.empty({query:this.datasets[0]&&this.datasets[0].query});this.$empty.html(w),this.$empty.show(),this._show()}else o.any(this.datasets,l)?C.length<this.minLength?this._hide():this._show():this._hide();else this.isOpen&&(this.$empty&&(this.$empty.empty(),this.$empty.hide()),C.length>=this.minLength?this._show():this._hide());this.trigger("datasetRendered");function u(d){return d.isEmpty()}function l(d){return d.templates&&d.templates.empty}},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){!this.isOpen||!this.appendTo||this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(o.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(o.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(f,C){f.first().addClass(o.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",C)},_removeCursor:function(){this._getCursor().removeClass(o.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(f){var C,w,u,l;if(this.isOpen){if(w=this._getCursor(),C=this._getSuggestions(),this._removeCursor(),u=C.index(w)+f,u=(u+1)%(C.length+1)-1,u===-1){this.trigger("cursorRemoved");return}else u<-1&&(u=C.length-1);this._setCursor(l=C.eq(u),!0),this._ensureVisible(l)}},_ensureVisible:function(f){var C,w,u,l;C=f.position().top,w=C+f.height()+parseInt(f.css("margin-top"),10)+parseInt(f.css("margin-bottom"),10),u=this.$menu.scrollTop(),l=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),C<0?this.$menu.scrollTop(u+C):l<w&&this.$menu.scrollTop(u+(w-l))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,this.isEmpty||this._show(),this.trigger("opened"))},setLanguageDirection:function(f){this.$menu.css(f==="ltr"?this.css.ltr:this.css.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(f){var C=null;return f.length&&(C={raw:a.extractDatum(f),value:a.extractValue(f),datasetName:a.extractDatasetName(f)}),C},getCurrentCursor:function(){return this._getCursor().first()},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},cursorTopSuggestion:function(){this._setCursor(this._getSuggestions().first(),!1)},update:function(f){o.each(this.datasets,C);function C(w){w.update(f)}},empty:function(){o.each(this.datasets,f),this.isEmpty=!0;function f(C){C.clear()}},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".aa"),this.$menu=null,o.each(this.datasets,f);function f(C){C.destroy()}}}),c.Dataset=a;function h(g,f,C){return new c.Dataset(o.mixin({$menu:g,cssClasses:C},f))}e.exports=c},function(e,t,n){var o="aaDataset",r="aaValue",i="aaDatum",a=n(0),s=n(1),c=n(17),h=n(11),g=n(10);function f(l){l=l||{},l.templates=l.templates||{},l.source||a.error("missing source"),l.name&&!u(l.name)&&a.error("invalid dataset name: "+l.name),this.query=null,this._isEmpty=!0,this.highlight=!!l.highlight,this.name=typeof l.name>"u"||l.name===null?a.getUniqueId():l.name,this.source=l.source,this.displayFn=C(l.display||l.displayKey),this.debounce=l.debounce,this.cache=l.cache!==!1,this.templates=w(l.templates,this.displayFn),this.css=a.mixin({},h,l.appendTo?h.appendTo:{}),this.cssClasses=l.cssClasses=a.mixin({},h.defaultClasses,l.cssClasses||{}),this.cssClasses.prefix=l.cssClasses.formattedPrefix||a.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var d=a.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=l.$menu&&l.$menu.find(d+"-"+this.name).length>0?s.element(l.$menu.find(d+"-"+this.name)[0]):s.element(c.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=l.$menu,this.clearCachedSuggestions()}f.extractDatasetName=function(d){return s.element(d).data(o)},f.extractValue=function(d){return s.element(d).data(r)},f.extractDatum=function(d){var v=s.element(d).data(i);return typeof v=="string"&&(v=JSON.parse(v)),v},a.mixin(f.prototype,g,{_render:function(d,v){if(!this.$el)return;var p=this,b,y=[].slice.call(arguments,2);if(this.$el.empty(),b=v&&v.length,this._isEmpty=!b,!b&&this.templates.empty)this.$el.html(D.apply(this,y)).prepend(p.templates.header?H.apply(this,y):null).append(p.templates.footer?O.apply(this,y):null);else if(b)this.$el.html(A.apply(this,y)).prepend(p.templates.header?H.apply(this,y):null).append(p.templates.footer?O.apply(this,y):null);else if(v&&!Array.isArray(v))throw new TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(b?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(b?"without":"with")+"-"+this.name),this.trigger("rendered",d);function D(){var P=[].slice.call(arguments,0);return P=[{query:d,isEmpty:!0}].concat(P),p.templates.empty.apply(this,P)}function A(){var P=[].slice.call(arguments,0),x,B,k=this,T=c.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return x=s.element(T).css(this.css.suggestions),B=a.map(v,M),x.append.apply(x,B),x;function M(R){var S,z=c.suggestion.replace("%PREFIX%",k.cssClasses.prefix).replace("%SUGGESTION%",k.cssClasses.suggestion);return S=s.element(z).attr({role:"option",id:["option",Math.floor(Math.random()*1e8)].join("-")}).append(p.templates.suggestion.apply(this,[R].concat(P))),S.data(o,p.name),S.data(r,p.displayFn(R)||void 0),S.data(i,JSON.stringify(R)),S.children().each(function(){s.element(this).css(k.css.suggestionChild)}),S}}function H(){var P=[].slice.call(arguments,0);return P=[{query:d,isEmpty:!b}].concat(P),p.templates.header.apply(this,P)}function O(){var P=[].slice.call(arguments,0);return P=[{query:d,isEmpty:!b}].concat(P),p.templates.footer.apply(this,P)}},getRoot:function(){return this.$el},update:function(d){function v(D){if(!this.canceled&&d===this.query){var A=[].slice.call(arguments,1);this.cacheSuggestions(d,D,A),this._render.apply(this,[d,D].concat(A))}}if(this.query=d,this.canceled=!1,this.shouldFetchFromCache(d))v.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var p=this,b=function(){p.canceled||p.source(d,v.bind(p))};if(this.debounce){var y=function(){p.debounceTimeout=null,b()};clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(y,this.debounce)}else b()}},cacheSuggestions:function(d,v,p){this.cachedQuery=d,this.cachedSuggestions=v,this.cachedRenderExtraArgs=p},shouldFetchFromCache:function(d){return this.cache&&this.cachedQuery===d&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered","")},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}});function C(l){return l=l||"value",a.isFunction(l)?l:d;function d(v){return v[l]}}function w(l,d){return{empty:l.empty&&a.templatify(l.empty),header:l.header&&a.templatify(l.header),footer:l.footer&&a.templatify(l.footer),suggestion:l.suggestion||v};function v(p){return"<p>"+d(p)+"</p>"}}function u(l){return/^[_a-zA-Z0-9-]+$/.test(l)}e.exports=f},function(e,t,n){e.exports={hits:n(62),popularIn:n(63)}},function(e,t,n){var o=n(0),r=n(18),i=n(19);e.exports=function(s,c){var h=i(s.as._ua);return h&&h[0]>=3&&h[1]>20&&(c=c||{},c.additionalUA="autocomplete.js "+r),g;function g(f,C){s.search(f,c,function(w,u){if(w){o.error(w.message);return}C(u.hits,u)})}}},function(e,t,n){var o=n(0),r=n(18),i=n(19);e.exports=function(s,c,h,g){var f=i(s.as._ua);if(f&&f[0]>=3&&f[1]>20&&(c=c||{},c.additionalUA="autocomplete.js "+r),!h.source)return o.error("Missing 'source' key");var C=o.isFunction(h.source)?h.source:function(l){return l[h.source]};if(!h.index)return o.error("Missing 'index' key");var w=h.index;return g=g||{},u;function u(l,d){s.search(l,c,function(v,p){if(v){o.error(v.message);return}if(p.hits.length>0){var b=p.hits[0],y=o.mixin({hitsPerPage:0},h);delete y.source,delete y.index;var D=i(w.as._ua);D&&D[0]>=3&&D[1]>20&&(c.additionalUA="autocomplete.js "+r),w.search(C(b),y,function(A,H){if(A){o.error(A.message);return}var O=[];if(g.includeAll){var P=g.allTitle||"All departments";O.push(o.mixin({facet:{value:P,count:H.nbHits}},o.cloneDeep(b)))}o.each(H.facets,function(B,k){o.each(B,function(T,M){O.push(o.mixin({facet:{facet:k,value:M,count:T}},o.cloneDeep(b)))})});for(var x=1;x<p.hits.length;++x)O.push(p.hits[x]);d(O,p)});return}d([])})}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o="algolia-docsearch",r=o+"-suggestion",i=o+"-footer",a={suggestion:`
388
+ `);M.push(z)}if(k.length>0)throw new Error("missing closing tag: "+k.pop().n);return M}function d(x,B){for(var k=0,T=B.length;k<T;k++)if(B[k].o==x.n)return x.tag="#",!0}function v(x,B,k){for(var T=0,M=k.length;T<M;T++)if(k[T].c==x&&k[T].o==B)return!0}function p(x){var B=[];for(var k in x)B.push('"'+D(k)+'": function(c,p,t,i) {'+x[k]+"}");return"{ "+B.join(",")+" }"}function b(x){var B=[];for(var k in x.partials)B.push('"'+D(k)+'":{name:"'+D(x.partials[k].name)+'", '+b(x.partials[k])+"}");return"partials: {"+B.join(",")+"}, subs: "+p(x.subs)}o.stringify=function(x,B,k){return"{code: function (c,p,i) { "+o.wrapMain(x.code)+" },"+b(x)+"}"};var y=0;o.generate=function(x,B,k){y=0;var T={code:"",subs:{},partials:{}};return o.walk(x,T),k.asString?this.stringify(T,B,k):this.makeTemplate(T,B,k)},o.wrapMain=function(x){return'var t=this;t.b(i=i||"");'+x+"return t.fl();"},o.template=o.Template,o.makeTemplate=function(x,B,k){var T=this.makePartials(x);return T.code=new Function("c","p","i",this.wrapMain(x.code)),new this.template(T,B,this,k)},o.makePartials=function(x){var B,k={subs:{},partials:x.partials,name:x.name};for(B in k.partials)k.partials[B]=this.makePartials(k.partials[B]);for(B in x.subs)k.subs[B]=new Function("c","p","t","i",x.subs[B]);return k};function D(x){return x.replace(c,"\\\\").replace(i,'\\"').replace(a,"\\n").replace(s,"\\r").replace(h,"\\u2028").replace(g,"\\u2029")}function A(x){return~x.indexOf(".")?"d":"f"}function H(x,B){var k="<"+(B.prefix||""),T=k+x.n+y++;return B.partials[T]={name:x.n,partials:{}},B.code+='t.b(t.rp("'+D(T)+'",c,p,"'+(x.indent||"")+'"));',T}o.codegen={"#":function(x,B){B.code+="if(t.s(t."+A(x.n)+'("'+D(x.n)+'",c,p,1),c,p,0,'+x.i+","+x.end+',"'+x.otag+" "+x.ctag+'")){t.rs(c,p,function(c,p,t){',o.walk(x.nodes,B),B.code+="});c.pop();}"},"^":function(x,B){B.code+="if(!t.s(t."+A(x.n)+'("'+D(x.n)+'",c,p,1),c,p,1,0,0,"")){',o.walk(x.nodes,B),B.code+="};"},">":H,"<":function(x,B){var k={partials:{},code:"",subs:{},inPartial:!0};o.walk(x.nodes,k);var T=B.partials[H(x,B)];T.subs=k.subs,T.partials=k.partials},$:function(x,B){var k={subs:{},code:"",partials:B.partials,prefix:x.n};o.walk(x.nodes,k),B.subs[x.n]=k.code,B.inPartial||(B.code+='t.sub("'+D(x.n)+'",c,p,i);')},"\n":function(x,B){B.code+=P('"\\n"'+(x.last?"":" + i"))},_v:function(x,B){B.code+="t.b(t.v(t."+A(x.n)+'("'+D(x.n)+'",c,p,0)));'},_t:function(x,B){B.code+=P('"'+D(x.text)+'"')},"{":O,"&":O};function O(x,B){B.code+="t.b(t.t(t."+A(x.n)+'("'+D(x.n)+'",c,p,0)));'}function P(x){return"t.b("+x+");"}o.walk=function(x,B){for(var k,T=0,M=x.length;T<M;T++)k=o.codegen[x[T].tag],k&&k(x[T],B);return B},o.parse=function(x,B,k){return k=k||{},l(x,"",[],k.sectionTags||[])},o.cache={},o.cacheKey=function(x,B){return[x,!!B.asString,!!B.disableLambda,B.delimiters,!!B.modelGet].join("||")},o.compile=function(x,B){B=B||{};var k=o.cacheKey(x,B),T=this.cache[k];if(T){var M=T.partials;for(var R in M)delete M[R].instance;return T}return T=this.generate(this.parse(this.scan(x,B.delimiters),x,B),x,B),this.cache[k]=T}})(t)},function(e,t,n){(function(o){o.Template=function(l,d,v,p){l=l||{},this.r=l.code||this.r,this.c=v,this.options=p||{},this.text=d||"",this.partials=l.partials||{},this.subs=l.subs||{},this.buf=""},o.Template.prototype={r:function(l,d,v){return""},v:w,t:C,render:function(d,v,p){return this.ri([d],v||{},p)},ri:function(l,d,v){return this.r(l,d,v)},ep:function(l,d){var v=this.partials[l],p=d[v.name];if(v.instance&&v.base==p)return v.instance;if(typeof p=="string"){if(!this.c)throw new Error("No compiler available.");p=this.c.compile(p,this.options)}if(!p)return null;if(this.partials[l].base=p,v.subs){d.stackText||(d.stackText={});for(key in v.subs)d.stackText[key]||(d.stackText[key]=this.activeSub!==void 0&&d.stackText[this.activeSub]?d.stackText[this.activeSub]:this.text);p=i(p,v.subs,v.partials,this.stackSubs,this.stackPartials,d.stackText)}return this.partials[l].instance=p,p},rp:function(l,d,v,p){var b=this.ep(l,v);return b?b.ri(d,v,p):""},rs:function(l,d,v){var p=l[l.length-1];if(!u(p)){v(l,d,this);return}for(var b=0;b<p.length;b++)l.push(p[b]),v(l,d,this),l.pop()},s:function(l,d,v,p,b,y,D){var A;return u(l)&&l.length===0?!1:(typeof l=="function"&&(l=this.ms(l,d,v,p,b,y,D)),A=!!l,!p&&A&&d&&d.push(typeof l=="object"?l:d[d.length-1]),A)},d:function(l,d,v,p){var b,y=l.split("."),D=this.f(y[0],d,v,p),A=this.options.modelGet,H=null;if(l==="."&&u(d[d.length-2]))D=d[d.length-1];else for(var O=1;O<y.length;O++)b=r(y[O],D,A),b!==void 0?(H=D,D=b):D="";return p&&!D?!1:(!p&&typeof D=="function"&&(d.push(H),D=this.mv(D,d,v),d.pop()),D)},f:function(l,d,v,p){for(var b=!1,y=null,D=!1,A=this.options.modelGet,H=d.length-1;H>=0;H--)if(y=d[H],b=r(l,y,A),b!==void 0){D=!0;break}return D?(!p&&typeof b=="function"&&(b=this.mv(b,d,v)),b):p?!1:""},ls:function(l,d,v,p,b){var y=this.options.delimiters;return this.options.delimiters=b,this.b(this.ct(C(l.call(d,p)),d,v)),this.options.delimiters=y,!1},ct:function(l,d,v){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(l,this.options).render(d,v)},b:function(l){this.buf+=l},fl:function(){var l=this.buf;return this.buf="",l},ms:function(l,d,v,p,b,y,D){var A,H=d[d.length-1],O=l.call(H);return typeof O=="function"?p?!0:(A=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(O,H,v,A.substring(b,y),D)):O},mv:function(l,d,v){var p=d[d.length-1],b=l.call(p);return typeof b=="function"?this.ct(C(b.call(p)),p,v):b},sub:function(l,d,v,p){var b=this.subs[l];b&&(this.activeSub=l,b(d,v,this,p),this.activeSub=!1)}};function r(l,d,v){var p;return d&&typeof d=="object"&&(d[l]!==void 0?p=d[l]:v&&d.get&&typeof d.get=="function"&&(p=d.get(l))),p}function i(l,d,v,p,b,y){function D(){}D.prototype=l;function A(){}A.prototype=l.subs;var H,O=new D;O.subs=new A,O.subsText={},O.buf="",p=p||{},O.stackSubs=p,O.subsText=y;for(H in d)p[H]||(p[H]=d[H]);for(H in p)O.subs[H]=p[H];b=b||{},O.stackPartials=b;for(H in v)b[H]||(b[H]=v[H]);for(H in b)O.partials[H]=b[H];return O}var a=/&/g,s=/</g,c=/>/g,h=/\'/g,g=/\"/g,f=/[&<>\"\']/;function C(l){return String(l??"")}function w(l){return l=C(l),f.test(l)?l.replace(a,"&amp;").replace(s,"&lt;").replace(c,"&gt;").replace(h,"&#39;").replace(g,"&quot;"):l}var u=Array.isArray||function(l){return Object.prototype.toString.call(l)==="[object Array]"}})(t)},function(e,t,n){var o=n(30),r=n(41);e.exports=r(o,"(lite) ")},function(e,t,n){e.exports=h;var o=n(5),r=n(31),i=n(32),a=n(38),s=500,c=Object({NODE_ENV:"production"}).RESET_APP_DATA_TIMER&&parseInt(Object({NODE_ENV:"production"}).RESET_APP_DATA_TIMER,10)||60*2*1e3;function h(u,l,d){var v=n(8)("algoliasearch"),p=n(3),b=n(6),y=n(7),D="Usage: algoliasearch(applicationID, apiKey, opts)";if(d._allowEmptyCredentials!==!0&&!u)throw new o.AlgoliaSearchError("Please provide an application ID. "+D);if(d._allowEmptyCredentials!==!0&&!l)throw new o.AlgoliaSearchError("Please provide an API key. "+D);this.applicationID=u,this.apiKey=l,this.hosts={read:[],write:[]},d=d||{},this._timeouts=d.timeouts||{connect:1*1e3,read:2*1e3,write:30*1e3},d.timeout&&(this._timeouts.connect=this._timeouts.read=this._timeouts.write=d.timeout);var A=d.protocol||"https:";if(/:$/.test(A)||(A=A+":"),A!=="http:"&&A!=="https:")throw new o.AlgoliaSearchError("protocol must be `http:` or `https:` (was `"+d.protocol+"`)");if(this._checkAppIdData(),d.hosts)b(d.hosts)?(this.hosts.read=p(d.hosts),this.hosts.write=p(d.hosts)):(this.hosts.read=p(d.hosts.read),this.hosts.write=p(d.hosts.write));else{var H=y(this._shuffleResult,function(P){return u+"-"+P+".algolianet.com"}),O=(d.dsn===!1?"":"-dsn")+".algolia.net";this.hosts.read=[this.applicationID+O].concat(H),this.hosts.write=[this.applicationID+".algolia.net"].concat(H)}this.hosts.read=y(this.hosts.read,g(A)),this.hosts.write=y(this.hosts.write,g(A)),this.extraHeaders={},this.cache=d._cache||{},this._ua=d._ua,this._useCache=d._useCache===void 0||d._cache?!0:d._useCache,this._useRequestCache=this._useCache&&d._useRequestCache,this._useFallback=d.useFallback===void 0?!0:d.useFallback,this._setTimeout=d._setTimeout,v("init done, %j",this)}h.prototype.initIndex=function(u){return new i(this,u)},h.prototype.setExtraHeader=function(u,l){this.extraHeaders[u.toLowerCase()]=l},h.prototype.getExtraHeader=function(u){return this.extraHeaders[u.toLowerCase()]},h.prototype.unsetExtraHeader=function(u){delete this.extraHeaders[u.toLowerCase()]},h.prototype.addAlgoliaAgent=function(u){this._ua.indexOf(";"+u)===-1&&(this._ua+=";"+u)},h.prototype._jsonRequest=function(u){this._checkAppIdData();var l=n(8)("algoliasearch:"+u.url),d,v,p=u.additionalUA||"",b=u.cache,y=this,D=0,A=!1,H=y._useFallback&&y._request.fallback&&u.fallback,O;this.apiKey.length>s&&u.body!==void 0&&(u.body.params!==void 0||u.body.requests!==void 0)?(u.body.apiKey=this.apiKey,O=this._computeRequestHeaders({additionalUA:p,withApiKey:!1,headers:u.headers})):O=this._computeRequestHeaders({additionalUA:p,headers:u.headers}),u.body!==void 0&&(d=f(u.body)),l("request start");var P=[];function x(S,z){y._checkAppIdData();var F=new Date;if(y._useCache&&!y._useRequestCache&&(v=u.url),y._useCache&&!y._useRequestCache&&d&&(v+="_body_"+z.body),B(!y._useRequestCache,b,v)){l("serving response from cache");var Z=b[v];return y._promise.resolve({body:JSON.parse(Z),responseText:Z})}if(D>=y.hosts[u.hostType].length)return!H||A?(l("could not get any response"),y._promise.reject(new o.AlgoliaSearchError("Cannot connect to the AlgoliaSearch API. Send an email to support@algolia.com to report and resolve the issue. Application id was: "+y.applicationID,{debugData:P}))):(l("switching to fallback"),D=0,z.method=u.fallback.method,z.url=u.fallback.url,z.jsonBody=u.fallback.body,z.jsonBody&&(z.body=f(z.jsonBody)),O=y._computeRequestHeaders({additionalUA:p,headers:u.headers}),z.timeouts=y._getTimeoutsForRequest(u.hostType),y._setHostIndexByType(0,u.hostType),A=!0,x(y._request.fallback,z));var U=y._getHostByType(u.hostType),G=U+z.url,W={body:z.body,jsonBody:z.jsonBody,method:z.method,headers:O,timeouts:z.timeouts,debug:l,forceAuthHeaders:z.forceAuthHeaders};return l("method: %s, url: %s, headers: %j, timeouts: %d",W.method,G,W.headers,W.timeouts),S===y._request.fallback&&l("using fallback"),S.call(y,G,W).then(K,oe);function K(V){var ee=V&&V.body&&V.body.message&&V.body.status||V.statusCode||V&&V.body&&200;l("received response: statusCode: %s, computed statusCode: %d, headers: %j",V.statusCode,ee,V.headers);var ae=Math.floor(ee/100)===2,se=new Date;if(P.push({currentHost:U,headers:w(O),content:d||null,contentLength:d!==void 0?d.length:null,method:z.method,timeouts:z.timeouts,url:z.url,startTime:F,endTime:se,duration:se-F,statusCode:ee}),ae)return y._useCache&&!y._useRequestCache&&b&&(b[v]=V.responseText),{responseText:V.responseText,body:V.body};var ne=Math.floor(ee/100)!==4;if(ne)return D+=1,Y();l("unrecoverable error");var de=new o.AlgoliaSearchError(V.body&&V.body.message,{debugData:P,statusCode:ee});return y._promise.reject(de)}function oe(V){l("error: %s, stack: %s",V.message,V.stack);var ee=new Date;return P.push({currentHost:U,headers:w(O),content:d||null,contentLength:d!==void 0?d.length:null,method:z.method,timeouts:z.timeouts,url:z.url,startTime:F,endTime:ee,duration:ee-F}),V instanceof o.AlgoliaSearchError||(V=new o.Unknown(V&&V.message,V)),D+=1,V instanceof o.Unknown||V instanceof o.UnparsableJSON||D>=y.hosts[u.hostType].length&&(A||!H)?(V.debugData=P,y._promise.reject(V)):V instanceof o.RequestTimeout?re():Y()}function Y(){return l("retrying request"),y._incrementHostIndex(u.hostType),x(S,z)}function re(){return l("retrying request with higher timeout"),y._incrementHostIndex(u.hostType),y._incrementTimeoutMultipler(),z.timeouts=y._getTimeoutsForRequest(u.hostType),x(S,z)}}function B(S,z,F){return y._useCache&&S&&z&&z[F]!==void 0}function k(S,z){if(B(y._useRequestCache,b,v)&&S.catch(function(){delete b[v]}),typeof u.callback=="function")S.then(function(Z){r(function(){u.callback(null,z(Z))},y._setTimeout||setTimeout)},function(Z){r(function(){u.callback(Z)},y._setTimeout||setTimeout)});else return S.then(z)}if(y._useCache&&y._useRequestCache&&(v=u.url),y._useCache&&y._useRequestCache&&d&&(v+="_body_"+d),B(y._useRequestCache,b,v)){l("serving request from cache");var T=b[v],M=typeof T.then!="function"?y._promise.resolve({responseText:T}):T;return k(M,function(S){return JSON.parse(S.responseText)})}var R=x(y._request,{url:u.url,method:u.method,body:d,jsonBody:u.body,timeouts:y._getTimeoutsForRequest(u.hostType),forceAuthHeaders:u.forceAuthHeaders});return y._useCache&&y._useRequestCache&&b&&(b[v]=R),k(R,function(S){return S.body})},h.prototype._getSearchParams=function(u,l){if(u==null)return l;for(var d in u)d!==null&&u[d]!==void 0&&u.hasOwnProperty(d)&&(l+=l===""?"":"&",l+=d+"="+encodeURIComponent(Object.prototype.toString.call(u[d])==="[object Array]"?f(u[d]):u[d]));return l},h.prototype._computeRequestHeaders=function(u){var l=n(2),d=u.additionalUA?this._ua+";"+u.additionalUA:this._ua,v={"x-algolia-agent":d,"x-algolia-application-id":this.applicationID};return u.withApiKey!==!1&&(v["x-algolia-api-key"]=this.apiKey),this.userToken&&(v["x-algolia-usertoken"]=this.userToken),this.securityTags&&(v["x-algolia-tagfilters"]=this.securityTags),l(this.extraHeaders,function(b,y){v[y]=b}),u.headers&&l(u.headers,function(b,y){v[y]=b}),v},h.prototype.search=function(u,l,d){var v=n(6),p=n(7),b="Usage: client.search(arrayOfQueries[, callback])";if(!v(u))throw new Error(b);typeof l=="function"?(d=l,l={}):l===void 0&&(l={});var y=this,D={requests:p(u,function(P){var x="";return P.query!==void 0&&(x+="query="+encodeURIComponent(P.query)),{indexName:P.indexName,params:y._getSearchParams(P.params,x)}})},A=p(D.requests,function(P,x){return x+"="+encodeURIComponent("/1/indexes/"+encodeURIComponent(P.indexName)+"?"+P.params)}).join("&"),H="/1/indexes/*/queries";return l.strategy!==void 0&&(D.strategy=l.strategy),this._jsonRequest({cache:this.cache,method:"POST",url:H,body:D,hostType:"read",fallback:{method:"GET",url:"/1/indexes/*",body:{params:A}},callback:d})},h.prototype.searchForFacetValues=function(u){var l=n(6),d=n(7),v="Usage: client.searchForFacetValues([{indexName, params: {facetName, facetQuery, ...params}}, ...queries])";if(!l(u))throw new Error(v);var p=this;return p._promise.all(d(u,function(y){if(!y||y.indexName===void 0||y.params.facetName===void 0||y.params.facetQuery===void 0)throw new Error(v);var D=n(3),A=n(14),H=y.indexName,O=y.params,P=O.facetName,x=A(D(O),function(k){return k==="facetName"}),B=p._getSearchParams(x,"");return p._jsonRequest({cache:p.cache,method:"POST",url:"/1/indexes/"+encodeURIComponent(H)+"/facets/"+encodeURIComponent(P)+"/query",hostType:"read",body:{params:B}})}))},h.prototype.setSecurityTags=function(u){if(Object.prototype.toString.call(u)==="[object Array]"){for(var l=[],d=0;d<u.length;++d)if(Object.prototype.toString.call(u[d])==="[object Array]"){for(var v=[],p=0;p<u[d].length;++p)v.push(u[d][p]);l.push("("+v.join(",")+")")}else l.push(u[d]);u=l.join(",")}this.securityTags=u},h.prototype.setUserToken=function(u){this.userToken=u},h.prototype.clearCache=function(){this.cache={}},h.prototype.setRequestTimeout=function(u){u&&(this._timeouts.connect=this._timeouts.read=this._timeouts.write=u)},h.prototype.setTimeouts=function(u){this._timeouts=u},h.prototype.getTimeouts=function(){return this._timeouts},h.prototype._getAppIdData=function(){var u=a.get(this.applicationID);return u!==null&&this._cacheAppIdData(u),u},h.prototype._setAppIdData=function(u){return u.lastChange=new Date().getTime(),this._cacheAppIdData(u),a.set(this.applicationID,u)},h.prototype._checkAppIdData=function(){var u=this._getAppIdData(),l=new Date().getTime();return u===null||l-u.lastChange>c?this._resetInitialAppIdData(u):u},h.prototype._resetInitialAppIdData=function(u){var l=u||{};return l.hostIndexes={read:0,write:0},l.timeoutMultiplier=1,l.shuffleResult=l.shuffleResult||C([1,2,3]),this._setAppIdData(l)},h.prototype._cacheAppIdData=function(u){this._hostIndexes=u.hostIndexes,this._timeoutMultiplier=u.timeoutMultiplier,this._shuffleResult=u.shuffleResult},h.prototype._partialAppIdDataUpdate=function(u){var l=n(2),d=this._getAppIdData();return l(u,function(v,p){d[p]=v}),this._setAppIdData(d)},h.prototype._getHostByType=function(u){return this.hosts[u][this._getHostIndexByType(u)]},h.prototype._getTimeoutMultiplier=function(){return this._timeoutMultiplier},h.prototype._getHostIndexByType=function(u){return this._hostIndexes[u]},h.prototype._setHostIndexByType=function(u,l){var d=n(3),v=d(this._hostIndexes);return v[l]=u,this._partialAppIdDataUpdate({hostIndexes:v}),u},h.prototype._incrementHostIndex=function(u){return this._setHostIndexByType((this._getHostIndexByType(u)+1)%this.hosts[u].length,u)},h.prototype._incrementTimeoutMultipler=function(){var u=Math.max(this._timeoutMultiplier+1,4);return this._partialAppIdDataUpdate({timeoutMultiplier:u})},h.prototype._getTimeoutsForRequest=function(u){return{connect:this._timeouts.connect*this._timeoutMultiplier,complete:this._timeouts[u]*this._timeoutMultiplier}};function g(u){return function(d){return u+"//"+d.toLowerCase()}}function f(u){if(Array.prototype.toJSON===void 0)return JSON.stringify(u);var l=Array.prototype.toJSON;delete Array.prototype.toJSON;var d=JSON.stringify(u);return Array.prototype.toJSON=l,d}function C(u){for(var l=u.length,d,v;l!==0;)v=Math.floor(Math.random()*l),l-=1,d=u[l],u[l]=u[v],u[v]=d;return u}function w(u){var l={};for(var d in u)if(Object.prototype.hasOwnProperty.call(u,d)){var v;d==="x-algolia-api-key"||d==="x-algolia-application-id"?v="**hidden for security purposes**":v=u[d],l[d]=v}return l}},function(e,t){e.exports=function(o,r){r(o,0)}},function(e,t,n){var o=n(13),r=n(33),i=n(34);e.exports=a;function a(s,c){this.indexName=c,this.as=s,this.typeAheadArgs=null,this.typeAheadValueOption=null,this.cache={}}a.prototype.clearCache=function(){this.cache={}},a.prototype.search=o("query"),a.prototype.similarSearch=o("similarQuery"),a.prototype.browse=function(s,c,h){var g=n(35),f=this,C,w;arguments.length===0||arguments.length===1&&typeof arguments[0]=="function"?(C=0,h=arguments[0],s=void 0):typeof arguments[0]=="number"?(C=arguments[0],typeof arguments[1]=="number"?w=arguments[1]:typeof arguments[1]=="function"&&(h=arguments[1],w=void 0),s=void 0,c=void 0):typeof arguments[0]=="object"?(typeof arguments[1]=="function"&&(h=arguments[1]),c=arguments[0],s=void 0):typeof arguments[0]=="string"&&typeof arguments[1]=="function"&&(h=arguments[1],c=void 0),c=g({},c||{},{page:C,hitsPerPage:w,query:s});var u=this.as._getSearchParams(c,"");return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(f.indexName)+"/browse",body:{params:u},hostType:"read",callback:h})},a.prototype.browseFrom=function(s,c){return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/browse",body:{cursor:s},hostType:"read",callback:c})},a.prototype.searchForFacetValues=function(s,c){var h=n(3),g=n(14),f="Usage: index.searchForFacetValues({facetName, facetQuery, ...params}[, callback])";if(s.facetName===void 0||s.facetQuery===void 0)throw new Error(f);var C=s.facetName,w=g(h(s),function(l){return l==="facetName"}),u=this.as._getSearchParams(w,"");return this.as._jsonRequest({method:"POST",url:"/1/indexes/"+encodeURIComponent(this.indexName)+"/facets/"+encodeURIComponent(C)+"/query",hostType:"read",body:{params:u},callback:c})},a.prototype.searchFacet=r(function(s,c){return this.searchForFacetValues(s,c)},i("index.searchFacet(params[, callback])","index.searchForFacetValues(params[, callback])")),a.prototype._search=function(s,c,h,g){return this.as._jsonRequest({cache:this.cache,method:"POST",url:c||"/1/indexes/"+encodeURIComponent(this.indexName)+"/query",body:{params:s},hostType:"read",fallback:{method:"GET",url:"/1/indexes/"+encodeURIComponent(this.indexName),body:{params:s}},callback:h,additionalUA:g})},a.prototype.getObject=function(s,c,h){var g=this;(arguments.length===1||typeof c=="function")&&(h=c,c=void 0);var f="";if(c!==void 0){f="?attributes=";for(var C=0;C<c.length;++C)C!==0&&(f+=","),f+=c[C]}return this.as._jsonRequest({method:"GET",url:"/1/indexes/"+encodeURIComponent(g.indexName)+"/"+encodeURIComponent(s)+f,hostType:"read",callback:h})},a.prototype.getObjects=function(s,c,h){var g=n(6),f=n(7),C="Usage: index.getObjects(arrayOfObjectIDs[, callback])";if(!g(s))throw new Error(C);var w=this;(arguments.length===1||typeof c=="function")&&(h=c,c=void 0);var u={requests:f(s,function(d){var v={indexName:w.indexName,objectID:d};return c&&(v.attributesToRetrieve=c.join(",")),v})};return this.as._jsonRequest({method:"POST",url:"/1/indexes/*/objects",hostType:"read",body:u,callback:h})},a.prototype.as=null,a.prototype.indexName=null,a.prototype.typeAheadArgs=null,a.prototype.typeAheadValueOption=null},function(e,t){e.exports=function(o,r){var i=!1;function a(){return i||(console.warn(r),i=!0),o.apply(this,arguments)}return a}},function(e,t){e.exports=function(o,r){var i=o.toLowerCase().replace(/[\.\(\)]/g,"");return"algoliasearch: `"+o+"` was replaced by `"+r+"`. Please see https://github.com/algolia/algoliasearch-client-javascript/wiki/Deprecated#"+i}},function(e,t,n){var o=n(2);e.exports=function r(i){var a=Array.prototype.slice.call(arguments);return o(a,function(s){for(var c in s)s.hasOwnProperty(c)&&(typeof i[c]=="object"&&typeof s[c]=="object"?i[c]=r({},i[c],s[c]):s[c]!==void 0&&(i[c]=s[c]))}),i}},function(e,t,n){var o=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Array.prototype.slice,a=n(37),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),h=s.call(function(){},"prototype"),g=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(d){var v=d.constructor;return v&&v.prototype===d},C={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},w=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!C["$"+d]&&o.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{f(window[d])}catch{return!0}}catch{return!0}return!1}(),u=function(d){if(typeof window>"u"||!w)return f(d);try{return f(d)}catch{return!1}},l=function(v){var p=v!==null&&typeof v=="object",b=r.call(v)==="[object Function]",y=a(v),D=p&&r.call(v)==="[object String]",A=[];if(!p&&!b&&!y)throw new TypeError("Object.keys called on a non-object");var H=h&&b;if(D&&v.length>0&&!o.call(v,0))for(var O=0;O<v.length;++O)A.push(String(O));if(y&&v.length>0)for(var P=0;P<v.length;++P)A.push(String(P));else for(var x in v)!(H&&x==="prototype")&&o.call(v,x)&&A.push(String(x));if(c)for(var B=u(v),k=0;k<g.length;++k)!(B&&g[k]==="constructor")&&o.call(v,g[k])&&A.push(g[k]);return A};l.shim=function(){if(Object.keys){var v=function(){return(Object.keys(arguments)||"").length===2}(1,2);if(!v){var p=Object.keys;Object.keys=function(y){return a(y)?p(i.call(y)):p(y)}}}else Object.keys=l;return Object.keys||l},e.exports=l},function(e,t,n){var o=Object.prototype.toString;e.exports=function(i){var a=o.call(i),s=a==="[object Arguments]";return s||(s=a!=="[object Array]"&&i!==null&&typeof i=="object"&&typeof i.length=="number"&&i.length>=0&&o.call(i.callee)==="[object Function]"),s}},function(e,t,n){(function(o){var r=n(8)("algoliasearch:src/hostIndexState.js"),i="algoliasearch-client-js",a,s={state:{},set:function(w,u){return this.state[w]=u,this.state[w]},get:function(w){return this.state[w]||null}},c={set:function(w,u){s.set(w,u);try{var l=JSON.parse(o.localStorage[i]);return l[w]=u,o.localStorage[i]=JSON.stringify(l),l[w]}catch(d){return h(w,d)}},get:function(w){try{return JSON.parse(o.localStorage[i])[w]||null}catch(u){return h(w,u)}}};function h(w,u){return r("localStorage failed with",u),C(),a=s,a.get(w)}a=f()?c:s,e.exports={get:g,set:g,supportsLocalStorage:f};function g(w,u){return arguments.length===1?a.get(w):a.set(w,u)}function f(){try{return"localStorage"in o&&o.localStorage!==null?(o.localStorage[i]||o.localStorage.setItem(i,JSON.stringify({})),!0):!1}catch{return!1}}function C(){try{o.localStorage.removeItem(i)}catch{}}}).call(t,n(4))},function(e,t,n){t=e.exports=i.debug=i.default=i,t.coerce=h,t.disable=s,t.enable=a,t.enabled=c,t.humanize=n(40),t.names=[],t.skips=[],t.formatters={};var o;function r(g){var f=0,C;for(C in g)f=(f<<5)-f+g.charCodeAt(C),f|=0;return t.colors[Math.abs(f)%t.colors.length]}function i(g){function f(){if(f.enabled){var C=f,w=+new Date,u=w-(o||w);C.diff=u,C.prev=o,C.curr=w,o=w;for(var l=new Array(arguments.length),d=0;d<l.length;d++)l[d]=arguments[d];l[0]=t.coerce(l[0]),typeof l[0]!="string"&&l.unshift("%O");var v=0;l[0]=l[0].replace(/%([a-zA-Z%])/g,function(b,y){if(b==="%%")return b;v++;var D=t.formatters[y];if(typeof D=="function"){var A=l[v];b=D.call(C,A),l.splice(v,1),v--}return b}),t.formatArgs.call(C,l);var p=f.log||t.log||console.log.bind(console);p.apply(C,l)}}return f.namespace=g,f.enabled=t.enabled(g),f.useColors=t.useColors(),f.color=r(g),typeof t.init=="function"&&t.init(f),f}function a(g){t.save(g),t.names=[],t.skips=[];for(var f=(typeof g=="string"?g:"").split(/[\s,]+/),C=f.length,w=0;w<C;w++)f[w]&&(g=f[w].replace(/\*/g,".*?"),g[0]==="-"?t.skips.push(new RegExp("^"+g.substr(1)+"$")):t.names.push(new RegExp("^"+g+"$")))}function s(){t.enable("")}function c(g){var f,C;for(f=0,C=t.skips.length;f<C;f++)if(t.skips[f].test(g))return!1;for(f=0,C=t.names.length;f<C;f++)if(t.names[f].test(g))return!0;return!1}function h(g){return g instanceof Error?g.stack||g.message:g}},function(e,t){var n=1e3,o=n*60,r=o*60,i=r*24,a=i*365.25;e.exports=function(f,C){C=C||{};var w=typeof f;if(w==="string"&&f.length>0)return s(f);if(w==="number"&&isNaN(f)===!1)return C.long?h(f):c(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function s(f){if(f=String(f),!(f.length>100)){var C=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(f);if(C){var w=parseFloat(C[1]),u=(C[2]||"ms").toLowerCase();switch(u){case"years":case"year":case"yrs":case"yr":case"y":return w*a;case"days":case"day":case"d":return w*i;case"hours":case"hour":case"hrs":case"hr":case"h":return w*r;case"minutes":case"minute":case"mins":case"min":case"m":return w*o;case"seconds":case"second":case"secs":case"sec":case"s":return w*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return w;default:return}}}}function c(f){return f>=i?Math.round(f/i)+"d":f>=r?Math.round(f/r)+"h":f>=o?Math.round(f/o)+"m":f>=n?Math.round(f/n)+"s":f+"ms"}function h(f){return g(f,i,"day")||g(f,r,"hour")||g(f,o,"minute")||g(f,n,"second")||f+" ms"}function g(f,C,w){if(!(f<C))return f<C*1.5?Math.floor(f/C)+" "+w:Math.ceil(f/C)+" "+w+"s"}},function(e,t,n){var o=n(42),r=o.Promise||n(43).Promise;e.exports=function(a,s){var c=n(12),h=n(5),g=n(44),f=n(46),C=n(47);s=s||"";function w(d,v,p){var b=n(3);return p=b(p||{}),p._ua=p._ua||w.ua,new l(d,v,p)}w.version=n(48),w.ua="Algolia for vanilla JavaScript "+s+w.version,w.initPlaces=C(w),o.__algolia={debug:n(8),algoliasearch:w};var u={hasXMLHttpRequest:"XMLHttpRequest"in o,hasXDomainRequest:"XDomainRequest"in o};u.hasXMLHttpRequest&&(u.cors="withCredentials"in new XMLHttpRequest);function l(){a.apply(this,arguments)}return c(l,a),l.prototype._request=function(v,p){return new r(function(y,D){if(!u.cors&&!u.hasXDomainRequest){D(new h.Network("CORS not supported"));return}v=g(v,p.headers);var A=p.body,H=u.cors?new XMLHttpRequest:new XDomainRequest,O,P,x=!1;O=setTimeout(T,p.timeouts.connect),H.onprogress=R,"onreadystatechange"in H&&(H.onreadystatechange=S),H.onload=B,H.onerror=k,H instanceof XMLHttpRequest?(H.open(p.method,v,!0),p.forceAuthHeaders&&(H.setRequestHeader("x-algolia-application-id",p.headers["x-algolia-application-id"]),H.setRequestHeader("x-algolia-api-key",p.headers["x-algolia-api-key"]))):H.open(p.method,v),u.cors&&(A&&(p.method==="POST"?H.setRequestHeader("content-type","application/x-www-form-urlencoded"):H.setRequestHeader("content-type","application/json")),H.setRequestHeader("accept","application/json")),A?H.send(A):H.send();function B(){if(!P){clearTimeout(O);var z;try{z={body:JSON.parse(H.responseText),responseText:H.responseText,statusCode:H.status,headers:H.getAllResponseHeaders&&H.getAllResponseHeaders()||{}}}catch{z=new h.UnparsableJSON({more:H.responseText})}z instanceof h.UnparsableJSON?D(z):y(z)}}function k(z){P||(clearTimeout(O),D(new h.Network({more:z})))}function T(){P=!0,H.abort(),D(new h.RequestTimeout)}function M(){x=!0,clearTimeout(O),O=setTimeout(T,p.timeouts.complete)}function R(){x||M()}function S(){!x&&H.readyState>1&&M()}})},l.prototype._request.fallback=function(v,p){return v=g(v,p.headers),new r(function(y,D){f(v,p,function(H,O){if(H){D(H);return}y(O)})})},l.prototype._promise={reject:function(v){return r.reject(v)},resolve:function(v){return r.resolve(v)},delay:function(v){return new r(function(b){setTimeout(b,v)})},all:function(v){return r.all(v)}},w}},function(e,t,n){(function(o){var r;typeof window<"u"?r=window:typeof o<"u"?r=o:typeof self<"u"?r=self:r={},e.exports=r}).call(t,n(4))},function(e,t,n){(function(o,r){(function(i,a){e.exports=a()})(this,function(){function i(L){var I=typeof L;return L!==null&&(I==="object"||I==="function")}function a(L){return typeof L=="function"}var s=void 0;Array.isArray?s=Array.isArray:s=function(L){return Object.prototype.toString.call(L)==="[object Array]"};var c=s,h=0,g=void 0,f=void 0,C=function(I,X){P[h]=I,P[h+1]=X,h+=2,h===2&&(f?f(x):k())};function w(L){f=L}function u(L){C=L}var l=typeof window<"u"?window:void 0,d=l||{},v=d.MutationObserver||d.WebKitMutationObserver,p=typeof self>"u"&&typeof o<"u"&&{}.toString.call(o)==="[object process]",b=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function y(){return function(){return o.nextTick(x)}}function D(){return typeof g<"u"?function(){g(x)}:O()}function A(){var L=0,I=new v(x),X=document.createTextNode("");return I.observe(X,{characterData:!0}),function(){X.data=L=++L%2}}function H(){var L=new MessageChannel;return L.port1.onmessage=x,function(){return L.port2.postMessage(0)}}function O(){var L=setTimeout;return function(){return L(x,1)}}var P=new Array(1e3);function x(){for(var L=0;L<h;L+=2){var I=P[L],X=P[L+1];I(X),P[L]=void 0,P[L+1]=void 0}h=0}function B(){try{var L=Function("return this")().require("vertx");return g=L.runOnLoop||L.runOnContext,D()}catch{return O()}}var k=void 0;p?k=y():v?k=A():b?k=H():l===void 0?k=B():k=O();function T(L,I){var X=this,J=new this.constructor(S);J[R]===void 0&&He(J);var $=X._state;if($){var te=arguments[$-1];C(function(){return we($,J,te,X._result)})}else de(X,J,L,I);return J}function M(L){var I=this;if(L&&typeof L=="object"&&L.constructor===I)return L;var X=new I(S);return ee(X,L),X}var R=Math.random().toString(36).substring(2);function S(){}var z=void 0,F=1,Z=2,U={error:null};function G(){return new TypeError("You cannot resolve a promise with itself")}function W(){return new TypeError("A promises callback cannot return that same promise.")}function K(L){try{return L.then}catch(I){return U.error=I,U}}function oe(L,I,X,J){try{L.call(I,X,J)}catch($){return $}}function Y(L,I,X){C(function(J){var $=!1,te=oe(X,I,function(ge){$||($=!0,I!==ge?ee(J,ge):se(J,ge))},function(ge){$||($=!0,ne(J,ge))},"Settle: "+(J._label||" unknown promise"));!$&&te&&($=!0,ne(J,te))},L)}function re(L,I){I._state===F?se(L,I._result):I._state===Z?ne(L,I._result):de(I,void 0,function(X){return ee(L,X)},function(X){return ne(L,X)})}function V(L,I,X){I.constructor===L.constructor&&X===T&&I.constructor.resolve===M?re(L,I):X===U?(ne(L,U.error),U.error=null):X===void 0?se(L,I):a(X)?Y(L,I,X):se(L,I)}function ee(L,I){L===I?ne(L,G()):i(I)?V(L,I,K(I)):se(L,I)}function ae(L){L._onerror&&L._onerror(L._result),ce(L)}function se(L,I){L._state===z&&(L._result=I,L._state=F,L._subscribers.length!==0&&C(ce,L))}function ne(L,I){L._state===z&&(L._state=Z,L._result=I,C(ae,L))}function de(L,I,X,J){var $=L._subscribers,te=$.length;L._onerror=null,$[te]=I,$[te+F]=X,$[te+Z]=J,te===0&&L._state&&C(ce,L)}function ce(L){var I=L._subscribers,X=L._state;if(I.length!==0){for(var J=void 0,$=void 0,te=L._result,ge=0;ge<I.length;ge+=3)J=I[ge],$=I[ge+X],J?we(X,J,$,te):$(te);L._subscribers.length=0}}function pe(L,I){try{return L(I)}catch(X){return U.error=X,U}}function we(L,I,X,J){var $=a(X),te=void 0,ge=void 0,rt=void 0,qt=void 0;if($){if(te=pe(X,J),te===U?(qt=!0,ge=te.error,te.error=null):rt=!0,I===te){ne(I,W());return}}else te=J,rt=!0;I._state!==z||($&&rt?ee(I,te):qt?ne(I,ge):L===F?se(I,te):L===Z&&ne(I,te))}function ze(L,I){try{I(function(J){ee(L,J)},function(J){ne(L,J)})}catch(X){ne(L,X)}}var ve=0;function Ke(){return ve++}function He(L){L[R]=ve++,L._state=void 0,L._result=void 0,L._subscribers=[]}function Pe(){return new Error("Array Methods must be provided an Array")}var Re=function(){function L(I,X){this._instanceConstructor=I,this.promise=new I(S),this.promise[R]||He(this.promise),c(X)?(this.length=X.length,this._remaining=X.length,this._result=new Array(this.length),this.length===0?se(this.promise,this._result):(this.length=this.length||0,this._enumerate(X),this._remaining===0&&se(this.promise,this._result))):ne(this.promise,Pe())}return L.prototype._enumerate=function(X){for(var J=0;this._state===z&&J<X.length;J++)this._eachEntry(X[J],J)},L.prototype._eachEntry=function(X,J){var $=this._instanceConstructor,te=$.resolve;if(te===M){var ge=K(X);if(ge===T&&X._state!==z)this._settledAt(X._state,J,X._result);else if(typeof ge!="function")this._remaining--,this._result[J]=X;else if($===q){var rt=new $(S);V(rt,X,ge),this._willSettleAt(rt,J)}else this._willSettleAt(new $(function(qt){return qt(X)}),J)}else this._willSettleAt(te(X),J)},L.prototype._settledAt=function(X,J,$){var te=this.promise;te._state===z&&(this._remaining--,X===Z?ne(te,$):this._result[J]=$),this._remaining===0&&se(te,this._result)},L.prototype._willSettleAt=function(X,J){var $=this;de(X,void 0,function(te){return $._settledAt(F,J,te)},function(te){return $._settledAt(Z,J,te)})},L}();function m(L){return new Re(this,L).promise}function E(L){var I=this;return c(L)?new I(function(X,J){for(var $=L.length,te=0;te<$;te++)I.resolve(L[te]).then(X,J)}):new I(function(X,J){return J(new TypeError("You must pass an array to race."))})}function Q(L){var I=this,X=new I(S);return ne(X,L),X}function N(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function _(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var q=function(){function L(I){this[R]=Ke(),this._result=this._state=void 0,this._subscribers=[],S!==I&&(typeof I!="function"&&N(),this instanceof L?ze(this,I):_())}return L.prototype.catch=function(X){return this.then(null,X)},L.prototype.finally=function(X){var J=this,$=J.constructor;return J.then(function(te){return $.resolve(X()).then(function(){return te})},function(te){return $.resolve(X()).then(function(){throw te})})},L}();q.prototype.then=T,q.all=m,q.race=E,q.resolve=M,q.reject=Q,q._setScheduler=w,q._setAsap=u,q._asap=C;function fe(){var L=void 0;if(typeof r<"u")L=r;else if(typeof self<"u")L=self;else try{L=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var I=L.Promise;if(I){var X=null;try{X=Object.prototype.toString.call(I.resolve())}catch{}if(X==="[object Promise]"&&!I.cast)return}L.Promise=q}return q.polyfill=fe,q.Promise=q,q})}).call(t,n(9),n(4))},function(e,t,n){e.exports=r;var o=n(45);function r(i,a){return/\?/.test(i)?i+="&":i+="?",i+o(a)}},function(e,t,n){var o=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};e.exports=function(s,c,h,g){return c=c||"&",h=h||"=",s===null&&(s=void 0),typeof s=="object"?i(a(s),function(f){var C=encodeURIComponent(o(f))+h;return r(s[f])?i(s[f],function(w){return C+encodeURIComponent(o(w))}).join(c):C+encodeURIComponent(o(s[f]))}).join(c):g?encodeURIComponent(o(g))+h+encodeURIComponent(o(s)):""};var r=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function i(s,c){if(s.map)return s.map(c);for(var h=[],g=0;g<s.length;g++)h.push(c(s[g],g));return h}var a=Object.keys||function(s){var c=[];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&c.push(h);return c}},function(e,t,n){e.exports=i;var o=n(5),r=0;function i(a,s,c){if(s.method!=="GET"){c(new Error("Method "+s.method+" "+a+" is not supported by JSONP."));return}s.debug("JSONP: start");var h=!1,g=!1;r+=1;var f=document.getElementsByTagName("head")[0],C=document.createElement("script"),w="algoliaJSONP_"+r,u=!1;window[w]=function(A){if(b(),g){s.debug("JSONP: Late answer, ignoring");return}h=!0,p(),c(null,{body:A,responseText:JSON.stringify(A)})},a+="&callback="+w,s.jsonBody&&s.jsonBody.params&&(a+="&"+s.jsonBody.params);var l=setTimeout(y,s.timeouts.complete);C.onreadystatechange=v,C.onload=d,C.onerror=D,C.async=!0,C.defer=!0,C.src=a,f.appendChild(C);function d(){s.debug("JSONP: success"),!(u||g)&&(u=!0,h||(s.debug("JSONP: Fail. Script loaded but did not call the callback"),p(),c(new o.JSONPScriptFail)))}function v(){(this.readyState==="loaded"||this.readyState==="complete")&&d()}function p(){clearTimeout(l),C.onload=null,C.onreadystatechange=null,C.onerror=null,f.removeChild(C)}function b(){try{delete window[w],delete window[w+"_loaded"]}catch{window[w]=window[w+"_loaded"]=void 0}}function y(){s.debug("JSONP: Script timeout"),g=!0,p(),c(new o.RequestTimeout)}function D(){s.debug("JSONP: Script error"),!(u||g)&&(p(),c(new o.JSONPScriptError))}}},function(e,t,n){e.exports=r;var o=n(13);function r(i){return function(s,c,h){var g=n(3);h=h&&g(h)||{},h.hosts=h.hosts||["places-dsn.algolia.net","places-1.algolianet.com","places-2.algolianet.com","places-3.algolianet.com"],(arguments.length===0||typeof s=="object"||s===void 0)&&(s="",c="",h._allowEmptyCredentials=!0);var f=i(s,c,h),C=f.initIndex("places");return C.search=o("query","/1/places/query"),C.getObject=function(w,u){return this.as._jsonRequest({method:"GET",url:"/1/places/"+encodeURIComponent(w),hostType:"read",callback:u})},C}}},function(e,t,n){e.exports="3.30.0"},function(e,t,n){e.exports=n(50)},function(e,t,n){var o=n(15),r=n(1);r.element=o;var i=n(0);i.isArray=o.isArray,i.isFunction=o.isFunction,i.isObject=o.isPlainObject,i.bind=o.proxy,i.each=function(C,w){o.each(C,u);function u(l,d){return w(d,l)}},i.map=o.map,i.mixin=o.extend,i.Event=o.Event;var a="aaAutocomplete",s=n(51),c=n(16);function h(C,w,u,l){u=i.isArray(u)?u:[].slice.call(arguments,2);var d=o(C).each(function(v,p){var b=o(p),y=new c({el:b}),D=l||new s({input:b,eventBus:y,dropdownMenuContainer:w.dropdownMenuContainer,hint:w.hint===void 0?!0:!!w.hint,minLength:w.minLength,autoselect:w.autoselect,autoselectOnBlur:w.autoselectOnBlur,tabAutocomplete:w.tabAutocomplete,openOnFocus:w.openOnFocus,templates:w.templates,debug:w.debug,clearOnSelected:w.clearOnSelected,cssClasses:w.cssClasses,datasets:u,keyboardShortcuts:w.keyboardShortcuts,appendTo:w.appendTo,autoWidth:w.autoWidth,ariaLabel:w.ariaLabel||p.getAttribute("aria-label")});b.data(a,D)});return d.autocomplete={},i.each(["open","close","getVal","setVal","destroy","getWrapper"],function(v){d.autocomplete[v]=function(){var p=arguments,b;return d.each(function(y,D){var A=o(D).data(a);b=A[v].apply(A,p)}),b}}),d}h.sources=s.sources,h.escapeHighlightedString=i.escapeHighlightedString;var g="autocomplete"in window,f=window.autocomplete;h.noConflict=function(){return g?window.autocomplete=f:delete window.autocomplete,h},e.exports=h},function(e,t,n){var o="aaAttrs",r=n(0),i=n(1),a=n(16),s=n(52),c=n(59),h=n(17),g=n(11);function f(l){var d,v;if(l=l||{},l.input||r.error("missing input"),this.isActivated=!1,this.debug=!!l.debug,this.autoselect=!!l.autoselect,this.autoselectOnBlur=!!l.autoselectOnBlur,this.openOnFocus=!!l.openOnFocus,this.minLength=r.isNumber(l.minLength)?l.minLength:1,this.autoWidth=l.autoWidth===void 0?!0:!!l.autoWidth,this.clearOnSelected=!!l.clearOnSelected,this.tabAutocomplete=l.tabAutocomplete===void 0?!0:!!l.tabAutocomplete,l.hint=!!l.hint,l.hint&&l.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=l.css=r.mixin({},g,l.appendTo?g.appendTo:{}),this.cssClasses=l.cssClasses=r.mixin({},g.defaultClasses,l.cssClasses||{}),this.cssClasses.prefix=l.cssClasses.formattedPrefix=r.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=l.listboxId=[this.cssClasses.root,"listbox",r.getUniqueId()].join("-");var p=C(l);this.$node=p.wrapper;var b=this.$input=p.input;d=p.menu,v=p.hint,l.dropdownMenuContainer&&i.element(l.dropdownMenuContainer).css("position","relative").append(d.css("top","0")),b.on("blur.aa",function(y){var D=document.activeElement;r.isMsie()&&(d[0]===D||d[0].contains(D))&&(y.preventDefault(),y.stopImmediatePropagation(),r.defer(function(){b.focus()}))}),d.on("mousedown.aa",function(y){y.preventDefault()}),this.eventBus=l.eventBus||new a({el:b}),this.dropdown=new f.Dropdown({appendTo:l.appendTo,wrapper:this.$node,menu:d,datasets:l.datasets,templates:l.templates,cssClasses:l.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new f.Input({input:b,hint:v}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(l),this._setLanguageDirection()}r.mixin(f.prototype,{_bindKeyboardShortcuts:function(l){if(l.keyboardShortcuts){var d=this.$input,v=[];r.each(l.keyboardShortcuts,function(p){typeof p=="string"&&(p=p.toUpperCase().charCodeAt(0)),v.push(p)}),i.element(document).keydown(function(p){var b=p.target||p.srcElement,y=b.tagName;if(!(b.isContentEditable||y==="INPUT"||y==="SELECT"||y==="TEXTAREA")){var D=p.which||p.keyCode;v.indexOf(D)!==-1&&(d.focus(),p.stopPropagation(),p.preventDefault())}})}},_onSuggestionClicked:function(d,v){var p,b={selectionMethod:"click"};(p=this.dropdown.getDatumForSuggestion(v))&&this._select(p,b)},_onCursorMoved:function(d,v){var p=this.dropdown.getDatumForCursor(),b=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(b),p&&(v&&this.input.setInputValue(p.value,!0),this.eventBus.trigger("cursorchanged",p.raw,p.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var d=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",d.width+"px");var v=this.$node[0].getBoundingClientRect(),p=d.bottom-v.top;this.$node.css("top",p+"px");var b=d.left-v.left;this.$node.css("left",b+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var d=this.input.getQuery();d.length>=this.minLength?this.dropdown.update(d):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){var d,v;d=this.dropdown.getDatumForCursor(),v=this.dropdown.getDatumForTopSuggestion();var p={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&d?this._select(d,p):this.autoselectOnBlur&&v?this._select(v,p):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(d,v){var p,b;p=this.dropdown.getDatumForCursor(),b=this.dropdown.getDatumForTopSuggestion();var y={selectionMethod:"enterKey"};p?(this._select(p,y),v.preventDefault()):this.autoselect&&b&&(this._select(b,y),v.preventDefault())},_onTabKeyed:function(d,v){if(!this.tabAutocomplete){this.dropdown.close();return}var p,b={selectionMethod:"tabKey"};(p=this.dropdown.getDatumForCursor())?(this._select(p,b),v.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var d=this.input.getQuery();this.dropdown.isEmpty&&d.length>=this.minLength?this.dropdown.update(d):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var d=this.input.getQuery();this.dropdown.isEmpty&&d.length>=this.minLength?this.dropdown.update(d):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){this.dir==="rtl"&&this._autocomplete()},_onRightKeyed:function(){this.dir==="ltr"&&this._autocomplete()},_onQueryChanged:function(d,v){this.input.clearHintIfInvalid(),v.length>=this.minLength?this.dropdown.update(v):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var d=this.input.getLanguageDirection();this.dir!==d&&(this.dir=d,this.$node.css("direction",d),this.dropdown.setLanguageDirection(d))},_updateHint:function(){var d,v,p,b,y,D;d=this.dropdown.getDatumForTopSuggestion(),d&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(v=this.input.getInputValue(),p=s.normalizeQuery(v),b=r.escapeRegExChars(p),y=new RegExp("^(?:"+b+")(.+$)","i"),D=y.exec(d.value),D?this.input.setHint(v+D[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(d){var v,p,b,y;v=this.input.getHint(),p=this.input.getQuery(),b=d||this.input.isCursorAtEnd(),v&&p!==v&&b&&(y=this.dropdown.getDatumForTopSuggestion(),y&&this.input.setInputValue(y.value),this.eventBus.trigger("autocompleted",y.raw,y.datasetName))},_select:function(d,v){typeof d.value<"u"&&this.input.setQuery(d.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(d.value,!0),this._setLanguageDirection();var p=this.eventBus.trigger("selected",d.raw,d.datasetName,v);p.isDefaultPrevented()===!1&&(this.dropdown.close(),r.defer(r.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var d=this.input.getInputValue();d.length>=this.minLength?this.dropdown.update(d):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(d){d=r.toStr(d),this.isActivated?this.input.setInputValue(d):(this.input.setQuery(d),this.input.setInputValue(d,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),u(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}});function C(l){var d,v,p,b;d=i.element(l.input),v=i.element(h.wrapper.replace("%ROOT%",l.cssClasses.root)).css(l.css.wrapper),!l.appendTo&&d.css("display")==="block"&&d.parent().css("display")==="table"&&v.css("display","table-cell");var y=h.dropdown.replace("%PREFIX%",l.cssClasses.prefix).replace("%DROPDOWN_MENU%",l.cssClasses.dropdownMenu);p=i.element(y).css(l.css.dropdown).attr({role:"listbox",id:l.listboxId}),l.templates&&l.templates.dropdownMenu&&p.html(r.templatify(l.templates.dropdownMenu)()),b=d.clone().css(l.css.hint).css(w(d)),b.val("").addClass(r.className(l.cssClasses.prefix,l.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),b.removeData&&b.removeData(),d.data(o,{"aria-autocomplete":d.attr("aria-autocomplete"),"aria-expanded":d.attr("aria-expanded"),"aria-owns":d.attr("aria-owns"),autocomplete:d.attr("autocomplete"),dir:d.attr("dir"),role:d.attr("role"),spellcheck:d.attr("spellcheck"),style:d.attr("style"),type:d.attr("type")}),d.addClass(r.className(l.cssClasses.prefix,l.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":l.datasets&&l.datasets[0]&&l.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":l.ariaLabel,"aria-owns":l.listboxId}).css(l.hint?l.css.input:l.css.inputWithNoHint);try{d.attr("dir")||d.attr("dir","auto")}catch{}return v=l.appendTo?v.appendTo(i.element(l.appendTo).eq(0)).eq(0):d.wrap(v).parent(),v.prepend(l.hint?b:null).append(p),{wrapper:v,input:d,hint:b,menu:p}}function w(l){return{backgroundAttachment:l.css("background-attachment"),backgroundClip:l.css("background-clip"),backgroundColor:l.css("background-color"),backgroundImage:l.css("background-image"),backgroundOrigin:l.css("background-origin"),backgroundPosition:l.css("background-position"),backgroundRepeat:l.css("background-repeat"),backgroundSize:l.css("background-size")}}function u(l,d){var v=l.find(r.className(d.prefix,d.input));r.each(v.data(o),function(p,b){p===void 0?v.removeAttr(b):v.attr(b,p)}),v.detach().removeClass(r.className(d.prefix,d.input,!0)).insertAfter(l),v.removeData&&v.removeData(o),l.remove()}f.Dropdown=c,f.Input=s,f.sources=n(61),e.exports=f},function(e,t,n){var o;o={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var r=n(0),i=n(1),a=n(10);function s(f){var C=this,w,u,l,d;f=f||{},f.input||r.error("input is missing"),w=r.bind(this._onBlur,this),u=r.bind(this._onFocus,this),l=r.bind(this._onKeydown,this),d=r.bind(this._onInput,this),this.$hint=i.element(f.hint),this.$input=i.element(f.input).on("blur.aa",w).on("focus.aa",u).on("keydown.aa",l),this.$hint.length===0&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=r.noop),r.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(v){o[v.which||v.keyCode]||r.defer(r.bind(C._onInput,C,v))}):this.$input.on("input.aa",d),this.query=this.$input.val(),this.$overflowHelper=c(this.$input)}s.normalizeQuery=function(f){return(f||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},r.mixin(s.prototype,a,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(C){var w=o[C.which||C.keyCode];this._managePreventDefault(w,C),w&&this._shouldTrigger(w,C)&&this.trigger(w+"Keyed",C)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(C,w){var u,l,d;switch(C){case"tab":l=this.getHint(),d=this.getInputValue(),u=l&&l!==d&&!g(w);break;case"up":case"down":u=!g(w);break;default:u=!1}u&&w.preventDefault()},_shouldTrigger:function(C,w){var u;switch(C){case"tab":u=!g(w);break;default:u=!0}return u},_checkInputValue:function(){var C,w,u;C=this.getInputValue(),w=h(C,this.query),u=w&&this.query?this.query.length!==C.length:!1,this.query=C,w?u&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(C){this.query=C},getInputValue:function(){return this.$input.val()},setInputValue:function(C,w){typeof C>"u"&&(C=this.query),this.$input.val(C),w?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(C){this.$input.attr("aria-activedescendant",C)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(C){this.$hint.val(C)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var C,w,u,l;C=this.getInputValue(),w=this.getHint(),u=C!==w&&w.indexOf(C)===0,l=C!==""&&u&&!this.hasOverflow(),l||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var C=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=C},isCursorAtEnd:function(){var f,C,w;return f=this.$input.val().length,C=this.$input[0].selectionStart,r.isNumber(C)?C===f:document.selection?(w=document.selection.createRange(),w.moveStart("character",-f),f===w.text.length):!0},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}});function c(f){return i.element('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:f.css("font-family"),fontSize:f.css("font-size"),fontStyle:f.css("font-style"),fontVariant:f.css("font-variant"),fontWeight:f.css("font-weight"),wordSpacing:f.css("word-spacing"),letterSpacing:f.css("letter-spacing"),textIndent:f.css("text-indent"),textRendering:f.css("text-rendering"),textTransform:f.css("text-transform")}).insertAfter(f)}function h(f,C){return s.normalizeQuery(f)===s.normalizeQuery(C)}function g(f){return f.altKey||f.ctrlKey||f.metaKey||f.shiftKey}e.exports=s},function(e,t,n){var o=[n(54),n(55),n(56),n(57),n(58)],r,i,a=-1,s=[],c=!1;function h(){!r||!i||(r=!1,i.length?s=i.concat(s):a=-1,s.length&&g())}function g(){if(!r){c=!1,r=!0;for(var d=s.length,v=setTimeout(h);d;){for(i=s,s=[];i&&++a<d;)i[a].run();a=-1,d=s.length}i=null,a=-1,r=!1,clearTimeout(v)}}for(var f,C=-1,w=o.length;++C<w;)if(o[C]&&o[C].test&&o[C].test()){f=o[C].install(g);break}function u(d,v){this.fun=d,this.array=v}u.prototype.run=function(){var d=this.fun,v=this.array;switch(v.length){case 0:return d();case 1:return d(v[0]);case 2:return d(v[0],v[1]);case 3:return d(v[0],v[1],v[2]);default:return d.apply(null,v)}},e.exports=l;function l(d){var v=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)v[p-1]=arguments[p];s.push(new u(d,v)),!c&&!r&&(c=!0,f())}},function(e,t,n){(function(o){t.test=function(){return typeof o<"u"&&!o.browser},t.install=function(r){return function(){o.nextTick(r)}}}).call(t,n(9))},function(e,t,n){(function(o){var r=o.MutationObserver||o.WebKitMutationObserver;t.test=function(){return r},t.install=function(i){var a=0,s=new r(i),c=o.document.createTextNode("");return s.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}}).call(t,n(4))},function(e,t,n){(function(o){t.test=function(){return o.setImmediate?!1:typeof o.MessageChannel<"u"},t.install=function(r){var i=new o.MessageChannel;return i.port1.onmessage=r,function(){i.port2.postMessage(0)}}}).call(t,n(4))},function(e,t,n){(function(o){t.test=function(){return"document"in o&&"onreadystatechange"in o.document.createElement("script")},t.install=function(r){return function(){var i=o.document.createElement("script");return i.onreadystatechange=function(){r(),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},o.document.documentElement.appendChild(i),r}}}).call(t,n(4))},function(e,t,n){t.test=function(){return!0},t.install=function(o){return function(){setTimeout(o,0)}}},function(e,t,n){var o=n(0),r=n(1),i=n(10),a=n(60),s=n(11);function c(g){var f=this,C,w,u;g=g||{},g.menu||o.error("menu is required"),!o.isArray(g.datasets)&&!o.isObject(g.datasets)&&o.error("1 or more datasets required"),g.datasets||o.error("datasets is required"),this.isOpen=!1,this.isEmpty=!0,this.minLength=g.minLength||0,this.templates={},this.appendTo=g.appendTo||!1,this.css=o.mixin({},s,g.appendTo?s.appendTo:{}),this.cssClasses=g.cssClasses=o.mixin({},s.defaultClasses,g.cssClasses||{}),this.cssClasses.prefix=g.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),C=o.bind(this._onSuggestionClick,this),w=o.bind(this._onSuggestionMouseEnter,this),u=o.bind(this._onSuggestionMouseLeave,this);var l=o.className(this.cssClasses.prefix,this.cssClasses.suggestion);this.$menu=r.element(g.menu).on("mouseenter.aa",l,w).on("mouseleave.aa",l,u).on("click.aa",l,C),this.$container=g.appendTo?g.wrapper:this.$menu,g.templates&&g.templates.header&&(this.templates.header=o.templatify(g.templates.header),this.$menu.prepend(this.templates.header())),g.templates&&g.templates.empty&&(this.templates.empty=o.templatify(g.templates.empty),this.$empty=r.element('<div class="'+o.className(this.cssClasses.prefix,this.cssClasses.empty,!0)+'"></div>'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=o.map(g.datasets,function(v){return h(f.$menu,v,g.cssClasses)}),o.each(this.datasets,function(v){var p=v.getRoot();p&&p.parent().length===0&&f.$menu.append(p),v.onSync("rendered",f._onRendered,f)}),g.templates&&g.templates.footer&&(this.templates.footer=o.templatify(g.templates.footer),this.$menu.append(this.templates.footer()));var d=this;r.element(window).resize(function(){d._redraw()})}o.mixin(c.prototype,i,{_onSuggestionClick:function(f){this.trigger("suggestionClicked",r.element(f.currentTarget))},_onSuggestionMouseEnter:function(f){var C=r.element(f.currentTarget);if(!C.hasClass(o.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var w=this;setTimeout(function(){w._setCursor(C,!1)},0)}},_onSuggestionMouseLeave:function(f){if(f.relatedTarget){var C=r.element(f.relatedTarget);if(C.closest("."+o.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0)return}this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(f,C){if(this.isEmpty=o.every(this.datasets,u),this.isEmpty)if(C.length>=this.minLength&&this.trigger("empty"),this.$empty)if(C.length<this.minLength)this._hide();else{var w=this.templates.empty({query:this.datasets[0]&&this.datasets[0].query});this.$empty.html(w),this.$empty.show(),this._show()}else o.any(this.datasets,l)?C.length<this.minLength?this._hide():this._show():this._hide();else this.isOpen&&(this.$empty&&(this.$empty.empty(),this.$empty.hide()),C.length>=this.minLength?this._show():this._hide());this.trigger("datasetRendered");function u(d){return d.isEmpty()}function l(d){return d.templates&&d.templates.empty}},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){!this.isOpen||!this.appendTo||this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(o.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(o.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(f,C){f.first().addClass(o.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",C)},_removeCursor:function(){this._getCursor().removeClass(o.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(f){var C,w,u,l;if(this.isOpen){if(w=this._getCursor(),C=this._getSuggestions(),this._removeCursor(),u=C.index(w)+f,u=(u+1)%(C.length+1)-1,u===-1){this.trigger("cursorRemoved");return}else u<-1&&(u=C.length-1);this._setCursor(l=C.eq(u),!0),this._ensureVisible(l)}},_ensureVisible:function(f){var C,w,u,l;C=f.position().top,w=C+f.height()+parseInt(f.css("margin-top"),10)+parseInt(f.css("margin-bottom"),10),u=this.$menu.scrollTop(),l=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),C<0?this.$menu.scrollTop(u+C):l<w&&this.$menu.scrollTop(u+(w-l))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,this.isEmpty||this._show(),this.trigger("opened"))},setLanguageDirection:function(f){this.$menu.css(f==="ltr"?this.css.ltr:this.css.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(f){var C=null;return f.length&&(C={raw:a.extractDatum(f),value:a.extractValue(f),datasetName:a.extractDatasetName(f)}),C},getCurrentCursor:function(){return this._getCursor().first()},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},cursorTopSuggestion:function(){this._setCursor(this._getSuggestions().first(),!1)},update:function(f){o.each(this.datasets,C);function C(w){w.update(f)}},empty:function(){o.each(this.datasets,f),this.isEmpty=!0;function f(C){C.clear()}},isVisible:function(){return this.isOpen&&!this.isEmpty},destroy:function(){this.$menu.off(".aa"),this.$menu=null,o.each(this.datasets,f);function f(C){C.destroy()}}}),c.Dataset=a;function h(g,f,C){return new c.Dataset(o.mixin({$menu:g,cssClasses:C},f))}e.exports=c},function(e,t,n){var o="aaDataset",r="aaValue",i="aaDatum",a=n(0),s=n(1),c=n(17),h=n(11),g=n(10);function f(l){l=l||{},l.templates=l.templates||{},l.source||a.error("missing source"),l.name&&!u(l.name)&&a.error("invalid dataset name: "+l.name),this.query=null,this._isEmpty=!0,this.highlight=!!l.highlight,this.name=typeof l.name>"u"||l.name===null?a.getUniqueId():l.name,this.source=l.source,this.displayFn=C(l.display||l.displayKey),this.debounce=l.debounce,this.cache=l.cache!==!1,this.templates=w(l.templates,this.displayFn),this.css=a.mixin({},h,l.appendTo?h.appendTo:{}),this.cssClasses=l.cssClasses=a.mixin({},h.defaultClasses,l.cssClasses||{}),this.cssClasses.prefix=l.cssClasses.formattedPrefix||a.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var d=a.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=l.$menu&&l.$menu.find(d+"-"+this.name).length>0?s.element(l.$menu.find(d+"-"+this.name)[0]):s.element(c.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=l.$menu,this.clearCachedSuggestions()}f.extractDatasetName=function(d){return s.element(d).data(o)},f.extractValue=function(d){return s.element(d).data(r)},f.extractDatum=function(d){var v=s.element(d).data(i);return typeof v=="string"&&(v=JSON.parse(v)),v},a.mixin(f.prototype,g,{_render:function(d,v){if(!this.$el)return;var p=this,b,y=[].slice.call(arguments,2);if(this.$el.empty(),b=v&&v.length,this._isEmpty=!b,!b&&this.templates.empty)this.$el.html(D.apply(this,y)).prepend(p.templates.header?H.apply(this,y):null).append(p.templates.footer?O.apply(this,y):null);else if(b)this.$el.html(A.apply(this,y)).prepend(p.templates.header?H.apply(this,y):null).append(p.templates.footer?O.apply(this,y):null);else if(v&&!Array.isArray(v))throw new TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(b?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(b?"without":"with")+"-"+this.name),this.trigger("rendered",d);function D(){var P=[].slice.call(arguments,0);return P=[{query:d,isEmpty:!0}].concat(P),p.templates.empty.apply(this,P)}function A(){var P=[].slice.call(arguments,0),x,B,k=this,T=c.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return x=s.element(T).css(this.css.suggestions),B=a.map(v,M),x.append.apply(x,B),x;function M(R){var S,z=c.suggestion.replace("%PREFIX%",k.cssClasses.prefix).replace("%SUGGESTION%",k.cssClasses.suggestion);return S=s.element(z).attr({role:"option",id:["option",Math.floor(Math.random()*1e8)].join("-")}).append(p.templates.suggestion.apply(this,[R].concat(P))),S.data(o,p.name),S.data(r,p.displayFn(R)||void 0),S.data(i,JSON.stringify(R)),S.children().each(function(){s.element(this).css(k.css.suggestionChild)}),S}}function H(){var P=[].slice.call(arguments,0);return P=[{query:d,isEmpty:!b}].concat(P),p.templates.header.apply(this,P)}function O(){var P=[].slice.call(arguments,0);return P=[{query:d,isEmpty:!b}].concat(P),p.templates.footer.apply(this,P)}},getRoot:function(){return this.$el},update:function(d){function v(D){if(!this.canceled&&d===this.query){var A=[].slice.call(arguments,1);this.cacheSuggestions(d,D,A),this._render.apply(this,[d,D].concat(A))}}if(this.query=d,this.canceled=!1,this.shouldFetchFromCache(d))v.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var p=this,b=function(){p.canceled||p.source(d,v.bind(p))};if(this.debounce){var y=function(){p.debounceTimeout=null,b()};clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(y,this.debounce)}else b()}},cacheSuggestions:function(d,v,p){this.cachedQuery=d,this.cachedSuggestions=v,this.cachedRenderExtraArgs=p},shouldFetchFromCache:function(d){return this.cache&&this.cachedQuery===d&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered","")},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}});function C(l){return l=l||"value",a.isFunction(l)?l:d;function d(v){return v[l]}}function w(l,d){return{empty:l.empty&&a.templatify(l.empty),header:l.header&&a.templatify(l.header),footer:l.footer&&a.templatify(l.footer),suggestion:l.suggestion||v};function v(p){return"<p>"+d(p)+"</p>"}}function u(l){return/^[_a-zA-Z0-9-]+$/.test(l)}e.exports=f},function(e,t,n){e.exports={hits:n(62),popularIn:n(63)}},function(e,t,n){var o=n(0),r=n(18),i=n(19);e.exports=function(s,c){var h=i(s.as._ua);return h&&h[0]>=3&&h[1]>20&&(c=c||{},c.additionalUA="autocomplete.js "+r),g;function g(f,C){s.search(f,c,function(w,u){if(w){o.error(w.message);return}C(u.hits,u)})}}},function(e,t,n){var o=n(0),r=n(18),i=n(19);e.exports=function(s,c,h,g){var f=i(s.as._ua);if(f&&f[0]>=3&&f[1]>20&&(c=c||{},c.additionalUA="autocomplete.js "+r),!h.source)return o.error("Missing 'source' key");var C=o.isFunction(h.source)?h.source:function(l){return l[h.source]};if(!h.index)return o.error("Missing 'index' key");var w=h.index;return g=g||{},u;function u(l,d){s.search(l,c,function(v,p){if(v){o.error(v.message);return}if(p.hits.length>0){var b=p.hits[0],y=o.mixin({hitsPerPage:0},h);delete y.source,delete y.index;var D=i(w.as._ua);D&&D[0]>=3&&D[1]>20&&(c.additionalUA="autocomplete.js "+r),w.search(C(b),y,function(A,H){if(A){o.error(A.message);return}var O=[];if(g.includeAll){var P=g.allTitle||"All departments";O.push(o.mixin({facet:{value:P,count:H.nbHits}},o.cloneDeep(b)))}o.each(H.facets,function(B,k){o.each(B,function(T,M){O.push(o.mixin({facet:{facet:k,value:M,count:T}},o.cloneDeep(b)))})});for(var x=1;x<p.hits.length;++x)O.push(p.hits[x]);d(O,p)});return}d([])})}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o="algolia-docsearch",r=o+"-suggestion",i=o+"-footer",a={suggestion:`
389
389
  <a class="`+r+`
390
390
  {{#isCategoryHeader}}`+r+`__main{{/isCategoryHeader}}
391
391
  {{#isSubCategoryHeader}}`+r+`__secondary{{/isSubCategoryHeader}}
@@ -496,7 +496,7 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
496
496
  <div>
497
497
  <slot></slot>
498
498
  </div>
499
- `});const ln=()=>{const e=Oe();return{zh:{changelog:{title:"更新日志",emptyInfo:"暂无更新日志"},footer:{copyright:"腾讯公司 版权所有",weComGroup:"企业微信群",weComGroupDesc:"欢迎微信扫码联系我们"}},en:{changelog:{title:"Changelog",emptyInfo:"No changelog available"},footer:{copyright:"Tencent Copyright",weComGroup:"WeCom Group",weComGroupDesc:"Welcome to contact us"}}}[e]},$a='.TDesign-doc-changelog__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0000004d;z-index:10000}.hidden .TDesign-doc-changelog__overlay{display:none}.TDesign-doc-changelog__drawer{position:fixed;top:0;right:0;width:500px;height:100vh;background-color:var(--bg-color-container);z-index:100001;box-shadow:-4px 0 12px #0000001a;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:var(--text-primary);transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .35s ease}@media screen and (max-width: 960px){.TDesign-doc-changelog__drawer{width:85vw}}.visible .TDesign-doc-changelog__drawer{transform:translate(0);opacity:1}.hidden .TDesign-doc-changelog__drawer{transform:translate(100%);opacity:0}.TDesign-doc-changelog__drawer-header{display:flex;justify-content:space-between;align-items:center;height:56px;box-shadow:var(--header-box-shadow)}.TDesign-doc-changelog__drawer-header p{position:relative;font-size:16px;left:16px;height:24px;font-weight:600}.TDesign-doc-changelog__drawer-header button{background:transparent;border:none;cursor:pointer;padding:2px}.TDesign-doc-changelog__drawer-header button svg{width:20px;height:20px;color:var(--text-primary)}.TDesign-doc-changelog__drawer-body{position:relative;padding:16px;overflow-y:auto;height:calc(100vh - 56px)}.TDesign-doc-changelog__drawer-body:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar-corner{width:0}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}.TDesign-doc-changelog__logs{position:relative;display:flex;flex-direction:column;gap:16px}.TDesign-doc-changelog__logs:not(:has(.TDesign-doc-changelog__logs-empty)):after{content:"";position:absolute;top:32px;left:15px;width:2px;height:100%;background:var(--brand-main)}.TDesign-doc-changelog__logs-version{position:relative;padding-left:32px}.TDesign-doc-changelog__logs-version:last-of-type:after{content:"";position:absolute;left:15px;top:30px;z-index:10;width:8px;height:105%;background:var(--bg-color-docpage)}.TDesign-doc-changelog__logs-version-header{display:flex;align-items:center;margin:10px 0}.TDesign-doc-changelog__logs-version-header:before{content:"";position:absolute;left:12px;width:8px;height:8px;border:2px solid var(--brand-main);background:var(--bg-color-docpage);outline:8px solid var(--bg-color-docpage);box-sizing:border-box;border-radius:50%;z-index:10}.TDesign-doc-changelog__logs-version-header span{font-size:18px;font-weight:600;color:var(--text-primary)}.TDesign-doc-changelog__logs-version-header code{position:relative;left:8px;color:var(--text-primary);background:var(--bg-color-tag);border-radius:3px;margin:0 2px;padding:2px 8px;font-size:12px;font-weight:400;line-height:20px}.TDesign-doc-changelog__logs-version-section h3{font-size:16px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.TDesign-doc-changelog__logs-version-section ul{margin:0;padding-left:20px;list-style-type:disc;font-size:14px}.TDesign-doc-changelog__logs-version-section ul ul{padding-left:22px}.TDesign-doc-changelog__logs-version-section ul ul li{list-style-type:circle}.TDesign-doc-changelog__logs-version-section ul li{padding-left:6px;margin-bottom:6px;line-height:22px;color:var(--text-primary)}.TDesign-doc-changelog__logs-version-section ul code{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;margin:0 2px;color:var(--error-8);background:var(--error-1);border-radius:3px;padding:2px 6px;font-size:12px;word-break:break-word}.TDesign-doc-changelog__logs-version-section ul a{color:var(--brand-main);text-decoration:none}.TDesign-doc-changelog__logs-version-section ul a:hover{color:var(--brand-main-hover)}.TDesign-doc-changelog__logs-empty{color:var(--text-secondary);text-align:center;padding:30px 0;font-style:italic}.TDesign-doc-changelog__logs__loading{display:flex;align-items:center;justify-content:center;width:100%;height:128px;color:var(--brand-main)}.TDesign-doc-changelog__logs__loading-icon{width:32px;height:32px;border-radius:50%;background:conic-gradient(from 90deg at 50% 50%,#fff 0deg,currentColor 360deg);-webkit-mask:radial-gradient(transparent calc(50% - .5px),#fff 50%);mask:radial-gradient(transparent calc(50% - .5px),#fff 50%);animation:spin 1s linear infinite;-webkit-animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}';let cn=null;const Je="TDesign-doc-changelog",Qe=`${Je}__logs`,No=ln(),es=["tencent.com","woa.com"],ts={qrcode:"QRCode"};function ns(){const t=window.location.href.split("/")[3],n=es.some(o=>location.hostname.includes(o));return`${location.origin}${n?`/${t}`:""}`}function os(){if(nn()){let t=window.location.pathname.split("/")[3]||"";return t.endsWith("-en")&&(t=t.slice(0,-3)),ts[t]||Yi(t)}else if(Bo())return"ConfigProvider"}async function rs(e){var n,o,r;const t=os();try{cn||(cn=await(await fetch(`${ns()}/changelog.json`)).json());const i=(n=e.shadowRoot)==null?void 0:n.querySelector(`.${Qe}__loading`);i==null||i.remove();const a=(o=e.shadowRoot)==null?void 0:o.querySelector(`.${Je}__drawer-body`);a&&(a.scrollTop=0);const s=cn[t],c=(r=e.shadowRoot)==null?void 0:r.querySelector(`.${Qe}`);c&&(c.innerHTML=is(s))}catch(i){console.error("Failed to load changelog:",i)}}function is(e){return Array.isArray(e)?e.map(t=>{const n=Object.keys(t).filter(o=>Array.isArray(t[o])).map(o=>as(o,t[o])).join("");return`
499
+ `});const ln=()=>{const e=Oe();return{zh:{changelog:{title:"更新日志",emptyInfo:"暂无更新日志"},footer:{copyright:"腾讯公司 版权所有",weComGroup:"企业微信群",weComGroupDesc:"欢迎微信扫码联系我们"}},en:{changelog:{title:"Changelog",emptyInfo:"No changelog available"},footer:{copyright:"Tencent Copyright",weComGroup:"WeCom Group",weComGroupDesc:"Welcome to contact us"}}}[e]},$a='.TDesign-doc-changelog__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0000004d;z-index:10000}.hidden .TDesign-doc-changelog__overlay{display:none}.TDesign-doc-changelog__drawer{position:fixed;top:0;right:0;width:500px;height:100vh;background-color:var(--bg-color-container);z-index:100001;box-shadow:-4px 0 12px #0000001a;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:var(--text-primary);transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .35s ease}@media screen and (max-width: 960px){.TDesign-doc-changelog__drawer{width:85vw}}.visible .TDesign-doc-changelog__drawer{transform:translate(0);opacity:1}.hidden .TDesign-doc-changelog__drawer{transform:translate(100%);opacity:0}.TDesign-doc-changelog__drawer-header{display:flex;justify-content:space-between;align-items:center;height:56px;box-shadow:var(--header-box-shadow)}.TDesign-doc-changelog__drawer-header p{position:relative;font-size:16px;left:16px;height:24px;font-weight:600}.TDesign-doc-changelog__drawer-header button{background:transparent;border:none;cursor:pointer;padding:2px}.TDesign-doc-changelog__drawer-header button svg{width:20px;height:20px;color:var(--text-primary)}.TDesign-doc-changelog__drawer-body{position:relative;padding:16px;overflow-y:auto;height:calc(100vh - 80px)}.TDesign-doc-changelog__drawer-body:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar-corner{width:0}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}.TDesign-doc-changelog__logs{position:relative;display:flex;flex-direction:column;gap:16px}.TDesign-doc-changelog__logs:not(:has(.TDesign-doc-changelog__logs-empty)):after{content:"";position:absolute;top:32px;left:15px;width:2px;height:100%;background:var(--brand-main)}.TDesign-doc-changelog__logs-version{position:relative;padding-left:32px}.TDesign-doc-changelog__logs-version:last-of-type:after{content:"";position:absolute;left:15px;top:30px;z-index:10;width:8px;height:105%;background:var(--bg-color-docpage)}.TDesign-doc-changelog__logs-version-header{display:flex;align-items:center;margin:10px 0}.TDesign-doc-changelog__logs-version-header:before{content:"";position:absolute;left:12px;width:8px;height:8px;border:2px solid var(--brand-main);background:var(--bg-color-docpage);outline:8px solid var(--bg-color-docpage);box-sizing:border-box;border-radius:50%;z-index:10}.TDesign-doc-changelog__logs-version-header span{font-size:18px;font-weight:600;color:var(--text-primary)}.TDesign-doc-changelog__logs-version-header code{position:relative;left:8px;color:var(--text-primary);background:var(--bg-color-tag);border-radius:3px;margin:0 2px;padding:2px 8px;font-size:12px;font-weight:400;line-height:20px}.TDesign-doc-changelog__logs-version-section h3{font-size:16px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.TDesign-doc-changelog__logs-version-section ul{margin:0;padding-left:20px;list-style-type:disc;font-size:14px}.TDesign-doc-changelog__logs-version-section ul ul{padding-left:22px}.TDesign-doc-changelog__logs-version-section ul ul li{list-style-type:circle}.TDesign-doc-changelog__logs-version-section ul li{padding-left:6px;margin-bottom:6px;line-height:22px;color:var(--text-primary)}.TDesign-doc-changelog__logs-version-section ul a{color:var(--brand-main);text-decoration:none}.TDesign-doc-changelog__logs-version-section ul a:hover{color:var(--brand-main-hover)}.TDesign-doc-changelog__logs-empty{color:var(--text-secondary);text-align:center;padding:30px 0;font-style:italic}.TDesign-doc-changelog__logs__loading{display:flex;align-items:center;justify-content:center;width:100%;height:128px;color:var(--brand-main)}.TDesign-doc-changelog__logs__loading-icon{width:32px;height:32px;border-radius:50%;background:conic-gradient(from 90deg at 50% 50%,#fff 0deg,currentColor 360deg);-webkit-mask:radial-gradient(transparent calc(50% - .5px),#fff 50%);mask:radial-gradient(transparent calc(50% - .5px),#fff 50%);animation:spin 1s linear infinite;-webkit-animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}';let cn=null;const We="TDesign-doc-changelog",Qe=`${We}__logs`,No=ln(),es=["tencent.com","woa.com"],ts={qrcode:"QRCode"};function ns(){const t=window.location.href.split("/")[3],n=es.some(o=>location.hostname.includes(o));return`${location.origin}${n?`/${t}`:""}`}function os(){if(nn()){let t=window.location.pathname.split("/")[3]||"";return t.endsWith("-en")&&(t=t.slice(0,-3)),ts[t]||Yi(t)}else if(Bo())return"ConfigProvider"}async function rs(e){var n,o,r;const t=os();try{cn||(cn=await(await fetch(`${ns()}/changelog.json`)).json());const i=(n=e.shadowRoot)==null?void 0:n.querySelector(`.${Qe}__loading`);i==null||i.remove();const a=(o=e.shadowRoot)==null?void 0:o.querySelector(`.${We}__drawer-body`);a&&(a.scrollTop=0);const s=cn[t],c=(r=e.shadowRoot)==null?void 0:r.querySelector(`.${Qe}`);c&&(c.innerHTML=is(s))}catch(i){console.error("Failed to load changelog:",i)}}function is(e){return Array.isArray(e)?e.map(t=>{const n=Object.keys(t).filter(o=>Array.isArray(t[o])).map(o=>as(o,t[o])).join("");return`
500
500
  <div class="${Qe}-version">
501
501
  <h2 class="${Qe}-version-header">
502
502
  <span>🌈 ${t.version}</span>
@@ -512,15 +512,15 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
512
512
  </ul>
513
513
  </div>
514
514
  `:""}function ss(e){const t=e.split(`
515
- `).map(o=>o.trim()).filter(Boolean);if(t.length>1){const[o,...r]=t,i=r.map(s=>`<li>${s}</li>`).join(""),a=`<li>${o}</li><ul>${i}</ul>`;return Xo(a)}const n=t.map(o=>`<li>${o}</li>`).join("");return Xo(n)}function Xo(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^)]+)\)/g,'<a href="$2" target="_blank">$1</a>').replace(new RegExp("(?<!`)@([a-zA-Z0-9-_]+)(?!`)","g"),'<a href="https://github.com/$1" target="_blank">@$1</a>').replace(/`([^`]+)`/g,"<code>$1</code>")}ie({tag:"td-doc-changelog",visible:{value:!1,observe:(e,t)=>{t&&rs(e)}},render:e=>{const t=()=>{e.visible=!1};return j`
515
+ `).map(o=>o.trim()).filter(Boolean);if(t.length>1){const[o,...r]=t,i=r.map(s=>`<li>${s}</li>`).join(""),a=`<li>${o}</li><ul>${i}</ul>`;return Xo(a)}const n=t.map(o=>`<li>${o}</li>`).join("");return Xo(n)}function Xo(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^)]+)\)/g,'<a href="$2" target="_blank">$1</a>').replace(new RegExp("(?<!`)@([a-zA-Z0-9-_]+)(?!`)","g"),'<a href="https://github.com/$1" target="_blank">@$1</a>').replace(/`([^`]+)`/g,(t,n)=>`<td-code text="${n}"></td-code>`)}ie({tag:"td-doc-changelog",visible:{value:!1,observe:(e,t)=>{t&&rs(e)}},render:e=>{const t=()=>{e.visible=!1};return j`
516
516
  <div class="${e.visible?"visible":"hidden"}">
517
- <div class="${Je}__overlay" onclick="${t}"></div>
518
- <div class="${Je}__drawer">
519
- <div class="${Je}__drawer-header">
517
+ <div class="${We}__overlay" onclick="${t}"></div>
518
+ <div class="${We}__drawer">
519
+ <div class="${We}__drawer-header">
520
520
  <p>${No.changelog.title}</p>
521
521
  <button onclick="${t}" innerHTML="${en}"></button>
522
522
  </div>
523
- <div class="${Je}__drawer-body">
523
+ <div class="${We}__drawer-body">
524
524
  <div class="${Qe}__loading">
525
525
  <svg
526
526
  class="${Qe}__loading-icon"
@@ -535,7 +535,7 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
535
535
  </div>
536
536
  </div>
537
537
  </div>
538
- `.css`${$a}`}});const ls=".TDesign-doc-content{display:flex;flex-direction:column;position:relative;background:var(--bg-color-docpage)}.TDesign-doc-content.hidden{opacity:0;visibility:hidden}.TDesign-doc-content.show{opacity:1;visibility:visible;transition:all .2s linear}.TDesign-doc-content .TDesign-doc-body{min-height:calc(100vh - var(--footer-height));color:var(--text-primary);padding-right:var(--content-padding-right)}.TDesign-doc-content .TDesign-doc-body__inner{width:100%;padding:64px var(--content-padding-left-right) 120px var(--content-padding-left-right);margin:0 auto;box-sizing:border-box;min-width:320px;max-width:var(--content-max-width)}.TDesign-doc-content__backtop{width:40px;height:40px;position:fixed;right:24px;bottom:40px;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color-scroll);border-radius:100%;cursor:pointer;transition:all .2s linear;opacity:0;visibility:hidden;color:var(--text-secondary)}.TDesign-doc-content__backtop.show{opacity:1;visibility:visible}.TDesign-doc-content__backtop:hover{color:var(--text-primary);background-color:var(--text-disabled)}",cs=228,Fo=['div[name="DEMO"]','div[name="API"]','div[name="DESIGN"]','div[name="DOC"]'];function ds(){function e(n){return n.map(r=>{const[,i]=decodeURIComponent(r.href).split("#");return document.getElementById(i)}).map(r=>{if(!r)return 0;const{top:i}=r.getBoundingClientRect();return i+document.documentElement.scrollTop})}function t(n,o){const{scrollTop:r}=document.documentElement;for(let i=0;i<o.length;i++)if(r<=o[i]){if(n[i].classList.contains("active"))break;n.forEach(a=>a.classList.remove("active")),n[i].classList.add("active");break}}Fo.forEach(n=>{const o=document.querySelector(n);if(!o)return;const r=Array.from(o.querySelectorAll(".tdesign-toc_list_item_a"))||[],i=e(r);t(r,i)})}ie({tag:"td-doc-content",platform:"web",pageStatus:"show",mobileBodyStyle:on,fixedAnchor:{get:(e,t)=>t||void 0,set:(e,t)=>t,connect:()=>{function e(){const{scrollTop:r}=document.documentElement,i=document.querySelectorAll(".tdesign-toc_container");r>cs?i.forEach(a=>{Object.assign(a.style,{position:"fixed",top:"152px"})}):i.forEach(a=>{Object.assign(a.style,{position:"absolute",top:"316px"})}),ds()}function t(r){if(r.target.tagName!=="A")return;const{target:i}=r,a=decodeURIComponent(i.href);if(!a.includes("#"))return;const[,s=""]=a.split("#");if(i.classList.contains("tdesign-header-anchor")||i.classList.contains("tdesign-toc_list_item_a")){const c=document.getElementById(s);if(!c)return;const{top:h}=c.getBoundingClientRect(),g=h+document.documentElement.scrollTop;requestAnimationFrame(()=>window.scrollTo({top:g-120,left:0}))}}function n(){const r=new MutationObserver(()=>{for(const i of Fo)if(document.querySelector(i)){r.disconnect(),o();break}});r.observe(document.body,{childList:!0,subtree:!0})}function o(){const r=decodeURIComponent(location.href);if(!r.includes("#"))return;const[,i=""]=r.split("#"),a=document.getElementById(i);if(!a)return;const{top:s}=a.getBoundingClientRect(),c=s+window.scrollY;window.scrollTo({top:c-120,left:0})}return document.addEventListener("scroll",e),document.addEventListener("click",t),window.addEventListener("load",n),()=>{document.removeEventListener("scroll",e),document.removeEventListener("click",t),window.removeEventListener("load",n)}}},render:e=>j`
538
+ `.css`${$a}`}});const ls=".TDesign-doc-content{display:flex;flex-direction:column;position:relative;background:var(--bg-color-docpage)}.TDesign-doc-content.hidden{opacity:0;visibility:hidden}.TDesign-doc-content.show{opacity:1;visibility:visible;transition:all .2s linear}.TDesign-doc-content .TDesign-doc-body{min-height:calc(100vh - var(--footer-height));color:var(--text-primary);padding-right:var(--content-padding-right)}.TDesign-doc-content .TDesign-doc-body__inner{width:100%;padding:64px var(--content-padding-left-right) 120px var(--content-padding-left-right);margin:0 auto;box-sizing:border-box;min-width:320px;max-width:var(--content-max-width)}.TDesign-doc-content__backtop{width:40px;height:40px;position:fixed;right:24px;bottom:40px;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color-scroll);border-radius:100%;cursor:pointer;transition:all .2s linear;opacity:0;visibility:hidden;color:var(--text-secondary)}.TDesign-doc-content__backtop.show{opacity:1;visibility:visible}.TDesign-doc-content__backtop:hover{color:var(--text-primary);background-color:var(--text-disabled)}",cs=228,Fo=['div[name="DEMO"]','div[name="API"]','div[name="DESIGN"]','div[name="DOC"]'];function ds(){function e(n){return n.map(r=>{const[,i]=decodeURIComponent(r.href).split("#");return document.getElementById(i)}).map(r=>{if(!r)return 0;const{top:i}=r.getBoundingClientRect();return i+document.documentElement.scrollTop})}function t(n,o){const{scrollTop:r}=document.documentElement;for(let i=0;i<o.length;i++)if(r<=o[i]){if(n[i].classList.contains("active"))break;n.forEach(a=>a.classList.remove("active")),n[i].classList.add("active");break}}Fo.forEach(n=>{const o=document.querySelector(n);if(!o)return;const r=Array.from(o.querySelectorAll(".tdesign-toc_list_item_a"))||[],i=e(r);t(r,i)})}ie({tag:"td-doc-content",platform:"web",pageStatus:"show",mobileBodyStyle:on,fixedAnchor:{get:(e,t)=>t||void 0,set:(e,t)=>t,connect:()=>{function e(){const{scrollTop:r}=document.documentElement,i=document.querySelectorAll(".tdesign-toc_container");r>cs?i.forEach(a=>{Object.assign(a.style,{position:"fixed",top:"152px"})}):i.forEach(a=>{Object.assign(a.style,{position:"absolute",top:"316px"})}),ds()}function t(r){if(r.target.tagName!=="A")return;const{target:i}=r,a=decodeURIComponent(i.href);if(!a.includes("#"))return;const[,s=""]=a.split("#");if(i.classList.contains("header-anchor")||i.classList.contains("tdesign-toc_list_item_a")){const c=document.getElementById(s);if(!c)return;const{top:h}=c.getBoundingClientRect(),g=h+document.documentElement.scrollTop;requestAnimationFrame(()=>window.scrollTo({top:g-120,left:0}))}}function n(){const r=new MutationObserver(()=>{for(const i of Fo)if(document.querySelector(i)){r.disconnect(),o();break}});r.observe(document.body,{childList:!0,subtree:!0})}function o(){const r=decodeURIComponent(location.href);if(!r.includes("#"))return;const[,i=""]=r.split("#"),a=document.getElementById(i);if(!a)return;const{top:s}=a.getBoundingClientRect(),c=s+window.scrollY;window.scrollTo({top:c-120,left:0})}return document.addEventListener("scroll",e),document.addEventListener("click",t),window.addEventListener("load",n),()=>{document.removeEventListener("scroll",e),document.removeEventListener("click",t),window.removeEventListener("load",n)}}},render:e=>j`
539
539
  <style>
540
540
  ${ls}
541
541
  </style>
@@ -557,11 +557,11 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
557
557
  d="M7.90582 2.79363C10.8499 2.79364 13.2095 5.14029 13.2095 8.00195C13.2095 10.8636 10.8499 13.2103 7.90581 13.2103C5.44426 13.2103 3.39128 11.5698 2.78447 9.35939L1.75098 9.52803C2.44243 12.2422 4.93584 14.252 7.90581 14.252C11.4103 14.252 14.2512 11.4537 14.2512 8.00196C14.2512 4.55018 11.4103 1.75195 7.90582 1.75195C5.80622 1.75195 3.9448 2.75638 2.78981 4.304L2.78981 2.6451H1.75098V5.7916C1.75098 6.06774 1.97483 6.2916 2.25098 6.2916L5.37759 6.2916V5.24707H3.40454C4.33896 3.77709 5.99992 2.79363 7.90582 2.79363Z"
558
558
  fill="currentColor" />
559
559
  <path d="M6.99951 5.50024V8.38917L9.64596 11.0356L10.3531 10.3285L7.99951 7.97496V5.50024H6.99951Z" fill="currentColor" />
560
- </svg>`,us=":host{width:100%;background-color:var(--bg-color-container);box-shadow:var(--header-box-shadow);position:relative}@media screen and (max-width: 960px){:host{--spline-visible: hidden;--inner-padding-y: 12px;--info-top: 14px;--title-font-size: 32px}}.TDesign-doc-header{height:var(--doc-header-height);padding-right:var(--content-padding-right)}.TDesign-doc-header__inner{padding:var(--inner-padding-y, 48px) var(--content-padding-left-right);box-sizing:border-box;position:relative;display:flex;flex-direction:column;width:100%;min-width:320px;max-width:var(--content-max-width);margin:0 auto}.TDesign-doc-header__thumb{position:absolute;height:calc(100% - 1px);width:1200px;max-width:100%;right:0;top:0;border:0;z-index:450;visibility:var(--spline-visible)}.TDesign-doc-header__thumb.light{display:var(--theme-block-light-display)}.TDesign-doc-header__thumb.dark{display:var(--theme-block-dark-display)}.TDesign-doc-header__badge{max-width:100%;display:flex;overflow-x:auto}.TDesign-doc-header__badge img{margin-right:8px}.TDesign-doc-header__background{width:100%;position:absolute;left:0;bottom:0;height:88px;z-index:400;background:var(--bg-color-container);box-shadow:var(--header-box-shadow)}.TDesign-doc-header__content{display:flex;flex-direction:column;flex:1;position:relative;z-index:500}.TDesign-doc-header__info{position:relative;top:var(--info-top, 48px)}.TDesign-doc-header__info>div:first-child{display:flex;align-items:center;gap:16px}.TDesign-doc-header__info-title{font-size:var(--title-font-size, 48px);color:var(--text-primary);text-align:left;line-height:42px;margin:0;transition:top .2s var(--anim-time-fn-easing),opacity .2s linear,visibility .2s linear}.TDesign-doc-header__info-describe{position:relative;margin-top:16px;font-size:14px;color:var(--text-secondary);line-height:22px;width:100%;box-sizing:border-box;transition:all .2s linear}#TDesign-doc-changelog__entry{all:unset;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:24px;padding:2px 8px;font-size:12px;color:var(--brand-main);border:1px solid var(--brand-main);border-radius:3px;cursor:pointer}#TDesign-doc-changelog__entry:hover{color:var(--brand-main-hover);border:1px solid var(--brand-main-hover)}#TDesign-doc-changelog__entry i{display:flex}#TDesign-doc-changelog__entry span{min-width:48px}";let un=null,Go=null;const fs=ln();function Uo(e,t){if(!t.shadowRoot)return;const n=t.shadowRoot.getElementById("__iframe__");let o="";e==="dark"?o=dn[`${t.spline}-dark`]:o=dn[t.spline],n&&o&&o!==n.src&&(clearTimeout(un),n.style="max-height: 0;",n.src=o)}function gs(e){if(!e.shadowRoot)return;const t=e.shadowRoot.getElementById("__iframe__");clearTimeout(un),un=setTimeout(()=>{t&&(t.style=`
560
+ </svg>`,us=":host{width:100%;background-color:var(--bg-color-container);box-shadow:var(--header-box-shadow);position:relative}@media screen and (max-width: 960px){:host{--spline-visible: hidden;--inner-padding-y: 12px;--info-top: 14px;--title-font-size: 32px}}.TDesign-doc-header{height:var(--doc-header-height);padding-right:var(--content-padding-right)}.TDesign-doc-header__inner{padding:var(--inner-padding-y, 48px) var(--content-padding-left-right);box-sizing:border-box;position:relative;display:flex;flex-direction:column;width:100%;min-width:320px;max-width:var(--content-max-width);margin:0 auto}.TDesign-doc-header__thumb{position:absolute;height:calc(100% - 1px);width:1200px;max-width:100%;right:0;top:0;border:0;z-index:450;visibility:var(--spline-visible)}.TDesign-doc-header__thumb.light{display:var(--theme-block-light-display)}.TDesign-doc-header__thumb.dark{display:var(--theme-block-dark-display)}.TDesign-doc-header__badge{max-width:100%;display:flex}.TDesign-doc-header__badge img{margin-right:8px}.TDesign-doc-header__background{width:100%;position:absolute;left:0;bottom:0;height:88px;z-index:400;background:var(--bg-color-container);box-shadow:var(--header-box-shadow)}.TDesign-doc-header__content{display:flex;flex-direction:column;flex:1;position:relative;z-index:500}.TDesign-doc-header__info{position:relative;top:var(--info-top, 48px)}.TDesign-doc-header__info>div:first-child{display:flex;align-items:center;gap:16px}.TDesign-doc-header__info-title{font-size:var(--title-font-size, 48px);color:var(--text-primary);text-align:left;line-height:42px;margin:0;transition:top .2s var(--anim-time-fn-easing),opacity .2s linear,visibility .2s linear}.TDesign-doc-header__info-describe{position:relative;margin-top:16px;font-size:14px;color:var(--text-secondary);line-height:22px;width:100%;box-sizing:border-box;transition:all .2s linear}.TDesign-doc-header__info-describe-line{display:-webkit-box;-webkit-box-orient:vertical;line-clamp:2;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;white-space:normal;margin-top:8px}#TDesign-doc-changelog__entry{all:unset;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:24px;padding:2px 8px;font-size:12px;color:var(--brand-main);border:1px solid var(--brand-main);border-radius:3px;cursor:pointer}#TDesign-doc-changelog__entry:hover{color:var(--brand-main-hover);border:1px solid var(--brand-main-hover)}#TDesign-doc-changelog__entry i{display:flex}#TDesign-doc-changelog__entry span{min-width:48px}";let un=null,Go=null;const fs=ln();function Uo(e,t){if(!t.shadowRoot)return;const n=t.shadowRoot.getElementById("__iframe__");let o="";e==="dark"?o=dn[`${t.spline}-dark`]:o=dn[t.spline],n&&o&&o!==n.src&&(clearTimeout(un),n.style="max-height: 0;",n.src=o)}function gs(e){if(!e.shadowRoot)return;const t=e.shadowRoot.getElementById("__iframe__");clearTimeout(un),un=setTimeout(()=>{t&&(t.style=`
561
561
  max-height: 280px;
562
562
  transition: max-height .25s .2s var(--anim-time-fn-easing);
563
563
  -webkit-transition: max-height .25s .2s var(--anim-time-fn-easing);
564
- `)},600)}ie({tag:"td-doc-header",spline:{get:(e,t)=>t||"",set:(e,t)=>t,connect:e=>{const t=Oo(n=>Uo(n,e));return()=>t.disconnect()},observe:e=>{clearTimeout(Go);const t=localStorage.getItem("--tdesign-theme")||"light";Go=setTimeout(()=>{Uo(t,e)},600)}},platform:"web",changelog:{get:(e,t)=>Mt(t,!0),set:(e,t)=>Mt(t,!0)},mobileBodyStyle:on,docInfo:{get:(e,t)=>t||void 0,set:(e,t)=>t,observe:(e,t)=>{if(document.getElementById("__td_doc_title__")||!t)return;const n=document.createElement("h1");n.id="__td_doc_title__",n.innerText=t.title,e.appendChild(n)}},fixedTitle:{get:(e,t)=>t||void 0,set:(e,t)=>t,connect:e=>{const t=window.matchMedia("(max-width: 1200px)");function n(){if(!e.shadowRoot)return;const{shadowRoot:o}=e,{scrollTop:r}=document.documentElement,i=o.querySelector(".TDesign-doc-header__background")||{style:{}},a=o.querySelector("#TDesign-doc-changelog__entry")||{style:{}},s=o.querySelector(".TDesign-doc-header__info-title")||{style:{}},c=o.querySelector(".TDesign-doc-header__info-describe")||{style:{}},h=o.querySelector(".TDesign-doc-header__thumb")||{style:{}},g=o.querySelector("td-doc-issue")||{style:{}},f=document.querySelector("td-doc-tabs"),C=t.matches,w=C?0:"260px",u=C?"32px":"48px";r>=228?s.style.position!=="fixed"&&(Object.assign(s.style,{position:"fixed",top:f?"16px":"28px",fontSize:"24px",opacity:1,visibility:"visible"}),Object.assign(a.style,{opacity:1,visibility:"visible"}),Object.assign(i.style,{position:"fixed",top:"0",left:w}),f&&Object.assign(f.style,{position:"fixed",top:"64px",zIndex:500}),Object.assign(g.style,{position:"fixed",top:"24px",right:"24px"})):r>192&&r<228?s.style.visibility!=="hidden"&&(Object.assign(s.style,{opacity:0,visibility:"hidden"}),Object.assign(a.style,{opacity:0,visibility:"hidden"}),Object.assign(h.style,{opacity:0,visibility:"hidden"}),Object.assign(c.style,{opacity:0,visibility:"hidden"}),Object.assign(i.style,{position:"absolute",top:"unset",left:"0"}),f&&Object.assign(f.style,{position:"absolute",top:"228px"}),Object.assign(g.style,{position:"absolute",top:"calc(100% - 48px - 12px)"})):(s.style.position==="fixed"||s.style.visibility==="hidden")&&(Object.assign(s.style,{position:"unset",fontSize:u,opacity:1,visibility:"visible"}),Object.assign(a.style,{opacity:1,visibility:"visible"}),Object.assign(c.style,{opacity:1,visibility:"visible"}),Object.assign(i.style,{position:"absolute",top:"unset",left:"0"}),f&&Object.assign(f.style,{position:"absolute",top:"228px"}),Object.assign(g.style,{position:"absolute",top:"calc(100% - 48px - 12px)"}),Object.assign(h.style,{opacity:1,visibility:"visible"}))}return n(),t.addEventListener("change",n),window.addEventListener("resize",n),document.addEventListener("scroll",n),()=>{t.removeEventListener("change",n),window.removeEventListener("resize",n),document.removeEventListener("scroll",n)}}},showIssue:{get:(e,t)=>Mt(t,!0),set:(e,t)=>Mt(t,!0)},render:e=>{const{changelog:t,docInfo:n,spline:o,showIssue:r}=e,i={...e.mobileBodyStyle},a=dn[o],s=customElements.get("td-doc-changelog"),c=()=>{let h=document.querySelector("td-doc-changelog");h||(h=document.createElement("td-doc-changelog"),document.body.appendChild(h)),requestAnimationFrame(()=>{h.visible=!0})};return j`
564
+ `)},600)}ie({tag:"td-doc-header",spline:{get:(e,t)=>t||"",set:(e,t)=>t,connect:e=>{const t=Oo(n=>Uo(n,e));return()=>t.disconnect()},observe:e=>{clearTimeout(Go);const t=localStorage.getItem("--tdesign-theme")||"light";Go=setTimeout(()=>{Uo(t,e)},600)}},platform:"web",changelog:{get:(e,t)=>Je(t,!0),set:(e,t)=>Je(t,!0)},mobileBodyStyle:on,docInfo:{get:(e,t)=>t||void 0,set:(e,t)=>t,observe:(e,t)=>{if(document.getElementById("__td_doc_title__")||!t)return;const n=document.createElement("h1");n.id="__td_doc_title__",n.innerText=t.title,e.appendChild(n)}},fixedTitle:{get:(e,t)=>t||void 0,set:(e,t)=>t,connect:e=>{const t=window.matchMedia("(max-width: 1200px)");function n(){if(!e.shadowRoot)return;const{shadowRoot:o}=e,{scrollTop:r}=document.documentElement,i=o.querySelector(".TDesign-doc-header__background")||{style:{}},a=o.querySelector("#TDesign-doc-changelog__entry")||{style:{}},s=o.querySelector(".TDesign-doc-header__info-title")||{style:{}},c=o.querySelector(".TDesign-doc-header__info-describe")||{style:{}},h=o.querySelector(".TDesign-doc-header__thumb")||{style:{}},g=o.querySelector("td-doc-issue")||{style:{}},f=document.querySelector("td-doc-tabs"),C=t.matches,w=C?0:"260px",u=C?"32px":"48px";r>=228?s.style.position!=="fixed"&&(Object.assign(s.style,{position:"fixed",top:f?"16px":"28px",fontSize:"24px",opacity:1,visibility:"visible"}),Object.assign(a.style,{opacity:1,visibility:"visible"}),Object.assign(i.style,{position:"fixed",top:"0",left:w}),f&&Object.assign(f.style,{position:"fixed",top:"64px",zIndex:500}),Object.assign(g.style,{position:"fixed",top:"24px",right:"24px"})):r>192&&r<228?s.style.visibility!=="hidden"&&(Object.assign(s.style,{opacity:0,visibility:"hidden"}),Object.assign(a.style,{opacity:0,visibility:"hidden"}),Object.assign(h.style,{opacity:0,visibility:"hidden"}),Object.assign(c.style,{opacity:0,visibility:"hidden"}),Object.assign(i.style,{position:"absolute",top:"unset",left:"0"}),f&&Object.assign(f.style,{position:"absolute",top:"228px"}),Object.assign(g.style,{position:"absolute",top:"calc(100% - 48px - 12px)"})):(s.style.position==="fixed"||s.style.visibility==="hidden")&&(Object.assign(s.style,{position:"unset",fontSize:u,opacity:1,visibility:"visible"}),Object.assign(a.style,{opacity:1,visibility:"visible"}),Object.assign(c.style,{opacity:1,visibility:"visible"}),Object.assign(i.style,{position:"absolute",top:"unset",left:"0"}),f&&Object.assign(f.style,{position:"absolute",top:"228px"}),Object.assign(g.style,{position:"absolute",top:"calc(100% - 48px - 12px)"}),Object.assign(h.style,{opacity:1,visibility:"visible"}))}return n(),t.addEventListener("change",n),window.addEventListener("resize",n),document.addEventListener("scroll",n),()=>{t.removeEventListener("change",n),window.removeEventListener("resize",n),document.removeEventListener("scroll",n)}}},showIssue:{get:(e,t)=>Je(t,!0),set:(e,t)=>Je(t,!0)},render:e=>{const{changelog:t,docInfo:n,spline:o,showIssue:r}=e,i={...e.mobileBodyStyle},a=dn[o],s=customElements.get("td-doc-changelog"),c=()=>{let h=document.querySelector("td-doc-changelog");h||(h=document.createElement("td-doc-changelog"),document.body.appendChild(h)),requestAnimationFrame(()=>{h.visible=!0})};return j`
565
565
  ${a?j` <iframe id="__iframe__" class="TDesign-doc-header__thumb" onload="${gs}"></iframe>`:j``}
566
566
  <div class="TDesign-doc-header" style="${i}">
567
567
  <div class="TDesign-doc-header__inner">
@@ -581,7 +581,10 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
581
581
  `:j``}
582
582
  </div>
583
583
  <div class="TDesign-doc-header__info-describe">
584
- <div innerHTML="${n.desc}"></div>
584
+ <td-doc-popup placement="top-end" equal-width="true">
585
+ <div class="TDesign-doc-header__info-describe-line" innerHTML="${n.desc}"></div>
586
+ <div slot="content" innerHTML="${n.desc}"></div>
587
+ </td-doc-popup>
585
588
  </div>
586
589
  `:j``}
587
590
  </div>
@@ -877,7 +880,7 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
877
880
  </div>
878
881
  </div>
879
882
  </div>
880
- `.css`${Ls}`}});var me="top",Ae="bottom",De="right",be="left",pn="auto",ht=[me,Ae,De,be],We="start",pt="end",Is="clippingParents",Zo="viewport",vt="popper",Ns="reference",Yo=ht.reduce(function(e,t){return e.concat([t+"-"+We,t+"-"+pt])},[]),Jo=[].concat(ht,[pn]).reduce(function(e,t){return e.concat([t,t+"-"+We,t+"-"+pt])},[]),Xs="beforeRead",Fs="read",qs="afterRead",Gs="beforeMain",Us="main",Ks="afterMain",Vs="beforeWrite",Zs="write",Ys="afterWrite",Js=[Xs,Fs,qs,Gs,Us,Ks,Vs,Zs,Ys];function Ee(e){return e?(e.nodeName||"").toLowerCase():null}function Ce(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Fe(e){var t=Ce(e).Element;return e instanceof t||e instanceof Element}function Te(e){var t=Ce(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function vn(e){if(typeof ShadowRoot>"u")return!1;var t=Ce(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ws(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!Te(i)||!Ee(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(a){var s=r[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function _s(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],i=t.attributes[o]||{},a=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),s=a.reduce(function(c,h){return c[h]="",c},{});!Te(r)||!Ee(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(c){r.removeAttribute(c)}))})}}const $s={name:"applyStyles",enabled:!0,phase:"write",fn:Ws,effect:_s,requires:["computeStyles"]};function Me(e){return e.split("-")[0]}var qe=Math.max,jt=Math.min,_e=Math.round;function mn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Wo(){return!/^((?!chrome|android).)*safari/i.test(mn())}function $e(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&Te(e)&&(r=e.offsetWidth>0&&_e(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&_e(o.height)/e.offsetHeight||1);var a=Fe(e)?Ce(e):window,s=a.visualViewport,c=!Wo()&&n,h=(o.left+(c&&s?s.offsetLeft:0))/r,g=(o.top+(c&&s?s.offsetTop:0))/i,f=o.width/r,C=o.height/i;return{width:f,height:C,top:g,right:h+f,bottom:g+C,left:h,x:h,y:g}}function bn(e){var t=$e(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function _o(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vn(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Le(e){return Ce(e).getComputedStyle(e)}function el(e){return["table","td","th"].indexOf(Ee(e))>=0}function Se(e){return((Fe(e)?e.ownerDocument:e.document)||window.document).documentElement}function St(e){return Ee(e)==="html"?e:e.assignedSlot||e.parentNode||(vn(e)?e.host:null)||Se(e)}function $o(e){return!Te(e)||Le(e).position==="fixed"?null:e.offsetParent}function tl(e){var t=/firefox/i.test(mn()),n=/Trident/i.test(mn());if(n&&Te(e)){var o=Le(e);if(o.position==="fixed")return null}var r=St(e);for(vn(r)&&(r=r.host);Te(r)&&["html","body"].indexOf(Ee(r))<0;){var i=Le(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function mt(e){for(var t=Ce(e),n=$o(e);n&&el(n)&&Le(n).position==="static";)n=$o(n);return n&&(Ee(n)==="html"||Ee(n)==="body"&&Le(n).position==="static")?t:n||tl(e)||t}function Cn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function bt(e,t,n){return qe(e,jt(t,n))}function nl(e,t,n){var o=bt(e,t,n);return o>n?n:o}function er(){return{top:0,right:0,bottom:0,left:0}}function tr(e){return Object.assign({},er(),e)}function nr(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var ol=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,tr(typeof t!="number"?t:nr(t,ht))};function rl(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Me(n.placement),c=Cn(s),h=[be,De].indexOf(s)>=0,g=h?"height":"width";if(!(!i||!a)){var f=ol(r.padding,n),C=bn(i),w=c==="y"?me:be,u=c==="y"?Ae:De,l=n.rects.reference[g]+n.rects.reference[c]-a[c]-n.rects.popper[g],d=a[c]-n.rects.reference[c],v=mt(i),p=v?c==="y"?v.clientHeight||0:v.clientWidth||0:0,b=l/2-d/2,y=f[w],D=p-C[g]-f[u],A=p/2-C[g]/2+b,H=bt(y,A,D),O=c;n.modifiersData[o]=(t={},t[O]=H,t.centerOffset=H-A,t)}}function il(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||_o(t.elements.popper,r)&&(t.elements.arrow=r))}const al={name:"arrow",enabled:!0,phase:"main",fn:rl,effect:il,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function et(e){return e.split("-")[1]}var sl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ll(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:_e(n*r)/r||0,y:_e(o*r)/r||0}}function or(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,h=e.adaptive,g=e.roundOffsets,f=e.isFixed,C=a.x,w=C===void 0?0:C,u=a.y,l=u===void 0?0:u,d=typeof g=="function"?g({x:w,y:l}):{x:w,y:l};w=d.x,l=d.y;var v=a.hasOwnProperty("x"),p=a.hasOwnProperty("y"),b=be,y=me,D=window;if(h){var A=mt(n),H="clientHeight",O="clientWidth";if(A===Ce(n)&&(A=Se(n),Le(A).position!=="static"&&s==="absolute"&&(H="scrollHeight",O="scrollWidth")),A=A,r===me||(r===be||r===De)&&i===pt){y=Ae;var P=f&&A===D&&D.visualViewport?D.visualViewport.height:A[H];l-=P-o.height,l*=c?1:-1}if(r===be||(r===me||r===Ae)&&i===pt){b=De;var x=f&&A===D&&D.visualViewport?D.visualViewport.width:A[O];w-=x-o.width,w*=c?1:-1}}var B=Object.assign({position:s},h&&sl),k=g===!0?ll({x:w,y:l},Ce(n)):{x:w,y:l};if(w=k.x,l=k.y,c){var T;return Object.assign({},B,(T={},T[y]=p?"0":"",T[b]=v?"0":"",T.transform=(D.devicePixelRatio||1)<=1?"translate("+w+"px, "+l+"px)":"translate3d("+w+"px, "+l+"px, 0)",T))}return Object.assign({},B,(t={},t[y]=p?l+"px":"",t[b]=v?w+"px":"",t.transform="",t))}function cl(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,c=s===void 0?!0:s,h={placement:Me(t.placement),variation:et(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,or(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,or(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const dl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cl,data:{}};var It={passive:!0};function ul(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=r===void 0?!0:r,a=o.resize,s=a===void 0?!0:a,c=Ce(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&h.forEach(function(g){g.addEventListener("scroll",n.update,It)}),s&&c.addEventListener("resize",n.update,It),function(){i&&h.forEach(function(g){g.removeEventListener("scroll",n.update,It)}),s&&c.removeEventListener("resize",n.update,It)}}const fl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ul,data:{}};var gl={left:"right",right:"left",bottom:"top",top:"bottom"};function Nt(e){return e.replace(/left|right|bottom|top/g,function(t){return gl[t]})}var hl={start:"end",end:"start"};function rr(e){return e.replace(/start|end/g,function(t){return hl[t]})}function wn(e){var t=Ce(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function yn(e){return $e(Se(e)).left+wn(e).scrollLeft}function pl(e,t){var n=Ce(e),o=Se(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,s=0,c=0;if(r){i=r.width,a=r.height;var h=Wo();(h||!h&&t==="fixed")&&(s=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:s+yn(e),y:c}}function vl(e){var t,n=Se(e),o=wn(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=qe(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=qe(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+yn(e),c=-o.scrollTop;return Le(r||n).direction==="rtl"&&(s+=qe(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function xn(e){var t=Le(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function ir(e){return["html","body","#document"].indexOf(Ee(e))>=0?e.ownerDocument.body:Te(e)&&xn(e)?e:ir(St(e))}function Ct(e,t){var n;t===void 0&&(t=[]);var o=ir(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=Ce(o),a=r?[i].concat(i.visualViewport||[],xn(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(Ct(St(a)))}function An(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ml(e,t){var n=$e(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function ar(e,t,n){return t===Zo?An(pl(e,n)):Fe(t)?ml(t,n):An(vl(Se(e)))}function bl(e){var t=Ct(St(e)),n=["absolute","fixed"].indexOf(Le(e).position)>=0,o=n&&Te(e)?mt(e):e;return Fe(o)?t.filter(function(r){return Fe(r)&&_o(r,o)&&Ee(r)!=="body"}):[]}function Cl(e,t,n,o){var r=t==="clippingParents"?bl(e):[].concat(t),i=[].concat(r,[n]),a=i[0],s=i.reduce(function(c,h){var g=ar(e,h,o);return c.top=qe(g.top,c.top),c.right=jt(g.right,c.right),c.bottom=jt(g.bottom,c.bottom),c.left=qe(g.left,c.left),c},ar(e,a,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function sr(e){var t=e.reference,n=e.element,o=e.placement,r=o?Me(o):null,i=o?et(o):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(r){case me:c={x:a,y:t.y-n.height};break;case Ae:c={x:a,y:t.y+t.height};break;case De:c={x:t.x+t.width,y:s};break;case be:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var h=r?Cn(r):null;if(h!=null){var g=h==="y"?"height":"width";switch(i){case We:c[h]=c[h]-(t[g]/2-n[g]/2);break;case pt:c[h]=c[h]+(t[g]/2-n[g]/2);break}}return c}function wt(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,c=s===void 0?Is:s,h=n.rootBoundary,g=h===void 0?Zo:h,f=n.elementContext,C=f===void 0?vt:f,w=n.altBoundary,u=w===void 0?!1:w,l=n.padding,d=l===void 0?0:l,v=tr(typeof d!="number"?d:nr(d,ht)),p=C===vt?Ns:vt,b=e.rects.popper,y=e.elements[u?p:C],D=Cl(Fe(y)?y:y.contextElement||Se(e.elements.popper),c,g,a),A=$e(e.elements.reference),H=sr({reference:A,element:b,placement:r}),O=An(Object.assign({},b,H)),P=C===vt?O:A,x={top:D.top-P.top+v.top,bottom:P.bottom-D.bottom+v.bottom,left:D.left-P.left+v.left,right:P.right-D.right+v.right},B=e.modifiersData.offset;if(C===vt&&B){var k=B[r];Object.keys(x).forEach(function(T){var M=[De,Ae].indexOf(T)>=0?1:-1,R=[me,Ae].indexOf(T)>=0?"y":"x";x[T]+=k[R]*M})}return x}function wl(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,h=c===void 0?Jo:c,g=et(o),f=g?s?Yo:Yo.filter(function(u){return et(u)===g}):ht,C=f.filter(function(u){return h.indexOf(u)>=0});C.length===0&&(C=f);var w=C.reduce(function(u,l){return u[l]=wt(e,{placement:l,boundary:r,rootBoundary:i,padding:a})[Me(l)],u},{});return Object.keys(w).sort(function(u,l){return w[u]-w[l]})}function yl(e){if(Me(e)===pn)return[];var t=Nt(e);return[rr(e),t,rr(t)]}function xl(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,a=n.altAxis,s=a===void 0?!0:a,c=n.fallbackPlacements,h=n.padding,g=n.boundary,f=n.rootBoundary,C=n.altBoundary,w=n.flipVariations,u=w===void 0?!0:w,l=n.allowedAutoPlacements,d=t.options.placement,v=Me(d),p=v===d,b=c||(p||!u?[Nt(d)]:yl(d)),y=[d].concat(b).reduce(function(oe,Y){return oe.concat(Me(Y)===pn?wl(t,{placement:Y,boundary:g,rootBoundary:f,padding:h,flipVariations:u,allowedAutoPlacements:l}):Y)},[]),D=t.rects.reference,A=t.rects.popper,H=new Map,O=!0,P=y[0],x=0;x<y.length;x++){var B=y[x],k=Me(B),T=et(B)===We,M=[me,Ae].indexOf(k)>=0,R=M?"width":"height",S=wt(t,{placement:B,boundary:g,rootBoundary:f,altBoundary:C,padding:h}),z=M?T?De:be:T?Ae:me;D[R]>A[R]&&(z=Nt(z));var F=Nt(z),Z=[];if(i&&Z.push(S[k]<=0),s&&Z.push(S[z]<=0,S[F]<=0),Z.every(function(oe){return oe})){P=B,O=!1;break}H.set(B,Z)}if(O)for(var U=u?3:1,G=function(Y){var re=y.find(function(V){var ee=H.get(V);if(ee)return ee.slice(0,Y).every(function(ae){return ae})});if(re)return P=re,"break"},W=U;W>0;W--){var K=G(W);if(K==="break")break}t.placement!==P&&(t.modifiersData[o]._skip=!0,t.placement=P,t.reset=!0)}}const Al={name:"flip",enabled:!0,phase:"main",fn:xl,requiresIfExists:["offset"],data:{_skip:!1}};function lr(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function cr(e){return[me,De,Ae,be].some(function(t){return e[t]>=0})}function Dl(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=wt(t,{elementContext:"reference"}),s=wt(t,{altBoundary:!0}),c=lr(a,o),h=lr(s,r,i),g=cr(c),f=cr(h);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:h,isReferenceHidden:g,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":g,"data-popper-escaped":f})}const Tl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Dl};function Hl(e,t,n){var o=Me(e),r=[be,me].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[be,De].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}function Pl(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=r===void 0?[0,0]:r,a=Jo.reduce(function(g,f){return g[f]=Hl(f,t.rects,i),g},{}),s=a[t.placement],c=s.x,h=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=h),t.modifiersData[o]=a}const Bl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Pl};function Ol(e){var t=e.state,n=e.name;t.modifiersData[n]=sr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const El={name:"popperOffsets",enabled:!0,phase:"read",fn:Ol,data:{}};function Ml(e){return e==="x"?"y":"x"}function kl(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=r===void 0?!0:r,a=n.altAxis,s=a===void 0?!1:a,c=n.boundary,h=n.rootBoundary,g=n.altBoundary,f=n.padding,C=n.tether,w=C===void 0?!0:C,u=n.tetherOffset,l=u===void 0?0:u,d=wt(t,{boundary:c,rootBoundary:h,padding:f,altBoundary:g}),v=Me(t.placement),p=et(t.placement),b=!p,y=Cn(v),D=Ml(y),A=t.modifiersData.popperOffsets,H=t.rects.reference,O=t.rects.popper,P=typeof l=="function"?l(Object.assign({},t.rects,{placement:t.placement})):l,x=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(A){if(i){var T,M=y==="y"?me:be,R=y==="y"?Ae:De,S=y==="y"?"height":"width",z=A[y],F=z+d[M],Z=z-d[R],U=w?-O[S]/2:0,G=p===We?H[S]:O[S],W=p===We?-O[S]:-H[S],K=t.elements.arrow,oe=w&&K?bn(K):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:er(),re=Y[M],V=Y[R],ee=bt(0,H[S],oe[S]),ae=b?H[S]/2-U-ee-re-x.mainAxis:G-ee-re-x.mainAxis,se=b?-H[S]/2+U+ee+V+x.mainAxis:W+ee+V+x.mainAxis,ne=t.elements.arrow&&mt(t.elements.arrow),de=ne?y==="y"?ne.clientTop||0:ne.clientLeft||0:0,ce=(T=B==null?void 0:B[y])!=null?T:0,pe=z+ae-ce-de,we=z+se-ce,ze=bt(w?jt(F,pe):F,z,w?qe(Z,we):Z);A[y]=ze,k[y]=ze-z}if(s){var ve,Ke=y==="x"?me:be,He=y==="x"?Ae:De,Pe=A[D],Re=D==="y"?"height":"width",m=Pe+d[Ke],E=Pe-d[He],Q=[me,be].indexOf(v)!==-1,N=(ve=B==null?void 0:B[D])!=null?ve:0,_=Q?m:Pe-H[Re]-O[Re]-N+x.altAxis,q=Q?Pe+H[Re]+O[Re]-N-x.altAxis:E,fe=w&&Q?nl(_,Pe,q):bt(w?_:m,Pe,w?q:E);A[D]=fe,k[D]=fe-Pe}t.modifiersData[o]=k}}const Ql={name:"preventOverflow",enabled:!0,phase:"main",fn:kl,requiresIfExists:["offset"]};function Ll(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function zl(e){return e===Ce(e)||!Te(e)?wn(e):Ll(e)}function Rl(e){var t=e.getBoundingClientRect(),n=_e(t.width)/e.offsetWidth||1,o=_e(t.height)/e.offsetHeight||1;return n!==1||o!==1}function jl(e,t,n){n===void 0&&(n=!1);var o=Te(t),r=Te(t)&&Rl(t),i=Se(t),a=$e(e,r,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&((Ee(t)!=="body"||xn(i))&&(s=zl(t)),Te(t)?(c=$e(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=yn(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Sl(e){var t=new Map,n=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var c=t.get(s);c&&r(c)}}),o.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),o}function Il(e){var t=Sl(e);return Js.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function Nl(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Xl(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var dr={placement:"bottom",modifiers:[],strategy:"absolute"};function ur(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Fl(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,r=t.defaultOptions,i=r===void 0?dr:r;return function(s,c,h){h===void 0&&(h=i);var g={placement:"bottom",orderedModifiers:[],options:Object.assign({},dr,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],C=!1,w={state:g,setOptions:function(v){var p=typeof v=="function"?v(g.options):v;l(),g.options=Object.assign({},i,g.options,p),g.scrollParents={reference:Fe(s)?Ct(s):s.contextElement?Ct(s.contextElement):[],popper:Ct(c)};var b=Il(Xl([].concat(o,g.options.modifiers)));return g.orderedModifiers=b.filter(function(y){return y.enabled}),u(),w.update()},forceUpdate:function(){if(!C){var v=g.elements,p=v.reference,b=v.popper;if(ur(p,b)){g.rects={reference:jl(p,mt(b),g.options.strategy==="fixed"),popper:bn(b)},g.reset=!1,g.placement=g.options.placement,g.orderedModifiers.forEach(function(x){return g.modifiersData[x.name]=Object.assign({},x.data)});for(var y=0;y<g.orderedModifiers.length;y++){if(g.reset===!0){g.reset=!1,y=-1;continue}var D=g.orderedModifiers[y],A=D.fn,H=D.options,O=H===void 0?{}:H,P=D.name;typeof A=="function"&&(g=A({state:g,options:O,name:P,instance:w})||g)}}}},update:Nl(function(){return new Promise(function(d){w.forceUpdate(),d(g)})}),destroy:function(){l(),C=!0}};if(!ur(s,c))return w;w.setOptions(h).then(function(d){!C&&h.onFirstUpdate&&h.onFirstUpdate(d)});function u(){g.orderedModifiers.forEach(function(d){var v=d.name,p=d.options,b=p===void 0?{}:p,y=d.effect;if(typeof y=="function"){var D=y({state:g,name:v,instance:w,options:b}),A=function(){};f.push(D||A)}})}function l(){f.forEach(function(d){return d()}),f=[]}return w}}var ql=[fl,El,dl,$s,Bl,Al,Ql,al,Tl],Gl=Fl({defaultModifiers:ql});const Ul=".TDesign-doc-popup{flex-shrink:0;box-sizing:border-box}";function Xt(e,t){e.triggerType==="hover"&&(t==="enter"?e.visible=!0:e.visible=!1,ye(e,"visible-change",{detail:{visible:e.visible}}))}function fr(e){e.triggerType==="click"&&(e.visible=!e.visible,ye(e,"visible-change",{detail:{visible:e.visible}}))}ie({tag:"td-doc-popup",reference:({render:e})=>e().querySelector(".TDesign-doc-popup"),portalClass:"",portalStyle:"",placement:"bottom-end",triggerType:"hover",visible:{get:(e,t)=>t||!1,set:(e,t)=>t,connect:e=>{const{reference:t,placement:n}=e;requestAnimationFrame(()=>{e.portals=document.getElementById("__td_portals__"),e.portals||(e.portals=document.createElement("div"),e.portals.id="__td_portals__",document.body.appendChild(e.portals));const r=e.querySelector('[slot="content"]');if(!r)return;const i=`<style>${e.portalStyle}</style>`;e.portal=document.createElement("td-portal"),e.portal.className=e.portalClass,e.portal.innerHTML=i,e.portal.appendChild(r),e.portal.addEventListener("click",a=>fr(e)),e.portal.addEventListener("mouseenter",()=>Xt(e,"enter")),e.portal.addEventListener("mouseleave",()=>Xt(e,"leave")),e.portals.appendChild(e.portal),requestAnimationFrame(()=>{const a=["top","bottom"].some(s=>n.includes(s));e.popper=Gl(t,e.portal,{placement:n,modifiers:[{name:"offset",options:{offset:a?[0,8]:[0,16]}}]}),a&&(e.popper.state.styles.popper.minWidth=`${t.offsetWidth}px`)})});function o(r){var a;const i=((a=r.composedPath)==null?void 0:a.call(r))||r.path||[];!t||e.contains(i[0])||(e.visible=!1,ye(e,"visible-change",{detail:{visible:e.visible}}))}return document.addEventListener("click",o),()=>{var r,i;(i=(r=e.portals)==null?void 0:r.removeChild)==null||i.call(r,e.portal),document.removeEventListener("click",o)}},observe:(e,t)=>{var n,o;e.portal&&(e.portal.visible=t,(o=(n=e.popper)==null?void 0:n.update)==null||o.call(n))}},render:e=>{const{placement:t}=e;return j`
883
+ `.css`${Ls}`}});var me="top",Ae="bottom",De="right",be="left",pn="auto",pt=[me,Ae,De,be],_e="start",vt="end",Is="clippingParents",Zo="viewport",mt="popper",Ns="reference",Yo=pt.reduce(function(e,t){return e.concat([t+"-"+_e,t+"-"+vt])},[]),Jo=[].concat(pt,[pn]).reduce(function(e,t){return e.concat([t,t+"-"+_e,t+"-"+vt])},[]),Xs="beforeRead",Fs="read",qs="afterRead",Gs="beforeMain",Us="main",Ks="afterMain",Vs="beforeWrite",Zs="write",Ys="afterWrite",Js=[Xs,Fs,qs,Gs,Us,Ks,Vs,Zs,Ys];function Ee(e){return e?(e.nodeName||"").toLowerCase():null}function Ce(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Fe(e){var t=Ce(e).Element;return e instanceof t||e instanceof Element}function Te(e){var t=Ce(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function vn(e){if(typeof ShadowRoot>"u")return!1;var t=Ce(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ws(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!Te(i)||!Ee(i)||(Object.assign(i.style,o),Object.keys(r).forEach(function(a){var s=r[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function _s(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var r=t.elements[o],i=t.attributes[o]||{},a=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),s=a.reduce(function(c,h){return c[h]="",c},{});!Te(r)||!Ee(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(c){r.removeAttribute(c)}))})}}const $s={name:"applyStyles",enabled:!0,phase:"write",fn:Ws,effect:_s,requires:["computeStyles"]};function Me(e){return e.split("-")[0]}var qe=Math.max,jt=Math.min,$e=Math.round;function mn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Wo(){return!/^((?!chrome|android).)*safari/i.test(mn())}function et(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&Te(e)&&(r=e.offsetWidth>0&&$e(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&$e(o.height)/e.offsetHeight||1);var a=Fe(e)?Ce(e):window,s=a.visualViewport,c=!Wo()&&n,h=(o.left+(c&&s?s.offsetLeft:0))/r,g=(o.top+(c&&s?s.offsetTop:0))/i,f=o.width/r,C=o.height/i;return{width:f,height:C,top:g,right:h+f,bottom:g+C,left:h,x:h,y:g}}function bn(e){var t=et(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function _o(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vn(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Le(e){return Ce(e).getComputedStyle(e)}function el(e){return["table","td","th"].indexOf(Ee(e))>=0}function Se(e){return((Fe(e)?e.ownerDocument:e.document)||window.document).documentElement}function St(e){return Ee(e)==="html"?e:e.assignedSlot||e.parentNode||(vn(e)?e.host:null)||Se(e)}function $o(e){return!Te(e)||Le(e).position==="fixed"?null:e.offsetParent}function tl(e){var t=/firefox/i.test(mn()),n=/Trident/i.test(mn());if(n&&Te(e)){var o=Le(e);if(o.position==="fixed")return null}var r=St(e);for(vn(r)&&(r=r.host);Te(r)&&["html","body"].indexOf(Ee(r))<0;){var i=Le(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function bt(e){for(var t=Ce(e),n=$o(e);n&&el(n)&&Le(n).position==="static";)n=$o(n);return n&&(Ee(n)==="html"||Ee(n)==="body"&&Le(n).position==="static")?t:n||tl(e)||t}function Cn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ct(e,t,n){return qe(e,jt(t,n))}function nl(e,t,n){var o=Ct(e,t,n);return o>n?n:o}function er(){return{top:0,right:0,bottom:0,left:0}}function tr(e){return Object.assign({},er(),e)}function nr(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var ol=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,tr(typeof t!="number"?t:nr(t,pt))};function rl(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Me(n.placement),c=Cn(s),h=[be,De].indexOf(s)>=0,g=h?"height":"width";if(!(!i||!a)){var f=ol(r.padding,n),C=bn(i),w=c==="y"?me:be,u=c==="y"?Ae:De,l=n.rects.reference[g]+n.rects.reference[c]-a[c]-n.rects.popper[g],d=a[c]-n.rects.reference[c],v=bt(i),p=v?c==="y"?v.clientHeight||0:v.clientWidth||0:0,b=l/2-d/2,y=f[w],D=p-C[g]-f[u],A=p/2-C[g]/2+b,H=Ct(y,A,D),O=c;n.modifiersData[o]=(t={},t[O]=H,t.centerOffset=H-A,t)}}function il(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||_o(t.elements.popper,r)&&(t.elements.arrow=r))}const al={name:"arrow",enabled:!0,phase:"main",fn:rl,effect:il,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function tt(e){return e.split("-")[1]}var sl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ll(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:$e(n*r)/r||0,y:$e(o*r)/r||0}}function or(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,h=e.adaptive,g=e.roundOffsets,f=e.isFixed,C=a.x,w=C===void 0?0:C,u=a.y,l=u===void 0?0:u,d=typeof g=="function"?g({x:w,y:l}):{x:w,y:l};w=d.x,l=d.y;var v=a.hasOwnProperty("x"),p=a.hasOwnProperty("y"),b=be,y=me,D=window;if(h){var A=bt(n),H="clientHeight",O="clientWidth";if(A===Ce(n)&&(A=Se(n),Le(A).position!=="static"&&s==="absolute"&&(H="scrollHeight",O="scrollWidth")),A=A,r===me||(r===be||r===De)&&i===vt){y=Ae;var P=f&&A===D&&D.visualViewport?D.visualViewport.height:A[H];l-=P-o.height,l*=c?1:-1}if(r===be||(r===me||r===Ae)&&i===vt){b=De;var x=f&&A===D&&D.visualViewport?D.visualViewport.width:A[O];w-=x-o.width,w*=c?1:-1}}var B=Object.assign({position:s},h&&sl),k=g===!0?ll({x:w,y:l},Ce(n)):{x:w,y:l};if(w=k.x,l=k.y,c){var T;return Object.assign({},B,(T={},T[y]=p?"0":"",T[b]=v?"0":"",T.transform=(D.devicePixelRatio||1)<=1?"translate("+w+"px, "+l+"px)":"translate3d("+w+"px, "+l+"px, 0)",T))}return Object.assign({},B,(t={},t[y]=p?l+"px":"",t[b]=v?w+"px":"",t.transform="",t))}function cl(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,c=s===void 0?!0:s,h={placement:Me(t.placement),variation:tt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,or(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,or(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const dl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cl,data:{}};var It={passive:!0};function ul(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=r===void 0?!0:r,a=o.resize,s=a===void 0?!0:a,c=Ce(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&h.forEach(function(g){g.addEventListener("scroll",n.update,It)}),s&&c.addEventListener("resize",n.update,It),function(){i&&h.forEach(function(g){g.removeEventListener("scroll",n.update,It)}),s&&c.removeEventListener("resize",n.update,It)}}const fl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ul,data:{}};var gl={left:"right",right:"left",bottom:"top",top:"bottom"};function Nt(e){return e.replace(/left|right|bottom|top/g,function(t){return gl[t]})}var hl={start:"end",end:"start"};function rr(e){return e.replace(/start|end/g,function(t){return hl[t]})}function wn(e){var t=Ce(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function yn(e){return et(Se(e)).left+wn(e).scrollLeft}function pl(e,t){var n=Ce(e),o=Se(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,s=0,c=0;if(r){i=r.width,a=r.height;var h=Wo();(h||!h&&t==="fixed")&&(s=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:s+yn(e),y:c}}function vl(e){var t,n=Se(e),o=wn(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=qe(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=qe(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+yn(e),c=-o.scrollTop;return Le(r||n).direction==="rtl"&&(s+=qe(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function xn(e){var t=Le(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function ir(e){return["html","body","#document"].indexOf(Ee(e))>=0?e.ownerDocument.body:Te(e)&&xn(e)?e:ir(St(e))}function wt(e,t){var n;t===void 0&&(t=[]);var o=ir(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),i=Ce(o),a=r?[i].concat(i.visualViewport||[],xn(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(wt(St(a)))}function An(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ml(e,t){var n=et(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function ar(e,t,n){return t===Zo?An(pl(e,n)):Fe(t)?ml(t,n):An(vl(Se(e)))}function bl(e){var t=wt(St(e)),n=["absolute","fixed"].indexOf(Le(e).position)>=0,o=n&&Te(e)?bt(e):e;return Fe(o)?t.filter(function(r){return Fe(r)&&_o(r,o)&&Ee(r)!=="body"}):[]}function Cl(e,t,n,o){var r=t==="clippingParents"?bl(e):[].concat(t),i=[].concat(r,[n]),a=i[0],s=i.reduce(function(c,h){var g=ar(e,h,o);return c.top=qe(g.top,c.top),c.right=jt(g.right,c.right),c.bottom=jt(g.bottom,c.bottom),c.left=qe(g.left,c.left),c},ar(e,a,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function sr(e){var t=e.reference,n=e.element,o=e.placement,r=o?Me(o):null,i=o?tt(o):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(r){case me:c={x:a,y:t.y-n.height};break;case Ae:c={x:a,y:t.y+t.height};break;case De:c={x:t.x+t.width,y:s};break;case be:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var h=r?Cn(r):null;if(h!=null){var g=h==="y"?"height":"width";switch(i){case _e:c[h]=c[h]-(t[g]/2-n[g]/2);break;case vt:c[h]=c[h]+(t[g]/2-n[g]/2);break}}return c}function yt(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,c=s===void 0?Is:s,h=n.rootBoundary,g=h===void 0?Zo:h,f=n.elementContext,C=f===void 0?mt:f,w=n.altBoundary,u=w===void 0?!1:w,l=n.padding,d=l===void 0?0:l,v=tr(typeof d!="number"?d:nr(d,pt)),p=C===mt?Ns:mt,b=e.rects.popper,y=e.elements[u?p:C],D=Cl(Fe(y)?y:y.contextElement||Se(e.elements.popper),c,g,a),A=et(e.elements.reference),H=sr({reference:A,element:b,placement:r}),O=An(Object.assign({},b,H)),P=C===mt?O:A,x={top:D.top-P.top+v.top,bottom:P.bottom-D.bottom+v.bottom,left:D.left-P.left+v.left,right:P.right-D.right+v.right},B=e.modifiersData.offset;if(C===mt&&B){var k=B[r];Object.keys(x).forEach(function(T){var M=[De,Ae].indexOf(T)>=0?1:-1,R=[me,Ae].indexOf(T)>=0?"y":"x";x[T]+=k[R]*M})}return x}function wl(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,h=c===void 0?Jo:c,g=tt(o),f=g?s?Yo:Yo.filter(function(u){return tt(u)===g}):pt,C=f.filter(function(u){return h.indexOf(u)>=0});C.length===0&&(C=f);var w=C.reduce(function(u,l){return u[l]=yt(e,{placement:l,boundary:r,rootBoundary:i,padding:a})[Me(l)],u},{});return Object.keys(w).sort(function(u,l){return w[u]-w[l]})}function yl(e){if(Me(e)===pn)return[];var t=Nt(e);return[rr(e),t,rr(t)]}function xl(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,a=n.altAxis,s=a===void 0?!0:a,c=n.fallbackPlacements,h=n.padding,g=n.boundary,f=n.rootBoundary,C=n.altBoundary,w=n.flipVariations,u=w===void 0?!0:w,l=n.allowedAutoPlacements,d=t.options.placement,v=Me(d),p=v===d,b=c||(p||!u?[Nt(d)]:yl(d)),y=[d].concat(b).reduce(function(oe,Y){return oe.concat(Me(Y)===pn?wl(t,{placement:Y,boundary:g,rootBoundary:f,padding:h,flipVariations:u,allowedAutoPlacements:l}):Y)},[]),D=t.rects.reference,A=t.rects.popper,H=new Map,O=!0,P=y[0],x=0;x<y.length;x++){var B=y[x],k=Me(B),T=tt(B)===_e,M=[me,Ae].indexOf(k)>=0,R=M?"width":"height",S=yt(t,{placement:B,boundary:g,rootBoundary:f,altBoundary:C,padding:h}),z=M?T?De:be:T?Ae:me;D[R]>A[R]&&(z=Nt(z));var F=Nt(z),Z=[];if(i&&Z.push(S[k]<=0),s&&Z.push(S[z]<=0,S[F]<=0),Z.every(function(oe){return oe})){P=B,O=!1;break}H.set(B,Z)}if(O)for(var U=u?3:1,G=function(Y){var re=y.find(function(V){var ee=H.get(V);if(ee)return ee.slice(0,Y).every(function(ae){return ae})});if(re)return P=re,"break"},W=U;W>0;W--){var K=G(W);if(K==="break")break}t.placement!==P&&(t.modifiersData[o]._skip=!0,t.placement=P,t.reset=!0)}}const Al={name:"flip",enabled:!0,phase:"main",fn:xl,requiresIfExists:["offset"],data:{_skip:!1}};function lr(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function cr(e){return[me,De,Ae,be].some(function(t){return e[t]>=0})}function Dl(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=yt(t,{elementContext:"reference"}),s=yt(t,{altBoundary:!0}),c=lr(a,o),h=lr(s,r,i),g=cr(c),f=cr(h);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:h,isReferenceHidden:g,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":g,"data-popper-escaped":f})}const Tl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Dl};function Hl(e,t,n){var o=Me(e),r=[be,me].indexOf(o)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[be,De].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}function Pl(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=r===void 0?[0,0]:r,a=Jo.reduce(function(g,f){return g[f]=Hl(f,t.rects,i),g},{}),s=a[t.placement],c=s.x,h=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=h),t.modifiersData[o]=a}const Bl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Pl};function Ol(e){var t=e.state,n=e.name;t.modifiersData[n]=sr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const El={name:"popperOffsets",enabled:!0,phase:"read",fn:Ol,data:{}};function Ml(e){return e==="x"?"y":"x"}function kl(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=r===void 0?!0:r,a=n.altAxis,s=a===void 0?!1:a,c=n.boundary,h=n.rootBoundary,g=n.altBoundary,f=n.padding,C=n.tether,w=C===void 0?!0:C,u=n.tetherOffset,l=u===void 0?0:u,d=yt(t,{boundary:c,rootBoundary:h,padding:f,altBoundary:g}),v=Me(t.placement),p=tt(t.placement),b=!p,y=Cn(v),D=Ml(y),A=t.modifiersData.popperOffsets,H=t.rects.reference,O=t.rects.popper,P=typeof l=="function"?l(Object.assign({},t.rects,{placement:t.placement})):l,x=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(A){if(i){var T,M=y==="y"?me:be,R=y==="y"?Ae:De,S=y==="y"?"height":"width",z=A[y],F=z+d[M],Z=z-d[R],U=w?-O[S]/2:0,G=p===_e?H[S]:O[S],W=p===_e?-O[S]:-H[S],K=t.elements.arrow,oe=w&&K?bn(K):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:er(),re=Y[M],V=Y[R],ee=Ct(0,H[S],oe[S]),ae=b?H[S]/2-U-ee-re-x.mainAxis:G-ee-re-x.mainAxis,se=b?-H[S]/2+U+ee+V+x.mainAxis:W+ee+V+x.mainAxis,ne=t.elements.arrow&&bt(t.elements.arrow),de=ne?y==="y"?ne.clientTop||0:ne.clientLeft||0:0,ce=(T=B==null?void 0:B[y])!=null?T:0,pe=z+ae-ce-de,we=z+se-ce,ze=Ct(w?jt(F,pe):F,z,w?qe(Z,we):Z);A[y]=ze,k[y]=ze-z}if(s){var ve,Ke=y==="x"?me:be,He=y==="x"?Ae:De,Pe=A[D],Re=D==="y"?"height":"width",m=Pe+d[Ke],E=Pe-d[He],Q=[me,be].indexOf(v)!==-1,N=(ve=B==null?void 0:B[D])!=null?ve:0,_=Q?m:Pe-H[Re]-O[Re]-N+x.altAxis,q=Q?Pe+H[Re]+O[Re]-N-x.altAxis:E,fe=w&&Q?nl(_,Pe,q):Ct(w?_:m,Pe,w?q:E);A[D]=fe,k[D]=fe-Pe}t.modifiersData[o]=k}}const Ql={name:"preventOverflow",enabled:!0,phase:"main",fn:kl,requiresIfExists:["offset"]};function Ll(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function zl(e){return e===Ce(e)||!Te(e)?wn(e):Ll(e)}function Rl(e){var t=e.getBoundingClientRect(),n=$e(t.width)/e.offsetWidth||1,o=$e(t.height)/e.offsetHeight||1;return n!==1||o!==1}function jl(e,t,n){n===void 0&&(n=!1);var o=Te(t),r=Te(t)&&Rl(t),i=Se(t),a=et(e,r,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!n)&&((Ee(t)!=="body"||xn(i))&&(s=zl(t)),Te(t)?(c=et(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=yn(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Sl(e){var t=new Map,n=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var c=t.get(s);c&&r(c)}}),o.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),o}function Il(e){var t=Sl(e);return Js.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function Nl(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Xl(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var dr={placement:"bottom",modifiers:[],strategy:"absolute"};function ur(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Fl(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,r=t.defaultOptions,i=r===void 0?dr:r;return function(s,c,h){h===void 0&&(h=i);var g={placement:"bottom",orderedModifiers:[],options:Object.assign({},dr,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],C=!1,w={state:g,setOptions:function(v){var p=typeof v=="function"?v(g.options):v;l(),g.options=Object.assign({},i,g.options,p),g.scrollParents={reference:Fe(s)?wt(s):s.contextElement?wt(s.contextElement):[],popper:wt(c)};var b=Il(Xl([].concat(o,g.options.modifiers)));return g.orderedModifiers=b.filter(function(y){return y.enabled}),u(),w.update()},forceUpdate:function(){if(!C){var v=g.elements,p=v.reference,b=v.popper;if(ur(p,b)){g.rects={reference:jl(p,bt(b),g.options.strategy==="fixed"),popper:bn(b)},g.reset=!1,g.placement=g.options.placement,g.orderedModifiers.forEach(function(x){return g.modifiersData[x.name]=Object.assign({},x.data)});for(var y=0;y<g.orderedModifiers.length;y++){if(g.reset===!0){g.reset=!1,y=-1;continue}var D=g.orderedModifiers[y],A=D.fn,H=D.options,O=H===void 0?{}:H,P=D.name;typeof A=="function"&&(g=A({state:g,options:O,name:P,instance:w})||g)}}}},update:Nl(function(){return new Promise(function(d){w.forceUpdate(),d(g)})}),destroy:function(){l(),C=!0}};if(!ur(s,c))return w;w.setOptions(h).then(function(d){!C&&h.onFirstUpdate&&h.onFirstUpdate(d)});function u(){g.orderedModifiers.forEach(function(d){var v=d.name,p=d.options,b=p===void 0?{}:p,y=d.effect;if(typeof y=="function"){var D=y({state:g,name:v,instance:w,options:b}),A=function(){};f.push(D||A)}})}function l(){f.forEach(function(d){return d()}),f=[]}return w}}var ql=[fl,El,dl,$s,Bl,Al,Ql,al,Tl],Gl=Fl({defaultModifiers:ql});const Ul=".TDesign-doc-popup{flex-shrink:0;box-sizing:border-box}";function Xt(e,t){e.triggerType==="hover"&&(t==="enter"?e.visible=!0:e.visible=!1,ye(e,"visible-change",{detail:{visible:e.visible}}))}function fr(e){e.triggerType==="click"&&(e.visible=!e.visible,ye(e,"visible-change",{detail:{visible:e.visible}}))}ie({tag:"td-doc-popup",reference:({render:e})=>e().querySelector(".TDesign-doc-popup"),portalClass:"",portalStyle:"",placement:"bottom-end",triggerType:"hover",equalWidth:{get:(e,t)=>Je(t,!1),set:(e,t)=>Je(t,!1)},visible:{get:(e,t)=>t||!1,set:(e,t)=>t,connect:e=>{const{reference:t,placement:n}=e;let o;requestAnimationFrame(()=>{e.portals=document.getElementById("__td_portals__"),e.portals||(e.portals=document.createElement("div"),e.portals.id="__td_portals__",document.body.appendChild(e.portals));const i=e.querySelector('[slot="content"]');if(!i)return;const a=`<style>${e.portalStyle}</style>`;e.portal=document.createElement("td-portal"),e.portal.className=e.portalClass,e.portal.innerHTML=a,e.portal.appendChild(i),e.portal.addEventListener("click",s=>fr(e)),e.portal.addEventListener("mouseenter",()=>Xt(e,"enter")),e.portal.addEventListener("mouseleave",()=>Xt(e,"leave")),e.portals.appendChild(e.portal),requestAnimationFrame(()=>{const s=["top","bottom"].some(c=>n.includes(c));e.popper=Gl(t,e.portal,{placement:n,modifiers:[{name:"offset",options:{offset:s?[0,8]:[0,16]}}]}),s&&(e.equalWidth?e.popper.state.styles.popper.width=`${t.offsetWidth}px`:e.popper.state.styles.popper.minWidth=`${t.offsetWidth}px`),o=new window.ResizeObserver(()=>{e.popper&&s&&(e.equalWidth?e.popper.state.styles.popper.width=`${t.offsetWidth}px`:e.popper.state.styles.popper.minWidth=`${t.offsetWidth}px`,e.popper.update())}),o.observe(t)})});function r(i){var s;const a=((s=i.composedPath)==null?void 0:s.call(i))||i.path||[];!t||e.contains(a[0])||(e.visible=!1,ye(e,"visible-change",{detail:{visible:e.visible}}))}return document.addEventListener("click",r),()=>{var i,a,s;(a=(i=e.portals)==null?void 0:i.removeChild)==null||a.call(i,e.portal),document.removeEventListener("click",r),(s=o==null?void 0:o.disconnect)==null||s.call(o)}},observe:(e,t)=>{var n,o;e.portal&&(e.portal.visible=t,(o=(n=e.popper)==null?void 0:n.update)==null||o.call(n))}},render:e=>{const{placement:t}=e;return j`
881
884
  <div
882
885
  class="TDesign-doc-popup"
883
886
  data-placement="${t}"
@@ -887,14 +890,14 @@ ${ho(a,y.index)}`),H}}b.prevArgs=v}}const $t=new WeakMap;function Ei(e,t,n=200){
887
890
  >
888
891
  <slot></slot>
889
892
  </div>
890
- `.css`${Ul}`}});const Kl=".TDesign-doc-badge{position:relative;z-index:500}";function Vl(e){const t=e&&parseFloat(e);return t>=90?"brightgreen":t>=70?"yellow":"red"}ie({tag:"td-doc-badge",label:"coverage",message:"0%",color:"",render:e=>{const{label:t,message:n,color:o}=e;let r=o;r||(r=Vl(n));const i=encodeURI(`https://img.shields.io/badge/${t}-${n}-${r}`);return j` <img class="TDesign-doc-badge" src="${i}" /> `.css`${Kl}`}});var tt={},Dn,gr;function Zl(){return gr||(gr=1,Dn=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Dn}var Tn={},Ie={},hr;function Ge(){if(hr)return Ie;hr=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Ie.getSymbolSize=function(o){if(!o)throw new Error('"version" cannot be null or undefined');if(o<1||o>40)throw new Error('"version" should be in range from 1 to 40');return o*4+17},Ie.getSymbolTotalCodewords=function(o){return t[o]},Ie.getBCHDigit=function(n){let o=0;for(;n!==0;)o++,n>>>=1;return o},Ie.setToSJISFunction=function(o){if(typeof o!="function")throw new Error('"toSJISFunc" is not a valid function.');e=o},Ie.isKanjiModeEnabled=function(){return typeof e<"u"},Ie.toSJIS=function(o){return e(o)},Ie}var Hn={},pr;function Pn(){return pr||(pr=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(o){return o&&typeof o.bit<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,r){if(e.isValid(o))return o;try{return t(o)}catch{return r}}}(Hn)),Hn}var Bn,vr;function Yl(){if(vr)return Bn;vr=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let o=0;o<n;o++)this.putBit((t>>>n-o-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},Bn=e,Bn}var On,mr;function Jl(){if(mr)return On;mr=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,o,r){const i=t*this.size+n;this.data[i]=o,r&&(this.reservedBit[i]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,o){this.data[t*this.size+n]^=o},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},On=e,On}var En={},br;function Wl(){return br||(br=1,function(e){const t=Ge().getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const r=Math.floor(o/7)+2,i=t(o),a=i===145?26:Math.ceil((i-13)/(2*r-2))*2,s=[i-7];for(let c=1;c<r-1;c++)s[c]=s[c-1]-a;return s.push(6),s.reverse()},e.getPositions=function(o){const r=[],i=e.getRowColCoords(o),a=i.length;for(let s=0;s<a;s++)for(let c=0;c<a;c++)s===0&&c===0||s===0&&c===a-1||s===a-1&&c===0||r.push([i[s],i[c]]);return r}}(En)),En}var Mn={},Cr;function _l(){if(Cr)return Mn;Cr=1;const e=Ge().getSymbolSize,t=7;return Mn.getPositions=function(o){const r=e(o);return[[0,0],[r-t,0],[0,r-t]]},Mn}var kn={},wr;function $l(){return wr||(wr=1,function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const i=r.size;let a=0,s=0,c=0,h=null,g=null;for(let f=0;f<i;f++){s=c=0,h=g=null;for(let C=0;C<i;C++){let w=r.get(f,C);w===h?s++:(s>=5&&(a+=t.N1+(s-5)),h=w,s=1),w=r.get(C,f),w===g?c++:(c>=5&&(a+=t.N1+(c-5)),g=w,c=1)}s>=5&&(a+=t.N1+(s-5)),c>=5&&(a+=t.N1+(c-5))}return a},e.getPenaltyN2=function(r){const i=r.size;let a=0;for(let s=0;s<i-1;s++)for(let c=0;c<i-1;c++){const h=r.get(s,c)+r.get(s,c+1)+r.get(s+1,c)+r.get(s+1,c+1);(h===4||h===0)&&a++}return a*t.N2},e.getPenaltyN3=function(r){const i=r.size;let a=0,s=0,c=0;for(let h=0;h<i;h++){s=c=0;for(let g=0;g<i;g++)s=s<<1&2047|r.get(h,g),g>=10&&(s===1488||s===93)&&a++,c=c<<1&2047|r.get(g,h),g>=10&&(c===1488||c===93)&&a++}return a*t.N3},e.getPenaltyN4=function(r){let i=0;const a=r.data.length;for(let c=0;c<a;c++)i+=r.data[c];return Math.abs(Math.ceil(i*100/a/5)-10)*t.N4};function n(o,r,i){switch(o){case e.Patterns.PATTERN000:return(r+i)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return i%3===0;case e.Patterns.PATTERN011:return(r+i)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(i/3))%2===0;case e.Patterns.PATTERN101:return r*i%2+r*i%3===0;case e.Patterns.PATTERN110:return(r*i%2+r*i%3)%2===0;case e.Patterns.PATTERN111:return(r*i%3+(r+i)%2)%2===0;default:throw new Error("bad maskPattern:"+o)}}e.applyMask=function(r,i){const a=i.size;for(let s=0;s<a;s++)for(let c=0;c<a;c++)i.isReserved(c,s)||i.xor(c,s,n(r,c,s))},e.getBestMask=function(r,i){const a=Object.keys(e.Patterns).length;let s=0,c=1/0;for(let h=0;h<a;h++){i(h),e.applyMask(h,r);const g=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(h,r),g<c&&(c=g,s=h)}return s}}(kn)),kn}var Ft={},yr;function xr(){if(yr)return Ft;yr=1;const e=Pn(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Ft.getBlocksCount=function(r,i){switch(i){case e.L:return t[(r-1)*4+0];case e.M:return t[(r-1)*4+1];case e.Q:return t[(r-1)*4+2];case e.H:return t[(r-1)*4+3];default:return}},Ft.getTotalCodewordsCount=function(r,i){switch(i){case e.L:return n[(r-1)*4+0];case e.M:return n[(r-1)*4+1];case e.Q:return n[(r-1)*4+2];case e.H:return n[(r-1)*4+3];default:return}},Ft}var Qn={},yt={},Ar;function ec(){if(Ar)return yt;Ar=1;const e=new Uint8Array(512),t=new Uint8Array(256);return function(){let o=1;for(let r=0;r<255;r++)e[r]=o,t[o]=r,o<<=1,o&256&&(o^=285);for(let r=255;r<512;r++)e[r]=e[r-255]}(),yt.log=function(o){if(o<1)throw new Error("log("+o+")");return t[o]},yt.exp=function(o){return e[o]},yt.mul=function(o,r){return o===0||r===0?0:e[t[o]+t[r]]},yt}var Dr;function tc(){return Dr||(Dr=1,function(e){const t=ec();e.mul=function(o,r){const i=new Uint8Array(o.length+r.length-1);for(let a=0;a<o.length;a++)for(let s=0;s<r.length;s++)i[a+s]^=t.mul(o[a],r[s]);return i},e.mod=function(o,r){let i=new Uint8Array(o);for(;i.length-r.length>=0;){const a=i[0];for(let c=0;c<r.length;c++)i[c]^=t.mul(r[c],a);let s=0;for(;s<i.length&&i[s]===0;)s++;i=i.slice(s)}return i},e.generateECPolynomial=function(o){let r=new Uint8Array([1]);for(let i=0;i<o;i++)r=e.mul(r,new Uint8Array([1,t.exp(i)]));return r}}(Qn)),Qn}var Ln,Tr;function nc(){if(Tr)return Ln;Tr=1;const e=tc();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(o){this.degree=o,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(o){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(o.length+this.degree);r.set(o);const i=e.mod(r,this.genPoly),a=this.degree-i.length;if(a>0){const s=new Uint8Array(this.degree);return s.set(i,a),s}return i},Ln=t,Ln}var zn={},Rn={},jn={},Hr;function Pr(){return Hr||(Hr=1,jn.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),jn}var ke={},Br;function Or(){if(Br)return ke;Br=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const o="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
893
+ `.css`${Ul}`}});const Kl=".TDesign-doc-badge{position:relative;z-index:500}";function Vl(e){const t=e&&parseFloat(e);return t>=90?"brightgreen":t>=70?"yellow":"red"}ie({tag:"td-doc-badge",label:"coverage",message:"0%",color:"",render:e=>{const{label:t,message:n,color:o}=e;let r=o;r||(r=Vl(n));const i=encodeURI(`https://img.shields.io/badge/${t}-${n}-${r}`);return j` <img class="TDesign-doc-badge" src="${i}" /> `.css`${Kl}`}});var nt={},Dn,gr;function Zl(){return gr||(gr=1,Dn=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Dn}var Tn={},Ie={},hr;function Ge(){if(hr)return Ie;hr=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Ie.getSymbolSize=function(o){if(!o)throw new Error('"version" cannot be null or undefined');if(o<1||o>40)throw new Error('"version" should be in range from 1 to 40');return o*4+17},Ie.getSymbolTotalCodewords=function(o){return t[o]},Ie.getBCHDigit=function(n){let o=0;for(;n!==0;)o++,n>>>=1;return o},Ie.setToSJISFunction=function(o){if(typeof o!="function")throw new Error('"toSJISFunc" is not a valid function.');e=o},Ie.isKanjiModeEnabled=function(){return typeof e<"u"},Ie.toSJIS=function(o){return e(o)},Ie}var Hn={},pr;function Pn(){return pr||(pr=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(o){return o&&typeof o.bit<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,r){if(e.isValid(o))return o;try{return t(o)}catch{return r}}}(Hn)),Hn}var Bn,vr;function Yl(){if(vr)return Bn;vr=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let o=0;o<n;o++)this.putBit((t>>>n-o-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},Bn=e,Bn}var On,mr;function Jl(){if(mr)return On;mr=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,o,r){const i=t*this.size+n;this.data[i]=o,r&&(this.reservedBit[i]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,o){this.data[t*this.size+n]^=o},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},On=e,On}var En={},br;function Wl(){return br||(br=1,function(e){const t=Ge().getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const r=Math.floor(o/7)+2,i=t(o),a=i===145?26:Math.ceil((i-13)/(2*r-2))*2,s=[i-7];for(let c=1;c<r-1;c++)s[c]=s[c-1]-a;return s.push(6),s.reverse()},e.getPositions=function(o){const r=[],i=e.getRowColCoords(o),a=i.length;for(let s=0;s<a;s++)for(let c=0;c<a;c++)s===0&&c===0||s===0&&c===a-1||s===a-1&&c===0||r.push([i[s],i[c]]);return r}}(En)),En}var Mn={},Cr;function _l(){if(Cr)return Mn;Cr=1;const e=Ge().getSymbolSize,t=7;return Mn.getPositions=function(o){const r=e(o);return[[0,0],[r-t,0],[0,r-t]]},Mn}var kn={},wr;function $l(){return wr||(wr=1,function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const i=r.size;let a=0,s=0,c=0,h=null,g=null;for(let f=0;f<i;f++){s=c=0,h=g=null;for(let C=0;C<i;C++){let w=r.get(f,C);w===h?s++:(s>=5&&(a+=t.N1+(s-5)),h=w,s=1),w=r.get(C,f),w===g?c++:(c>=5&&(a+=t.N1+(c-5)),g=w,c=1)}s>=5&&(a+=t.N1+(s-5)),c>=5&&(a+=t.N1+(c-5))}return a},e.getPenaltyN2=function(r){const i=r.size;let a=0;for(let s=0;s<i-1;s++)for(let c=0;c<i-1;c++){const h=r.get(s,c)+r.get(s,c+1)+r.get(s+1,c)+r.get(s+1,c+1);(h===4||h===0)&&a++}return a*t.N2},e.getPenaltyN3=function(r){const i=r.size;let a=0,s=0,c=0;for(let h=0;h<i;h++){s=c=0;for(let g=0;g<i;g++)s=s<<1&2047|r.get(h,g),g>=10&&(s===1488||s===93)&&a++,c=c<<1&2047|r.get(g,h),g>=10&&(c===1488||c===93)&&a++}return a*t.N3},e.getPenaltyN4=function(r){let i=0;const a=r.data.length;for(let c=0;c<a;c++)i+=r.data[c];return Math.abs(Math.ceil(i*100/a/5)-10)*t.N4};function n(o,r,i){switch(o){case e.Patterns.PATTERN000:return(r+i)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return i%3===0;case e.Patterns.PATTERN011:return(r+i)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(i/3))%2===0;case e.Patterns.PATTERN101:return r*i%2+r*i%3===0;case e.Patterns.PATTERN110:return(r*i%2+r*i%3)%2===0;case e.Patterns.PATTERN111:return(r*i%3+(r+i)%2)%2===0;default:throw new Error("bad maskPattern:"+o)}}e.applyMask=function(r,i){const a=i.size;for(let s=0;s<a;s++)for(let c=0;c<a;c++)i.isReserved(c,s)||i.xor(c,s,n(r,c,s))},e.getBestMask=function(r,i){const a=Object.keys(e.Patterns).length;let s=0,c=1/0;for(let h=0;h<a;h++){i(h),e.applyMask(h,r);const g=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(h,r),g<c&&(c=g,s=h)}return s}}(kn)),kn}var Ft={},yr;function xr(){if(yr)return Ft;yr=1;const e=Pn(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Ft.getBlocksCount=function(r,i){switch(i){case e.L:return t[(r-1)*4+0];case e.M:return t[(r-1)*4+1];case e.Q:return t[(r-1)*4+2];case e.H:return t[(r-1)*4+3];default:return}},Ft.getTotalCodewordsCount=function(r,i){switch(i){case e.L:return n[(r-1)*4+0];case e.M:return n[(r-1)*4+1];case e.Q:return n[(r-1)*4+2];case e.H:return n[(r-1)*4+3];default:return}},Ft}var Qn={},xt={},Ar;function ec(){if(Ar)return xt;Ar=1;const e=new Uint8Array(512),t=new Uint8Array(256);return function(){let o=1;for(let r=0;r<255;r++)e[r]=o,t[o]=r,o<<=1,o&256&&(o^=285);for(let r=255;r<512;r++)e[r]=e[r-255]}(),xt.log=function(o){if(o<1)throw new Error("log("+o+")");return t[o]},xt.exp=function(o){return e[o]},xt.mul=function(o,r){return o===0||r===0?0:e[t[o]+t[r]]},xt}var Dr;function tc(){return Dr||(Dr=1,function(e){const t=ec();e.mul=function(o,r){const i=new Uint8Array(o.length+r.length-1);for(let a=0;a<o.length;a++)for(let s=0;s<r.length;s++)i[a+s]^=t.mul(o[a],r[s]);return i},e.mod=function(o,r){let i=new Uint8Array(o);for(;i.length-r.length>=0;){const a=i[0];for(let c=0;c<r.length;c++)i[c]^=t.mul(r[c],a);let s=0;for(;s<i.length&&i[s]===0;)s++;i=i.slice(s)}return i},e.generateECPolynomial=function(o){let r=new Uint8Array([1]);for(let i=0;i<o;i++)r=e.mul(r,new Uint8Array([1,t.exp(i)]));return r}}(Qn)),Qn}var Ln,Tr;function nc(){if(Tr)return Ln;Tr=1;const e=tc();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(o){this.degree=o,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(o){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(o.length+this.degree);r.set(o);const i=e.mod(r,this.genPoly),a=this.degree-i.length;if(a>0){const s=new Uint8Array(this.degree);return s.set(i,a),s}return i},Ln=t,Ln}var zn={},Rn={},jn={},Hr;function Pr(){return Hr||(Hr=1,jn.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),jn}var ke={},Br;function Or(){if(Br)return ke;Br=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const o="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
891
894
  ]))+`;ke.KANJI=new RegExp(n,"g"),ke.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),ke.BYTE=new RegExp(o,"g"),ke.NUMERIC=new RegExp(e,"g"),ke.ALPHANUMERIC=new RegExp(t,"g");const r=new RegExp("^"+n+"$"),i=new RegExp("^"+e+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return ke.testKanji=function(c){return r.test(c)},ke.testNumeric=function(c){return i.test(c)},ke.testAlphanumeric=function(c){return a.test(c)},ke}var Er;function Ue(){return Er||(Er=1,function(e){const t=Pr(),n=Or();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(i,a){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?i.ccBits[0]:a<27?i.ccBits[1]:i.ccBits[2]},e.getBestModeForData=function(i){return n.testNumeric(i)?e.NUMERIC:n.testAlphanumeric(i)?e.ALPHANUMERIC:n.testKanji(i)?e.KANJI:e.BYTE},e.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},e.isValid=function(i){return i&&i.bit&&i.ccBits};function o(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(i,a){if(e.isValid(i))return i;try{return o(i)}catch{return a}}}(Rn)),Rn}var Mr;function oc(){return Mr||(Mr=1,function(e){const t=Ge(),n=xr(),o=Pn(),r=Ue(),i=Pr(),a=7973,s=t.getBCHDigit(a);function c(C,w,u){for(let l=1;l<=40;l++)if(w<=e.getCapacity(l,u,C))return l}function h(C,w){return r.getCharCountIndicator(C,w)+4}function g(C,w){let u=0;return C.forEach(function(l){const d=h(l.mode,w);u+=d+l.getBitsLength()}),u}function f(C,w){for(let u=1;u<=40;u++)if(g(C,u)<=e.getCapacity(u,w,r.MIXED))return u}e.from=function(w,u){return i.isValid(w)?parseInt(w,10):u},e.getCapacity=function(w,u,l){if(!i.isValid(w))throw new Error("Invalid QR Code version");typeof l>"u"&&(l=r.BYTE);const d=t.getSymbolTotalCodewords(w),v=n.getTotalCodewordsCount(w,u),p=(d-v)*8;if(l===r.MIXED)return p;const b=p-h(l,w);switch(l){case r.NUMERIC:return Math.floor(b/10*3);case r.ALPHANUMERIC:return Math.floor(b/11*2);case r.KANJI:return Math.floor(b/13);case r.BYTE:default:return Math.floor(b/8)}},e.getBestVersionForData=function(w,u){let l;const d=o.from(u,o.M);if(Array.isArray(w)){if(w.length>1)return f(w,d);if(w.length===0)return 1;l=w[0]}else l=w;return c(l.mode,l.getLength(),d)},e.getEncodedBits=function(w){if(!i.isValid(w)||w<7)throw new Error("Invalid QR Code version");let u=w<<12;for(;t.getBCHDigit(u)-s>=0;)u^=a<<t.getBCHDigit(u)-s;return w<<12|u}}(zn)),zn}var Sn={},kr;function rc(){if(kr)return Sn;kr=1;const e=Ge(),t=1335,n=21522,o=e.getBCHDigit(t);return Sn.getEncodedBits=function(i,a){const s=i.bit<<3|a;let c=s<<10;for(;e.getBCHDigit(c)-o>=0;)c^=t<<e.getBCHDigit(c)-o;return(s<<10|c)^n},Sn}var In={},Nn,Qr;function ic(){if(Qr)return Nn;Qr=1;const e=Ue();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(o){return 10*Math.floor(o/3)+(o%3?o%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(o){let r,i,a;for(r=0;r+3<=this.data.length;r+=3)i=this.data.substr(r,3),a=parseInt(i,10),o.put(a,10);const s=this.data.length-r;s>0&&(i=this.data.substr(r),a=parseInt(i,10),o.put(a,s*3+1))},Nn=t,Nn}var Xn,Lr;function ac(){if(Lr)return Xn;Lr=1;const e=Ue(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(o){this.mode=e.ALPHANUMERIC,this.data=o}return n.getBitsLength=function(r){return 11*Math.floor(r/2)+6*(r%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let i;for(i=0;i+2<=this.data.length;i+=2){let a=t.indexOf(this.data[i])*45;a+=t.indexOf(this.data[i+1]),r.put(a,11)}this.data.length%2&&r.put(t.indexOf(this.data[i]),6)},Xn=n,Xn}var Fn,zr;function sc(){if(zr)return Fn;zr=1;const e=Ue();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(o){return o*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let o=0,r=this.data.length;o<r;o++)n.put(this.data[o],8)},Fn=t,Fn}var qn,Rr;function lc(){if(Rr)return qn;Rr=1;const e=Ue(),t=Ge();function n(o){this.mode=e.KANJI,this.data=o}return n.getBitsLength=function(r){return r*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(o){let r;for(r=0;r<this.data.length;r++){let i=t.toSJIS(this.data[r]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[r]+`
892
895
  Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),o.put(i,13)}},qn=n,qn}var Gn={exports:{}},jr;function cc(){return jr||(jr=1,function(e){var t={single_source_shortest_paths:function(n,o,r){var i={},a={};a[o]=0;var s=t.PriorityQueue.make();s.push(o,0);for(var c,h,g,f,C,w,u,l,d;!s.empty();){c=s.pop(),h=c.value,f=c.cost,C=n[h]||{};for(g in C)C.hasOwnProperty(g)&&(w=C[g],u=f+w,l=a[g],d=typeof a[g]>"u",(d||l>u)&&(a[g]=u,s.push(g,u),i[g]=h))}if(typeof r<"u"&&typeof a[r]>"u"){var v=["Could not find a path from ",o," to ",r,"."].join("");throw new Error(v)}return i},extract_shortest_path_from_predecessor_list:function(n,o){for(var r=[],i=o;i;)r.push(i),n[i],i=n[i];return r.reverse(),r},find_path:function(n,o,r){var i=t.single_source_shortest_paths(n,o,r);return t.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(n){var o=t.PriorityQueue,r={},i;n=n||{};for(i in o)o.hasOwnProperty(i)&&(r[i]=o[i]);return r.queue=[],r.sorter=n.sorter||o.default_sorter,r},default_sorter:function(n,o){return n.cost-o.cost},push:function(n,o){var r={value:n,cost:o};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Gn)),Gn.exports}var Sr;function dc(){return Sr||(Sr=1,function(e){const t=Ue(),n=ic(),o=ac(),r=sc(),i=lc(),a=Or(),s=Ge(),c=cc();function h(v){return unescape(encodeURIComponent(v)).length}function g(v,p,b){const y=[];let D;for(;(D=v.exec(b))!==null;)y.push({data:D[0],index:D.index,mode:p,length:D[0].length});return y}function f(v){const p=g(a.NUMERIC,t.NUMERIC,v),b=g(a.ALPHANUMERIC,t.ALPHANUMERIC,v);let y,D;return s.isKanjiModeEnabled()?(y=g(a.BYTE,t.BYTE,v),D=g(a.KANJI,t.KANJI,v)):(y=g(a.BYTE_KANJI,t.BYTE,v),D=[]),p.concat(b,y,D).sort(function(H,O){return H.index-O.index}).map(function(H){return{data:H.data,mode:H.mode,length:H.length}})}function C(v,p){switch(p){case t.NUMERIC:return n.getBitsLength(v);case t.ALPHANUMERIC:return o.getBitsLength(v);case t.KANJI:return i.getBitsLength(v);case t.BYTE:return r.getBitsLength(v)}}function w(v){return v.reduce(function(p,b){const y=p.length-1>=0?p[p.length-1]:null;return y&&y.mode===b.mode?(p[p.length-1].data+=b.data,p):(p.push(b),p)},[])}function u(v){const p=[];for(let b=0;b<v.length;b++){const y=v[b];switch(y.mode){case t.NUMERIC:p.push([y,{data:y.data,mode:t.ALPHANUMERIC,length:y.length},{data:y.data,mode:t.BYTE,length:y.length}]);break;case t.ALPHANUMERIC:p.push([y,{data:y.data,mode:t.BYTE,length:y.length}]);break;case t.KANJI:p.push([y,{data:y.data,mode:t.BYTE,length:h(y.data)}]);break;case t.BYTE:p.push([{data:y.data,mode:t.BYTE,length:h(y.data)}])}}return p}function l(v,p){const b={},y={start:{}};let D=["start"];for(let A=0;A<v.length;A++){const H=v[A],O=[];for(let P=0;P<H.length;P++){const x=H[P],B=""+A+P;O.push(B),b[B]={node:x,lastCount:0},y[B]={};for(let k=0;k<D.length;k++){const T=D[k];b[T]&&b[T].node.mode===x.mode?(y[T][B]=C(b[T].lastCount+x.length,x.mode)-C(b[T].lastCount,x.mode),b[T].lastCount+=x.length):(b[T]&&(b[T].lastCount=x.length),y[T][B]=C(x.length,x.mode)+4+t.getCharCountIndicator(x.mode,p))}}D=O}for(let A=0;A<D.length;A++)y[D[A]].end=0;return{map:y,table:b}}function d(v,p){let b;const y=t.getBestModeForData(v);if(b=t.from(p,y),b!==t.BYTE&&b.bit<y.bit)throw new Error('"'+v+'" cannot be encoded with mode '+t.toString(b)+`.
893
896
  Suggested mode is: `+t.toString(y));switch(b===t.KANJI&&!s.isKanjiModeEnabled()&&(b=t.BYTE),b){case t.NUMERIC:return new n(v);case t.ALPHANUMERIC:return new o(v);case t.KANJI:return new i(v);case t.BYTE:return new r(v)}}e.fromArray=function(p){return p.reduce(function(b,y){return typeof y=="string"?b.push(d(y,null)):y.data&&b.push(d(y.data,y.mode)),b},[])},e.fromString=function(p,b){const y=f(p,s.isKanjiModeEnabled()),D=u(y),A=l(D,b),H=c.find_path(A.map,"start","end"),O=[];for(let P=1;P<H.length-1;P++)O.push(A.table[H[P]].node);return e.fromArray(w(O))},e.rawSplit=function(p){return e.fromArray(f(p,s.isKanjiModeEnabled()))}}(In)),In}var Ir;function uc(){if(Ir)return Tn;Ir=1;const e=Ge(),t=Pn(),n=Yl(),o=Jl(),r=Wl(),i=_l(),a=$l(),s=xr(),c=nc(),h=oc(),g=rc(),f=Ue(),C=dc();function w(A,H){const O=A.size,P=i.getPositions(H);for(let x=0;x<P.length;x++){const B=P[x][0],k=P[x][1];for(let T=-1;T<=7;T++)if(!(B+T<=-1||O<=B+T))for(let M=-1;M<=7;M++)k+M<=-1||O<=k+M||(T>=0&&T<=6&&(M===0||M===6)||M>=0&&M<=6&&(T===0||T===6)||T>=2&&T<=4&&M>=2&&M<=4?A.set(B+T,k+M,!0,!0):A.set(B+T,k+M,!1,!0))}}function u(A){const H=A.size;for(let O=8;O<H-8;O++){const P=O%2===0;A.set(O,6,P,!0),A.set(6,O,P,!0)}}function l(A,H){const O=r.getPositions(H);for(let P=0;P<O.length;P++){const x=O[P][0],B=O[P][1];for(let k=-2;k<=2;k++)for(let T=-2;T<=2;T++)k===-2||k===2||T===-2||T===2||k===0&&T===0?A.set(x+k,B+T,!0,!0):A.set(x+k,B+T,!1,!0)}}function d(A,H){const O=A.size,P=h.getEncodedBits(H);let x,B,k;for(let T=0;T<18;T++)x=Math.floor(T/3),B=T%3+O-8-3,k=(P>>T&1)===1,A.set(x,B,k,!0),A.set(B,x,k,!0)}function v(A,H,O){const P=A.size,x=g.getEncodedBits(H,O);let B,k;for(B=0;B<15;B++)k=(x>>B&1)===1,B<6?A.set(B,8,k,!0):B<8?A.set(B+1,8,k,!0):A.set(P-15+B,8,k,!0),B<8?A.set(8,P-B-1,k,!0):B<9?A.set(8,15-B-1+1,k,!0):A.set(8,15-B-1,k,!0);A.set(P-8,8,1,!0)}function p(A,H){const O=A.size;let P=-1,x=O-1,B=7,k=0;for(let T=O-1;T>0;T-=2)for(T===6&&T--;;){for(let M=0;M<2;M++)if(!A.isReserved(x,T-M)){let R=!1;k<H.length&&(R=(H[k]>>>B&1)===1),A.set(x,T-M,R),B--,B===-1&&(k++,B=7)}if(x+=P,x<0||O<=x){x-=P,P=-P;break}}}function b(A,H,O){const P=new n;O.forEach(function(M){P.put(M.mode.bit,4),P.put(M.getLength(),f.getCharCountIndicator(M.mode,A)),M.write(P)});const x=e.getSymbolTotalCodewords(A),B=s.getTotalCodewordsCount(A,H),k=(x-B)*8;for(P.getLengthInBits()+4<=k&&P.put(0,4);P.getLengthInBits()%8!==0;)P.putBit(0);const T=(k-P.getLengthInBits())/8;for(let M=0;M<T;M++)P.put(M%2?17:236,8);return y(P,A,H)}function y(A,H,O){const P=e.getSymbolTotalCodewords(H),x=s.getTotalCodewordsCount(H,O),B=P-x,k=s.getBlocksCount(H,O),T=P%k,M=k-T,R=Math.floor(P/k),S=Math.floor(B/k),z=S+1,F=R-S,Z=new c(F);let U=0;const G=new Array(k),W=new Array(k);let K=0;const oe=new Uint8Array(A.buffer);for(let ae=0;ae<k;ae++){const se=ae<M?S:z;G[ae]=oe.slice(U,U+se),W[ae]=Z.encode(G[ae]),U+=se,K=Math.max(K,se)}const Y=new Uint8Array(P);let re=0,V,ee;for(V=0;V<K;V++)for(ee=0;ee<k;ee++)V<G[ee].length&&(Y[re++]=G[ee][V]);for(V=0;V<F;V++)for(ee=0;ee<k;ee++)Y[re++]=W[ee][V];return Y}function D(A,H,O,P){let x;if(Array.isArray(A))x=C.fromArray(A);else if(typeof A=="string"){let R=H;if(!R){const S=C.rawSplit(A);R=h.getBestVersionForData(S,O)}x=C.fromString(A,R||40)}else throw new Error("Invalid data");const B=h.getBestVersionForData(x,O);if(!B)throw new Error("The amount of data is too big to be stored in a QR Code");if(!H)H=B;else if(H<B)throw new Error(`
894
897
  The chosen QR Code version cannot contain this amount of data.
895
898
  Minimum version required to store current data is: `+B+`.
896
899
  `);const k=b(H,O,x),T=e.getSymbolSize(H),M=new o(T);return w(M,H),u(M),l(M,H),v(M,O,0),H>=7&&d(M,H),p(M,k),isNaN(P)&&(P=a.getBestMask(M,v.bind(null,M,O))),a.applyMask(P,M),v(M,O,P),{modules:M,version:H,errorCorrectionLevel:O,maskPattern:P,segments:x}}return Tn.create=function(H,O){if(typeof H>"u"||H==="")throw new Error("No input text");let P=t.M,x,B;return typeof O<"u"&&(P=t.from(O.errorCorrectionLevel,t.M),x=h.from(O.version),B=a.from(O.maskPattern),O.toSJISFunc&&e.setToSJISFunction(O.toSJISFunc)),D(H,x,P,B)},Tn}var Un={},Kn={},Nr;function Xr(){return Nr||(Nr=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let o=n.slice().replace("#","").split("");if(o.length<3||o.length===5||o.length>8)throw new Error("Invalid hex color: "+n);(o.length===3||o.length===4)&&(o=Array.prototype.concat.apply([],o.map(function(i){return[i,i]}))),o.length===6&&o.push("F","F");const r=parseInt(o.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+o.slice(0,6).join("")}}e.getOptions=function(o){o||(o={}),o.color||(o.color={});const r=typeof o.margin>"u"||o.margin===null||o.margin<0?4:o.margin,i=o.width&&o.width>=21?o.width:void 0,a=o.scale||4;return{width:i,scale:i?4:a,margin:r,color:{dark:t(o.color.dark||"#000000ff"),light:t(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},e.getScale=function(o,r){return r.width&&r.width>=o+r.margin*2?r.width/(o+r.margin*2):r.scale},e.getImageWidth=function(o,r){const i=e.getScale(o,r);return Math.floor((o+r.margin*2)*i)},e.qrToImageData=function(o,r,i){const a=r.modules.size,s=r.modules.data,c=e.getScale(a,i),h=Math.floor((a+i.margin*2)*c),g=i.margin*c,f=[i.color.light,i.color.dark];for(let C=0;C<h;C++)for(let w=0;w<h;w++){let u=(C*h+w)*4,l=i.color.light;if(C>=g&&w>=g&&C<h-g&&w<h-g){const d=Math.floor((C-g)/c),v=Math.floor((w-g)/c);l=f[s[d*a+v]?1:0]}o[u++]=l.r,o[u++]=l.g,o[u++]=l.b,o[u]=l.a}}}(Kn)),Kn}var Fr;function fc(){return Fr||(Fr=1,function(e){const t=Xr();function n(r,i,a){r.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=a,i.width=a,i.style.height=a+"px",i.style.width=a+"px"}function o(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(i,a,s){let c=s,h=a;typeof c>"u"&&(!a||!a.getContext)&&(c=a,a=void 0),a||(h=o()),c=t.getOptions(c);const g=t.getImageWidth(i.modules.size,c),f=h.getContext("2d"),C=f.createImageData(g,g);return t.qrToImageData(C.data,i,c),n(f,h,g),f.putImageData(C,0,0),h},e.renderToDataURL=function(i,a,s){let c=s;typeof c>"u"&&(!a||!a.getContext)&&(c=a,a=void 0),c||(c={});const h=e.render(i,a,c),g=c.type||"image/png",f=c.rendererOpts||{};return h.toDataURL(g,f.quality)}}(Un)),Un}var Vn={},qr;function gc(){if(qr)return Vn;qr=1;const e=Xr();function t(r,i){const a=r.a/255,s=i+'="'+r.hex+'"';return a<1?s+" "+i+'-opacity="'+a.toFixed(2).slice(1)+'"':s}function n(r,i,a){let s=r+i;return typeof a<"u"&&(s+=" "+a),s}function o(r,i,a){let s="",c=0,h=!1,g=0;for(let f=0;f<r.length;f++){const C=Math.floor(f%i),w=Math.floor(f/i);!C&&!h&&(h=!0),r[f]?(g++,f>0&&C>0&&r[f-1]||(s+=h?n("M",C+a,.5+w+a):n("m",c,0),c=0,h=!1),C+1<i&&r[f+1]||(s+=n("h",g),g=0)):c++}return s}return Vn.render=function(i,a,s){const c=e.getOptions(a),h=i.modules.size,g=i.modules.data,f=h+c.margin*2,C=c.color.light.a?"<path "+t(c.color.light,"fill")+' d="M0 0h'+f+"v"+f+'H0z"/>':"",w="<path "+t(c.color.dark,"stroke")+' d="'+o(g,h,c.margin)+'"/>',u='viewBox="0 0 '+f+" "+f+'"',d='<svg xmlns="http://www.w3.org/2000/svg" '+(c.width?'width="'+c.width+'" height="'+c.width+'" ':"")+u+' shape-rendering="crispEdges">'+C+w+`</svg>
897
- `;return typeof s=="function"&&s(null,d),d},Vn}var Gr;function hc(){if(Gr)return tt;Gr=1;const e=Zl(),t=uc(),n=fc(),o=gc();function r(i,a,s,c,h){const g=[].slice.call(arguments,1),f=g.length,C=typeof g[f-1]=="function";if(!C&&!e())throw new Error("Callback required as last argument");if(C){if(f<2)throw new Error("Too few arguments provided");f===2?(h=s,s=a,a=c=void 0):f===3&&(a.getContext&&typeof h>"u"?(h=c,c=void 0):(h=c,c=s,s=a,a=void 0))}else{if(f<1)throw new Error("Too few arguments provided");return f===1?(s=a,a=c=void 0):f===2&&!a.getContext&&(c=s,s=a,a=void 0),new Promise(function(w,u){try{const l=t.create(s,c);w(i(l,a,c))}catch(l){u(l)}})}try{const w=t.create(s,c);h(null,i(w,a,c))}catch(w){h(w)}}return tt.create=t.create,tt.toCanvas=r.bind(null,n.render),tt.toDataURL=r.bind(null,n.renderToDataURL),tt.toString=r.bind(null,function(i,a,s){return o.render(i,s)}),tt}var pc=hc();const Ur=an(pc),vc=':host{--phone-display: block;--phone-collapse-display: none;--phone-header-height: 48px;--phone-body-height: 667px}@media screen and (max-width: 960px){:host{--phone-display: none;--phone-collapse-display: flex}}.TDesign-doc-phone{width:375px;width:min(75vw,375px);border-radius:6px;border:1px solid var(--component-border);outline:9999px solid transparent;position:absolute;top:316px;right:24px;display:var(--phone-display)}.TDesign-doc-phone__close{width:40px;height:40px;display:flex;justify-content:center;align-items:center;border:1px solid var(--component-border);border-radius:0 6px 6px 0;position:absolute;right:-42px;top:42px;background-color:var(--bg-color-container);visibility:hidden;opacity:0;transition:all .2s linear}.TDesign-doc-phone__close svg{color:var(--text-primary);width:24px;height:24px}.TDesign-doc-phone__header{height:var(--phone-header-height);padding:8px;border-radius:6px 6px 0 0;box-sizing:border-box;background:var(--bg-color-demo)}.TDesign-doc-phone__header-icons{display:flex;height:100%}.TDesign-doc-phone__header-icons .icon{width:32px;height:32px;border-radius:var(--border-radius);transition:all .1s;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-secondary)}.TDesign-doc-phone__header-icons .icon:hover{color:var(--text-primary);background-color:var(--bg-color-demo-hover)}.TDesign-doc-phone__header-icons .icon.active{color:var(--text-primary);background-color:var(--bg-color-demo-select)}.TDesign-doc-phone__header-icons .qrcode-wrapper{display:flex;justify-content:center;align-items:center;border-radius:3px;overflow:hidden;max-width:200px;max-height:200px}.TDesign-doc-phone__body{width:100%;height:var(--phone-body-height);border-radius:0 0 6px 6px;background-color:var(--bg-color-demo)}.TDesign-doc-phone-mask{content:"";position:fixed;left:0;top:0;width:100%;height:100%;z-index:2500;display:none}.TDesign-doc-phone-mask.show{display:block}.TDesign-doc-phone-mask.hide+.TDesign-doc-phone{visibility:hidden;opacity:0}.TDesign-doc-phone-mask.show+.TDesign-doc-phone{position:fixed;left:50%;top:50%!important;transform:translate3d(-50%,-50%,0);outline-color:var(--text-disabled);transition:transform .2s var(--anim-time-fn-easing),opacity .2s linear,visibility .2s linear;visibility:visible;opacity:1;z-index:2500;display:block}.TDesign-doc-phone-mask.show+.TDesign-doc-phone .TDesign-doc-phone__close{opacity:1;visibility:visible;cursor:pointer}.TDesign-doc-phone-collapse{position:fixed;right:0;top:400px;z-index:400;border-radius:3px 0 0 3px;box-shadow:2px 0 8px #00000042;width:40px;height:40px;align-items:center;justify-content:center;background-color:var(--bg-color-container);transition:all .2s var(--anim-time-fn-easing);display:var(--phone-collapse-display);cursor:pointer}.TDesign-doc-phone-collapse .icon svg{width:24px;height:24px;color:var(--text-primary)}',mc=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
900
+ `;return typeof s=="function"&&s(null,d),d},Vn}var Gr;function hc(){if(Gr)return nt;Gr=1;const e=Zl(),t=uc(),n=fc(),o=gc();function r(i,a,s,c,h){const g=[].slice.call(arguments,1),f=g.length,C=typeof g[f-1]=="function";if(!C&&!e())throw new Error("Callback required as last argument");if(C){if(f<2)throw new Error("Too few arguments provided");f===2?(h=s,s=a,a=c=void 0):f===3&&(a.getContext&&typeof h>"u"?(h=c,c=void 0):(h=c,c=s,s=a,a=void 0))}else{if(f<1)throw new Error("Too few arguments provided");return f===1?(s=a,a=c=void 0):f===2&&!a.getContext&&(c=s,s=a,a=void 0),new Promise(function(w,u){try{const l=t.create(s,c);w(i(l,a,c))}catch(l){u(l)}})}try{const w=t.create(s,c);h(null,i(w,a,c))}catch(w){h(w)}}return nt.create=t.create,nt.toCanvas=r.bind(null,n.render),nt.toDataURL=r.bind(null,n.renderToDataURL),nt.toString=r.bind(null,function(i,a,s){return o.render(i,s)}),nt}var pc=hc();const Ur=an(pc),vc=':host{--phone-display: block;--phone-collapse-display: none;--phone-header-height: 48px;--phone-body-height: 667px}@media screen and (max-width: 960px){:host{--phone-display: none;--phone-collapse-display: flex}}.TDesign-doc-phone{width:375px;width:min(75vw,375px);border-radius:6px;border:1px solid var(--component-border);outline:9999px solid transparent;position:absolute;top:316px;right:24px;display:var(--phone-display)}.TDesign-doc-phone__close{width:40px;height:40px;display:flex;justify-content:center;align-items:center;border:1px solid var(--component-border);border-radius:0 6px 6px 0;position:absolute;right:-42px;top:42px;background-color:var(--bg-color-container);visibility:hidden;opacity:0;transition:all .2s linear}.TDesign-doc-phone__close svg{color:var(--text-primary);width:24px;height:24px}.TDesign-doc-phone__header{height:var(--phone-header-height);padding:8px;border-radius:6px 6px 0 0;box-sizing:border-box;background:var(--bg-color-demo)}.TDesign-doc-phone__header-icons{display:flex;height:100%}.TDesign-doc-phone__header-icons .icon{width:32px;height:32px;border-radius:var(--border-radius);transition:all .1s;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-secondary)}.TDesign-doc-phone__header-icons .icon:hover{color:var(--text-primary);background-color:var(--bg-color-demo-hover)}.TDesign-doc-phone__header-icons .icon.active{color:var(--text-primary);background-color:var(--bg-color-demo-select)}.TDesign-doc-phone__header-icons .qrcode-wrapper{display:flex;justify-content:center;align-items:center;border-radius:3px;overflow:hidden;max-width:200px;max-height:200px}.TDesign-doc-phone__body{width:100%;height:var(--phone-body-height);border-radius:0 0 6px 6px;background-color:var(--bg-color-demo)}.TDesign-doc-phone-mask{content:"";position:fixed;left:0;top:0;width:100%;height:100%;z-index:2500;display:none}.TDesign-doc-phone-mask.show{display:block}.TDesign-doc-phone-mask.hide+.TDesign-doc-phone{visibility:hidden;opacity:0}.TDesign-doc-phone-mask.show+.TDesign-doc-phone{position:fixed;left:50%;top:50%!important;transform:translate3d(-50%,-50%,0);outline-color:var(--text-disabled);transition:transform .2s var(--anim-time-fn-easing),opacity .2s linear,visibility .2s linear;visibility:visible;opacity:1;z-index:2500;display:block}.TDesign-doc-phone-mask.show+.TDesign-doc-phone .TDesign-doc-phone__close{opacity:1;visibility:visible;cursor:pointer}.TDesign-doc-phone-collapse{position:fixed;right:0;top:400px;z-index:400;border-radius:3px 0 0 3px;box-shadow:2px 0 8px #00000042;width:40px;height:40px;align-items:center;justify-content:center;background-color:var(--bg-color-container);transition:all .2s var(--anim-time-fn-easing);display:var(--phone-collapse-display);cursor:pointer}.TDesign-doc-phone-collapse .icon svg{width:24px;height:24px;color:var(--text-primary)}',mc=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
898
901
  <path d="M8.75 5H5V8.75H8.75V5Z" fill="currentColor"/>
899
902
  <path fill-rule="evenodd" clip-rule="evenodd" d="M10 2.5C10.6904 2.5 11.25 3.05964 11.25 3.75V10C11.25 10.6904 10.6904 11.25 10 11.25H3.75C3.05964 11.25 2.5 10.6904 2.5 10V3.75C2.5 3.05964 3.05964 2.5 3.75 2.5H10ZM10 3.75H3.75V10H10V3.75Z" fill="currentColor"/>
900
903
  <path fill-rule="evenodd" clip-rule="evenodd" d="M17.5 3.75C17.5 3.05964 16.9404 2.5 16.25 2.5H13.75C13.0596 2.5 12.5 3.05964 12.5 3.75V6.25C12.5 6.94036 13.0596 7.5 13.75 7.5H16.25C16.9404 7.5 17.5 6.94036 17.5 6.25V3.75ZM13.75 3.75H16.25V6.25H13.75V3.75Z" fill="currentColor"/>
@@ -953,12 +956,12 @@ Minimum version required to store current data is: `+B+`.
953
956
  * @namespace
954
957
  * @public
955
958
  */var n=function(o){var r=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,a={},s={manual:o.Prism&&o.Prism.manual,disableWorkerMessageHandler:o.Prism&&o.Prism.disableWorkerMessageHandler,util:{encode:function p(b){return b instanceof c?new c(b.type,p(b.content),b.alias):Array.isArray(b)?b.map(p):b.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(p){return Object.prototype.toString.call(p).slice(8,-1)},objId:function(p){return p.__id||Object.defineProperty(p,"__id",{value:++i}),p.__id},clone:function p(b,y){y=y||{};var D,A;switch(s.util.type(b)){case"Object":if(A=s.util.objId(b),y[A])return y[A];D={},y[A]=D;for(var H in b)b.hasOwnProperty(H)&&(D[H]=p(b[H],y));return D;case"Array":return A=s.util.objId(b),y[A]?y[A]:(D=[],y[A]=D,b.forEach(function(O,P){D[P]=p(O,y)}),D);default:return b}},getLanguage:function(p){for(;p;){var b=r.exec(p.className);if(b)return b[1].toLowerCase();p=p.parentElement}return"none"},setLanguage:function(p,b){p.className=p.className.replace(RegExp(r,"gi"),""),p.classList.add("language-"+b)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(D){var p=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(D.stack)||[])[1];if(p){var b=document.getElementsByTagName("script");for(var y in b)if(b[y].src==p)return b[y]}return null}},isActive:function(p,b,y){for(var D="no-"+b;p;){var A=p.classList;if(A.contains(b))return!0;if(A.contains(D))return!1;p=p.parentElement}return!!y}},languages:{plain:a,plaintext:a,text:a,txt:a,extend:function(p,b){var y=s.util.clone(s.languages[p]);for(var D in b)y[D]=b[D];return y},insertBefore:function(p,b,y,D){D=D||s.languages;var A=D[p],H={};for(var O in A)if(A.hasOwnProperty(O)){if(O==b)for(var P in y)y.hasOwnProperty(P)&&(H[P]=y[P]);y.hasOwnProperty(O)||(H[O]=A[O])}var x=D[p];return D[p]=H,s.languages.DFS(s.languages,function(B,k){k===x&&B!=p&&(this[B]=H)}),H},DFS:function p(b,y,D,A){A=A||{};var H=s.util.objId;for(var O in b)if(b.hasOwnProperty(O)){y.call(b,O,b[O],D||O);var P=b[O],x=s.util.type(P);x==="Object"&&!A[H(P)]?(A[H(P)]=!0,p(P,y,null,A)):x==="Array"&&!A[H(P)]&&(A[H(P)]=!0,p(P,y,O,A))}}},plugins:{},highlightAll:function(p,b){s.highlightAllUnder(document,p,b)},highlightAllUnder:function(p,b,y){var D={callback:y,container:p,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",D),D.elements=Array.prototype.slice.apply(D.container.querySelectorAll(D.selector)),s.hooks.run("before-all-elements-highlight",D);for(var A=0,H;H=D.elements[A++];)s.highlightElement(H,b===!0,D.callback)},highlightElement:function(p,b,y){var D=s.util.getLanguage(p),A=s.languages[D];s.util.setLanguage(p,D);var H=p.parentElement;H&&H.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(H,D);var O=p.textContent,P={element:p,language:D,grammar:A,code:O};function x(k){P.highlightedCode=k,s.hooks.run("before-insert",P),P.element.innerHTML=P.highlightedCode,s.hooks.run("after-highlight",P),s.hooks.run("complete",P),y&&y.call(P.element)}if(s.hooks.run("before-sanity-check",P),H=P.element.parentElement,H&&H.nodeName.toLowerCase()==="pre"&&!H.hasAttribute("tabindex")&&H.setAttribute("tabindex","0"),!P.code){s.hooks.run("complete",P),y&&y.call(P.element);return}if(s.hooks.run("before-highlight",P),!P.grammar){x(s.util.encode(P.code));return}if(b&&o.Worker){var B=new Worker(s.filename);B.onmessage=function(k){x(k.data)},B.postMessage(JSON.stringify({language:P.language,code:P.code,immediateClose:!0}))}else x(s.highlight(P.code,P.grammar,P.language))},highlight:function(p,b,y){var D={code:p,grammar:b,language:y};if(s.hooks.run("before-tokenize",D),!D.grammar)throw new Error('The language "'+D.language+'" has no grammar.');return D.tokens=s.tokenize(D.code,D.grammar),s.hooks.run("after-tokenize",D),c.stringify(s.util.encode(D.tokens),D.language)},tokenize:function(p,b){var y=b.rest;if(y){for(var D in y)b[D]=y[D];delete b.rest}var A=new f;return C(A,A.head,p),g(p,A,b,A.head,0),u(A)},hooks:{all:{},add:function(p,b){var y=s.hooks.all;y[p]=y[p]||[],y[p].push(b)},run:function(p,b){var y=s.hooks.all[p];if(!(!y||!y.length))for(var D=0,A;A=y[D++];)A(b)}},Token:c};o.Prism=s;function c(p,b,y,D){this.type=p,this.content=b,this.alias=y,this.length=(D||"").length|0}c.stringify=function p(b,y){if(typeof b=="string")return b;if(Array.isArray(b)){var D="";return b.forEach(function(x){D+=p(x,y)}),D}var A={type:b.type,content:p(b.content,y),tag:"span",classes:["token",b.type],attributes:{},language:y},H=b.alias;H&&(Array.isArray(H)?Array.prototype.push.apply(A.classes,H):A.classes.push(H)),s.hooks.run("wrap",A);var O="";for(var P in A.attributes)O+=" "+P+'="'+(A.attributes[P]||"").replace(/"/g,"&quot;")+'"';return"<"+A.tag+' class="'+A.classes.join(" ")+'"'+O+">"+A.content+"</"+A.tag+">"};function h(p,b,y,D){p.lastIndex=b;var A=p.exec(y);if(A&&D&&A[1]){var H=A[1].length;A.index+=H,A[0]=A[0].slice(H)}return A}function g(p,b,y,D,A,H){for(var O in y)if(!(!y.hasOwnProperty(O)||!y[O])){var P=y[O];P=Array.isArray(P)?P:[P];for(var x=0;x<P.length;++x){if(H&&H.cause==O+","+x)return;var B=P[x],k=B.inside,T=!!B.lookbehind,M=!!B.greedy,R=B.alias;if(M&&!B.pattern.global){var S=B.pattern.toString().match(/[imsuy]*$/)[0];B.pattern=RegExp(B.pattern.source,S+"g")}for(var z=B.pattern||B,F=D.next,Z=A;F!==b.tail&&!(H&&Z>=H.reach);Z+=F.value.length,F=F.next){var U=F.value;if(b.length>p.length)return;if(!(U instanceof c)){var G=1,W;if(M){if(W=h(z,Z,p,T),!W||W.index>=p.length)break;var re=W.index,K=W.index+W[0].length,oe=Z;for(oe+=F.value.length;re>=oe;)F=F.next,oe+=F.value.length;if(oe-=F.value.length,Z=oe,F.value instanceof c)continue;for(var Y=F;Y!==b.tail&&(oe<K||typeof Y.value=="string");Y=Y.next)G++,oe+=Y.value.length;G--,U=p.slice(Z,oe),W.index-=Z}else if(W=h(z,0,U,T),!W)continue;var re=W.index,V=W[0],ee=U.slice(0,re),ae=U.slice(re+V.length),se=Z+U.length;H&&se>H.reach&&(H.reach=se);var ne=F.prev;ee&&(ne=C(b,ne,ee),Z+=ee.length),w(b,ne,G);var de=new c(O,k?s.tokenize(V,k):V,R,V);if(F=C(b,ne,de),ae&&C(b,F,ae),G>1){var ce={cause:O+","+x,reach:se};g(p,b,y,F.prev,Z,ce),H&&ce.reach>H.reach&&(H.reach=ce.reach)}}}}}}function f(){var p={value:null,prev:null,next:null},b={value:null,prev:p,next:null};p.next=b,this.head=p,this.tail=b,this.length=0}function C(p,b,y){var D=b.next,A={value:y,prev:b,next:D};return b.next=A,D.prev=A,p.length++,A}function w(p,b,y){for(var D=b.next,A=0;A<y&&D!==p.tail;A++)D=D.next;b.next=D,D.prev=b,p.length-=A}function u(p){for(var b=[],y=p.head.next;y!==p.tail;)b.push(y.value),y=y.next;return b}if(!o.document)return o.addEventListener&&(s.disableWorkerMessageHandler||o.addEventListener("message",function(p){var b=JSON.parse(p.data),y=b.language,D=b.code,A=b.immediateClose;o.postMessage(s.highlight(D,s.languages[y],y)),A&&o.close()},!1)),s;var l=s.util.currentScript();l&&(s.filename=l.src,l.hasAttribute("data-manual")&&(s.manual=!0));function d(){s.manual||s.highlightAll()}if(!s.manual){var v=document.readyState;v==="loading"||v==="interactive"&&l&&l.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return s}(t);e.exports&&(e.exports=n),typeof jo<"u"&&(jo.Prism=n),n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(o){o.type==="entity"&&(o.attributes.title=o.content.replace(/&amp;/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(r,i){var a={};a["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[i]},a.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:a}};s["language-"+i]={pattern:/[\s\S]+/,inside:n.languages[i]};var c={};c[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(o,r){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:n.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(o){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var i=o.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if(typeof n>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var o="Loading…",r=function(l,d){return"✖ Error "+l+" while fetching file: "+d},i="✖ Error: File does not exist or is empty",a={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",c="loading",h="loaded",g="failed",f="pre[data-src]:not(["+s+'="'+h+'"]):not(['+s+'="'+c+'"])';function C(l,d,v){var p=new XMLHttpRequest;p.open("GET",l,!0),p.onreadystatechange=function(){p.readyState==4&&(p.status<400&&p.responseText?d(p.responseText):p.status>=400?v(r(p.status,p.statusText)):v(i))},p.send(null)}function w(l){var d=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(l||"");if(d){var v=Number(d[1]),p=d[2],b=d[3];return p?b?[v,Number(b)]:[v,void 0]:[v,v]}}n.hooks.add("before-highlightall",function(l){l.selector+=", "+f}),n.hooks.add("before-sanity-check",function(l){var d=l.element;if(d.matches(f)){l.code="",d.setAttribute(s,c);var v=d.appendChild(document.createElement("CODE"));v.textContent=o;var p=d.getAttribute("data-src"),b=l.language;if(b==="none"){var y=(/\.(\w+)$/.exec(p)||[,"none"])[1];b=a[y]||y}n.util.setLanguage(v,b),n.util.setLanguage(d,b);var D=n.plugins.autoloader;D&&D.loadLanguages(b),C(p,function(A){d.setAttribute(s,h);var H=w(d.getAttribute("data-range"));if(H){var O=A.split(/\r\n?|\n/g),P=H[0],x=H[1]==null?O.length:H[1];P<0&&(P+=O.length),P=Math.max(0,Math.min(P-1,O.length)),x<0&&(x+=O.length),x=Math.max(0,Math.min(x,O.length)),A=O.slice(P,x).join(`
956
- `),d.hasAttribute("data-start")||d.setAttribute("data-start",String(P+1))}v.textContent=A,n.highlightElement(v)},function(A){d.setAttribute(s,g),v.textContent=A})}}),n.plugins.fileHighlight={highlight:function(d){for(var v=(d||document).querySelectorAll(f),p=0,b;b=v[p++];)n.highlightElement(b)}};var u=!1;n.fileHighlight=function(){u||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),u=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()}(Yn)),Yn.exports}var Dc=Ac();const nt=an(Dc),Tc='code[class*=language-],pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-]::selection,pre[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative}.language-css>code,.language-sass>code,.language-scss>code{color:#c24c08}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#6d3bac}.token.attr-name{color:#007edf}.token.attr-value,.token.attribute{color:#d29c00}.token.boolean{color:#6d3bac}.token.builtin,.token.cdata,.token.char,.token.class{color:#007edf}.token.class-name{color:#003cbf}.token.comment{color:#97a3b7}.token.constant{color:#6d3bac}.token.deleted{color:#b01531}.token.doctype{color:#97a3b7}.token.entity{color:#b01531}.token.function{color:#6d3bac}.token.hexcode{color:#c24c08}.token.id,.token.important{color:#6d3bac;font-weight:700}.token.inserted{color:#007edf}.token.keyword{color:#6d3bac}.token.number{color:#c24c08}.token.operator{color:#007edf}.token.prolog{color:#97a3b7}.token.property{color:#007edf}.token.pseudo-class,.token.pseudo-element{color:#d29c00}.token.punctuation{color:#007edf}.token.regex{color:#003cbf}.token.selector{color:#b01531}.token.string{color:#d29c00}.token.symbol{color:#6d3bac}.token.tag{color:#b01531}.token.unit{color:#c24c08}.token.url,.token.variable{color:#b01531}:root[theme-mode=dark] code[class*=language-],:root[theme-mode=dark] pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}:root[theme-mode=dark] code[class*=language-]::selection,:root[theme-mode=dark] pre[class*=language-]::selection,:root[theme-mode=dark] code[class*=language-] ::selection,:root[theme-mode=dark] pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:root[theme-mode=dark] :not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}:root[theme-mode=dark] pre[class*=language-]{overflow:auto;position:relative}:root[theme-mode=dark] .language-css>code,:root[theme-mode=dark] .language-sass>code,:root[theme-mode=dark] .language-scss>code{color:#f2995f}:root[theme-mode=dark] [class*=language-] .namespace{opacity:.7}:root[theme-mode=dark] .token.atrule{color:#ae78f0}:root[theme-mode=dark] .token.attr-name{color:#3280ff}:root[theme-mode=dark] .token.attr-value{color:#fbca25}:root[theme-mode=dark] .token.attribute{color:#fbca25}:root[theme-mode=dark] .token.boolean{color:#ae78f0}:root[theme-mode=dark] .token.builtin{color:#3280ff}:root[theme-mode=dark] .token.cdata{color:#3280ff}:root[theme-mode=dark] .token.char{color:#3280ff}:root[theme-mode=dark] .token.class{color:#3280ff}:root[theme-mode=dark] .token.class-name{color:#5cc5fc}:root[theme-mode=dark] .token.comment{color:#97a3b7}:root[theme-mode=dark] .token.constant{color:#ae78f0}:root[theme-mode=dark] .token.deleted{color:#48c79c}:root[theme-mode=dark] .token.doctype{color:#97a3b7}:root[theme-mode=dark] .token.entity{color:#48c79c}:root[theme-mode=dark] .token.function{color:#ae78f0}:root[theme-mode=dark] .token.hexcode{color:#f2995f}:root[theme-mode=dark] .token.id{color:#ae78f0;font-weight:700}:root[theme-mode=dark] .token.important{color:#f6c;font-weight:700}:root[theme-mode=dark] .token.inserted{color:#3280ff}:root[theme-mode=dark] .token.keyword{color:#f6c}:root[theme-mode=dark] .token.number{color:#f2995f}:root[theme-mode=dark] .token.operator{color:#3280ff}:root[theme-mode=dark] .token.prolog{color:#97a3b7}:root[theme-mode=dark] .token.property{color:#3280ff}:root[theme-mode=dark] .token.pseudo-class{color:#fbca25}:root[theme-mode=dark] .token.pseudo-element{color:#fbca25}:root[theme-mode=dark] .token.punctuation{color:#3280ff}:root[theme-mode=dark] .token.regex{color:#5cc5fc}:root[theme-mode=dark] .token.selector{color:#f36d78}:root[theme-mode=dark] .token.string{color:#fbca25}:root[theme-mode=dark] .token.symbol{color:#f6c}:root[theme-mode=dark] .token.tag{color:#48c79c}:root[theme-mode=dark] .token.unit{color:#f2995f}:root[theme-mode=dark] .token.url{color:#48c79c}:root[theme-mode=dark] .token.variable{color:#48c79c}.TDesign-doc-demo{margin:24px 0 48px;background-color:var(--bg-color-demo);color:var(--text-primary);border:1px solid var(--component-border);border-radius:6px}.TDesign-doc-demo.open{background:var(--bg-color-code)}.TDesign-doc-demo.open .TDesign-doc-demo__footer{border-radius:6px}.TDesign-doc-demo.open .TDesign-doc-demo__btns{position:relative}.TDesign-doc-demo.open .TDesign-doc-demo__btns:after{content:"";width:100%;height:20px;position:absolute;top:100%;left:0;z-index:1;background:var(--bg-color-code-linear)}.TDesign-doc-demo.open .TDesign-doc-demo__btns .action:hover{background-color:var(--bg-color-component-hover)}.TDesign-doc-demo__footer{border-radius:0 0 5px 5px}.TDesign-doc-demo__btns{height:48px;padding:8px;display:flex;justify-content:flex-end;column-gap:8px;align-items:center;box-sizing:border-box}.TDesign-doc-demo__btns .action{height:32px;width:32px;padding:8px;box-sizing:border-box;border-radius:var(--border-radius);cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .1s;display:inline-flex;color:var(--text-secondary)}.TDesign-doc-demo__btns .action:hover{color:var(--text-primary);background-color:var(--bg-color-demo-hover)}.TDesign-doc-demo__btns .action.active{color:var(--text-primary);background-color:var(--bg-color-demo-select)}.TDesign-doc-demo__code{border-radius:0 0 6px 6px;overflow:hidden;max-height:560px}.TDesign-doc-demo__code pre{margin:0;padding:20px 24px 36px;max-height:560px;box-sizing:border-box;overflow:auto;background:var(--bg-color-code);color:var(--text-primary);border-top:1px solid var(--component-border)}.TDesign-doc-demo__code pre:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-doc-demo__code pre::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-doc-demo__code pre::-webkit-scrollbar-corner{width:0}.TDesign-doc-demo__code pre::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}.TDesign-doc-demo-tabs{display:flex;align-items:center;justify-content:center;height:calc(var(--block-base-width) * 3);box-sizing:border-box;cursor:pointer;border-top:1px solid var(--component-border);padding:4px 0;position:relative}.TDesign-doc-demo-tabs__active{height:2px;width:180px;background-color:var(--text-interactive);position:absolute;left:0;bottom:1px;transition:all var(--anim-time-fn-easing) var(--anim-duration-moderate)}.TDesign-doc-demo-tabs__item+.TDesign-doc-demo-tabs__item{margin-left:8px}.TDesign-doc-demo-tabs__item{margin:4px;width:188px;text-align:center;padding:4px 0;font-size:var(--block-base-width);box-sizing:border-box;border-radius:var(--border-radius);color:var(--text-secondary);word-break:keep-all;white-space:nowrap;transition:background .2s}.TDesign-doc-demo-tabs__item:hover,.TDesign-doc-demo-tabs__item.active{color:var(--text-interactive)}.TDesign-doc-demo-tabs__item:hover{background:var(--bg-color-demo-hover)}',Zr=`<svg width="18" height="16" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
959
+ `),d.hasAttribute("data-start")||d.setAttribute("data-start",String(P+1))}v.textContent=A,n.highlightElement(v)},function(A){d.setAttribute(s,g),v.textContent=A})}}),n.plugins.fileHighlight={highlight:function(d){for(var v=(d||document).querySelectorAll(f),p=0,b;b=v[p++];)n.highlightElement(b)}};var u=!1;n.fileHighlight=function(){u||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),u=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()}(Yn)),Yn.exports}var Dc=Ac();const ot=an(Dc),Tc='code[class*=language-],pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-]::selection,pre[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative}.language-css>code,.language-sass>code,.language-scss>code{color:#c24c08}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#6d3bac}.token.attr-name{color:#007edf}.token.attr-value,.token.attribute{color:#d29c00}.token.boolean{color:#6d3bac}.token.builtin,.token.cdata,.token.char,.token.class{color:#007edf}.token.class-name{color:#003cbf}.token.comment{color:#97a3b7}.token.constant{color:#6d3bac}.token.deleted{color:#b01531}.token.doctype{color:#97a3b7}.token.entity{color:#b01531}.token.function{color:#6d3bac}.token.hexcode{color:#c24c08}.token.id,.token.important{color:#6d3bac;font-weight:700}.token.inserted{color:#007edf}.token.keyword{color:#6d3bac}.token.number{color:#c24c08}.token.operator{color:#007edf}.token.prolog{color:#97a3b7}.token.property{color:#007edf}.token.pseudo-class,.token.pseudo-element{color:#d29c00}.token.punctuation{color:#007edf}.token.regex{color:#003cbf}.token.selector{color:#b01531}.token.string{color:#d29c00}.token.symbol{color:#6d3bac}.token.tag{color:#b01531}.token.unit{color:#c24c08}.token.url,.token.variable{color:#b01531}:root[theme-mode=dark] code[class*=language-],:root[theme-mode=dark] pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}:root[theme-mode=dark] code[class*=language-]::selection,:root[theme-mode=dark] pre[class*=language-]::selection,:root[theme-mode=dark] code[class*=language-] ::selection,:root[theme-mode=dark] pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:root[theme-mode=dark] :not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}:root[theme-mode=dark] pre[class*=language-]{overflow:auto;position:relative}:root[theme-mode=dark] .language-css>code,:root[theme-mode=dark] .language-sass>code,:root[theme-mode=dark] .language-scss>code{color:#f2995f}:root[theme-mode=dark] [class*=language-] .namespace{opacity:.7}:root[theme-mode=dark] .token.atrule{color:#ae78f0}:root[theme-mode=dark] .token.attr-name{color:#3280ff}:root[theme-mode=dark] .token.attr-value{color:#fbca25}:root[theme-mode=dark] .token.attribute{color:#fbca25}:root[theme-mode=dark] .token.boolean{color:#ae78f0}:root[theme-mode=dark] .token.builtin{color:#3280ff}:root[theme-mode=dark] .token.cdata{color:#3280ff}:root[theme-mode=dark] .token.char{color:#3280ff}:root[theme-mode=dark] .token.class{color:#3280ff}:root[theme-mode=dark] .token.class-name{color:#5cc5fc}:root[theme-mode=dark] .token.comment{color:#97a3b7}:root[theme-mode=dark] .token.constant{color:#ae78f0}:root[theme-mode=dark] .token.deleted{color:#48c79c}:root[theme-mode=dark] .token.doctype{color:#97a3b7}:root[theme-mode=dark] .token.entity{color:#48c79c}:root[theme-mode=dark] .token.function{color:#ae78f0}:root[theme-mode=dark] .token.hexcode{color:#f2995f}:root[theme-mode=dark] .token.id{color:#ae78f0;font-weight:700}:root[theme-mode=dark] .token.important{color:#f6c;font-weight:700}:root[theme-mode=dark] .token.inserted{color:#3280ff}:root[theme-mode=dark] .token.keyword{color:#f6c}:root[theme-mode=dark] .token.number{color:#f2995f}:root[theme-mode=dark] .token.operator{color:#3280ff}:root[theme-mode=dark] .token.prolog{color:#97a3b7}:root[theme-mode=dark] .token.property{color:#3280ff}:root[theme-mode=dark] .token.pseudo-class{color:#fbca25}:root[theme-mode=dark] .token.pseudo-element{color:#fbca25}:root[theme-mode=dark] .token.punctuation{color:#3280ff}:root[theme-mode=dark] .token.regex{color:#5cc5fc}:root[theme-mode=dark] .token.selector{color:#f36d78}:root[theme-mode=dark] .token.string{color:#fbca25}:root[theme-mode=dark] .token.symbol{color:#f6c}:root[theme-mode=dark] .token.tag{color:#48c79c}:root[theme-mode=dark] .token.unit{color:#f2995f}:root[theme-mode=dark] .token.url{color:#48c79c}:root[theme-mode=dark] .token.variable{color:#48c79c}.TDesign-doc-demo{margin:24px 0 48px;background-color:var(--bg-color-demo);color:var(--text-primary);border:1px solid var(--component-border);border-radius:6px}.TDesign-doc-demo.open{background:var(--bg-color-code)}.TDesign-doc-demo.open .TDesign-doc-demo__footer{border-radius:6px}.TDesign-doc-demo.open .TDesign-doc-demo__btns{position:relative}.TDesign-doc-demo.open .TDesign-doc-demo__btns:after{content:"";width:100%;height:20px;position:absolute;top:100%;left:0;z-index:1;background:var(--bg-color-code-linear)}.TDesign-doc-demo.open .TDesign-doc-demo__btns .action:hover{background-color:var(--bg-color-component-hover)}.TDesign-doc-demo__footer{border-radius:0 0 5px 5px}.TDesign-doc-demo__btns{height:48px;padding:8px;display:flex;justify-content:flex-end;column-gap:8px;align-items:center;box-sizing:border-box}.TDesign-doc-demo__btns .action{height:32px;width:32px;padding:8px;box-sizing:border-box;border-radius:var(--border-radius);cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .1s;display:inline-flex;color:var(--text-secondary)}.TDesign-doc-demo__btns .action:hover{color:var(--text-primary);background-color:var(--bg-color-demo-hover)}.TDesign-doc-demo__btns .action.active{color:var(--text-primary);background-color:var(--bg-color-demo-select)}.TDesign-doc-demo__code{border-radius:0 0 6px 6px;overflow:hidden;max-height:560px}.TDesign-doc-demo__code pre{margin:0;padding:20px 24px 36px;max-height:560px;box-sizing:border-box;overflow:auto;background:var(--bg-color-code);color:var(--text-primary);border-top:1px solid var(--component-border)}.TDesign-doc-demo__code pre:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-doc-demo__code pre::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-doc-demo__code pre::-webkit-scrollbar-corner{width:0}.TDesign-doc-demo__code pre::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}.TDesign-doc-demo-tabs{display:flex;align-items:center;justify-content:center;height:calc(var(--block-base-width) * 3);box-sizing:border-box;cursor:pointer;border-top:1px solid var(--component-border);padding:4px 0;position:relative}.TDesign-doc-demo-tabs__active{height:2px;width:180px;background-color:var(--text-interactive);position:absolute;left:0;bottom:1px;transition:all var(--anim-time-fn-easing) var(--anim-duration-moderate)}.TDesign-doc-demo-tabs__item+.TDesign-doc-demo-tabs__item{margin-left:8px}.TDesign-doc-demo-tabs__item{margin:4px;width:188px;text-align:center;padding:4px 0;font-size:var(--block-base-width);box-sizing:border-box;border-radius:var(--border-radius);color:var(--text-secondary);word-break:keep-all;white-space:nowrap;transition:background .2s}.TDesign-doc-demo-tabs__item:hover,.TDesign-doc-demo-tabs__item.active{color:var(--text-interactive)}.TDesign-doc-demo-tabs__item:hover{background:var(--bg-color-demo-hover)}',Zr=`<svg width="18" height="16" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
957
960
  <path fill="currentColor" d="M10.3736 0.498413L11.581 0.821937L7.69869 15.3108L6.49128 14.9873L10.3736 0.498413Z" />
958
961
  <path fill="currentColor" d="M13.687 2.66028L17.3046 6.79909C17.8786 7.45583 17.9195 8.41353 17.4255 9.11321L17.3115 9.25899L13.6894 13.4505L12.7436 12.6332C12.7436 12.6332 16.645 8.25979 16.5103 8.0325L12.7459 3.4829L13.687 2.66028Z" />
959
962
  <path fill="currentColor" d="M0.667582 6.90809L3.84161 2.67255L4.8419 3.42215L1.51505 7.99998C1.41314 8.20784 4.8419 12.6428 4.8419 12.6428L3.84161 13.3924L0.667582 9.1569L0.5612 8.99891C0.171134 8.35104 0.206595 7.52325 0.667582 6.90809Z" />
960
963
  </svg>
961
- `;Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,n){var o={};o["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[n]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};r["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(c,h){return c=c.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return r}),RegExp(c,h)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(a).join(""):""},s=function(c){for(var h=[],g=0;g<c.length;g++){var f=c[g],C=!1;if(typeof f!="string"&&(f.type==="tag"&&f.content[0]&&f.content[0].type==="tag"?f.content[0].content[0].content==="</"?h.length>0&&h[h.length-1].tagName===a(f.content[0].content[1])&&h.pop():f.content[f.content.length-1].content==="/>"||h.push({tagName:a(f.content[0].content[1]),openedBraces:0}):h.length>0&&f.type==="punctuation"&&f.content==="{"?h[h.length-1].openedBraces++:h.length>0&&h[h.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?h[h.length-1].openedBraces--:C=!0),(C||typeof f=="string")&&h.length>0&&h[h.length-1].openedBraces===0){var w=a(f);g<c.length-1&&(typeof c[g+1]=="string"||c[g+1].type==="plain-text")&&(w+=a(c[g+1]),c.splice(g+1,1)),g>0&&(typeof c[g-1]=="string"||c[g-1].type==="plain-text")&&(w=a(c[g-1])+w,c.splice(g-1,1),g--),c[g]=new e.Token("plain-text",w,null,w)}f.content&&typeof f.content!="string"&&s(f.content)}};e.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||s(c.tokens)})}(Prism),Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript;var Yr={},Jr;function Hc(){return Jr||(Jr=1,function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism)),Yr}Hc(),ie({tag:"td-doc-demo",code:"",language:"jsx",showCode:!1,mode:"auto",currentLangIndex:0,languages:void 0,currentRenderCode:"",theme:{get:(e,t)=>t||localStorage.getItem("--tdesign-theme")||"light",set:(e,t)=>t,connect(e,t,n){function o(){const r=localStorage.getItem("--tdesign-theme");Object.assign(e,{[t]:r}),n()}return window.addEventListener("localStorage",o),()=>window.removeEventListener("localStorage",o)}},activeStyleMap:{get:(e,t)=>t||void 0,set:(e,t)=>t,connect:(e,t)=>{function n(){if(!e.shadowRoot){setTimeout(n,300);return}const o=e.shadowRoot.querySelectorAll(".TDesign-doc-demo-tabs__item");let r={};o.forEach(i=>{if(!i.offsetWidth)r=null;else{const{tab:a}=i.dataset;r[a]={width:`${i.offsetWidth}px`,transform:`translate3d(${i.offsetLeft}px, 0, 0)`}}}),Object.assign(e,{[t]:r})}return requestAnimationFrame(n),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}}},render:e=>{var v,p,b,y;let{code:t,language:n,showCode:o,mode:r,theme:i,currentLangIndex:a,languages:s,activeStyleMap:c}=e;const h=typeof s=="string"?s.split(","):[],g=h.length>0&&h.filter(D=>{var A,H;return((A=e.dataset)==null?void 0:A[D])||((H=e.dataset)==null?void 0:H[D.toLocaleLowerCase()])}).length==h.length,f=h[a]||"",C=((v=e.dataset)==null?void 0:v[f])||((p=e.dataset)==null?void 0:p[f.toLocaleLowerCase()])||t,w=nt.highlight(C,nt.languages[n],n);e.currentRenderCode=C;const u=c&&h.length?c[h[a]]:{},l={transitionDuration:".2s",maxHeight:o?"560px":0,transitionTimingFunction:o?"cubic-bezier(.82, 0, 1, .9)":"ease"},d=D=>{e.currentLangIndex=D,ye(e,"click",{detail:{index:D,lang:h[D]}})};return j`
964
+ `;Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,n){var o={};o["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[n]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};r["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(c,h){return c=c.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return r}),RegExp(c,h)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(a).join(""):""},s=function(c){for(var h=[],g=0;g<c.length;g++){var f=c[g],C=!1;if(typeof f!="string"&&(f.type==="tag"&&f.content[0]&&f.content[0].type==="tag"?f.content[0].content[0].content==="</"?h.length>0&&h[h.length-1].tagName===a(f.content[0].content[1])&&h.pop():f.content[f.content.length-1].content==="/>"||h.push({tagName:a(f.content[0].content[1]),openedBraces:0}):h.length>0&&f.type==="punctuation"&&f.content==="{"?h[h.length-1].openedBraces++:h.length>0&&h[h.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?h[h.length-1].openedBraces--:C=!0),(C||typeof f=="string")&&h.length>0&&h[h.length-1].openedBraces===0){var w=a(f);g<c.length-1&&(typeof c[g+1]=="string"||c[g+1].type==="plain-text")&&(w+=a(c[g+1]),c.splice(g+1,1)),g>0&&(typeof c[g-1]=="string"||c[g-1].type==="plain-text")&&(w=a(c[g-1])+w,c.splice(g-1,1),g--),c[g]=new e.Token("plain-text",w,null,w)}f.content&&typeof f.content!="string"&&s(f.content)}};e.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||s(c.tokens)})}(Prism),Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript;var Yr={},Jr;function Hc(){return Jr||(Jr=1,function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism)),Yr}Hc(),ie({tag:"td-doc-demo",code:"",language:"jsx",showCode:!1,mode:"auto",currentLangIndex:0,languages:void 0,currentRenderCode:"",theme:{get:(e,t)=>t||localStorage.getItem("--tdesign-theme")||"light",set:(e,t)=>t,connect(e,t,n){function o(){const r=localStorage.getItem("--tdesign-theme");Object.assign(e,{[t]:r}),n()}return window.addEventListener("localStorage",o),()=>window.removeEventListener("localStorage",o)}},activeStyleMap:{get:(e,t)=>t||void 0,set:(e,t)=>t,connect:(e,t)=>{function n(){if(!e.shadowRoot){setTimeout(n,300);return}const o=e.shadowRoot.querySelectorAll(".TDesign-doc-demo-tabs__item");let r={};o.forEach(i=>{if(!i.offsetWidth)r=null;else{const{tab:a}=i.dataset;r[a]={width:`${i.offsetWidth}px`,transform:`translate3d(${i.offsetLeft}px, 0, 0)`}}}),Object.assign(e,{[t]:r})}return requestAnimationFrame(n),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}}},render:e=>{var v,p,b,y;let{code:t,language:n,showCode:o,mode:r,theme:i,currentLangIndex:a,languages:s,activeStyleMap:c}=e;const h=typeof s=="string"?s.split(","):[],g=h.length>0&&h.filter(D=>{var A,H;return((A=e.dataset)==null?void 0:A[D])||((H=e.dataset)==null?void 0:H[D.toLocaleLowerCase()])}).length==h.length,f=h[a]||"",C=((v=e.dataset)==null?void 0:v[f])||((p=e.dataset)==null?void 0:p[f.toLocaleLowerCase()])||t,w=ot.highlight(C,ot.languages[n],n);e.currentRenderCode=C;const u=c&&h.length?c[h[a]]:{},l={transitionDuration:".2s",maxHeight:o?"560px":0,transitionTimingFunction:o?"cubic-bezier(.82, 0, 1, .9)":"ease"},d=D=>{e.currentLangIndex=D,ye(e,"click",{detail:{index:D,lang:h[D]}})};return j`
962
965
  <div class="TDesign-doc-demo ${r}">
963
966
  <slot></slot>
964
967
  <div class="TDesign-doc-demo__footer">
@@ -1043,7 +1046,7 @@ Minimum version required to store current data is: `+B+`.
1043
1046
  `)}
1044
1047
  </ul>
1045
1048
  `:""}
1046
- `}ie({tag:"td-doc-usage",code:"",showCode:!1,language:"markup",panel:{set:(e,t,n)=>(t&&n!==t&&ye(e,"PanelChange",{detail:{value:t}}),t),get:(e,t)=>{var n;return t||((n=e.panelList[0])==null?void 0:n.value)},observe:e=>{if(!e.shadowRoot)return;const t=e.shadowRoot.querySelector(".active-line");t.style=Rc(e)}},panelList:{get:(e,t)=>t||[],set:(e,t)=>t},configList:{get:(e,t)=>t||[],set:(e,t)=>t},render:e=>{const{code:t,language:n,showCode:o,configList:r,panelList:i,panel:a}=e,s=nt.highlight(t,nt.languages[n],n),c={transitionDuration:".2s",maxHeight:o?"240px":0,transitionTimingFunction:o?"cubic-bezier(.82, 0, 1, .9)":"ease"};return j`
1049
+ `}ie({tag:"td-doc-usage",code:"",showCode:!1,language:"markup",panel:{set:(e,t,n)=>(t&&n!==t&&ye(e,"PanelChange",{detail:{value:t}}),t),get:(e,t)=>{var n;return t||((n=e.panelList[0])==null?void 0:n.value)},observe:e=>{if(!e.shadowRoot)return;const t=e.shadowRoot.querySelector(".active-line");t.style=Rc(e)}},panelList:{get:(e,t)=>t||[],set:(e,t)=>t},configList:{get:(e,t)=>t||[],set:(e,t)=>t},render:e=>{const{code:t,language:n,showCode:o,configList:r,panelList:i,panel:a}=e,s=ot.highlight(t,ot.languages[n],n),c={transitionDuration:".2s",maxHeight:o?"240px":0,transitionTimingFunction:o?"cubic-bezier(.82, 0, 1, .9)":"ease"};return j`
1047
1050
  <div class="TDesign-doc-usage">
1048
1051
  <div class="TDesign-doc-usage__content">
1049
1052
  <div class="TDesign-doc-usage__render">
@@ -1085,7 +1088,7 @@ Minimum version required to store current data is: `+B+`.
1085
1088
  ><code class="language-${n}" innerHTML="${s}"></code></pre>
1086
1089
  </div>
1087
1090
  </div>
1088
- `.css`${Lc}`}});const Sc=":host{display:inline;line-height:calc(100% + 8px);font-size:12px;margin:0 2px;padding:2px 6px;border-radius:3px;color:var(--error-8);background:var(--error-1)}.TDesign-code{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}";ie({tag:"td-code",text:"",render:({text:e})=>j`<code class="TDesign-code">${e}</code>`.css`${Sc}`});const Ic="code[class*=language-],pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-]::selection,pre[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative}.language-css>code,.language-sass>code,.language-scss>code{color:#c24c08}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#6d3bac}.token.attr-name{color:#007edf}.token.attr-value,.token.attribute{color:#d29c00}.token.boolean{color:#6d3bac}.token.builtin,.token.cdata,.token.char,.token.class{color:#007edf}.token.class-name{color:#003cbf}.token.comment{color:#97a3b7}.token.constant{color:#6d3bac}.token.deleted{color:#b01531}.token.doctype{color:#97a3b7}.token.entity{color:#b01531}.token.function{color:#6d3bac}.token.hexcode{color:#c24c08}.token.id,.token.important{color:#6d3bac;font-weight:700}.token.inserted{color:#007edf}.token.keyword{color:#6d3bac}.token.number{color:#c24c08}.token.operator{color:#007edf}.token.prolog{color:#97a3b7}.token.property{color:#007edf}.token.pseudo-class,.token.pseudo-element{color:#d29c00}.token.punctuation{color:#007edf}.token.regex{color:#003cbf}.token.selector{color:#b01531}.token.string{color:#d29c00}.token.symbol{color:#6d3bac}.token.tag{color:#b01531}.token.unit{color:#c24c08}.token.url,.token.variable{color:#b01531}:root[theme-mode=dark] code[class*=language-],:root[theme-mode=dark] pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}:root[theme-mode=dark] code[class*=language-]::selection,:root[theme-mode=dark] pre[class*=language-]::selection,:root[theme-mode=dark] code[class*=language-] ::selection,:root[theme-mode=dark] pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:root[theme-mode=dark] :not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}:root[theme-mode=dark] pre[class*=language-]{overflow:auto;position:relative}:root[theme-mode=dark] .language-css>code,:root[theme-mode=dark] .language-sass>code,:root[theme-mode=dark] .language-scss>code{color:#f2995f}:root[theme-mode=dark] [class*=language-] .namespace{opacity:.7}:root[theme-mode=dark] .token.atrule{color:#ae78f0}:root[theme-mode=dark] .token.attr-name{color:#3280ff}:root[theme-mode=dark] .token.attr-value{color:#fbca25}:root[theme-mode=dark] .token.attribute{color:#fbca25}:root[theme-mode=dark] .token.boolean{color:#ae78f0}:root[theme-mode=dark] .token.builtin{color:#3280ff}:root[theme-mode=dark] .token.cdata{color:#3280ff}:root[theme-mode=dark] .token.char{color:#3280ff}:root[theme-mode=dark] .token.class{color:#3280ff}:root[theme-mode=dark] .token.class-name{color:#5cc5fc}:root[theme-mode=dark] .token.comment{color:#97a3b7}:root[theme-mode=dark] .token.constant{color:#ae78f0}:root[theme-mode=dark] .token.deleted{color:#48c79c}:root[theme-mode=dark] .token.doctype{color:#97a3b7}:root[theme-mode=dark] .token.entity{color:#48c79c}:root[theme-mode=dark] .token.function{color:#ae78f0}:root[theme-mode=dark] .token.hexcode{color:#f2995f}:root[theme-mode=dark] .token.id{color:#ae78f0;font-weight:700}:root[theme-mode=dark] .token.important{color:#f6c;font-weight:700}:root[theme-mode=dark] .token.inserted{color:#3280ff}:root[theme-mode=dark] .token.keyword{color:#f6c}:root[theme-mode=dark] .token.number{color:#f2995f}:root[theme-mode=dark] .token.operator{color:#3280ff}:root[theme-mode=dark] .token.prolog{color:#97a3b7}:root[theme-mode=dark] .token.property{color:#3280ff}:root[theme-mode=dark] .token.pseudo-class{color:#fbca25}:root[theme-mode=dark] .token.pseudo-element{color:#fbca25}:root[theme-mode=dark] .token.punctuation{color:#3280ff}:root[theme-mode=dark] .token.regex{color:#5cc5fc}:root[theme-mode=dark] .token.selector{color:#f36d78}:root[theme-mode=dark] .token.string{color:#fbca25}:root[theme-mode=dark] .token.symbol{color:#f6c}:root[theme-mode=dark] .token.tag{color:#48c79c}:root[theme-mode=dark] .token.unit{color:#f2995f}:root[theme-mode=dark] .token.url{color:#48c79c}:root[theme-mode=dark] .token.variable{color:#48c79c}:host{display:block}.TDesign-code-block{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;border-radius:6px;border:1px solid var(--component-border);position:relative}.TDesign-code-block td-doc-copy{position:absolute;right:8px;top:8px;z-index:10}.TDesign-code-block__header{min-height:48px;display:flex;box-sizing:border-box;box-shadow:var(--header-box-shadow);overflow:auto hidden;position:relative}.TDesign-code-block__header .header-panel{padding:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.TDesign-code-block__header .header-panel:hover .panel-inner{background:var(--bg-color-container-hover)}.TDesign-code-block__header .header-panel .panel-inner{padding:8px;transition:all .2s linear;border-radius:3px}.TDesign-code-block__header .header-panel .panel-inner.active{color:var(--brand-main)}.TDesign-code-block__header .active-line{height:1px;position:absolute;left:0;bottom:0;z-index:10;background:var(--brand-main);transition:all .2s var(--anim-time-fn-easing)}.TDesign-code-block__body{max-height:334px;box-sizing:border-box;background-color:var(--bg-color-code)}.TDesign-code-block__body pre{margin:0;padding:24px;max-height:334px;box-sizing:border-box;overflow:auto;background:var(--bg-color-code);color:var(--text-primary)}.TDesign-code-block__body pre:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-code-block__body pre::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-code-block__body pre::-webkit-scrollbar-corner{width:0}.TDesign-code-block__body pre::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}";function Nc(e){const{slotsName:t,panel:n}=e,o=(t==null?void 0:t.findIndex(s=>s===n))||0;if(o===-1||!e.shadowRoot)return"";const r=e.shadowRoot.querySelectorAll(".header-panel"),{offsetLeft:i,offsetWidth:a}=r[o];return`width: ${a}px; left: ${i}px`}function Xc(e){const t=Array.from(e.querySelectorAll("td-code-block > [slot]")),n=[],o={};return t.forEach(r=>{n.push(r.slot),o[r.slot]={name:r.slot,lang:r.lang,content:decodeURIComponent(r.innerHTML)}}),e.slotsName=n,{slotsEl:t,slotsName:n,slotsContentMap:o}}ie({tag:"td-code-block",panel:{get:(e,t)=>t||"",set:(e,t)=>t,observe:e=>{if(!e.shadowRoot)return;const t=e.shadowRoot.querySelector(".active-line");t.style=Nc(e)}},render:e=>{const{panel:t}=e,{slotsName:n,slotsContentMap:o}=Xc(e),r=o[t],i=nt.highlight(r.content,nt.languages[r.lang],r.lang);return j`
1091
+ `.css`${Lc}`}});const Sc=":host{display:inline;line-height:calc(100% + 8px);font-size:12px;margin:0 2px;padding:2px 6px;border-radius:3px;color:var(--error-8);background:var(--error-1)}.TDesign-code{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}";ie({tag:"td-code",text:"",render:({text:e})=>j`<code class="TDesign-code">${e}</code>`.css`${Sc}`});const Ic="code[class*=language-],pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-]::selection,pre[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative}.language-css>code,.language-sass>code,.language-scss>code{color:#c24c08}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#6d3bac}.token.attr-name{color:#007edf}.token.attr-value,.token.attribute{color:#d29c00}.token.boolean{color:#6d3bac}.token.builtin,.token.cdata,.token.char,.token.class{color:#007edf}.token.class-name{color:#003cbf}.token.comment{color:#97a3b7}.token.constant{color:#6d3bac}.token.deleted{color:#b01531}.token.doctype{color:#97a3b7}.token.entity{color:#b01531}.token.function{color:#6d3bac}.token.hexcode{color:#c24c08}.token.id,.token.important{color:#6d3bac;font-weight:700}.token.inserted{color:#007edf}.token.keyword{color:#6d3bac}.token.number{color:#c24c08}.token.operator{color:#007edf}.token.prolog{color:#97a3b7}.token.property{color:#007edf}.token.pseudo-class,.token.pseudo-element{color:#d29c00}.token.punctuation{color:#007edf}.token.regex{color:#003cbf}.token.selector{color:#b01531}.token.string{color:#d29c00}.token.symbol{color:#6d3bac}.token.tag{color:#b01531}.token.unit{color:#c24c08}.token.url,.token.variable{color:#b01531}:root[theme-mode=dark] code[class*=language-],:root[theme-mode=dark] pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}:root[theme-mode=dark] code[class*=language-]::selection,:root[theme-mode=dark] pre[class*=language-]::selection,:root[theme-mode=dark] code[class*=language-] ::selection,:root[theme-mode=dark] pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:root[theme-mode=dark] :not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}:root[theme-mode=dark] pre[class*=language-]{overflow:auto;position:relative}:root[theme-mode=dark] .language-css>code,:root[theme-mode=dark] .language-sass>code,:root[theme-mode=dark] .language-scss>code{color:#f2995f}:root[theme-mode=dark] [class*=language-] .namespace{opacity:.7}:root[theme-mode=dark] .token.atrule{color:#ae78f0}:root[theme-mode=dark] .token.attr-name{color:#3280ff}:root[theme-mode=dark] .token.attr-value{color:#fbca25}:root[theme-mode=dark] .token.attribute{color:#fbca25}:root[theme-mode=dark] .token.boolean{color:#ae78f0}:root[theme-mode=dark] .token.builtin{color:#3280ff}:root[theme-mode=dark] .token.cdata{color:#3280ff}:root[theme-mode=dark] .token.char{color:#3280ff}:root[theme-mode=dark] .token.class{color:#3280ff}:root[theme-mode=dark] .token.class-name{color:#5cc5fc}:root[theme-mode=dark] .token.comment{color:#97a3b7}:root[theme-mode=dark] .token.constant{color:#ae78f0}:root[theme-mode=dark] .token.deleted{color:#48c79c}:root[theme-mode=dark] .token.doctype{color:#97a3b7}:root[theme-mode=dark] .token.entity{color:#48c79c}:root[theme-mode=dark] .token.function{color:#ae78f0}:root[theme-mode=dark] .token.hexcode{color:#f2995f}:root[theme-mode=dark] .token.id{color:#ae78f0;font-weight:700}:root[theme-mode=dark] .token.important{color:#f6c;font-weight:700}:root[theme-mode=dark] .token.inserted{color:#3280ff}:root[theme-mode=dark] .token.keyword{color:#f6c}:root[theme-mode=dark] .token.number{color:#f2995f}:root[theme-mode=dark] .token.operator{color:#3280ff}:root[theme-mode=dark] .token.prolog{color:#97a3b7}:root[theme-mode=dark] .token.property{color:#3280ff}:root[theme-mode=dark] .token.pseudo-class{color:#fbca25}:root[theme-mode=dark] .token.pseudo-element{color:#fbca25}:root[theme-mode=dark] .token.punctuation{color:#3280ff}:root[theme-mode=dark] .token.regex{color:#5cc5fc}:root[theme-mode=dark] .token.selector{color:#f36d78}:root[theme-mode=dark] .token.string{color:#fbca25}:root[theme-mode=dark] .token.symbol{color:#f6c}:root[theme-mode=dark] .token.tag{color:#48c79c}:root[theme-mode=dark] .token.unit{color:#f2995f}:root[theme-mode=dark] .token.url{color:#48c79c}:root[theme-mode=dark] .token.variable{color:#48c79c}:host{display:block}.TDesign-code-block{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;border-radius:6px;border:1px solid var(--component-border);position:relative}.TDesign-code-block td-doc-copy{position:absolute;right:8px;top:8px;z-index:10}.TDesign-code-block__header{min-height:48px;display:flex;box-sizing:border-box;box-shadow:var(--header-box-shadow);overflow:auto hidden;position:relative}.TDesign-code-block__header .header-panel{padding:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.TDesign-code-block__header .header-panel:hover .panel-inner{background:var(--bg-color-container-hover)}.TDesign-code-block__header .header-panel .panel-inner{padding:8px;transition:all .2s linear;border-radius:3px}.TDesign-code-block__header .header-panel .panel-inner.active{color:var(--brand-main)}.TDesign-code-block__header .active-line{height:1px;position:absolute;left:0;bottom:0;z-index:10;background:var(--brand-main);transition:all .2s var(--anim-time-fn-easing)}.TDesign-code-block__body{max-height:334px;box-sizing:border-box;background-color:var(--bg-color-code)}.TDesign-code-block__body pre{margin:0;padding:24px;max-height:334px;box-sizing:border-box;overflow:auto;background:var(--bg-color-code);color:var(--text-primary)}.TDesign-code-block__body pre:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-code-block__body pre::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-code-block__body pre::-webkit-scrollbar-corner{width:0}.TDesign-code-block__body pre::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}";function Nc(e){const{slotsName:t,panel:n}=e,o=(t==null?void 0:t.findIndex(s=>s===n))||0;if(o===-1||!e.shadowRoot)return"";const r=e.shadowRoot.querySelectorAll(".header-panel"),{offsetLeft:i,offsetWidth:a}=r[o];return`width: ${a}px; left: ${i}px`}function Xc(e){const t=Array.from(e.querySelectorAll("td-code-block > [slot]")),n=[],o={};return t.forEach(r=>{n.push(r.slot),o[r.slot]={name:r.slot,lang:r.lang,content:decodeURIComponent(r.innerHTML)}}),e.slotsName=n,{slotsEl:t,slotsName:n,slotsContentMap:o}}ie({tag:"td-code-block",panel:{get:(e,t)=>t||"",set:(e,t)=>t,observe:e=>{if(!e.shadowRoot)return;const t=e.shadowRoot.querySelector(".active-line");t.style=Nc(e)}},render:e=>{const{panel:t}=e,{slotsName:n,slotsContentMap:o}=Xc(e),r=o[t],i=ot.highlight(r.content,ot.languages[r.lang],r.lang);return j`
1089
1092
  <div class="TDesign-code-block">
1090
1093
  <td-doc-copy code="${r.content}"></td-doc-copy>
1091
1094
  <div class="TDesign-code-block__header">