@divkitframework/divkit 31.5.0 → 31.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/client-devtool.js +1 -1
- package/dist/browser/client-hydratable.js +1 -1
- package/dist/browser/client.js +1 -1
- package/dist/client-devtool.js +1 -1
- package/dist/client-hydratable.js +1 -1
- package/dist/client.js +1 -1
- package/dist/esm/client-devtool.mjs +1 -1
- package/dist/esm/client-hydratable.mjs +1 -1
- package/dist/esm/client.mjs +1 -1
- package/dist/esm/server.mjs +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v31.5.
|
|
2
|
+
DivKit v31.5.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var jb=Object.defineProperty;var Eb=(wi,Nn,ni)=>Nn in wi?jb(wi,Nn,{enumerable:!0,configurable:!0,writable:!0,value:ni}):wi[Nn]=ni;var dr=(wi,Nn,ni)=>Eb(wi,typeof Nn!="symbol"?Nn+"":Nn,ni);function wi(e){return BigInt(e)}const Nn=wi("9223372036854775807"),ni=wi("-9223372036854775808");function en(e){const r=wi(e);if(r>Nn||r<ni)throw new Error("Integer overflow.");return r}const Li=en(0);function Jl(e){let r=e;return r<0&&(r=-r),r}function Yl(e){let r=0;return e>0?r=1:e<0&&(r=-1),en(r)}function ed(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function td(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Oo(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function ql(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function rd(e,r){return r.length?r.reduce((t,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:t,method:n[3],arguments:n[5][2]}},e):e}function nd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function Kl(e){if(e.every(t=>typeof t=="string"))return{type:"StringLiteral",value:e.join("")};let r=e.reduce((t,n)=>(typeof n=="string"&&typeof t[t.length-1]=="string"?t[t.length-1]+=n:t.push(n),t),[]).reduce((t,n)=>(typeof n=="string"?t.quasis.push({type:"StringLiteral",value:n}):(t.quasis.length===t.expressions.length&&t.quasis.push({type:"StringLiteral",value:""}),t.expressions.push(n)),t),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function id(e){try{return en(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function Xl(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function od(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function ro(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,ro.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}od(ro,Error);function Ws(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}ro.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var t=null,n;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){t=e[n].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,o=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(i):i,s=this.location.source+":"+o.line+":"+o.column;if(t){var a=this.location.end,l=Ws("",o.line.toString().length," "),c=t[i.line-1],u=i.line===a.line?a.column:c.length+1,d=u-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v31.5.
|
|
2
|
+
DivKit v31.5.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Ob=Object.defineProperty;var zb=(S,Jn,Kn)=>Jn in S?Ob(S,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Kn}):S[Jn]=Kn;var fr=(S,Jn,Kn)=>zb(S,typeof Jn!="symbol"?Jn+"":Jn,Kn);function S(){}const Jn=t=>t;function Kn(t,r){for(const e in r)t[e]=r[e];return t}function xl(t){return t()}function $l(){return Object.create(null)}function Gr(t){t.forEach(xl)}function Vr(t){return typeof t=="function"}function cd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Bo;function Ln(t,r){return t===r?!0:(Bo||(Bo=document.createElement("a")),Bo.href=r,t===Bo.href)}function Cr(t,r){return t!=t?r==r:t!==r}function ud(t){return Object.keys(t).length===0}function P(t,...r){if(t==null){for(const n of r)n(void 0);return S}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function fd(t){let r;return P(t,e=>r=e)(),r}function un(t,r,e){t.$$.on_destroy.push(P(r,e))}function Ho(t,r,e,n){if(t){const i=ea(t,r,e,n);return t[0](i)}}function ea(t,r,e,n){return t[1]&&n?Kn(e.ctx.slice(),t[1](n(r))):e.ctx}function Wo(t,r,e,n){if(t[2]&&n){const i=t[2](n(e));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Uo(t,r,e,n,i,o){if(i){const s=ea(r,e,n,o);t.p(s,i)}}function Go(t){if(t.ctx.length>32){const r=[],e=t.ctx.length/32;for(let n=0;n<e;n++)r[n]=-1;return r}return-1}function Yo(t,r,e){return t.set(e),r}function qo(t){return t&&Vr(t.destroy)?t.destroy:S}function ta(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const ra=typeof window<"u";let Js=ra?()=>window.performance.now():()=>Date.now(),Ks=ra?t=>requestAnimationFrame(t):S;const so=new Set;function na(t){so.forEach(r=>{r.c(t)||(so.delete(r),r.f())}),so.size!==0&&Ks(na)}function Xs(t){let r;return so.size===0&&Ks(na),{promise:new Promise(e=>{so.add(r={c:t,f:e})}),abort(){so.delete(r)}}}const ci=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Jo=!1;function dd(){Jo=!0}function hd(){Jo=!1}function _d(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function gd(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let c=0;c<r.length;c++){const u=r[c];u.claim_order!==void 0&&l.push(u)}r=l}const e=new Int32Array(r.length+1),n=new Int32Array(r.length);e[0]=-1;let i=0;for(let l=0;l<r.length;l++){const c=r[l].claim_order,u=(i>0&&r[e[i]].claim_order<=c?i+1:_d(1,i,h=>r[e[h]].claim_order,c))-1;n[l]=e[u]+1;const f=u+1;e[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=e[i]+1;l!=0;l=n[l-1]){for(o.push(r[l-1]);a>=l;a--)s.push(r[a]);a--}for(;a>=0;a--)s.push(r[a]);o.reverse(),s.sort((l,c)=>l.claim_order-c.claim_order);for(let l=0,c=0;l<s.length;l++){for(;c<o.length&&s[l].claim_order>=o[c].claim_order;)c++;const u=c<o.length?o[c]:null;t.insertBefore(s[l],u)}}function pd(t,r){t.appendChild(r)}function ia(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function md(t){const r=Ue("style");return r.textContent="/* empty */",bd(ia(t),r),r.sheet}function bd(t,r){return pd(t.head||t,r),r.sheet}function Vt(t,r){if(Jo){for(gd(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;r!==t.actual_end_child?(r.claim_order!==void 0||r.parentNode!==t)&&t.insertBefore(r,t.actual_end_child):t.actual_end_child=r.nextSibling}else(r.parentNode!==t||r.nextSibling!==null)&&t.appendChild(r)}function yd(t,r,e){t.insertBefore(r,e||null)}function ie(t,r,e){Jo&&!e?Vt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function j(t){t.parentNode&&t.parentNode.removeChild(t)}function _n(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Ue(t){return document.createElement(t)}function nn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Xn(t){return document.createTextNode(t)}function kr(){return Xn(" ")}function Oe(){return Xn("")}function Je(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function m(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const vd=["width","height"];function ei(t,r){const e=Object.getOwnPropertyDescriptors(t.__proto__);for(const n in r)r[n]==null?t.removeAttribute(n):n==="style"?t.style.cssText=r[n]:n==="__value"?t.value=t[n]=r[n]:e[n]&&e[n].set&&vd.indexOf(n)===-1?t[n]=r[n]:m(t,n,r[n])}function wd(t,r){Object.keys(r).forEach(e=>{kd(t,e,r[e])})}function kd(t,r,e){const n=r.toLowerCase();n in t?t[n]=typeof t[n]=="boolean"&&e===""?!0:e:r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:m(t,r,e)}function oa(t){return/-/.test(t)?wd:ei}function Ne(t){return Array.from(t.childNodes)}function sa(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function la(t,r,e,n,i=!1){sa(t);const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i||(t.claim_info.last_index=s),a}}for(let s=t.claim_info.last_index-1;s>=0;s--){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,a}}return n()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function aa(t,r,e,n){return la(t,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];e[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Ke(t,r,e){return aa(t,r,e,Ue)}function fn(t,r,e){return aa(t,r,e,nn)}function ui(t,r){return la(t,e=>e.nodeType===3,e=>{const n=""+r;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n},()=>Xn(r),!0)}function Er(t){return ui(t," ")}function ca(t,r,e){for(let n=e;n<t.length;n+=1){const i=t[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function Ed(t,r){const e=ca(t,"HTML_TAG_START",0),n=ca(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new Ko(r);sa(t);const i=t.splice(e,n-e+1);j(i[0]),j(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new Ko(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new Ko(r,o)}function Pi(t,r){r=""+r,t.data!==r&&(t.data=r)}function ua(t,r){t.value=r==null?"":r}function H(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function fa(t,r,e){for(let n=0;n<t.options.length;n+=1){const i=t.options[n];if(i.__value===r){i.selected=!0;return}}(!e||r!==void 0)&&(t.selectedIndex=-1)}function Ad(t){const r=t.querySelector(":checked");return r&&r.__value}function da(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class jd{constructor(r=!1){fr(this,"is_svg",!1);fr(this,"e");fr(this,"n");fr(this,"t");fr(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,e,n=null){this.e||(this.is_svg?this.e=nn(e.nodeName):this.e=Ue(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(r)),this.i(n)}h(r){this.e.innerHTML=r,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(r){for(let e=0;e<this.n.length;e+=1)yd(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(j)}}class Ko extends jd{constructor(e=!1,n){super(e);fr(this,"l");this.e=this.n=null,this.l=n}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let n=0;n<this.n.length;n+=1)ie(this.t,this.n[n],e)}}function ha(t,r){return new t(r)}const Xo=new Map;let Zo=0;function Cd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Sd(t,r){const e={stylesheet:md(r),rules:{}};return Xo.set(t,e),e}function Qo(t,r,e,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/browser/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v31.5.
|
|
2
|
+
DivKit v31.5.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var mb=Object.defineProperty;var bb=(E,Wn,Un)=>Wn in E?mb(E,Wn,{enumerable:!0,configurable:!0,writable:!0,value:Un}):E[Wn]=Un;var dr=(E,Wn,Un)=>bb(E,typeof Wn!="symbol"?Wn+"":Wn,Un);function E(){}const Wn=e=>e;function Un(e,r){for(const t in r)e[t]=r[t];return e}function Gl(e){return e()}function Yl(){return Object.create(null)}function Br(e){e.forEach(Gl)}function jr(e){return typeof e=="function"}function Qf(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Po;function Mn(e,r){return e===r?!0:(Po||(Po=document.createElement("a")),Po.href=r,e===Po.href)}function kr(e,r){return e!=e?r==r:e!==r}function xf(e){return Object.keys(e).length===0}function D(e,...r){if(e==null){for(const n of r)n(void 0);return E}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function $f(e){let r;return D(e,t=>r=t)(),r}function on(e,r,t){e.$$.on_destroy.push(D(r,t))}function No(e,r,t,n){if(e){const i=ql(e,r,t,n);return e[0](i)}}function ql(e,r,t,n){return e[1]&&n?Un(t.ctx.slice(),e[1](n(r))):t.ctx}function zo(e,r,t,n){if(e[2]&&n){const i=e[2](n(t));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Oo(e,r,t,n,i,o){if(i){const s=ql(r,t,n,o);e.p(s,i)}}function Ro(e){if(e.ctx.length>32){const r=[],t=e.ctx.length/32;for(let n=0;n<t;n++)r[n]=-1;return r}return-1}function Lo(e,r,t){return e.set(t),r}function Bo(e){return e&&jr(e.destroy)?e.destroy:E}function Jl(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Kl=typeof window<"u";let Ls=Kl?()=>window.performance.now():()=>Date.now(),Bs=Kl?e=>requestAnimationFrame(e):E;const eo=new Set;function Xl(e){eo.forEach(r=>{r.c(e)||(eo.delete(r),r.f())}),eo.size!==0&&Bs(Xl)}function Hs(e){let r;return eo.size===0&&Bs(Xl),{promise:new Promise(t=>{eo.add(r={c:e,f:t})}),abort(){eo.delete(r)}}}const ii=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Ct(e,r){e.appendChild(r)}function Zl(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function ed(e){const r=Ue("style");return r.textContent="/* empty */",td(Zl(e),r),r.sheet}function td(e,r){return Ct(e.head||e,r),r.sheet}function ie(e,r,t){e.insertBefore(r,t||null)}function ne(e){e.parentNode&&e.parentNode.removeChild(e)}function cn(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Ue(e){return document.createElement(e)}function sn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Kn(e){return document.createTextNode(e)}function yr(){return Kn(" ")}function Zt(){return Kn("")}function Ye(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function p(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const rd=["width","height"];function Xn(e,r){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const n in r)r[n]==null?e.removeAttribute(n):n==="style"?e.style.cssText=r[n]:n==="__value"?e.value=e[n]=r[n]:t[n]&&t[n].set&&rd.indexOf(n)===-1?e[n]=r[n]:p(e,n,r[n])}function nd(e,r){Object.keys(r).forEach(t=>{id(e,t,r[t])})}function id(e,r,t){const n=r.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&t===""?!0:t:r in e?e[r]=typeof e[r]=="boolean"&&t===""?!0:t:p(e,r,t)}function Ql(e){return/-/.test(e)?nd:Xn}function od(e){return Array.from(e.childNodes)}function Vi(e,r){r=""+r,e.data!==r&&(e.data=r)}function xl(e,r){e.value=r==null?"":r}function O(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function $l(e,r,t){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===r){i.selected=!0;return}}(!t||r!==void 0)&&(e.selectedIndex=-1)}function sd(e){const r=e.querySelector(":checked");return r&&r.__value}function ea(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ta(e,r){return new e(r)}const Ho=new Map;let Wo=0;function ld(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function ad(e,r){const t={stylesheet:ed(r),rules:{}};return Ho.set(e,t),t}function Uo(e,r,t,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/client-devtool.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var ld=Object.defineProperty;var ad=(e,r,t)=>r in e?ld(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var dr=(e,r,t)=>ad(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v31.5.
|
|
2
|
+
DivKit v31.5.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function kl(e){return BigInt(e)}const Eo=kl("9223372036854775807"),Co=kl("-9223372036854775808");function nn(e){const r=kl(e);if(r>Eo||r<Co)throw new Error("Integer overflow.");return r}const Yi=nn(0);function Yu(e){let r=e;return r<0&&(r=-r),r}function qu(e){let r=0;return e>0?r=1:e<0&&(r=-1),nn(r)}function cd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function ud(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function zo(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function ql(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function fd(e,r){return r.length?r.reduce((t,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:t,method:n[3],arguments:n[5][2]}},e):e}function dd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function Kl(e){if(e.every(t=>typeof t=="string"))return{type:"StringLiteral",value:e.join("")};let r=e.reduce((t,n)=>(typeof n=="string"&&typeof t[t.length-1]=="string"?t[t.length-1]+=n:t.push(n),t),[]).reduce((t,n)=>(typeof n=="string"?t.quasis.push({type:"StringLiteral",value:n}):(t.quasis.length===t.expressions.length&&t.quasis.push({type:"StringLiteral",value:""}),t.expressions.push(n)),t),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function _d(e){try{return nn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function Xl(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function hd(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function uo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,uo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}hd(uo,Error);function Ws(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}uo.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var t=null,n;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){t=e[n].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,o=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(i):i,s=this.location.source+":"+o.line+":"+o.column;if(t){var a=this.location.end,l=Ws("",o.line.toString().length," "),c=t[i.line-1],u=i.line===a.line?a.column:c.length+1,d=u-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var pd=Object.defineProperty;var md=(t,r,e)=>r in t?pd(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var ur=(t,r,e)=>md(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v31.5.
|
|
2
|
+
DivKit v31.5.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function S(){}const Ds=t=>t;function to(t,r){for(const e in r)t[e]=r[e];return t}function ef(t){return t()}function ea(){return Object.create(null)}function qr(t){t.forEach(ef)}function Tr(t){return typeof t=="function"}function bd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Bo;function Yn(t,r){return t===r?!0:(Bo||(Bo=document.createElement("a")),Bo.href=r,t===Bo.href)}function Sr(t,r){return t!=t?r==r:t!==r}function yd(t){return Object.keys(t).length===0}function P(t,...r){if(t==null){for(const n of r)n(void 0);return S}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function vd(t){let r;return P(t,e=>r=e)(),r}function dn(t,r,e){t.$$.on_destroy.push(P(r,e))}function Ts(t,r,e,n){if(t){const i=tf(t,r,e,n);return t[0](i)}}function tf(t,r,e,n){return t[1]&&n?to(e.ctx.slice(),t[1](n(r))):e.ctx}function Fs(t,r,e,n){if(t[2]&&n){const i=t[2](n(e));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Ms(t,r,e,n,i,o){if(i){const s=tf(r,e,n,o);t.p(s,i)}}function Ps(t){if(t.ctx.length>32){const r=[],e=t.ctx.length/32;for(let n=0;n<e;n++)r[n]=-1;return r}return-1}function Qo(t,r,e){return t.set(e),r}function Ns(t){return t&&Tr(t.destroy)?t.destroy:S}function ta(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const rf=typeof window<"u";let Vl=rf?()=>window.performance.now():()=>Date.now(),Il=rf?t=>requestAnimationFrame(t):S;const ho=new Set;function nf(t){ho.forEach(r=>{r.c(t)||(ho.delete(r),r.f())}),ho.size!==0&&Il(nf)}function Dl(t){let r;return ho.size===0&&Il(nf),{promise:new Promise(e=>{ho.add(r={c:t,f:e})}),abort(){ho.delete(r)}}}const wi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Os=!1;function wd(){Os=!0}function kd(){Os=!1}function Ed(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Ad(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let c=0;c<r.length;c++){const u=r[c];u.claim_order!==void 0&&l.push(u)}r=l}const e=new Int32Array(r.length+1),n=new Int32Array(r.length);e[0]=-1;let i=0;for(let l=0;l<r.length;l++){const c=r[l].claim_order,u=(i>0&&r[e[i]].claim_order<=c?i+1:Ed(1,i,h=>r[e[h]].claim_order,c))-1;n[l]=e[u]+1;const f=u+1;e[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=e[i]+1;l!=0;l=n[l-1]){for(o.push(r[l-1]);a>=l;a--)s.push(r[a]);a--}for(;a>=0;a--)s.push(r[a]);o.reverse(),s.sort((l,c)=>l.claim_order-c.claim_order);for(let l=0,c=0;l<s.length;l++){for(;c<o.length&&s[l].claim_order>=o[c].claim_order;)c++;const u=c<o.length?o[c]:null;t.insertBefore(s[l],u)}}function jd(t,r){t.appendChild(r)}function of(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Cd(t){const r=Ye("style");return r.textContent="/* empty */",Sd(of(t),r),r.sheet}function Sd(t,r){return jd(t.head||t,r),r.sheet}function Vt(t,r){if(Os){for(Ad(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;r!==t.actual_end_child?(r.claim_order!==void 0||r.parentNode!==t)&&t.insertBefore(r,t.actual_end_child):t.actual_end_child=r.nextSibling}else(r.parentNode!==t||r.nextSibling!==null)&&t.appendChild(r)}function Vd(t,r,e){t.insertBefore(r,e||null)}function ie(t,r,e){Os&&!e?Vt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function j(t){t.parentNode&&t.parentNode.removeChild(t)}function pn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Ye(t){return document.createElement(t)}function nn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Qn(t){return document.createTextNode(t)}function Ar(){return Qn(" ")}function ze(){return Qn("")}function Je(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function m(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const Id=["width","height"];function ni(t,r){const e=Object.getOwnPropertyDescriptors(t.__proto__);for(const n in r)r[n]==null?t.removeAttribute(n):n==="style"?t.style.cssText=r[n]:n==="__value"?t.value=t[n]=r[n]:e[n]&&e[n].set&&Id.indexOf(n)===-1?t[n]=r[n]:m(t,n,r[n])}function Dd(t,r){Object.keys(r).forEach(e=>{Td(t,e,r[e])})}function Td(t,r,e){const n=r.toLowerCase();n in t?t[n]=typeof t[n]=="boolean"&&e===""?!0:e:r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:m(t,r,e)}function ra(t){return/-/.test(t)?Dd:ni}function Ne(t){return Array.from(t.childNodes)}function sf(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function lf(t,r,e,n,i=!1){sf(t);const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i||(t.claim_info.last_index=s),a}}for(let s=t.claim_info.last_index-1;s>=0;s--){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,a}}return n()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function af(t,r,e,n){return lf(t,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];e[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Ke(t,r,e){return af(t,r,e,Ye)}function fn(t,r,e){return af(t,r,e,nn)}function ki(t,r){return lf(t,e=>e.nodeType===3,e=>{const n=""+r;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n},()=>Qn(r),!0)}function jr(t){return ki(t," ")}function na(t,r,e){for(let n=e;n<t.length;n+=1){const i=t[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function Fd(t,r){const e=na(t,"HTML_TAG_START",0),n=na(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new xo(r);sf(t);const i=t.splice(e,n-e+1);j(i[0]),j(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new xo(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new xo(r,o)}function Oi(t,r){r=""+r,t.data!==r&&(t.data=r)}function ia(t,r){t.value=r==null?"":r}function H(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function oa(t,r,e){for(let n=0;n<t.options.length;n+=1){const i=t.options[n];if(i.__value===r){i.selected=!0;return}}(!e||r!==void 0)&&(t.selectedIndex=-1)}function Md(t){const r=t.querySelector(":checked");return r&&r.__value}function cf(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Pd{constructor(r=!1){ur(this,"is_svg",!1);ur(this,"e");ur(this,"n");ur(this,"t");ur(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,e,n=null){this.e||(this.is_svg?this.e=nn(e.nodeName):this.e=Ye(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(r)),this.i(n)}h(r){this.e.innerHTML=r,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(r){for(let e=0;e<this.n.length;e+=1)Vd(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(j)}}class xo extends Pd{constructor(e=!1,n){super(e);ur(this,"l");this.e=this.n=null,this.l=n}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let n=0;n<this.n.length;n+=1)ie(this.t,this.n[n],e)}}function sa(t,r){return new t(r)}const bs=new Map;let ys=0;function Nd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Od(t,r){const e={stylesheet:Cd(r),rules:{}};return bs.set(t,e),e}function vs(t,r,e,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var id=Object.defineProperty;var od=(e,r,t)=>r in e?id(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var dr=(e,r,t)=>od(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v31.5.
|
|
2
|
+
DivKit v31.5.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function E(){}const As=e=>e;function Xi(e,r){for(const t in r)e[t]=r[t];return e}function Yu(e){return e()}function ql(){return Object.create(null)}function Wr(e){e.forEach(Yu)}function Sr(e){return typeof e=="function"}function sd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Po;function Bn(e,r){return e===r?!0:(Po||(Po=document.createElement("a")),Po.href=r,e===Po.href)}function Ar(e,r){return e!=e?r==r:e!==r}function ld(e){return Object.keys(e).length===0}function D(e,...r){if(e==null){for(const n of r)n(void 0);return E}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function ad(e){let r;return D(e,t=>r=t)(),r}function ln(e,r,t){e.$$.on_destroy.push(D(r,t))}function js(e,r,t,n){if(e){const i=qu(e,r,t,n);return e[0](i)}}function qu(e,r,t,n){return e[1]&&n?Xi(t.ctx.slice(),e[1](n(r))):t.ctx}function Cs(e,r,t,n){if(e[2]&&n){const i=e[2](n(t));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Es(e,r,t,n,i,o){if(i){const s=qu(r,t,n,o);e.p(s,i)}}function Ss(e){if(e.ctx.length>32){const r=[],t=e.ctx.length/32;for(let n=0;n<t;n++)r[n]=-1;return r}return-1}function Yo(e,r,t){return e.set(t),r}function Vs(e){return e&&Sr(e.destroy)?e.destroy:E}function Jl(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Ju=typeof window<"u";let wl=Ju?()=>window.performance.now():()=>Date.now(),vl=Ju?e=>requestAnimationFrame(e):E;const so=new Set;function Ku(e){so.forEach(r=>{r.c(e)||(so.delete(r),r.f())}),so.size!==0&&vl(Ku)}function kl(e){let r;return so.size===0&&vl(Ku),{promise:new Promise(t=>{so.add(r={c:e,f:t})}),abort(){so.delete(r)}}}const pi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Ct(e,r){e.appendChild(r)}function Xu(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function cd(e){const r=Ge("style");return r.textContent="/* empty */",ud(Xu(e),r),r.sheet}function ud(e,r){return Ct(e.head||e,r),r.sheet}function ie(e,r,t){e.insertBefore(r,t||null)}function ne(e){e.parentNode&&e.parentNode.removeChild(e)}function fn(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Ge(e){return document.createElement(e)}function sn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function xn(e){return document.createTextNode(e)}function vr(){return xn(" ")}function xt(){return xn("")}function Ye(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function p(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const fd=["width","height"];function Qn(e,r){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const n in r)r[n]==null?e.removeAttribute(n):n==="style"?e.style.cssText=r[n]:n==="__value"?e.value=e[n]=r[n]:t[n]&&t[n].set&&fd.indexOf(n)===-1?e[n]=r[n]:p(e,n,r[n])}function dd(e,r){Object.keys(r).forEach(t=>{_d(e,t,r[t])})}function _d(e,r,t){const n=r.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&t===""?!0:t:r in e?e[r]=typeof e[r]=="boolean"&&t===""?!0:t:p(e,r,t)}function Kl(e){return/-/.test(e)?dd:Qn}function hd(e){return Array.from(e.childNodes)}function Ti(e,r){r=""+r,e.data!==r&&(e.data=r)}function Xl(e,r){e.value=r==null?"":r}function z(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function Zl(e,r,t){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===r){i.selected=!0;return}}(!t||r!==void 0)&&(e.selectedIndex=-1)}function gd(e){const r=e.querySelector(":checked");return r&&r.__value}function Zu(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function Ql(e,r){return new e(r)}const fs=new Map;let ds=0;function pd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function md(e,r){const t={stylesheet:cd(r),rules:{}};return fs.set(e,t),t}function _s(e,r,t,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
|
@@ -2,7 +2,7 @@ var sd = Object.defineProperty;
|
|
|
2
2
|
var ld = (e, r, t) => r in e ? sd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var dr = (e, r, t) => ld(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v31.5.
|
|
5
|
+
DivKit v31.5.1
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var pd = Object.defineProperty;
|
|
|
2
2
|
var md = (t, r, e) => r in t ? pd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var ur = (t, r, e) => md(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v31.5.
|
|
5
|
+
DivKit v31.5.1
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/esm/client.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var id = Object.defineProperty;
|
|
|
2
2
|
var od = (e, r, t) => r in e ? id(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var dr = (e, r, t) => od(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v31.5.
|
|
5
|
+
DivKit v31.5.1
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/esm/server.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var Cl = Object.defineProperty;
|
|
|
2
2
|
var Sl = (r, t, e) => t in r ? Cl(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var Ar = (r, t, e) => Sl(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v31.5.
|
|
5
|
+
DivKit v31.5.1
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var Cl=Object.defineProperty;var Sl=(r,t,e)=>t in r?Cl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Ar=(r,t,e)=>Sl(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v31.5.
|
|
2
|
+
DivKit v31.5.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function w(){}const Fl=r=>r;function Vl(r){return r()}function Il(){return Object.create(null)}function cs(r){r.forEach(Vl)}function Dl(r){return typeof r=="function"}function Tl(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function _(r,...t){if(r==null){for(const i of t)i(void 0);return w}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function Ml(r){let t;return _(r,e=>t=e)(),t}function Pl(r,t,e){return r.set(e),t}function Ol(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let Cn;function En(r){Cn=r}function wo(){if(!Cn)throw new Error("Function called outside component initialization");return Cn}function Cr(r){wo().$$.on_destroy.push(r)}function zl(){const r=wo();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const s=Ol(t,e,{cancelable:i});return n.slice().forEach(c=>{c.call(r,s)}),!s.defaultPrevented}return!0}}function qi(r,t){return wo().$$.context.set(r,t),t}function pr(r){return wo().$$.context.get(r)}const yn=[],Ms=[];let Kn=[];const Ps=[],za=Promise.resolve();let Wo=!1;function Nl(){Wo||(Wo=!0,za.then(Rl))}function $i(){return Nl(),za}function Bl(r){Kn.push(r)}const Io=new Set;let tn=0;function Rl(){if(tn!==0)return;const r=Cn;do{try{for(;tn<yn.length;){const t=yn[tn];tn++,En(t),Ll(t.$$)}}catch(t){throw yn.length=0,tn=0,t}for(En(null),yn.length=0,tn=0;Ms.length;)Ms.pop()();for(let t=0;t<Kn.length;t+=1){const e=Kn[t];Io.has(e)||(Io.add(e),e())}Kn.length=0}while(yn.length);for(;Ps.length;)Ps.pop()();Wo=!1,Io.clear(),En(r)}function Ll(r){if(r.fragment!==null){r.update(),cs(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Bl)}}function Hl(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const Wl=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],Ul=new Set([...Wl]),Gl=/[&"<]/g,ql=/[&<]/g;function rt(r,t=!1){const e=String(r),i=t?Gl:ql;i.lastIndex=0;let n="",s=0;for(;i.test(e);){const c=i.lastIndex-1,u=e[c];n+=e.substring(s,c)+(u==="&"?"&":u==='"'?""":"<"),s=c+1}return n+e.substring(s)}const Jl=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Os(r){return Jl.test(r)||r.toLowerCase()==="!doctype"}const Yl=/[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;function cn(r,t){const e=Object.assign({},...r);if(t){const n=t.classes,s=t.styles;n&&(e.class==null?e.class=n:e.class+=" "+n),s&&(e.style==null?e.style=Uo(s):e.style=Uo(Kl(e.style,s)))}let i="";return Object.keys(e).forEach(n=>{if(Yl.test(n))return;const s=e[n];s===!0?i+=" "+n:Ul.has(n.toLowerCase())?s&&(i+=" "+n):s!=null&&(i+=` ${n}="${s}"`)}),i}function Kl(r,t){const e={};for(const i of r.split(";")){const n=i.indexOf(":"),s=i.slice(0,n).trim(),c=i.slice(n+1).trim();s&&(e[s]=c)}for(const i in t){const n=t[i];n?e[i]=n:delete e[i]}return e}function Ir(r){return typeof r=="string"||r&&typeof r=="object"?rt(r,!0):r}function un(r){const t={};for(const e in r)t[e]=Ir(r[e]);return t}function wr(r,t){r=Hl(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const Xl={$$render:()=>""};function Mt(r,t){if(!r||!r.$$render)throw t==="svelte:component"&&(t+=" this={...}"),new Error(`<${t}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <${t}>.`);return r}let Do;function ur(r){function t(e,i,n,s,c){const u=Cn,f={on_destroy:Do,context:new Map(c||(u?u.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:Il()};En({$$:f});const d=r(e,i,n,s);return En(u),d}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{Do=[];const s={title:"",head:"",css:new Set},c=t(s,e,{},i,n);return cs(Do),{html:c,css:{code:Array.from(s.css).map(u=>u.code).join(`
|