"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9274],{320:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(78256),i=r(25148),a=r(50236);function s(e){(0,i.A)(1,arguments);var t=(0,n.A)(e),r=t.getUTCFullYear(),s=new Date(0);s.setUTCFullYear(r+1,0,4),s.setUTCHours(0,0,0,0);var l=(0,a.A)(s),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var d=(0,a.A)(o);return t.getTime()>=l.getTime()?r+1:t.getTime()>=d.getTime()?r:r-1}},6226:(e,t,r)=>{r.d(t,{ef:()=>a,lJ:()=>l,xM:()=>s});var n=["D","DD"],i=["YY","YYYY"];function a(e){return -1!==n.indexOf(e)}function s(e){return -1!==i.indexOf(e)}function l(e,t,r){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},11131:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(54945),i=r(25148),a=r(78256);function s(e){return(0,i.A)(1,arguments),(!!function(e){return(0,i.A)(1,arguments),e instanceof Date||"object"===(0,n.A)(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)||"number"==typeof e)&&!isNaN(Number((0,a.A)(e)))}},14154:(e,t,r)=>{r.d(t,{A:()=>d});var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var a={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return function(t,r){var n;if("formatting"===(null!=r&&r.context?String(r.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=null!=r&&r.width?String(r.width):i;n=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=null!=r&&r.width?String(r.width):e.defaultWidth;n=e.values[l]||e.values[s]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function o(e){return function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(a);if(!s)return null;var l=s[0],o=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(o)?function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}(o,function(e){return e.test(l)}):function(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}(o,function(e){return e.test(l)});return r=e.valueCallback?e.valueCallback(d):d,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(l.length)}}}let d={code:"en-US",formatDistance:function(e,t,r){var i,a=n[e];if(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!=r&&r.addSuffix)if(r.comparison&&r.comparison>0)return"in "+i;else return i+" ago";return i},formatLong:a,formatRelative:function(e,t,r,n){return s[e]},localize:{ordinalNumber:function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],a=t.match(e.parsePattern);if(!a)return null;var s=e.valueCallback?e.valueCallback(a[0]):a[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:t.slice(i.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},14971:(e,t,r)=>{r.d(t,{A:()=>n});function n(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}},19384:(e,t,r)=>{r.d(t,{S:()=>tH});var n,i,a=r(37876),s=r(49995),l=r(14232);let o=({children:e,className:t,style:r,...n})=>(0,a.jsx)("span",{className:(0,s.A)(t,"private-icon"),style:r,...n,children:e});o.displayName="PrivateIcon";let d={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"};function c(e){return`finkit-${e}`}let u=c("caption"),h=Object.freeze({caption:u,captionWithIcon:`${u}--with-icon`,content:`${u}__content`,icon:`${u}__icon`,text:`${u}__text`,states:{success:`${u}--success`,error:`${u}--error`,warning:`${u}--warning`}});let p=c("card"),f={card:p,variants:{primary:`${p}--primary`,secondary:`${p}--secondary`}},g=({as:e,className:t,style:r,children:n,variant:i="primary",dataQa:l,dataId:o,...d})=>(0,a.jsx)(e||"div",{className:(0,s.A)(t,f.card,f.variants[i]),style:r,...d,"data-id":o,"data-qa":l,children:n});g.displayName="Card";let m=c("col");Object.freeze({col:m,state:{size:(e,t)=>!0===t?`${m}--${e}`:`${m}--${e}-${t}`,offsetLeft:(e,t)=>`${m}--${e}-offset-left-${t}`,offsetRight:(e,t)=>`${m}--${e}-offset-right-${t}`}});let v=c("container");Object.freeze({container:v,states:{narrow:`${v}--narrow`}});let w=c("divider"),y=Object.freeze({divider:w,content:`${w}__content`}),b=({content:e,className:t,style:r,dataQa:n,dataId:i,...l})=>(0,a.jsx)("div",{className:(0,s.A)(y.divider,t),style:r,...l,"data-id":i,"data-qa":n,children:e&&(0,a.jsx)("div",{className:y.content,children:e})});b.displayName="Divider";let x=c("form-field");Object.freeze({formField:x,labelWrapper:`${x}__label-wrapper`,label:`${x}__label`,description:`${x}__description`});let k={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},C=c("heading"),A=Object.freeze({heading:C,states:Object.freeze({display:`${C}--display`,hero:`${C}--hero`,h1:`${C}--h1`,h2:`${C}--h2`,h3:`${C}--h3`,h4:`${C}--h4`,h5:`${C}--h5`,h6:`${C}--h6`})}),T=({as:e,children:t,weight:r,type:n,lineClamp:i,className:l,style:o,dataQa:c,dataId:u,...h})=>{var p;let f=e||k[n]||"div",g=/^h[1-6]$/.test(f),m=(null==(p=n.match(/\d+/))?void 0:p[0])||1;return(0,a.jsx)(f,{className:(0,s.A)(A.heading,A.states[n],l),style:{...r?{fontWeight:`var(--font-weight-${r})`}:void 0,...i?{WebkitLineClamp:i,lineClamp:i,...d}:void 0,...o},role:g?null:"heading","aria-level":g?null:m,...h,"data-id":u,"data-qa":c,children:t})};T.displayName="Heading";let E=c("loader");Object.freeze({loader:E,variant:{primary:`${E}--primary`,purple:`${E}--purple`,accent:`${E}--accent`,white:`${E}--white`},size:{s:`${E}--s`,m:`${E}--m`,l:`${E}--l`}});let S=c("progress-bar"),M=Object.freeze({progressBar:S,rounded:`${S}-rounded`,indicator:`${S}__indicator`,text:`${S}__text`,animationCircle:`${S}__animation-circle`});let L=c("row"),_=(e,t,r)=>`${L}--gutter-${e}-${t}-${r}`;Object.freeze({row:L,state:{reverse:`${L}--reverse`,gutter:(e,t="xs")=>Array.isArray(e)?[_(t,e[0],"h"),_(t,e[1],"v")].join(" "):_(t,e,"h")}});let P=c("skeleton");Object.freeze({skeleton:P,states:{inline:`${P}--inline`,rounded:`${P}--rounded`,inverted:`${P}--inverted`,suspend:`${P}--suspend`}});let O=Object.freeze({text:c("text")});function $({as:e,className:t,style:r,children:n,size:i,weight:l,fontFamily:o,dataQa:d,dataId:c,...u}){return(0,a.jsx)(e||"span",{className:(0,s.A)(O.text,t),style:{...i&&{fontSize:`var(--font-size-${i})`,lineHeight:`var(--font-line-height-${i})`},...l&&{fontWeight:`var(--font-weight-${l})`},...o&&{fontFamily:`var(--font-family-${o})`},...r},...u,"data-id":c,"data-qa":d,children:n})}$.displayName="Text";let D=Object.freeze(Object.keys(Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})})));Object.freeze(D.filter(e=>"xs"!==e)),Object.freeze(D.filter(e=>"3xl"!==e));var z=r(21415);let I=/#/g,N=/&/g,R=/\//g,j=/=/g,F=/\+/g,H=/%5e/gi,B=/%60/gi,q=/%7c/gi,U=/%20/gi;function G(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(q,"|").replace(F,"%2B").replace(U,"+").replace(I,"%23").replace(N,"%26").replace(B,"`").replace(H,"^").replace(R,"%2F")}function V(e){return G(e).replace(j,"%3D")}function W(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let Y=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Z=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Q=/^([/\\]\s*){2,}[^/\\]/,X=/^\.?\//;function K(e,...t){let r=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(r){let t=e.replace(X,"");r=function(e="",t){return e.endsWith("/")?e:e+"/"}(r)+t}else r=e;return r}let J=Symbol.for("ufo:protocolRelative");function ee(e=""){let[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}var et=r(88220).Buffer;let er="function"==typeof et,en=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),ei=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),ea=(e=>{let t={};return e.forEach((e,r)=>t[e]=r),t})(ei),es=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,el=String.fromCharCode.bind(String),eo="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),ed="function"==typeof btoa?e=>btoa(e):er?e=>et.from(e,"binary").toString("base64"):e=>{let t,r,n,i,a="",s=e.length%3;for(let s=0;s<e.length;){if((r=e.charCodeAt(s++))>255||(n=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255)throw TypeError("invalid character found");a+=ei[(t=r<<16|n<<8|i)>>18&63]+ei[t>>12&63]+ei[t>>6&63]+ei[63&t]}return s?a.slice(0,s-3)+"===".substring(s):a},ec=er?e=>et.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(el.apply(null,e.subarray(r,r+4096)));return ed(t.join(""))},eu=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?el(192|t>>>6)+el(128|63&t):el(224|t>>>12&15)+el(128|t>>>6&63)+el(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return el(240|t>>>18&7)+el(128|t>>>12&63)+el(128|t>>>6&63)+el(128|63&t)},eh=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ep=er?e=>et.from(e,"utf8").toString("base64"):en?e=>ec(en.encode(e)):e=>ed(e.replace(eh,eu)),ef="function"==typeof atob?e=>atob(e.replace(/[^A-Za-z0-9\+\/]/g,"")):er?e=>et.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!es.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r="",n,i;for(let a=0;a<e.length;)t=ea[e.charAt(a++)]<<18|ea[e.charAt(a++)]<<12|(n=ea[e.charAt(a++)])<<6|(i=ea[e.charAt(a++)]),r+=64===n?el(t>>16&255):64===i?el(t>>16&255,t>>8&255):el(t>>16&255,t>>8&255,255&t);return r},eg=async(e,t="common")=>{try{let r=await fetch(K(e,"api/v1/login-widget",t));return r.ok?await r.json():(console.error(`Ошибка ${r.status} при загрузке конфига для ${t}`),{})}catch(e){return console.error(`Сетевая ошибка при загрузке конфига для ${t}`,e),{}}};function em(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let ev=em(),ew=/[&<>"']/,ey=RegExp(ew.source,"g"),eb=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ex=RegExp(eb.source,"g"),ek={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},eC=e=>ek[e];function eA(e,t){if(t){if(ew.test(e))return e.replace(ey,eC)}else if(eb.test(e))return e.replace(ex,eC);return e}let eT=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,eE=/(^|[^\[])\^/g;function eS(e,t){let r="string"==typeof e?e:e.source;t=t||"";let n={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(eE,"$1"),r=r.replace(e,i),n},getRegex:()=>new RegExp(r,t)};return n}function eM(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}let eL={exec:()=>null};function e_(e,t){let r=e.replace(/\|/g,(e,t,r)=>{let n=!1,i=t;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}).split(/ \|/),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(/\\\|/g,"|");return r}function eP(e,t,r){let n=e.length;if(0===n)return"";let i=0;for(;i<n;){let a=e.charAt(n-i-1);if(a!==t||r)if(a!==t&&r)i++;else break;else i++}return e.slice(0,n-i)}function eO(e,t,r,n){let i=t.href,a=t.title?eA(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){n.state.inLink=!0;let e={type:"link",raw:r,href:i,title:a,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,e}return{type:"image",raw:r,href:i,title:a,text:eA(s)}}class e${options;rules;lexer;constructor(e){this.options=e||ev}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:eP(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t){let r=e.match(/^(\s+)(?:```)/);if(null===r)return t;let n=r[1];return t.split("\n").map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[r]=t;return r.length>=n.length?e.slice(n.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=eP(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=t[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n    $1");e=eP(e.replace(/^ *>[ \t]?/gm,""),"\n");let r=this.lexer.state.top;this.lexer.state.top=!0;let n=this.lexer.blockTokens(e);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let a=RegExp(`^( {0,3}${r})((?:[	 ][^\\n]*)?(?:\\n|$))`),s="",l="",o=!1;for(;e;){let r,n=!1;if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;s=t[0],e=e.substring(s.length);let d=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),c=e.split("\n",1)[0],u=0;this.options.pedantic?(u=2,l=d.trimStart()):(u=(u=t[2].search(/[^ ]/))>4?1:u,l=d.slice(u),u+=t[1].length);let h=!1;if(!d&&/^ *$/.test(c)&&(s+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),n=RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),i=RegExp(`^ {0,${Math.min(3,u-1)}}#`);for(;e;){let a=e.split("\n",1)[0];if(c=a,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),n.test(c)||i.test(c)||t.test(c)||r.test(e))break;if(c.search(/[^ ]/)>=u||!c.trim())l+="\n"+c.slice(u);else{if(h||d.search(/[^ ]/)>=4||n.test(d)||i.test(d)||r.test(d))break;l+="\n"+c}h||c.trim()||(h=!0),s+=a+"\n",e=e.substring(a.length+1),d=c.slice(u)}}!i.loose&&(o?i.loose=!0:/\n *\n *$/.test(s)&&(o=!0));let p=null;this.options.gfm&&(p=/^\[[ xX]\] /.exec(l))&&(r="[ ] "!==p[0],l=l.replace(/^\[[ xX]\] +/,"")),i.items.push({type:"list_item",raw:s,task:!!p,checked:r,loose:!1,text:l,tokens:[]}),i.raw+=s}i.items[i.items.length-1].raw=s.trimEnd(),i.items[i.items.length-1].text=l.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){let t=i.items[e].tokens.filter(e=>"space"===e.type);i.loose=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw))}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(/\s+/g," "),r=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;let r=e_(t[1]),n=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let e of n)/^ *-+: *$/.test(e)?a.align.push("right"):/^ *:-+: *$/.test(e)?a.align.push("center"):/^ *:-+ *$/.test(e)?a.align.push("left"):a.align.push(null);for(let e of r)a.header.push({text:e,tokens:this.lexer.inline(e)});for(let e of i)a.rows.push(e_(e,a.header.length).map(e=>({text:e,tokens:this.lexer.inline(e)})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:eA(t[1])}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;let t=eP(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let r=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if("("===e[n])r++;else if(e[n]===t[1]&&--r<0)return n;return -1}(t[2],"()");if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^</.test(r)&&(r=this.options.pedantic&&!/>$/.test(e)?r.slice(1):r.slice(1,-1)),eO(t,{href:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r,title:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=t[(r[2]||r[1]).replace(/\s+/g," ").toLowerCase()];if(!e){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return eO(r,e,r[0],this.lexer)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,i,a,s=r,l=0,o="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(o.lastIndex=0,t=t.slice(-1*e.length+r);null!=(n=o.exec(t));){if(!(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(a=[...i].length,n[3]||n[4]){s+=a;continue}if((n[5]||n[6])&&r%3&&!((r+a)%3)){l+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s+l);let t=[...n[0]][0].length,o=e.slice(0,r+n.index+t+a);if(Math.min(r,a)%2){let e=o.slice(1,-1);return{type:"em",raw:o,text:e,tokens:this.lexer.inlineTokens(e)}}let d=o.slice(2,-2);return{type:"strong",raw:o,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),r=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return r&&n&&(e=e.substring(1,e.length-1)),e=eA(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,r;return r="@"===t[2]?"mailto:"+(e=eA(t[1])):e=eA(t[1]),{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,r;if("@"===t[2])r="mailto:"+(e=eA(t[0]));else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0]);e=eA(t[0]),r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:eA(t[0]),{type:"text",raw:t[0],text:e}}}}let eD=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ez=/(?:[*+-]|\d{1,9}[.)])/,eI=eS(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,ez).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),eN=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,eR=/(?!\s*\])(?:\\.|[^\[\]\\])+/,ej=eS(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",eR).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),eF=eS(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ez).getRegex(),eH="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",eB=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,eq=eS("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",eB).replace("tag",eH).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),eU=eS(eN).replace("hr",eD).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",eH).getRegex(),eG={blockquote:eS(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",eU).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:ej,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:eD,html:eq,lheading:eI,list:eF,newline:/^(?: *(?:\n|$))+/,paragraph:eU,table:eL,text:/^[^\n]+/},eV=eS("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",eD).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",eH).getRegex(),eW={...eG,table:eV,paragraph:eS(eN).replace("hr",eD).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",eV).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",eH).getRegex()},eY={...eG,html:eS("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",eB).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:eL,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:eS(eN).replace("hr",eD).replace("heading"," *#{1,6} *[^\n]").replace("lheading",eI).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},eZ=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,eQ=/^( {2,}|\\)\n(?!\s*$)/,eX="\\p{P}\\p{S}",eK=eS(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,eX).getRegex(),eJ=eS(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,eX).getRegex(),e0=eS("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,eX).getRegex(),e1=eS("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,eX).getRegex(),e2=eS(/\\([punct])/,"gu").replace(/punct/g,eX).getRegex(),e3=eS(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),e4=eS(eB).replace("(?:--\x3e|$)","--\x3e").getRegex(),e7=eS("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",e4).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),e5=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,e6=eS(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",e5).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),e8=eS(/^!?\[(label)\]\[(ref)\]/).replace("label",e5).replace("ref",eR).getRegex(),e9=eS(/^!?\[(ref)\](?:\[\])?/).replace("ref",eR).getRegex(),te=eS("reflink|nolink(?!\\()","g").replace("reflink",e8).replace("nolink",e9).getRegex(),tt={_backpedal:eL,anyPunctuation:e2,autolink:e3,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:eQ,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:eL,emStrongLDelim:eJ,emStrongRDelimAst:e0,emStrongRDelimUnd:e1,escape:eZ,link:e6,nolink:e9,punctuation:eK,reflink:e8,reflinkSearch:te,tag:e7,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:eL},tr={...tt,link:eS(/^!?\[(label)\]\((.*?)\)/).replace("label",e5).getRegex(),reflink:eS(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",e5).getRegex()},tn={...tt,escape:eS(eZ).replace("])","~|])").getRegex(),url:eS(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},ti={...tn,br:eS(eQ).replace("{2,}","*").getRegex(),text:eS(tn.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ta={normal:eG,gfm:eW,pedantic:eY},ts={normal:tt,gfm:tn,breaks:ti,pedantic:tr};class tl{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ev,this.options.tokenizer=this.options.tokenizer||new e$,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={block:ta.normal,inline:ts.normal};this.options.pedantic?(t.block=ta.pedantic,t.inline=ts.pedantic):this.options.gfm&&(t.block=ta.gfm,this.options.breaks?t.inline=ts.breaks:t.inline=ts.gfm),this.tokenizer.rules=t}static get rules(){return{block:ta,inline:ts}}static lex(e,t){return new tl(t).lex(e)}static lexInline(e,t){return new tl(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[]){let r,n,i,a;for(e=this.options.pedantic?e.replace(/\t/g,"    ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(e,t,r)=>t+"    ".repeat(r.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){n=t[t.length-1],a&&"paragraph"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),a=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n,i,a,s,l,o=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(o));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(o));)o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(o));)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(s||(l=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,o,l))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e))||(r=this.tokenizer.autolink(e))||!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(r=this.tokenizer.inlineText(i)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(l=r.raw.slice(-1)),s=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class to{options;constructor(e){this.options=e||ev}code(e,t,r){let n=(t||"").match(/^\S*/)?.[0];return(e=e.replace(/\n$/,"")+"\n",n)?'<pre><code class="language-'+eA(n)+'">'+(r?e:eA(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:eA(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>
${e}</blockquote>
`}html(e,t){return e}heading(e,t,r){return`<h${t}>${e}</h${t}>
`}hr(){return"<hr>\n"}list(e,t,r){let n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+n+">\n"}listitem(e,t,r){return`<li>${e}</li>
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>
`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>
${e}</tr>
`}tablecell(e,t){let r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+`</${r}>
`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,t,r){let n=eM(e);if(null===n)return r;let i='<a href="'+(e=n)+'"';return t&&(i+=' title="'+t+'"'),i+=">"+r+"</a>"}image(e,t,r){let n=eM(e);if(null===n)return r;e=n;let i=`<img src="${e}" alt="${r}"`;return t&&(i+=` title="${t}"`),i+=">"}text(e){return e}}class td{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,r){return""+r}image(e,t,r){return""+r}br(){return""}}class tc{options;renderer;textRenderer;constructor(e){this.options=e||ev,this.options.renderer=this.options.renderer||new to,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new td}static parse(e,t){return new tc(t).parse(e)}static parseInline(e,t){return new tc(t).parseInline(e)}parse(e,t=!0){let r="";for(let n=0;n<e.length;n++){let i=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(i.type)){r+=e||"";continue}}switch(i.type){case"space":continue;case"hr":r+=this.renderer.hr();continue;case"heading":r+=this.renderer.heading(this.parseInline(i.tokens),i.depth,this.parseInline(i.tokens,this.textRenderer).replace(eT,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""));continue;case"code":r+=this.renderer.code(i.text,i.lang,!!i.escaped);continue;case"table":{let e="",t="";for(let e=0;e<i.header.length;e++)t+=this.renderer.tablecell(this.parseInline(i.header[e].tokens),{header:!0,align:i.align[e]});e+=this.renderer.tablerow(t);let n="";for(let e=0;e<i.rows.length;e++){let r=i.rows[e];t="";for(let e=0;e<r.length;e++)t+=this.renderer.tablecell(this.parseInline(r[e].tokens),{header:!1,align:i.align[e]});n+=this.renderer.tablerow(t)}r+=this.renderer.table(e,n);continue}case"blockquote":{let e=this.parse(i.tokens);r+=this.renderer.blockquote(e);continue}case"list":{let e=i.ordered,t=i.start,n=i.loose,a="";for(let e=0;e<i.items.length;e++){let t=i.items[e],r=t.checked,s=t.task,l="";if(t.task){let e=this.renderer.checkbox(!!r);n?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=e+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=e+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",text:e+" "}):l+=e+" "}l+=this.parse(t.tokens,n),a+=this.renderer.listitem(l,s,!!r)}r+=this.renderer.list(a,e,t);continue}case"html":r+=this.renderer.html(i.text,i.block);continue;case"paragraph":r+=this.renderer.paragraph(this.parseInline(i.tokens));continue;case"text":{let a=i,s=a.tokens?this.parseInline(a.tokens):a.text;for(;n+1<e.length&&"text"===e[n+1].type;)s+="\n"+((a=e[++n]).tokens?this.parseInline(a.tokens):a.text);r+=t?this.renderer.paragraph(s):s;continue}default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return r}parseInline(e,t){t=t||this.renderer;let r="";for(let n=0;n<e.length;n++){let i=e[n];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=e||"";continue}}switch(i.type){case"escape":case"text":r+=t.text(i.text);break;case"html":r+=t.html(i.text);break;case"link":r+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break;case"image":r+=t.image(i.href,i.title,i.text);break;case"strong":r+=t.strong(this.parseInline(i.tokens,t));break;case"em":r+=t.em(this.parseInline(i.tokens,t));break;case"codespan":r+=t.codespan(i.text);break;case"br":r+=t.br();break;case"del":r+=t.del(this.parseInline(i.tokens,t));break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return r}}class tu{options;constructor(e){this.options=e||ev}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}class th{defaults=em();options=this.setOptions;parse=this.#e(tl.lex,tc.parse);parseInline=this.#e(tl.lexInline,tc.parseInline);Parser=tc;Renderer=to;TextRenderer=td;Lexer=tl;Tokenizer=e$;Hooks=tu;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":for(let e of n.header)r=r.concat(this.walkTokens(e.tokens,t));for(let e of n.rows)for(let n of e)r=r.concat(this.walkTokens(n.tokens,t));break;case"list":r=r.concat(this.walkTokens(n.items,t));break;default:{let e=n;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(n=>{let i=e[n].flat(1/0);r=r.concat(this.walkTokens(i,t))}):e.tokens&&(r=r.concat(this.walkTokens(e.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let r=t.renderers[e.name];r?t.renderers[e.name]=function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),r.extensions=t),e.renderer){let t=this.defaults.renderer||new to(this.defaults);for(let r in e.renderer){if(!(r in t))throw Error(`renderer '${r}' does not exist`);if("options"===r)continue;let n=e.renderer[r],i=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new e$(this.defaults);for(let r in e.tokenizer){if(!(r in t))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=e.tokenizer[r],i=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new tu;for(let r in e.hooks){if(!(r in t))throw Error(`hook '${r}' does not exist`);if("options"===r)continue;let n=e.hooks[r],i=t[r];tu.passThroughHooks.has(r)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(n.call(t,e)).then(e=>i.call(t,e));let r=n.call(t,e);return i.call(t,r)}:t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return tl.lex(e,t??this.defaults)}parser(e,t){return tc.parse(e,t??this.defaults)}#e(e,t){return(r,n)=>{let i={...n},a={...this.defaults,...i};!0===this.defaults.async&&!1===i.async&&(a.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),a.async=!0);let s=this.#t(!!a.silent,!!a.async);if(null==r)return s(Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return s(Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(a.hooks&&(a.hooks.options=a),a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(r):r).then(t=>e(t,a)).then(e=>a.hooks?a.hooks.processAllTokens(e):e).then(e=>a.walkTokens?Promise.all(this.walkTokens(e,a.walkTokens)).then(()=>e):e).then(e=>t(e,a)).then(e=>a.hooks?a.hooks.postprocess(e):e).catch(s);try{a.hooks&&(r=a.hooks.preprocess(r));let n=e(r,a);a.hooks&&(n=a.hooks.processAllTokens(n)),a.walkTokens&&this.walkTokens(n,a.walkTokens);let i=t(n,a);return a.hooks&&(i=a.hooks.postprocess(i)),i}catch(e){return s(e)}}}#t(e,t){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+eA(r.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}}let tp=new th;function tf(e,t){return tp.parse(e,t)}tf.options=tf.setOptions=function(e){return tp.setOptions(e),tf.defaults=tp.defaults,ev=tf.defaults,tf},tf.getDefaults=em,tf.defaults=ev,tf.use=function(...e){return tp.use(...e),tf.defaults=tp.defaults,ev=tf.defaults,tf},tf.walkTokens=function(e,t){return tp.walkTokens(e,t)},tf.parseInline=tp.parseInline,tf.Parser=tc,tf.parser=tc.parse,tf.Renderer=to,tf.TextRenderer=td,tf.Lexer=tl,tf.lexer=tl.lex,tf.Tokenizer=e$,tf.Hooks=tu,tf.parse=tf,tf.options,tf.setOptions,tf.use,tf.walkTokens,tf.parseInline,tc.parse,tl.lex,r(88220).Buffer,Object.freeze({643:"RUB",840:"USD",978:"EUR",36:"AUD",944:"AZN",826:"GBP",51:"AMD",933:"BYN",975:"BGN",986:"BRL",348:"HUF",704:"VND",344:"HKD",981:"GEL",208:"DKK",784:"AED",818:"EGP",356:"INR",360:"IDR",398:"KZT",124:"CAD",634:"QAR",417:"KGS",156:"CNY",498:"MDL",554:"NZD",578:"NOK",985:"PLN",946:"RON",960:"XDR",702:"SGD",972:"TJS",764:"THB",949:"TRY",934:"TMT",860:"UZS",980:"UAH",203:"CZK",752:"SEK",756:"CHF",941:"RSD",710:"ZAR",410:"KRW",392:"JPY"});let tg=Object.freeze({RUB:"₽",USD:"$",EUR:"€",AUD:"AU$",AZN:"₼",GBP:"\xa3",AMD:"֏",BYN:"Br",BGN:"лв",BRL:"R$",HUF:"Ft",VND:"₫",HKD:"HK$",GEL:"₾",DKK:"kr",AED:"د.إ.",EGP:"E\xa3",INR:"₹",IDR:"Rp",KZT:"₸",CAD:"CA$",QAR:"ر.ق.",KGS:"с",CNY:"CN\xa5",MDL:"L",NZD:"NZ$",NOK:"kr",PLN:"zł",RON:"L",XDR:"XDR",SGD:"S$",TJS:"SM",THB:"฿",TRY:"₺",TMT:"T",UZS:"сум",UAH:"₴",CZK:"Kč",SEK:"kr",CHF:"₣",RSD:"дин",ZAR:"R",KRW:"₩",JPY:"\xa5"});!function(e){e.Pending="pending",e.Success="success"}(n||(n={}));let tm={decimalCount:2,decimalSeparator:",",thousandsSeparator:"\xa0",decimalIsWithoutZeros:!0,preventLargeNumbers:!1};(i||(i={})).PERSISTENT_STATE="persistentState";let tv={logo:"_logo_1cju4_61",mainLogo:"_mainLogo_1cju4_68",brandmarkLogo:"_brandmarkLogo_1cju4_72",divider:"_divider_1cju4_76"},tw=({s3AssetsUrl:e,className:t,withLogo:r=!1,isNewYearLogo:n=!1,dataQa:i,brandmarkCode:l})=>{if(!e)return null;let o=n?K(e,"logo/finuslugi/lk-regular-new-year.svg"):K(e,"logo/finuslugi/lk-regular.svg"),d=K(e,`/images/logo-brandmark-bank-${l}.svg`);return(0,a.jsx)(a.Fragment,{children:r&&(0,a.jsxs)("div",{className:(0,s.A)(tv.logo,t),"data-qa":i,children:[(0,a.jsx)("img",{className:tv.mainLogo,src:o,alt:"Логотип"}),l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:tv.divider}),(0,a.jsx)("img",{className:tv.brandmarkLogo,src:d,alt:"Логотип партнера"})]})]})})};tw.displayName="Logo";let ty=Object.freeze({ESIA:{label:"Войти через Госуслуги",caption:"Госуслуги",icon:e=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M10.8103 12.2093H8.5558C8.5328 12.2093 8.52129 12.2206 8.50979 12.2432C8.45228 13.2503 8.25673 14.3252 7.98067 15.2078C7.98067 15.2192 7.98067 15.2305 7.99217 15.2418C8.00368 15.2531 8.01518 15.2531 8.02668 15.2531H8.79736C8.82036 15.2531 8.83187 15.2418 8.83187 15.2305C9.05041 14.5516 9.22295 13.6689 9.29197 12.9221H10.0281V15.2192C10.0281 15.2418 10.0511 15.2644 10.0741 15.2644H10.8103C10.8333 15.2644 10.8563 15.2418 10.8563 15.2192V12.2432C10.8563 12.2206 10.8333 12.2093 10.8103 12.2093V12.2093ZM20.346 12.2093H19.6098C19.5868 12.2093 19.5638 12.2319 19.5638 12.2545V14.5516C19.4028 14.5968 19.2417 14.6194 19.0577 14.6194C18.5746 14.6194 18.4595 14.4723 18.4595 13.8387V12.2545C18.4595 12.2319 18.4365 12.2093 18.4135 12.2093H17.6889C17.6659 12.2093 17.6429 12.2319 17.6429 12.2545V13.9179C17.6429 14.9589 17.9994 15.3549 18.9081 15.3549C19.4258 15.3549 20.0124 15.2192 20.3575 15.0947C20.369 15.0834 20.3805 15.0721 20.3805 15.0607V12.2545C20.392 12.2206 20.369 12.2093 20.346 12.2093V12.2093ZM4.74844 12.2093H4.00077C3.97777 12.2093 3.96626 12.2206 3.96626 12.2432C3.85124 12.6958 3.60968 13.4653 3.28761 14.2687L2.53994 12.2432C2.52844 12.2319 2.51693 12.2206 2.50543 12.2206H1.74626C1.73476 12.2206 1.72325 12.2319 1.71175 12.2432C1.70025 12.2545 1.70025 12.2658 1.71175 12.2772L2.83901 15.3097C2.72398 15.5473 2.62046 15.7397 2.51693 15.9207C2.43642 16.0565 2.3674 16.1923 2.29838 16.3281C2.28688 16.3394 2.28688 16.3507 2.29838 16.362C2.30989 16.3733 2.32139 16.3846 2.33289 16.3846H3.14958C3.16108 16.3846 3.18409 16.3733 3.18409 16.362C3.32212 16.1018 3.49466 15.7397 3.65569 15.3663C4.1388 14.2574 4.51839 13.2163 4.80595 12.2658C4.80595 12.2545 4.80595 12.2432 4.79445 12.2319C4.77145 12.2093 4.75994 12.2093 4.74844 12.2093V12.2093ZM7.42855 14.5516C7.42855 14.5402 7.41704 14.5289 7.40554 14.5289H7.37103C7.18699 14.5968 6.85342 14.6421 6.62336 14.6421C6.10575 14.6421 5.86419 14.5063 5.86419 13.7368C5.86419 13.1145 5.94471 12.8316 6.62336 12.8316C6.81891 12.8316 6.99145 12.8542 7.2215 12.9221C7.24451 12.9221 7.25601 12.9221 7.26751 12.8995C7.34803 12.7411 7.45155 12.5487 7.56658 12.3111V12.2772C7.56658 12.2658 7.55508 12.2545 7.54357 12.2545C7.24451 12.164 6.88792 12.1074 6.56585 12.1074C5.49611 12.1074 5.013 12.6053 5.013 13.7255C5.013 14.8571 5.49611 15.3663 6.56585 15.3663C6.83041 15.3663 7.37103 15.3097 7.62409 15.2078C7.6471 15.1965 7.6586 15.1739 7.6471 15.1513L7.42855 14.5516V14.5516ZM14.4336 12.2093H13.686C13.663 12.2093 13.6515 12.2206 13.6515 12.2432C13.5364 12.7071 13.2949 13.4653 12.9728 14.2687L12.2251 12.2432C12.2136 12.2319 12.2021 12.2206 12.1906 12.2206H11.4315C11.42 12.2206 11.4084 12.2319 11.3969 12.2432C11.3854 12.2545 11.3854 12.2658 11.3969 12.2772L12.5242 15.3097C12.4092 15.5473 12.3057 15.7397 12.2021 15.9207C12.1216 16.0565 12.0526 16.1923 11.9836 16.3394C11.9721 16.3507 11.9721 16.362 11.9836 16.3733C11.9951 16.3846 12.0066 16.396 12.0181 16.396H12.8348C12.8463 16.396 12.8693 16.3846 12.8693 16.3733C13.0073 16.1131 13.1799 15.751 13.3409 15.3776C13.8125 14.2687 14.2036 13.2276 14.4911 12.2772C14.4911 12.2658 14.4911 12.2545 14.4796 12.2432C14.4566 12.2093 14.4451 12.2093 14.4336 12.2093V12.2093ZM17.1943 12.2093H15.0203C14.9973 12.2093 14.9743 12.2319 14.9743 12.2545V15.2305C14.9743 15.2531 14.9973 15.2757 15.0203 15.2757H15.7564C15.7794 15.2757 15.8024 15.2531 15.8024 15.2305V12.9334H16.9412C16.9527 12.9334 16.9757 12.9221 16.9757 12.9108C17.0677 12.7071 17.1483 12.4921 17.2403 12.2772V12.2432C17.2173 12.2093 17.2058 12.2093 17.1943 12.2093",fill:"currentColor"}),l.createElement("path",{d:"M5.62258 7.63786C4.56434 7.63786 4.15025 8.09048 4.15025 9.23334C4.15025 10.3988 4.56434 10.8514 5.62258 10.8514C6.69233 10.8514 7.10642 10.3988 7.10642 9.23334C7.10642 8.07917 6.69233 7.63786 5.62258 7.63786ZM5.62258 10.1838C5.13947 10.1838 4.98994 10.0594 4.98994 9.24465C4.98994 8.38468 5.15098 8.30547 5.62258 8.30547C6.10569 8.30547 6.26673 8.38468 6.26673 9.24465C6.26673 10.0594 6.1172 10.1838 5.62258 10.1838ZM10.0511 10.0594C10.0511 10.048 10.0396 10.0367 10.0281 10.0367H9.99357C9.80953 10.1046 9.47596 10.1499 9.24591 10.1499C8.72829 10.1499 8.48673 10.0141 8.48673 9.24465C8.48673 8.62231 8.56725 8.33942 9.24591 8.33942C9.44145 8.33942 9.61399 8.36205 9.84404 8.42994C9.86705 8.42994 9.87855 8.42994 9.89005 8.40731C9.97057 8.2489 10.0741 8.05654 10.1891 7.81891V7.78497C10.1891 7.77365 10.1776 7.76233 10.1661 7.76233C9.86705 7.67181 9.51047 7.61523 9.18839 7.61523C8.11865 7.61523 7.63554 8.11311 7.63554 9.23334C7.63554 10.3649 8.11865 10.8741 9.18839 10.8741C9.45295 10.8741 9.99358 10.8175 10.2466 10.7157C10.2696 10.7043 10.2811 10.6817 10.2696 10.6591L10.0511 10.0594V10.0594ZM3.9202 7.71707H1.74621C1.7232 7.71707 1.7002 7.7397 1.7002 7.76233V10.7383C1.7002 10.7609 1.7232 10.7836 1.74621 10.7836H2.48237C2.50538 10.7836 2.52838 10.7609 2.52838 10.7383V8.42994H3.65564C3.66714 8.42994 3.69015 8.41863 3.69015 8.40731C3.78217 8.20364 3.86269 7.98864 3.95471 7.77365V7.7397C3.9432 7.72839 3.9317 7.71707 3.9202 7.71707Z",fill:"currentColor"}),l.createElement("path",{d:"M23.7851 14.9477V14.9024C23.7851 14.8798 23.7851 14.8458 23.7966 14.8232C23.8312 14.4045 23.8542 13.8953 23.8772 13.3069V13.2617C23.8887 12.8656 23.9002 12.4356 23.9002 11.9943C23.9002 11.553 23.8887 11.1231 23.8772 10.727V10.6818C23.8542 10.1047 23.8312 9.58416 23.7966 9.16549C23.7966 9.14286 23.7966 9.10891 23.7851 9.08628V9.04102C23.7851 8.99576 23.7736 8.96181 23.7736 8.91655V8.87129C23.7391 8.42999 23.7161 8.15842 23.7046 8.13578C23.7046 8.09052 23.6931 8.04526 23.6931 8.01132V7.97737C23.6816 7.89816 23.6701 7.83027 23.6471 7.75106C23.6471 7.73974 23.6471 7.72843 23.6356 7.71711C23.4401 6.80056 22.9224 5.79349 22.2783 5.03536C22.0252 4.74116 21.7607 4.4809 21.4846 4.27723C21.4616 4.2546 21.1395 4.02829 20.6334 3.67751C20.0468 3.28147 19.2071 2.72702 18.2524 2.18388C16.55 1.19943 15.0432 0.509194 14.8361 0.429986C14.8246 0.429986 14.8246 0.41867 14.8246 0.41867C14.376 0.226308 13.8354 0.0905233 13.2488 0.0339463C13.1337 0.0226308 13.0187 0.0113154 12.9037 0.0113154C12.7887 0 12.6851 0 12.5816 0H12.4206C11.6384 0.0226308 10.9137 0.158416 10.3386 0.41867C10.2581 0.452617 8.72824 1.14286 6.99135 2.14993L6.92233 2.18388C5.13943 3.21358 3.74762 4.23197 3.6901 4.27723C3.253 4.59406 2.86192 5.00141 2.50534 5.52192C2.42482 5.63508 2.42482 5.92928 2.76989 5.92928H3.6556C4.03518 5.92928 4.1272 5.70297 4.5528 5.39745C5.0244 5.05799 5.95611 4.37907 7.6585 3.38331C8.88928 2.67044 10.0395 2.10467 10.6032 1.84441C10.6147 1.84441 10.6262 1.8331 10.6377 1.8331C10.6377 1.8331 10.6492 1.8331 10.6492 1.82178C10.6492 1.82178 10.6607 1.82178 10.6607 1.81047C10.6722 1.81047 10.6837 1.79915 10.6837 1.79915C10.6952 1.79915 10.7067 1.78784 10.7182 1.78784C10.8562 1.71994 10.9482 1.686 10.9482 1.686C11.3393 1.51627 11.8915 1.40311 12.4781 1.3918H12.7081C12.8807 1.3918 13.0532 1.40311 13.2143 1.42574C13.5708 1.471 13.8929 1.5389 14.1575 1.65205C14.1805 1.66337 14.215 1.67468 14.238 1.686C14.238 1.686 14.2495 1.69731 14.284 1.70863C14.5486 1.82178 15.9749 2.48939 17.5277 3.38331C18.4479 3.91513 19.2646 4.44696 19.8282 4.83168C20.3229 5.17115 20.6219 5.38614 20.6334 5.39745C20.852 5.55587 21.0705 5.78218 21.2776 6.03112C21.7952 6.68741 22.2208 7.58133 22.2898 8.27157C22.2898 8.28288 22.3243 8.55445 22.3588 9.01839C22.3588 9.05233 22.3588 9.07496 22.3703 9.10891V9.1768C22.3703 9.22206 22.3818 9.25601 22.3818 9.30127V9.34653C22.3818 9.36916 22.3818 9.40311 22.3933 9.42574C22.3933 9.48232 22.4048 9.5389 22.4048 9.59547C22.4048 9.62942 22.4048 9.66337 22.4163 9.69731V9.71994C22.4163 9.7652 22.4163 9.79915 22.4278 9.84441V9.93494C22.4623 10.5233 22.4853 11.2249 22.4853 11.9604C22.4853 12.6959 22.4623 13.3975 22.4278 13.9859V14.0764C22.4278 14.1216 22.4278 14.1556 22.4163 14.2008V14.2235C22.4163 14.2574 22.4163 14.2914 22.4048 14.3253C22.4048 14.3819 22.3933 14.4385 22.3933 14.495C22.3933 14.529 22.3933 14.5516 22.3818 14.5743V14.6195C22.3818 14.6648 22.3703 14.6987 22.3703 14.744V14.8119C22.3703 14.8458 22.3703 14.8798 22.3588 14.9024C22.3243 15.3663 22.2898 15.6492 22.2898 15.6492C22.2208 16.3395 21.7952 17.2334 21.2776 17.8897C21.0705 18.1499 20.852 18.3649 20.6334 18.5233C20.6219 18.5233 20.3229 18.7496 19.8282 19.0891C19.2646 19.4738 18.4364 20.0057 17.5277 20.5375C15.9749 21.4427 14.5371 22.099 14.284 22.2122L14.238 22.2348C14.215 22.2461 14.1805 22.2574 14.1575 22.2687C13.8929 22.3706 13.5708 22.4498 13.2143 22.495C13.0532 22.5177 12.8807 22.529 12.7081 22.529H12.4781C11.8915 22.5177 11.3393 22.4158 10.9482 22.2348C10.9482 22.2348 10.8677 22.2008 10.7182 22.133C10.7067 22.1216 10.6837 22.1216 10.6722 22.1103C10.6607 22.099 10.6492 22.099 10.6377 22.0877C10.6262 22.0877 10.6262 22.0764 10.6147 22.0764C10.6032 22.0764 10.5917 22.0651 10.5802 22.0651C10.5687 22.0537 10.5572 22.0537 10.5341 22.0424H10.5226C9.93601 21.8161 8.83176 21.273 7.6585 20.5941C5.94461 19.6096 5.0244 18.9194 4.5528 18.5799C4.1272 18.2744 4.03518 18.0481 3.6556 18.0481H2.76989C2.42482 18.0481 2.42482 18.3423 2.50534 18.4554C2.86192 18.976 3.253 19.3833 3.6901 19.7001C3.74762 19.7454 5.15093 20.7638 6.92233 21.7935C7.01435 21.8501 7.10637 21.9066 7.2099 21.9519C8.85477 22.8798 10.2696 23.5134 10.3501 23.5587C10.9137 23.8076 11.6499 23.9547 12.4321 23.9774H12.5931C12.6966 23.9774 12.8002 23.9774 12.9037 23.9661C13.0187 23.9661 13.1337 23.9547 13.2488 23.9434C13.8354 23.8868 14.3875 23.7511 14.8246 23.5587C14.8246 23.5587 14.8361 23.5587 14.8361 23.5474C15.0317 23.4569 16.55 22.7666 18.2409 21.7935C19.1956 21.239 20.0353 20.6959 20.6219 20.2999C21.128 19.9491 21.4501 19.7228 21.4731 19.7001C21.7492 19.4965 22.0137 19.2362 22.2668 18.942C22.9109 18.1839 23.4286 17.1768 23.6241 16.2603C23.6241 16.2489 23.6241 16.2376 23.6356 16.2263C23.6471 16.1471 23.6701 16.0679 23.6816 16V15.9661C23.6931 15.9208 23.6931 15.8755 23.6931 15.8416C23.6931 15.819 23.7276 15.5474 23.7621 15.1061V15.0608C23.7851 15.0269 23.7851 14.9929 23.7851 14.9477",fill:"currentColor"})),secondaryIcon:e=>l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("defs",null,l.createElement("linearGradient",{x1:12.343,y1:1,x2:12.343,y2:22.951,id:"esia-colored",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.329,stopColor:"#0F67B1"}),l.createElement("stop",{offset:.636,stopColor:"#EF3E58"}))),l.createElement("path",{d:"M22.24 14.656v.042c0 .03 0 .072-.021.082v.042c-.031.404-.063.653-.063.674 0 .03 0 .072-.01.114v.031c-.01.062-.031.135-.041.207-.01.01-.01.021-.01.031-.177.84-.643 1.763-1.223 2.458-.229.27-.467.508-.716.695l-.766.55c-.7.48-1.416.936-2.146 1.368-1.523.892-2.89 1.524-3.067 1.607 0 .01-.01.01-.01.01-.394.177-.891.301-1.42.353-.104.01-.207.02-.31.02-.094.011-.187.011-.28.011h-.146c-.704-.02-1.368-.155-1.875-.383-.073-.042-1.347-.623-2.83-1.473a2.051 2.051 0 0 1-.258-.145 36.043 36.043 0 0 1-2.912-1.918 4.527 4.527 0 0 1-1.068-1.141c-.072-.103-.072-.373.239-.373h.787c.342 0 .425.207.809.487.424.311 1.253.944 2.797 1.846.84.493 1.701.95 2.58 1.369h.011c.021.01.031.01.042.02.01 0 .02.01.03.01.01 0 .01.011.021.011.01.01.021.01.031.02.01.011.032.011.042.021.135.063.207.094.207.094.353.166.85.26 1.378.27h.207c.156 0 .311-.01.457-.032a3.65 3.65 0 0 0 .85-.207c.02-.01.051-.02.072-.031l.041-.02a33.402 33.402 0 0 0 4.995-2.863c.446-.31.715-.518.726-.518.196-.145.393-.342.58-.58.466-.602.85-1.421.912-2.054 0 0 .031-.26.062-.684.01-.02.01-.052.01-.083v-.063c0-.041.01-.072.01-.114v-.04c.011-.022.011-.042.011-.074 0-.051.01-.103.01-.155.01-.031.01-.062.01-.093v-.021c.011-.042.011-.073.011-.114v-.083c.07-1.237.07-2.476 0-3.712v-.083c-.01-.042-.01-.073-.01-.114v-.021c-.01-.031-.01-.062-.01-.093 0-.052-.01-.104-.01-.156-.011-.02-.011-.052-.011-.072v-.042c0-.041-.01-.073-.01-.114v-.062c-.011-.031-.011-.052-.011-.083-.031-.425-.062-.674-.062-.685-.062-.632-.446-1.451-.912-2.053a3.411 3.411 0 0 0-.58-.58 33.42 33.42 0 0 0-5.762-3.401c-.02-.01-.052-.021-.073-.031a3.19 3.19 0 0 0-.85-.208c-.145-.02-.3-.03-.456-.03h-.207c-.528.01-1.025.113-1.378.269 0 0-.083.03-.207.093-.01 0-.02.01-.031.01 0 0-.01.01-.02.01 0 .011-.011.011-.011.011 0 .01-.01.01-.01.01-.011 0-.021.01-.032.01-.497.24-1.533.748-2.642 1.4-1.534.913-2.373 1.535-2.798 1.846-.383.28-.466.488-.808.488h-.798c-.311 0-.311-.27-.239-.384.322-.477.674-.85 1.068-1.14a37.769 37.769 0 0 1 2.912-1.93l.062-.03a34.228 34.228 0 0 1 3.026-1.576c.518-.239 1.17-.373 1.886-.384h.145c.093 0 .186.01.28.01.103 0 .207.01.31.021a4.745 4.745 0 0 1 1.42.353s0 .01.01.01c.177.083 1.545.705 3.068 1.607a33.005 33.005 0 0 1 2.912 1.918c.248.187.487.426.715.695.58.695 1.047 1.618 1.223 2.458.01.01.01.02.01.03.019.069.033.138.041.208v.031c0 .031.01.073.01.114.011.021.032.27.063.674v.042c0 .041.01.072.01.114v.041c.01.021.01.052.01.073l.073 1.39v.04c.01.364.021.758.021 1.162l-.02 1.162v.04c-.021.54-.042 1.007-.073 1.39-.01.021-.01.052-.01.073ZM9.865 10.218a.022.022 0 0 0-.02-.02h-.032a2.295 2.295 0 0 1-.673.103c-.466 0-.684-.124-.684-.83 0-.57.062-.83.684-.83.176 0 .332.022.539.084.02 0 .03 0 .041-.02l.27-.54v-.031a.022.022 0 0 0-.02-.02 3.125 3.125 0 0 0-.882-.136c-.964 0-1.399.456-1.399 1.483 0 1.037.435 1.504 1.399 1.504.238 0 .725-.052.954-.146.02-.01.03-.03.02-.052l-.197-.549Zm-3.99-2.23c-.953 0-1.326.415-1.326 1.463 0 1.068.373 1.483 1.327 1.483.963 0 1.336-.415 1.336-1.483 0-1.048-.373-1.462-1.336-1.462Zm-3.492.084a.044.044 0 0 0-.041.041v2.727c0 .021.02.042.041.042h.664c.02 0 .041-.021.041-.042V8.725h1.026c.01 0 .031-.01.031-.02.083-.187.156-.385.238-.581v-.032c-.01-.01-.02-.02-.03-.02h-1.97Zm3.493 2.26c-.435 0-.57-.114-.57-.86 0-.788.145-.861.57-.861.435 0 .58.072.58.86 0 .737-.135.861-.58.861Zm1.627 3.992a.022.022 0 0 0-.02-.02h-.032a2.295 2.295 0 0 1-.674.103c-.466 0-.684-.124-.684-.83 0-.57.073-.829.684-.829.176 0 .332.02.54.083.02 0 .03 0 .04-.02l.27-.54v-.03a.022.022 0 0 0-.007-.015 3.126 3.126 0 0 0-.895-.141c-.963 0-1.399.456-1.399 1.482 0 1.037.436 1.504 1.4 1.504.238 0 .725-.052.953-.145.02-.01.03-.032.02-.052l-.196-.55Zm3.046-2.146H8.52c-.02 0-.031.01-.041.031A11.895 11.895 0 0 1 8 14.926c0 .01 0 .02.01.03.01.011.021.011.031.011h.695c.02 0 .03-.01.03-.02.198-.623.353-1.432.415-2.116h.664v2.105c0 .02.02.041.041.041h.663c.021 0 .042-.02.042-.041v-2.727c0-.01-.021-.031-.042-.031Zm5.752 0h-1.959a.044.044 0 0 0-.041.041v2.727c0 .021.02.042.041.042h.663c.02 0 .042-.02.042-.042v-2.115h1.025c.01 0 .032-.01.032-.02.083-.187.155-.384.238-.581v-.032c-.02-.01-.031-.02-.041-.02Zm2.839 0h-.663a.045.045 0 0 0-.042.041v2.105c-.145.042-.29.062-.456.062-.435 0-.539-.134-.539-.715v-1.452a.045.045 0 0 0-.041-.041h-.663a.045.045 0 0 0-.041.041v1.525c0 .953.32 1.316 1.14 1.316.466 0 .994-.124 1.305-.238.01-.01.02-.02.02-.031v-2.572c.021-.02 0-.04-.02-.04v-.001Zm-14.052.01h-.674c-.02 0-.03.01-.03.031-.104.415-.322 1.12-.612 1.856L3.1 12.21c-.011-.01-.021-.02-.032-.02h-.684c-.01 0-.02.01-.03.02-.011.01-.011.02 0 .031l1.015 2.779c-.09.19-.187.377-.29.56a4.458 4.458 0 0 0-.197.383c-.01.011-.01.021 0 .032.01.01.02.02.031.02h.736c.01 0 .03-.01.03-.02.154-.3.295-.603.426-.913.435-1.016.777-1.97 1.036-2.84 0-.011 0-.022-.01-.032-.021-.02-.031-.02-.042-.02Zm8.726 0h-.674c-.02 0-.031.01-.031.031-.104.425-.321 1.12-.612 1.856l-.673-1.866c-.01-.01-.02-.02-.031-.02h-.684c-.01 0-.02.01-.031.02-.01.01-.01.02 0 .031l1.015 2.779c-.09.19-.187.377-.29.56a4.444 4.444 0 0 0-.197.383c-.01.011-.01.021 0 .032.01.01.02.02.031.02h.736c.01 0 .031-.01.031-.02.153-.3.295-.603.425-.913a28.78 28.78 0 0 0 1.036-2.84c0-.011 0-.022-.01-.032-.02-.02-.031-.02-.041-.02Z",clipRule:"evenodd",fill:"url(#esia-colored)",fillRule:"evenodd"}))},PHONE:{label:"По номеру телефона",caption:"Номер телефона",icon:e=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"a"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),l.createElement("g",{clipPath:"url(#a)"},l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.045 3.68a10.239 10.239 0 0 0 .738 2.993 1.323 1.323 0 0 1-.643 1.696l-.866.41a.225.225 0 0 0-.123.133.158.158 0 0 0 .011.135 12.756 12.756 0 0 0 3.321 3.815c.466.358.957.683 1.473.976a.156.156 0 0 0 .134.011.225.225 0 0 0 .133-.122l.408-.863a1.293 1.293 0 0 1 .732-.666 1.322 1.322 0 0 1 .967.022c1.094.453 2.215.708 3.401.766a1.302 1.302 0 0 1 1.173.805c.066.16.1.327.1.5v4.459a2.712 2.712 0 0 1-.816 1.944 2.494 2.494 0 0 1-1.37.68c-.21.031-.425.035-.644.01a18.77 18.77 0 0 1-9.782-4.113l-.002-.001a18.711 18.711 0 0 1-3.727-4.103 18.728 18.728 0 0 1-2.549-5.666 18.72 18.72 0 0 1-.495-2.672 2.494 2.494 0 0 1 .127-1.11 2.512 2.512 0 0 1 .894-1.194 2.68 2.68 0 0 1 1.001-.457c.2-.046.403-.068.612-.068h4a1.747 1.747 0 0 1 1.234.505 1.804 1.804 0 0 1 .381.532 1.897 1.897 0 0 1 .177.644Zm10.485.85-4 4c-.177.177-.354.265-.53.265-.177 0-.354-.088-.53-.265l-2-2a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L17 6.94l3.47-3.47a.743.743 0 0 1 1.06 0 .742.742 0 0 1 0 1.06ZM9.552 3.816a.38.38 0 0 0-.044-.149c-.056-.054-.185-.167-.255-.167h-4a1.247 1.247 0 0 0-.485.098 1.174 1.174 0 0 0-.38.26 1.022 1.022 0 0 0-.23.365.976.976 0 0 0-.048.44 17.25 17.25 0 0 0 1.909 6.18 17.291 17.291 0 0 0 4.324 5.268 17.171 17.171 0 0 0 4.308 2.576c.733.303 1.48.555 2.24.753h.001c.801.21 1.617.36 2.448.454a.976.976 0 0 0 .806-.279 1.15 1.15 0 0 0 .26-.38 1.23 1.23 0 0 0 .097-.485v-4.274a11.7 11.7 0 0 1-3.593-.808l-.331.7a1.73 1.73 0 0 1-1 .9 1.648 1.648 0 0 1-1.363-.125 14.257 14.257 0 0 1-4.312-3.77l-.001-.001c-.382-.503-.73-1.03-1.045-1.584a1.642 1.642 0 0 1-.125-1.364 1.726 1.726 0 0 1 .898-1l.703-.333a11.71 11.71 0 0 1-.782-3.275Z",clipRule:"evenodd"}))),secondaryIcon:void 0},ALFA:{label:void 0,caption:"Альфа ID",icon:e=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"clip146_396"},l.createElement("rect",{id:"Logo",width:24,height:24,fill:"white",fillOpacity:0})),l.createElement("clipPath",{id:"clip129_3008"},l.createElement("rect",{id:"Button",rx:12,width:24,height:24,fill:"white",fillOpacity:0}))),l.createElement("rect",{id:"Button",rx:12,width:24,height:24,fill:"#EF3124",fillOpacity:1}),l.createElement("g",{clipPath:"url(#clip129_3008)"},l.createElement("g",{clipPath:"url(#clip146_396)"},l.createElement("path",{id:"Union",d:"M12.0784 4.99939C13.0987 4.99939 13.3867 5.60126 13.6481 6.36017L16.3427 14.2609L14.3805 14.2609L13.7791 12.3771L10.2207 12.3771L9.56677 14.2609L7.70911 14.2609L10.4826 6.36017C10.7441 5.57532 11.058 4.99939 12.0784 4.99939ZM11.9999 7.04004L10.7181 10.8074L13.2297 10.8074L12.0524 7.04004L11.9999 7.04004ZM16.5 16.8002L7.49997 16.8002L7.49997 18.6578L16.5 18.6578L16.5 16.8002Z",clipRule:"evenodd",fill:"#FFFFFF",fillOpacity:1,fillRule:"evenodd"})))),secondaryIcon:void 0},SBER:{label:void 0,caption:"Сбер ID",icon:e=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"clip146_362"},l.createElement("rect",{id:"Logo",width:20,height:20,transform:"translate(2.000000 2.000000)",fill:"white",fillOpacity:0})),l.createElement("clipPath",{id:"clip129_3001"},l.createElement("rect",{id:"Button",rx:12,width:24,height:24,fill:"white",fillOpacity:0}))),l.createElement("rect",{id:"Button",rx:12,width:24,height:24,fill:"#21A038",fillOpacity:1}),l.createElement("g",{clipPath:"url(#clip129_3001)"},l.createElement("g",{clipPath:"url(#clip146_362)"},l.createElement("path",{id:"Vector",d:"M12 4.5C13.8 4.5 15.45 5.13 16.74 6.19L15.45 7.22C14.48 6.52 13.29 6.1 11.99 6.1C8.74 6.1 6.1 8.74 6.1 12C6.1 15.25 8.74 17.89 11.99 17.89C15.25 17.89 17.89 15.25 17.89 12C17.89 11.92 17.89 11.85 17.88 11.77L19.38 10.69C19.46 11.11 19.49 11.55 19.49 12C19.49 16.14 16.14 19.5 11.99 19.5C7.85 19.5 4.5 16.14 4.5 12C4.5 7.85 7.85 4.5 12 4.5Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"evenodd"}),l.createElement("path",{id:"Vector",d:"M9.17 10.17L12 12L18.08 7.53L18.99 9L12 14.11L9.17 12.35L9.17 10.17Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"evenodd"})))),secondaryIcon:void 0},VTB:{label:void 0,caption:"ВТБ ID",icon:e=>l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},l.createElement("defs",null,l.createElement("linearGradient",{id:"c",x1:0,x2:24,y1:12,y2:12,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#0037FF"}),l.createElement("stop",{offset:.75,stopColor:"#0085FF"})),l.createElement("clipPath",{id:"b"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),l.createElement("mask",{id:"a",width:24,height:24,x:0,y:0,"mask-type":"alpha",maskUnits:"userSpaceOnUse"},l.createElement("circle",{cx:12,cy:12,r:12,fill:"#F7F8FA"})),l.createElement("g",{mask:"url(#a)"},l.createElement("path",{fill:"#F7F8FA",d:"M0 0h24v24H0z"})),l.createElement("g",{clipPath:"url(#b)",mask:"url(#a)"},l.createElement("path",{fill:"url(#c)",d:"M0 0h24v24H0z"}),l.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M19.5 7.5H7.7l-.85 2.25h11.79l.86-2.25Zm-1.18 3.37H6.52l-.85 2.25h11.8l.85-2.25ZM5.33 14.25h11.52l-.83 2.25H4.5l.83-2.25Z"}))),secondaryIcon:void 0},MTS:{label:void 0,caption:"МТС ID",icon:e=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},l.createElement("defs",null),l.createElement("rect",{id:"Button",width:24,height:24,fill:"#FFFFFF",fillOpacity:0}),l.createElement("mask",{id:"mask129_2994","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:24,height:24},l.createElement("rect",{id:"rect",width:24,height:24,fill:"#000000",fillOpacity:1})),l.createElement("g",{mask:"url(#mask129_2994)"},l.createElement("rect",{id:"rect",width:24,height:24,fill:"#FF0032",fillOpacity:1}),l.createElement("path",{id:"path",d:"M15.98 1.82L15.98 2.94L18.4 2.94L18.4 7.32L19.75 7.4L19.75 2.94L22.16 2.94L22.16 1.82L15.98 1.82Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}),l.createElement("path",{id:"path",d:"M7.3 1.84L5.53 5.5L3.77 1.84L1.84 1.84L1.84 7.38L3.19 7.38L3.19 3.42L4.92 6.76L6.15 6.76L7.87 3.42L7.87 7.38L9.22 7.38L9.22 1.84L7.3 1.84Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}),l.createElement("path",{id:"path",d:"M20.81 20.3C20.78 20.51 20.69 20.7 20.54 20.84C20.39 20.98 20.2 21.07 20 21.11C19.71 21.17 19.41 21.2 19.11 21.2C18.79 21.2 18.47 21.15 18.17 21.06C17.92 20.98 17.7 20.81 17.55 20.6C17.41 20.38 17.33 20.06 17.33 19.66L17.33 19.1C17.33 18.69 17.41 18.38 17.55 18.16C17.7 17.94 17.92 17.78 18.16 17.7C18.47 17.6 18.79 17.56 19.11 17.56C19.41 17.56 19.7 17.59 20 17.64C20.2 17.68 20.39 17.78 20.54 17.92C20.69 18.06 20.78 18.25 20.8 18.46L22.16 18.46C22.13 18.03 21.97 17.62 21.69 17.3C21.42 17 21.07 16.78 20.68 16.68C20.17 16.54 19.64 16.48 19.11 16.49C18.46 16.49 17.9 16.58 17.44 16.77C16.98 16.94 16.6 17.27 16.36 17.69C16.12 18.1 15.99 18.65 15.99 19.31L15.99 19.44C15.99 20.11 16.12 20.65 16.36 21.06C16.6 21.49 16.98 21.81 17.44 21.99C17.9 22.17 18.46 22.26 19.11 22.26C19.64 22.27 20.17 22.21 20.68 22.08C21.07 21.97 21.42 21.76 21.69 21.46C21.97 21.13 22.13 20.72 22.16 20.3L20.81 20.3Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}))),secondaryIcon:void 0},TINKOFF:{label:void 0,caption:"T-ID",icon:e=>l.createElement("svg",{width:44,height:24,viewBox:"0 0 44 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},l.createElement("defs",null),l.createElement("mask",{id:"mask129_2984","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:44,height:24},l.createElement("rect",{id:"rect",width:44,height:24,fill:"#000000",fillOpacity:1})),l.createElement("g",{mask:"url(#mask129_2984)"},l.createElement("path",{id:"path",d:"M32.11 0L11.88 0C5.32 0 0 5.37 0 12C0 18.62 5.32 24 11.88 24L32.11 24C38.67 24 44 18.62 44 12C44 5.37 38.67 0 32.11 0Z",fill:"#303030",fillOpacity:1,fillRule:"nonzero"}),l.createElement("path",{id:"path",d:"M6.89 6.16L19.7 6.16L19.7 12.67C19.7 14.33 18.82 15.87 17.39 16.71L13.3 19.09L9.2 16.71C7.77 15.87 6.89 14.33 6.89 12.67L6.89 6.16Z",fill:"#FFDD2D",fillOpacity:1,fillRule:"nonzero"}),l.createElement("path",{id:"path",d:"M10.41 9.59L10.41 11.61C10.68 11.3 11.18 11.08 11.75 11.08L12.37 11.08L12.37 13.44C12.37 14.06 12.2 14.61 11.95 14.91L14.64 14.91C14.39 14.61 14.22 14.06 14.22 13.44L14.22 11.09L14.84 11.09C15.41 11.09 15.91 11.3 16.18 11.61L16.18 9.59L10.41 9.59Z",fill:"#333333",fillOpacity:1,fillRule:"evenodd"}),l.createElement("path",{id:"path",d:"M27.01 16.07L27.01 8.43L24.63 8.43L24.63 16.07L27.01 16.07Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}),l.createElement("path",{id:"path",d:"M32.77 16.07C35.79 16.07 37.28 14.45 37.28 12.25C37.28 10.05 35.79 8.43 33.02 8.43L28.76 8.43L28.76 16.07L32.77 16.07ZM32.53 10.26C34.17 10.26 34.85 11 34.85 12.25C34.85 13.41 34.17 14.29 32.53 14.29L31.06 14.29L31.06 10.26L32.53 10.26Z",fill:"#FFFFFF",fillOpacity:1,fillRule:"nonzero"}))),secondaryIcon:void 0},SOVCOM:{label:void 0,caption:"Совком ID",icon:e=>l.createElement("svg",{width:24.000015,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...e},l.createElement("defs",null),l.createElement("path",{id:"Vector",d:"M14.39 0.25L14.39 6.47L11.97 6.47C8.93 6.47 6.47 8.93 6.47 11.97C6.47 15.02 8.93 17.48 11.97 17.48L14.39 17.48L14.39 23.7C19.89 22.64 24 17.82 24 11.97C24 6.17 19.89 1.35 14.39 0.25Z",fill:"#003791",fillOpacity:1,fillRule:"nonzero"}),l.createElement("path",{id:"Vector",d:"M11.97 19.42C7.87 19.42 4.52 16.08 4.52 11.97C4.52 7.87 7.87 4.53 11.97 4.53L12.44 4.53L12.44 0L11.97 0C5.37 0 0 5.37 0 11.97C0 18.62 5.37 24 11.97 24L12.44 24L12.44 19.42L11.97 19.42L11.97 19.42Z",fill:"#FC5055",fillOpacity:1,fillRule:"nonzero"})),secondaryIcon:void 0}}),tb={buttons:"_buttons_2tixh_61","--disabled":"_--disabled_2tixh_68",buttonIcons:"_buttonIcons_2tixh_72",divider:"_divider_2tixh_77",modalInner:"_modalInner_2tixh_81"},tx={privateIcon:"_privateIcon_4e6ha_1"},tk=({children:e,className:t,style:r,...n})=>(0,a.jsx)("span",{className:(0,s.A)(t,tx.privateIcon),style:r,...n,children:e});tk.displayName="PrivateIcon";let tC=({buttonsData:e,disabled:t=!1,primaryTextOverride:r,additionalTextOverride:n,extraTextOverride:i,overrideLoginAction:s,onAnalyticsEvent:l,onOpen:o})=>{let{buttons:d,type:c}=e,u={primary:r,additional:n,extra:i};return d.length?(0,a.jsxs)(a.Fragment,{children:[1===d.length&&(0,a.jsx)(z.$n,{dataQa:`login-widget-${c}-button`,as:s?"button":"a",...s?{}:{target:"_blank",href:t?"#login-widget-consents":d[0].href},stretch:!0,variant:"primary"===c?"primary":"secondary",disabled:t,label:u[c]??d[0].label,iconLeft:u[c]?void 0:d[0].icon,onClick:()=>{null==l||l({eventCategory:"login-widget",eventAction:"click_button_login",eventLabel:d[0].type}),null==s||s(d[0].type)}},`button-${c}`),d.length>1&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(z.$n,{dataQa:`login-widget-${c}-button`,stretch:!0,variant:"primary"===c?"primary":"secondary",disabled:t,label:u[c]?(0,a.jsx)("span",{children:u[c]}):(0,z.nu)("xs")&&d.length>5?(0,a.jsx)("span",{children:"Войти по ID"}):(0,a.jsx)("span",{className:tb.buttonIcons,children:d.map(e=>e.icon?(0,a.jsx)(tk,{style:{lineHeight:0},children:e.icon},e.type):void 0)}),onClick:()=>null==o?void 0:o(c)},`button-${c}`)})]}):null};tC.displayName="ButtonsGroup";let tA=({buttonsList:e=[],isOpen:t=!1,buttonsType:r="",overrideLoginAction:n,onAnalyticsEvent:i,onClose:s})=>{var o,d;let c=(0,l.useCallback)(e=>{null==i||i({eventCategory:"login-widget",eventAction:"click_button_login",eventLabel:e}),null==n||n(e),setTimeout(()=>null==s?void 0:s())},[]);return(0,a.jsx)(z.aF,{header:{title:"Выберите способ входа"},open:t,onClose:s,dataQa:"login-widget-buttons-modal",children:(0,a.jsx)("div",{className:tb.modalInner,children:null==(d=null==(o=e.find(e=>e.type===r))?void 0:o.buttons)?void 0:d.map(({type:e,href:t,caption:r,icon:i,secondaryIcon:s})=>(0,a.jsx)(z.$n,{dataQa:`login-widget-buttons-modal-button-${null==e?void 0:e.toLowerCase()}`,as:n?"button":"a",...n?{}:{target:"_blank",href:t},stretch:!0,variant:"secondary",label:r,iconLeft:s??i,onClick:()=>c(e)},`modal-button-${e}`))})})};tA.displayName="ButtonsModal";let tT=({buttonsList:e=[],disabled:t=!1,primaryTextOverride:r,additionalTextOverride:n,extraTextOverride:i,overrideLoginAction:o,onAnalyticsEvent:d})=>{let[c,u]=(0,l.useState)(!1),[h,p]=(0,l.useState)(),{primaryGroup:f,remainingGroup:g,isRemainingGroupVisible:m}=(0,l.useMemo)(()=>{let[t,...r]=e,n=r.some(({buttons:e})=>e.length);return{primaryGroup:t,remainingGroup:r,isRemainingGroupVisible:n}},[e]),v=(0,l.useCallback)(e=>{u(!0),p(e),null==d||d({eventCategory:"login-widget",eventAction:"click_popup_open",eventLabel:"popup_select_login_provider"})},[]),w=(0,l.useCallback)(()=>{u(!1),p(""),null==d||d({eventCategory:"login-widget",eventAction:"click_popup_close",eventLabel:"popup_select_login_provider"})},[]);return e.length?(0,a.jsxs)("div",{className:(0,s.A)(tb.buttons,{[tb["--disabled"]]:t}),"data-qa":"login-widget-buttons",children:[(0,a.jsx)(tC,{buttonsData:f,disabled:t,primaryTextOverride:r,overrideLoginAction:o,onAnalyticsEvent:d,onOpen:v}),m&&(0,a.jsxs)(a.Fragment,{children:[!!f.buttons.length&&(0,a.jsx)(b,{className:tb.divider,content:"или",dataQa:"login-widget-buttons-divider"}),g.map(e=>(0,a.jsx)(tC,{buttonsData:e,additionalTextOverride:n,extraTextOverride:i,disabled:t,overrideLoginAction:o,onAnalyticsEvent:d,onOpen:v},`group-${e.type}`))]}),(0,a.jsx)(tA,{buttonsList:e,buttonsType:h,isOpen:c,overrideLoginAction:o,onAnalyticsEvent:d,onClose:w})]}):null};tT.displayName="Buttons";let tE=({template:e,onLinkClick:t})=>{if(!Object.keys(e).length||!e.links)return null;let{text:r,links:n}=e,i=r.split(/(\$\d+)/);return(0,a.jsx)(a.Fragment,{children:i.map(e=>{if(e.startsWith("$")){let r=n[parseInt(e.slice(1))-1];return(0,a.jsx)("a",{href:r.href,target:"_blank",rel:"noreferrer",onClick:()=>null==t?void 0:t(r.href),children:r.text},`link--${r.text}`)}return(0,a.jsx)("span",{children:e},`text--${e}`)})})};tE.displayName="TemplateText";let tS={consents:"_consents_15mth_61",list:"_list_15mth_61",checkbox:"_checkbox_15mth_66",error:"_error_15mth_76"},tM=({consents:e=[],onAgree:t,onError:r,onAnalyticsEvent:n})=>{let[i,o]=(0,l.useState)(()=>Object.fromEntries(e.map(e=>[e.key,e.value]))),d=e.filter(e=>!e.hidden),c=d.filter(e=>e.required).some(e=>!i[e.key]);(0,l.useEffect)(()=>{t(i)},[i]),(0,l.useEffect)(()=>{r(c)},[c]);let u=e=>{null==n||n({eventCategory:"login-widget",eventAction:"click_link_consent",eventLabel:e})};return e.length?(0,a.jsx)("div",{id:"login-widget-consents",className:tS.consents,"data-qa":"login-widget-consents",children:(0,a.jsx)("div",{className:tS.list,"data-qa":"login-widget-consents-list",children:d.map(({key:e,title:t,required:r})=>{var l;return(0,a.jsx)(z.Sc,{dataQa:`login-widget-consents-checkbox-${e}`,className:(0,s.A)(tS.checkbox,{[tS.error]:!i[e]&&c}),state:r&&!i[e]?"error":"default",value:i[e],onChange:t=>((e,t)=>{o(r=>({...r,[e]:t})),null==n||n({eventCategory:"login-widget",eventAction:"click_checkbox_consent",eventLabel:`${e}_${t?"tick":"untick"}`})})(e,t),children:null!=(l=t.links)&&l.length?(0,a.jsx)(tE,{template:t,onLinkClick:u}):t.text},e)})})}):null};tM.displayName="Consents";let tL={list:"_list_1n3xe_69",item:"_item_1n3xe_77",icon:"_icon_1n3xe_91"},t_={check:(0,a.jsx)(e=>l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"a"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),l.createElement("g",{clipPath:"url(#a)"},l.createElement("path",{d:"m10.53 16.53 8.25-8.25a.743.743 0 0 0 0-1.06.743.743 0 0 0-1.06 0L10 14.94l-3.72-3.72a.743.743 0 0 0-1.06 0 .743.743 0 0 0 0 1.06l4.25 4.25c.146.147.323.22.53.22a.722.722 0 0 0 .53-.22Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))),{}),cup:(0,a.jsx)(e=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"a"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),l.createElement("g",{clipPath:"url(#a)"},l.createElement("path",{d:"M16.619 3.039A1.748 1.748 0 0 0 16.25 3h-8.5a1.733 1.733 0 0 0-.968.292 1.757 1.757 0 0 0-.743 1.09c-.026.12-.039.242-.039.368V5H4.361c-.147 0-.256.006-.328.019-.13.023-.25.063-.36.12a1.243 1.243 0 0 0-.307.227 1.242 1.242 0 0 0-.347.667A2.058 2.058 0 0 0 3 6.361V8.75a3.249 3.249 0 0 0 .537 1.79 3.254 3.254 0 0 0 1.448 1.204 3.256 3.256 0 0 0 1.096.252 5.996 5.996 0 0 0 .39 1.34 6.009 6.009 0 0 0 1.286 1.907 6.003 6.003 0 0 0 2.94 1.616c.182.04.367.072.553.095V19.5h-4.5c-.42 0-.75.33-.75.75s.33.75.75.75h10.5c.42 0 .75-.33.75-.75s-.33-.75-.75-.75h-4.5v-2.546a5.838 5.838 0 0 0 1.586-.426 5.976 5.976 0 0 0 2.678-2.229 5.998 5.998 0 0 0 .905-2.303 3.217 3.217 0 0 0 1.622-.533 3.245 3.245 0 0 0 .922-.922A3.246 3.246 0 0 0 21 8.75V6.361c0-.147-.006-.256-.019-.328a1.241 1.241 0 0 0-1.014-1.014A2.058 2.058 0 0 0 19.639 5H18v-.25a1.746 1.746 0 0 0-.291-.967 1.743 1.743 0 0 0-.778-.645 1.738 1.738 0 0 0-.312-.1ZM7.75 4.5h8.5c.03.012.152.049.177.073.012.03.073.143.073.177V11a4.504 4.504 0 0 1-.353 1.752 4.487 4.487 0 0 1-1.686 2.017 4.496 4.496 0 0 1-4.212.378 4.472 4.472 0 0 1-1.431-.965 4.512 4.512 0 0 1-.965-1.43A4.469 4.469 0 0 1 7.5 11V4.75c.012-.03.049-.152.073-.177.025-.024.148-.06.177-.073Zm-3.25 2H6v3.983a1.73 1.73 0 0 1-.15-.029h-.001a1.744 1.744 0 0 1-1.068-.752A1.734 1.734 0 0 1 4.5 8.75V6.5Zm13.65 3.955c-.05.011-.1.02-.15.028V6.5h1.5v2.25a1.752 1.752 0 0 1-.281.952 1.76 1.76 0 0 1-1.07.753Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))),{}),shield:(0,a.jsx)(e=>l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M11.855 2c-.67 0-1.331.142-1.942.416L4.625 4.789A2.752 2.752 0 0 0 3 7.301v3.71c0 4.11 1.819 6.78 3.814 8.445a13.032 13.032 0 0 0 4.788 2.492c.261.07.533.069.792.002.68-.177 2.8-.81 4.766-2.309 1.986-1.513 3.84-3.935 3.84-7.63v-4.71a2.752 2.752 0 0 0-1.625-2.512l-5.287-2.373A4.747 4.747 0 0 0 12.145 2h-.29Zm-1.329 1.787a3.245 3.245 0 0 1 1.33-.285h.289c.458 0 .91.097 1.329.285L18.76 6.16c.45.201.739.648.739 1.14v4.712c0 3.108-1.53 5.125-3.248 6.434-1.738 1.324-3.639 1.895-4.234 2.05a.058.058 0 0 1-.031 0c-.587-.156-2.48-.745-4.212-2.192C6.065 16.875 4.5 14.608 4.5 11.01V7.3c0-.493.289-.94.739-1.141l5.287-2.373Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})),{}),"coat-of-arms":(0,a.jsx)(e=>l.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"a"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),l.createElement("g",{clipPath:"url(#a)"},l.createElement("path",{d:"M10.22 3.28a.747.747 0 0 1-.165-.242A.745.745 0 0 1 10 2.75q0-.375.188-.563Q10.374 2 10.75 2h2.5c.104 0 .2.018.288.055.088.037.17.091.242.165.177.176.266.353.266.53 0 .177-.089.354-.266.53l-1.25 1.25q-.265.265-.53.265c-.177 0-.354-.088-.53-.265l-1.25-1.25ZM12 7.19l3.22-3.22a.722.722 0 0 1 .53-.22c.207 0 .384.073.53.22l1.25 1.25a.741.741 0 0 1 .22.53q0 .155-.055.288-.055.132-.165.242-.11.11-.242.165-.133.055-.288.055h-.849l-2.036 3.054.122.123c.171.17.3.36.385.566.085.206.128.43.128.671l1 .086c.083 0 .146-.02.188-.063.041-.041.062-.104.062-.187v-.25a.743.743 0 0 1 .186-.494l3.5-4a.744.744 0 0 1 .564-.256c.104 0 .2.018.288.055.088.037.17.091.242.165a.747.747 0 0 1 .165.242A.745.745 0 0 1 21 6.5v4.256c0 .69-.127 1.325-.38 1.905a4.716 4.716 0 0 1-1.138 1.575L17.26 16.3a.737.737 0 0 1-.361.185.736.736 0 0 1-.405-.03l-1.145-.416 1.712 1.711H18c.42 0 .75.33.75.75s-.33.75-.75.75h-1.25a.746.746 0 0 1-.288-.055.744.744 0 0 1-.242-.165l-2.077-2.076c-.115.08-.248.145-.396.193l2.14 3.458c.037.06.065.123.084.19q.015.05.022.102.007.05.007.103a.722.722 0 0 1-.22.53.722.722 0 0 1-.53.22h-6.5a.75.75 0 0 1-.395-.112.723.723 0 0 1-.335-.466.746.746 0 0 1-.013-.293.744.744 0 0 1 .105-.274l2.141-3.458a1.474 1.474 0 0 1-.396-.193L7.78 19.03q-.11.11-.242.165a.746.746 0 0 1-.288.055H6c-.42 0-.75-.33-.75-.75s.33-.75.75-.75h.94l1.71-1.711-1.144.416a.736.736 0 0 1-.405.03.737.737 0 0 1-.361-.185l-2.222-2.064a4.716 4.716 0 0 1-1.139-1.575Q3 11.791 3 10.756V6.5a.753.753 0 0 1 .256-.564.723.723 0 0 1 .544-.184.722.722 0 0 1 .514.254l3.5 4a.743.743 0 0 1 .174.36Q8 10.432 8 10.5v.25c0 .083.02.146.063.188.041.041.104.062.187.062h1c0-.242.043-.551.128-.758q.128-.309.385-.565l.122-.123L7.849 6.5H7a.749.749 0 0 1-.75-.75c0-.104.018-.2.055-.288a.745.745 0 0 1 .165-.242l1.25-1.25a.722.722 0 0 1 .53-.22c.207 0 .384.073.53.22L12 7.19Zm-1.425.696.899 1.348a.746.746 0 0 1-.094.946l-.557.557c-.012.03-.073.143-.073.177v.836a.722.722 0 0 1-.22.53.722.722 0 0 1-.53.22H8.25c-.583 0-1.02-.146-1.313-.438-.286-.286-.432-.713-.437-1.28l-2-2.286v2.26q0 .708.26 1.303c.173.398.432.757.779 1.078l1.885 1.752 2.32-.844a.722.722 0 0 1 .573.025.722.722 0 0 1 .388.424.744.744 0 0 1 .034.126l.008.064q.003.033.003.066v.75c0 .083.02.146.063.188.041.041.104.062.187.062h.536c.177 0 .331.053.464.16.06-.036.192-.112.259-.131a.746.746 0 0 1 .205-.029H13c.083 0 .146-.02.188-.063.041-.041.062-.104.062-.187v-.75c0-.207.073-.384.22-.53a.722.722 0 0 1 .66-.209.744.744 0 0 1 .126.034l2.32.844 1.885-1.752c.347-.321.606-.68.78-1.077.172-.397.259-.832.259-1.304v-2.26l-2 2.286c-.005.567-.151.994-.438 1.28-.291.292-.729.438-1.312.438H14a.722.722 0 0 1-.53-.22.722.722 0 0 1-.22-.53v-.836c-.012-.03-.049-.152-.073-.177l-.557-.557a.729.729 0 0 1-.216-.456.745.745 0 0 1 .122-.49l.899-1.348-.895.894A.722.722 0 0 1 12 9a.722.722 0 0 1-.53-.22l-.895-.894ZM12 17.175l-1.904 3.075h3.808L12 17.175Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))),{}),"octostar-check":(0,a.jsx)(e=>l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M10.005 2.865a2.73 2.73 0 0 1 3.99 0l.854.914c.245.262.59.405.949.393l1.25-.042a2.73 2.73 0 0 1 2.821 2.821l-.042 1.25c-.012.358.131.704.393.949l.914.854a2.73 2.73 0 0 1 0 3.99l-.914.854c-.262.245-.405.59-.393.949l.042 1.25a2.73 2.73 0 0 1-2.821 2.821l-1.25-.042a1.242 1.242 0 0 0-.949.393l-.854.914a2.73 2.73 0 0 1-3.99 0l-.854-.914a1.242 1.242 0 0 0-.949-.393l-1.25.042a2.73 2.73 0 0 1-2.821-2.821l.042-1.25a1.241 1.241 0 0 0-.393-.949l-.914-.854a2.73 2.73 0 0 1 0-3.99l.914-.854c.262-.245.405-.59.393-.949l-.042-1.25A2.73 2.73 0 0 1 6.952 4.13l1.25.042c.358.012.704-.131.949-.393l.854-.914Zm2.902 1.017a1.241 1.241 0 0 0-1.814 0l-.854.914a2.73 2.73 0 0 1-2.087.865l-1.25-.043a1.241 1.241 0 0 0-1.283 1.283l.043 1.25a2.73 2.73 0 0 1-.865 2.087l-.914.854a1.241 1.241 0 0 0 0 1.814l.914.854c.576.538.891 1.3.865 2.087l-.043 1.25a1.241 1.241 0 0 0 1.283 1.283l1.25-.043a2.731 2.731 0 0 1 2.087.865l.854.914c.49.525 1.323.525 1.814 0l.854-.914a2.731 2.731 0 0 1 2.087-.865l1.25.043a1.241 1.241 0 0 0 1.283-1.283l-.043-1.25a2.73 2.73 0 0 1 .865-2.087l.914-.854a1.241 1.241 0 0 0 0-1.814l-.914-.854a2.73 2.73 0 0 1-.865-2.087l.043-1.25a1.241 1.241 0 0 0-1.283-1.283l-1.25.043a2.73 2.73 0 0 1-2.087-.865l-.854-.914ZM15.03 9.97a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 0 1-1.06 0l-1.5-1.5a.75.75 0 1 1 1.06-1.06l.97.97 2.47-2.47a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})),{}),"shield-check":(0,a.jsx)(e=>l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M9.913 2.416A4.747 4.747 0 0 1 11.855 2h.29c.67 0 1.331.142 1.943.416l5.287 2.373A2.752 2.752 0 0 1 21 7.3v4.712c0 3.694-1.854 6.116-3.84 7.63-1.965 1.497-4.086 2.131-4.766 2.308a1.558 1.558 0 0 1-.792-.002 13.032 13.032 0 0 1-4.788-2.492C4.819 17.79 3 15.121 3 11.011V7.3c0-1.086.637-2.068 1.625-2.512l5.288-2.373Zm1.942 1.086c-.458 0-.91.097-1.329.285L5.24 6.16A1.25 1.25 0 0 0 4.5 7.3v3.71c0 3.598 1.566 5.866 3.275 7.293 1.732 1.448 3.625 2.037 4.212 2.193a.058.058 0 0 0 .03 0c.596-.155 2.497-.726 4.235-2.05 1.717-1.309 3.248-3.326 3.248-6.434V7.3a1.25 1.25 0 0 0-.739-1.14l-5.287-2.373a3.245 3.245 0 0 0-1.33-.285h-.289ZM15.78 9.22a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06 0l-2-2a.75.75 0 1 1 1.06-1.06l1.47 1.47 3.47-3.47a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})),{})},tP=({highlights:e})=>{if(!e||!e.items.length)return null;let{items:t,heading:r}=e;return(0,a.jsxs)(g,{variant:"secondary",dataQa:"login-widget-highlights",children:[r&&(0,a.jsx)(T,{as:"h5",type:"h5",className:"mb-2",dataQa:"login-widget-highlights-heading",children:r}),(0,a.jsx)("ul",{className:tL.list,"data-qa":"login-widget-highlights-list",children:(0,a.jsx)(a.Fragment,{children:t.map(({text:e,icon:t})=>(0,a.jsxs)("li",{className:tL.item,"data-qa":"login-widget-highlights-list-item",children:[(0,a.jsx)("div",{className:tL.icon,"data-qa":"login-widget-highlights-list-icon",children:t_[t]||t_.check}),(0,a.jsx)($,{as:"p",dataQa:"login-widget-highlights-list-text",children:e})]},`${e}--${t}`))})})]})};tP.displayName="Highlights";let tO={legalInfo:"_legalInfo_1o9mv_61"},t$=({legalInfo:e,onAnalyticsEvent:t})=>{if(!e||Object.values(e).every(e=>!e))return null;let{plain:r,html:n,md:i}=e,s=i?tf.parse(i):n??"";return(0,a.jsx)("div",{className:tO.legalInfo,"data-qa":"login-widget-legal-info",children:r?(0,a.jsx)(tE,{template:r,onLinkClick:e=>{null==t||t({eventCategory:"login-widget",eventAction:"click_link_legal_info",eventLabel:e})}}):(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:s},onClick:e=>{let{href:r}=e.target;r&&(null==t||t({eventCategory:"login-widget",eventAction:"click_link_legal_info",eventLabel:r}))}})})};t$.displayName="LegalInfo";let tD={DAY:["день","дня","дней"],MONTH:["мес.","мес.","мес."],YEAR:["год","года","лет"],TERMLESS:["бессрочный","бессрочный","бессрочный"]},tz={deposit:"Вклад",credit:"Кредит",bond:"Облигация",account:"Счет","banking-account":"Банковский счет"},tI={productCard:"_productCard_1kl4e_61","--credits":"_--credits_1kl4e_64",detailRate:"_detailRate_1kl4e_64","--bond":"_--bond_1kl4e_67",headingWrap:"_headingWrap_1kl4e_71",wrapper:"_wrapper_1kl4e_79",info:"_info_1kl4e_85",logo:"_logo_1kl4e_91",textWrapper:"_textWrapper_1kl4e_100",text:"_text_1kl4e_100",label:"_label_1kl4e_124",details:"_details_1kl4e_140",detail:"_detail_1kl4e_64",detailTitle:"_detailTitle_1kl4e_152",detailValue:"_detailValue_1kl4e_158"},tN=({title:e,value:t,className:r,...n})=>(0,a.jsxs)("div",{className:tI.detail,...n,children:[(0,a.jsx)($,{dataQa:"login-widget-product-card-detail-title",className:tI.detailTitle,children:e}),(0,a.jsx)($,{dataQa:"login-widget-product-card-detail-value",className:((0,s.A)(tI.detailValue),r),children:t})]});tN.displayName="ProductDetail";let tR=({params:e})=>{if(!e)return null;let{amount:t,rate:r}=e??{},n=(e=>{if(!(e instanceof Date))return null;let t=String(e.getDate()).padStart(2,"0"),r=String(e.getMonth()+1).padStart(2,"0"),n=e.getFullYear();return`${t}.${r}.${n}`})(e.endDate),i=e.term,l=[{id:"params-rate",title:"Ставка",value:`${r}%`},{id:"params-amount",title:"Сумма",value:`${function(e,t){try{let r,{hasCurrencySymbol:n=!0,currencyCode:i,decimalCount:a=tm.decimalCount,decimalSeparator:s=tm.decimalSeparator,thousandsSeparator:l=tm.thousandsSeparator,decimalIsWithoutZeros:o=tm.decimalIsWithoutZeros,preventLargeNumbers:d=tm.preventLargeNumbers}=t||{},c=e;if("string"==typeof c&&(c=c.replace(/\s+/g,"").replace(",",".")),c=Number(c)||0,d&&(r=function(e,t){if(e>=1e9){let r=(Math.floor(e/1e9*1e3)/1e3).toString();return r.includes(".")?r.replace(".",",").replace(/0+$/,"")+t+"млрд":r+t+"млрд"}if(e>=1e6){let r=(Math.floor(e/1e6*1e3)/1e3).toString();return r.includes(".")?r.replace(".",",").replace(/0+$/,"")+t+"млн":r+t+"млн"}return e>=1e4&&e<=99999?Math.trunc(e):e}(c,l)),!d||d&&"number"==typeof r){let e=Number(null!=r?r:c),t=d&&e>1e3?0:function(e){let t=Math.abs(Number(e));return Number.isNaN(t)?tm.decimalCount:t}(a),n=Math.abs(e).toFixed(t),i=parseInt(n,10);r=function({money:e,moneyInt:t,thousandsSeparator:r}){let n=t.toString(),i=RegExp(n.length>4?"(\\d{3})(?=\\d)":"(\\d{4})(?=\\d)","g"),a=n.length>4?n.length%3:0,s=a?n.substr(0,a)+r:"";return(e<0?"-":"")+s+n.substr(a).replace(i,`$1${r}`)}({money:e,moneyInt:i,thousandsSeparator:l})+function({money:e,moneyInt:t,decimalCount:r,decimalSeparator:n,decimalIsWithoutZeros:i}){let a=Math.abs(e-t).toFixed(r),s=i?a.slice(2).replace(/0+$/,""):a.slice(2);return!r||0===(Number(e)||0)||i&&0===parseFloat(a)||""===s?"":n+s}({money:Number(n),moneyInt:i,decimalCount:t,decimalSeparator:s,decimalIsWithoutZeros:o})}return r+(n?`\xa0${tg[i]||tg.RUB}`:"")}catch(e){return console.log(e),""}}(null==t?void 0:t.value,{preventLargeNumbers:!0,currencyCode:(null==t?void 0:t.currency)??"RUB"})}`},{id:i?"params-term":n?"params-end-date":"",title:i?"Срок":n?"Погашение":"",value:i?`${function(e,t,r=!1){if(!Array.isArray(t))throw Error("Plurals must be type of Array<String>");let[n,i,a]=t,s=Math.abs(+e);return(s%=100)>=5&&s<=20?r?a:`${e} ${a}`:1==(s%=10)?r?n:`${e} ${n}`:s>=2&&s<=4?r?i:`${e} ${i}`:r?a:`${e} ${a}`}(i.value,tD[i.type??"DAY"])}`:n||""}];return(0,a.jsx)("div",{className:tI.details,"data-qa":"login-widget-product-card-details",children:l.map(({id:e,title:t,value:r})=>(0,a.jsx)(tN,{"data-qa":`login-widget-product-card-detail-${e}`,title:t,value:r,className:(0,s.A)({[tI.detailRate]:"params-rate"===e})},e))})};tR.displayName="ProductDetails";let tj=({productInfo:e,s3AssetsUrl:t,className:r,onAnalyticsEvent:n})=>{let i=(0,l.useRef)(null),o=!e||!Object.keys(e).length,d=!i.current||!Object.keys(i.current).length;if((0,l.useEffect)(()=>{var t;o&&!d?null==n||n({eventCategory:"login-widget",eventAction:"view_product_delete",eventLabel:(null==(t=i.current)?void 0:t.type)??void 0}):!o&&d?null==n||n({eventCategory:"login-widget",eventAction:"view_product_add",eventLabel:e.type??void 0}):o||d||null==n||n({eventCategory:"login-widget",eventAction:"view_product_update",eventLabel:e.type??void 0}),i.current=e},[e]),o)return null;let{title:c,label:u,type:h,params:p,provider:f}=e,m=K(t,`/images/logo-brandmark-bank-${null==f?void 0:f.code}.svg`),v=null==f?void 0:f.code,w=h?tz[h]:"";return(0,a.jsxs)(g,{variant:"secondary",className:(0,s.A)(tI.productCard,{[tI[`--${h}`]??""]:!0},r),dataQa:"login-widget-product-card",children:[(0,a.jsxs)("div",{className:(0,s.A)("mb-3",tI.headingWrap),children:[(0,a.jsx)(T,{as:"h5",type:"h5",dataQa:"login-widget-product-card-heading",children:"Выбранный продукт"}),u&&(0,a.jsx)(z.vw,{label:u,rounded:!0,size:"s",variant:"red",dataQa:"login-widget-product-card-label"})]}),(0,a.jsxs)("div",{className:tI.wrapper,children:[(0,a.jsxs)("div",{className:tI.info,"data-qa":"login-widget-product-card-info",children:[v&&(0,a.jsx)("img",{className:tI.logo,loading:"lazy",width:"100%",height:"36px",src:m,alt:"Логотип продукта","data-qa":"login-widget-product-card-logo"}),(0,a.jsxs)("div",{className:tI.textWrapper,children:[w&&(0,a.jsx)($,{as:"p",dataQa:"login-widget-product-card-title",className:tI.text,children:w}),c&&(0,a.jsx)($,{as:"p",dataQa:"login-widget-product-card-text",className:tI.text,children:c})]})]}),(0,a.jsx)(tR,{params:p})]})]})};tj.displayName="ProductCard";let tF={loginWidget:"_loginWidget_1v0li_61",wrapper:"_wrapper_1v0li_76",heading:"_heading_1v0li_81",description:"_description_1v0li_82"},tH=({serverConfig:e,baseUrl:t,s3AssetsUrl:r="",config:n,product:i,productContext:o,customerType:d,query:c,isSilent:u,skeleton:h=(0,a.jsx)("p",{children:"Загружаем данные..."}),className:p,style:f,overrideLoginAction:m,onMount:v,onDestroy:w,onAnalyticsEvent:y,...b})=>{let[x,k]=(0,l.useState)(),[C,A]=(0,l.useState)(),{getConfig:E,getHref:S}=(e=>{let{serverConfig:t={},baseUrl:r,apiBaseUrl:n,autoFetch:i=!0,product:a,productContext:s,customerType:o,isSilent:d,config:c,query:u={},onMount:h,onDestroy:p,onAnalyticsEvent:f}=e,{requiredIdentLevel:g,targetUri:m,fallbackUri:v,...w}=u??{},[y,b]=(0,l.useState)(null),[x,k]=(0,l.useState)(i),C=(0,l.useCallback)(async()=>{try{k(!0);let e=await eg(n,(null==a?void 0:a.type)??void 0);b(e)}catch(e){throw Error(`Unknown fetch error: ${e}`)}finally{k(!1)}},[]);(0,l.useEffect)(()=>(null==h||h(),null==f||f({eventCategory:"login-widget",eventAction:"mount_login_widget"}),()=>{null==p||p(),null==f||f({eventCategory:"login-widget",eventAction:"unmount_login_widget"})}),[]),(0,l.useEffect)(()=>{i&&C()},[i,C]);let A=i?y:t,T=((e,t)=>{var r,n;let i=r=>(null==t?void 0:t[r])===null?null:(null==t?void 0:t[r])??(null==e?void 0:e[r]),a={theme:(null==t?void 0:t.theme)??"light",variant:(null==t?void 0:t.variant)??"primary",primaryTextOverride:null==t?void 0:t.primaryTextOverride,additionalTextOverride:null==t?void 0:t.additionalTextOverride,extraTextOverride:null==t?void 0:t.extraTextOverride,title:i("title"),description:i("description"),highlights:i("highlights"),consents:null==e?void 0:e.consents,legalInfo:null==e?void 0:e.legalInfo,availableAuthProviders:null==e?void 0:e.availableAuthProviders},s=(e=[],t)=>void 0!==t?e.filter(e=>t.includes(e)):e,l=(e,t)=>({...e,primaryAuthProviders:s(null==e?void 0:e.primaryAuthProviders,t),additionalAuthProviders:s(null==e?void 0:e.additionalAuthProviders,t),extraAuthProviders:s(null==e?void 0:e.extraAuthProviders,t)}),o=null==e?void 0:e.availableAuthProviders,d=!(null!=t&&t.primaryAuthProviders)&&!(null!=(r=null==t?void 0:t.additionalAuthProviders)&&r.length)&&!(null!=(n=null==t?void 0:t.extraAuthProviders)&&n.length);if(!t||d)return{...e&&l(e,o),...a};let c=l(t,o);return c.primaryAuthProviders.length>0||c.additionalAuthProviders.length>0||c.extraAuthProviders.length>0?{...c,...a}:{...e&&l(e,o),...a}})(A,c);return{getConfig:()=>({...T}),getHref:(e,t)=>(function(e,t){let r=function e(t="",r){let n=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=""]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!function(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?Y.test(e):Z.test(e)||!!t.acceptRelative&&Q.test(e)}(t,{acceptRelative:!0}))return r?e(r+t):ee(t);let[,i="",a,s=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,l="",o=""]=s.match(/([^#/?]*)(.*)?/)||[];"file:"===i&&(o=o.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:d,search:c,hash:u}=ee(o);return{protocol:i.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:l,pathname:d,search:c,hash:u,[J]:!i}}(e),n={...function(e=""){let t=Object.create(null);for(let r of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=r.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let n=W(e[1].replace(F," "));if("__proto__"===n||"constructor"===n)continue;let i=W((e[2]||"").replace(F," "));void 0===t[n]?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]}return t}(r.search),...t};return r.search=Object.keys(n).filter(e=>void 0!==n[e]).map(e=>{var t;return(("number"==typeof(t=n[e])||"boolean"==typeof t)&&(t=String(t)),t)?Array.isArray(t)?t.map(t=>`${V(e)}=${G(t)}`).join("&"):`${V(e)}=${G(t)}`:V(e)}).filter(Boolean).join("&"),function(e){let t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",i=e.auth?e.auth+"@":"",a=e.host||"";return(e.protocol||e[J]?(e.protocol||"")+"//":"")+i+a+t+r+n}(r)})(K(r,"/registration"),{...w,scenario:((e,t=!1)=>t?ep(e).replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"):ep(e))(JSON.stringify(((e="ESIA",t={})=>({version:"v2",customerType:o,product:a,productContext:s,isSilent:d,requiredIdentLevel:g,targetUri:m,fallbackUri:v,authProvider:e,consents:Object.fromEntries(((null==A?void 0:A.consents)??[]).map(e=>[e.key,e.value])),...t}))(e,t)),!0)}),isPending:x}})({apiBaseUrl:"",autoFetch:!1,baseUrl:t,product:i,productContext:o,customerType:d,query:c,isSilent:u,config:n,serverConfig:e,onMount:v,onDestroy:w,onAnalyticsEvent:y}),{theme:M,variant:L="primary",title:_,description:P,highlights:O,withLogo:D,isNewYearLogo:I,legalInfo:N,consents:R=[],primaryTextOverride:j,additionalTextOverride:H,extraTextOverride:B,primaryAuthProviders:q,additionalAuthProviders:U=[],extraAuthProviders:X=[]}=E(),{buttonsList:et}=(e=>{let{providers:t,getHref:r,scenarioOptions:n}=e,i=e=>e?e.map(e=>({...ty[e],href:r(e,n),type:e,caption:ty[e].caption,icon:(0,l.createElement)(ty[e].icon),secondaryIcon:ty[e].secondaryIcon?(0,l.createElement)(ty[e].secondaryIcon):void 0})):[],{primary:a=[],additional:s=[],extra:o=[]}=t,d=i(a),c=i(s),u=i(o);return{primaryButtons:d,additionalButtons:c,extraButtons:u,buttonsList:[{type:"primary",buttons:d},{type:"additional",buttons:c},{type:"extra",buttons:u}]}})({providers:{primary:q,additional:U,extra:X},getHref:S,scenarioOptions:{consents:x}}),er=et.some(({buttons:e})=>e.length>0),en="primary"===L?g:"div",ei=C?z.m_:"div",ea=(0,l.useCallback)(e=>{A(e)},[]),es=(0,l.useMemo)(()=>i??{},[JSON.stringify(i)]);return e?Object.keys(e).length?(0,a.jsx)("div",{className:(0,s.A)(tF.loginWidget,p),style:f,...b,"data-auth-widgets-theme":M,"data-qa":"login-widget",children:(0,a.jsxs)(en,{className:tF.wrapper,children:[(0,a.jsx)(tw,{s3AssetsUrl:r,withLogo:D,isNewYearLogo:I,dataQa:"login-widget-logo"}),(_||P)&&(0,a.jsxs)("div",{children:[_&&(0,a.jsx)(T,{type:"h2",className:tF.heading,dataQa:"login-widget-heading",children:_}),P&&(0,a.jsx)($,{as:"p",fontFamily:"secondary",size:"14",className:(0,s.A)(tF.description),dataQa:"login-widget-description",children:P})]}),er?(0,a.jsx)(ei,{text:C?"Чтобы войти в личный кабинет, подтвердите свое согласие:":"",...C?{dataQa:"login-widget-tooltip"}:{},children:(0,a.jsx)(tT,{buttonsList:et,disabled:C,primaryTextOverride:j,additionalTextOverride:H,extraTextOverride:B,overrideLoginAction:m,onAnalyticsEvent:e=>{null==y||y(e)}})}):(0,a.jsx)($,{as:"p",weight:"bold",size:"20",dataQa:"login-widget-providers-empty",style:{textAlign:"center"},className:"mb-2",children:"Возникла техническая ошибка. Выберите другой способ входа или попробуйте войти позже"}),(0,a.jsx)(tM,{consents:R,onAgree:e=>{k(e)},onError:ea,onAnalyticsEvent:y}),(0,a.jsx)(tj,{productInfo:es,s3AssetsUrl:r,onAnalyticsEvent:y}),(0,a.jsx)(tP,{highlights:O??null}),(0,a.jsx)(t$,{legalInfo:N,onAnalyticsEvent:y})]})}):(0,a.jsx)("p",{children:"Возникла техническая ошибка. Попробуйте позже"}):(0,a.jsx)(a.Fragment,{children:h})};tH.displayName="LoginWidget"},21740:(e,t,r)=>{r.d(t,{EW:()=>v,F2:()=>m,Go:()=>h,O_:()=>p,Pg:()=>d,RS:()=>i,WZ:()=>y,YE:()=>g,YF:()=>o,gR:()=>a,jo:()=>w,nr:()=>c,tZ:()=>f,uo:()=>s});var n=r(84974);function i(e){let t=e.activeElement;for(;(null==(r=t)||null==(r=r.shadowRoot)?void 0:r.activeElement)!=null;){var r;t=t.shadowRoot.activeElement}return t}function a(e,t){if(!e||!t)return!1;let r=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&(0,n.Ng)(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function s(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function l(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:r}=e;return t+"/"+r}).join(" "):navigator.userAgent}function o(e){return 0===e.mozInputSource&&!!e.isTrusted||(u()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function d(e){return!l().includes("jsdom/")&&(!u()&&0===e.width&&0===e.height||u()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function c(){return/apple/i.test(navigator.vendor)}function u(){let e=/android/i;return e.test(s())||e.test(l())}function h(e,t){let r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function p(e){return"nativeEvent"in e}function f(e){return e.matches("html,body")}function g(e){return(null==e?void 0:e.ownerDocument)||document}function m(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function v(e){return"composedPath"in e?e.composedPath()[0]:e.target}function w(e){e.preventDefault(),e.stopPropagation()}function y(e){return!!e&&"combobox"===e.getAttribute("role")&&(0,n.sb)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}},25148:(e,t,r)=>{r.d(t,{A:()=>n});function n(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}},27888:(e,t,r)=>{let n,i,a;r.d(t,{RC:()=>G,qr:()=>V});var s=r(14232),l=r(42370),o=r(64569);function d(){return n||(n=function(){let e=(0,l.a)(),t=(0,l.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),n}function c(e){return void 0===e&&(e={}),i||(i=function(e){let{userAgent:t}=void 0===e?{}:e,r=d(),n=(0,l.a)(),i=n.navigator.platform,a=t||n.navigator.userAgent,s={ios:!1,android:!1},o=n.screen.width,c=n.screen.height,u=a.match(/(Android);?[\s\/]+([\d.]+)?/),h=a.match(/(iPad).*OS\s([\d_]+)/),p=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!h&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g="MacIntel"===i;return!h&&g&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${c}`)>=0&&((h=a.match(/(Version)\/([\d.]+)/))||(h=[0,1,"13_0_0"]),g=!1),u&&"Win32"!==i&&(s.os="android",s.android=!0),(h||f||p)&&(s.os="ios",s.ios=!0),s}(e)),i}function u(){return a||(a=function(){let e=(0,l.a)(),t=c(),r=!1;function n(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(n()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));r=e<16||16===e&&n<2}}let i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=n(),s=a||i&&t.ios;return{isSafari:r||a,needPerspectiveFix:r,need3dFix:s,isWebView:i}}()),a}let h=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},p=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},f=(e,t)=>{if(!e||e.destroyed||!e.params)return;let r=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(r){let t=r.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(r.shadowRoot?t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},g=(e,t)=>{if(!e.slides[t])return;let r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},m=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);let n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let r=[i-t];r.push(...Array.from({length:t}).map((e,t)=>i+n+t)),e.slides.forEach((t,n)=>{r.includes(t.column)&&g(e,n)});return}let a=i+n-1;if(e.params.rewind||e.params.loop)for(let n=i-t;n<=a+t;n+=1){let t=(n%r+r)%r;(t<i||t>a)&&g(e,t)}else for(let n=Math.max(i-t,0);n<=Math.min(a+t,r-1);n+=1)n!==i&&(n>a||n<i)&&g(e,n)};function v(e){let{swiper:t,runCallbacks:r,direction:n,step:i}=e,{activeIndex:a,previousIndex:s}=t,l=n;if(l||(l=a>s?"next":a<s?"prev":"reset"),t.emit(`transition${i}`),r&&a!==s){if("reset"===l)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===l?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}function w(e,t,r){let n=(0,l.a)(),{params:i}=e,a=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return!a||!(r<=s)&&!(r>=n.innerWidth-s)||"prevent"===a&&(t.preventDefault(),!0)}function y(e){let t=(0,l.g)(),r=e;r.originalEvent&&(r=r.originalEvent);let n=this.touchEventsData;if("pointerdown"===r.type){if(null!==n.pointerId&&n.pointerId!==r.pointerId)return;n.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(n.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void w(this,r,r.targetTouches[0].pageX);let{params:i,touches:a,enabled:s}=this;if(!s||!i.simulateTouch&&"mouse"===r.pointerType||this.animating&&i.preventInteractionOnTransition)return;!this.animating&&i.cssMode&&i.loop&&this.loopFix();let d=r.target;if("wrapper"===i.touchEventsTarget&&!(0,o.v)(d,this.wrapperEl)||"which"in r&&3===r.which||"button"in r&&r.button>0||n.isTouched&&n.isMoved)return;let c=!!i.noSwipingClass&&""!==i.noSwipingClass,u=r.composedPath?r.composedPath():r.path;c&&r.target&&r.target.shadowRoot&&u&&(d=u[0]);let h=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,p=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(r){if(!r||r===(0,l.g)()||r===(0,l.a)())return null;r.assignedSlot&&(r=r.assignedSlot);let n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(h,d):d.closest(h))){this.allowClick=!0;return}if(i.swipeHandler&&!d.closest(i.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;let f=a.currentX,g=a.currentY;if(!w(this,r,f))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=f,a.startY=g,n.touchStartTime=(0,o.d)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,i.threshold>0&&(n.allowThresholdMove=!1);let m=!0;d.matches(n.focusableElements)&&(m=!1,"SELECT"===d.nodeName&&(n.isTouched=!1)),t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==d&&("mouse"===r.pointerType||"mouse"!==r.pointerType&&!d.matches(n.focusableElements))&&t.activeElement.blur();let v=m&&this.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||v)&&!d.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&this.freeMode&&this.animating&&!i.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",r)}function b(e){let t,r,n=(0,l.g)(),i=this.touchEventsData,{params:a,touches:s,rtlTranslate:d,enabled:c}=this;if(!c||!a.simulateTouch&&"mouse"===e.pointerType)return;let u=e;if(u.originalEvent&&(u=u.originalEvent),"pointermove"===u.type&&(null!==i.touchId||u.pointerId!==i.pointerId))return;if("touchmove"===u.type){if(!(t=[...u.changedTouches].find(e=>e.identifier===i.touchId))||t.identifier!==i.touchId)return}else t=u;if(!i.isTouched){i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",u);return}let h=t.pageX,p=t.pageY;if(u.preventedByNestedSwiper){s.startX=h,s.startY=p;return}if(!this.allowTouchMove){u.target.matches(i.focusableElements)||(this.allowClick=!1),i.isTouched&&(Object.assign(s,{startX:h,startY:p,currentX:h,currentY:p}),i.touchStartTime=(0,o.d)());return}if(a.touchReleaseOnEdges&&!a.loop){if(this.isVertical()){if(p<s.startY&&this.translate<=this.maxTranslate()||p>s.startY&&this.translate>=this.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(d&&(h>s.startX&&-this.translate<=this.maxTranslate()||h<s.startX&&-this.translate>=this.minTranslate()))return;else if(!d&&(h<s.startX&&this.translate<=this.maxTranslate()||h>s.startX&&this.translate>=this.minTranslate()))return}if(n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==u.target&&"mouse"!==u.pointerType&&n.activeElement.blur(),n.activeElement&&u.target===n.activeElement&&u.target.matches(i.focusableElements)){i.isMoved=!0,this.allowClick=!1;return}i.allowTouchCallbacks&&this.emit("touchMove",u),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=h,s.currentY=p;let f=s.currentX-s.startX,g=s.currentY-s.startY;if(this.params.threshold&&Math.sqrt(f**2+g**2)<this.params.threshold)return;if(void 0===i.isScrolling){let e;this.isHorizontal()&&s.currentY===s.startY||this.isVertical()&&s.currentX===s.startX?i.isScrolling=!1:f*f+g*g>=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,i.isScrolling=this.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&this.emit("touchMoveOpposite",u),void 0===i.startMoving&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(i.startMoving=!0),i.isScrolling||"touchmove"===u.type&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;this.allowClick=!1,!a.cssMode&&u.cancelable&&u.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&u.stopPropagation();let m=this.isHorizontal()?f:g,v=this.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;a.oneWayMovement&&(m=Math.abs(m)*(d?1:-1),v=Math.abs(v)*(d?1:-1)),s.diff=m,m*=a.touchRatio,d&&(m=-m,v=-v);let w=this.touchesDirection;this.swipeDirection=m>0?"prev":"next",this.touchesDirection=v>0?"prev":"next";let y=this.params.loop&&!a.cssMode,b="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!i.isMoved){if(y&&b&&this.loopFix({direction:this.swipeDirection}),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,a.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",u)}if(new Date().getTime(),!1!==a._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&w!==this.touchesDirection&&y&&b&&Math.abs(m)>=1){Object.assign(s,{startX:h,startY:p,currentX:h,currentY:p,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}this.emit("sliderMove",u),i.isMoved=!0,i.currentTranslate=m+i.startTranslate;let x=!0,k=a.resistanceRatio;if(a.touchReleaseOnEdges&&(k=0),m>0?(y&&b&&!r&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==a.slidesPerView&&this.slides.length-a.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>this.minTranslate()&&(x=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+i.startTranslate+m)**k))):m<0&&(y&&b&&!r&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==a.slidesPerView&&this.slides.length-a.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===a.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<this.maxTranslate()&&(x=!1,a.resistance&&(i.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-i.startTranslate-m)**k))),x&&(u.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),this.allowSlidePrev||this.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0)if(Math.abs(m)>a.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,s.diff=this.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{i.currentTranslate=i.startTranslate;return}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&this.freeMode||a.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}function x(e){let t,r,n=this,i=n.touchEventsData,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(!(t=[...a.changedTouches].find(e=>e.identifier===i.touchId))||t.identifier!==i.touchId)return}else{if(null!==i.touchId||a.pointerId!==i.pointerId)return;t=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&!(["pointercancel","contextmenu"].includes(a.type)&&(n.browser.isSafari||n.browser.isWebView)))return;i.pointerId=null,i.touchId=null;let{params:s,touches:l,rtlTranslate:d,slidesGrid:c,enabled:u}=n;if(!u||!s.simulateTouch&&"mouse"===a.pointerType)return;if(i.allowTouchCallbacks&&n.emit("touchEnd",a),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&s.grabCursor&&n.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}s.grabCursor&&i.isMoved&&i.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);let h=(0,o.d)(),p=h-i.touchStartTime;if(n.allowClick){let e=a.path||a.composedPath&&a.composedPath();n.updateClickedSlide(e&&e[0]||a.target,e),n.emit("tap click",a),p<300&&h-i.lastClickTime<300&&n.emit("doubleTap doubleClick",a)}if(i.lastClickTime=(0,o.d)(),(0,o.n)(()=>{n.destroyed||(n.allowClick=!0)}),!i.isTouched||!i.isMoved||!n.swipeDirection||0===l.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,r=s.followFinger?d?n.translate:-n.translate:-i.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void n.freeMode.onTouchEnd({currentPos:r});let f=r>=-n.maxTranslate()&&!n.params.loop,g=0,m=n.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<s.slidesPerGroupSkip?1:s.slidesPerGroup){let t=e<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==c[e+t]?(f||r>=c[e]&&r<c[e+t])&&(g=e,m=c[e+t]-c[e]):(f||r>=c[e])&&(g=e,m=c[c.length-1]-c[c.length-2])}let v=null,w=null;s.rewind&&(n.isBeginning?w=s.virtual&&s.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(v=0));let y=(r-c[g])/m,b=g<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(p>s.longSwipesMs){if(!s.longSwipes)return void n.slideTo(n.activeIndex);"next"===n.swipeDirection&&(y>=s.longSwipesRatio?n.slideTo(s.rewind&&n.isEnd?v:g+b):n.slideTo(g)),"prev"===n.swipeDirection&&(y>1-s.longSwipesRatio?n.slideTo(g+b):null!==w&&y<0&&Math.abs(y)>s.longSwipesRatio?n.slideTo(w):n.slideTo(g))}else{if(!s.shortSwipes)return void n.slideTo(n.activeIndex);n.navigation&&(a.target===n.navigation.nextEl||a.target===n.navigation.prevEl)?a.target===n.navigation.nextEl?n.slideTo(g+b):n.slideTo(g):("next"===n.swipeDirection&&n.slideTo(null!==v?v:g+b),"prev"===n.swipeDirection&&n.slideTo(null!==w?w:g))}}function k(){let e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:i,snapGrid:a}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let l=s&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function C(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function A(){let{wrapperEl:e,rtlTranslate:t,enabled:r}=this;if(!r)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function T(e){f(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function E(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let S=(e,t)=>{let r=(0,l.g)(),{params:n,el:i,wrapperEl:a,device:s}=e,o=!!n.nested,d="on"===t?"addEventListener":"removeEventListener";i&&"string"!=typeof i&&(r[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),i[d]("touchstart",e.onTouchStart,{passive:!1}),i[d]("pointerdown",e.onTouchStart,{passive:!1}),r[d]("touchmove",e.onTouchMove,{passive:!1,capture:o}),r[d]("pointermove",e.onTouchMove,{passive:!1,capture:o}),r[d]("touchend",e.onTouchEnd,{passive:!0}),r[d]("pointerup",e.onTouchEnd,{passive:!0}),r[d]("pointercancel",e.onTouchEnd,{passive:!0}),r[d]("touchcancel",e.onTouchEnd,{passive:!0}),r[d]("pointerout",e.onTouchEnd,{passive:!0}),r[d]("pointerleave",e.onTouchEnd,{passive:!0}),r[d]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[d]("click",e.onClick,!0),n.cssMode&&a[d]("scroll",e.onScroll),n.updateOnWindowResize?e[t](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",k,!0):e[t]("observerUpdate",k,!0),i[d]("load",e.onLoad,{capture:!0}))},M=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var L={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let _={eventsEmitter:{on(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;let i=r?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)}),n},once(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;function i(){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var r=arguments.length,a=Array(r),s=0;s<r;s++)a[s]=arguments[s];t.apply(n,a)}return i.__emitterProxy=t,n.on(e,i,r)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach((n,i)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1)})}),r},emit(){let e,t,r,n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return"string"==typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),r=n):(e=a[0].events,t=a[0].data,r=a[0].context||n),t.unshift(r),(Array.isArray(e)?e:e.split(" ")).forEach(e=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(n=>{n.apply(r,[e,...t])}),n.eventsListeners&&n.eventsListeners[e]&&n.eventsListeners[e].forEach(e=>{e.apply(r,t)})}),n}},update:{updateSize:function(){let e,t,r=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:r.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:r.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,o.p)(r,"padding-left")||0,10)-parseInt((0,o.p)(r,"padding-right")||0,10),t=t-parseInt((0,o.p)(r,"padding-top")||0,10)-parseInt((0,o.p)(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e,t=this;function r(e,r){return parseFloat(e.getPropertyValue(t.getDirectionLabel(r))||0)}let n=t.params,{wrapperEl:i,slidesEl:a,size:s,rtlTranslate:l,wrongRTL:d}=t,c=t.virtual&&n.virtual.enabled,u=c?t.virtual.slides.length:t.slides.length,h=(0,o.e)(a,`.${t.params.slideClass}, swiper-slide`),p=c?t.virtual.slides.length:h.length,f=[],g=[],m=[],v=n.slidesOffsetBefore;"function"==typeof v&&(v=n.slidesOffsetBefore.call(t));let w=n.slidesOffsetAfter;"function"==typeof w&&(w=n.slidesOffsetAfter.call(t));let y=t.snapGrid.length,b=t.slidesGrid.length,x=n.spaceBetween,k=-v,C=0,A=0;if(void 0===s)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*s:"string"==typeof x&&(x=parseFloat(x)),t.virtualSize=-x,h.forEach(e=>{l?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&((0,o.s)(i,"--swiper-centered-offset-before",""),(0,o.s)(i,"--swiper-centered-offset-after",""));let T=n.grid&&n.grid.rows>1&&t.grid;T?t.grid.initSlides(h):t.grid&&t.grid.unsetSlides();let E="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i<p;i+=1){let a;if(e=0,h[i]&&(a=h[i]),T&&t.grid.updateSlide(i,a,h),!h[i]||"none"!==(0,o.p)(a,"display")){if("auto"===n.slidesPerView){E&&(h[i].style[t.getDirectionLabel("width")]="");let s=getComputedStyle(a),l=a.style.transform,d=a.style.webkitTransform;if(l&&(a.style.transform="none"),d&&(a.style.webkitTransform="none"),n.roundLengths)e=t.isHorizontal()?(0,o.f)(a,"width",!0):(0,o.f)(a,"height",!0);else{let t=r(s,"width"),n=r(s,"padding-left"),i=r(s,"padding-right"),l=r(s,"margin-left"),o=r(s,"margin-right"),d=s.getPropertyValue("box-sizing");if(d&&"border-box"===d)e=t+l+o;else{let{clientWidth:r,offsetWidth:s}=a;e=t+n+i+l+o+(s-r)}}l&&(a.style.transform=l),d&&(a.style.webkitTransform=d),n.roundLengths&&(e=Math.floor(e))}else e=(s-(n.slidesPerView-1)*x)/n.slidesPerView,n.roundLengths&&(e=Math.floor(e)),h[i]&&(h[i].style[t.getDirectionLabel("width")]=`${e}px`);h[i]&&(h[i].swiperSlideSize=e),m.push(e),n.centeredSlides?(k=k+e/2+C/2+x,0===C&&0!==i&&(k=k-s/2-x),0===i&&(k=k-s/2-x),.001>Math.abs(k)&&(k=0),n.roundLengths&&(k=Math.floor(k)),A%n.slidesPerGroup==0&&f.push(k),g.push(k)):(n.roundLengths&&(k=Math.floor(k)),(A-Math.min(t.params.slidesPerGroupSkip,A))%t.params.slidesPerGroup==0&&f.push(k),g.push(k),k=k+e+x),t.virtualSize+=e+x,C=e,A+=1}}if(t.virtualSize=Math.max(t.virtualSize,s)+w,l&&d&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${t.virtualSize+x}px`),n.setWrapperSize&&(i.style[t.getDirectionLabel("width")]=`${t.virtualSize+x}px`),T&&t.grid.updateWrapperSize(e,f),!n.centeredSlides){let e=[];for(let r=0;r<f.length;r+=1){let i=f[r];n.roundLengths&&(i=Math.floor(i)),f[r]<=t.virtualSize-s&&e.push(i)}f=e,Math.floor(t.virtualSize-s)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-s)}if(c&&n.loop){let e=m[0]+x;if(n.slidesPerGroup>1){let r=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),i=e*n.slidesPerGroup;for(let e=0;e<r;e+=1)f.push(f[f.length-1]+i)}for(let r=0;r<t.virtual.slidesBefore+t.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&f.push(f[f.length-1]+e),g.push(g[g.length-1]+e),t.virtualSize+=e}if(0===f.length&&(f=[0]),0!==x){let e=t.isHorizontal()&&l?"marginLeft":t.getDirectionLabel("marginRight");h.filter((e,t)=>!n.cssMode||!!n.loop||t!==h.length-1).forEach(t=>{t.style[e]=`${x}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;m.forEach(t=>{e+=t+(x||0)});let t=(e-=x)>s?e-s:0;f=f.map(e=>e<=0?-v:e>t?t+w:e)}if(n.centerInsufficientSlides){let e=0;m.forEach(t=>{e+=t+(x||0)}),e-=x;let t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<s){let r=(s-e-t)/2;f.forEach((e,t)=>{f[t]=e-r}),g.forEach((e,t)=>{g[t]=e+r})}}if(Object.assign(t,{slides:h,snapGrid:f,slidesGrid:g,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,o.s)(i,"--swiper-centered-offset-before",`${-f[0]}px`),(0,o.s)(i,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);let e=-t.snapGrid[0],r=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+r)}if(p!==u&&t.emit("slidesLengthChange"),f.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),g.length!==b&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!c&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){let e=`${n.containerModifierClass}backface-hidden`,r=t.el.classList.contains(e);p<=n.maxBackfaceHiddenSlides?r||t.el.classList.add(e):r&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t,r=this,n=[],i=r.virtual&&r.params.virtual.enabled,a=0;"number"==typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed);let s=e=>i?r.slides[r.getSlideIndexByData(e)]:r.slides[e];if("auto"!==r.params.slidesPerView&&r.params.slidesPerView>1)if(r.params.centeredSlides)(r.visibleSlides||[]).forEach(e=>{n.push(e)});else for(t=0;t<Math.ceil(r.params.slidesPerView);t+=1){let e=r.activeIndex+t;if(e>r.slides.length&&!i)break;n.push(s(e))}else n.push(s(r.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){let e=n[t].offsetHeight;a=e>a?e:a}(a||0===a)&&(r.wrapperEl.style.height=`${a}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(this.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:r,rtlTranslate:n,snapGrid:i}=this;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&this.updateSlidesOffset();let a=-e;n&&(a=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let s=t.spaceBetween;"string"==typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*this.size:"string"==typeof s&&(s=parseFloat(s));for(let e=0;e<r.length;e+=1){let l=r[e],o=l.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(o-=r[0].swiperSlideOffset);let d=(a+(t.centeredSlides?this.minTranslate():0)-o)/(l.swiperSlideSize+s),c=(a-i[0]+(t.centeredSlides?this.minTranslate():0)-o)/(l.swiperSlideSize+s),u=-(a-o),p=u+this.slidesSizesGrid[e],f=u>=0&&u<=this.size-this.slidesSizesGrid[e],g=u>=0&&u<this.size-1||p>1&&p<=this.size||u<=0&&p>=this.size;g&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(e)),h(l,g,t.slideVisibleClass),h(l,f,t.slideFullyVisibleClass),l.progress=n?-d:d,l.originalProgress=n?-c:c}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,r=this.maxTranslate()-this.minTranslate(),{progress:n,isBeginning:i,isEnd:a,progressLoop:s}=this,l=i,o=a;if(0===r)n=0,i=!0,a=!0;else{n=(e-this.minTranslate())/r;let t=1>Math.abs(e-this.minTranslate()),s=1>Math.abs(e-this.maxTranslate());i=t||n<=0,a=s||n>=1,t&&(n=0),s&&(n=1)}if(t.loop){let t=this.getSlideIndexByData(0),r=this.getSlideIndexByData(this.slides.length-1),n=this.slidesGrid[t],i=this.slidesGrid[r],a=this.slidesGrid[this.slidesGrid.length-1],l=Math.abs(e);(s=l>=n?(l-n)/a:(l+a-i)/a)>1&&(s-=1)}Object.assign(this,{progress:n,progressLoop:s,isBeginning:i,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),i&&!l&&this.emit("reachBeginning toEdge"),a&&!o&&this.emit("reachEnd toEdge"),(l&&!i||o&&!a)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){let e,t,r,{slides:n,params:i,slidesEl:a,activeIndex:s}=this,l=this.virtual&&i.virtual.enabled,d=this.grid&&i.grid&&i.grid.rows>1,c=e=>(0,o.e)(a,`.${i.slideClass}${e}, swiper-slide${e}`)[0];if(l)if(i.loop){let t=s-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=c(`[data-swiper-slide-index="${t}"]`)}else e=c(`[data-swiper-slide-index="${s}"]`);else d?(e=n.find(e=>e.column===s),r=n.find(e=>e.column===s+1),t=n.find(e=>e.column===s-1)):e=n[s];e&&!d&&(r=(0,o.q)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!r&&(r=n[0]),t=(0,o.r)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop),n.forEach(n=>{p(n,n===e,i.slideActiveClass),p(n,n===r,i.slideNextClass),p(n,n===t,i.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,r,n=this,i=n.rtlTranslate?n.translate:-n.translate,{snapGrid:a,params:s,activeIndex:l,realIndex:o,snapIndex:d}=n,c=e,u=e=>{let t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t,{slidesGrid:r,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<r.length;e+=1)void 0!==r[e+1]?i>=r[e]&&i<r[e+1]-(r[e+1]-r[e])/2?t=e:i>=r[e]&&i<r[e+1]&&(t=e+1):i>=r[e]&&(t=e);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(n)),a.indexOf(i)>=0)t=a.indexOf(i);else{let e=Math.min(s.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/s.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),c===l&&!n.params.loop){t!==d&&(n.snapIndex=t,n.emit("snapIndexChange"));return}if(c===l&&n.params.loop&&n.virtual&&n.params.virtual.enabled){n.realIndex=u(c);return}let h=n.grid&&s.grid&&s.grid.rows>1;if(n.virtual&&s.virtual.enabled&&s.loop)r=u(c);else if(h){let e=n.slides.find(e=>e.column===c),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(n.slides.indexOf(e),0)),r=Math.floor(t/s.grid.rows)}else if(n.slides[c]){let e=n.slides[c].getAttribute("data-swiper-slide-index");r=e?parseInt(e,10):c}else r=c;Object.assign(n,{previousSnapIndex:d,snapIndex:t,previousRealIndex:o,realIndex:r,previousIndex:l,activeIndex:c}),n.initialized&&m(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(o!==r&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(e,t){let r,n=this.params,i=e.closest(`.${n.slideClass}, swiper-slide`);!i&&this.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(i=e)});let a=!1;if(i){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===i){a=!0,r=e;break}}if(i&&a)this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=r;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}n.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:r,translate:n,wrapperEl:i}=this;if(t.virtualTranslate)return r?-n:n;if(t.cssMode)return n;let a=(0,o.j)(i,e);return a+=this.cssOverflowAdjustment(),r&&(a=-a),a||0},setTranslate:function(e,t){let{rtlTranslate:r,params:n,wrapperEl:i,progress:a}=this,s=0,l=0;this.isHorizontal()?s=r?-e:e:l=e,n.roundLengths&&(s=Math.floor(s),l=Math.floor(l)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?s:l,n.cssMode?i[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-s:-l:n.virtualTranslate||(this.isHorizontal()?s-=this.cssOverflowAdjustment():l-=this.cssOverflowAdjustment(),i.style.transform=`translate3d(${s}px, ${l}px, 0px)`);let o=this.maxTranslate()-this.minTranslate();(0===o?0:(e-this.minTranslate())/o)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,r,n,i){let a;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),void 0===n&&(n=!0);let s=this,{params:l,wrapperEl:d}=s;if(s.animating&&l.preventInteractionOnTransition)return!1;let c=s.minTranslate(),u=s.maxTranslate();if(a=n&&e>c?c:n&&e<u?u:e,s.updateProgress(a),l.cssMode){let e=s.isHorizontal();if(0===t)d[e?"scrollLeft":"scrollTop"]=-a;else{if(!s.support.smoothScroll)return(0,o.t)({swiper:s,targetPosition:-a,side:e?"left":"top"}),!0;d.scrollTo({[e?"left":"top"]:-a,behavior:"smooth"})}return!0}return 0===t?(s.setTransition(0),s.setTranslate(a),r&&(s.emit("beforeTransitionStart",t,i),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(a),r&&(s.emit("beforeTransitionStart",t,i),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,r&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let{params:r}=this;r.cssMode||(r.autoHeight&&this.updateAutoHeight(),v({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:r}=this;this.animating=!1,r.cssMode||(this.setTransition(0),v({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,r,n,i){let a;void 0===e&&(e=0),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));let s=this,l=e;l<0&&(l=0);let{params:d,snapGrid:c,slidesGrid:h,previousIndex:p,activeIndex:f,rtlTranslate:g,wrapperEl:m,enabled:v}=s;if(!v&&!n&&!i||s.destroyed||s.animating&&d.preventInteractionOnTransition)return!1;void 0===t&&(t=s.params.speed);let w=Math.min(s.params.slidesPerGroupSkip,l),y=w+Math.floor((l-w)/s.params.slidesPerGroup);y>=c.length&&(y=c.length-1);let b=-c[y];if(d.normalizeSlideIndex)for(let e=0;e<h.length;e+=1){let t=-Math.floor(100*b),r=Math.floor(100*h[e]),n=Math.floor(100*h[e+1]);void 0!==h[e+1]?t>=r&&t<n-(n-r)/2?l=e:t>=r&&t<n&&(l=e+1):t>=r&&(l=e)}if(s.initialized&&l!==f&&(!s.allowSlideNext&&(g?b>s.translate&&b>s.minTranslate():b<s.translate&&b<s.minTranslate())||!s.allowSlidePrev&&b>s.translate&&b>s.maxTranslate()&&(f||0)!==l))return!1;l!==(p||0)&&r&&s.emit("beforeSlideChangeStart"),s.updateProgress(b),a=l>f?"next":l<f?"prev":"reset";let x=s.virtual&&s.params.virtual.enabled;if(!(x&&i)&&(g&&-b===s.translate||!g&&b===s.translate))return s.updateActiveIndex(l),d.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==d.effect&&s.setTranslate(b),"reset"!==a&&(s.transitionStart(r,a),s.transitionEnd(r,a)),!1;if(d.cssMode){let e=s.isHorizontal(),r=g?b:-b;if(0===t)x&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),x&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=r})):m[e?"scrollLeft":"scrollTop"]=r,x&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return(0,o.t)({swiper:s,targetPosition:r,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}let k=u().isSafari;return x&&!i&&k&&s.isElement&&s.virtual.update(!1,!1,l),s.setTransition(t),s.setTranslate(b),s.updateActiveIndex(l),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(r,a),0===t?s.transitionEnd(r,a):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(r,a))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,r,n){void 0===e&&(e=0),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));let i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);let a=i.grid&&i.params.grid&&i.params.grid.rows>1,s=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)s+=i.virtual.slidesBefore;else{let e;if(a){let t=s*i.params.grid.rows;e=i.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===t).column}else e=i.getSlideIndexByData(s);let t=a?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:r}=i.params,l=i.params.slidesPerView;"auto"===l?l=i.slidesPerViewDynamic():(l=Math.ceil(parseFloat(i.params.slidesPerView,10)),r&&l%2==0&&(l+=1));let o=t-e<l;if(r&&(o=o||e<Math.ceil(l/2)),n&&r&&"auto"!==i.params.slidesPerView&&!a&&(o=!1),o){let n=r?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?i.realIndex:void 0})}if(a){let e=s*i.params.grid.rows;s=i.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e).column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame(()=>{i.slideTo(s,t,r,n)}),i},slideNext:function(e,t,r){void 0===t&&(t=!0);let n=this,{enabled:i,params:a,animating:s}=n;if(!i||n.destroyed)return n;void 0===e&&(e=n.params.speed);let l=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(l=Math.max(n.slidesPerViewDynamic("current",!0),1));let o=n.activeIndex<a.slidesPerGroupSkip?1:l,d=n.virtual&&a.virtual.enabled;if(a.loop){if(s&&!d&&a.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+o,e,t,r)}),!0}return a.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+o,e,t,r)},slidePrev:function(e,t,r){void 0===t&&(t=!0);let n=this,{params:i,snapGrid:a,slidesGrid:s,rtlTranslate:l,enabled:o,animating:d}=n;if(!o||n.destroyed)return n;void 0===e&&(e=n.params.speed);let c=n.virtual&&i.virtual.enabled;if(i.loop){if(d&&!c&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=u(l?n.translate:-n.translate),p=a.map(e=>u(e)),f=i.freeMode&&i.freeMode.enabled,g=a[p.indexOf(h)-1];if(void 0===g&&(i.cssMode||f)){let e;a.forEach((t,r)=>{h>=t&&(e=r)}),void 0!==e&&(g=f?a[e]:a[e>0?e-1:e])}let m=0;if(void 0!==g&&((m=s.indexOf(g))<0&&(m=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=Math.max(m=m-n.slidesPerViewDynamic("previous",!0)+1,0))),i.rewind&&n.isBeginning){let i=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(i,e,t,r)}return i.loop&&0===n.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{n.slideTo(m,e,t,r)}),!0):n.slideTo(m,e,t,r)},slideReset:function(e,t,r){if(void 0===t&&(t=!0),!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,r)},slideToClosest:function(e,t,r,n){if(void 0===t&&(t=!0),void 0===n&&(n=.5),this.destroyed)return;void 0===e&&(e=this.params.speed);let i=this.activeIndex,a=Math.min(this.params.slidesPerGroupSkip,i),s=a+Math.floor((i-a)/this.params.slidesPerGroup),l=this.rtlTranslate?this.translate:-this.translate;if(l>=this.snapGrid[s]){let e=this.snapGrid[s];l-e>(this.snapGrid[s+1]-e)*n&&(i+=this.params.slidesPerGroup)}else{let e=this.snapGrid[s-1];l-e<=(this.snapGrid[s]-e)*n&&(i-=this.params.slidesPerGroup)}return i=Math.min(i=Math.max(i,0),this.slidesGrid.length-1),this.slideTo(i,e,t,r)},slideToClickedSlide:function(){let e,t=this;if(t.destroyed)return;let{params:r,slidesEl:n}=t,i="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView,a=t.clickedIndex,s=t.isElement?"swiper-slide":`.${r.slideClass}`;if(r.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),r.centeredSlides?a<t.loopedSlides-i/2||a>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),a=t.getSlideIndex((0,o.e)(n,`${s}[data-swiper-slide-index="${e}"]`)[0]),(0,o.n)(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-i?(t.loopFix(),a=t.getSlideIndex((0,o.e)(n,`${s}[data-swiper-slide-index="${e}"]`)[0]),(0,o.n)(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}},loop:{loopCreate:function(e,t){let r=this,{params:n,slidesEl:i}=r;if(!n.loop||r.virtual&&r.params.virtual.enabled)return;let a=r.grid&&n.grid&&n.grid.rows>1,s=n.slidesPerGroup*(a?n.grid.rows:1),l=r.slides.length%s!=0,d=a&&r.slides.length%n.grid.rows!=0,c=e=>{for(let t=0;t<e;t+=1){let e=r.isElement?(0,o.c)("swiper-slide",[n.slideBlankClass]):(0,o.c)("div",[n.slideClass,n.slideBlankClass]);r.slidesEl.append(e)}};l?n.loopAddBlankSlides?(c(s-r.slides.length%s),r.recalcSlides(),r.updateSlides()):(0,o.u)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):d&&(n.loopAddBlankSlides?(c(n.grid.rows-r.slides.length%n.grid.rows),r.recalcSlides(),r.updateSlides()):(0,o.u)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,o.e)(i,`.${n.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),r.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:r=!0,direction:n,setTranslate:i,activeSlideIndex:a,initial:s,byController:l,byMousewheel:d}=void 0===e?{}:e,c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");let{slides:u,allowSlidePrev:h,allowSlideNext:p,slidesEl:f,params:g}=c,{centeredSlides:m,initialSlide:v}=g;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&g.virtual.enabled){r&&(g.centeredSlides||0!==c.snapIndex?g.centeredSlides&&c.snapIndex<g.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=h,c.allowSlideNext=p,c.emit("loopFix");return}let w=g.slidesPerView;"auto"===w?w=c.slidesPerViewDynamic():(w=Math.ceil(parseFloat(g.slidesPerView,10)),m&&w%2==0&&(w+=1));let y=g.slidesPerGroupAuto?w:g.slidesPerGroup,b=y;b%y!=0&&(b+=y-b%y),c.loopedSlides=b+=g.loopAdditionalSlides;let x=c.grid&&g.grid&&g.grid.rows>1;u.length<w+b||"cards"===c.params.effect&&u.length<w+2*b?(0,o.u)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):x&&"row"===g.grid.fill&&(0,o.u)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let k=[],C=[],A=x?Math.ceil(u.length/g.grid.rows):u.length,T=s&&A-v<w&&!m,E=T?v:c.activeIndex;void 0===a?a=c.getSlideIndex(u.find(e=>e.classList.contains(g.slideActiveClass))):E=a;let S="next"===n||!n,M="prev"===n||!n,L=0,_=0,P=(x?u[a].column:a)+(m&&void 0===i?-w/2+.5:0);if(P<b){L=Math.max(b-P,y);for(let e=0;e<b-P;e+=1){let t=e-Math.floor(e/A)*A;if(x){let e=A-t-1;for(let t=u.length-1;t>=0;t-=1)u[t].column===e&&k.push(t)}else k.push(A-t-1)}}else if(P+w>A-b){_=Math.max(P-(A-2*b),y),T&&(_=Math.max(_,w-A+v+1));for(let e=0;e<_;e+=1){let t=e-Math.floor(e/A)*A;x?u.forEach((e,r)=>{e.column===t&&C.push(r)}):C.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),"cards"===c.params.effect&&u.length<w+2*b&&(C.includes(a)&&C.splice(C.indexOf(a),1),k.includes(a)&&k.splice(k.indexOf(a),1)),M&&k.forEach(e=>{u[e].swiperLoopMoveDOM=!0,f.prepend(u[e]),u[e].swiperLoopMoveDOM=!1}),S&&C.forEach(e=>{u[e].swiperLoopMoveDOM=!0,f.append(u[e]),u[e].swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===g.slidesPerView?c.updateSlides():x&&(k.length>0&&M||C.length>0&&S)&&c.slides.forEach((e,t)=>{c.grid.updateSlide(t,e,c.slides)}),g.watchSlidesProgress&&c.updateSlidesOffset(),r){if(k.length>0&&M){if(void 0===t){let e=c.slidesGrid[E],t=c.slidesGrid[E+L]-e;d?c.setTranslate(c.translate-t):(c.slideTo(E+Math.ceil(L),0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(i){let e=x?k.length/g.grid.rows:k.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(C.length>0&&S)if(void 0===t){let e=c.slidesGrid[E],t=c.slidesGrid[E-_]-e;d?c.setTranslate(c.translate-t):(c.slideTo(E-_,0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{let e=x?C.length/g.grid.rows:C.length;c.slideTo(c.activeIndex-e,0,!1,!0)}}if(c.allowSlidePrev=h,c.allowSlideNext=p,c.controller&&c.controller.control&&!l){let e={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===g.slidesPerView&&r})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===g.slidesPerView&&r})}c.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||!t||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let r=[];this.slides.forEach(e=>{r[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),r.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=y.bind(this),this.onTouchMove=b.bind(this),this.onTouchEnd=x.bind(this),this.onDocumentTouchStart=E.bind(this),e.cssMode&&(this.onScroll=A.bind(this)),this.onClick=C.bind(this),this.onLoad=T.bind(this),S(this,"on")},detachEvents:function(){S(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:r,params:n,el:i}=e,a=n.breakpoints;if(!a||a&&0===Object.keys(a).length)return;let s=(0,l.g)(),d="window"!==n.breakpointsBase&&n.breakpointsBase?"container":n.breakpointsBase,c=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?e.el:s.querySelector(n.breakpointsBase),u=e.getBreakpoint(a,d,c);if(!u||e.currentBreakpoint===u)return;let h=(u in a?a[u]:void 0)||e.originalParams,p=M(e,n),f=M(e,h),g=e.params.grabCursor,m=h.grabCursor,v=n.enabled;p&&!f?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&f&&(i.classList.add(`${n.containerModifierClass}grid`),(h.grid.fill&&"column"===h.grid.fill||!h.grid.fill&&"column"===n.grid.fill)&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),g&&!m?e.unsetGrabCursor():!g&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===h[t])return;let r=n[t]&&n[t].enabled,i=h[t]&&h[t].enabled;r&&!i&&e[t].disable(),!r&&i&&e[t].enable()});let w=h.direction&&h.direction!==n.direction,y=n.loop&&(h.slidesPerView!==n.slidesPerView||w),b=n.loop;w&&r&&e.changeDirection(),(0,o.w)(e.params,h);let x=e.params.enabled,k=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!x?e.disable():!v&&x&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",h),r&&(y?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&k?(e.loopCreate(t),e.updateSlides()):b&&!k&&e.loopDestroy()),e.emit("breakpoint",h)},getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let n=!1,i=(0,l.a)(),a="window"===t?i.innerHeight:r.clientHeight,s=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:a*parseFloat(e.substr(1)),point:e}:{value:e,point:e});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<s.length;e+=1){let{point:a,value:l}=s[e];"window"===t?i.matchMedia(`(min-width: ${l}px)`).matches&&(n=a):l<=r.clientWidth&&(n=a)}return n||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:r}=t;if(r){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*r;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:r,el:n,device:i}=this,a=function(e,t){let r=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&r.push(t+n)}):"string"==typeof e&&r.push(t+e)}),r}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:r},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),n.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},P={};class O{constructor(){let e,t;for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=(0,o.w)({},t),e&&!t.el&&(t.el=e);let a=(0,l.g)();if(t.el&&"string"==typeof t.el&&a.querySelectorAll(t.el).length>1){let e=[];return a.querySelectorAll(t.el).forEach(r=>{let n=(0,o.w)({},t,{el:r});e.push(new O(n))}),e}let s=this;s.__swiper__=!0,s.support=d(),s.device=c({userAgent:t.userAgent}),s.browser=u(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],t.modules&&Array.isArray(t.modules)&&s.modules.push(...t.modules);let h={};s.modules.forEach(e=>{e({params:t,swiper:s,extendParams:function(e,t){return function(r){void 0===r&&(r={});let n=Object.keys(r)[0],i=r[n];return"object"!=typeof i||null===i?void(0,o.w)(t,r):(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in i)?void("object"==typeof e[n]&&!("enabled"in e[n])&&(e[n].enabled=!0),!e[n]&&(e[n]={enabled:!1}),(0,o.w)(t,r)):void(0,o.w)(t,r)}}(t,h),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});let p=(0,o.w)({},L,h);return s.params=(0,o.w)({},p,P,t),s.originalParams=(0,o.w)({},s.params),s.passedParams=(0,o.w)({},t),s.params&&s.params.on&&Object.keys(s.params.on).forEach(e=>{s.on(e,s.params.on[e])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:r}=this,n=(0,o.e)(t,`.${r.slideClass}, swiper-slide`),i=(0,o.h)(n[0]);return(0,o.h)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e))}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,o.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let r=this.minTranslate(),n=(this.maxTranslate()-r)*e+r;this.translateTo(n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(r=>{let n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:r,slides:n,slidesGrid:i,slidesSizesGrid:a,size:s,activeIndex:l}=this,o=1;if("number"==typeof r.slidesPerView)return r.slidesPerView;if(r.centeredSlides){let e,t=n[l]?Math.ceil(n[l].swiperSlideSize):0;for(let r=l+1;r<n.length;r+=1)n[r]&&!e&&(t+=Math.ceil(n[r].swiperSlideSize),o+=1,t>s&&(e=!0));for(let r=l-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,o+=1,t>s&&(e=!0))}else if("current"===e)for(let e=l+1;e<n.length;e+=1)(t?i[e]+a[e]-i[l]<s:i[e]-i[l]<s)&&(o+=1);else for(let e=l-1;e>=0;e-=1)i[l]-i[e]<s&&(o+=1);return o}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:r,params:n}=t;function i(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&f(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){let r=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;e=t.slideTo(r.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}n.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let r=this.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${r}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(n()):(0,o.e)(r,n())[0];return!i&&t.params.createElements&&(i=(0,o.c)("div",t.params.wrapperClass),r.append(i),(0,o.e)(r,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:r,wrapperEl:i,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===(0,o.p)(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,o.p)(r,"direction")),wrongRTL:"-webkit-box"===(0,o.p)(i,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(e=>{e.complete?f(t,e):e.addEventListener("load",e=>{f(t,e.target)})}),m(t),t.initialized=!0,m(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let r=this,{params:n,el:i,wrapperEl:a,slides:s}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),a&&a.removeAttribute("style"),s&&s.length&&s.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(e=>{r.off(e)}),!1!==e&&(r.el&&"string"!=typeof r.el&&(r.el.swiper=null),(0,o.x)(r)),r.destroyed=!0),null}static extendDefaults(e){(0,o.w)(P,e)}static get extendedDefaults(){return P}static get defaults(){return L}static installModule(e){O.prototype.__modules__||(O.prototype.__modules__=[]);let t=O.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>O.installModule(e)):O.installModule(e),O}}Object.keys(_).forEach(e=>{Object.keys(_[e]).forEach(t=>{O.prototype[t]=_[e][t]})}),O.use([function(e){let{swiper:t,on:r,emit:n}=e,i=(0,l.a)(),a=null,s=null,o=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};r("init",()=>{if(t.params.resizeObserver&&void 0!==i.ResizeObserver)return void(t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver(e=>{s=i.requestAnimationFrame(()=>{let{width:r,height:n}=t,i=r,a=n;e.forEach(e=>{let{contentBoxSize:r,contentRect:n,target:s}=e;s&&s!==t.el||(i=n?n.width:(r[0]||r).inlineSize,a=n?n.height:(r[0]||r).blockSize)}),(i!==r||a!==n)&&o()})})).observe(t.el));i.addEventListener("resize",o),i.addEventListener("orientationchange",d)}),r("destroy",()=>{s&&i.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",d)})},function(e){let{swiper:t,extendParams:r,on:n,emit:i}=e,a=[],s=(0,l.a)(),d=function(e,r){void 0===r&&(r={});let n=new(s.MutationObserver||s.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void i("observerUpdate",e[0]);let r=function(){i("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(r):s.setTimeout(r,0)});n.observe(e,{attributes:void 0===r.attributes||r.attributes,childList:t.isElement||(void 0===r.childList||r).childList,characterData:void 0===r.characterData||r.characterData}),a.push(n)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(t.params.observer){if(t.params.observeParents){let e=(0,o.a)(t.hostEl);for(let t=0;t<e.length;t+=1)d(e[t])}d(t.hostEl,{childList:t.params.observeSlideChildren}),d(t.wrapperEl,{attributes:!1})}}),n("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]);let $=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function D(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function z(e,t){let r=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>r.indexOf(e)).forEach(r=>{void 0===e[r]?e[r]=t[r]:D(t[r])&&D(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:z(e[r],t[r]):e[r]=t[r]})}function I(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function N(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function R(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function j(e){void 0===e&&(e="");let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),r=[];return t.forEach(e=>{0>r.indexOf(e)&&r.push(e)}),r.join(" ")}function F(){return(F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function H(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function B(e,t){return"undefined"==typeof window?(0,s.useEffect)(e,t):(0,s.useLayoutEffect)(e,t)}let q=(0,s.createContext)(null),U=(0,s.createContext)(null),G=(0,s.forwardRef)(function(e,t){var r;let{className:n,tag:i="div",wrapperTag:a="div",children:l,onSwiper:o,...d}=void 0===e?{}:e,c=!1,[u,h]=(0,s.useState)("swiper"),[p,f]=(0,s.useState)(null),[g,m]=(0,s.useState)(!1),v=(0,s.useRef)(!1),w=(0,s.useRef)(null),y=(0,s.useRef)(null),b=(0,s.useRef)(null),x=(0,s.useRef)(null),k=(0,s.useRef)(null),C=(0,s.useRef)(null),A=(0,s.useRef)(null),T=(0,s.useRef)(null),{params:E,passedParams:S,rest:M,events:_}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);let r={on:{}},n={},i={};z(r,L),r._emitClasses=!0,r.init=!1;let a={},s=$.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(l=>{void 0!==e[l]&&(s.indexOf(l)>=0?D(e[l])?(r[l]={},i[l]={},z(r[l],e[l]),z(i[l],e[l])):(r[l]=e[l],i[l]=e[l]):0===l.search(/on[A-Z]/)&&"function"==typeof e[l]?t?n[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:r.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:a[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]}),{params:r,passedParams:i,rest:a,events:n}}(d),{slides:P,slots:q}=function(e){let t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return s.Children.toArray(e).forEach(e=>{if(H(e))t.push(e);else if(e.props&&e.props.slot&&r[e.props.slot])r[e.props.slot].push(e);else if(e.props&&e.props.children){let n=function e(t){let r=[];return s.Children.toArray(t).forEach(t=>{H(t)?r.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>r.push(e))}),r}(e.props.children);n.length>0?n.forEach(e=>t.push(e)):r["container-end"].push(e)}else r["container-end"].push(e)}),{slides:t,slots:r}}(l),G=()=>{m(!g)};Object.assign(E.on,{_containerClasses(e,t){h(t)}});let V=()=>{Object.assign(E.on,_),c=!0;let e={...E};if(delete e.wrapperClass,y.current=new O(e),y.current.virtual&&y.current.params.virtual.enabled){y.current.virtual.slides=P;let e={cache:!1,slides:P,renderExternal:f,renderExternalUpdate:!1};z(y.current.params.virtual,e),z(y.current.originalParams.virtual,e)}};return w.current||V(),y.current&&y.current.on("_beforeBreakpoint",G),(0,s.useEffect)(()=>()=>{y.current&&y.current.off("_beforeBreakpoint",G)}),(0,s.useEffect)(()=>{!v.current&&y.current&&(y.current.emitSlidesClasses(),v.current=!0)}),B(()=>{if(t&&(t.current=w.current),w.current)return y.current.destroyed&&V(),!function(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:a,scrollbarEl:s,swiper:l}=e;I(t)&&n&&i&&(l.params.navigation.nextEl=n,l.originalParams.navigation.nextEl=n,l.params.navigation.prevEl=i,l.originalParams.navigation.prevEl=i),N(t)&&a&&(l.params.pagination.el=a,l.originalParams.pagination.el=a),R(t)&&s&&(l.params.scrollbar.el=s,l.originalParams.scrollbar.el=s),l.init(r)}({el:w.current,nextEl:k.current,prevEl:C.current,paginationEl:A.current,scrollbarEl:T.current,swiper:y.current},E),o&&!y.current.destroyed&&o(y.current),()=>{y.current&&!y.current.destroyed&&y.current.destroy(!0,!1)}},[]),B(()=>{!c&&_&&y.current&&Object.keys(_).forEach(e=>{y.current.on(e,_[e])});let e=function(e,t,r,n,i){let a=[];if(!t)return a;let s=e=>{0>a.indexOf(e)&&a.push(e)};if(r&&n){let e=n.map(i),t=r.map(i);e.join("")!==t.join("")&&s("children"),n.length!==r.length&&s("children")}return $.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(r=>{if(r in e&&r in t)if(D(e[r])&&D(t[r])){let n=Object.keys(e[r]),i=Object.keys(t[r]);n.length!==i.length?s(r):(n.forEach(n=>{e[r][n]!==t[r][n]&&s(r)}),i.forEach(n=>{e[r][n]!==t[r][n]&&s(r)}))}else e[r]!==t[r]&&s(r)}),a}(S,b.current,P,x.current,e=>e.key);return b.current=S,x.current=P,e.length&&y.current&&!y.current.destroyed&&function(e){let t,r,n,i,a,s,l,o,{swiper:d,slides:c,passedParams:u,changedParams:h,nextEl:p,prevEl:f,scrollbarEl:g,paginationEl:m}=e,v=h.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:w,pagination:y,navigation:b,scrollbar:x,virtual:k,thumbs:C}=d;h.includes("thumbs")&&u.thumbs&&u.thumbs.swiper&&!u.thumbs.swiper.destroyed&&w.thumbs&&(!w.thumbs.swiper||w.thumbs.swiper.destroyed)&&(t=!0),h.includes("controller")&&u.controller&&u.controller.control&&w.controller&&!w.controller.control&&(r=!0),h.includes("pagination")&&u.pagination&&(u.pagination.el||m)&&(w.pagination||!1===w.pagination)&&y&&!y.el&&(n=!0),h.includes("scrollbar")&&u.scrollbar&&(u.scrollbar.el||g)&&(w.scrollbar||!1===w.scrollbar)&&x&&!x.el&&(i=!0),h.includes("navigation")&&u.navigation&&(u.navigation.prevEl||f)&&(u.navigation.nextEl||p)&&(w.navigation||!1===w.navigation)&&b&&!b.prevEl&&!b.nextEl&&(a=!0);let A=e=>{d[e]&&(d[e].destroy(),"navigation"===e?(d.isElement&&(d[e].prevEl.remove(),d[e].nextEl.remove()),w[e].prevEl=void 0,w[e].nextEl=void 0,d[e].prevEl=void 0,d[e].nextEl=void 0):(d.isElement&&d[e].el.remove(),w[e].el=void 0,d[e].el=void 0))};h.includes("loop")&&d.isElement&&(w.loop&&!u.loop?s=!0:!w.loop&&u.loop?l=!0:o=!0),v.forEach(e=>{if(D(w[e])&&D(u[e]))Object.assign(w[e],u[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in u[e]&&!u[e].enabled&&A(e);else{let t=u[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&A(e):w[e]=u[e]}}),v.includes("controller")&&!r&&d.controller&&d.controller.control&&w.controller&&w.controller.control&&(d.controller.control=w.controller.control),h.includes("children")&&c&&k&&w.virtual.enabled?(k.slides=c,k.update(!0)):h.includes("virtual")&&k&&w.virtual.enabled&&(c&&(k.slides=c),k.update(!0)),h.includes("children")&&c&&w.loop&&(o=!0),t&&C.init()&&C.update(!0),r&&(d.controller.control=w.controller.control),n&&(d.isElement&&(!m||"string"==typeof m)&&((m=document.createElement("div")).classList.add("swiper-pagination"),m.part.add("pagination"),d.el.appendChild(m)),m&&(w.pagination.el=m),y.init(),y.render(),y.update()),i&&(d.isElement&&(!g||"string"==typeof g)&&((g=document.createElement("div")).classList.add("swiper-scrollbar"),g.part.add("scrollbar"),d.el.appendChild(g)),g&&(w.scrollbar.el=g),x.init(),x.updateSize(),x.setTranslate()),a&&(d.isElement&&(p&&"string"!=typeof p||((p=document.createElement("div")).classList.add("swiper-button-next"),p.innerHTML=d.hostEl.constructor.nextButtonSvg,p.part.add("button-next"),d.el.appendChild(p)),f&&"string"!=typeof f||((f=document.createElement("div")).classList.add("swiper-button-prev"),f.innerHTML=d.hostEl.constructor.prevButtonSvg,f.part.add("button-prev"),d.el.appendChild(f))),p&&(w.navigation.nextEl=p),f&&(w.navigation.prevEl=f),b.init(),b.update()),h.includes("allowSlideNext")&&(d.allowSlideNext=u.allowSlideNext),h.includes("allowSlidePrev")&&(d.allowSlidePrev=u.allowSlidePrev),h.includes("direction")&&d.changeDirection(u.direction,!1),(s||o)&&d.loopDestroy(),(l||o)&&d.loopCreate(),d.update()}({swiper:y.current,slides:P,passedParams:S,changedParams:e,nextEl:k.current,prevEl:C.current,scrollbarEl:T.current,paginationEl:A.current}),()=>{_&&y.current&&Object.keys(_).forEach(e=>{y.current.off(e,_[e])})}}),B(()=>{var e;(e=y.current)&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},[p]),s.createElement(i,F({ref:w,className:j(`${u}${n?` ${n}`:""}`)},M),s.createElement(U.Provider,{value:y.current},q["container-start"],s.createElement(a,{className:(void 0===(r=E.wrapperClass)&&(r=""),r)?r.includes("swiper-wrapper")?r:`swiper-wrapper ${r}`:"swiper-wrapper"},q["wrapper-start"],E.virtual?function(e,t,r){if(!r)return null;let n=e=>{let r=e;return e<0?r=t.length+e:r>=t.length&&(r-=t.length),r},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:a,to:l}=r,o=e.params.loop?-t.length:0,d=e.params.loop?2*t.length:t.length,c=[];for(let e=o;e<d;e+=1)e>=a&&e<=l&&c.push(t[n(e)]);return c.map((t,r)=>s.cloneElement(t,{swiper:e,style:i,key:t.props.virtualIndex||t.key||`slide-${r}`}))}(y.current,P,p):P.map((e,t)=>s.cloneElement(e,{swiper:y.current,swiperSlideIndex:t})),q["wrapper-end"]),I(E)&&s.createElement(s.Fragment,null,s.createElement("div",{ref:C,className:"swiper-button-prev"}),s.createElement("div",{ref:k,className:"swiper-button-next"})),R(E)&&s.createElement("div",{ref:T,className:"swiper-scrollbar"}),N(E)&&s.createElement("div",{ref:A,className:"swiper-pagination"}),q["container-end"]))});G.displayName="Swiper";let V=(0,s.forwardRef)(function(e,t){let{tag:r="div",children:n,className:i="",swiper:a,zoom:l,lazy:o,virtualIndex:d,swiperSlideIndex:c,...u}=void 0===e?{}:e,h=(0,s.useRef)(null),[p,f]=(0,s.useState)("swiper-slide"),[g,m]=(0,s.useState)(!1);function v(e,t,r){t===h.current&&f(r)}B(()=>{if(void 0!==c&&(h.current.swiperSlideIndex=c),t&&(t.current=h.current),h.current&&a){if(a.destroyed){"swiper-slide"!==p&&f("swiper-slide");return}return a.on("_slideClass",v),()=>{a&&a.off("_slideClass",v)}}}),B(()=>{a&&h.current&&!a.destroyed&&f(a.getSlideClasses(h.current))},[a]);let w={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},y=()=>"function"==typeof n?n(w):n;return s.createElement(r,F({ref:h,className:j(`${p}${i?` ${i}`:""}`),"data-swiper-slide-index":d,onLoad:()=>{m(!0)}},u),l&&s.createElement(q.Provider,{value:w},s.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof l?l:void 0},y(),o&&!g&&s.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&s.createElement(q.Provider,{value:w},y(),o&&!g&&s.createElement("div",{className:"swiper-lazy-preloader"})))});V.displayName="SwiperSlide"},33392:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(78256),i=r(50236),a=r(320),s=r(25148);function l(e){(0,s.A)(1,arguments);var t=(0,n.A)(e);return Math.round(((0,i.A)(t).getTime()-(function(e){(0,s.A)(1,arguments);var t=(0,a.A)(e),r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),(0,i.A)(r)})(t).getTime())/6048e5)+1}},35518:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(53939),i=r(78256),a=r(25148);function s(e,t){return(0,a.A)(2,arguments),function(e,t){return(0,a.A)(2,arguments),new Date((0,i.A)(e).getTime()+(0,n.A)(t))}(e,-(0,n.A)(t))}},37475:(e,t,r)=>{r.d(t,{fY:()=>w,mh:()=>m,qY:()=>v});var n=!1;if("undefined"!=typeof window){var i={get passive(){n=!0;return}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var a="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),s=[],l=!1,o=-1,d=void 0,c=void 0,u=function(e){return s.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},h=function(e){var t=e||window.event;return!!u(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},p=function(e){if(void 0===c){var t=!!e&&!0===e.reserveScrollBarGap,r=window.innerWidth-document.documentElement.clientWidth;t&&r>0&&(c=document.body.style.paddingRight,document.body.style.paddingRight=r+"px")}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")},f=function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)},g=function(e,t){var r=e.targetTouches[0].clientY-o;return!u(e.target)&&(t&&0===t.scrollTop&&r>0?h(e):t&&t.scrollHeight-t.scrollTop<=t.clientHeight&&r<0?h(e):(e.stopPropagation(),!0))},m=function(e,t){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");!s.some(function(t){return t.targetElement===e})&&(s=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}(s),[{targetElement:e,options:t||{}}]),a?(e.ontouchstart=function(e){1===e.targetTouches.length&&(o=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&g(t,e)},l||(document.addEventListener("touchmove",h,n?{passive:!1}:void 0),l=!0)):p(t))},v=function(){a?(s.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),l&&(document.removeEventListener("touchmove",h,n?{passive:!1}:void 0),l=!1),o=-1):f(),s=[]},w=function(e){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");s=s.filter(function(t){return t.targetElement!==e}),a?(e.ontouchstart=null,e.ontouchmove=null,l&&0===s.length&&(document.removeEventListener("touchmove",h,n?{passive:!1}:void 0),l=!1)):s.length||f()}},41140:(e,t,r)=>{r.d(t,{A:()=>L});var n=r(11131),i=r(35518),a=r(78256),s=r(25148),l=r(33392),o=r(320),d=r(42574),c=r(64303);function u(e,t){for(var r=Math.abs(e).toString();r.length<t;)r="0"+r;return(e<0?"-":"")+r}let h={y:function(e,t){var r=e.getUTCFullYear(),n=r>0?r:1-r;return u("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):u(r+1,2)},d:function(e,t){return u(e.getUTCDate(),t.length)},h:function(e,t){return u(e.getUTCHours()%12||12,t.length)},H:function(e,t){return u(e.getUTCHours(),t.length)},m:function(e,t){return u(e.getUTCMinutes(),t.length)},s:function(e,t){return u(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length;return u(Math.floor(e.getUTCMilliseconds()*Math.pow(10,r-3)),t.length)}};var p={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function f(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;return 0===a?r+String(i):r+String(i)+(t||"")+u(a,2)}function g(e,t){return e%60==0?(e>0?"-":"+")+u(Math.abs(e)/60,2):m(e,t)}function m(e,t){var r=Math.abs(e);return(e>0?"-":"+")+u(Math.floor(r/60),2)+(t||"")+u(r%60,2)}let v={G:function(e,t,r){var n=+(e.getUTCFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear();return r.ordinalNumber(n>0?n:1-n,{unit:"year"})}return h.y(e,t)},Y:function(e,t,r,n){var i=(0,c.A)(e,n),a=i>0?i:1-i;return"YY"===t?u(a%100,2):"Yo"===t?r.ordinalNumber(a,{unit:"year"}):u(a,t.length)},R:function(e,t){return u((0,o.A)(e),t.length)},u:function(e,t){return u(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return u(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return u(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return h.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return u(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){var i=(0,d.A)(e,n);return"wo"===t?r.ordinalNumber(i,{unit:"week"}):u(i,t.length)},I:function(e,t,r){var n=(0,l.A)(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):u(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):h.d(e,t)},D:function(e,t,r){var n=function(e){(0,s.A)(1,arguments);var t=(0,a.A)(e),r=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((r-t.getTime())/864e5)+1}(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):u(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){var i=e.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return u(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){var i=e.getUTCDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return u(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){var n=e.getUTCDay(),i=0===n?7:n;switch(t){case"i":return String(i);case"ii":return u(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){var n,i=e.getUTCHours();switch(n=12===i?p.noon:0===i?p.midnight:i/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){var n,i=e.getUTCHours();switch(n=i>=17?p.evening:i>=12?p.afternoon:i>=4?p.morning:p.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return h.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):h.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):u(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):u(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):h.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):h.s(e,t)},S:function(e,t){return h.S(e,t)},X:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return g(i);case"XXXX":case"XX":return m(i);default:return m(i,":")}},x:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return g(i);case"xxxx":case"xx":return m(i);default:return m(i,":")}},O:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+f(i,":");default:return"GMT"+m(i,":")}},z:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+f(i,":");default:return"GMT"+m(i,":")}},t:function(e,t,r,n){return u(Math.floor((n._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,r,n){return u((n._originalDate||e).getTime(),t.length)}};var w=r(54083),y=r(14971),b=r(6226),x=r(53939),k=r(75085),C=r(14154),A=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,T=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,E=/^'([^]*?)'?$/,S=/''/g,M=/[a-zA-Z]/;function L(e,t,r){(0,s.A)(2,arguments);var l,o,d,c,u,h,p,f,g,m,L,_,P,O,$,D,z,I,N=String(t),R=(0,k.q)(),j=null!=(l=null!=(o=null==r?void 0:r.locale)?o:R.locale)?l:C.A,F=(0,x.A)(null!=(d=null!=(c=null!=(u=null!=(h=null==r?void 0:r.firstWeekContainsDate)?h:null==r||null==(p=r.locale)||null==(f=p.options)?void 0:f.firstWeekContainsDate)?u:R.firstWeekContainsDate)?c:null==(g=R.locale)||null==(m=g.options)?void 0:m.firstWeekContainsDate)?d:1);if(!(F>=1&&F<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=(0,x.A)(null!=(L=null!=(_=null!=(P=null!=(O=null==r?void 0:r.weekStartsOn)?O:null==r||null==($=r.locale)||null==(D=$.options)?void 0:D.weekStartsOn)?P:R.weekStartsOn)?_:null==(z=R.locale)||null==(I=z.options)?void 0:I.weekStartsOn)?L:0);if(!(H>=0&&H<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!j.localize)throw RangeError("locale must contain localize property");if(!j.formatLong)throw RangeError("locale must contain formatLong property");var B=(0,a.A)(e);if(!(0,n.A)(B))throw RangeError("Invalid time value");var q=(0,y.A)(B),U=(0,i.A)(B,q),G={firstWeekContainsDate:F,weekStartsOn:H,locale:j,_originalDate:B};return N.match(T).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,w.A[t])(e,j.formatLong):e}).join("").match(A).map(function(n){if("''"===n)return"'";var i,a,s=n[0];if("'"===s){return(a=(i=n).match(E))?a[1].replace(S,"'"):i}var l=v[s];if(l)return!(null!=r&&r.useAdditionalWeekYearTokens)&&(0,b.xM)(n)&&(0,b.lJ)(n,t,String(e)),!(null!=r&&r.useAdditionalDayOfYearTokens)&&(0,b.ef)(n)&&(0,b.lJ)(n,t,String(e)),l(U,n,j.localize,G);if(s.match(M))throw RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");return n}).join("")}},42370:(e,t,r)=>{function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={});let r=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>r.indexOf(e)).forEach(r=>{void 0===e[r]?e[r]=t[r]:n(t[r])&&n(e[r])&&Object.keys(t[r]).length>0&&i(e[r],t[r])})}r.d(t,{a:()=>o,g:()=>s});let a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function s(){let e="undefined"!=typeof document?document:{};return i(e,a),e}let l={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){let e="undefined"!=typeof window?window:{};return i(e,l),e}},42574:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(78256),i=r(57009),a=r(64303),s=r(25148),l=r(53939),o=r(75085);function d(e,t){(0,s.A)(1,arguments);var r=(0,n.A)(e);return Math.round(((0,i.A)(r,t).getTime()-(function(e,t){(0,s.A)(1,arguments);var r,n,d,c,u,h,p,f,g=(0,o.q)(),m=(0,l.A)(null!=(r=null!=(n=null!=(d=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(u=t.locale)||null==(h=u.options)?void 0:h.firstWeekContainsDate)?d:g.firstWeekContainsDate)?n:null==(p=g.locale)||null==(f=p.options)?void 0:f.firstWeekContainsDate)?r:1),v=(0,a.A)(e,t),w=new Date(0);return w.setUTCFullYear(v,0,m),w.setUTCHours(0,0,0,0),(0,i.A)(w,t)})(r,t).getTime())/6048e5)+1}},50236:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(78256),i=r(25148);function a(e){(0,i.A)(1,arguments);var t=(0,n.A)(e),r=t.getUTCDay();return t.setUTCDate(t.getUTCDate()-(7*(r<1)+r-1)),t.setUTCHours(0,0,0,0),t}},53939:(e,t,r)=>{r.d(t,{A:()=>n});function n(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}},54083:(e,t,r)=>{r.d(t,{A:()=>a});var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},i=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};let a={p:i,P:function(e,t){var r,a=e.match(/(P+)(p+)?/)||[],s=a[1],l=a[2];if(!l)return n(e,t);switch(s){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",n(s,t)).replace("{{time}}",i(l,t))}}},57009:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(78256),i=r(25148),a=r(53939),s=r(75085);function l(e,t){(0,i.A)(1,arguments);var r,l,o,d,c,u,h,p,f=(0,s.q)(),g=(0,a.A)(null!=(r=null!=(l=null!=(o=null!=(d=null==t?void 0:t.weekStartsOn)?d:null==t||null==(c=t.locale)||null==(u=c.options)?void 0:u.weekStartsOn)?o:f.weekStartsOn)?l:null==(h=f.locale)||null==(p=h.options)?void 0:p.weekStartsOn)?r:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,n.A)(e),v=m.getUTCDay();return m.setUTCDate(m.getUTCDate()-(7*(v<g)+v-g)),m.setUTCHours(0,0,0,0),m}},64303:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(78256),i=r(25148),a=r(57009),s=r(53939),l=r(75085);function o(e,t){(0,i.A)(1,arguments);var r,o,d,c,u,h,p,f,g=(0,n.A)(e),m=g.getUTCFullYear(),v=(0,l.q)(),w=(0,s.A)(null!=(r=null!=(o=null!=(d=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(u=t.locale)||null==(h=u.options)?void 0:h.firstWeekContainsDate)?d:v.firstWeekContainsDate)?o:null==(p=v.locale)||null==(f=p.options)?void 0:f.firstWeekContainsDate)?r:1);if(!(w>=1&&w<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(m+1,0,w),y.setUTCHours(0,0,0,0);var b=(0,a.A)(y,t),x=new Date(0);x.setUTCFullYear(m,0,w),x.setUTCHours(0,0,0,0);var k=(0,a.A)(x,t);return g.getTime()>=b.getTime()?m+1:g.getTime()>=k.getTime()?m:m-1}},64569:(e,t,r)=>{r.d(t,{a:()=>y,c:()=>f,d:()=>s,e:()=>u,f:()=>b,h:()=>w,j:()=>l,m:()=>x,n:()=>a,p:()=>v,q:()=>m,r:()=>g,s:()=>d,t:()=>c,u:()=>p,v:()=>h,w:()=>function e(){let t=Object(arguments.length<=0?void 0:arguments[0]),r=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){let i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(i instanceof HTMLElement):!i||1!==i.nodeType&&11!==i.nodeType)){let n=Object.keys(Object(i)).filter(e=>0>r.indexOf(e));for(let r=0,a=n.length;r<a;r+=1){let a=n[r],s=Object.getOwnPropertyDescriptor(i,a);void 0!==s&&s.enumerable&&(o(t[a])&&o(i[a])?i[a].__swiper__?t[a]=i[a]:e(t[a],i[a]):!o(t[a])&&o(i[a])?(t[a]={},i[a].__swiper__?t[a]=i[a]:e(t[a],i[a])):t[a]=i[a])}}}return t},x:()=>i});var n=r(42370);function i(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function a(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function s(){return Date.now()}function l(e,t){let r,i,a;void 0===t&&(t="x");let s=(0,n.a)(),l=function(e){let t,r=(0,n.a)();return r.getComputedStyle&&(t=r.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return s.WebKitCSSMatrix?((i=l.transform||l.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),a=new s.WebKitCSSMatrix("none"===i?"":i)):r=(a=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=s.WebKitCSSMatrix?a.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=s.WebKitCSSMatrix?a.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(e,t,r){e.style.setProperty(t,r)}function c(e){let t,{swiper:r,targetPosition:i,side:a}=e,s=(0,n.a)(),l=-r.translate,o=null,d=r.params.speed;r.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(r.cssModeFrameID);let c=i>l?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,h=()=>{t=new Date().getTime(),null===o&&(o=t);let e=l+(.5-Math.cos(Math.max(Math.min((t-o)/d,1),0)*Math.PI)/2)*(i-l);if(u(e,i)&&(e=i),r.wrapperEl.scrollTo({[a]:e}),u(e,i)){r.wrapperEl.style.overflow="hidden",r.wrapperEl.style.scrollSnapType="",setTimeout(()=>{r.wrapperEl.style.overflow="",r.wrapperEl.scrollTo({[a]:e})}),s.cancelAnimationFrame(r.cssModeFrameID);return}r.cssModeFrameID=s.requestAnimationFrame(h)};h()}function u(e,t){void 0===t&&(t="");let r=(0,n.a)(),i=[...e.children];return(r.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t)?i.filter(e=>e.matches(t)):i}function h(e,t){let r=(0,n.a)(),i=t.contains(e);return!i&&r.HTMLSlotElement&&t instanceof HTMLSlotElement&&((i=[...t.assignedElements()].includes(e))||(i=function(e,t){let r=[t];for(;r.length>0;){let t=r.shift();if(e===t)return!0;r.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),i}function p(e){try{console.warn(e);return}catch(e){}}function f(e,t){var r;void 0===t&&(t=[]);let n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:(void 0===(r=t)&&(r=""),r.trim().split(" ").filter(e=>!!e.trim()))),n}function g(e,t){let r=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function m(e,t){let r=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function v(e,t){return(0,n.a)().getComputedStyle(e,null).getPropertyValue(t)}function w(e){let t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function y(e,t){let r=[],n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function b(e,t,r){let i=(0,n.a)();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function x(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}},72356:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(75247),i=r(11131),a=r(25148);function s(e,t,r){return(0,a.A)(2,arguments),(0,i.A)((0,n.A)(e,t,new Date,r))}},75085:(e,t,r)=>{r.d(t,{q:()=>i});var n={};function i(){return n}},75247:(e,t,r)=>{r.d(t,{A:()=>eS});var n=r(54945),i=r(60654),a=r(14154),s=r(35518),l=r(78256),o=r(54083),d=r(14971),c=r(6226),u=r(53939),h=r(25148),p=r(1584),f=r(66495),g=r(96054),m=r(59524),v=r(44212),w=r(85190),y=function(){function e(){(0,m.A)(this,e),(0,w.A)(this,"priority",void 0),(0,w.A)(this,"subPriority",0)}return(0,v.A)(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),b=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(e,n,i,a,s){var l;return(0,m.A)(this,r),(l=t.call(this)).value=e,l.validateValue=n,l.setValue=i,l.priority=a,s&&(l.subPriority=s),l}return(0,v.A)(r,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,r){return this.setValue(e,t,this.value,r)}}]),r}(y),x=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",10),(0,w.A)((0,p.A)(e),"subPriority",-1),e}return(0,v.A)(r,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var r=new Date(0);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}}]),r}(y),k=function(){function e(){(0,m.A)(this,e),(0,w.A)(this,"incompatibleTokens",void 0),(0,w.A)(this,"priority",void 0),(0,w.A)(this,"subPriority",void 0)}return(0,v.A)(e,[{key:"run",value:function(e,t,r,n){var i=this.parse(e,t,r,n);return i?{setter:new b(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(e,t,r){return!0}}]),e}(),C=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",140),(0,w.A)((0,p.A)(e),"incompatibleTokens",["R","u","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,r){return t.era=r,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}}]),r}(k),A={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},T={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function E(e,t){return e?{value:t(e.value),rest:e.rest}:e}function S(e,t){var r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function M(e,t){var r=t.match(e);return r?"Z"===r[0]?{value:0,rest:t.slice(1)}:{value:("+"===r[1]?1:-1)*((r[2]?parseInt(r[2],10):0)*36e5+(r[3]?parseInt(r[3],10):0)*6e4+(r[5]?parseInt(r[5],10):0)*1e3),rest:t.slice(r[0].length)}:null}function L(e){return S(A.anyDigitsSigned,e)}function _(e,t){switch(e){case 1:return S(A.singleDigit,t);case 2:return S(A.twoDigits,t);case 3:return S(A.threeDigits,t);case 4:return S(A.fourDigits,t);default:return S(RegExp("^\\d{1,"+e+"}"),t)}}function P(e,t){switch(e){case 1:return S(A.singleDigitSigned,t);case 2:return S(A.twoDigitsSigned,t);case 3:return S(A.threeDigitsSigned,t);case 4:return S(A.fourDigitsSigned,t);default:return S(RegExp("^-?\\d{1,"+e+"}"),t)}}function O(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function $(e,t){var r,n=t>0,i=n?t:1-t;if(i<=50)r=e||100;else{var a=i+50;r=e+100*Math.floor(a/100)-100*(e>=a%100)}return n?r:1-r}function D(e){return e%400==0||e%4==0&&e%100!=0}var z=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",130),(0,w.A)((0,p.A)(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){var n=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return E(_(4,e),n);case"yo":return E(r.ordinalNumber(e,{unit:"year"}),n);default:return E(_(t.length,e),n)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,r){var n=e.getUTCFullYear();if(r.isTwoDigitYear){var i=$(r.year,n);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}}]),r}(k),I=r(64303),N=r(57009),R=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",130),(0,w.A)((0,p.A)(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){var n=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return E(_(4,e),n);case"Yo":return E(r.ordinalNumber(e,{unit:"year"}),n);default:return E(_(t.length,e),n)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,r,n){var i=(0,I.A)(e,n);if(r.isTwoDigitYear){var a=$(r.year,i);return e.setUTCFullYear(a,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,N.A)(e,n)}var s="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(s,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,N.A)(e,n)}}]),r}(k),j=r(50236),F=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",130),(0,w.A)((0,p.A)(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t){return"R"===t?P(4,e):P(t.length,e)}},{key:"set",value:function(e,t,r){var n=new Date(0);return n.setUTCFullYear(r,0,4),n.setUTCHours(0,0,0,0),(0,j.A)(n)}}]),r}(k),H=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",130),(0,w.A)((0,p.A)(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t){return"u"===t?P(4,e):P(t.length,e)}},{key:"set",value:function(e,t,r){return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}}]),r}(k),B=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",120),(0,w.A)((0,p.A)(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"Q":case"QQ":return _(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,r){return e.setUTCMonth((r-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),r}(k),q=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",120),(0,w.A)((0,p.A)(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"q":case"qq":return _(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,r){return e.setUTCMonth((r-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),r}(k),U=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),(0,w.A)((0,p.A)(e),"priority",110),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){var n=function(e){return e-1};switch(t){case"M":return E(S(A.month,e),n);case"MM":return E(_(2,e),n);case"Mo":return E(r.ordinalNumber(e,{unit:"month"}),n);case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,r){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e}}]),r}(k),G=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",110),(0,w.A)((0,p.A)(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){var n=function(e){return e-1};switch(t){case"L":return E(S(A.month,e),n);case"LL":return E(_(2,e),n);case"Lo":return E(r.ordinalNumber(e,{unit:"month"}),n);case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,r){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e}}]),r}(k),V=r(42574),W=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",100),(0,w.A)((0,p.A)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"w":return S(A.week,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,r,n){return(0,N.A)(function(e,t,r){(0,h.A)(2,arguments);var n=(0,l.A)(e),i=(0,u.A)(t),a=(0,V.A)(n,r)-i;return n.setUTCDate(n.getUTCDate()-7*a),n}(e,r,n),n)}}]),r}(k),Y=r(33392),Z=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",100),(0,w.A)((0,p.A)(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"I":return S(A.week,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,r){return(0,j.A)(function(e,t){(0,h.A)(2,arguments);var r=(0,l.A)(e),n=(0,u.A)(t),i=(0,Y.A)(r)-n;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,r))}}]),r}(k),Q=[31,28,31,30,31,30,31,31,30,31,30,31],X=[31,29,31,30,31,30,31,31,30,31,30,31],K=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",90),(0,w.A)((0,p.A)(e),"subPriority",1),(0,w.A)((0,p.A)(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"d":return S(A.date,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){var r=D(e.getUTCFullYear()),n=e.getUTCMonth();return r?t>=1&&t<=X[n]:t>=1&&t<=Q[n]}},{key:"set",value:function(e,t,r){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e}}]),r}(k),J=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",90),(0,w.A)((0,p.A)(e),"subpriority",1),(0,w.A)((0,p.A)(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"D":case"DD":return S(A.dayOfYear,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){return D(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,r){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e}}]),r}(k),ee=r(75085);function et(e,t,r){(0,h.A)(2,arguments);var n,i,a,s,o,d,c,p,f=(0,ee.q)(),g=(0,u.A)(null!=(n=null!=(i=null!=(a=null!=(s=null==r?void 0:r.weekStartsOn)?s:null==r||null==(o=r.locale)||null==(d=o.options)?void 0:d.weekStartsOn)?a:f.weekStartsOn)?i:null==(c=f.locale)||null==(p=c.options)?void 0:p.weekStartsOn)?n:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,l.A)(e),v=(0,u.A)(t),w=7*((v%7+7)%7<g)+v-m.getUTCDay();return m.setUTCDate(m.getUTCDate()+w),m}var er=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",90),(0,w.A)((0,p.A)(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=et(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(k),en=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",90),(0,w.A)((0,p.A)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r,n){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return E(_(t.length,e),i);case"eo":return E(r.ordinalNumber(e,{unit:"day"}),i);case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=et(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(k),ei=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",90),(0,w.A)((0,p.A)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r,n){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return E(_(t.length,e),i);case"co":return E(r.ordinalNumber(e,{unit:"day"}),i);case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=et(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(k),ea=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",90),(0,w.A)((0,p.A)(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){var n=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return _(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return E(r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiii":return E(r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiiii":return E(r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);default:return E(r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,r){return(e=function(e,t){(0,h.A)(2,arguments);var r=(0,u.A)(t);r%7==0&&(r-=7);var n=(0,l.A)(e),i=7*((r%7+7)%7<1)+r-n.getUTCDay();return n.setUTCDate(n.getUTCDate()+i),n}(e,r)).setUTCHours(0,0,0,0),e}}]),r}(k),es=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",80),(0,w.A)((0,p.A)(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,r){return e.setUTCHours(O(r),0,0,0),e}}]),r}(k),el=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",80),(0,w.A)((0,p.A)(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,r){return e.setUTCHours(O(r),0,0,0),e}}]),r}(k),eo=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",80),(0,w.A)((0,p.A)(e),"incompatibleTokens",["a","b","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,r){return e.setUTCHours(O(r),0,0,0),e}}]),r}(k),ed=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",70),(0,w.A)((0,p.A)(e),"incompatibleTokens",["H","K","k","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"h":return S(A.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,r){var n=e.getUTCHours()>=12;return n&&r<12?e.setUTCHours(r+12,0,0,0):n||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e}}]),r}(k),ec=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",70),(0,w.A)((0,p.A)(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"H":return S(A.hour23h,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,r){return e.setUTCHours(r,0,0,0),e}}]),r}(k),eu=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",70),(0,w.A)((0,p.A)(e),"incompatibleTokens",["h","H","k","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"K":return S(A.hour11h,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,r){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e}}]),r}(k),eh=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",70),(0,w.A)((0,p.A)(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"k":return S(A.hour24h,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,r){return e.setUTCHours(r<=24?r%24:r,0,0,0),e}}]),r}(k),ep=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",60),(0,w.A)((0,p.A)(e),"incompatibleTokens",["t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"m":return S(A.minute,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,r){return e.setUTCMinutes(r,0,0),e}}]),r}(k),ef=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",50),(0,w.A)((0,p.A)(e),"incompatibleTokens",["t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t,r){switch(t){case"s":return S(A.second,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return _(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,r){return e.setUTCSeconds(r,0),e}}]),r}(k),eg=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",30),(0,w.A)((0,p.A)(e),"incompatibleTokens",["t","T"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t){return E(_(t.length,e),function(e){return Math.floor(e*Math.pow(10,-t.length+3))})}},{key:"set",value:function(e,t,r){return e.setUTCMilliseconds(r),e}}]),r}(k),em=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",10),(0,w.A)((0,p.A)(e),"incompatibleTokens",["t","T","x"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t){switch(t){case"X":return M(T.basicOptionalMinutes,e);case"XX":return M(T.basic,e);case"XXXX":return M(T.basicOptionalSeconds,e);case"XXXXX":return M(T.extendedOptionalSeconds,e);default:return M(T.extended,e)}}},{key:"set",value:function(e,t,r){return t.timestampIsSet?e:new Date(e.getTime()-r)}}]),r}(k),ev=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",10),(0,w.A)((0,p.A)(e),"incompatibleTokens",["t","T","X"]),e}return(0,v.A)(r,[{key:"parse",value:function(e,t){switch(t){case"x":return M(T.basicOptionalMinutes,e);case"xx":return M(T.basic,e);case"xxxx":return M(T.basicOptionalSeconds,e);case"xxxxx":return M(T.extendedOptionalSeconds,e);default:return M(T.extended,e)}}},{key:"set",value:function(e,t,r){return t.timestampIsSet?e:new Date(e.getTime()-r)}}]),r}(k),ew=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",40),(0,w.A)((0,p.A)(e),"incompatibleTokens","*"),e}return(0,v.A)(r,[{key:"parse",value:function(e){return L(e)}},{key:"set",value:function(e,t,r){return[new Date(1e3*r),{timestampIsSet:!0}]}}]),r}(k),ey=function(e){(0,f.A)(r,e);var t=(0,g.A)(r);function r(){var e;(0,m.A)(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.A)((0,p.A)(e),"priority",20),(0,w.A)((0,p.A)(e),"incompatibleTokens","*"),e}return(0,v.A)(r,[{key:"parse",value:function(e){return L(e)}},{key:"set",value:function(e,t,r){return[new Date(r),{timestampIsSet:!0}]}}]),r}(k),eb={G:new C,y:new z,Y:new R,R:new F,u:new H,Q:new B,q:new q,M:new U,L:new G,w:new W,I:new Z,d:new K,D:new J,E:new er,e:new en,c:new ei,i:new ea,a:new es,b:new el,B:new eo,h:new ed,H:new ec,K:new eu,k:new eh,m:new ep,s:new ef,S:new eg,X:new em,x:new ev,t:new ew,T:new ey},ex=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ek=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eC=/^'([^]*?)'?$/,eA=/''/g,eT=/\S/,eE=/[a-zA-Z]/;function eS(e,t,r,p){(0,h.A)(3,arguments);var f=String(e),g=String(t),m=(0,ee.q)(),v=null!=(b=null!=(k=null==p?void 0:p.locale)?k:m.locale)?b:a.A;if(!v.match)throw RangeError("locale must contain match property");var w=(0,u.A)(null!=(C=null!=(A=null!=(T=null!=(E=null==p?void 0:p.firstWeekContainsDate)?E:null==p||null==(S=p.locale)||null==(M=S.options)?void 0:M.firstWeekContainsDate)?T:m.firstWeekContainsDate)?A:null==(L=m.locale)||null==(_=L.options)?void 0:_.firstWeekContainsDate)?C:1);if(!(w>=1&&w<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=(0,u.A)(null!=(P=null!=(O=null!=($=null!=(D=null==p?void 0:p.weekStartsOn)?D:null==p||null==(z=p.locale)||null==(I=z.options)?void 0:I.weekStartsOn)?$:m.weekStartsOn)?O:null==(N=m.locale)||null==(R=N.options)?void 0:R.weekStartsOn)?P:0);if(!(y>=0&&y<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===g)if(""===f)return(0,l.A)(r);else return new Date(NaN);var b,k,C,A,T,E,S,M,L,_,P,O,$,D,z,I,N,R,j,F={firstWeekContainsDate:w,weekStartsOn:y,locale:v},H=[new x],B=g.match(ek).map(function(e){var t=e[0];return t in o.A?(0,o.A[t])(e,v.formatLong):e}).join("").match(ex),q=[],U=(0,i.A)(B);try{for(U.s();!(j=U.n()).done;){var G=function(){var t=j.value;!(null!=p&&p.useAdditionalWeekYearTokens)&&(0,c.xM)(t)&&(0,c.lJ)(t,g,e),!(null!=p&&p.useAdditionalDayOfYearTokens)&&(0,c.ef)(t)&&(0,c.lJ)(t,g,e);var r=t[0],n=eb[r];if(n){var i=n.incompatibleTokens;if(Array.isArray(i)){var a=q.find(function(e){return i.includes(e.token)||e.token===r});if(a)throw RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===n.incompatibleTokens&&q.length>0)throw RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));q.push({token:r,fullToken:t});var s=n.run(f,t,v.match,F);if(!s)return{v:new Date(NaN)};H.push(s.setter),f=s.rest}else{if(r.match(eE))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===t?t="'":"'"===r&&(t=t.match(eC)[1].replace(eA,"'")),0!==f.indexOf(t))return{v:new Date(NaN)};f=f.slice(t.length)}}();if("object"===(0,n.A)(G))return G.v}}catch(e){U.e(e)}finally{U.f()}if(f.length>0&&eT.test(f))return new Date(NaN);var V=H.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,r){return r.indexOf(e)===t}).map(function(e){return H.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),W=(0,l.A)(r);if(isNaN(W.getTime()))return new Date(NaN);var Y,Z=(0,s.A)(W,(0,d.A)(W)),Q={},X=(0,i.A)(V);try{for(X.s();!(Y=X.n()).done;){var K=Y.value;if(!K.validate(Z,F))return new Date(NaN);var J=K.set(Z,Q,F);Array.isArray(J)?(Z=J[0],function(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}(Q,J[1])):Z=J}}catch(e){X.e(e)}finally{X.f()}return Z}},78256:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(54945),i=r(25148);function a(e){(0,i.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,n.A)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},79365:(e,t,r)=>{r.d(t,{Ij:()=>d,Vx:()=>s,dK:()=>o});var n=r(42370),i=r(64569);function a(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(a=>{if(!r[a]&&!0===r.auto){let s=(0,i.e)(e.el,`.${n[a]}`)[0];s||((s=(0,i.c)("div",n[a])).className=n[a],e.el.append(s)),r[a]=s,t[a]=s}}),r}function s(e){let{swiper:t,extendParams:r,on:n,emit:s}=e;function l(e){let r;return e&&"string"==typeof e&&t.isElement&&(r=t.el.querySelector(e)||t.hostEl.querySelector(e))?r:(e&&("string"==typeof e&&(r=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&r&&r.length>1&&1===t.el.querySelectorAll(e).length?r=t.el.querySelector(e):r&&1===r.length&&(r=r[0])),e&&!r)?e:r}function o(e,r){let n=t.params.navigation;(e=(0,i.m)(e)).forEach(e=>{e&&(e.classList[r?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=r),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass))})}function d(){let{nextEl:e,prevEl:r}=t.navigation;if(t.params.loop){o(r,!1),o(e,!1);return}o(r,t.isBeginning&&!t.params.rewind),o(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),s("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),s("navigationNext"))}function h(){let e=t.params.navigation;if(t.params.navigation=a(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(e.nextEl||e.prevEl))return;let r=l(e.nextEl),n=l(e.prevEl);Object.assign(t.navigation,{nextEl:r,prevEl:n}),r=(0,i.m)(r),n=(0,i.m)(n);let s=(r,n)=>{r&&r.addEventListener("click","next"===n?u:c),!t.enabled&&r&&r.classList.add(...e.lockClass.split(" "))};r.forEach(e=>s(e,"next")),n.forEach(e=>s(e,"prev"))}function p(){let{nextEl:e,prevEl:r}=t.navigation;e=(0,i.m)(e),r=(0,i.m)(r);let n=(e,r)=>{e.removeEventListener("click","next"===r?u:c),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>n(e,"next")),r.forEach(e=>n(e,"prev"))}r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},n("init",()=>{!1===t.params.navigation.enabled?f():(h(),d())}),n("toEdge fromEdge lock unlock",()=>{d()}),n("destroy",()=>{p()}),n("enable disable",()=>{let{nextEl:e,prevEl:r}=t.navigation;if(e=(0,i.m)(e),r=(0,i.m)(r),t.enabled)return void d();[...e,...r].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),n("click",(e,r)=>{let{nextEl:n,prevEl:a}=t.navigation;n=(0,i.m)(n),a=(0,i.m)(a);let l=r.target,o=a.includes(l)||n.includes(l);if(t.isElement&&!o){let e=r.path||r.composedPath&&r.composedPath();e&&(o=e.find(e=>n.includes(e)||a.includes(e)))}if(t.params.navigation.hideOnClick&&!o){let e;if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===l||t.pagination.el.contains(l)))return;n.length?e=n[0].classList.contains(t.params.navigation.hiddenClass):a.length&&(e=a[0].classList.contains(t.params.navigation.hiddenClass)),!0===e?s("navigationShow"):s("navigationHide"),[...n,...a].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});let f=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),h(),d()},disable:f,update:d,init:h,destroy:p})}function l(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function o(e){let t,{swiper:r,extendParams:n,on:s,emit:o}=e,d="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${d}-bullet`,bulletActiveClass:`${d}-bullet-active`,modifierClass:`${d}-`,currentClass:`${d}-current`,totalClass:`${d}-total`,hiddenClass:`${d}-hidden`,progressbarFillClass:`${d}-progressbar-fill`,progressbarOppositeClass:`${d}-progressbar-opposite`,clickableClass:`${d}-clickable`,lockClass:`${d}-lock`,horizontalClass:`${d}-horizontal`,verticalClass:`${d}-vertical`,paginationDisabledClass:`${d}-disabled`}}),r.pagination={el:null,bullets:[]};let c=0;function u(){return!r.params.pagination.el||!r.pagination.el||Array.isArray(r.pagination.el)&&0===r.pagination.el.length}function h(e,t){let{bulletActiveClass:n}=r.params.pagination;e&&(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&(e.classList.add(`${n}-${t}`),(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&e.classList.add(`${n}-${t}-${t}`))}function p(e){let t=e.target.closest(l(r.params.pagination.bulletClass));if(!t)return;e.preventDefault();let n=(0,i.h)(t)*r.params.slidesPerGroup;if(r.params.loop){var a,s,o;if(r.realIndex===n)return;let e=(a=r.realIndex,s=n,(a%=o=r.slides.length,(s%=o)===a+1)?"next":s===a-1?"previous":void 0);"next"===e?r.slideNext():"previous"===e?r.slidePrev():r.slideToLoop(n)}else r.slideTo(n)}function f(){let e,n,a=r.rtl,s=r.params.pagination;if(u())return;let d=r.pagination.el;d=(0,i.m)(d);let p=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:r.slides.length,f=r.params.loop?Math.ceil(p/r.params.slidesPerGroup):r.snapGrid.length;if(r.params.loop?(n=r.previousRealIndex||0,e=r.params.slidesPerGroup>1?Math.floor(r.realIndex/r.params.slidesPerGroup):r.realIndex):void 0!==r.snapIndex?(e=r.snapIndex,n=r.previousSnapIndex):(n=r.previousIndex||0,e=r.activeIndex||0),"bullets"===s.type&&r.pagination.bullets&&r.pagination.bullets.length>0){let l,o,u,p=r.pagination.bullets;if(s.dynamicBullets&&(t=(0,i.f)(p[0],r.isHorizontal()?"width":"height",!0),d.forEach(e=>{e.style[r.isHorizontal()?"width":"height"]=`${t*(s.dynamicMainBullets+4)}px`}),s.dynamicMainBullets>1&&void 0!==n&&((c+=e-(n||0))>s.dynamicMainBullets-1?c=s.dynamicMainBullets-1:c<0&&(c=0)),u=((o=(l=Math.max(e-c,0))+(Math.min(p.length,s.dynamicMainBullets)-1))+l)/2),p.forEach(e=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${s.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),d.length>1)p.forEach(t=>{let n=(0,i.h)(t);n===e?t.classList.add(...s.bulletActiveClass.split(" ")):r.isElement&&t.setAttribute("part","bullet"),s.dynamicBullets&&(n>=l&&n<=o&&t.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),n===l&&h(t,"prev"),n===o&&h(t,"next"))});else{let t=p[e];if(t&&t.classList.add(...s.bulletActiveClass.split(" ")),r.isElement&&p.forEach((t,r)=>{t.setAttribute("part",r===e?"bullet-active":"bullet")}),s.dynamicBullets){let e=p[l],t=p[o];for(let e=l;e<=o;e+=1)p[e]&&p[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));h(e,"prev"),h(t,"next")}}if(s.dynamicBullets){let e=Math.min(p.length,s.dynamicMainBullets+4),n=(t*e-t)/2-u*t,i=a?"right":"left";p.forEach(e=>{e.style[r.isHorizontal()?i:"top"]=`${n}px`})}}d.forEach((t,n)=>{if("fraction"===s.type&&(t.querySelectorAll(l(s.currentClass)).forEach(t=>{t.textContent=s.formatFractionCurrent(e+1)}),t.querySelectorAll(l(s.totalClass)).forEach(e=>{e.textContent=s.formatFractionTotal(f)})),"progressbar"===s.type){let n;n=s.progressbarOpposite?r.isHorizontal()?"vertical":"horizontal":r.isHorizontal()?"horizontal":"vertical";let i=(e+1)/f,a=1,o=1;"horizontal"===n?a=i:o=i,t.querySelectorAll(l(s.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${o})`,e.style.transitionDuration=`${r.params.speed}ms`})}"custom"===s.type&&s.renderCustom?(t.innerHTML=s.renderCustom(r,e+1,f),0===n&&o("paginationRender",t)):(0===n&&o("paginationRender",t),o("paginationUpdate",t)),r.params.watchOverflow&&r.enabled&&t.classList[r.isLocked?"add":"remove"](s.lockClass)})}function g(){let e=r.params.pagination;if(u())return;let t=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:r.grid&&r.params.grid.rows>1?r.slides.length/Math.ceil(r.params.grid.rows):r.slides.length,n=r.pagination.el;n=(0,i.m)(n);let a="";if("bullets"===e.type){let n=r.params.loop?Math.ceil(t/r.params.slidesPerGroup):r.snapGrid.length;r.params.freeMode&&r.params.freeMode.enabled&&n>t&&(n=t);for(let t=0;t<n;t+=1)e.renderBullet?a+=e.renderBullet.call(r,t,e.bulletClass):a+=`<${e.bulletElement} ${r.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(a=e.renderFraction?e.renderFraction.call(r,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(a=e.renderProgressbar?e.renderProgressbar.call(r,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),r.pagination.bullets=[],n.forEach(t=>{"custom"!==e.type&&(t.innerHTML=a||""),"bullets"===e.type&&r.pagination.bullets.push(...t.querySelectorAll(l(e.bulletClass)))}),"custom"!==e.type&&o("paginationRender",n[0])}function m(){let e;r.params.pagination=a(r,r.originalParams.pagination,r.params.pagination,{el:"swiper-pagination"});let t=r.params.pagination;t.el&&("string"==typeof t.el&&r.isElement&&(e=r.el.querySelector(t.el)),e||"string"!=typeof t.el||(e=[...document.querySelectorAll(t.el)]),e||(e=t.el),e&&0!==e.length&&(r.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&e.length>1&&(e=[...r.el.querySelectorAll(t.el)]).length>1&&(e=e.find(e=>(0,i.a)(e,".swiper")[0]===r.el)),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(r.pagination,{el:e}),(e=(0,i.m)(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(r.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(`${t.modifierClass}${t.type}-dynamic`),c=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",p),r.enabled||e.classList.add(t.lockClass)})))}function v(){let e=r.params.pagination;if(u())return;let t=r.pagination.el;t&&(t=(0,i.m)(t)).forEach(t=>{t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(r.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(t.classList.remove(...(e.clickableClass||"").split(" ")),t.removeEventListener("click",p))}),r.pagination.bullets&&r.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!r.pagination||!r.pagination.el)return;let e=r.params.pagination,{el:t}=r.pagination;(t=(0,i.m)(t)).forEach(t=>{t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(r.isHorizontal()?e.horizontalClass:e.verticalClass)})}),s("init",()=>{!1===r.params.pagination.enabled?w():(m(),g(),f())}),s("activeIndexChange",()=>{void 0===r.snapIndex&&f()}),s("snapIndexChange",()=>{f()}),s("snapGridLengthChange",()=>{g(),f()}),s("destroy",()=>{v()}),s("enable disable",()=>{let{el:e}=r.pagination;e&&(e=(0,i.m)(e)).forEach(e=>e.classList[r.enabled?"remove":"add"](r.params.pagination.lockClass))}),s("lock unlock",()=>{f()}),s("click",(e,t)=>{let n=t.target,a=(0,i.m)(r.pagination.el);if(r.params.pagination.el&&r.params.pagination.hideOnClick&&a&&a.length>0&&!n.classList.contains(r.params.pagination.bulletClass)){if(r.navigation&&(r.navigation.nextEl&&n===r.navigation.nextEl||r.navigation.prevEl&&n===r.navigation.prevEl))return;!0===a[0].classList.contains(r.params.pagination.hiddenClass)?o("paginationShow"):o("paginationHide"),a.forEach(e=>e.classList.toggle(r.params.pagination.hiddenClass))}});let w=()=>{r.el.classList.add(r.params.pagination.paginationDisabledClass);let{el:e}=r.pagination;e&&(e=(0,i.m)(e)).forEach(e=>e.classList.add(r.params.pagination.paginationDisabledClass)),v()};Object.assign(r.pagination,{enable:()=>{r.el.classList.remove(r.params.pagination.paginationDisabledClass);let{el:e}=r.pagination;e&&(e=(0,i.m)(e)).forEach(e=>e.classList.remove(r.params.pagination.paginationDisabledClass)),m(),g(),f()},disable:w,render:g,update:f,init:m,destroy:v})}function d(e){let t,r,i,a,s,l,o,d,c,u,{swiper:h,extendParams:p,on:f,emit:g,params:m}=e;h.autoplay={running:!1,paused:!1,timeLeft:0},p({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let v=m&&m.autoplay?m.autoplay.delay:3e3,w=m&&m.autoplay?m.autoplay.delay:3e3,y=new Date().getTime();function b(e){h&&!h.destroyed&&h.wrapperEl&&e.target===h.wrapperEl&&(h.wrapperEl.removeEventListener("transitionend",b),u||e.detail&&e.detail.bySwiperTouchMove||E())}let x=()=>{if(h.destroyed||!h.autoplay.running)return;h.autoplay.paused?a=!0:a&&(w=i,a=!1);let e=h.autoplay.paused?i:y+w-new Date().getTime();h.autoplay.timeLeft=e,g("autoplayTimeLeft",e,e/v),r=requestAnimationFrame(()=>{x()})},k=e=>{if(h.destroyed||!h.autoplay.running)return;cancelAnimationFrame(r),x();let n=void 0===e?h.params.autoplay.delay:e;v=h.params.autoplay.delay,w=h.params.autoplay.delay;let a=(()=>{let e;if(e=h.virtual&&h.params.virtual.enabled?h.slides.find(e=>e.classList.contains("swiper-slide-active")):h.slides[h.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(a)&&a>0&&void 0===e&&(n=a,v=a,w=a),i=n;let s=h.params.speed,l=()=>{h&&!h.destroyed&&(h.params.autoplay.reverseDirection?!h.isBeginning||h.params.loop||h.params.rewind?(h.slidePrev(s,!0,!0),g("autoplay")):h.params.autoplay.stopOnLastSlide||(h.slideTo(h.slides.length-1,s,!0,!0),g("autoplay")):!h.isEnd||h.params.loop||h.params.rewind?(h.slideNext(s,!0,!0),g("autoplay")):h.params.autoplay.stopOnLastSlide||(h.slideTo(0,s,!0,!0),g("autoplay")),h.params.cssMode&&(y=new Date().getTime(),requestAnimationFrame(()=>{k()})))};return n>0?(clearTimeout(t),t=setTimeout(()=>{l()},n)):requestAnimationFrame(()=>{l()}),n},C=()=>{y=new Date().getTime(),h.autoplay.running=!0,k(),g("autoplayStart")},A=()=>{h.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(r),g("autoplayStop")},T=(e,r)=>{if(h.destroyed||!h.autoplay.running)return;clearTimeout(t),e||(c=!0);let n=()=>{g("autoplayPause"),h.params.autoplay.waitForTransition?h.wrapperEl.addEventListener("transitionend",b):E()};if(h.autoplay.paused=!0,r){d&&(i=h.params.autoplay.delay),d=!1,n();return}i=(i||h.params.autoplay.delay)-(new Date().getTime()-y),h.isEnd&&i<0&&!h.params.loop||(i<0&&(i=0),n())},E=()=>{h.isEnd&&i<0&&!h.params.loop||h.destroyed||!h.autoplay.running||(y=new Date().getTime(),c?(c=!1,k(i)):k(),h.autoplay.paused=!1,g("autoplayResume"))},S=()=>{if(h.destroyed||!h.autoplay.running)return;let e=(0,n.g)();"hidden"===e.visibilityState&&(c=!0,T(!0)),"visible"===e.visibilityState&&E()},M=e=>{"mouse"===e.pointerType&&(c=!0,u=!0,h.animating||h.autoplay.paused||T(!0))},L=e=>{"mouse"===e.pointerType&&(u=!1,h.autoplay.paused&&E())};f("init",()=>{h.params.autoplay.enabled&&(h.params.autoplay.pauseOnMouseEnter&&(h.el.addEventListener("pointerenter",M),h.el.addEventListener("pointerleave",L)),(0,n.g)().addEventListener("visibilitychange",S),C())}),f("destroy",()=>{h.el&&"string"!=typeof h.el&&(h.el.removeEventListener("pointerenter",M),h.el.removeEventListener("pointerleave",L)),(0,n.g)().removeEventListener("visibilitychange",S),h.autoplay.running&&A()}),f("_freeModeStaticRelease",()=>{(l||c)&&E()}),f("_freeModeNoMomentumRelease",()=>{h.params.autoplay.disableOnInteraction?A():T(!0,!0)}),f("beforeTransitionStart",(e,t,r)=>{!h.destroyed&&h.autoplay.running&&(r||!h.params.autoplay.disableOnInteraction?T(!0,!0):A())}),f("sliderFirstMove",()=>{if(!h.destroyed&&h.autoplay.running){if(h.params.autoplay.disableOnInteraction)return void A();s=!0,l=!1,c=!1,o=setTimeout(()=>{c=!0,l=!0,T(!0)},200)}}),f("touchEnd",()=>{if(!h.destroyed&&h.autoplay.running&&s){if(clearTimeout(o),clearTimeout(t),h.params.autoplay.disableOnInteraction){l=!1,s=!1;return}l&&h.params.cssMode&&E(),l=!1,s=!1}}),f("slideChange",()=>{!h.destroyed&&h.autoplay.running&&(d=!0)}),Object.assign(h.autoplay,{start:C,stop:A,pause:T,resume:E})}}}]);