@divkitframework/divkit 31.14.0 → 31.14.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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- DivKit v31.14.0
2
+ DivKit v31.14.1
3
3
  https://github.com/divkit/divkit
4
4
  @licence Apache-2.0
5
5
  */(function(){"use strict";var oy=Object.defineProperty;var sy=(ki,Un,fi)=>Un in ki?oy(ki,Un,{enumerable:!0,configurable:!0,writable:!0,value:fi}):ki[Un]=fi;var mr=(ki,Un,fi)=>sy(ki,typeof Un!="symbol"?Un+"":Un,fi);function ki(e){return BigInt(e)}const Un=ki("9223372036854775807"),fi=ki("-9223372036854775808");function sn(e){const r=ki(e);if(r>Un||r<fi)throw new Error("Integer overflow.");return r}const Gi=sn(0);function ia(e){let r=e;return r<0&&(r=-r),r}function oa(e){let r=0;return e>0?r=1:e<0&&(r=-1),sn(r)}function jd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Ed(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Yo(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function sa(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Cd(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 Sd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function la(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 Vd(e){try{return sn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function aa(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function Id(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function ao(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,ao.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}Id(ao,Error);function el(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}ao.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=el("",o.line.toString().length," "),c=t[i.line-1],u=i.line===a.line?a.column:c.length+1,f=u-i.column||1;r+=`
@@ -1,5 +1,5 @@
1
1
  /*!
2
- DivKit v31.14.0
2
+ DivKit v31.14.1
3
3
  https://github.com/divkit/divkit
4
4
  @licence Apache-2.0
5
5
  */(function(){"use strict";var my=Object.defineProperty;var by=(I,Qn,xn)=>Qn in I?my(I,Qn,{enumerable:!0,configurable:!0,writable:!0,value:xn}):I[Qn]=xn;var cr=(I,Qn,xn)=>by(I,typeof Qn!="symbol"?Qn+"":Qn,xn);function I(){}const Qn=t=>t;function xn(t,r){for(const e in r)t[e]=r[e];return t}function da(t){return t()}function ha(){return Object.create(null)}function Zr(t){t.forEach(da)}function Fr(t){return typeof t=="function"}function Md(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Xo;function qn(t,r){return t===r?!0:(Xo||(Xo=document.createElement("a")),Xo.href=r,t===Xo.href)}function Ir(t,r){return t!=t?r==r:t!==r}function Nd(t){return Object.keys(t).length===0}function R(t,...r){if(t==null){for(const n of r)n(void 0);return I}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function Od(t){let r;return R(t,e=>r=e)(),r}function fn(t,r,e){t.$$.on_destroy.push(R(r,e))}function Zo(t,r,e,n){if(t){const i=_a(t,r,e,n);return t[0](i)}}function _a(t,r,e,n){return t[1]&&n?xn(e.ctx.slice(),t[1](n(r))):e.ctx}function Qo(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 xo(t,r,e,n,i,o){if(i){const s=_a(r,e,n,o);t.p(s,i)}}function $o(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 ol(t,r,e){return t.set(e),r}function es(t){return t&&Fr(t.destroy)?t.destroy:I}function ga(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const pa=typeof window<"u";let sl=pa?()=>window.performance.now():()=>Date.now(),ll=pa?t=>requestAnimationFrame(t):I;const ho=new Set;function ma(t){ho.forEach(r=>{r.c(t)||(ho.delete(r),r.f())}),ho.size!==0&&ll(ma)}function al(t){let r;return ho.size===0&&ll(ma),{promise:new Promise(e=>{ho.add(r={c:t,f:e})}),abort(){ho.delete(r)}}}const Si=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let ts=!1;function zd(){ts=!0}function Ld(){ts=!1}function Rd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Bd(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:Rd(1,i,_=>r[e[_]].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 Hd(t,r){t.appendChild(r)}function ba(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Wd(t){const r=Te("style");return r.textContent="/* empty */",Ud(ba(t),r),r.sheet}function Ud(t,r){return Hd(t.head||t,r),r.sheet}function jt(t,r){if(ts){for(Bd(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 Gd(t,r,e){t.insertBefore(r,e||null)}function $(t,r,e){ts&&!e?jt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function k(t){t.parentNode&&t.parentNode.removeChild(t)}function dn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Te(t){return document.createElement(t)}function cn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Jn(t){return document.createTextNode(t)}function vr(){return Jn(" ")}function Re(){return Jn("")}function Ge(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function b(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const Yd=["width","height"];function oi(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&&Yd.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function qd(t,r){Object.keys(r).forEach(e=>{Jd(t,e,r[e])})}function Jd(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:b(t,r,e)}function ya(t){return/-/.test(t)?qd:oi}function ke(t){return Array.from(t.childNodes)}function va(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function wa(t,r,e,n,i=!1){va(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 ka(t,r,e,n){return wa(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 Me(t,r,e){return ka(t,r,e,Te)}function bn(t,r,e){return ka(t,r,e,cn)}function si(t,r){return wa(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},()=>Jn(r),!0)}function wr(t){return si(t," ")}function Ea(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 cl(t,r){const e=Ea(t,"HTML_TAG_START",0),n=Ea(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new _o(r);va(t);const i=t.splice(e,n-e+1);k(i[0]),k(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new _o(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new _o(r,o)}function Vi(t,r){r=""+r,t.data!==r&&(t.data=r)}function Aa(t,r){t.value=r==null?"":r}function U(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function ja(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 Kd(t){const r=t.querySelector(":checked");return r&&r.__value}function Ca(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Xd{constructor(r=!1){cr(this,"is_svg",!1);cr(this,"e");cr(this,"n");cr(this,"t");cr(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=cn(e.nodeName):this.e=Te(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)Gd(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(k)}}class _o extends Xd{constructor(e=!1,n){super(e);cr(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)$(this.t,this.n[n],e)}}function Sa(t,r){return new t(r)}const rs=new Map;let ns=0;function Zd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Qd(t,r){const e={stylesheet:Wd(r),rules:{}};return rs.set(t,e),e}function is(t,r,e,n,i,o,s,a=0){const l=16.666/n;let c=`{
@@ -1,5 +1,5 @@
1
1
  /*!
2
- DivKit v31.14.0
2
+ DivKit v31.14.1
3
3
  https://github.com/divkit/divkit
4
4
  @licence Apache-2.0
5
5
  */(function(){"use strict";var xb=Object.defineProperty;var $b=(V,Yn,qn)=>Yn in V?xb(V,Yn,{enumerable:!0,configurable:!0,writable:!0,value:qn}):V[Yn]=qn;var pr=(V,Yn,qn)=>$b(V,typeof Yn!="symbol"?Yn+"":Yn,qn);function V(){}const Yn=e=>e;function qn(e,r){for(const t in r)e[t]=r[t];return e}function na(e){return e()}function ia(){return Object.create(null)}function qr(e){e.forEach(na)}function Vr(e){return typeof e=="function"}function wd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Wo;function Hn(e,r){return e===r?!0:(Wo||(Wo=document.createElement("a")),Wo.href=r,e===Wo.href)}function Er(e,r){return e!=e?r==r:e!==r}function kd(e){return Object.keys(e).length===0}function O(e,...r){if(e==null){for(const n of r)n(void 0);return V}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function Ad(e){let r;return O(e,t=>r=t)(),r}function sn(e,r,t){e.$$.on_destroy.push(O(r,t))}function Uo(e,r,t,n){if(e){const i=oa(e,r,t,n);return e[0](i)}}function oa(e,r,t,n){return e[1]&&n?qn(t.ctx.slice(),e[1](n(r))):t.ctx}function Go(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 Yo(e,r,t,n,i,o){if(i){const s=oa(r,t,n,o);e.p(s,i)}}function qo(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 Qs(e,r,t){return e.set(t),r}function Jo(e){return e&&Vr(e.destroy)?e.destroy:V}function sa(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const la=typeof window<"u";let xs=la?()=>window.performance.now():()=>Date.now(),$s=la?e=>requestAnimationFrame(e):V;const so=new Set;function aa(e){so.forEach(r=>{r.c(e)||(so.delete(r),r.f())}),so.size!==0&&$s(aa)}function el(e){let r;return so.size===0&&$s(aa),{promise:new Promise(t=>{so.add(r={c:e,f:t})}),abort(){so.delete(r)}}}const wi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function kt(e,r){e.appendChild(r)}function ca(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function jd(e){const r=Fe("style");return r.textContent="/* empty */",Ed(ca(e),r),r.sheet}function Ed(e,r){return kt(e.head||e,r),r.sheet}function x(e,r,t){e.insertBefore(r,t||null)}function X(e){e.parentNode&&e.parentNode.removeChild(e)}function ln(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Fe(e){return document.createElement(e)}function _n(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Jn(e){return document.createTextNode(e)}function mr(){return Jn(" ")}function Qt(){return Jn("")}function He(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function m(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const Cd=["width","height"];function ei(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&&Cd.indexOf(n)===-1?e[n]=r[n]:m(e,n,r[n])}function Sd(e,r){Object.keys(r).forEach(t=>{Vd(e,t,r[t])})}function Vd(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:m(e,r,t)}function ua(e){return/-/.test(e)?Sd:ei}function Id(e){return Array.from(e.childNodes)}function ki(e,r){r=""+r,e.data!==r&&(e.data=r)}function fa(e,r){e.value=r==null?"":r}function B(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function da(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 Dd(e){const r=e.querySelector(":checked");return r&&r.__value}function _a(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ha(e,r){return new e(r)}const Ko=new Map;let Xo=0;function Td(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function Fd(e,r){const t={stylesheet:jd(r),rules:{}};return Ko.set(e,t),t}function Zo(e,r,t,n,i,o,s,a=0){const l=16.666/n;let c=`{
@@ -1,5 +1,5 @@
1
1
  "use strict";var Td=Object.defineProperty;var Fd=(e,r,t)=>r in e?Td(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var mr=(e,r,t)=>Fd(e,typeof r!="symbol"?r+"":r,t);/*!
2
- DivKit v31.14.0
2
+ DivKit v31.14.1
3
3
  https://github.com/divkit/divkit
4
4
  @licence Apache-2.0
5
5
  */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Ol(e){return BigInt(e)}const Oo=Ol("9223372036854775807"),zo=Ol("-9223372036854775808");function cn(e){const r=Ol(e);if(r>Oo||r<zo)throw new Error("Integer overflow.");return r}const Zi=cn(0);function gf(e){let r=e;return r<0&&(r=-r),r}function pf(e){let r=0;return e>0?r=1:e<0&&(r=-1),cn(r)}function Md(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Pd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Ko(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function sa(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Nd(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 Od(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function la(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 zd(e){try{return cn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function aa(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function Ld(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function mo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,mo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}Ld(mo,Error);function tl(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}mo.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=tl("",o.line.toString().length," "),c=t[i.line-1],u=i.line===a.line?a.column:c.length+1,f=u-i.column||1;r+=`
@@ -1,5 +1,5 @@
1
1
  "use strict";var Hd=Object.defineProperty;var Wd=(t,r,e)=>r in t?Hd(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var ar=(t,r,e)=>Wd(t,typeof r!="symbol"?r+"":r,e);/*!
2
- DivKit v31.14.0
2
+ DivKit v31.14.1
3
3
  https://github.com/divkit/divkit
4
4
  @licence Apache-2.0
5
5
  */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function T(){}const Hs=t=>t;function lo(t,r){for(const e in r)t[e]=r[e];return t}function Af(t){return t()}function _a(){return Object.create(null)}function tn(t){t.forEach(Af)}function Mr(t){return typeof t=="function"}function Ud(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Qo;function Xn(t,r){return t===r?!0:(Qo||(Qo=document.createElement("a")),Qo.href=r,t===Qo.href)}function Tr(t,r){return t!=t?r==r:t!==r}function Gd(t){return Object.keys(t).length===0}function R(t,...r){if(t==null){for(const n of r)n(void 0);return T}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function qd(t){let r;return R(t,e=>r=e)(),r}function pn(t,r,e){t.$$.on_destroy.push(R(r,e))}function Ws(t,r,e,n){if(t){const i=jf(t,r,e,n);return t[0](i)}}function jf(t,r,e,n){return t[1]&&n?lo(e.ctx.slice(),t[1](n(r))):e.ctx}function Us(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 Gs(t,r,e,n,i,o){if(i){const s=jf(r,e,n,o);t.p(s,i)}}function qs(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 ll(t,r,e){return t.set(e),r}function Ys(t){return t&&Mr(t.destroy)?t.destroy:T}function ga(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const Cf=typeof window<"u";let Wl=Cf?()=>window.performance.now():()=>Date.now(),Ul=Cf?t=>requestAnimationFrame(t):T;const vo=new Set;function Sf(t){vo.forEach(r=>{r.c(t)||(vo.delete(r),r.f())}),vo.size!==0&&Ul(Sf)}function Gl(t){let r;return vo.size===0&&Ul(Sf),{promise:new Promise(e=>{vo.add(r={c:t,f:e})}),abort(){vo.delete(r)}}}const Fi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Js=!1;function Yd(){Js=!0}function Jd(){Js=!1}function Kd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Xd(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:Kd(1,i,_=>r[e[_]].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 Zd(t,r){t.appendChild(r)}function Vf(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Qd(t){const r=Te("style");return r.textContent="/* empty */",xd(Vf(t),r),r.sheet}function xd(t,r){return Zd(t.head||t,r),r.sheet}function St(t,r){if(Js){for(Xd(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 $d(t,r,e){t.insertBefore(r,e||null)}function $(t,r,e){Js&&!e?St(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function k(t){t.parentNode&&t.parentNode.removeChild(t)}function gn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Te(t){return document.createElement(t)}function cn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Zn(t){return document.createTextNode(t)}function vr(){return Zn(" ")}function Re(){return Zn("")}function qe(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function b(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const eh=["width","height"];function fi(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&&eh.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function th(t,r){Object.keys(r).forEach(e=>{rh(t,e,r[e])})}function rh(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:b(t,r,e)}function pa(t){return/-/.test(t)?th:fi}function ke(t){return Array.from(t.childNodes)}function If(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Df(t,r,e,n,i=!1){If(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 Tf(t,r,e,n){return Df(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 Oe(t,r,e){return Tf(t,r,e,Te)}function bn(t,r,e){return Tf(t,r,e,cn)}function hi(t,r){return Df(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},()=>Zn(r),!0)}function wr(t){return hi(t," ")}function ma(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 ql(t,r){const e=ma(t,"HTML_TAG_START",0),n=ma(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new wo(r);If(t);const i=t.splice(e,n-e+1);k(i[0]),k(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new wo(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new wo(r,o)}function Mi(t,r){r=""+r,t.data!==r&&(t.data=r)}function ba(t,r){t.value=r==null?"":r}function G(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function ya(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 nh(t){const r=t.querySelector(":checked");return r&&r.__value}function Pf(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class ih{constructor(r=!1){ar(this,"is_svg",!1);ar(this,"e");ar(this,"n");ar(this,"t");ar(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=cn(e.nodeName):this.e=Te(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)$d(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(k)}}class wo extends ih{constructor(e=!1,n){super(e);ar(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)$(this.t,this.n[n],e)}}function va(t,r){return new t(r)}const Vs=new Map;let Is=0;function oh(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function sh(t,r){const e={stylesheet:Qd(r),rules:{}};return Vs.set(t,e),e}function Ds(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 Vd=Object.defineProperty;var Id=(e,r,t)=>r in e?Vd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var pr=(e,r,t)=>Id(e,typeof r!="symbol"?r+"":r,t);/*!
2
- DivKit v31.14.0
2
+ DivKit v31.14.1
3
3
  https://github.com/divkit/divkit
4
4
  @licence Apache-2.0
5
5
  */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function I(){}const Ps=e=>e;function to(e,r){for(const t in r)e[t]=r[t];return e}function hf(e){return e()}function oa(){return Object.create(null)}function Qr(e){e.forEach(hf)}function Dr(e){return typeof e=="function"}function Dd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Go;function Gn(e,r){return e===r?!0:(Go||(Go=document.createElement("a")),Go.href=r,e===Go.href)}function Sr(e,r){return e!=e?r==r:e!==r}function Td(e){return Object.keys(e).length===0}function z(e,...r){if(e==null){for(const n of r)n(void 0);return I}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function Fd(e){let r;return z(e,t=>r=t)(),r}function fn(e,r,t){e.$$.on_destroy.push(z(r,t))}function Ns(e,r,t,n){if(e){const i=gf(e,r,t,n);return e[0](i)}}function gf(e,r,t,n){return e[1]&&n?to(t.ctx.slice(),e[1](n(r))):t.ctx}function Os(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 zs(e,r,t,n,i,o){if(i){const s=gf(r,t,n,o);e.p(s,i)}}function Ls(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 $s(e,r,t){return e.set(t),r}function Rs(e){return e&&Dr(e.destroy)?e.destroy:I}function sa(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const pf=typeof window<"u";let Pl=pf?()=>window.performance.now():()=>Date.now(),Nl=pf?e=>requestAnimationFrame(e):I;const ho=new Set;function mf(e){ho.forEach(r=>{r.c(e)||(ho.delete(r),r.f())}),ho.size!==0&&Nl(mf)}function Ol(e){let r;return ho.size===0&&Nl(mf),{promise:new Promise(t=>{ho.add(r={c:e,f:t})}),abort(){ho.delete(r)}}}const Si=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function jt(e,r){e.appendChild(r)}function bf(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Md(e){const r=Fe("style");return r.textContent="/* empty */",Pd(bf(e),r),r.sheet}function Pd(e,r){return jt(e.head||e,r),r.sheet}function $(e,r,t){e.insertBefore(r,t||null)}function Q(e){e.parentNode&&e.parentNode.removeChild(e)}function un(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Fe(e){return document.createElement(e)}function _n(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Zn(e){return document.createTextNode(e)}function mr(){return Zn(" ")}function xt(){return Zn("")}function We(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function m(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const Nd=["width","height"];function si(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&&Nd.indexOf(n)===-1?e[n]=r[n]:m(e,n,r[n])}function Od(e,r){Object.keys(r).forEach(t=>{zd(e,t,r[t])})}function zd(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:m(e,r,t)}function la(e){return/-/.test(e)?Od:si}function Ld(e){return Array.from(e.childNodes)}function Vi(e,r){r=""+r,e.data!==r&&(e.data=r)}function aa(e,r){e.value=r==null?"":r}function B(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function ca(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 Rd(e){const r=e.querySelector(":checked");return r&&r.__value}function yf(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ua(e,r){return new e(r)}const vs=new Map;let ks=0;function Bd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function Hd(e,r){const t={stylesheet:Md(r),rules:{}};return vs.set(e,t),t}function As(e,r,t,n,i,o,s,a=0){const l=16.666/n;let c=`{
@@ -2,7 +2,7 @@ var Dd = Object.defineProperty;
2
2
  var Td = (e, r, t) => r in e ? Dd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
3
  var mr = (e, r, t) => Td(e, typeof r != "symbol" ? r + "" : r, t);
4
4
  /*!
5
- DivKit v31.14.0
5
+ DivKit v31.14.1
6
6
  https://github.com/divkit/divkit
7
7
  @licence Apache-2.0
8
8
  */
@@ -2,7 +2,7 @@ var Hd = Object.defineProperty;
2
2
  var Wd = (t, r, e) => r in t ? Hd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
3
  var ar = (t, r, e) => Wd(t, typeof r != "symbol" ? r + "" : r, e);
4
4
  /*!
5
- DivKit v31.14.0
5
+ DivKit v31.14.1
6
6
  https://github.com/divkit/divkit
7
7
  @licence Apache-2.0
8
8
  */
@@ -2,7 +2,7 @@ var Vd = Object.defineProperty;
2
2
  var Id = (e, r, t) => r in e ? Vd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
3
  var pr = (e, r, t) => Id(e, typeof r != "symbol" ? r + "" : r, t);
4
4
  /*!
5
- DivKit v31.14.0
5
+ DivKit v31.14.1
6
6
  https://github.com/divkit/divkit
7
7
  @licence Apache-2.0
8
8
  */
@@ -2,7 +2,7 @@ var Hl = Object.defineProperty;
2
2
  var Wl = (r, t, e) => t in r ? Hl(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
3
3
  var kr = (r, t, e) => Wl(r, typeof t != "symbol" ? t + "" : t, e);
4
4
  /*!
5
- DivKit v31.14.0
5
+ DivKit v31.14.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 Hl=Object.defineProperty;var Wl=(r,t,e)=>t in r?Hl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var kr=(r,t,e)=>Wl(r,typeof t!="symbol"?t+"":t,e);/*!
2
- DivKit v31.14.0
2
+ DivKit v31.14.1
3
3
  https://github.com/divkit/divkit
4
4
  @licence Apache-2.0
5
5
  */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(){}const Ul=r=>r;function Gl(r){return r()}function ql(){return Object.create(null)}function vs(r){r.forEach(Gl)}function Jl(r){return typeof r=="function"}function Yl(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function m(r,...t){if(r==null){for(const i of t)i(void 0);return k}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function Kl(r){let t;return m(r,e=>t=e)(),t}function Xl(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let In;function Vn(r){In=r}function ko(){if(!In)throw new Error("Function called outside component initialization");return In}function Nr(r){ko().$$.on_destroy.push(r)}function Zl(){const r=ko();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const s=Xl(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,s)}),!s.defaultPrevented}return!0}}function Ji(r,t){return ko().$$.context.set(r,t),t}function hr(r){return ko().$$.context.get(r)}const kn=[],Gs=[];let Qn=[];const qs=[],Za=Promise.resolve();let Ko=!1;function Ql(){Ko||(Ko=!0,Za.then(tc))}function ki(){return Ql(),Za}function ec(r){Qn.push(r)}const zo=new Set;let nn=0;function tc(){if(nn!==0)return;const r=In;do{try{for(;nn<kn.length;){const t=kn[nn];nn++,Vn(t),rc(t.$$)}}catch(t){throw kn.length=0,nn=0,t}for(Vn(null),kn.length=0,nn=0;Gs.length;)Gs.pop()();for(let t=0;t<Qn.length;t+=1){const e=Qn[t];zo.has(e)||(zo.add(e),e())}Qn.length=0}while(kn.length);for(;qs.length;)qs.pop()();Ko=!1,zo.clear(),Vn(r)}function rc(r){if(r.fragment!==null){r.update(),vs(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(ec)}}function ic(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const nc=["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"],oc=new Set([...nc]),sc=/[&"<]/g,ac=/[&<]/g;function tt(r,t=!1){const e=String(r),i=t?sc:ac;i.lastIndex=0;let n="",s=0;for(;i.test(e);){const l=i.lastIndex-1,c=e[l];n+=e.substring(s,l)+(c==="&"?"&amp;":c==='"'?"&quot;":"&lt;"),s=l+1}return n+e.substring(s)}const lc=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Js(r){return lc.test(r)||r.toLowerCase()==="!doctype"}const cc=/[\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 fn(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=Xo(s):e.style=Xo(uc(e.style,s)))}let i="";return Object.keys(e).forEach(n=>{if(cc.test(n))return;const s=e[n];s===!0?i+=" "+n:oc.has(n.toLowerCase())?s&&(i+=" "+n):s!=null&&(i+=` ${n}="${s}"`)}),i}function uc(r,t){const e={};for(const i of r.split(";")){const n=i.indexOf(":"),s=i.slice(0,n).trim(),l=i.slice(n+1).trim();s&&(e[s]=l)}for(const i in t){const n=t[i];n?e[i]=n:delete e[i]}return e}function Hr(r){return typeof r=="string"||r&&typeof r=="object"?tt(r,!0):r}function gn(r){const t={};for(const e in r)t[e]=Hr(r[e]);return t}function Cr(r,t){r=ic(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const dc={$$render:()=>""};function Gt(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 No;function br(r){function t(e,i,n,s,l){const c=In,g={on_destroy:No,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:ql()};Vn({$$:g});const f=r(e,i,n,s);return Vn(c),f}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{No=[];const s={title:"",head:"",css:new Set},l=t(s,e,{},i,n);return vs(No),{html:l,css:{code:Array.from(s.css).map(c=>c.code).join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divkitframework/divkit",
3
- "version": "31.14.0",
3
+ "version": "31.14.1",
4
4
  "description": "DivKit for the web",
5
5
  "keywords": [
6
6
  "server-driven-ui",