PageSourceSearch

https://assets-ab.periodica.press/site-assets/commons-bb9981d95f511a34a5be.js

js periodica.press collected 2026-10-02 14:59:08 UTC 205,150 bytes, 2 lines download raw bytes

1(self.webpackChunk_periodica_site=self.webpackChunk_periodica_site||[]).push([[4223],{1087:function(e,t,n){"use strict";n.d(t,{UC:function(){return q},wi:function(){return V},Y9:function(){return Q},mO:function(){return O}});var r={};n.r(r),n.d(r,{drawerContent:function(){return p},full:function(){return h},fullModalCloseButton:function(){return g},large:function(){return y},medium:function(){return E},modal:function(){return b},overlay:function(){return w},overlayDrawer:function(){return M},small:function(){return x},withoutCloseButton:function(){return N},xLarge:function(){return I}});n(47010);var o=n(14041),i=n(41059),u=n.n(i),a=n(40435),l=n(99621),s=n(9691),c=n(60455),d=n(55215),f=n(25061),m=n(28426),v=n(53404),p="index-module--drawerContent--ff7fe",h="index-module--full--aa4d6",g="index-module--fullModalCloseButton--47853",y="index-module--large--de840",E="index-module--medium--1284c",b="index-module--modal--e63a4",w="index-module--overlay--9d00d",M="index-module--overlayDrawer--7aac1",x="index-module--small--bc7a5",N="index-module--withoutCloseButton--9310d",I="index-module--xLarge--17522";function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(null,arguments)}function k(e){let{portal:t,children:n}=e;return t?o.createElement(a._s.Portal,null,n):n}function O(e){var t;let{type:n="dialog",size:i="medium",overlay:h=!0,hasCloseButton:y=!0,open:E,onClose:x,store:I,children:O,className:A="",...D}=e;const[j,T]=(0,o.useState)(!1),{portal:C}=D;(0,o.useEffect)((()=>T(!0)),[]);const z=null!==(t=(0,l.O$)(I,"open"))&&void 0!==t?t:E,L=(0,d.Ub)("(max-width: 767px)",!0),P=!(!j||"drawer"!==n||!L),R=(0,o.useMemo)((()=>({type:n,isDrawer:P})),[n,P]),B=e=>{e?null==I||I.show():null==I||I.hide()};if(P)return o.createElement(v.V.Provider,{value:R},o.createElement(a._s.Root,{open:z,onClose:x,onOpenChange:B,repositionInputs:!1},o.createElement(k,{portal:C},h&&o.createElement(a._s.Overlay,{className:M}),o.createElement(a._s.Content,{className:p},O,y&&o.createElement(f.D,null)))));const Q="full"===i;return o.createElement(s.C,{store:I},o.createElement(c.lG,S({},D,{getPersistentElements:()=>document.querySelectorAll(`.${m.Cu}`),backdrop:!(Q||!h)&&o.createElement("div",{className:w}),className:u()([b,r[i],A,!y&&N]),open:E,onClose:x}),O,y&&o.createElement(f.D,{className:u()(Q&&g)})))}var A=n(10875),D=n(49049),j=n(7285),T=n(31085);const C=(0,j.ab)((function(e){const t=(0,o.useRef)(null),n=(0,o.useContext)(D.A)||1,r=`h${n}`,i=(0,j.vO)(t,r),u=!!i&&/^h\d$/.test(i);return e={render:(0,T.jsx)(r,{}),role:u?void 0:"heading","aria-level":u?void 0:n,...e,ref:(0,j.SV)(t,e.ref)}})),z=((0,j.Rf)((function(e){const t=C(e);return(0,j.n)("h1",t)})),(0,j.ab)((function(e){let{store:t,...n}=e;const r=(0,o.useContext)(A.YH),i=(0,j.Bi)(n.id);return(0,j.UQ)((()=>(null==r||r(i),()=>null==r?void 0:r(void 0))),[r,i]),n={...n,id:i},n=C(n),n}))),L=(0,j.Rf)((function(e){const t=z(e);return(0,j.n)("h1",t)}));var P=n(46439),R="index-module--modalHeader--cbb32",B="index-module--modalHeaderTitle--a5b6a";function Q(e){let{title:t,description:n}=e;const{isDrawer:r}=(0,v.k)(),i=r?a._s.Title:L;return o.createElement("div",{className:R},o.createElement(i,{className:B},t),n&&o.createElement(P.fz,null,n))}var U="index-module--modalContent--f39fb",Y="index-module--modalContentClip--4ff11",F="index-module--modalContentWrapper--b70bf";function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W.apply(null,arguments)}function q(e){let{children:t,hasPaddings:n=!0,noDrag:r=!1}=e;return o.createElement("div",{className:Y},o.createElement("div",W({className:F},r?{"data-vaul-no-drag":""}:{}),o.createElement("div",{className:u()(n&&U)},t)))}var H="index-module--buttons--a8a51",G="index-module--modalFooter--358be";function V(e){let{text:t,children:n}=e;return o.createElement("div",{className:G},n&&o.createElement("div",{className:H},n),t&&o.createElement("div",null,t))}},1803:function(e,t,n){"use strict";n.d(t,{V:function(){return c}});var r=n(14041),o=n(96691),i=n(20289),u=n(46439),a=n(79813),l="TabBar-module--main--e0fff";function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}function c(){const e=(0,i.useLocation)(),{pathname:t}=e,n=[{icon:r.createElement(a.ww,null),text:"Главная",isActive:"/"===t,render:r.createElement(o.Link,{to:"/"})},{icon:r.createElement(a.eS,null),text:"Каталог",isActive:"/products"===t||"/products/"===t,render:r.createElement(o.Link,{to:"/products"})},{icon:r.createElement(a.xp,null),text:"Проекты",render:r.createElement("a",{href:"https://web.periodica.press/projects"})},{icon:r.createElement(a.JZ,null),text:"Корзина",render:r.createElement("a",{href:"https://web.periodica.press/cart"})},{icon:r.createElement(a.WV,null),text:"Профиль",render:r.createElement("a",{href:"https://web.periodica.press/account"})}];return r.createElement("div",{className:l},r.createElement(u.uW,null,n.map((e=>r.createElement(u.kA,s({key:`tab-bar-item_${e.text}`},e))))))}},4112:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(86369);function o(e){const t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}},5517:function(e,t,n){"use strict";n.d(t,{CM:function(){return g},Df:function(){return m},Qh:function(){return M},WZ:function(){return x},_d:function(){return l},es:function(){return c},hZ:function(){return y},hk:function(){return w},iT:function(){return E},ic:function(){return p},nc:function(){return f},oi:function(){return s}});var r=n(7285),o=n(9615),i=n(14041),u=n(60223),a=n(56997);const l=a._d,s=a.oi,c=a.es,d=new WeakSet;function f(e){(0,o.bq)(e)===e&&(d.add(e),queueMicrotask((()=>d.delete(e))))}function m(e){d.delete(e)}function v(e){const t=e.getState();return"contentElement"in t?t.contentElement:null}function p(e){var t;const{compositeElement:n}=e.getState(),r=(0,o.bq)(n);return!!r&&(!(null==n||!n.contains(r))||(!!x(e,r)||!(null===(t=v(e))||void 0===t||!t.contains(r))))}function h(e){let t,{store:n,id:r,focus:i,markedOnly:a,requireFocus:l,scrollIntoView:s}=e,c=null,f=!1,m=!1,h=!1,g=!1,E=!1;const b=n.getState().compositeElement,w=(0,o.bq)(b),M=l?w:null,x=!(null==b||!b.contains(w)),N=e=>{var o,i;const u=y(n,null!==(o=t)&&void 0!==o?o:void 0===r?e.activeId:r);return null!=u&&null!==(i=u.element)&&void 0!==i&&i.isConnected?(t=u.id,u.element):null};let I,S;const k=()=>{var e,t;h=!0,null===(e=I)||void 0===e||e(),null===(t=S)||void 0===t||t()},O=()=>{if(h)return;const e=n.getState();if((e=>{if("mounted"in e)if(e.mounted)g=!0;else if(g)return!0;
1if("open"in e)if(e.open)E=!0;else if(E)return!0;return null!=r&&null!=e.activeId&&e.activeId!==r})(e))return k();let u=!1;if(c){if(!c.isConnected&&(u=f&&!m&&(0,o.bq)(c)===(0,o.YE)(c).body,c=N(e),!c))return k()}else if(c=N(e),!c)return;if(u)f=!1;else if(!(e=>{if(!M)return!0;const t=(0,o.bq)(M);return t===M||t===e||p(n)})(c))return k();const l=i&&x&&((e,t)=>{if(!("open"in e))return!1;if(e.open)return!1;const r=v(n);if(null==r||!r.contains(t))return!1;const{compositeElement:i}=e;return!!i&&!r.contains(i)&&(0,o.zN)(t)})(e,c);if(l){const{activeId:n}=e;if(null!=n&&n!==t)return k()}if(i&&!f&&!l){var y;f=!0,m=!1;const e=c;null===(y=I)||void 0===y||y();const t=()=>{m=!d.has(e)},r=()=>{m=!1};if(e.addEventListener("blur",t),e.addEventListener("focus",r),I=()=>{e.removeEventListener("blur",t),e.removeEventListener("focus",r)},function(e,t){const{virtualFocus:n,compositeElement:r}=e.getState();if(!n||!r||!(0,o.mB)(r))return void t();const i=r.scrollLeft,u=r.scrollTop;t(),r.scrollLeft=i,r.scrollTop=u}(n,(()=>{e.focus({preventScroll:!0})}
1)),h)return}if(a&&!c.hasAttribute("data-autofocus")){if(l)return;return k()}(0,o.zN)(c)&&("unstable_placing"in e&&e.unstable_placing||(l||k(),s?s(c):c.scrollIntoView({block:"nearest",inline:"nearest"})))};return S=(0,u.B1)(n,["activeId","items","mounted","open","unstable_placing"],O),O(),k}function g(e){const t=(0,i.useRef)(null),n=(0,i.useRef)(e),o=(0,i.useCallback)((()=>{var e;null===(e=t.current)||void 0===e||e.call(t),t.current=null}),[]),u=(0,i.useCallback)((r=>{if(!e)return;if(n.current!==e)return;o();const i=h({store:e,...r});return t.current=i,i}),[e,o]);return(0,r.UQ)((()=>(n.current=e,()=>{n.current=void 0,o()})),[e,o]),u}function y(e,t){return t&&e.item(t)||null}function E(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.mB)(e))e.setSelectionRange(t?e.value.length:0,e.value.length);else if(e.isContentEditable){const n=(0,o.YE)(e).getSelection();null==n||n.selectAllChildren(e),t&&(null==n||n.collapseToEnd())}}const b=Symbol("FOCUS_SILENTLY");function w(e){e[b]=!0,e.focus({preventScroll:!0})}function M(e){const t=e[b];return delete e[b],t}function x(e,t,n){if(!t)return!1;if(t===n)return!1;const r=e.item(t.id);return!!r&&(!n||r.element!==n)}},5926:function(e,t,n){"use strict";function r(e){return!e||!!(e.startsWith("http")&&e.includes("://")||e.startsWith("mailto"))}n.d(t,{J:function(){return r}})},6271:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},7177:function(e,t,n){"use strict";n.d(t,{B:function(){return m},Gq:function(){return f},KZ:function(){return l},Su:function(){return d},jj:function(){return c},wI:function(){return s}});var r=n(24409),o=n(51241),i=n(7285),u=n(14041);const a=(0,i.B0)([r.ws,o.pR],[r.aN,o.n0]),l=a.useContext,s=a.use
1ScopedContext,c=a.useProviderContext,d=a.ContextProvider,f=a.ScopedContextProvider,m=((0,u.createContext)(void 0),(0,u.createContext)(!1))},7201:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(96691);const o=()=>{const{allStrapiSiteAlert:{nodes:e}}=(0,r.useStaticQuery)("2678425680");return{alerts:e,alertsCount:e.length}}},8064:function(e,t,n){"use strict";n.d(t,{GP:function(){return R}});var r=n(85173),o=n(50290),i=n(28737),u=n(90033),a=n(4112);function l(e,t){const n=(0,u.o)(e),r=(0,u.o)(t),o=+n-(0,a.G)(n),l=+r-(0,a.G)(r);return Math.round((o-l)/i.w4)}var s=n(86369),c=n(36385);function d(e){const t=(0,s.a)(e),n=(0,c.w)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function f(e){const t=(0,s.a)(e);return l(t,d(t))+1}var m=n(52199),v=n(65262),p=n(44575),h=n(77581);function g(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const y={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return g("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):g(n+1,2)},d(e,t){return g(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h(e,t){return g(e.getHours()%12||12,t.length)},H(e,t){return g(e.getHours(),t.length)},m(e,t){return g(e.getMinutes(),t.length)},s(e,t){return g(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds();return g(Math.trunc(r*Math.pow(10,n-3)),t.length)}},E="midnight",b="noon",w="morning",M="afternoon",x="evening",N="night",I={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return y.y(e,t)},Y:function(e,t,n,r){const o=(0,h.h)(e,r),i=o>0?o:1-o;if("YY"===t){return g(i%100,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):g(i,t.length)},R:function(e,t){return g((0,v.p)(e),t.length)},u:function(e,t){return g(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return g(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return g(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return y.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return g(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=(0,p.N)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):g(o,t.length)},I:function(e,t,n){const r=(0,m.s)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):g(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):y.d(e,t)},D:function(e,t,n){const r=f(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):g(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return g(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return g(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return g(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?b:0===r?E:r/12>
1=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?x:r>=12?M:r>=4?w:N,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return y.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):y.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):g(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):g(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):y.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):y.s(e,t)},S:function(e,t){return y.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return k(r);case"XXXX":case"XX":return O(r);default:return O(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return k(r);case"xxxx":case"xx":return O(r);default:return O(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+S(r,":");default:return"GMT"+O(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+S(r,":");default:return"GMT"+O(r,":")}},t:function(e,t,n){return g(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return g(e.getTime(),t.length)}};function S(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+g(i,2)}function k(e,t){if(e%60==0){return(e>0?"-":"+")+g(Math.abs(e)/60,2)}return O(e,t)}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e);return n+g(Math.trunc(r/60),2)+t+g(r%60,2)}var A=n(97304),D=n(23483),j=n(83225);const T=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,C=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,z=/^'([^]*?)'?$/,L=/''/g,P=/[a-zA-Z]/;function R(e,t,n){var i,u,a,l,c,d,f,m,v,p,h,g,y,E;const b=(0,o.q)(),w=null!==(i=null!==(u=null==n?void 0:n.locale)&&void 0!==u?u:b.locale)&&void 0!==i?i:r.c,M=null!==(a=null!==(l=null!==(c=null!==(d=null==n?void 0:n.firstWeekContainsDate)&&void 0!==d?d:null==n||null===(f=n.locale)||void 0===f||null===(f=f.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==c?c:b.firstWeekContainsDate)&&void 0!==l?l:null===(m=b.locale)||void 0===m||null===(m=m.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==a?a:1,x=null!==(v=null!==(p=null!==(h=null!==(g=null==n?void 0:n.weekStartsOn)&&void 0!==g?g:null==n||null===(y=n.locale)||void 0===y||null===(y=y.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==h?h:b.weekStartsOn)&&void 0!==p?p:null===(E=b.locale)||void 0===E||null===(E=E.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==v?v:0,N=(0,s.a)(e);if(!(0,j.f)(N))throw new RangeError("Invalid time value");let S=t.match(C).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,A.m[t])(e,w.formatLong)}return e})).join("").match(T).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:B(e)};if(I[t])return{isToken:!0,value:e};if(t.match(P))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));w.localize.preprocessor&&(S=w.localize.preprocessor(N,S));const k={firstWeekContainsDate:M,weekStartsOn:x,locale:w};return S.map((r=>{if(!r.isToken)return r.value;const o=r.value;(null!=n&&n.useAdditionalWeekYearTokens||!(0,D.xM)(o))&&(null!=n&&n.useAdditionalDayOfYearTokens||!(0,D.ef)(o))||(0,D.Ss)(o,t,String(e));return(0,I[o[0]])(N,o,w.localize,k)})).join("")}function B(e){const t=e.match(z);return t?t[1].replace(L,"'"):e}},9691:function(e,t,n){"use strict";n.d(t,{C:function(){return u}});var r=n(10875),o=n(42561),i=n(31085);function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,o.j)(e);return(0,i.jsx)(r.Zg,{value:t,children:e.children})}},10735:function(e,t,n){"use strict";n.d(t,{o:function(){return u}});
1var r=n(42561),o=n(7285),i=n(99621);function u(e,t,n){return(0,o.w5)(t,[n.popover]),(0,i.Tz)(e,n,"placement"),(0,r.N)(e,t,n)}},11561:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},11657:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},12398:function(e,t,n){"use strict";n(14293);var r=n(14041),o=n(96691);const i=/(<([^>]+)>)/gi;t.A=function(e){let{description:t,lang:n="ru",title:u,image:a}=e;const{site:{siteMetadata:{siteImage:l,siteTitle:s,siteUrl:c,mainTitle:d,siteDescription:f,author:m}}}=(0,o.useStaticQuery)("1827528759"),v=`${u||d} | ${s}`,p=`${h=t||f,h.replace(i,"")} | ${s}`;var h;const g=a||`${c}${l}`;return r.createElement(r.Fragment,null,r.createElement("html",{lang:n}),r.createElement("title",null,v),r.createElement("meta",{name:"description",content:p}),r.createElement("meta",{property:"og:title",content:v}),r.createElement("meta",{property:"og:description",content:p}),r.createElement("meta",{property:"og:type",content:"website"}),r.createElement("meta",{property:"twitter:card",content:"summary"}),r.createElement("meta",{property:"twitter:creator",content:m}),r.createElement("meta",{property:"twitter:title",content:v}),r.createElement("meta",{property:"twitter:description",content:p}),r.createElement("meta",{property:"image",content:g}),r.createElement("meta",{property:"og:image",content:g}),r.createElement("meta",{property:"twitter:image",content:g}))}},16419:function(e,t,n){"use strict";n.d(t,{g:function(){return c}});var r=n(24409),o=n(5517),i=n(7285),u=n(9615);const a=new WeakMap;function l(e){e.chars=""}function s(e,t){var n,r;const o=null!==(n=e.typeaheadText)&&void 0!==n?n:(null===(r=e.element)||void 0===r?void 0:r.textContent)||e.children||"value"in e&&e.value;return!!o&&(0,u.J2)(o).trim().toLowerCase().startsWith(t.toLowerCase())}const c=(0,i.ab)((function(e){let{store:t,typeahead:n=!0,...c}=e;const d=(0,r.SZ)();t=t||d,(0,u.V1)(t,!1);const f=c.onKeyDownCapture,m=(0,i._q)((e=>{if(null==f||f(e),e.defaultPrevented)return;if(!n)return;if(!t)return;const r=function(e){let t=a.get(e);return t||(t={chars:"",cleanupTimeout:0},a.set(e,t)),t}(t);if(!function(e,t){const n=e.target;return(!n||!(0,u.mB)(n))&&(!(" "!==e.key||!t.chars.length)||1===e.key.length&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&/^[\p{Letter}\p{Number}]$/u.test(e.key))}(e,r))return l(r);const{renderedItems:i,items:c,activeId:d}=t.getState();let m=function(e){return e.filter((e=>!e.disabled))}(c.length>i.length?c:i);if(!function(e,t){if((0,u.uh)(e))return!0;const n=e.target;return!!n&&t.some((e=>e.element===n))}(e,m))return l(r);e.preventDefault(),window.clearTimeout(r.cleanupTimeout),r.cleanupTimeout=window.setTimeout((()=>{l(r)}),500);const v=e.key.toLowerCase();r.chars+=v,m=function(e){let{activeId:t,char:n,items:r,typeaheadState:i}=e;if(!t)return r;const u=r.find((e=>e.id===t));if(!u)return r;if(!s(u,n))return r;const{chars:a}=i;return a!==n&&s(u,a)?r:(i.chars=n,(0,o._d)(r.filter((e=>s(e,n))),t).filter((e=>e.id!==t)))}({activeId:d,char:v,items:m,typeaheadState:r});const p=m.find((e=>s(e,r.chars)));p?t.move(p.id):l(r)}));return c={...c,onKeyDownCapture:m},(0,u.HR)(c)}));(0,i.Rf)((function(e){const t=c(e);return(0,i.n)("div",t)}))},17383:function(e,t,n){"use strict";function r(e){return(t,n)=>{let r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=null!=n&&n.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:function(){return r}})},17407:function(e,t,n){"use strict";n.d(t,{YC:function(){return u},YO:function(){return a}});var r=n(7285),o=n(99621);function i(e,t,n){return(0,r.w5)(t,[n.store]),(0,o.Tz)(e,n,"items","setItems"),e}function u(e){return{id:(0,r.Bi)(e.id),...e}}function a(e,t,n){var r;e=i(e,t,n),(0,o.Tz)(e,n,"activeId","setActiveId");const u={compositeElementInFocusOrder:null!==(r=n.compositeElementInFocusOrder)&&void 0!==r?r:n.includesBaseElement};return(0,o.Tz)(e,u,"compositeElementInFocusOrder"),(0,o.Tz)(e,n,"virtualFocus"),(0,o.Tz)(e,n,"orientation"),(0,o.Tz)(e,n,"rtl"),(0,o.Tz)(e,n,"focusLoop"),(0,o.Tz)(e,n,"focusWrap"),(0,o.Tz)(e,n,"focusShift"),e}},18087:function(e,t,n){"use strict";n.d(t,{Mz:function(){return L},Kq:function(){return z},m_:function(){return P}});var r=n(14041),o=n(51241),i=n(7285);const u=(0,i.B0)([o.pR],[o.n0]),a=(u.useContext,u.useScopedContext,u.useProviderContext),l=u.ContextProvider,s=u.ScopedContextProvider;var c=n(44031),d=n(99621),f=n(41509),m=n(60223),v=n(9615);function p(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=null===(e=t.store)||void 0===e?void 0:e.getState(),r=(0,f.y)({...t,placement:(0,v.Jh)(t.placement,null==n?void 0:n.placement,"top"),hideTimeout:(0,v.Jh)(t.hideTimeout,null==n?void 0:n.hideTimeout,0)}),o={...r.getState(),type:(0,v.Jh)(t.type,null==n?void 0:n.type,"description"),skipTimeout:(0,v.Jh)(t.skipTimeout,null==n?void 0:n.skipTimeout,300)},i=(0,m.y$)(o,r,t.store);return{...r,...i}}function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=(0,d.Pj)(p,e);return function(e,t,n){return(0,d.Tz)(e,n,"type"),(0,d.Tz)(e,n,"skipTimeout"),(0,c.B)(e,t,n
1)}(t,n,e)}var g=n(31085);function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=h(e);return(0,g.jsx)(l,{value:t,children:e.children})}var E=n(82389);const b=(0,i.ab)((function(e){let{store:t,showOnHover:n=!0,...r}=e;const i=(0,o.Kw)();return t=t||i,(0,v.V1)(t,!1),(0,E.t)({store:t,showOnHover:n,setAnchorElement:!0,...r})})),w=((0,i.Rf)((function(e){const t=b(e);return(0,i.n)("a",t)})),(0,m.y$)({activeStore:null})),M=new WeakSet;const x=(0,i.ab)((function(e){let{store:t,showOnHover:n=!0,...o}=e;const u=a();t=t||u,(0,v.V1)(t,!1);const l=(0,r.useRef)(!1);(0,r.useEffect)((()=>(0,m.OH)(t,["mounted"],(e=>{e.mounted||(l.current=!1)}))),[t]),(0,r.useEffect)((()=>{if(!t)return;const e=function(e){return()=>{const{activeStore:t}=w.getState();t===e&&w.setState("activeStore",null)}}(t);return(0,v.cy)(e,(0,m.OH)(t,["mounted"],(n=>{if(!t)return;if(n.mounted){const{activeStore:e}=w.getState();if(e!==t){if(M.has(t))return;!function(e){e&&(M.add(e),e.hide(),queueMicrotask((()=>M.delete(e))))}(e)}return w.setState("activeStore",t)}const r=setTimeout(e,t.getState().skipTimeout);return()=>clearTimeout(r)})))}),[t]);const s=o.onMouseEnter,c=(0,i._q)((e=>{null==s||s(e),l.current=!0})),f=o.onFocusVisible,p=(0,i._q)((e=>{var n,r;null==f||f(e),e.defaultPrevented||(null===(n=t)||void 0===n||n.setAnchorElement(e.currentTarget),null===(r=t)||void 0===r||r.show())})),h=o.onBlur,g=(0,i._q)((e=>{if(null==h||h(e),e.defaultPrevented)return;const{activeStore:n}=w.getState();l.current=!1,n===t&&w.setState("activeStore",null)})),y=(0,d.O$)(t,["type","contentElement"],(e=>"label"===e.type?e.contentElement:null));(0,i.Cy)(y,"id");const E=null==y?void 0:y.id;return o={"aria-labelledby":null==o["aria-label"]?E:void 0,...o,onMouseEnter:c,onFocusVisible:p,onBlur:g},o=b({store:t,showOnHover(e){var r;if(!l.current)return!1;if((0,v.zO)(n,e))return!1;const{activeStore:o}=w.getState();return!o||(null===(r=t)||void 0===r||r.show(),!1)},...o}),o})),N=(0,i.Rf)((function(e){const t=x(e);return(0,i.n)("div",t)}));var I=n(60455),S=n(26402);const k=(0,i.ab)((function(e){let{store:t,portal:n=!0,gutter:r=8,preserveTabOrder:o=!1,hideOnHoverOutside:u=!0,hideOnInteractOutside:l=!0,...c}=e;const f=a();return t=t||f,(0,v.V1)(t,!1),c=(0,i.w7)(c,(e=>(0,g.jsx)(s,{value:t,children:e})),[t]),c={role:(0,d.O$)(t,["type"],(e=>"description"===e.type?"tooltip":"none")),...c},c=(0,S.a)({...c,store:t,portal:n,gutter:r,preserveTabOrder:o,hideOnHoverOutside(e){var n;if((0,v.zO)(u,e))return!1;const r=null===(n=t)||void 0===n?void 0:n.getState().anchorElement;return!r||!("focusVisible"in r.dataset)},hideOnInteractOutside:e=>{var n;if((0,v.zO)(l,e))return!1;const r=null===(n=t)||void 0===n?void 0:n.getState().anchorElement;return!r||!(0,v.gR)(r,e.target)}}),c})),O=(0,I.AV)((0,i.Rf)((function(e){const t=k(e);return(0,i.n)("div",t)})),a);var A=n(41059),D=n.n(A),j="styles-module--animated--678a8",T="styles-module--tooltip--b113d";function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C.apply(null,arguments)}function z(e){return r.createElement(y,C({timeout:1e3},e))}function L(e){return r.createElement(N,e)}function P(e){let{animated:t=!0,className:n="",...o}=e;return r.createElement(O,C({className:D()(T,t&&j,n),unmountOnHide:!0,fixed:!0},o))}},18232:function(e,t,n){"use strict";function r(e,t){if(void 0!==e.one&&1===t)return e.one;const n=t%10,r=t%100;return 1===n&&11!==r?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function o(e){return(t,n)=>null!=n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?r(e.future,t):"через "+r(e.regular,t):e.past?r(e.past,t):r(e.regular,t)+" назад":r(e.regular,t)}n.d(t,{ru:function(){return h}});const i={lessThanXSeconds:o({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:o({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,t)=>
1null!=t&&t.addSuffix?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:o({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:o({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:o({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:o({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:o({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:o({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:o({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:o({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:o({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:o({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:o({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:o({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:o({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}}
1)};var u=n(39849);const a={date:(0,u.k)({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,u.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,u.k)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})};var l=n(47553);function s(e,t,n){return+(0,l.k)(e,n)==+(0,l.k)(t,n)}const c=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function d(e){const t=c[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}const f={lastWeek:(e,t,n)=>{const r=e.getDay();return s(e,t,n)?d(r):function(e){const t=c[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,t,n)=>{const r=e.getDay();return s(e,t,n)?d(r):function(e){const t=c[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(r)},other:"P"};var m=n(17383);const v={ordinalNumber:(e,t)=>{const n=Number(e),r=null==t?void 0:t.unit;let o;return o="date"===r?"-е":"week"===r||"minute"===r||"second"===r?"-я":"-й",n+o},era:(0,m.o)({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:(0,m.o)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,m.o)({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:(0,m.o)({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:(0,m.o)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},defaultFormattingWidth:"wide"})};var p=n(32597);const h={code:"ru",formatDistance:(e,t,n)=>i[e](t,n),formatLong:a,formatRelative:(e,t,n,r)=>{const o=f[e];return"function"==typeof o?o(t,n,r):o},localize:v,match:{ordinalNumber:(0,n(47481).K)({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,p.A)({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,p.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,p.A)({matchPatterns:{narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|оÐ
1ºÑ‚|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:(0,p.A)({matchPatterns:{narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,p.A)({matchPatterns:{narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},18563:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},19106:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},20187:function(e,t,n){"use strict";var r=n(98903);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,u){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!0===u&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},20349:function(e,t,n){"use strict";n.d(t,{c:function(){return p}});var r=n(97741),o=n(17407),i=n(44031),u=n(51821),a=n(7177),l=n(7285),s=n(99621),c=n(56997),d=n(41509),f=n(60223),m=n(9615);function v(){let{combobox:e,parent:t,menubar:n,...r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=!!n&&!t,i=(0,f.od)(r.store,(0,f.Up)(t,["values"]),(0,f.cJ)(e,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"]));(0,f.UE)(r,i);const u=i.getState(),a=(0,c.zf)({...r,store:i,orientation:(0,m.Jh)(r.orientation,u.orientation,"vertical")}),l=(0,d.y)({...r,store:i,placement:(0,m.Jh)(r.placement,u.placement,"bottom-start"),timeout:(0,m.Jh)(r.timeout,u.timeout,o?0:150),hideTimeout:(0,m.Jh)(r.hideTimeout,u.hideTimeout,0)}),s={...a.getState(),...l.getState(),initialFocus:(0,m.Jh)(u.initialFocus,"container"),values:(0,m.Jh)(r.values,u.values,r.defaultValues,{})},v=(0,f.y$)(s,a,l,i);return(0,f.mj)(v,(()=>(0,f.OH)(v,["mounted"],(e=>{e.mounted||v.setState("activeId",null)})))),(0,f.mj)(v,(()=>(0,f.OH)(t,["orientation"],(e=>{v.setState("placement","vertical"===e.orientation?"right-start":"bottom-start")})))),{...a,...l,...v,combobox:e,parent:t,menubar:n,hideAll:()=>{l.hide(),null==t||t.hideAll()},setInitialFocus:e=>v.setState("initialFocus",e),setValues:e=>v.setState("values",e),setValue:(e,t)=>
1{"__proto__"!==e&&"constructor"!==e&&(Array.isArray(e)||v.setState("values",(n=>{const r=n[e],o=(0,m.Qh)(t,r);return o===r?n:{...n,[e]:void 0!==o&&o}})))}}}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,a.KZ)(),n=(0,u.tt)(),c=(0,r.PV)();e={...e,parent:void 0!==e.parent?e.parent:t,menubar:void 0!==e.menubar?e.menubar:n,combobox:void 0!==e.combobox?e.combobox:c};const[d,f]=(0,s.Pj)(v,e);return function(e,t,n){return(0,l.w5)(t,[n.combobox,n.parent,n.menubar]),(0,s.Tz)(e,n,"values","setValues"),Object.assign((0,i.B)((0,o.YO)(e,t,n),t,n),{combobox:n.combobox,parent:n.parent,menubar:n.menubar})}(d,f,e)}},20364:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(14041),o=n(41059),i=n.n(o),u="styles-module--blockContainer--19da0";function a(e){let{children:t,className:n=""}=e;return r.createElement("section",{className:i()([u,n])},t)}},20634:function(e,t,n){"use strict";var r=n(98903),o=n(91605),i=n(19106),u={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(l=n(29185)),l),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||s.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,u=!n&&"json"===this.responseType;if(u||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(a){if(u){if("SyntaxError"===a.name)throw i(a,this,"E_JSON_PARSE");throw a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){s.headers[e]=r.merge(u)})),e.exports=s},21558:function(e,t,n){"use strict";var r=n(98903),o=n(81107),i=n(48612),u=n(38367),a=n(64714),l=n(30458),s=l.validators;function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e,t){if("string"==typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!o){var d=[u,void 0];for(Array.prototype.unshift.apply(d,r),d=d.concat(c),i=Promise.resolve(t);d.length;)i=i.then(d.shift(),d.shift());return i}for(var f=t;r.length;){var m=r.shift(),v=r.shift();try{f=m(f)}catch(p){v(p);break}}try{i=u(f)}catch(p){return Promise.reject(p)}for(;c.length;)i=i.then(c.shift(),c.shift());return i},c.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=c},22328:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var r=n(46439),o=n(14041);
1function i(){return o.createElement(r.fz,{color:"secondary"},"Даю ",o.createElement(r.N_,{href:"/subscription-consent-new/",target:"_blank"},"согласие")," на обработку персональных данных и получение рассылки в соответствии с ",o.createElement(r.N_,{href:"/privacy/",target:"_blank"},"политикой конфиденциальности"),".")}},23483:function(e,t,n){"use strict";n.d(t,{Ss:function(){return l},ef:function(){return u},xM:function(){return a}});const r=/^D+$/,o=/^Y+$/,i=["D","DD","YY","YYYY"];function u(e){return r.test(e)}function a(e){return o.test(e)}function l(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),i.includes(e))throw new RangeError(r)}},23857:function(e,t){"use strict";t.A="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTYwIiBoZWlnaHQ9IjE4NCIgdmlld0JveD0iMCAwIDk2MCAxODQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yNzIuMjQgNDMuMzRDMjU0LjM1IDQzLjM0IDI0MS41MiA1Mi43NSAyMzYuNzYgNjAuMzRWNjAuNTVMMjM0LjY5IDQ0LjYySDIyMC42OVYxODMuMjlIMjM2LjY5VjEyOC40N0MyNDEuNDUgMTM2LjAyIDI1NC4yOCAxNDUuMzMgMjcyLjE3IDE0NS4zM0MzMDAuNDEgMTQ1LjMzIDMyMC45OSAxMjQuODQgMzIwLjk5IDk0LjMzQzMyMS4wNiA2NC4yMyAzMDEgNDMuMzQgMjcyLjI0IDQzLjM0Wk0yNzAuNTkgMTMwLjUzQzI1MS41OSAxMzAuNTMgMjM2Ljc2IDExOS4yNiAyMzYuNzYgOTcuMjNWOTEuNTRDMjM2Ljc2IDY5LjU0IDI1MS41NSA1OC4xMyAyNzAuNTkgNTguMTNDMjkxLjI3IDU4LjEzIDMwNC44MiA3MS44OCAzMDQuODIgOTQuMzNDMzA0LjgyIDExNi43OCAyOTEuMjcgMTMwLjUzIDI3MC41OSAxMzAuNTNaIiBmaWxsPSIjMjEzRkI0Ii8+CjxwYXRoIGQ9Ik0xNTYuMzkgNDMuMzRDMTI3LjM5IDQzLjM0IDEwNi43NCA2NC42NCAxMDYuNzQgOTQuMzRDMTA2Ljc0IDEyMy4zNCAxMjUuNjcgMTQ1LjM0IDE1NS4xNSAxNDUuMzRDMTgyLjA0IDE0NS4zNCAxOTguNDkgMTMwLjc1IDIwMi40MiAxMTAuNzlIMTg2LjQyQzE4My4xMSAxMjMuNzIgMTcxLjUyIDEzMS4wNiAxNTUuOCAxMzEuMDZDMTM1LjYzIDEzMS4wNiAxMjMuNjMgMTE1Ljg2IDEyMy42MyA5OS41MVY5OC42OEgyMDMuNzlDMjA0IDk2LjMxIDIwNC4yMSA5NC4wMyAyMDQuMjEgOTEuODZDMjA0LjE4IDY1LjA2IDE4NS42NiA0My4zNCAxNTYuMzkgNDMuMzRaTTEyNC41MyA4NS4zNEMxMjYuMDggNjkuMjEgMTQwLjQ2IDU3LjQxIDE1NS45OCA1Ny40MUMxNzIuNDIgNTcuNDEgMTg1LjQ2IDY4LjE3IDE4Ni45OCA4NS4zNEgxMjQuNTNaIiBmaWxsPSIjMjEzRkI0Ii8+CjxwYXRoIGQ9Ik0wLjkxOTk4MyAxNDQuMTlIMTYuOTZWNTkuMjdINzQuMTZWMTQ0LjE5SDkwLjE5VjQ0LjU4SDAuOTE5OTgzVjE0NC4xOVoiIGZpbGw9IiMyMTNGQjQiLz4KPHBhdGggZD0iTTI1LjEzIDE0LjQ4QzMxLjAyIDE0LjQ4IDM1Ljg4IDE3Ljk5IDQyLjQgMjIuNjVDNTEuMyAyOS40OCA1OC4zMyAzMi43OSA2Ni43MSAzMi43OUM4Mi40MyAzMi43OSA5MC4wOSAyMS45MiA5MC4wOSA1LjE3MDAxSDc2LjQzQzc1LjkyIDE0LjE3IDcxLjk4IDE4LjgyIDY1LjU3IDE4LjgyQzU5LjE2IDE4LjgyIDUzLjI2IDEzLjQ0IDQ2LjEzIDguMzcwMDFDMzkuNzEgMy44MjAwMSAzMi44OSAwLjUxMDAxIDI0LjkyIDAuNTEwMDFDMTAuNTQgMC41MTAwMSAwLjgyMDAwNyAxMC43NSAwLjgyMDAwNyAyOC4xM0gxNC41OEMxNSAxOC45MiAxOS4zMyAxNC40OCAyNS4xMyAxNC40OFoiIGZpbGw9IiMyMTNGQjQiLz4KPHBhdGggZD0iTTY0NC4xMSA0NC41OEg1NjkuOTRMNTY3LjE1IDkzQzU2NS45MSAxMTQgNTYwLjk0IDEyNi41MSA1NTYuNiAxMjkuODJINTQ2LjY3VjE3MC44OEg1NjJWMTQ0LjVINjQ0LjU0VjE3MC44N0g2NTkuOTVWMTI5LjgxSDY0NC4xMVY0NC41OFpNNjI4LjExIDEyOS44MUg1NzQuNkM1NzguMTEgMTI0Ljc0IDU4MS41MyAxMTAuNjcgNTgyLjYgOTAuNUw1ODQuMjUgNTkuMjdINjI4LjExVjEyOS44MVoiIGZpbGw9IiMyMTNGQjQiLz4KPHBhdGggZD0iTTkxOS44NiA0My4zNEM4OTUuNzYgNDMuMzQgODc5LjkzIDU0LjkyIDg3Ny41NSA3NC40N0g4OTMuNTVDODk1LjU1IDY0LjIzIDkwNC45MyA1Ny42MSA5MTkgNTcuNjFDOTM0LjYyIDU3LjYxIDk0My44MiA2NS40NyA5NDMuODIgNzguM1Y4NS4yM0g5MTQuNTVDODg4LjI4IDg1LjIzIDg3NC40MiA5Ni4zIDg3NC40MiAxMTYuMjNDODc0LjQyIDEzMS42NCA4ODYgMTQ1LjMgOTA3LjgzIDE0NS4zQzkyNC45IDE0NS4zIDkzOC4xNCAxMzcuODUgOTQ0LjQ1IDEyOC45NUw5NDYuNzIgMTQ0LjE2SDk1OS44NlY3OS4zM0M5NTkuODkgNTYuMDYgOTQ1LjIgNDMuMzQgOTE5Ljg2IDQzLjM0Wk05NDMuODYgMTAwLjg1Qzk0My44NiAxMTcuNzEgOTMwLjczIDEzMS42NyA5MTAuMTQgMTMxLjY3Qzg5Ni45IDEzMS42NyA4OTAuNyAxMjUuMDUgODkwLjcgMTE1LjIyQzg5MC43IDEwMy45NSA4OTguNzcgOTguNjcgOTEyLjk0IDk4LjY3SDk0My44NlYxMDAuODVaIiBmaWxsPSIjMjEzRkI0Ii8+CjxwYXRoIGQ9Ik04NjguMTQgNDQuNThIODQ5LjUyTDgxOC40OSA4Ni4xNkg3OTguNDNWNDQuNThINzgyLjRWMTQ0LjE5SDc5OC40M1YxMDAuODVIODE4LjdMODUxLjkgMTQ0LjE5SDg3MS4yNEw4MzEuODMgOTIuMzY5OUw4NjguMTQgNDQuNThaIiBmaWxsPSIjMjEzRkI0Ii8+CjxwYXRoIGQ9Ik02ODkuMiAxMTkuOThWNDQuNThINjczLjU4VjE0NC4xOUg2ODcuNjVMNzQ1LjQ3IDY4LjU3VjE0NC4xOUg3NjEuMTlWNDQuNThINzQ3LjEyTDY4OS4yIDExOS45OFoiIGZpbGw9IiMyMTNGQjQiLz4KPHBhdGggZD0iTTQ5Mi43NyA0My4zNEM0NjAuOTEgNDMuMzQgNDQxLjc3IDY1LjU3IDQ0MS43NyA5NC4zNEM0NDEuNzcgMTIzLjExIDQ2MC45IDE0NS4zNCA0OTIuNzcgMTQ1LjM0QzUyNC42NCAxNDUuMzQgNTQzLjg3IDEyMy4yIDU0My44NyA5NC4zNEM1NDMuODcgNjUuNDggNTI0LjczIDQzLjM0IDQ5Mi43NyA0My4zNFpNNDkyLjc3IDEzMC43NEM0NzEuNDYgMTMwLjc0IDQ1OC4wMSAxMTYuNTcgNDU4LjAxIDk0LjMzQzQ1OC4wMSA3Mi4wOSA0NzEuNDYgNTggNDkyLjc3IDU4QzUxNC4wOCA1OCA1MjcuNjMgNzIuMTcgNTI3LjYzIDk0LjMxQzUyNy42MyAxMTYuNDUgNTE0LjE4IDEzMC43NCA0OTIuNzcgMTMwLjc0WiIgZmlsbD0iIzIxM0ZCNCIvPgo8cGF0aCBkPSJNMzUzLjM0IDExOS45OFY0NC41OEgzMzcuNjFWMTQ0LjE5SDM1MS42OEw0MDkuNjEgNjguNTdWMTQ0LjE5SDQyNS4yM1Y0NC41OEg0MTEuMTZMMzUzLjM0IDExOS45OFoiIGZpbGw9IiMyMTNGQjQiLz4KPC9zdmc+Cg=="},24409:function(e,t,n){"use strict";n.d(t,{$o:function(){return f},Lf:function(){return l},SZ:function(){return a},U0:function(){return d},aN:function(){return c},ws:function(){return s}});var r=n(78419),o=n(7285),i=n(14041);const u=(0,o.B0)([r.LN],[r.zX]),a=(u.useContext,u.useScopedContext),l=u.useProviderContext,s=u.ContextProvider,c=u.ScopedContextProvider,d=(0,i.createContext)(void 0),f=(0,i.createContext)(void 0)},25167:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(63669);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.h)(e)}},25594:function(e,t,n){"use strict";var r=n(37142),o=n(83175);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},26402:function(e,t,n){"use strict";n.d(t,{a:function(){return p}});var r=n(60455),o=n(33903),i=n(51241);function u(e){return[e.clientX,e.clientY]}var a=n(7285),l=n(9615),s=n(14041),c=n(31085),d=n(99621),f=n(60223);function m(e){let{event:t,element:n,enterPointRef:r,disablePointerEvents:o,refreshEnterPoint:i=!1}=e;const a=r.current;if(!a)return!1;const l=u(t),s=function(e,t){const n=e.getBoundingClientRect(),{top:r,right:o,bottom:i,left:u}
1=n,[a,l]=function(e,t){const{top:n,right:r,bottom:o,left:i}=t,[u,a]=e;return[u<i?"left":u>r?"right":null,a<n?"top":a>o?"bottom":null]}(t,n),s=[t];return a?("top"!==l&&s.push(["left"===a?u:o,r]),s.push(["left"===a?o:u,r]),s.push(["left"===a?o:u,i]),"bottom"!==l&&s.push(["left"===a?u:o,i])):"top"===l?(s.push([u,r]),s.push([u,i]),s.push([o,i]),s.push([o,r])):(s.push([u,i]),s.push([u,r]),s.push([o,r]),s.push([o,i])),s}(n,a);return!!function(e,t){const[n,r]=e;let o=!1;for(let i=t.length,u=0,a=i-1;u<i;a=u++){const e=t[u],l=t[a],s=t[0===a?i-1:a-1];if(null==e)return!1;if(null==l)return!1;if(null==s)return!1;const[c,d]=e,[f,m]=l,[,v]=s,p=(d-m)*(n-c)-(c-f)*(r-d);if(m<d){if(r>=m&&r<d){if(0===p)return!0;p>0&&(r===m?r>v&&(o=!o):o=!o)}}else if(d<m){if(r>d&&r<=m){if(0===p)return!0;p<0&&(r===m?r<v&&(o=!o):o=!o)}}else if(r===d&&(n>=f&&n<=c||n>=c&&n<=f))return!0}return o}(l,s)&&(i&&(r.current=l),o(t)&&(t.preventDefault(),t.stopPropagation()),!0)}const v=(0,s.createContext)(null),p=(0,a.ab)((function(e){let{store:t,modal:n=!1,portal:r=n,hideOnEscape:p=!0,hideOnHoverOutside:h=!0,disablePointerEventsOnApproach:g=!!h,...y}=e;const E=(0,i.Kw)();t=t||E,(0,l.V1)(t,!1);const b=(0,s.useRef)(null),w=(0,s.useRef)([]),M=(0,s.useRef)(0),x=(0,s.useRef)(null),{portalRef:N,domReady:I}=(0,a.TE)(r,y.portalRef),S=(0,a.P$)(),k=!!h,O=(0,a.O4)(h),A=!!g,D=(0,a.O4)(g),j=(0,d.O$)(t,"open"),T=(0,d.O$)(t,"mounted"),C=(0,s.useCallback)((()=>{window.clearTimeout(M.current),M.current=0}),[]);(0,s.useEffect)((()=>{if(!I)return;if(!T)return;if(!k&&!A)return;const e=b.current;if(!e)return;return(0,l.cy)((0,l.dg)("mousemove",(n=>{if(!t)return;if(!S())return;const{anchorElement:r,disclosureElement:o,hideTimeout:i,timeout:a}=t.getState(),s=n.composedPath(),c=[r,o],d=c.find((e=>e&&s.includes(e)));if(function(e,t,n,r){return!!((0,l.oW)(t)||e.includes(t)||n.some((t=>t&&e.includes(t)))||null!=r&&r.some((t=>(0,l.oW)(t)||e.includes(t))))}(s,e,c,w.current))return x.current=d?u(n):null,void C();M.current||m({event:n,element:e,enterPointRef:x,disablePointerEvents:D,refreshEnterPoint:!0})||O(n)&&(M.current=window.setTimeout((()=>{var e;M.current=0,null===(e=t)||void 0===e||e.hide()}),null!=i?i:a))}),!0),C)}),[t,S,I,T,k,A,w,C,D,O]),(0,s.useEffect)((()=>{if(!I)return;if(!T)return;if(!A)return;const e=e=>{const t=b.current;t&&m({event:e,element:t,enterPointRef:x,disablePointerEvents:D})};return(0,l.cy)((0,l.dg)("mouseenter",e,!0),(0,l.dg)("mouseover",e,!0),(0,l.dg)("mouseout",e,!0),(0,l.dg)("mouseleave",e,!0))}),[I,T,A,D]),(0,s.useEffect)((()=>{var e;I&&(j||null===(e=t)||void 0===e||e.setAutoFocusOnShow(!1))}),[t,I,j]);const z=(0,a.hX)(j);(0,s.useEffect)((()=>{if(I)return()=>{var e;z.current||null===(e=t)||void 0===e||e.setAutoFocusOnShow(!1)}}),[t,I]);const L=(0,s.useContext)(v);(0,a.UQ)((()=>{if(n)return;if(!r)return;if(!T)return;if(!I)return;const e=b.current;return e?null==L?void 0:L(e):void 0}),[n,r,T,I]);const P=(0,s.useCallback)((e=>{C(),w.current=[...w.current,e];const t=null==L?void 0:L(e);return()=>{C(),w.current=w.current.filter((t=>t!==e)),null==t||t()}}),[C,L]);y=(0,a.w7)(y,(e=>
1(0,c.jsx)(i.n0,{value:t,children:(0,c.jsx)(v.Provider,{value:P,children:e})})),[t,P]),y={...y,ref:(0,a.SV)(b,y.ref)},y=function(e){let{store:t,...n}=e;const[r,o]=(0,s.useState)(!1),i=(0,d.O$)(t,"mounted");(0,s.useEffect)((()=>{i||o(!1)}),[i]);const u=n.onFocus,l=(0,a._q)((e=>{null==u||u(e),e.defaultPrevented||o(!0)})),c=(0,s.useRef)(null);return(0,s.useEffect)((()=>(0,f.OH)(t,["anchorElement"],(e=>{c.current=e.anchorElement}))),[t]),n={autoFocusOnHide:r,finalFocus:c,...n,onFocus:l},n}({store:t,...y});const R=(0,d.O$)(t,["autoFocusOnShow"],(e=>n||e.autoFocusOnShow));return y=(0,o.f)({store:t,modal:n,portal:r,autoFocusOnShow:R,...y,portalRef:N,hideOnEscape(e){return!(0,l.zO)(p,e)&&(requestAnimationFrame((()=>{requestAnimationFrame((()=>{var e;null===(e=t)||void 0===e||e.hide()}))})),!0)}}),y}));(0,r.AV)((0,a.Rf)((function(e){const t=p(e);return(0,a.n)("div",t)})),i.Kw)},26804:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var r=n(24409),o=n(7285),i=n(9615),u=n(14041);const a=Symbol("composite-hover");const l=(0,o.ab)((function(e){let{store:t,focusOnHover:n=!0,blurOnHoverEnd:l=!!n,...s}=e;const c=(0,r.SZ)();t=t||c,(0,i.V1)(t,!1);const d=(0,o.P$)(),f=s.onMouseMove,m=(0,o.O4)(n),v=(0,o._q)((e=>{var n;if(null==f||f(e),!e.defaultPrevented&&d()&&m(e)){if(!(0,i.oW)(e.currentTarget)){var r;const e=null===(r=t)||void 0===r?void 0:r.getState().compositeElement;e&&!(0,i.AJ)(e)&&e.focus({preventScroll:!0})}null===(n=t)||void 0===n||n.setActiveId(e.currentTarget.id)}})),p=s.onMouseLeave,h=(0,o.O4)(l),g=(0,o._q)((e=>{var n,r;null==p||p(e),e.defaultPrevented||d()&&(function(e){const t=e.relatedTarget;return!!(0,i.vq)(t)&&(0,i.gR)(e.currentTarget,t)}(e)||function(e){const{relatedTarget:t}=e;if(!(0,i.vq)(t))return!1;let n=t;do{if((0,i.mQ)(n,a)&&n[a])return!0;n=n.parentElement}while(n);return!1}(e)||m(e)&&h(e)&&(null===(n=t)||void 0===n||n.setActiveId(null),null===(r=t)||void 0===r||null===(r=r.getState().compositeElement)||void 0===r||r.focus({preventScroll:!0})))})),y=(0,u.useCallback)((e=>{e&&(e[a]=!0)}),[]);return s={...s,ref:(0,o.SV)(y,s.ref),onMouseMove:v,onMouseLeave:g},s}));(0,o.ph)((0,o.Rf)((function(e){const t=l(e);return(0,o.n)("div",t)})))},27622:function(e,t,n){"use strict";var r=n(98903);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},27992:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(47553);function o(e){return(0,r.k)(e,{weekStartsOn:1})}},28737:function(e,t,n){"use strict";n.d(t,{Cg:function(){return i},_m:function(){return a},my:function(){return r},s0:function(){return u},w4:function(){return o}});Math.pow(10,8);const r=6048e5,o=864e5,i=6e4,u=36e5,a=1e3},29049:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(8064),o=n(18232);const i=()=>({source:"web",date:(0,r.GP)(new Date,"y-MM-dd HH:mm",{locale:o.ru})}),u=e=>{let{eventName:t,eventData:n,err:r}=e;console.warn("Something went wrong with enkod ekEvents: ",r)};var a=new class{constructor(){this.user=null}async setUser(e){if(e){this.user={...e};const n={fields:{...this.user.email&&{email:this.user.email},...this.user.phone&&{phone:this.user.phone}},...this.user.id&&{extraFields:{user_id:this.user.id}}};try{return window.ekEvents.push("subscribe",{...n})}catch(t){u({eventName:"subscribe",eventData:n,err:t})}}else this.user=null}logEvent(e){if({}.ENKOD_ENABLED){var t,n,r,o,i,a;const s={...(null===(t=this.user)||void 0===t?void 0:t.email)&&{email:null===(n=this.user)||void 0===n?void 0:n.email},...(null===(r=this.user)||void 0===r?void 0:r.phone)&&{phone:null===(o=this.user)||void 0===o?void 0:o.phone},params:{...e.data,...(null===(i=this.user)||void 0===i?void 0:i.id)&&{user_id:null===(a=this.user)||void 0===a?void 0:a.id}}};try{window.ekEvents.push(e.name,{...s})}catch(l){u({eventName:e.name,eventData:s,err:l})}}}logCreateProject(e){const t={...e,...i()};this.logEvent({name:"create_project",data:t})}logPageOpen(){try{window.ekEvents.push("pageOpen")}catch(e){u({eventName:"pageOpen",eventData:{},err:e})}}logAddToCart(e){var t,n;const r={...e,...i()};this.logEvent({name:"product_add",data:r});const o={productId:e.name,type:e.type,...(null===(t=this.user)||void 0===t?void 0:t.id)&&{user_id:null===(n=this.user)||void 0===n?void 0:n.id},...i()};try{window.ekEvents.push("productAdd",{...o})}catch(a){u({eventName:"productAdd",eventData:o,err:a})}}logRemoveFromCart(e){var t,n;const r={...e,...i()};this.logEvent({name:"product_remove",data:r});const o={productId:e.name,type:e.type,...(null===(t=this.user)||void 0===t?void 0:t.id)&&{user_id:null===(n=this.user)||void 0===n?void 0:n.id},...i()};try{window.ekEvents.push("productRemove",{...o})}catch(a){u({eventName:"productRemove",eventData:o,err:a})}}async logPurchase(e,t){const{needSubscribe:n,phone:r,email:o}=t,a=e=>{var t,n;const r={...(null===(t=this.user)||void 0===t?void 0:t.id)&&{user_id:null===(n=this.user)||void 0===n?void 0:n.id},...e,...i()};try{window.ekEvents.push("productBuy",{...r})}catch(o){u({eventName:"productBuy",eventData:r,err:o})}};if(n)try{200===(await this.setUser({phone:r,email:o})).status&&a(e)}catch(l){console.warn("Something went wrong with enkod subscribe: ",l)}else a(e)}}},29185:function(e,t,n){"use strict";var r=n(98903),o=n(38497),i=n(20187),u=n(81107),a=n(25594),l=n(96745),s=n(36413),c=n(59062),d=n(20634),f=n(6271);e.exports=function(e){return new Promise((function(t,n){var m,v=e.data,p=e.headers,h=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m)}r.isFormData(v)&&delete p["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var E=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(E+":"+b)}var w=a(e.baseURL,e.url);function M(){if(y){var r="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,i={data:h&&"text"!==h&&"json"!==h?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),g()}),(function(e){n(e),g()}),i),y=null}}if(y.open(e.method.toUpperCase(),u(w,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=M:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(
1M)},y.onabort=function(){y&&(n(c("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(c("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var x=(e.withCredentials||s(w))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;x&&(p[e.xsrfHeaderName]=x)}"setRequestHeader"in y&&r.forEach(p,(function(e,t){void 0===v&&"content-type"===t.toLowerCase()?delete p[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),h&&"json"!==h&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(m=function(e){y&&(n(!e||e&&e.type?new f("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(m),e.signal&&(e.signal.aborted?m():e.signal.addEventListener("abort",m))),v||(v=null),y.send(v)}))}},30244:function(e,t,n){"use strict";n.d(t,{y:function(){return f}});var r=n(11276),o=n(60089),i=n(10875),u=n(49351),a=n(7285),l=n(9615),s=n(99621);const c=(0,a.ab)((function(e){let{store:t,...n}=e;const r=(0,i.cH)();t=t||r,(0,l.V1)(t,!1);const o=(0,s.O$)(t,"contentElement");return n={"aria-haspopup":(0,l.Tc)(o,"dialog"),...n},n=(0,u.j)({store:t,...n}),n}));(0,a.Rf)((function(e){const t=c((0,r.Y)(e));return(0,a.n)("button",t)}));var d=n(31085);const f=(0,a.ab)((function(e){let{store:t,...n}=e;const r=(0,o.zG)();return t=t||r,(0,l.V1)(t,!1),n=(0,a.w7)(n,(e=>(0,d.jsx)(o.s1,{value:t,children:e})),[t]),n=c({store:t,...n}),n}));(0,a.Rf)((function(e){const t=f((0,r.Y)(e));return(0,a.n)("button",t)}))},30458:function(e,t,n){"use strict";var r=n(89708).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,u){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,u)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],u=t[i];if(u){var a=e[i],l=void 0===a||u(a,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},32597:function(e,t,n){"use strict";function r(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const u=i[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(a,(e=>e.test(u))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(a,(e=>e.test(u)));let s;s=e.valueCallback?e.valueCallback(l):l,s=n.valueCallback?n.valueCallback(s):s;return{value:s,rest:t.slice(u.length)}}}n.d(t,{A:function(){return r}})},33903:function(e,t,n){"use strict";n.d(t,{f:function(){return N}});var r=n(60089),o=n(57967),i=n(60455),u=n(55078),a=n(7285),l=n(9615),s=n(14041),c=n(31085),d=n(99621),f=n(60223),m=n(83744);const v=new WeakMap;function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;
1if("function"==typeof DOMRect)return new DOMRect(e,t,n,r);const o={x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e};return{...o,toJSON:()=>o}}function h(e,t){return{contextElement:e||void 0,getBoundingClientRect:()=>{const n=e,r=null==t?void 0:t(n);return r||!n?function(e){if(!e)return p();const{x:t,y:n,width:r,height:o}=e;return p(t,n,r,o)}(r):n.getBoundingClientRect()}}}function g(e){return/^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(e)}function y(e){const t=window.devicePixelRatio||1;return Math.round(e*t)/t}function E(e,t){return(0,m.cY)((n=>{var r;let{placement:o}=n;const i=((null==e?void 0:e.clientHeight)||0)/2,u="number"==typeof t.gutter?t.gutter+i:null!==(r=t.gutter)&&void 0!==r?r:i;return{crossAxis:o.split("-")[1]?void 0:t.shift,mainAxis:u,alignmentAxis:t.shift}}))}function b(e){if(!1===e.flip)return;const t="string"==typeof e.flip?e.flip.split(" "):void 0;return(0,l.V1)(!t||t.every(g),!1),(0,m.UU)({padding:e.overflowPadding,fallbackPlacements:t})}function w(e){if(e.slide||e.overlap)return(0,m.BN)({mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:(0,m.ER)()})}function M(e,t){return(0,m.Ej)({padding:e.overflowPadding,apply(n){let{elements:r,availableWidth:o,availableHeight:i,rects:u}=n;if(null!=t&&t())return;const a=r.floating,l=Math.round(u.reference.width);o=Math.floor(o),i=Math.floor(i),a.style.setProperty("--popover-anchor-width",`${l}px`),a.style.setProperty("--popover-available-width",`${o}px`),a.style.setProperty("--popover-available-height",`${i}px`),e.sameWidth&&(a.style.width=`${l}px`),e.fitViewport&&(a.style.maxWidth=`${o}px`,a.style.maxHeight=`${i}px`)}})}function x(e,t){if(e)return(0,m.UE)({element:e,padding:t.arrowPadding})}const N=(0,a.ab)((function(e){var t,n,p,g;let{store:N,modal:I=!1,portal:S=I,preserveTabOrder:k=!0,autoFocusOnShow:O=!0,wrapperProps:A,fixed:D=!1,flip:j=!0,shift:T=0,slide:C=!0,overlap:z=!1,sameWidth:L=!1,fitViewport:P=!1,gutter:R,arrowPadding:B=4,overflowPadding:Q=8,getAnchorRect:U,updatePosition:Y,...F}=e;const W=(0,r.zG)();N=N||W,(0,l.V1)(N,!1);const q=(0,d.O$)(N,"arrowElement"),H=(0,d.O$)(N,"anchorElement"),G=k&&S&&!I,V=(0,d.O$)(N,G?["disclosureElement"]:[],(e=>G?e.disclosureElement:null)),_=(0,d.O$)(N,"popoverElement"),K=(0,d.O$)(N,"unstable_placing"),J=(0,d.O$)(N,"contentElement"),Z=(0,d.O$)(N,"placement"),$=(0,d.O$)(N,"mounted"),X=(0,d.O$)(N,"rendered"),ee=(0,s.useRef)(null),te=!K,{portalRef:ne,domReady:re}=(0,a.TE)(S,F.portalRef),oe=(0,a._q)(U),ie=(0,a._q)(Y),ue=!!Y,ae="number"==typeof Q?Q:null!==(t=Q.top)&&void 0!==t?t:0,le="number"==typeof Q?Q:null!==(n=Q.right)&&void 0!==n?n:0,se="number"==typeof Q?Q:null!==(p=Q.bottom)&&void 0!==p?p:0,ce="number"==typeof Q?Q:null!==(g=Q.left)&&void 0!==g?g:0,de=!$&&(0,o.dK)($,F.hidden,F.alwaysVisible);(0,a.UQ)((()=>{var e;if($&&(null===(e=N)||void 0===e||e.setState("unstable_placing",!0)),null==_||!_.isConnected)return;const t={top:ae,right:le,bottom:se,left:ce};var n,r,o;if(_.style.setProperty("--popover-overflow-padding",`${n=t,"number"==typeof n?n:Math.max(null!==(r=n.left)&&void 0!==r?r:0,null!==(o=n.right)&&void 0!==o?o:0)}px`),de&&!ue)return;const i=h(H,oe);let a=!1,l=!1;const s=()=>!!a||!_.isConnected,c=async()=>{var e;if(s())return;if(!$)return;q||(ee.current=ee.current||document.createElement("div"));const n=q||ee.current,r=[E(n,{gutter:R,shift:T}),b({flip:j,overflowPadding:t}),w({slide:C,shift:T,overlap:z,overflowPadding:t}),x(n,{arrowPadding:B}),M({sameWidth:L,fitViewport:P,overflowPadding:t},s)],o=await(0,m.rD)(i,_,{placement:Z,strategy:D?"fixed":"absolute",middleware:r});if(s())return;null===(e=N)||void 0===e||e.setState("currentPlacement",o.placement);const a=y(o.x),c=y(o.y);if(Object.assign(_.style,{top:"0",left:"0",transform:`translate3d(${a}px,${c}px,0)`}),l=!0,n&&o.middlewareData.arrow){const{x:e,y:t}=o.middlewareData.arrow,r=(0,u.t)(o.placement),i=n.clientWidth/2,a=n.clientHeight/2,l=null!=e?e+i:-i,s=null!=t?t+a:-a;_.style.setProperty("--popover-transform-origin",{top:`${l}px calc(100% + ${a}px)`,bottom:`${l}px ${-a}px`,left:`calc(100% + ${i}px) ${s}px`,right:`${-i}px ${s}px`}[r]),Object.assign(n.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[r]:"100%"})}},d=(0,m.ll)(i,_,(async()=>{var e;if(!s()){try{ue?await ie({updatePosition:c}):await c()}catch(n){var t;throw l&&!s()&&(null===(t=N)||void 0===t||t.setState("unstable_placing",!1)),n}s()||null===(e=N)||void 0===e||e.setState("unstable_placing",!1)}}),{elementResize:"function"==typeof ResizeObserver});return()=>{a=!0,d()}}),[N,X,_,q,H,Z,$,de,re,D,j,T,C,z,L,P,R,B,ae,le,se,ce,oe,ue,ie]),(0,a.UQ)((()=>
1{if(!$)return;if(!re)return;if(null==_||!_.isConnected)return;if(null==J||!J.isConnected)return;const e=()=>{_.style.zIndex=getComputedStyle(J).zIndex};e();let t=requestAnimationFrame((()=>{t=requestAnimationFrame(e)}));return()=>cancelAnimationFrame(t)}),[$,re,_,J]),(0,a.UQ)((()=>{var e;if(!N)return;const t=N;v.set(t,(null!==(e=v.get(t))&&void 0!==e?e:0)+1);const n=(0,f.OH)(t,["mounted"],(e=>{t.setState("unstable_placing",e.mounted)}));return()=>{var e;n(),v.set(t,(null!==(e=v.get(t))&&void 0!==e?e:1)-1),queueMicrotask((()=>{v.get(t)||t.setState("unstable_placing",!1)}))}}),[N]);const fe=D?"fixed":"absolute";return F=(0,a.w7)(F,(e=>{var t;return(0,c.jsx)("div",{...A,style:{position:fe,top:0,left:0,width:"max-content",...null==A?void 0:A.style},ref:null===(t=N)||void 0===t?void 0:t.setPopoverElement,children:e})}),[N,fe,A]),F=(0,a.w7)(F,(e=>(0,c.jsx)(r.s1,{value:N,children:e})),[N]),F={"data-placing":K||void 0,...F,style:{position:"relative",...F.style}},F=(0,i.sp)({store:N,modal:I,portal:S,preserveTabOrder:k,preserveTabOrderAnchor:V||H,autoFocusOnShow:te&&O,...F,portalRef:ne}),F}));(0,i.AV)((0,a.Rf)((function(e){const t=N(e);return(0,a.n)("div",t)})),r.zG)},34232:function(e,t,n){"use strict";var r=n(5613),o=n(5604),i=n(16881),u=n(44977),a=n(39509),l=n(42344),s=n(38873),c=n(5234),d=Object.groupBy,f=o("Object","create"),m=i([].push);r({target:"Object",stat:!0,forced:!d||c((function(){return 1!==d("ab",(function(e){return e})).a.length}))},{groupBy:function(e,t){a(e),u(t);var n=f(null),r=0;return s(e,(function(e){var o=l(t(e,r++));o in n?m(n[o],e):n[o]=[e]})),n}})},36385:function(e,t,n){"use strict";function r(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}n.d(t,{w:function(){return r}})},36413:function(e,t,n){"use strict";var r=n(98903);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},37142:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},38367:function(e,t,n){"use strict";var r=n(98903),o=n(71244),i=n(18563),u=n(20634),a=n(6271);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||u.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},38497:function(e,t,n){"use strict";var r=n(59062);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},38873:function(e,t,n){"use strict";var r=n(85821),o=n(39944),i=n(3770),u=n(13174),a=n(28146),l=n(69389),s=n(4578),c=n(62350),d=n(69874),f=n(88500),m=TypeError,v=function(e,t){this.stopped=e,this.result=t},p=v.prototype;e.exports=function(e,t,n){var h,g,y,E,b,w,M,x=n&&n.that,N=!(!n||!n.AS_ENTRIES),I=!(!n||!n.IS_RECORD),S=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),O=r(t,x),A=function(e){return h&&f(h,"normal",e),new v(!0,e)},D=function(e){return N?(i(e),k?O(e[0],e[1],A):O(e[0],e[1])):k?O(e,A):O(e)};if(I)h=e.iterator;else if(S)h=e;else{if(!(g=d(e)))throw new m(u(e)+" is not iterable");if(a(g)){for(y=0,E=l(e);E>y;y++)if((b=D(e[y]))&&s(p,b))return b;return new v(!1)}h=c(e,g)}for(w=I?e.next:h.next;!(M=o(w,h)).done;){try{b=D(M.value)}catch(j){f(h,"throw",j)}if("object"==typeof b&&b&&s(p,b))return b}return new v(!1)}},38919:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});n(47010);var r=n(14041),o=n(42722),i=n.n(o),u=n(46439);const a={"Accept-Version":{}.API_VERSION_HEADER||"v11","Content-Type":"application/json"},l=e=>{let{onSubmit:t,options:n={}}=e;const[o,l]=(0,r.useState)(!1),[s,c]=(0,r.useState)(""),[d,f]=(0,r.useState)(),[m,v]=(0,r.useState)(),[p,h]=(0,r.useState)("idle"),g=(0,r.useCallback)((e=>{c(e),""!==e&&(f(void 0),v(void 0),h("idle"))}),[]);return{email:s,emailError:d,setEmail:g,setAgreePolicy:l,agreePolicy:o,agreePolicyError:m,submit:async e=>{e.preventDefault();const r=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i;if(""!==s)if(""===s||!r.test(s)||o){if(!r.test(s))return f("Введите E-mail в формате [email protected]"),void h("idle");if(f(void 0),h("idle"),""!==s){h("submitting");try{await async function(e,t){void 0===t&&(t={}
1),await i().post("https://api.periodica.press/api/subscription",{email:e,extra_fields:t,groups:["main_list","unconfirmed"]},{headers:a})}(s,n),t&&t(),h("submitted"),c("");try{window.localStorage.setItem("emailPopup_isSubscribed","true")}catch{}}catch(w){if(h("idle"),i().isAxiosError(w)){var l,d,m,p,g,y,E,b;if("Throttled"===(null===(l=w.response)||void 0===l||null===(d=l.data)||void 0===d?void 0:d.error))return void(0,u.me)({text:"Попробуйте позже",type:"error"});if(null!==(m=w.response)&&void 0!==m&&null!==(p=m.data)&&void 0!==p&&p.message&&"string"==typeof(null===(g=w.response)||void 0===g||null===(y=g.data)||void 0===y?void 0:y.message)&&null!==(E=w.response)&&void 0!==E&&null!==(b=E.data)&&void 0!==b&&b.message.includes("email not valid"))return void f("Некорректный E-mail")}(0,u.me)({text:"Произошла ошибка",type:"error"})}}}else v("Необходимо согласиться с правилами, чтобы продолжить");else f("Введите E-mail в формате [email protected]")},formStatus:p}}},39849:function(e,t,n){"use strict";function r(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:function(){return r}})},41509:function(e,t,n){"use strict";n.d(t,{y:function(){return u}});var r=n(86029),o=n(60223),i=n(9615);function u(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=null===(e=t.store)||void 0===e?void 0:e.getState(),u=(0,r.N)({...t,placement:(0,i.Jh)(t.placement,null==n?void 0:n.placement,"bottom")}),a=(0,i.Jh)(t.timeout,null==n?void 0:n.timeout,500),l={...u.getState(),timeout:a,showTimeout:(0,i.Jh)(t.showTimeout,null==n?void 0:n.showTimeout),hideTimeout:(0,i.Jh)(t.hideTimeout,null==n?void 0:n.hideTimeout),autoFocusOnShow:(0,i.Jh)(null==n?void 0:n.autoFocusOnShow,!1)},s=(0,o.y$)(l,u,t.store);return{...u,...s,setAutoFocusOnShow:e=>s.setState("autoFocusOnShow",e)}}},41965:function(e,t,n){"use strict";n.d(t,{lF:function(){return oe},cG:function(){return ue},Gr:function(){return ie},q7:function(){return re},Kq:function(){return ne},l9:function(){return te}});var r={};n.r(r),n.d(r,{divider:function(){return U},dropdownMenuContent:function(){return Y},dropdownMenuItem:function(){return F},empty:function(){return W},icon:function(){return q},large:function(){return H},line:function(){return G},medium:function(){return V},menuItemCheck:function(){return _},menuItemCheckWrapper:function(){return K},ordinary:function(){return J},radioItem:function(){return Z},text:function(){return $},textDivider:function(){return X}});var o=n(14041),i=n(11276),u=n(30244),a=n(16419),l=n(43493),s=n(55078),c=n(82389),d=n(7177),f=n(7285),m=n(9615),v=n(31085),p=n(99621);function h(e,t){return!(null==e||!e.some((e=>!!e.element&&(e.element!==t&&"true"===e.element.getAttribute("aria-expanded")))))}const g=(0,f.ab)((function(e){let{store:t,focusable:n,accessibleWhenDisabled:r,showOnHover:i,...g}=e;const y=(0,d.jj)();t=t||y,(0,m.V1)(t,!1);const E=(0,o.useRef)(null),b=t.parent,w=t.menubar,M=!!b,x=!!w&&!M,N=(0,m.$f)(g),I=e=>N||(0,m.lp)(e),S=()=>{var e,n;const r=E.current;r&&(null===(e=t)||void 0===e||e.setDisclosureElement(r),null===(n=t)||void 0===n||n.show())},k=g.onFocus,O=(0,f._q)((e=>{var n,r;if(null==k||k(e),I(e.currentTarget))return;if(e.defaultPrevented)return;if(null===(n=t)||void 0===n||n.setAutoFocusOnShow(!1),null===(r=t)||void 0===r||r.setActiveId(null),!w)return;if(!x)return;const{items:o}=w.getState();h(o,e.currentTarget)&&S()})),A=(0,p.O$)(t,["placement"],(e=>(0,s.t)(e.placement))),D=g.onKeyDown,j=(0,f._q)((e=>{if(null==D||D(e),I(e.currentTarget))return;if(e.defaultPrevented)return;const n=function(e,t){return{ArrowDown:("bottom"===t||"top"===t)&&"first",ArrowUp:("bottom"===t||"top"===t)&&"last",ArrowRight:"right"===t&&"first",ArrowLeft:"left"===t&&"first"}[e.key]}(e,A);if(n){var r,o;e.preventDefault();const{open:i}=t.getState();if(i){const e="last"===n?t.last():t.first();return void t.move(e)}S(),null===(r=t)||void 0===r||r.setAutoFocusOnShow(!0),null===(o=t)||void 0===o||o.setInitialFocus(n)}})),T=g.onClick,C=(0,f._q)((e=>{if(null==T||T(e),e.defaultPrevented)return;if(!t)return;const n=!e.detail,{open:r}=t.getState();r&&!n||(M&&!n||t.setAutoFocusOnShow(!0),t.setInitialFocus(n?"first":"container")),M&&S()}));g=(0,f.w7)(g,(e=>(0,v.jsx)(d.Su,{value:t,children:e})),[t]),M&&(g={...g,render:(0,v.jsx)(l.X.div,{render:g.render})});const z=(0,f.Bi)(g.id),L=(0,p.O$)((null==b?void 0:b.combobox)||b,"contentElement"),P=M||x?(0,m.cn)(L,"menuitem"):void 0,R=(0,p.O$)(t,"contentElement"),B=!!t.combobox;return g={role:P,"aria-haspopup":(0,m.Tc)(R,B?"dialog":"menu"),...g,id:z,ref:(0,f.SV)(E,g.ref),onFocus:O,onKeyDown:j,onClick:C},g=(0,c.t)({store:t,focusable:n,accessibleWhenDisabled:r,...g,showOnHover:e=>{if(!(()=>
1{if("function"==typeof i)return i(e);if(null!=i)return i;if(M)return!0;if(!w)return!1;const{items:t}=w.getState();return x&&h(t)})())return!1;const t=x?w:b;return!t||(t.setActiveId(e.currentTarget.id),!0)}}),g=(0,u.y)({store:t,toggleOnClick:!M,focusable:n,accessibleWhenDisabled:r,...g}),g=(0,a.g)({store:t,typeahead:x,...g}),g})),y=(0,f.Rf)((function(e){const t=g(e);return(0,f.n)("button",(0,i.Y)(t))}));var E=n(20349);function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,E.c)(e);return(0,v.jsx)(d.Su,{value:t,children:e.children})}var w=n(26804),M=n(47282),x=n(51821);const N=(0,f.ab)((function(e){let{store:t,hideOnClick:n=!0,preventScrollOnKeyDown:r=!0,focusOnHover:i,blurOnHoverEnd:u,...a}=e;const l=(0,d.wI)(!0),s=(0,x.L8)();t=t||l||s,(0,m.V1)(t,!1);const c=a.onClick,v=(0,f.O4)(n),h="hideAll"in t?t.hideAll:void 0,g=!!h,y=(0,f._q)((e=>{if(null==c||c(e),e.defaultPrevented)return;if((0,m.RN)(e))return;if((0,m.$b)(e))return;if(!h)return;const t=e.currentTarget.getAttribute("aria-haspopup");t&&"false"!==t||v(e)&&h()})),E=(0,p.O$)(t,["contentElement"],(e=>"contentElement"in e?e.contentElement:null)),b=(0,o.useContext)(d.B);return a={role:(0,m.cn)(E,"menuitem"),...a,onClick:y},a=(0,M.k)({store:t,preventScrollOnKeyDown:r,...a,shouldRegisterItem:!b&&a.shouldRegisterItem}),a=(0,w.T)({store:t,...a,focusOnHover(e){if(!t)return!1;if(!("function"==typeof i?i(e):null==i||i))return!1;const{compositeElement:n,items:r}=t.getState();return g?(e.currentTarget.hasAttribute("aria-expanded")&&e.currentTarget.focus({preventScroll:!0}),!0):!!function(e,t,n){var r;if(!e)return!1;if((0,m.oW)(e))return!0;const o=null==t||null===(r=t.find((e=>{var t;return e.element!==n&&"true"===(null===(t=e.element)||void 0===t?void 0:t.getAttribute("aria-expanded"))})))||void 0===r||null===(r=r.element)||void 0===r?void 0:r.getAttribute("aria-controls");if(!o)return!1;const i=(0,m.YE)(e).getElementById(o);return!(!i||!(0,m.oW)(i)&&!i.querySelector("[role=menuitem][aria-expanded=true]"))}(n,r,e.currentTarget)&&(e.currentTarget.focus({preventScroll:!0}),!0)},blurOnHoverEnd(e){return"function"==typeof u?u(e):null!=u?u:g}}),a})),I=(0,f.ph)((0,f.Rf)((function(e){const t=N(e);return(0,f.n)("div",t)})));var S=n(60455),k=n(26402),O=n(75631),A=n(57967);const D=(0,f.ab)((function(e){var t;let{store:n,alwaysVisible:r,composite:i,...u}=e;const l=(0,d.jj)();n=n||l,(0,m.V1)(n,!1);const c=n.parent,h=n.menubar,g=!!c,y=(0,f.Bi)(u.id),E=u.onKeyDown,b=(0,p.O$)(n,["placement"],(e=>(0,s.t)(e.placement))),w=(0,p.O$)(n,["orientation"],(e=>"both"===e.orientation?void 0:e.orientation)),M="vertical"!==w,x=(0,p.O$)(h,["orientation"],(e=>!!e&&"vertical"!==e.orientation)),N=(0,f._q)((e=>{if(null==E||E(e),!e.defaultPrevented){if(g||h&&!M){const r={ArrowRight:()=>"left"===b&&!M,ArrowLeft:()=>"right"===b&&!M,ArrowUp:()=>"bottom"===b&&M,ArrowDown:()=>"top"===b&&M}[e.key];var t;if(null!=r&&r())return e.stopPropagation(),e.preventDefault(),null===(t=n)||void 0===t?void 0:t.hide()}if(h){const t={ArrowRight:()=>{if(x)return h.next()},ArrowLeft:()=>{if(x)return h.previous()},ArrowDown:()=>{if(!x)return h.next()},ArrowUp:()=>{if(!x)return h.previous()}}[e.key],n=null==t?void 0:t();void 0!==n&&(e.stopPropagation(),e.preventDefault(),h.move(n))}}}));u=(0,f.w7)(u,(e=>(0,v.jsx)(d.Gq,{value:n,children:e})),[n]);const I=function(e){let{store:t,...n}=e;const[r,i]=(0,o.useState)(void 0),u=n["aria-label"],a=(0,p.O$)(t,"disclosureElement"),l=(0,p.O$)(t,"contentElement");return(0,o.useEffect)((()=>{const e=a;e&&l&&(u||l.hasAttribute("aria-label")?i(void 0):e.id&&i(e.id))}),[u,a,l]),r}({store:n,...u}),S=(0,p.O$)(n,"mounted"),k=(0,A.dK)(S,u.hidden,r),D=k?{...u.style,display:"none"}:u.style;u=(0,f.w7)(u,(e=>(0,v.jsx)(d.B.Provider,{value:k,children:e})),[k]),u={"aria-labelledby":I,hidden:k,...u,id:y,ref:(0,f.SV)(y?n.setContentElement:null,u.ref),style:D,onKeyDown:N};const j=!!n.combobox;return i=null!==(t=i)&&void 0!==t?t:!j,i&&(u={role:"menu","aria-orientation":w,...u}),u=(0,O.T)({store:n,composite:i,...u}),u=(0,a.g)({store:n,typeahead:!j,...u}),u})),j=((0,f.Rf)((function(e){const t=D(e);return(0,f.n)("div",t)})),(0,f.ab)((function(e){let{store:t,modal:n=!1,portal:r=n,hideOnEscape:i=!0,autoFocusOnShow:u=!0,hideOnHoverOutside:a,alwaysVisible:l,...s}=e;const c=(0,d.jj)();t=t||c,(0,m.V1)(t,!1);const v=(0,o.useRef)(null),h=t.parent,g=t.menubar,y=!!h,E=!!g&&!y,b=!y&&n;s={...s,ref:(0,f.SV)(v,s.ref)};const{"aria-labelledby":w,...M}=D({store:t,alwaysVisible:l,...s});s=M;const[x,N]=(0,o.useState)(),I=(0,p.O$)(t,["autoFocusOnShow","initialFocus","renderedItems","compositeElement"],(e=>{var t;if(!e.autoFocusOnShow)return;const n=e=>!e.disabled&&!!e.element;switch(e.initialFocus){case"first":return(null===(t=e.renderedItems.find(n))||void 0===t?void 0:t.element)||null;case"last":for(let t=e.renderedItems.length-1;t>=0;t-=1){const r=e.renderedItems[t];if(r&&n(r))return r.element}return null;default:return e.compositeElement}}));(0,o.useEffect)((()=>{let e=!1;return N((t=>{var n;if(e)return;if(b&&null!=t&&null!==(n=t.current)&&void 0!==n&&n.isConnected)return t;if(void 0===I)return;if(I&&I===(null==t?void 0:t.current))return t;const r=(0,o.createRef)();return r.current=I,r})),()=>{e=!0}}),[b,I]);const S=!!x||!!s.initialFocus||b,O=!1!==u&&(S&&u),A=(0,p.O$)(t,["disclosureElement","anchorElement"],(e=>e.disclosureElement||e.anchorElement)),j=(0,p.O$)(t.combobox||t,"contentElement"),T=(0,p.O$)((null==h?void 0:h.combobox)||h,"contentElement"),C=(0,o.useMemo)((()=>
1{if(!T)return;if(!j)return;const e=j.getAttribute("role"),t=T.getAttribute("role");return"menu"!==t&&"menubar"!==t||"menu"!==e?T:void 0}),[j,T]);return void 0!==C&&(s={preserveTabOrderAnchor:C,...s}),s=(0,k.a)({store:t,alwaysVisible:l,initialFocus:x,autoFocusOnShow:O,finalFocus:A,...s,hideOnEscape(e){var n;return!(0,m.zO)(i,e)&&(null===(n=t)||void 0===n||n.hideAll(),!0)},hideOnHoverOutside(e){var n;const r=null===(n=t)||void 0===n?void 0:n.getState().disclosureElement;return!!("function"==typeof a?a(e):null!=a?a:y||E&&(!r||!(0,m.oW)(r)))&&(!!e.defaultPrevented||(!y||(!r||((0,m.rC)(r,"mouseout",e),!(0,m.oW)(r)||(requestAnimationFrame((()=>{var e;(0,m.oW)(r)||null===(e=t)||void 0===e||e.hide()})),!1)))))},modal:b,portal:r,backdrop:!y&&s.backdrop}),s={"aria-labelledby":w,...s},s}))),T=(0,S.AV)((0,f.Rf)((function(e){const t=j(e);return(0,f.n)("div",t)})),d.jj);var C=n(24409);const z=(0,f.ab)((function(e){let{orientation:t="horizontal",...n}=e;return n={role:"separator","aria-orientation":t,...n},n})),L=((0,f.Rf)((function(e){const t=z(e);return(0,f.n)("hr",t)})),(0,f.ab)((function(e){let{store:t,orientation:n,...r}=e;const o=(0,C.SZ)();t=t||o,(0,m.V1)(t,!1);const i=(0,p.O$)(t,["orientation"],(e=>null!=n?n:"horizontal"===e.orientation?"vertical":"horizontal"));return r=z({...r,orientation:i}),r}))),P=((0,f.Rf)((function(e){const t=L(e);return(0,f.n)("hr",t)})),(0,f.ab)((function(e){let{store:t,...n}=e;const r=(0,d.KZ)();return t=t||r,n=L({store:t,...n}),n}))),R=(0,f.Rf)((function(e){const t=P(e);return(0,f.n)("hr",t)}));var B=n(41059),Q=n.n(B),U=(n(18321),"styles-module--divider--d2193"),Y="styles-module--dropdownMenuContent--d767b",F="styles-module--dropdownMenuItem--ba694",W="styles-module--empty--568f4",q="styles-module--icon--ffb10",H="styles-module--large--2e1be",G="styles-module--line--c6791",V="styles-module--medium--62dab",_="styles-module--menuItemCheck--d9d86",K="styles-module--menuItemCheckWrapper--78ba7",J="styles-module--ordinary--68554",Z="styles-module--radioItem--7150f",$="styles-module--text--5ed8e",X="styles-module--textDivider--ef4f8";function ee(){return ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ee.apply(null,arguments)}function te(e){return o.createElement(y,e)}function ne(e){return o.createElement(b,e)}function re(e){let{onClick:t,addition:n,children:r,className:i="",...u}=e;return o.createElement(I,ee({className:Q()([F,i]),onClick:t,focusOnHover:!1},u),o.createElement("span",{className:$},r),n?o.createElement("div",null,n):null)}function oe(e){let{children:t,portal:n=!1,style:r,className:i="",...u}=e;return o.createElement(T,ee({gutter:16,portal:n,className:Q()([Y,i]),style:r,fixed:!0},u),t)}function ie(e){let{href:t,onClick:n,children:r,prepend:i,...u}=e;return o.createElement(I,ee({className:F,onClick:n,focusOnHover:!1,render:o.createElement("a",{href:t,target:"_blank",rel:"noreferrer"})},u),i&&o.createElement("span",{className:q},i),o.createElement("span",{className:$},r))}function ue(e){let{variant:t="line"}=e;return o.createElement(R,{render:o.createElement("div",{className:Q()([U,r[t]])})})}},42561:function(e,t,n){"use strict";n.d(t,{N:function(){return u},j:function(){return a}});var r=n(423),o=n(99621),i=n(25167);function u(e,t,n){return(0,r.W)(e,t,n)}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=(0,o.Pj)(i.Y,e);return u(t,n,e)}},42722:function(e,t,n){e.exports=n(97676)},43493:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(7285);(0,r.ab)((function(e){return e}));const o=(0,r.Rf)((function(e){return(0,r.n)("div",e)}));Object.assign(o,["a","button","details","dialog","div","form","h1","h2","h3","h4","h5","h6","header","img","input","label","li","nav","ol","p","section","select","span","summary","textarea","ul","svg"].reduce(((e,t)=>(e[t]=(0,r.Rf)((function(e){return(0,r.n)(t,e)})),e)),{}))},44031:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(10735),o=n(99621);function i(e,t,n){return(0,o.Tz)(e,n,"timeout"),(0,o.Tz)(e,n,"showTimeout"),(0,o.Tz)(e,n,"hideTimeout"),(0,r.o)(e,t,n
1)}},44575:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var r=n(28737),o=n(47553),i=n(36385),u=n(77581),a=n(50290);function l(e,t){var n,r,l,s,c,d;const f=(0,a.q)(),m=null!==(n=null!==(r=null!==(l=null!==(s=null==t?void 0:t.firstWeekContainsDate)&&void 0!==s?s:null==t||null===(c=t.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==l?l:f.firstWeekContainsDate)&&void 0!==r?r:null===(d=f.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1,v=(0,u.h)(e,t),p=(0,i.w)(e,0);p.setFullYear(v,0,m),p.setHours(0,0,0,0);return(0,o.k)(p,t)}var s=n(86369);function c(e,t){const n=(0,s.a)(e),i=+(0,o.k)(n,t)-+l(n,t);return Math.round(i/r.my)+1}},46837:function(e,t,n){"use strict";n.d(t,{OI:function(){return r.OI},Zr:function(){return r.Zr}});var r=n(43699)},47282:function(e,t,n){"use strict";n.d(t,{k:function(){return g}});var r=n(11276),o=n(84763),i=n(78419),u=n(7285),a=n(9615),l=n(14041);const s=(0,u.ab)((function(e){let{store:t,shouldRegisterItem:n=!0,getItem:r=a.D_,element:o,...s}=e;const c=(0,i.$I)();t=t||c;const d=(0,u.Bi)(s.id),f=(0,l.useRef)(o);return(0,l.useEffect)((()=>{var e;const o=f.current;if(!d)return;if(!o)return;if(!n)return;const i=r({id:d,element:o});return null===(e=t)||void 0===e?void 0:e.renderItem(i)}),[d,n,r,t]),s={...s,ref:(0,u.SV)(f,s.ref)},s}));(0,u.Rf)((function(e){const t=s(e);return(0,u.n)("div",t)}));var c=n(24409),d=n(5517),f=n(31085),m=n(99621),v=n(60223);function p(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{top:n}=e.getBoundingClientRect();return t?n+e.clientHeight:n}function h(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t)return;if(!n)return;const{renderedItems:o}=t.getState(),i=(0,a.qj)(e);if(!i)return;const u=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=e.clientHeight,{top:r}=e.getBoundingClientRect(),o=1.5*Math.max(.875*n,n-40),i=t?n-o+r:o+r;return"HTML"===e.tagName?i+e.scrollTop:i}(i,r);let l,s;for(let a=0;a<o.length;a+=1){var c;const e=l;if(l=n(a),!l)break;if(l===e)continue;const o=null===(c=(0,d.hZ)(t,l))||void 0===c?void 0:c.element;if(!o)continue;const i=p(o,r)-u,f=Math.abs(i);if(r&&i<=0||!r&&i>=0){void 0!==s&&s<f&&(l=e);break}s=f}return l}const g=(0,u.ab)((function(e){let{store:t,rowId:n,preventScrollOnKeyDown:r=!1,moveOnKeyPress:i=!0,tabbable:p=!1,getItem:g,typeaheadText:y,"aria-setsize":E,"aria-posinset":b,unstable_scrollIntoView:w,...M}=e;const x=(0,c.SZ)();t=t||x;const N=(0,u.Bi)(M.id),I=(0,l.useRef)(null),S=(0,l.useRef)(null),k=(0,l.useCallback)((e=>{const t=S.current;!e&&t&&(0,d.nc)(t),e&&(0,d.Df)(e),S.current=e}),[]),O=(0,l.useContext)(c.$o),A=(0,a.$f)(M)&&!M.accessibleWhenDisabled,D=M.shouldRegisterItem,j=e=>n||(e&&null!=O&&O.compositeElement&&O.compositeElement===e.compositeElement?O.id:void 0),{rowId:T,compositeElement:C,ariaSetSize:z,ariaPosInSet:L}=(0,m.PX)(t,["compositeElement","renderedItems"],{rowId:j,compositeElement(e){return(null==e?void 0:e.compositeElement)||void 0},ariaSetSize(e){return null!=E?E:e&&null!=O&&O.ariaSetSize&&O.compositeElement===e.compositeElement?O.ariaSetSize:void 0},ariaPosInSet(e){if(null!=b)return b;if(!e)return;if(null==O||!O.ariaPosInSet)return;if(O.compositeElement!==e.compositeElement)return;const t=j(e),n=e.renderedItems.filter((e=>e.rowId===t));return O.ariaPosInSet+n.findIndex((e=>e.id===N))}}),{isActiveItem:P,isTabbable:R}=(0,m.PX)(t,["activeId","compositeElement","renderedItems","virtualFocus","items"],{isActiveItem(e){return!!e&&e.activeId===N},isTabbable(e){var n;if(!e)return!0;if(!e.compositeElement&&!e.renderedItems.length)return!0;if(e.virtualFocus)return!1;if(!e.renderedItems.length)return!0;if(p)return!0;if(null===e.activeId)return!1;const r=null===(n=t)||void 0===n?void 0:n.item(e.activeId);return!(null==r||!r.disabled)||(null==r||!r.element||e.activeId===N)}}),B=(0,l.useCallback)((e=>{var t;const n={...e,id:N||e.id,rowId:T,disabled:A,children:null===(t=e.element)||void 0===t?void 0:t.textContent,typeaheadText:y};return g?g(n):n}),[N,T,A,y,g]),Q=M.onFocus,U=(0,l.useRef)(!1),Y=(0,l.useRef)(null),F=(0,d.CM)(t),W=(0,u._q)((e=>{if(null==Q||Q(e),e.defaultPrevented)return;if((0,a.ho)(e))return;if(!N)return;if(!t)return;if(function(e,t){return!(0,a.uh)(e)&&(0,d.WZ)(t,e.target)}(e,t))return;const{virtualFocus:n,compositeElement:r}=t.getState();if(t.setActiveId(N),(0,a.Bj)(e.currentTarget)&&(0,d.iT)(e.currentTarget),!n)return void((0,a.uh)(e)&&t.item(N)&&F({id:N,markedOnly:!0,requireFocus:!0,scrollIntoView:w}
1));if(!(0,a.uh)(e))return;if(o=e.currentTarget,(0,a.Bj)(o)||"INPUT"===o.tagName&&!(0,a.Bm)(o))return;var o;const i=(e,n)=>{if(!(0,a.tp)(n))return void 0;const r=e===n||(0,d.WZ)(t,e);t.item(N)&&F({id:N,markedOnly:!0,requireFocus:!0,scrollIntoView:w}),U.current=!0,r?(0,d.hk)(n):n.focus({preventScroll:!0})};if(null!=r&&r.isConnected)return void i(e.relatedTarget,r);if(!1===D)return;const{currentTarget:u,relatedTarget:l}=e,s=()=>{var e;null===(e=Y.current)||void 0===e||e.call(Y),Y.current=null};s(),Y.current=(0,v.B1)(t,null,(()=>{if((0,a.bq)(u)!==u)return void s();const e=t.getState(),n=e.compositeElement;null!=n&&n.isConnected&&(s(),e.virtualFocus&&i(l,n))}))})),q=M.onBlurCapture,H=(0,u._q)((e=>{var n;null==q||q(e),e.defaultPrevented||null!==(n=t)&&void 0!==n&&null!==(n=n.getState())&&void 0!==n&&n.virtualFocus&&U.current&&(U.current=!1,e.preventDefault(),e.stopPropagation())})),G=M.onKeyDown,V=(0,u.O4)(r),_=(0,u.O4)(i),K=(0,u._q)((e=>{var n;if(null==G||G(e),e.defaultPrevented)return;if(!(0,a.uh)(e))return;if(!t)return;const{currentTarget:r}=e,o=t.getState(),i=!(null===(n=t.item(N))||void 0===n||!n.rowId),u="horizontal"!==o.orientation,l="vertical"!==o.orientation,s=()=>!!i||(!!l||(!o.compositeElement||!(0,a.mB)(o.compositeElement))),c={ArrowUp:(i||u)&&t.up,ArrowRight:(i||l)&&t.next,ArrowDown:(i||u)&&t.down,ArrowLeft:(i||l)&&t.previous,Home:()=>{var n,r;if(s())return!i||e.ctrlKey?null===(n=t)||void 0===n?void 0:n.first():null===(r=t)||void 0===r?void 0:r.previous(-1)},End:()=>{var n,r;if(s())return!i||e.ctrlKey?null===(n=t)||void 0===n?void 0:n.last():null===(r=t)||void 0===r?void 0:r.next(-1)},PageUp:()=>{var e;return h(r,t,null===(e=t)||void 0===e?void 0:e.up,!0)},PageDown:()=>{var e;return h(r,t,null===(e=t)||void 0===e?void 0:e.down)}}[e.key];if(c){if((0,a.Bj)(r)){const t=(0,a.Zy)(r),n=l&&"ArrowLeft"===e.key,o=l&&"ArrowRight"===e.key,i=u&&"ArrowUp"===e.key,s=u&&"ArrowDown"===e.key;if(o||s){const{length:e}=(0,a.Mk)(r);if(t.end!==e)return}else if((n||i)&&0!==t.start)return}const n=c();if(V(e)||void 0!==n){if(!_(e))return;e.preventDefault(),t.move(n)}}})),J=(0,l.useMemo)((()=>({id:N,compositeElement:C})),[N,C]);return M=(0,u.w7)(M,(e=>(0,f.jsx)(c.U0.Provider,{value:J,children:e})),[J]),M={"data-active-item":P||void 0,...M,id:N,ref:(0,u.SV)(I,k,M.ref),tabIndex:R?M.tabIndex:-1,onFocus:W,onBlurCapture:H,onKeyDown:K},M=(0,o.D)(M),M=s({store:t,...M,getItem:B,shouldRegisterItem:!!N&&D}),{...M,"aria-setsize":z,"aria-posinset":L}}));(0,u.ph)((0,u.Rf)((function(e){const t=g((0,r.Y)(e));return(0,u.n)("button",t)})))},47481:function(e,t,n){"use strict";function r(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let u=e.valueCallback?e.valueCallback(i[0]):i[0];u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:t.slice(o.length)}}}n.d(t,{K:function(){return r}})},47553:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(86369),o=n(50290);function i(e,t){var n,i,u,a,l,s;const c=(0,o.q)(),d=null!==(n=null!==(i=null!==(u=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(l=t.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==u?u:c.weekStartsOn)&&void 0!==i?i:null===(s=c.locale)||void 0===s||null===(s=s.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==n?n:0,f=(0,r.a)(e),m=f.getDay(),v=(m<d?7:0)+m-d;return f.setDate(f.getDate()-v),f.setHours(0,0,0,0),f}},48612:function(e,t,n){"use strict";var r=n(98903);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},49049:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});const r=(0,n(14041).createContext)(0)},49120:function(e,t,n){"use strict";var r=n(79117);e.exports=r},50290:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});let r={};function o(){return r}},50634:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});n(47010);var r=n(14041);const o=()=>{const[e,t]=(0,r.useState)("up"),n=(0,r.useRef)(0);return(0,r.useEffect)((()=>{n.current=window.pageYOffset;const e=()=>{const e=window.pageYOffset,r=e>n.current?"down":"up";t(r),n.current=e>0?e:0};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)}),[]),e}},50963:function(e,t,n){"use strict";n.d(t,{V:function(){return Z}});var r=n(14041),o=n(20289),i=n(61086),u=n(7201),a=n(46439),l=n(29985);function s(e){let{alert:t}=e;const{key:n,showAlert:o,text:i,bgColor:u,links:s}
1=t,{hiddenAlerts:c,hideAlert:d}=(0,l.Z)(),f=(0,r.useCallback)((()=>{d(n)}),[d,n]);return r.createElement(a.b8,{show:o&&!c.includes(n),text:i,bgColor:u,links:s,onClose:f})}function c(){const{alerts:e}=(0,u.Z)();return r.createElement(r.Fragment,null,e.map((e=>r.createElement(s,{key:`Alert-${e.key}`,alert:e}))))}const d=[{key:"design-alert",showAlert:!1,text:"Сроки обработки заявок временно увеличены до 3-4 рабочих дней. Спасибо за понимание!",bgColor:"#F4F5FB",tooltipText:"_",links:[],pathname:"/design-photobook"}];function f(){const e=(0,o.useLocation)().pathname;return r.createElement(r.Fragment,null,d.filter((t=>-1!==e.indexOf(t.pathname))).map((e=>r.createElement(s,{key:`CustomAlert-${e.key}`,alert:e}))))}var m=n(18087),v=n(79813),p=(n(47010),n(65657)),h=n(96691),g=n(20349),y=n(99621),E=n(41965),b=n(90322),w=n(5926),M=n(27064),x="index-module--img--d5fe0",N="index-module--item--3cdc2",I="index-module--referralButton--d8368";function S(e){let{items:t,useIntersectionObserver:n=!1}=e;return r.createElement(r.Fragment,null,t.map((e=>e.url?r.createElement(k,{item:e,key:e.rank}):r.createElement(O,{key:e.rank,item:e,useIntersectionObserver:n}))),r.createElement(A,null))}function k(e){var t,n;let{item:o}=e;const i=o.icon?r.createElement("img",{className:x,src:null===(t=o.icon)||void 0===t||null===(n=t.localFile)||void 0===n?void 0:n.publicURL,alt:"Иконка"}):null;return o.externalUrl||(0,w.J)(o.url)?r.createElement("a",{className:N,href:o.url,target:"_blank",rel:"noreferrer"},i,r.createElement("span",null,o.title)):r.createElement(h.Link,{className:N,to:o.url},i,r.createElement("span",null,o.title))}function O(e){var t,n;let{item:o,useIntersectionObserver:i}=e;const u=(0,r.useRef)(null),a=(0,g.c)(),l=(0,y.O$)(a,"open"),s=(0,p.A)((e=>{const[t]=e;!t.isIntersecting&&l&&a.hide()})),c=(0,b.U)("(max-width: 1024px)",!0);(0,r.useEffect)((()=>{const e=u.current;if(i&&e){const t=new IntersectionObserver(s,{rootMargin:"0px",threshold:.5});return t.observe(e),()=>{t.unobserve(e)}}}),[u,s,i]);const d=()=>{a.show()},f=()=>{c||a.hide()};return r.createElement(E.Kq,null,r.createElement(E.l9,{store:a,onFocusVisible:d,toggleOnClick:c?void 0:()=>(d(),!1),showOnHover:!c,onMouseLeave:f,render:r.createElement("button",{type:"button",className:N,ref:u})},o.icon&&r.createElement("img",{className:x,src:null===(t=o.icon)||void 0===t||null===(n=t.localFile)||void 0===n?void 0:n.publicURL,alt:"Иконка"}),r.createElement("span",null,o.title),r.createElement(v.tw,{size:16})),r.createElement(E.lF,{store:a,gutter:1,onMouseLeave:f},o.items.length&&o.items.map((e=>e.externalUrl||(0,w.J)(e.url)?r.createElement(E.Gr,{key:e.url,href:e.url.trim(),tabbable:!0},e.title):r.createElement(E.q7,{key:e.url,render:r.createElement(h.Link,{to:e.url.trim()}),tabbable:!0},e.title)))))}function A(){return r.createElement(m.Kq,{placement:"bottom"},r.createElement(m.Mz,null,r.createElement(a.$n,{variant:"brandSecondary",size:"medium",asChild:!0,className:I},r.createElement("a",{href:"https://web.periodica.press/referral",target:"_blank",rel:"noreferrer",onClick:()=>{M.A.logEvent({name:"e_site_header_follow_referral_link"})}},r.createElement(v.pD,null)))),r.createElement(m.m_,null,"Пригласите друзей",r.createElement("br",null),"и получите подарки!"))}var D=n(23857),j="index-module--logo--fccf9";function T(){return r.createElement(h.Link,{to:"/"},r.createElement("img",{className:j,src:D.A,alt:"logo"}))}var C="index-module--container--0835b",z="index-module--icon--4e63d",L="index-module--icons--2c7b1",P="index-module--menuContainer--6a324",R="index-module--menuContent--5a6ed",B="index-module--wrapper--45db5";function Q(e){let{title:t,url:n,Icon:o}=e;return r.createElement(m.Kq,{placement:"bottom"},r.createElement(m.Mz,{render:r.createElement("a",{href:`https://web.periodica.press/${n}`,className:z,target:"_blank",rel:"noreferrer"},r.createElement(o,null))}),r.createElement(m.m_,{gutter:8},t))}function U(e){let{items:t}=e;return r.createElement("div",{className:B},r.createElement(a.bc,{className:C},r.createElement(T,null),r.createElement("div",{className:P},r.createElement("div",{className:R},r.createElement(S,{items:t}))),r.createElement("div",{className:L},r.createElement(Q,{title:"Проекты",url:"projects",Icon:v.xp}),r.createElement(Q,{title:"Корзина",url:"cart",Icon:v.JZ}),r.createElement(Q,{title:"Аккаунт",url:"account",Icon:v.WV}))))}var Y=n(50634),F="index-module--container--2a2ac",W="index-module--logoContainer--1f03c",q="index-module--menuContainer--6baf9",H="index-module--menuContent--aa5a1",G="index-module--wrapper--be173";function V(e){let{items:t,scrollOffset:n,isMainPage:o}=e;const i=(0,Y.Y)();return r.createElement("div",{className:G,style:{transform:"down"===i?`translateY(-${n}px)`:void 0}},r.createElement(a.bc,{className:F},o?r.createElement("div",{className:W},r.createElement(T,null)):null,r.createElement("div",{className:q},r.createElement("div",{className:H},r.createElement(S,{items:t,useIntersectionObserver:!0})))))}var _="Navigation-module--desktopNavigation--3d761",K="Navigation-module--mobileNavigation--68276",J="Navigation-module--productInfoContainer--997e2";function Z(){const e=(0,i.e)(),t="/"===(0,o.useLocation)().pathname,n=t?116:68;return r.createElement(r.Fragment,null,r.createElement("div",{className:K,style:{marginBottom:`${n}px`}},r.createElement(c,null),r.createElement(f,null),e.length&&r.createElement(V,{items:e,scrollOffset:n,isMainPage:t})),r.createElement("div",{className:_},r.createElement(c,null),r.createElement(f,null),e.length&&r.createElement(U,{items:e}),r.createElement("div",{id:"product-info-desktop",className:J})))}},50991:function(e,t,n){"use strict";t.A=n.p+"static/subscribePhoto-888e31b2e661488fbebe2f6507d7af23.png"},51241:function(e,t,n){"use strict";n.d(t,{Kw:function(){return i},n0:function(){return a},pR:function(){return u}});var r=n(60089);const o=(0,n(7285).B0)([r.wf],[r.s1]),i=(o.useContext,o.useScopedContext,o.useProviderContext),u=o.ContextProvider,a=o.ScopedContextProvider},51821:function(e,t,n){"use strict";n.d(t,{L8:function(){return u},tt:function(){return i}});var r=n(24409);const o=(0,n(7285).B0)([r.ws],[r.aN]),i=o.useContext,u=o.useScopedContext;o.useProviderContext,o.ContextProvider,o.ScopedContextProvider},52199:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var r=n(28737),o=n(27992),i=n(65262),u=n(36385);function a(e){const t=(0,i.p)(e),n=(0,u.w)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,o.b)(n)}var l=n(86369);function s(e){const t=(0,l.a)(e),n=+(0,o.b)(t)-+a(t);return Math.round(n/r.my)+1}},53795:function(e,t,n){"use strict";n(5613)({target:"Object",stat:!0,sham:!n(96893)},{create:n(77065)})},55078:function(e,t,n){"use strict";function r(e){return e.split("-")[0]}n.d(t,{t:function(){return r}})},55215:function(e,t,n){"use strict";n.d(t,{lM:function(){return o},Ub:function(){return l},dD:function(){return u}});n(47010);var r=n(14041);n(69396);function o(e){const[t,n]=(0,r.useState)([]),o=(0,r.useMemo)((()=>{const t=new Set;return e.forEach((e=>t.add(e.deliveryProviderName))),Array.from(t.values())}),[e]),i=(0,r.useMemo)((()=>Object.groupBy(e,(e=>e.deliveryProviderName))),[e]),u=(0,r.useMemo)((()=>t.length?t.flatMap((e=>i[e])):e),[t,i,e]);return{selectedDeliveryProviders:t,deliveryProviders:o,filteredPickupPoints:u,toggleDeliveryProvider:e=>{let r=[];r=t.includes(e)?t.filter((t=>t!==e)):[...t,e],n(r)},setSelectedDeliveryProviders:n}}var i=n(65657);const u=(e,t)=>
1{const n=(0,i.A)(t);(0,r.useEffect)((()=>{const t=t=>{var r;(null===(r=t.key)||void 0===r?void 0:r.toLowerCase())===e.toLowerCase()&&n()};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)}),[n,e])},a="undefined"==typeof window;function l(e,t){const[n,o,i]=(0,r.useMemo)((()=>{const n=a?null:window.matchMedia(e);return[function(e){return a||null==n||n.addEventListener("change",e),()=>{a||null==n||n.removeEventListener("change",e)}},function(){return a?t:null==n?void 0:n.matches},()=>t]}),[e,t]);return(0,r.useSyncExternalStore)(n,o,i)}},56997:function(e,t,n){"use strict";n.d(t,{zf:function(){return y},oi:function(){return c},_d:function(){return m},es:function(){return h}});var r=n(60223),o=n(9615);const i=64;function u(e,t){if(e.length<i)return void(t.ids&&(t.items=void 0,t.ids=void 0));if(t.items===e)return t.ids;const n=new Set;for(const r of e)n.add(r.id);return t.items=e,t.ids=n,n}function a(e,t,n){if(e.length<i)t.ids&&(t.items=void 0,t.ids=void 0);else{if(!n){n=new Set;for(const t of e)n.add(t.id)}t.items=e,t.ids=n}}function l(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.UE)(n,n.store);const l=null===(e=n.store)||void 0===e?void 0:e.getState(),s=(0,o.Jh)(n.items,null==l?void 0:l.items,n.defaultItems,[]),c=null==(d=n.store)?void 0:d.__unstablePrivateStore;var d;const f=null!==(t=null==c?void 0:c.__unstableCollectionLookup)&&void 0!==t?t:{controlledItems:new Map(s.map((e=>[e.id,e]))),registeredItems:new Map,controlledItemsSource:s,propagatedItems:s},{controlledItems:m,registeredItems:v}=f,p={items:s,renderedItems:(0,o.Jh)(null==l?void 0:l.renderedItems,[])},h=(0,r.y$)(p,n.store),g=Object.assign((0,r.y$)({items:s,renderedItems:p.renderedItems},c),{__unstableCollectionLookup:f}),y=e=>{const t=(0,o.gH)(e,(e=>e.element));g.setState("renderedItems",t),h.setState("renderedItems",t)},E=e=>{if(e!==f.controlledItemsSource){f.controlledItemsSource=e,m.clear();for(const t of e)m.set(t.id,t)}};(0,r.mj)(h,(()=>(0,r.Ts)(g))),c||((0,r.B1)(h,["items"],(e=>{let{items:t}=e;t!==f.propagatedItems&&(f.propagatedItems=t,E(t))})),(0,r.mj)(g,(()=>(0,r.vA)(g,["items"],(e=>{let{items:t}=e;f.propagatedItems=t,h.setState("items",t)}))))),(0,r.mj)(g,(()=>(0,r.vA)(g,["renderedItems"],(e=>{let t=!0,n=requestAnimationFrame((()=>{const{renderedItems:t}=h.getState();e.renderedItems!==t&&y(e.renderedItems)}));if("function"!=typeof IntersectionObserver)return()=>cancelAnimationFrame(n);const r=function(e){var t,n;const r=e.find((e=>!!e.element)),i=null===(t=[...e].reverse().find((e=>!!e.element)))||void 0===t?void 0:t.element;let u=null==r||null===(n=r.element)||void 0===n?void 0:n.parentElement;if(!i)return(0,o.YE)(u).body;for(;u;){if(u.contains(i))return u;u=u.parentElement}return(0,o.YE)(u).body}(e.renderedItems),i=new IntersectionObserver((()=>{t?t=!1:(cancelAnimationFrame(n),n=requestAnimationFrame((()=>y(e.renderedItems))))}),{root:r});for(const o of e.renderedItems)o.element&&i.observe(o.element);return()=>{cancelAnimationFrame(n),i.disconnect()}}))));const b=(e,t,n)=>{const r=null==n?void 0:n.registeredItems,o=null==n?void 0:n.controlledItems;return n=>{const l=null==r?void 0:r.get(n.id),s=!!l||!(null==o||!o.has(n.id));let c;g.setState(e,(e=>{const o=t.ids||e.length>=i&&!s?u(e,t):void 0,l=o&&!o.has(n.id)?-1:e.findIndex((e=>{let{id:t}=e;return t===n.id})),d=e.slice();if(-1!==l){c=e[l];const t={...c,...n};d[l]=t,null==r||r.set(n.id,t)}else d.push(n),null==r||r.set(n.id,n),null==o||o.add(n.id);return(t.ids||-1===l&&d.length>=i)&&a(d,t,o),d}));return()=>{r&&(l?r.set(n.id,l):r.delete(n.id)),g.setState(e,(e=>{const r=t.ids?u(e,t):void 0;if(!c){const o=e.filter((e=>{let{id:t}=e;return t!==n.id}));return null==r||r.delete(n.id),t.ids&&a(o,t,r),o}const o=e.findIndex((e=>{let{id:t}=e;return t===n.id}));if(-1===o)return e;const i=e.slice();return i[o]=c,t.ids&&a(i,t,r),i}))}}},w=b("items",{},f),M=b("renderedItems",{});return{...h,setState:(e,t)=>{"items"===e?h.setState("items",(e=>{const n=(0,o.Qh)(t,e);return n===e?e:(f.propagatedItems=n,E(n),n)})):h.setState(e,t)},registerItem:w,renderItem:e=>(0,o.cy)(w(e),M(e)),item:e=>{var t,n,r;return e?v.size?null!==(n=null!==(r=v.get(e))&&void 0!==r?r:m.get(e))&&void 0!==n?n:null:null!==(t=m.get(e))&&void 0!==t?t:null:null},__unstablePrivateStore:g}}const s={id:null};function c(e,t){return e.find((e=>t?!e.disabled&&e.id!==t:!e.disabled))}function d(e,t){return e.filter((e=>e.rowId===t))}function f(e){let{items:t,fromIndex:n,step:r,rowId:o,excludeId:i}=e;for(let u=n;u>=0&&u<t.length;u+=r){const e=t[u];if(!e)continue;if(e.rowId!==o)continue;if(e.disabled)continue;const n=e.id;if(null==i||n!==i)return n}}function m(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=e.findIndex((e=>e.id===t));return[...e.slice(r+1),...n?[s]:[],...e.slice(0,r)]}const v=48,p=4;function h(e){return e.length>=v?function(e){const t=e[0];if(!t)return[];let n=1;for(;n<e.length&&(null===(r=e[n])||void 0===r?void 0:r.rowId)===t.rowId;){var r;n+=1}const o=e.slice(0,n);if(n===e.length)return[o];const i=[o];let u;for(;n<e.length;
1n+=1){const t=e[n];if(!t)continue;const r=u?u.get(t.rowId):i.find((e=>{var n;return(null===(n=e[0])||void 0===n?void 0:n.rowId)===t.rowId}));if(r){r.push(t);continue}const o=[t];i.push(o),u?u.set(t.rowId,o):i.length===p&&(u=new Map(i.map((e=>{var t;return[null===(t=e[0])||void 0===t?void 0:t.rowId,e]}))))}return i}(e):function(e){const t=[];let n,r;for(const o of e){const e=o.rowId;if(n&&r===e){n.push(o);continue}const i=t.find((t=>{var n;return(null===(n=t[0])||void 0===n?void 0:n.rowId)===e}));i?(i.push(o),n=i):(n=[o],t.push(n)),r=e}return t}(e)}function g(e){let t=0;for(const{length:n}of e)n>t&&(t=n);return t}function y(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const i=null===(e=n.store)||void 0===e?void 0:e.getState(),u=l(n),a=(0,o.Jh)(n.activeId,null==i?void 0:i.activeId,n.defaultActiveId),s=(0,o.Jh)(null==i?void 0:i.compositeElement,null==i?void 0:i.baseElement,null),v=(0,o.Jh)(n.compositeElementInFocusOrder,n.includesBaseElement,null==i?void 0:i.compositeElementInFocusOrder,null==i?void 0:i.includesBaseElement,null===a),p={...u.getState(),id:null!==(t=(0,o.Jh)(n.id,null==i?void 0:i.id))&&void 0!==t?t:`id-${Math.random().toString(36).slice(2,8)}`,activeId:a,compositeElement:s,baseElement:s,compositeElementInFocusOrder:v,includesBaseElement:v,moves:(0,o.Jh)(null==i?void 0:i.moves,0),orientation:(0,o.Jh)(n.orientation,null==i?void 0:i.orientation,"both"),rtl:(0,o.Jh)(n.rtl,null==i?void 0:i.rtl,!1),virtualFocus:(0,o.Jh)(n.virtualFocus,null==i?void 0:i.virtualFocus,!1),focusLoop:(0,o.Jh)(n.focusLoop,null==i?void 0:i.focusLoop,!1),focusWrap:(0,o.Jh)(n.focusWrap,null==i?void 0:i.focusWrap,!1),focusShift:(0,o.Jh)(n.focusShift,null==i?void 0:i.focusShift,!1)},y=(0,r.y$)(p,u,n.store);(0,r.mj)(y,(()=>(0,o.cy)((0,r.OH)(y,["compositeElement"],(e=>{y.setState("baseElement",e.compositeElement)})),(0,r.OH)(y,["baseElement"],(e=>{y.setState("compositeElement",e.baseElement)})),(0,r.OH)(y,["compositeElementInFocusOrder"],(e=>{y.setState("includesBaseElement",e.compositeElementInFocusOrder)})),(0,r.OH)(y,["includesBaseElement"],(e=>{y.setState("compositeElementInFocusOrder",e.includesBaseElement)}))))),(0,r.mj)(y,(()=>(0,r.OH)(y,["renderedItems","activeId"],(e=>{y.setState("activeId",(t=>{var n;return void 0!==t?t:null===(n=c(e.renderedItems))||void 0===n?void 0:n.id}))}))));const E=function(){var e,t,n;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"next",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=y.getState(),l=(0,o.Jh)(i.compositeElementInFocusOrder,i.includesBaseElement,a.compositeElementInFocusOrder),{skip:s=0,activeId:v=a.activeId,focusShift:p=a.focusShift,focusLoop:E=a.focusLoop,focusWrap:b=a.focusWrap,renderedItems:w=a.renderedItems,rtl:M=a.rtl}=i,x="up"===r||"down"===r,N="next"===r||"down"===r,I=N?M&&!x:!M||x,S=p&&!s;if(!(s||b||l||null==v||x&&(S||w.some((e=>null!=e.rowId))))){let e=-1;if(w===a.renderedItems){const t=w[0];if(t&&u.item(t.id)===t){const t=u.item(v);(null==t?void 0:t.id)===v&&(e=w.indexOf(t))}}-1===e&&(e=w.findIndex((e=>e.id===v)));const t=w[e];if(t){const n=I?-1:1,r=f({items:w,fromIndex:e+n,step:n,rowId:t.rowId,excludeId:v});if(void 0!==r)return r;if(!E||(x?"horizontal"===E:"vertical"===E))return;return f({items:w,fromIndex:1===n?0:w.length-1,step:n,rowId:t.rowId,excludeId:v})}}let k=x?(0,o.M9)(function(e,t,n){const r=g(e);for(const o of e)for(let e=0;e<r;e+=1){const r=o[e];if(!r||n&&r.disabled){const r=0===e&&n?c(o):o[e-1];o[e]=r&&t!==r.id&&n?r:{id:"__EMPTY_ITEM__",disabled:!0,rowId:null==r?void 0:r.rowId}}}return e}(h(w),v,S)):w;if(k=I?(0,o.q7)(k):k,k=x?function(e){const t=h(e),n=g(t),r=[];for(let o=0;o<n;o+=1)for(const e of t){const t=e[o];t&&r.push({...t,rowId:t.rowId?`${o}`:void 0})}return r}(k):k,null==v)return null===(e=c(k))||void 0===e?void 0:e.id;const O=k.find((e=>e.id===v));if(!O)return null===(t=c(k))||void 0===t?void 0:t.id;const A=k.some((e=>e.rowId)),D=k.indexOf(O),j=k.slice(D+1),T=d(j,O.rowId);if(s){var C;const e=function(e,t){return e.filter((e=>t?!e.disabled&&e.id!==t:!e.disabled))}(T,v);return null===(C=e.slice(s)[0]||e[e.length-1])||void 0===C?void 0:C.id}const z=E&&(x?"horizontal"!==E:"vertical"!==E),L=A&&b&&(x?"horizontal"!==b:"vertical"!==b),P=N?(!A||x)&&z&&l:!!x&&l;if(z)return null===(n=c(m(L&&!P?k:d(k,O.rowId),v,P),v))||void 0===n?void 0:n.id;if(L){const e=c(P?T:j,v);return P?(null==e?void 0:e.id)||null:null==e?void 0:e.id}const R=c(T,v);return!R&&P?null:null==R?void 0:R.id},b=(e,t)=>E(e,"number"==typeof t?{skip:t}:t);return{...u,...y,setCompositeElement:e=>y.setState("compositeElement",e),setBaseElement:e=>y.setState("compositeElement",e),setActiveId:e=>y.setState("activeId",e),move:e=>{void 0!==e&&(y.setState("activeId",e),y.setState("moves",(e=>e+1)))},first:()=>{var e;return null===(e=c(y.getState().renderedItems))||void 0===e?void 0:e.id},last:()=>{var e;return null===(e=function(e){for(let t=e.length-1;t>=0;t-=1){const n=e[t];if(n&&!n.disabled)return n}}(y.getState().renderedItems))||void 0===e?void 0:e.id},next:e=>b("next",e),previous:e=>b("previous",e),down:e=>b("down",e),up:e=>b("up",e)}}},59062:function(e,t,n){"use strict";var r=n(19106);e.exports=function(e,t,n,o,i){var u=new Error(e);return r(u,t,n,o,i)}},59256:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});const r="https://apps.apple.com/RU/app/id1005018803?mt=8"},60089:function(e,t,n){"use strict";n.d(t,{C_:function(){return i},s1:function(){return l},wf:function(){return a},zG:function(){return u}});var r=n(10875);const o=(0,n(7285).B0)([r.Zg],[r.XP]),i=o.useContext,u=(o.useScopedContext,o.useProviderContext),a=o.ContextProvider,l=o.ScopedContextProvider},60455:function(e,t,n){"use strict";n.d(t,{lG:function(){return pe},AV:function(){return fe},sp:function(){return de}});var r=n(17471),o=n(10875),i=n(57967),u=n(11209),a=n(7285),l=n(31085);const s=(0,a.ab)((function(e){let{autoFocusOnShow:t=!0,...n}=e;return n=(0,a.w7)(n,(e=>(0,l.jsx)(u.g.Provider,{value:t,children:e})),[t]),n}));(0,a.Rf)((function(e){const t=s(e);return(0,a.n)("div",t)}));var c=n(49049),d=n(14041);function f(e){let{level:t,children:n}=e;const r=(0,d.useContext)(c.A),o=Math.max(Math.min(t||r+1,6),1);return(0,l.jsx)(c.A.Provider,{value:o,children:n})}var m=n(22206);function v(e){if(!e)return!1;const t=e.getAttribute("data-backdrop");if(null==t)return!1;if(""===t)return!0;
1if("true"===t)return!0;for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return!r.length||r.some((e=>t===e))}const p=new WeakMap;function h(e,t,n){var r;let o=p.get(e);o||(o=new Map,p.set(e,o));const i=null!==(r=o.get(t))&&void 0!==r?r:[],u={cleanup:n(),disposed:!1};return i.length||o.set(t,i),i.push(u),()=>{i.includes(u)&&(u.disposed=!0,function(e,t,n){for(;n.length;){const r=n[n.length-1];if(!r)return void e.delete(t);if(!r.disposed)return;n.pop(),r.cleanup()}e.delete(t)}(o,t,i))}}function g(e,t,n){return h(e,t,(()=>{const r=e.getAttribute(t);return e.setAttribute(t,n),()=>{null==r?e.removeAttribute(t):e.setAttribute(t,r)}}))}function y(e,t,n){return h(e,t,(()=>{const r=t in e,o=e[t];return e[t]=n,()=>{r?e[t]=o:delete e[t]}}))}function E(e,t){if(!e)return()=>{};return h(e,"style",(()=>{const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}))}function b(e,t,n){if(!e)return()=>{};return h(e,t,(()=>{const r=e.style.getPropertyValue(t),o=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{r?e.style.setProperty(t,r,o):e.style.removeProperty(t)}}))}var w=n(9615);const M=new WeakMap;function x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return`__ariakit-dialog-${arguments.length>1&&void 0!==arguments[1]?arguments[1]:"outside"}${e?`-${e}`:""}`}function N(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,w.cy)(y(e,x("","ancestor"),!0),y(e,x(t,"ancestor"),!0))}function I(e,t){const n=M.get(t);if(!n)return!1;for(;;){if(n.has(e))return!0;if(!e.parentElement)return!1;e=e.parentElement}}function S(e,t){if(e[x(t,"ancestor")])return!0;const n=x(t);for(;;){if(e[n])return!0;if(!e.parentElement)return!1;e=e.parentElement}}function k(e){let{cleanups:t,element:n,id:r,ids:o}=e;v(n,...o)||t.push(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,w.cy)(y(e,x(),!0),y(e,x(t),!0))}(n,r))}function O(e){let{cleanups:t,ancestor:n,element:r,id:o}=e;r.hasAttribute("data-dialog")&&r.id!==o||t.push(N(n,o))}function A(e){for(let n=e.length-1;n>=0;n-=1){var t;null===(t=e[n])||void 0===t||t.call(e)}}const D=["SCRIPT","STYLE"];function j(e){return`__ariakit-dialog-snapshot-${e}`}function T(e,t,n){return!D.includes(t.tagName)&&(!!function(e,t){const n=(0,w.YE)(t),r=j(e);if(!n.body[r])return!0;for(;;){if(t===n.body)return!1;if(t[r])return!0;if(!t.parentElement)return!1;t=t.parentElement}}(e,t)&&!n.some((e=>e&&(0,w.gR)(t,e))))}function C(e,t,n,r){for(let i of t){var o;if(null===(o=i)||void 0===o||!o.isConnected)continue;const u=t.some((e=>!!e&&(e!==i&&e.contains(i)))),a=(0,w.YE)(i),l=i;for(;i.parentElement&&i!==a.body;){if(null==r||r(i.parentElement,l),!u)for(const r of i.parentElement.children)T(e,r,t)&&n(r,l);i=i.parentElement}}}var z=n(423),L=n(43493),P=n(99621);function R(e){let{store:t,backdrop:n,backdropRef:r,alwaysVisible:o,hidden:u}=e;const s=(0,d.useRef)(null),c=(0,z.E)({disclosure:t}),f=(0,P.O$)(t,"contentElement");(0,a.UQ)((()=>{const e=s.current,t=f;e&&t&&(e.style.zIndex=getComputedStyle(t).zIndex)}),[f]),(0,a.UQ)((()=>{const e=null==f?void 0:f.id;if(!e)return;const t=s.current;return t?N(t,e):void 0}),[f]);const m=(0,i.aT)({ref:(0,a.SV)(s,r),store:c,role:"presentation","data-backdrop":(null==f?void 0:f.id)||"",alwaysVisible:o,hidden:null!=u?u:void 0,style:{position:"fixed",top:0,right:0,bottom:0,left:0}});if(!n)return null;if((0,d.isValidElement)(n))return(0,l.jsx)(L.X,{...m,render:n});const v="boolean"!=typeof n?n:"div";return(0,l.jsx)(L.X,{...m,render:(0,l.jsx)(v,{})})}var B=n(42561);function Q(){return"inert"in HTMLElement.prototype}function U(e,t){if(!("style"in e))return w.lQ;if(Q())return y(e,"inert",!0);const n=(0,w.a9)(e,!0).map((e=>{if(null!=t&&t.some((t=>t&&(0,w.gR)(t,e))))return w.lQ;const n=h(e,"focus",(()=>(e.focus=w.lQ,()=>{delete e.focus})));return(0,w.cy)(g(e,"tabindex","-1"),n)}));return(0,w.cy)(...n,function(e){return g(e,"aria-hidden","true")}(e),E(e,{pointerEvents:"none",userSelect:"none",cursor:"default"}))}function Y(e){let{cleanups:t,element:n,elements:r,ids:o}=e;v(n,...o)||function(e){if(!e)return!1;const t=e.getAttribute("data-focus-trap");if(null==t)return!1;for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return!r.length||""!==t&&r.some((e=>t===e))}(n,...o)||t.push(U(n,r))}function F(e,t){const n=[],r=t.map((e=>null==e?void 0:e.id));C(e,t,(o=>{k({cleanups:n,element:o,id:e,ids:r}),Y({cleanups:n,element:o,elements:t,ids:r})}),((r,o)=>{O({cleanups:n,ancestor:r,element:o,id:e}),function(e,t,n){t.hasAttribute("role")&&(n.some((e=>e&&(0,w.gR)(e,t)))||e.push(g(t,"role","none")))}(n,r,t)}));return()=>{A(n)}}var W=n(32963);function q(e){const t=[e];for(;;){let n;try{n=(0,w.zk)(e).frameElement}catch{return t}if(!(0,w.vq)(n))return t;
1t.push(n),e=n}}function H(e,t){const n=e.composedPath().filter(w.vq);!n.length&&(0,w.vq)(e.target)&&n.push(e.target);const r=n[0];if(r)for(const i of q(r).slice(1))n.includes(i)||n.push(i);const o=null==t?void 0:t.getRootNode();return{elements:n,rootTarget:o?n.find((e=>e.getRootNode()===o))||e.target:n[0]||e.target}}function G(e){const t=q(e).at(-1);return(0,w.zk)(null!=t?t:e)}function V(e){return e.isConnected}function _(e,t,n){return!!(0,w.gR)(t,e)||(!!function(e,t){if(!e)return!1;if((0,w.gR)(e,t))return!0;const n=t.getAttribute("aria-activedescendant");if(n){const r=(0,w.YE)(t).getElementById(n);if(r)return(0,w.gR)(e,r)}return!1}(n,e)||(!!e.hasAttribute("data-focus-trap")||I(e,t)))}function K(e,t,n){return e.elements.some((e=>_(e,t,n)))}function J(e){let{store:t,type:n,listener:r,capture:o,open:i,contentElement:u,focusedRef:l}=e;const s=(0,a._q)(r);(0,d.useEffect)((()=>{if(!i)return;const e=u?G(u):void 0;return(0,w.dg)(n,(e=>{const{contentElement:n,disclosureElement:r}=t.getState();if(!n)return;const o=H(e,n),i=o.elements[0],u=o.rootTarget;if(!(0,w.vq)(u))return;if(i&&!V(i))return;if(!V(u))return;if(K(o,n,r))return;const a=(0,w.YE)(n);(0,w.YE)(u)===a&&((0,w.YE)(null!=i?i:u)===a&&function(e,t){if(!("clientY"in e))return!1;const n=t.getBoundingClientRect();return 0!==n.width&&0!==n.height&&n.top<=e.clientY&&e.clientY<=n.top+n.height&&n.left<=e.clientX&&e.clientX<=n.left+n.width}(e,n)||l.current&&!S(u,n.id))||s(e)}),o,e)}),[i,o,t,n,s,u,l])}function Z(e,t){return"function"==typeof e?e(t):!!e}function $(e){let{store:t,hideOnInteractOutside:n,domReady:r,interactedOutsideRef:o,focusedStoreRef:i}=e;const u=(0,P.O$)(t,"open"),l=(0,P.O$)(t,"contentElement"),s=l?G(l):void 0,c=function(e,t,n){const r=(0,d.useRef)(null);return(0,d.useEffect)((()=>{if(e)return(0,w.dg)("mousedown",(e=>{r.current=H(e,n)}),!0,t);r.current=null}),[e,t,n]),r}(u,s,l),f=(0,d.useRef)(!1);(0,a.UQ)((()=>{if(!u)return;if(!r)return;if(!l)return;f.current=!1;const e=()=>{f.current=!0,i.current=t};return l.addEventListener("focusin",e,!0),()=>l.removeEventListener("focusin",e,!0)}),[u,r,l,t]);const m={store:t,capture:!0,open:u,contentElement:l,focusedRef:f};J({...m,type:"click",listener:e=>{const{contentElement:r,disclosureElement:i}=t.getState(),u=c.current;if(!u)return;if(!r)return;if(K(u,r,i))return;const a=u.rootTarget;(0,w.vq)(a)&&((0,w.YE)(a)!==(0,w.YE)(r)||S(a,r.id))&&Z(n,e)&&(o.current=!0,t.hide())}}),J({...m,type:"focusin",listener:e=>{const{contentElement:r}=t.getState();if(!r)return;if(e.target===(0,w.YE)(r))return;if(!Z(n,e))return;const i=e.target;(0,w.vq)(i)&&(0,w.YE)(i)!==(0,w.YE)(r)&&(o.current=!0),t.hide()}}),J({...m,type:"contextmenu",listener:e=>{Z(n,e)&&(o.current=!0,t.hide())}})}var X=n(60223);const ee=(0,d.createContext)({});var te=n(43144);const ne=(0,w.f8)()&&!(0,w.cX)();function re(e){const t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function oe(e,t,n){const r=function(e){let{attribute:t,contentId:n,contentElement:r,enabled:o}=e;const[i,u]=(0,a.CH)(),l=(0,d.useCallback)((()=>{if(!o)return!1;if(!r)return!1;const{body:e}=(0,w.YE)(r),i=e.getAttribute(t);return!i||i===n}),[i,o,r,t,n]);return(0,a.UQ)((()=>{if(!o)return;if(!n)return;if(!r)return;const{body:e}=(0,w.YE)(r);if(l())return e.setAttribute(t,n),()=>e.removeAttribute(t);const i=new MutationObserver((()=>(0,te.flushSync)(u)));return i.observe(e,{attributeFilter:[t]}),()=>i.disconnect()}),[i,o,n,r,l,t]),l}({attribute:"data-dialog-prevent-body-scroll",contentElement:e,contentId:t,enabled:n});(ne?d.useEffect:a.UQ)((()=>{if(!r())return;if(!e)return;const t=(0,w.YE)(e),n=(0,w.zk)(e),{documentElement:o,body:i}=t,u=o.style.getPropertyValue("--scrollbar-width"),a=u?Number.parseInt(u,10):n.innerWidth-o.clientWidth;if(ne)return(()=>{var e,t;
1const{scrollX:r,scrollY:u,visualViewport:l}=n,s=null!==(e=null==l?void 0:l.offsetLeft)&&void 0!==e?e:0,c=null!==(t=null==l?void 0:l.offsetTop)&&void 0!==t?t:0,d=E(i,{position:"fixed",overflow:"hidden",top:-(u-Math.floor(c))+"px",left:-(r-Math.floor(s))+"px",right:"0",[re(o)]:`${a}px`});return()=>{d(),n.scrollTo({left:r,top:u,behavior:"instant"})}})();const l=(()=>{const e=n.getComputedStyle(o),t=e.getPropertyValue("scrollbar-gutter"),r=t.includes("stable"),u=e=>!e||"visible"===e,l=!u(e.getPropertyValue("overflow-x"))||!u(e.getPropertyValue("overflow-y")),s=()=>(0,w.cy)(b(o,"overflow-x","hidden"),b(o,"overflow-y","hidden")),c=e=>l?(0,w.cy)(e,s()):e;return r||a?r||function(e){const{CSS:t}=e;return!(null==t||!t.supports("scrollbar-gutter","stable"))}(n)?(0,w.cy)(b(o,"scrollbar-gutter",r?t:"stable"),s()):c((0,w.cy)(b(o,"--scrollbar-width",`${a}px`),E(i,{overflow:"hidden",[re(o)]:`${a}px`}))):c(E(i,{overflow:"hidden"}))})();return()=>{queueMicrotask(l)}}),[r,e])}const ie=(0,w.nr)(),ue=new WeakSet,ae=new WeakSet;function le(e,t,n){return!!(0,w.gR)(t,e)||(!(!n||!(0,w.gR)(n,e))||I(e,t))}function se(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;const n="current"in e?e.current:e;return n?t?(0,w.tp)(n)?n:null:n:null}function ce(e){if(!e.isConnected)return[];const t=e.getRootNode(),n=t.querySelectorAll("[data-dialog][data-dialog-portal][data-open]"),r=[];let o=!1;for(const i of n){if(i===e){o=!0;continue}if(!o)continue;const n=i.getAttribute("data-dialog-portal");if(!n)continue;const u=t.getElementById(n);u&&(0,w.gR)(u,i)&&(ue.has(u)||r.push(u))}return r}const de=(0,a.ab)((function(e){let{store:t,open:n,onClose:u,focusable:c=!0,modal:v=!0,portal:p=v,backdrop:h=v,hideOnEscape:g=!0,hideOnInteractOutside:E=!0,getPersistentElements:b,preventBodyScroll:x=v,autoFocusOnShow:N=!0,autoFocusOnHide:I=!0,initialFocus:D,finalFocus:T,unmountOnHide:z,unstable_treeSnapshotKey:L,...Y}=e;const q=(0,o.cH)(),H=(0,d.useRef)(null),G=(0,d.useRef)(null),V=v&&p&&!Y.portalElement,_=(0,B.j)({store:t||q,open:n,setOpen(e){if(e)return;const t=H.current;if(!t)return;const n=new Event("close",{bubbles:!1,cancelable:!0});u&&t.addEventListener("close",u,{once:!0}),t.dispatchEvent(n),n.defaultPrevented&&_.setOpen(!0)}}),{portalRef:K,portalNode:J,domReady:Z}=(0,a.TE)(p,Y.portalRef),te=Y.preserveTabOrder,ne=(0,P.O$)(_,["mounted"],(e=>te&&!v&&e.mounted)),re=(0,a.Bi)(Y.id),de=(0,P.O$)(_,"open"),fe=(0,P.O$)(_,"mounted"),me=(0,P.O$)(_,"contentElement"),ve=(0,i.dK)(fe,Y.hidden,Y.alwaysVisible);oe(me,re,x&&!ve);const pe=(0,d.useRef)(!1),he=(0,d.useRef)(null);(0,a.UQ)((()=>(0,X.OH)(_,["open"],(e=>{e.open?(pe.current=!1,he.current!==_&&(he.current=null)):he.current=null}))),[_]),$({store:_,hideOnInteractOutside:E,domReady:Z,interactedOutsideRef:pe,focusedStoreRef:he});const{wrapElement:ge,nestedDialogs:ye}=function(e){const t=(0,d.useContext)(ee),[n,r]=(0,d.useState)([]),o=(0,d.useCallback)((e=>{var n;return r((t=>[...t,e])),(0,w.cy)(null===(n=t.add)||void 0===n?void 0:n.call(t,e),(()=>{r((t=>t.filter((t=>t!==e))))}))}),[t]);(0,a.UQ)((()=>(0,X.OH)(e,["open","contentElement"],(n=>{var r;if(n.open&&n.contentElement)return null===(r=t.add)||void 0===r?void 0:r.call(t,e)}))),[e,t]);const i=(0,d.useMemo)((()=>({store:e,add:o})),[e,o]);return{wrapElement:(0,d.useCallback)((e=>(0,l.jsx)(ee.Provider,{value:i,children:e})),[i]),nestedDialogs:n}}(_);Y=(0,a.w7)(Y,ge,[ge]);const Ee=(0,d.useRef)(null);ie&&(0,d.useEffect)((()=>{if(!Z)return;const e=H.current;if(!e)return;const t=(0,w.YE)(e),n=e=>{Ee.current=e.target};return t.addEventListener("mousedown",n,!0),()=>{t.removeEventListener("mousedown",n,!0)}}),[Z]),(0,a.UQ)((()=>{if(!de)return;if(he.current===_)return;const e=H.current;if((()=>{const{disclosureElement:t}=_.getState();return!!t&&(!ae.has(t)&&(!!t.isConnected&&(!e||!(0,w.gR)(e,t))))})())return;const t=e=>{ae.add(e),_.setDisclosureElement(e)},n=(0,w.bq)(e,!0);if(n)if("BODY"!==n.tagName)e&&(0,w.gR)(e,n)||t(n);else{const n=Ee.current;if(Ee.current=null,null==n||!n.isConnected)return;if(!(0,w.tp)(n))return;if(e&&(0,w.gR)(e,n))return;t(n)}}),[_,de]),(0,d.useEffect)((()=>
1{if(!fe)return;if(!Z)return;const e=H.current;if(!e)return;const t=(0,w.zk)(e),n=t.visualViewport||t,r=()=>{var n,r;const o=null!==(n=null===(r=t.visualViewport)||void 0===r?void 0:r.height)&&void 0!==n?n:t.innerHeight;e.style.setProperty("--dialog-viewport-height",`${o}px`)};return r(),n.addEventListener("resize",r),()=>{n.removeEventListener("resize",r)}}),[fe,Z]),(0,d.useEffect)((()=>{if(!v)return;if(!fe)return;if(!Z)return;const e=H.current;return e&&!e.querySelector("[data-dialog-dismiss]")?function(e,t){const n=(0,w.YE)(e).createElement("button");return n.type="button",n.tabIndex=-1,n.textContent="Dismiss popup",Object.assign(n.style,(0,W.LB)()),n.addEventListener("click",t),e.prepend(n),()=>{n.removeEventListener("click",t),n.remove()}}(e,_.hide):void 0}),[_,v,fe,Z]),(0,a.UQ)((()=>{if(!Q())return;if(de)return;if(!fe)return;if(!Z)return;const e=H.current;return e?U(e):void 0}),[de,fe,Z]);const be=de&&Z,we=(0,d.useRef)(null);(0,a.UQ)((()=>{var e;if(!(re&&V&&be&&J))return void(we.current=null);const t=H.current;if(t&&(0,w.gR)(J,t))return(null===(e=we.current)||void 0===e?void 0:e.portal)!==J&&(we.current={portal:J,peers:ce(t)}),ue.add(J),()=>{ue.delete(J)};we.current=null}),[re,be,V,J]),(0,a.UQ)((()=>{if(!re)return;if(!be)return;const e=H.current;return function(e,t){const{body:n}=(0,w.YE)(t[0]),r=[];return C(e,t,(t=>{r.push(y(t,j(e),!0))})),(0,w.cy)(y(n,j(e),!0),(()=>{for(const e of r)e()}))}(re,[e])}),[re,be,L]);const Me=(0,a._q)(b);(0,a.UQ)((()=>{var e;if(!re)return;if(!be)return;const{disclosureElement:t}=_.getState(),n=null!=me?me:H.current;if(!n)return;const r=[n,...Me()||[],...(null===(e=we.current)||void 0===e?void 0:e.peers)||[],...ye.map((e=>e.getState().contentElement))],o=function(e,t){const n=new WeakSet;M.set(e,n);for(const r of t)r&&n.add(r);return()=>{M.get(e)===n&&M.delete(e)}}(n,r);return v?(0,w.cy)(o,F(re,r)):(0,w.cy)(o,function(e,t){const n=[],r=t.map((e=>null==e?void 0:e.id));return C(e,t,(t=>{k({cleanups:n,element:t,id:e,ids:r})}),((t,r)=>{O({cleanups:n,ancestor:t,element:r,id:e})})),()=>{A(n)}}(re,[t,...r]))}),[re,_,be,me,v,V,Me,ye,L]);const xe=!!N,Ne=(0,a.O4)(N),[Ie,Se]=(0,d.useState)(!1);(0,d.useEffect)((()=>{if(!de)return;if(!xe)return;if(!Z)return;if(null==me||!me.isConnected)return;const e=se(D,!0)||me.querySelector("[data-autofocus=true],[autofocus]")||(0,w.LC)(me,!0,p&&ne)||me,t=(0,w.tp)(e);Ne(t?e:null)&&(Se(!0),queueMicrotask((()=>{const{open:t,disclosureElement:n}=_.getState();if(!t)return;const r=(0,w.YE)(me).activeElement,o=(0,w.vq)(r)?r:null,i=o&&function(e){let t=e;for(;t.shadowRoot;){const e=t.shadowRoot.activeElement;if(!(0,w.vq)(e))break;t=e}return t}(o);he.current===_&&o&&i&&(0,w.tp)(i)&&!le(o,me,n)&&!le(i,me,n)||((0,w.tp)(e)&&e.scrollIntoView({block:"nearest",inline:"nearest"}),e.focus({preventScroll:!0}))})))}),[de,xe,Z,me,D,p,ne,_,Ne,he]);const ke=!!I,Oe=(0,a.O4)(I),[Ae,De]=(0,d.useState)(!1);(0,a.UQ)((()=>{if(de)return De(!0),()=>De(!1)}),[de]);const je=(0,d.useCallback)((function(e){var t,n;let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(pe.current)return;const{disclosureElement:o}=_.getState();if(function(e){const t=(0,w.bq)(e);return!(!t||e&&(0,w.gR)(e,t)||!(0,w.tp)(t))}(e))return;let i=se(T)||o;if(null!==(t=i)&&void 0!==t&&t.id){const e=(0,w.YE)(i),t=`[aria-activedescendant="${i.id}"]`,n=e.querySelector(t);n&&(i=n)}if(i&&!(0,w.tp)(i)){const e=i.closest("[data-dialog]");if(null!=e&&e.id){const t=(0,w.YE)(e),n=`[aria-controls~="${e.id}"]`,r=t.querySelector(n);r&&(i=r)}}const u=i&&(0,w.tp)(i);u||!r?Oe(u?i:null)&&u&&(null===(n=i)||void 0===n||n.focus()):requestAnimationFrame((()=>je(e,!1)))}),[_,T,Oe]),Te=(0,d.useRef)(!1);(0,a.UQ)((()=>{if(de)return;if(!Ae)return;if(!ke)return;const e=H.current;Te.current=!0,je(e)}),[de,Ae,Z,ke,je]),(0,d.useEffect)((()=>{if(!Ae)return;if(!ke)return;const e=H.current;return()=>{Te.current?Te.current=!1:je(e)}}),[Ae,ke,je]);const Ce=(0,a.O4)(g),[ze]=(0,d.useState)((()=>new WeakMap)),Le=Y.onKeyDown,Pe=Y.onKeyDownCapture,Re=Y.onFocusCapture,Be=(0,a._q)((e=>{if(null==Re||Re(e),!_.getState().open)return;const t=e.target;(0,w.Ll)(t)&&(0,w.gR)(e.currentTarget,t)&&(he.current=_)})),Qe=(0,a._q)((e=>{if("Escape"!==e.key)return!1;if(!e.bubbles)return!1;const t=ze.get(e);if(t)return!(e.defaultPrevented&&!t.defaultPrevented)&&t.accepted;if(e.defaultPrevented)return!1;const n=H.current;if(!fe)return!1;if(!n)return!1;if(S(n))return!1;const r=Ce(e);return ze.set(e,{accepted:r,defaultPrevented:e.defaultPrevented}),r})),Ue=(0,a._q)((e=>{const t=Qe(e);return ze.delete(e),!!t&&(_.hide(),!0)})),Ye=(0,a._q)((e=>{const t=e.nativeEvent,n=t.cancelBubble;null==Le||Le(e),n?ze.delete(t):Ue(t)&&e.stopPropagation()})),Fe=(0,a._q)((e=>{const t=e.nativeEvent,n=t.cancelBubble;null==Pe||Pe(e),n?ze.delete(t):(e.isPropagationStopped()||t.cancelBubble)&&Ue(t)}));(0,d.useEffect)((()=>
1{if(!Z)return;if(!fe)return;const e=me?(0,w.zk)(me):void 0;return(0,w.cy)((0,w.dg)("keydown",(e=>{if("Escape"!==e.key)return;if(!e.bubbles)return;if(e.cancelBubble)return void ze.delete(e);if(ze.has(e))return;const t=H.current;if(!t)return;const n=e.target;if(!(0,w.Ll)(n))return;const{disclosureElement:r}=_.getState();((0,w.vq)(n)&&"BODY"===n.tagName||(0,w.gR)(t,n)||!r||(0,w.gR)(r,n)||(0,w.vq)(n)&&S(n,t.id))&&Qe(e)&&e.cancelBubble&&Ue(e)}),!0,e),(0,w.dg)("keydown",(e=>{ze.has(e)&&(e.cancelBubble?ze.delete(e):Ue(e)&&e.stopPropagation())}),!1,e))}),[_,Z,fe,me,Ue,Qe,ze]),Y=(0,a.w7)(Y,(e=>(0,l.jsx)(f,{level:v?1:void 0,children:e})),[v]);const We=Y.hidden,qe=Y.alwaysVisible;Y=(0,a.w7)(Y,(e=>h?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(R,{store:_,backdrop:h,backdropRef:G,hidden:We,alwaysVisible:qe}),e]}):e),[_,h,We,qe]);const[He,Ge]=(0,d.useState)(),[Ve,_e]=(0,d.useState)();return Y=(0,a.w7)(Y,(e=>(0,l.jsx)(o.XP,{value:_,children:(0,l.jsx)(o.YH.Provider,{value:Ge,children:(0,l.jsx)(o.oL.Provider,{value:_e,children:e})})})),[_]),Y={"data-dialog":"",role:"dialog",tabIndex:c?-1:void 0,"aria-labelledby":null!=Y["aria-label"]?void 0:He,"aria-describedby":Ve,...Y,"data-dialog-portal":V?null==J?void 0:J.id:void 0,id:re,ref:(0,a.SV)(H,Y.ref),onFocusCapture:Be,onKeyDown:Ye,onKeyDownCapture:Fe},Y=s({...Y,autoFocusOnShow:Ie}),Y=(0,i.aT)({store:_,...Y,unstable_otherElementRef:G}),Y=(0,r.n)({...Y,focusable:c}),Y=(0,m.W)({portal:p,...Y,portalRef:K,preserveTabOrder:ne}),Y}));function fe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.cH;return(0,a.Rf)((function(n){const r=t(),o=n.store||r;return(0,P.O$)(o,["mounted"],(e=>!n.unmountOnHide||(null==e?void 0:e.mounted)||!!n.open))?(0,l.jsx)(e,{...n}):null}))}const me=fe((0,a.Rf)((function(e){const t=de(e);return(0,a.n)("div",t)})),o.cH),ve=(0,a.Rf)((function(e){const t=(0,B.j)({open:e.open});return(0,l.jsx)(me,{...e,store:t})})),pe=(0,a.Rf)((function(e){const t=(0,o.cH)();return e.store||t||!e.unmountOnHide?(0,l.jsx)(me,{...e}):(0,l.jsx)(ve,{...e})}))},60781:function(e,t,n){"use strict";n.d(t,{R:function(){return L}});var r=n(14041),o=n(82224),i=(n(47010),n(41059)),u=n.n(i),a=n(96691),l=n(42561),s=n(46439),c=n(79813),d=n(1087),f=n(18087),m=n(27064),v=n.p+"static/AppQr-5255f9ff7ed876d3685022a24aa0251a.svg",p=n.p+"static/AppQrBig-3d00478bb31c2e46b4bae8df349ba929.svg",h="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIyLjM1NDUgMTQuNzYzMUMyMi4zNjY0IDEzLjg0MzIgMjIuNjExNCAxMi45NDEyIDIzLjA2NjggMTIuMTQxMUMyMy41MjIyIDExLjM0MSAyNC4xNzMxIDEwLjY2ODcgMjQuOTU5IDEwLjE4NjlDMjQuNDU5OCA5LjQ3NTg1IDIzLjgwMTEgOC44OTA2OCAyMy4wMzU0IDguNDc3ODZDMjIuMjY5NiA4LjA2NTA1IDIxLjQxNzkgNy44MzU5NyAyMC41NDc5IDcuODA4ODNDMTguNjkyIDcuNjE0NTYgMTYuODkyNyA4LjkxNjMgMTUuOTQ3IDguOTE2M0MxNC45ODI5IDguOTE2MyAxMy41MjY4IDcuODI4MTIgMTEuOTU4NyA3Ljg2MDI5QzEwLjk0NDUgNy44OTI5NiA5Ljk1NjA1IDguMTg3MDggOS4wODk2OSA4LjcxMzk3QzguMjIzMzMgOS4yNDA4NiA3LjUwODYgOS45ODI1NiA3LjAxNTE1IDEwLjg2NjhDNC44Nzc2NSAxNC41NTczIDYuNDcyMDMgMTkuOTgxIDguNTE5NTkgMjIuOTY0MUM5LjU0NDAyIDI0LjQyNDggMTAuNzQxMyAyNi4wNTY1IDEyLjMwNzkgMjUuOTk4N0MxMy44NDA5IDI1LjkzNTMgMTQuNDEzNSAyNS4wMjM4IDE2LjI2MzkgMjUuMDIzOEMxOC4wOTcyIDI1LjAyMzggMTguNjM0NCAyNS45OTg3IDIwLjIzMjggMjUuOTYxOUMyMS44Nzc4IDI1LjkzNTIgMjIuOTE0MiAyNC40OTQ2IDIzLjkwMjcgMjMuMDIwMUMyNC42Mzg4IDIxLjk3OTMgMjUuMjA1MiAyMC44Mjg5IDI1LjU4MDkgMTkuNjExN0MyNC42MjUyIDE5LjIwODYgMjMuODA5NyAxOC41MzM5IDIzLjIzNTkgMTcuNjcxN0MyMi42NjIyIDE2LjgwOTQgMjIuMzU1NiAxNS43OTc5IDIyLjM1NDUgMTQuNzYzMVoiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xOS4zMzQzIDUuODQ3MTlDMjAuMjMxMyA0Ljc3MzQ3IDIwLjY3MzEgMy4zOTMzOCAyMC41NjYxIDJDMTkuMTk1OCAyLjE0MzUyIDE3LjkzMDEgMi43OTY2MSAxNy4wMjEgMy44MjkxNEMxNi41NzY2IDQuMzMzNTYgMTYuMjM2MiA0LjkyMDM4IDE2LjAxOTMgNS41NTYwN0MxNS44MDI0IDYuMTkxNzYgMTUuNzEzMiA2Ljg2Mzg0IDE1Ljc1NyA3LjUzMzlDMTYuNDQyNCA3LjU0MDk0IDE3LjEyMDQgNy4zOTI4IDE3Ljc0MDEgNy4xMDA2M0MxOC4zNTk3IDYuODA4NDYgMTguOTA0OCA2LjM3OTg5IDE5LjMzNDMgNS44NDcxOVoiIGZpbGw9ImJsYWNrIi8+Cjwvc3ZnPgo=",g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAACACAYAAADUHPECAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA/cSURBVHgB7Z2LlxTFFcY/liBvCGB8oOIKaASEhBjzgmiOJ/90cmJiIjFEUWNiQAPEFaMooIA8JLCw9m+779mamu6e7urunZme+s6ps7uzMz31+OreW7du3ZIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiphVr1A3mcl57oIipRRtE2ZCUHyRle1I2J2VtUh7KfhogyWJS7iflXvb7naTcSMrNpFxPypKqYX1Sfpi9f8n53FJBAV8m5RtFBON7CgMSYz4r31dz3FI6mAtJuTbivRuTsl/1cFeRKI1QlyhIin1JeVbhJMsDkmhvUp5JyqWknFNKnDxUlTwuulKxM4M6g/1UUn6klCxdgQF9NCtXkvIPDUuCkEGPRGmIuYrv+UlSXlK3JPHxcFJeVWqPxIEeM0YRBYlzVKktMg5Qv0NKSbohey1E9VSZEBElKFM9DMyLStXAuPGkUqP5hKJ0GQvmSl7HHpkEkhi2JOVlpaueuojkaogiomAXPKHJwyalaqguIlEaIo8oO5QSZVIRsiyPRGmIPKK8oGj8RXjwZ+cjSt3xTYGr/v9J+VYrqxRc+uuUuuDXaXURJUpD+ER5TuFgD+eTpFzQ6L0bbA0ceM9kv3eNSJSGcImyValECcHnSXlPqRSpgttJ+SgpZ5PydFKeV9hqpioiURrCJcrTCsMHSgc8xBHGrvLHSvd1jitdAkdMIFyj9XHVB2omlCQukDAnsp9dIEqUhjCiYCfUnc1s3Z9Wc5IYIMk7LT7PRSRKQ5jqYZu/bmdeVPsS4LJSKRWqBovQhCjzSdmmcBCc9bGmHEaUEEPyqrrB+0nZo3alQOizIOzRBp/HPfCGegBTPSHezkV1A577qdpFyEDvVLrfFUoSDPW3lIZ6Tj2MICGd0eVy9j9KbaA8EBOzR92CnepjCo/iw856OylfqSewjgiRDqySWPF0EV1PVNs/C/7HINYlSp2JgFEPSZp4j1Gfn6lHMNVzR/XB5uGTmg5UJQoxOJBkvcLByu2/6hmMKCF6lM4/rHBvbii6Cq5GgkCSzQoHzsdP1EMYUTguEaJ+mHk/V/vL2bYxiij0A6ub7QoHUuSsegr3kBbG6Q7VB8/YrTQaDnvltro9FYh62FvvI8tnhS4W/M+i+ZqQnWdzYqC3pyFdqx5HF7u5ocvBnVkhxIDd46+VOtBwOGEDtbWcDqlfWXzNQaXtDgVtZUO0K3fBRMAlytWs7FQzrNUKaTjRh03BUpedZVTcN1nBLkL6EJ4wrpl4QM1CKzis9nelbeg1XKIwoGeUGnRtAgmwPiu4wt3NRwhiZ5BRD0ghSHRbxUZrWwfACG04oHBQ31OaAZIA36GEqmCWrNZKBpWwKSsW8Y/qMrX1Pw2vyELCNH2icLisCUmQkDjUQtwKU4m13t/MYtQP/pE2zxbXAURgiUpIJuecjbRmJBNgVdfhhsQyBxjPPabwuGBsEUIirmuGsDbnNWYLm1mPaTKCrJE2rKoInYTItsqqAyMKdtNx5be7CiDq39Qj13xVFHUYdgKEYfZNSkQ+DjHIi41T105BfdGm4
1wp3zUPSkyrOstBrlM0sjDUyCjA441JDeQgxZlEXqLEmrnlI8oVmFKNEMCqIzkGyNOnkcQNnYhOysxqc+uCjJqiiq1FBC0pF7y7NXlghpwVOa8ZR1aiDJKghNrww6FiVrPYhrnEAb/W/1E0c71ShrvWPrse/saB0ecjn2Xvp4xFUyIFDbWZ8JWVoskxkFUHI4oJSJ92N7HnYA31QT7ThmkYnH5wJdDGgGI04xSAMLnsi0uw4yCStnqoA8r+uGXHTl2G1Zz5qysizPfu5RZMtgTBm/60ZxyQMEERh74UYkzZy1rYNpMmfNeN5akNtlDbB8hs7YEHpYOBmn6QVFX2E6mQLYGZXP5NAFBfYBCzBcfB1eRykLnAHsFnaizM6IZg0ogBWVIQWskM8KcYvKhrbCr/KTEqVSSQKsIxNdXeJuwSGOIS5rBkEMxZ7ICQj9S11C4KWfqrJAkkQqddMxaIAiMKsfbHex5bF7+/VLVlQQUiVLjYjOVpBRF3IGR4i9v+iGQOu95DBRgTvUvfowh5gF5jjqh8oDCzlp+WEZGsIJQroOmEx9lPb0oSQCc4FP8h+D7U3yM8/qfZdJ4AoxJzcVX20lWq0CARMtekQZPeboxV2NASDGY9ryHkcVNYkJ21uHbbr+7Xqgxl1RN3YENTrebUHHHnEut73XqfdCwoD54FmJjmhEeWSwsB+DWd227zHBylyRM3OAfugfUUbex8qLMWYHUWdCRhRPlc4WDW9onYkC4SDJHXPFjcBavc9hYGVU5PjqFMDM8iYbTQ61G0OSfCkhl7yCGGJrv+ZUtukbaBiyqLnMeg5oB+iStjIxLfS67PHruXOPgsn+kMNSPPJQBhz4q11vmdOK1fd8l475MV3IkX2qbur6DiHM0q9YuxyVrpu+2krbev1MQ53L4XOZLnY9DgpBDjo/P0gK+YTYSDmNHnhk6z+CKI+pPpAVbIP1FWmzLHDHywCie+rXfAdtlWwLvt9tUlS1XFHksEbqg/Ij1Hf2+tr/Iaxh9F26s5pAoQKjWbDVpmkTcxWkTcD6KiQWdUXsAIMdRegtqb5oFwh8ojCRtxbqn6lSh8RmmYL++xZ9RBF+xWQhGXuY+rHnkaVVY8LyxAVcuMIjkKM2q7DMFYVZcYXyz2207u6GiUUq1UfVjEhm4YY6z9WzwzbUY1BqvxJk3EICkPznFK1uBpg9XdGYaEOOO565bGtolbosAWlpBrXIXUI+25Szis1FusOQl3VY0B6EYEfcoyEuBUCpHqRUrSO/WE51SDMNq2OaGWgmNXEkNjWAESpuxcUShSANA0J9KZ/iLO9qB6grqGKkUfAD2dckDR0RNtud0Q9/hxO6LH6wLXuzsqQhMRNiLKYfX/IHhSSCFvvW005mqoRU0ePZD+RNOtqPhdiWApRZh+Si/MzRSIbVXBE9YBv5ILCQXsIKdig+oD0ZzTlaNveQLpgyDGYG7Jim2YGJBGzFOl0OyvX1f7WQURERERERERERERERERERERERERERMQUw65xs4Nf7K+Ye33UgSbc8g9lhd/Zswm9FjdiwsHWORcm+Zts7Hi+qfKgHY4n+FfA/lUzep9N34EkWNDwAW6CbraVfI7wBD8/CtIkdCs/YsIBUVAV/jXxEGG+5HOcU/YDeYg+m/lbKPoK2/4/n/M/ItCLEgM/5f1NiEAvIrki8uFmM8Co3eH8D5JwZMFPskOMCUE8bowJgUEL6g5mONuRVIzwurGodnB+ffb7knoSz7oacNXHWQ3HhpL1yFcp/h2D97UikeaVZiUwEDL5oYZBtiJXKl3Ivt8FZNidPc9u5rDVlV2sjeFMZH7ZEQ6i7wjGfliD555Z2V3J6uemAyV8sW6WTEBUHqm/mGwc0rdoOPrn9YLPvKQ0yIv2MFnPZXVSVt/DGlyJvp3zjO1Zfd0gNCLqLOcNz/+FVgLGKMQg+/cQbcrq447tYvasS+6LGKMET887rzEDn8heB3Tyfu8LiKE1qbNBg5mSivKxbvTe5+dlQdLRSQxwXhQe/0cqbM3qywrtivce6nowq29eIDiShbZBfAbIzhyvUVi2J5POLAIedV4vk1qcLNzp/A3xrR30/Q7v/e94z7PsVP4pgfXee/z/MyldokCSl7OfLjAnlsfW78DzGm7YvPM7+Uy25XymyIgNPWW4NytVQjUhO9fU+vGsHO1Eco06LUAdSdy3T82w5NQnFFXq6gKJG5Jw0Q2IR1rnkQSCcAPasl/MbxQSAFa7RykR3cxcS7TjAnFbdll0CFH4zHPea9hK57PvYxYiadyG2e3rNkuQCAdzns1spR129YtLRN6PCkQF+KnKkHj+7EaSupPqllOXUIyaGPTNPee9BxUGG3f68JiGScKYnnS+K5f9iGE/dSezkyQzflqHBZUviUNmFwPoik4G/w8aTHGKKnxVg6syd4AOaLD+dgO66wzE/nI7mmfRPlwFJzUIpJtPFE4s5nmhuzzv5E486rRVYaCtkP/XGs7eDUnekKdZ8gaSWYfYcTNTm5HrdgKd5N8F7EfSM+AMmE+mspnDcY03s++yuwv9PLj3cp5pdaOeftYo6vllzmtISLejaLPvU6qLJkSZq/h/+jVUmgAIxuSvRBKQRxQGADG/y6ugn9abDvU9uv7fiDTUgH92uex8jGWVNkAq935CGrk7p+5rnGf7/8tLmYU6+53ax5qcv39Z8N4tIz7rwyQKqxxXmi6pmj1n2J/zGir5hAqM7yLVwEBhDxRlSaRiCzmv+yfiaNivlFrZsBUj6nFVSyeBqKdBqMEqN4LZbMs7uTjOXC8MYEj6jDzQRoxX99Qik5A2b1Iz8JzCs1VFREGtYAcUZY9GPeQtfVFbPruZ4YdVD6xADpXUD9b7YnqN99N//2qhyTbGKNXjqxy+i7x7R9UcaAy0xKW6FeNDRQw7W/A67w9N7mvAr/CCBklCh2CrkB0A++U1DUsJ18s8Tizl/H29oNQlFRPI9fHg0LysMHL6/WQJC3PNgrJVya2sInu816+pPMHMgtJOwFBEdRkZzcNIBVErRbvTrFhc6x6CnNJgx86p2EC+q2GJU6S6LN+tIfQCiTJQz9cK/vcbDTrcRtkZrpFOP5qTsK7EZCXJKhA3hBsFYKlf3/U/MGr5ivpxiUKjT1eo2FWV51xlryiPKBDE9yKyXPeNYfSxn1TPiIGkuaNBnc2SO883wvLQtcPwo5zS+FDHIGXBYb6buhIFycz44On13RHz2XM/cj/gq57NWplhDOQB7/8sm79Qd6A+easGH3kZtk0K0Wm+ExAHne+WxwbyjfUu21YFVYli+0KGuhLFbltFwuflFsY2dSXdkEShQxFHRVe0dX2j+GL23Q95dWIAUQvozyJ3u6tesK8wzqzjIdErSnPo8hxWDTu9z9N5TS6PaANVfTCoBldF1iWK+36kKELB9YbTX2wQ/lGZLeMTxTyNeSSh86+oWyANqLibZhxV9FulBCq71MA1wrChIIWrNmlrUUovOs7fcJtU4Dj8zHutbr19yYWaYdntep/RLBi3yznzfAYXrRhYMjVdzVQFacZ9Yxlp4ZLkUw0v43AQGlkgHPcG+h2aB/Qx3sivNH6MUj0Q4v2c15tGFjLuZLfytySQysvhIL5EQSxbgjuAeDublTZnm7+kc4nB6wRpo2LmtRKCgERBNeB6x7i1zIvWuehZd7VE3YkP2aWVeJSNWtlSYBWFsY6uH9W26xq0CVTymavee8sGEcK7gWEuWRkLjM572XfRvpvKv82dfnGzjbtX4SxquO43C+qNMNjh1X2ZI3kMxj7Ylv3vpsabfwxJYlKClUwTHwkNtig5Oo92xQi3iIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiN7jO2SrH/MO1/2+AAAAAElFTkSuQmCC",y=n(59256),E=n(5926),b="icons-module--icon--32b08",w="icons-module--iconText--7e132";function M(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",fill:"none"},r.createElement("path",{fill:"currentColor",d:"M0 32A32 32 0 0 1 16 4.287l.24.416A31.52 31.52 0 0 0 .48 32l.004.519A31.52 31.52 0 0 0 16.24 59.297l-.24.416a32 32 0 0 1-11.446-11.26L4.287 48A32 32 0 0 1 .004 32.526zm63.52 0A31.52 31.52 0 0 0 47.76 4.703l.24-.416A32 32 0 0 1 64 32l-.005.526A32 32 0 0 1 59.713 48l-.267.453A32 32 0 0 1 48 59.713l-.24-.416a31.52 31.52 0 0 0 15.756-26.778z"}))}var x={footer:"styles-module--footer--6e7fe",container:"styles-module--container--6a861",content:"styles-module--content--12838",mainPart:"styles-module--mainPart--141f1",appInfo:"styles-module--appInfo--9a07b",externalLinksPart:"styles-module--externalLinksPart--e0cce",socials:"styles-module--socials--f6773",socialLinks:"styles-module--socialLinks--a125b",socialTextBlock:"styles-module--socialTextBlock--cb69d",appsBlock:"styles-module--appsBlock--42cb5",appsText:"styles-module--appsText--778f8",desktopBlocks:"styles-module--desktopBlocks--765c9",desktopBlock:"styles-module--desktopBlock--d1e3f",mobileBlocks:"styles-module--mobileBlocks--a4b84",mobileBlock:"styles-module--mobileBlock--49c87",toggle:"styles-module--toggle--ee0dd",linksWrapper:"styles-module--linksWrapper--8ca2d",open:"styles-module--open--a1ab8",companyInfoBlock:"styles-module--companyInfoBlock--1c56d",adressMobileBlock:"styles-module--adressMobileBlock--e60fe",adress:"styles-module--adress--030a7",noneBlock:"styles-module--noneBlock--3aff9",partners:"styles-module--partners--64cd0",partnerBlock:"styles-module--partnerBlock--76a73",linksContainer:"styles-module--linksContainer--274a6",appLinksContainer:"styles-module--appLinksContainer--f4dfe",qrModal:"styles-module--qrModal--3e4c2",appStoreLink:"styles-module--appStoreLink--9bb7a",appStoreLinkContent:"styles-module--appStoreLinkContent--379f5",linkWithIcon:"styles-module--linkWithIcon--5ad01",appQrButton:"styles-module--appQrButton--0ea71",socialContainer:"styles-module--socialContainer--c5c21",mobileDocBlock:"styles-module--mobileDocBlock--f7063"};const N=[{url:"https://vk.com/periodica_press",icon:function(){return r.createElement("div",{className:b},r.createElement(M,null),r.createElement(s.fz,{className:w},"ВК"))},key:"vk"},{url:"https://t.me/periodicapress",icon:function(){return r.createElement("div",{className:b},r.createElement(M,null),r.createElement(s.fz,{className:w},"ТГ"))},key:"telegram"},{url:"https://zen.yandex.ru/periodicapress",icon:function(){return r.createElement("div",{className:b},r.createElement(M,null),r.createElement(s.fz,{className:w},"ДЗЕН"))},key:"zen"}];function I(e){let{blocks:t}=e;return r.createElement("footer",{className:x.footer},r.createElement("div",{className:x.container},r.createElement("div",{className:x.content},r.createElement("div",{className:x.mainPart},r.createElement(S,null),r.createElement(A,{blocks:t}),r.createElement(D,{blocks:t})),r.createElement(k,null),r.createElement(s.fz,{size:"small",color:"secondary"},"Мы используем"," ",r.createElement(s.N_,{href:"/privacy/#rec748128838",target:"_blank"},"файлы cookie"),", чтобы сделать использование сайта более удобным для вас. Все права защищены. Использование материалов возможно только с обязательным указанием ссылки на первоисточник."))))}function S(){const e=(0,l.j)();return r.createElement("div",{className:x.appInfo},r.createElement("div",{className:x.externalLinksPart},r.createElement("div",{className:x.socials},r.createElement("div",{className:x.socialLinks},N.map((e=>r.createElement(C,{key:e.key,Icon:e.icon,url:e.url})))),r.createElement("div",{className:x.socialTextBlock},r.createElement(s.fz,{weight:"emphasized",color:"secondary"},"Готовы начать?"),r.createElement(s.fz,null,r.createElement(s.N_,{href:"/products/photobooks/"},"Соберите свою книгу"))))),r.createElement("div",{className:x.appsBlock},r.createElement("div",{className:x.appsText},r.createElement(O,null,"В приложении — удобней"),r.createElement(s.fz,{color:"secondary"},"Скачайте приложение в App Store и собирайте фотокниги прямо в своем телефоне")),r.createElement("div",{className:x.appLinksContainer},r.createElement(f.Kq,{placement:"bottom"},r.createElement(f.Mz,{render:r.createElement("button",{className:x.appQrButton,type:"button",onClick:()=>{m.A.logEvent({name:"event_site_footer_show_qr"}),e.show()}},r.createElement("img",{src:v,alt:"Кнопка с QR-код со ссылкой, которая ведет в AppStore"}))}),r.createElement(f.m_,{gutter:8},"Показать QR-код")),r.createElement(z,{dialogStore:e}),r.createElement(f.Kq,{placement:"bottom"},r.createElement(f.Mz,{render:r.createElement("a",{className:x.appStoreLink,href:y.n,target:"_blank",rel:"noopener nofollow noreferrer",onClick:()=>{m.A.logEvent({name:"event_site_click_appstore_link"})}},r.createElement("div",{className:x.appStoreLinkContent},r.createElement("img",{src:h,alt:"Логотип компании Эппл"})))}),r.createElement(f.m_,{gutter:8},"Открыть App Store")))))}function k(){return r.createElement("div",{className:x.companyInfoBlock},r.createElement("div",{className:x.adress},r.createElement(s.fz,{color:"secondary"},"ООО «Периодика Пресс» ",r.createElement("br",null)," ИНН 7743125098 ",r.createElement("br",null)," ОГРН 1157746985285")),r.createElement("div",{className:x.adress},r.createElement(s.fz,{color:"secondary"},"Юридический адрес: 125315, г. Москва, ",r.createElement("br",null)," Ленинградский проспект, д. 74А",r.createElement("br",null),"E-mail ",r.createElement(s.N_,{href:"mailto:[email protected]"},"[email protected]"))),r.createElement("div",{className:x.adressMobileBlock},r.createElement(s.fz,{size:"small",color:"secondary"},"ООО «Периодика Пресс», ИНН 7743125098, ОГРН 1157746985285"),r.createElement(s.fz,{size:"small",color:"secondary"},"Юридический адрес: 125315, г. Москва, Ленинградский проспект, д. 74А, E-mail ",r.createElement(s.N_,{href:"mailto:[email protected]"},"[email protected]"))),r.createElement("div",{className:x.noneBlock}),r.createElement("div",{className:x.partners},r.createElement("div",{className:x.partnerBlock},r.createElement("img",{src:g,alt:""}))))}function O(e){let{children:t}=e;return r.createElement(s.fz,{size:"medium",weight:"emphasized"},t)}function A(e){let{blocks:t}=e;return r.createElement("div",{className:x.desktopBlocks},t.map((e=>{var t;return r.createElement("div",{className:x.desktopBlock,key:`block_${e.rank}`},r.createElement(O,null,e.title),r.createElement("div",{className:x.linksContainer},null==e||null===(t=e.items)||void 0===t?void 0:t.map((e=>
1r.createElement(T,{key:`link_${e.title}`,item:e})))))})))}function D(e){let{blocks:t}=e;const[n,o]=(0,r.useState)();return r.createElement("div",{className:x.mobileBlocks},t.map((e=>r.createElement(j,{block:e,isOpen:n===e.rank,onClick:()=>{var t;t=e.rank,o(n===t?void 0:t)},key:`mobileBlock_${e.rank}`}))))}function j(e){var t,n;let{block:o,isOpen:i,onClick:a}=e;const l=(0,r.useRef)(null);return r.createElement("div",{className:x.mobileBlock},r.createElement("button",{type:"button",className:x.toggle,onClick:a},r.createElement(O,null,o.title),i?r.createElement(c.Zc,{size:20}):r.createElement(c.aY,{size:20})),r.createElement("div",{className:u()([x.linksWrapper,i&&x.open]),ref:l,style:i?{height:null==l||null===(t=l.current)||void 0===t?void 0:t.scrollHeight}:{height:"0px"}},r.createElement("div",{className:x.linksContainer},null==o||null===(n=o.items)||void 0===n?void 0:n.map((e=>r.createElement(T,{key:`mobileLink_${e.title}`,item:e}))))))}function T(e){var t,n;let{item:o}=e;const i=o.icon?r.createElement("img",{src:null===(t=o.icon)||void 0===t||null===(n=t.localFile)||void 0===n?void 0:n.publicURL,alt:"Иконка"}):null;return o.externalUrl||(0,E.J)(o.url)?r.createElement(s.N_,{key:`link_${o.title}`,variant:"primary",href:o.url,target:"_blank",rel:"noopener nofollow noreferrer",className:x.linkWithIcon},o.title,i):r.createElement(s.N_,{key:`link_${o.title}`,variant:"primary",asChild:!0,className:x.linkWithIcon},r.createElement(a.Link,{to:o.url},o.title,i))}function C(e){let{Icon:t,url:n}=e;return r.createElement("a",{href:n,className:x.socialContainer,target:"_blank",rel:"noopener nofollow noreferrer"},r.createElement(t,null))}function z(e){let{dialogStore:t}=e;return r.createElement(d.mO,{size:"small",store:t},r.createElement(d.UC,null,r.createElement("div",{className:x.qrModal},r.createElement(s.DZ,{variant:"h2"},"В приложении — удобней"),r.createElement("img",{src:p,alt:"QR-код со ссылкой, которая ведет в AppStore"}),r.createElement(s.fz,null,"Загружайте фото с телефона, собирайте уникальные книги сами или с помощью нейросети, которая учитывает ваши пожелания. Сохраните важные моменты легко!"))))}function L(){const e=(0,o.K)();return r.createElement(I,{blocks:e})}},61086:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var r=n(96691);const o=()=>{const{allStrapiHeaderNav:{nodes:e}}=(0,r.useStaticQuery)("1904182757");return e.sort(((e,t)=>e.rank-t.rank))}},64714:function(e,t,n){"use strict";var r=n(98903);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function u(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function l(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var s={url:u,method:u,data:u,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=s[e]||i,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},65262:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});var r=n(36385),o=n(27992),i=n(86369);function u(e){const t=(0,i.a)(e),n=t.getFullYear(),u=(0,r.w)(e,0);u.setFullYear(n+1,0,4),u.setHours(0,0,0,0);const a=(0,o.b)(u),l=(0,r.w)(e,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const s=(0,o.b)(l);return t.getTime()>=a.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}},69396:function(e,t,n){"use strict";n(53795),n(34232);var r=n(49120);e.exports=r.Object.groupBy}
1,70477:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});n(47010);var r=n(14041),o=n(41059),i=n.n(o),u={wrapper:"CookieBanner-module--wrapper--24989",open:"CookieBanner-module--open--d4e4a",modalAnimationIn:"CookieBanner-module--modal-animation-in--86f43",progressBar:"CookieBanner-module--progress-bar--eb6ba",closed:"CookieBanner-module--closed--84d6b",modalAnimationOut:"CookieBanner-module--modal-animation-out--919de",content:"CookieBanner-module--content--453fa"};function a(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!0);return(0,r.useEffect)((()=>{if(!n){const e=setTimeout((()=>{t(!1),localStorage.setItem("cookieBanner_closed","true"),document.documentElement.style.removeProperty("--cookie-banner-showed"),document.documentElement.style.removeProperty("--footer-bottom-padding")}),1e4);return document.documentElement.style.setProperty("--cookie-banner-showed","1"),document.documentElement.style.setProperty("--footer-bottom-padding","88px"),()=>{clearTimeout(e)}}}),[n]),(0,r.useEffect)((()=>{localStorage.getItem("cookieBanner_closed")||(o(!1),e||t(!0))}),[e]),r.createElement("div",{className:i()({[u.wrapper]:!0,[u.open]:!n&&e,[u.closed]:!n&&!e})},r.createElement("div",{className:u.content},r.createElement("p",null,"Мы используем"," ",r.createElement("a",{href:"/privacy/#rec748128838",target:"_blank"},"файлы cookie"),", чтобы сделать сайт лучше."),r.createElement("button",{className:u.button,type:"button",onClick:()=>{t(!1),document.documentElement.style.removeProperty("--cookie-banner-showed"),localStorage.setItem("cookieBanner_closed","true")}},"Хорошо")))}},71244:function(e,t,n){"use strict";var r=n(98903),o=n(20634);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},73582:function(e,t,n){"use strict";var r=n(6271);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},75631:function(e,t,n){"use strict";n.d(t,{T:function(){return m}});var r=n(17471),o=n(24409),i=n(5517),u=n(7285),a=n(9615),l=n(14041),s=n(31085),c=n(99621);function d(e,t,n){return(0,u._q)((r=>{var o;if(null==t||t(r),r.defaultPrevented)return;if(r.isPropagationStopped())return;if(!(0,a.uh)(r))return;if(function(e){return"Shift"===e.key||"Control"===e.key||"Alt"===e.key||"Meta"===e.key}(r))return;if(function(e){const t=e.target;return!(t&&!(0,a.mB)(t)||1!==e.key.length||e.ctrlKey||e.metaKey)}(r))return;const u=e.getState(),l=null===(o=(0,i.hZ)(e,u.activeId))||void 0===o?void 0:o.element;if(!l)return;const{view:s,...c}=r;l!==(null==n?void 0:n.current)&&l.focus({preventScroll:!0}),(0,a.sz)(l,r.type,c)||r.preventDefault(),r.currentTarget.contains(l)&&r.stopPropagation()}))}const f=(0,u.ph)((function(e){let{store:t,focusOnMove:n,previousElementRef:r,present:o,scrollIntoView:s}=e;const d=(0,c.O$)(t,"moves"),f=(0,c.O$)(t,"compositeElement");return(0,l.useEffect)((()=>{if(!d)return;if(!n)return;const{activeId:e}=t.getState();return null!=e?o({id:e,requireFocus:(0,i.ic)(t),focus:!0,scrollIntoView:s}):void 0}),[t,d,n,f,o,s]),(0,u.UQ)((()=>{if(!d)return;if(!f)return;const{activeId:e}=t.getState();if(null!==e)return;const n=r.current;r.current=null,n&&(0,a.c$)(n,{relatedTarget:f}),(0,a.AJ)(f)||((0,a.tp)(f)&&f.scrollIntoView({block:"nearest",inline:"nearest"}
1),f.focus({preventScroll:!0}))}),[t,d,f]),null})),m=(0,u.ab)((function(e){let{store:t,composite:n=!0,focusOnMove:m=n,moveOnKeyPress:v=!0,unstable_scrollIntoView:p,...h}=e;const g=(0,o.Lf)();t=t||g,(0,a.V1)(t,!1);const y=(0,l.useRef)(null),E=(0,l.useRef)(null),b=(0,i.CM)(t),[,w]=(0,u.XB)(n?t.setCompositeElement:null),M=(0,c.O$)(t,"virtualFocus"),x=(0,c.O$)(t,n&&M?["activeId"]:[],(e=>n&&M?e.activeId:null));(0,u.UQ)((()=>{var e;if(!t)return;if(!n)return;if(!M)return;const r=E.current;if(E.current=null,!r)return;const o=(null===(e=(0,i.hZ)(t,x))||void 0===e?void 0:e.element)||(0,a.bq)(r);o!==r&&(0,a.c$)(r,{relatedTarget:o})}),[t,x,M,n]);const N=d(t,h.onKeyDownCapture,E),I=d(t,h.onKeyUpCapture,E),S=h.onFocusCapture,k=(0,u._q)((e=>{if(null==S||S(e),e.defaultPrevented)return;if(!t)return;const{virtualFocus:n}=t.getState();if(!n)return;const r=e.relatedTarget,o=(0,i.Qh)(e.currentTarget);(0,a.uh)(e)&&o&&(e.stopPropagation(),E.current=r)})),O=h.onFocus,A=(0,u._q)((e=>{if(null==O||O(e),e.defaultPrevented)return;if(!n)return;if(!t)return;const{relatedTarget:r}=e,{virtualFocus:o}=t.getState();if(o)(0,a.uh)(e)&&!(0,i.WZ)(t,r)&&queueMicrotask((()=>b({focus:!0,markedOnly:!0,requireFocus:!0,scrollIntoView:p})));else if((0,a.uh)(e)){if(!(0,i.WZ)(t,r)){const{activeId:e}=t.getState();null!=e&&b({id:e,markedOnly:!0,requireFocus:!0,scrollIntoView:p})}t.setActiveId(null)}})),D=h.onBlurCapture,j=(0,u._q)((e=>{var n;if(null==D||D(e),e.defaultPrevented)return;if(!t)return;const{virtualFocus:r,activeId:o,compositeElement:u}=t.getState();if(!r)return;if(e.currentTarget!==u)return;const l=null===(n=(0,i.hZ)(t,o))||void 0===n?void 0:n.element,s=e.relatedTarget,c=(0,i.WZ)(t,s),d=E.current;E.current=null,(0,a.uh)(e)&&c?(s===l?d&&d!==s&&(0,a.c$)(d,e):l?(0,a.c$)(l,e):d&&(0,a.c$)(d,e),e.stopPropagation()):!(0,i.WZ)(t,e.target)&&l&&(0,a.c$)(l,e)})),T=h.onKeyDown,C=(0,u.O4)(v),z=(0,u._q)((e=>{var n;if(null==T||T(e),e.nativeEvent.isComposing)return;if(e.defaultPrevented)return;if(!t)return;if(!(0,a.uh)(e))return;const{orientation:r,items:o,renderedItems:u,activeId:l,rtl:s}=t.getState(),c=(0,i.hZ)(t,l);if(null!=c&&null!==(n=c.element)&&void 0!==n&&n.isConnected)return;const d=c&&null!=l,f=d?o:u,m="horizontal"!==r,v="vertical"!==r,p=function(e){return e.some((e=>!!e.rowId))}(f);if(("ArrowLeft"===e.key||"ArrowRight"===e.key||"Home"===e.key||"End"===e.key)&&(0,a.mB)(e.currentTarget))return;const h={ArrowUp:(p||m)&&(()=>{var e,n;return d?t.up({activeId:l,renderedItems:f}):p?null===(e=function(e){return(0,i.oi)((0,a.M9)((0,a.q7)((0,i.es)(e))))}(u))||void 0===e?void 0:e.id:null===(n=t)||void 0===n?void 0:n.last()}),ArrowRight:(p||v)&&(()=>d?t.next({activeId:l,renderedItems:f}):s?t.last():t.first()),ArrowDown:(p||m)&&(()=>d?t.down({activeId:l,renderedItems:f}):t.first()),ArrowLeft:(p||v)&&(()=>d?t.previous({activeId:l,renderedItems:f}):s?t.first():t.last()),Home:t.first,End:t.last,PageUp:t.first,PageDown:t.last}[e.key];if(h){const n=h();if(void 0!==n){if(!C(e))return;e.preventDefault(),t.move(n)}}}));h=(0,u.w7)(h,(e=>(0,s.jsxs)(o.aN,{value:t,children:[e,n&&(0,s.jsx)(f,{store:t,focusOnMove:m,previousElementRef:E,present:b,scrollIntoView:p})]})),[t,n,m,b]),h={"aria-activedescendant":(0,c.O$)(t,n&&M?["items"]:[],(()=>{var e;if(t&&n&&M)return null===(e=(0,i.hZ)(t,x))||void 0===e?void 0:e.id})),...h,ref:(0,u.SV)(y,w,h.ref),onKeyDownCapture:N,onKeyUpCapture:I,onFocusCapture:k,onFocus:A,onBlurCapture:j,onKeyDown:z};const L=(0,c.O$)(t,n&&!M?["activeId"]:[],(e=>n&&(M||null===e.activeId)));return h=(0,r.n)({focusable:L,...h}),h}));(0,u.Rf)((function(e){const t=m(e);return(0,u.n)("div",t)}))},77581:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(36385),o=n(47553),i=n(86369),u=n(50290);function a(e,t){var n,a,l,s,c,d;const f=(0,i.a)(e),m=f.getFullYear(),v=(0,u.q)(),p=null!==(n=null!==(a=null!==(l=null!==(s=null==t?void 0:t.firstWeekContainsDate)&&void 0!==s?s:null==t||null===(c=t.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==l?l:v.firstWeekContainsDate)&&void 0!==a?a:null===(d=v.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1,h=(0,r.w)(e,0);h.setFullYear(m+1,0,p),h.setHours(0,0,0,0);const g=(0,o.k)(h,t),y=(0,r.w)(e,0);y.setFullYear(m,0,p),y.setHours(0,0,0,0);const E=(0,o.k)(y,t);return f.getTime()>=g.getTime()?m+1:f.getTime()>=E.getTime()?m:m-1}},78419:function(e,t,n){"use strict";n.d(t,{$I:function(){return o},LN:function(){return i},zX:function(){return u}});const r=(0,n(7285).B0)(),o=r.useContext,i=(r.useScopedContext,r.useProviderContext,r.ContextProvider),u=r.ScopedContextProvider},81107:function(e,t,n){"use strict";var r=n(98903);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var u=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),u.push(o(t)+"="+o(e))})))})),i=u.join("&")}if(i){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},82224:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(96691);const o=()=>{const{allStrapiFooterNav:{nodes:e}}=(0,r.useStaticQuery)("202814193");return e.sort(((e,t)=>e.rank-t.rank))}},82389:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(17471),o=n(7285),i=n(9615),u=n(14041);const a=(0,o.ab)((function(e){let{store:t,showOnHover:n=!0,setAnchorElement:a=!1,...l}=e;const s=(0,i.$f)(l),c=(0,u.useRef)(null),d=(0,u.useRef)(0);(0,u.useEffect)((()=>()=>window.clearTimeout(d.current)),[]),(0,u.useEffect)((()=>(0,i.dg)("mouseleave",(e=>{const t=c.current;t&&e.target===t&&(window.clearTimeout(d.current),d.current=0)}),!0)),[]);const f=l.onMouseMove,m=(0,o.O4)(n),v=(0,o.P$)(),p=(0,o._q)((e=>{if(null==f||f(e),s)return;if(e.defaultPrevented)return;if(d.current)return;if(!v())return;if(!m(e))return;const n=e.currentTarget;a&&t.setAnchorElement(n),t.setDisclosureElement(n);const{showTimeout:r,timeout:o}=t.getState(),i=()=>{d.current=0,v()&&(a&&t.setAnchorElement(n),t.show(),queueMicrotask((()=>{t.setDisclosureElement(n)})))},u=null!=r?r:o;0===u?i():d.current=window.setTimeout(i,u)})),h=l.onClick,g=(0,o._q)((e=>{null==h||h(e),window.clearTimeout(d.current),d.current=0})),y=(0,u.useCallback)((e=>{if(c.current=e,!a)return;const{anchorElement:n}=t.getState();null!=n&&n.isConnected||t.setAnchorElement(e)}),[t,a]);return l={...l,ref:(0,o.SV)(y,l.ref),onMouseMove:p,onClick:g},l=(0,r.n)(l),l}))},83175:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},83225:function(e,t,n){"use strict";function r(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}n.d(t,{f:function(){return i}});var o=n(86369);function i(e){if(!r(e)&&"number"!=typeof e)return!1;const t=(0,o.a)(e);return!isNaN(Number(t))}},83744:function(e,t,n){"use strict";n.d(t,{UE:function(){return fe},ll:function(){return ue},rD:function(){return ve},UU:function(){return se},jD:function(){return de},ER:function(){return me},cY:function(){return ae},BN:function(){return le},Ej:function(){return ce}});const r=["top","right","bottom","left"],o=Math.min,i=Math.max,u=Math.round,a=Math.floor,l=e=>({x:e,y:e}
vendor: 4,352 bytes, line 1
1),s={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function d(e,t,n){return i(e,o(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function v(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(m(e))?"y":"x"}function y(e){return p(g(e))}function E(e){return e.replace(/start|end/g,(e=>c[e]))}function b(e){return e.replace(/left|right|bottom|top/g,(e=>s[e]))}function w(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function M(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function x(e,t,n){let{reference:r,floating:o}=e;const i=g(t),u=y(t),a=h(u),l=m(t),s="y"===i,c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:c,y:r.y-o.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(v(t)){case"start":p[u]-=f*(n&&s?-1:1);break;case"end":p[u]+=f*(n&&s?-1:1)}return p}async function N(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:u,elements:a,strategy:l}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:m=!1,padding:v=0}=f(t,e),p=w(v),h=a[m?"floating"===d?"reference":"floating":d],g=M(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:l})),y="floating"===d?{x:r,y:o,width:u.floating.width,height:u.floating.height}:u.reference,E=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(E))&&await(null==i.getScale?void 0:i.getScale(E))||{x:1,y:1},x=M(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:E,strategy:l}):y);return{top:(g.top-x.top+p.top)/b.y,bottom:(x.bottom-g.bottom+p.bottom)/b.y,left:(g.left-x.left+p.left)/b.x,right:(x.right-g.right+p.right)/b.x}}function I(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S(e){return r.some((t=>e[t]>=0))}function k(e){return D(e)?(e.nodeName||"").toLowerCase():"#document"}function O(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function A(e){var t;return null==(t=(D(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function D(e){return e instanceof Node||e instanceof O(e).Node}function j(e){return e instanceof Element||e instanceof O(e).Element}function T(e){return e instanceof HTMLElement||e instanceof O(e).HTMLElement}function C(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof O(e).ShadowRoot)}function z(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function L(e){return["table","td","th"].includes(k(e))}function P(e){const t=R(),n=Q(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function R(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function B(e){return["html","body","#document"].includes(k(e))}function Q(e){return O(e).getComputedStyle(e)}function U(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Y(e){if("html"===k(e))return e;const t=e.assignedSlot||e.parentNode||C(e)&&e.host||A(e);return C(t)?t.host:t}function F(e){const t=Y(e);return B(t)?e.ownerDocument?e.ownerDocument.body:e.body:T(t)&&z(t)?t:F(t)}function W(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=F(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),u=O(o);
vendor: 6,003 bytes, line 1
1return i?t.concat(u,u.visualViewport||[],z(o)?o:[],u.frameElement&&n?W(u.frameElement):[]):t.concat(o,W(o,[],n))}function q(e){const t=Q(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=T(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=u(n)!==i||u(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function H(e){return j(e)?e:e.contextElement}function G(e){const t=H(e);if(!T(t))return l(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=q(t);let a=(i?u(n.width):n.width)/r,s=(i?u(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const V=l(0);function _(e){const t=O(e);return R()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:V}function K(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=H(e);let u=l(1);t&&(r?j(r)&&(u=G(r)):u=G(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==O(e))&&t}(i,n,r)?_(i):l(0);let s=(o.left+a.x)/u.x,c=(o.top+a.y)/u.y,d=o.width/u.x,f=o.height/u.y;if(i){const e=O(i),t=r&&j(r)?O(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=G(o),t=o.getBoundingClientRect(),r=Q(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,u=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,d*=e.x,f*=e.y,s+=i,c+=u,n=O(o),o=n.frameElement}}return M({width:d,height:f,x:s,y:c})}const J=[":popover-open",":modal"];function Z(e){return J.some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function $(e){return K(A(e)).left+U(e).scrollLeft}function X(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=O(e),r=A(e),o=n.visualViewport;let i=r.clientWidth,u=r.clientHeight,a=0,l=0;if(o){i=o.width,u=o.height;const e=R();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:u,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=A(e),n=U(e),r=e.ownerDocument.body,o=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),u=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+$(e);const l=-n.scrollTop;return"rtl"===Q(r).direction&&(a+=i(t.clientWidth,r.clientWidth)-o),{width:o,height:u,x:a,y:l}}(A(e));else if(j(t))r=function(e,t){const n=K(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=T(e)?G(e):l(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=_(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return M(r)}function ee(e,t){const n=Y(e);return!(n===t||!j(n)||B(n))&&("fixed"===Q(n).position||ee(n,t))}function te(e,t,n){const r=T(t),o=A(t),i="fixed"===n,u=K(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const s=l(0);if(r||!r&&!i)if(("body"!==k(t)||z(o))&&(a=U(t)),r){const e=K(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=$(o));return{x:u.left+a.scrollLeft-s.x,y:u.top+a.scrollTop-s.y,width:u.width,height:u.height}}function ne(e){return"static"===Q(e).position}function re(e,t){return T(e)&&"fixed"!==Q(e).position?t?t(e):e.offsetParent:null}function oe(e,t){const n=O(e);if(Z(e))return n;if(!T(e)){let t=Y(e);for(;t&&!B(t);){if(j(t)&&!ne(t))return t;t=Y(t)}return n}let r=re(e,t);for(;r&&L(r)&&ne(r);)r=re(r,t);return r&&B(r)&&ne(r)&&!P(r)?n:r||function(e){let t=Y(e);for(;T(t)&&!B(t);){if(P(t))return t;t=Y(t)}return null}(e)||n}const ie={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,u=A(r),a=!!t&&Z(t.floating);if(r===u||a&&i)return n;let s={scrollLeft:0,scrollTop:0},c=l(1);const d=l(0),f=T(r);if((f||!f&&!i)&&(("body"!==k(r)||z(u))&&(s=U(r)),T(r))){const e=K(r);c=G(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+d.x,y:n.y*c.y-s.scrollTop*c.y+d.y}},getDocumentElement:A,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:u}=e;const a=[..."clippingAncestors"===n?Z(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=W(e,[],!1).filter((e=>j(e)&&"body"!==k(e))),o=null;const i="fixed"===Q(e).position;let u=i?Y(e):e;for(;j(u)&&!B(u);){const t=Q(u),n=P(u);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||z(u)&&!n&&ee(e,u))?r=r.filter((e=>e!==u)):o=t,u=Y(u)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=a[0],s=a.reduce(((e,n)=>{const r=X(t,n,u);return e.top=i(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=i(r.left,e.left),e}),X(t,l,u));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:oe,getElementRects:async function(e){const t=this.getOffsetParent||oe,n=this.getDimensions,r=await n(e.floating);return{reference:te(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=q(e);return{width:t,height:n}},getScale:G,isElement:j,isRTL:function(e){return"rtl"===Q(e).direction}};function ue(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:u=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,f=H(e),m=u||l?[...f?W(f):[],...W(t)]:[];m.forEach((e=>{u&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)}));const v=f&&c?function(e,t){let n,r=null;const u=A(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();const{left:f,top:m,width:v,height:p}=e.getBoundingClientRect();if(c||t(),!v||!p)return;const h={rootMargin:-a(m)+"px "+-a(u.clientWidth-(f+v))+"px "+-a(u.clientHeight-(m+p))+"px "+-a(f)+"px",threshold:i(0,o(1,d))||1};let g=!0;function y(e){const t=e[0].intersectionRatio;if(t!==d){if(!g)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}g=!1}try{r=new IntersectionObserver(y,{...h,root:u.ownerDocument})}catch(E){r=new IntersectionObserver(y,h)}r.observe(e)}(!0),l}
vendor: 6,116 bytes, line 1
1(f,n):null;let p,h=-1,g=null;s&&(g=new ResizeObserver((e=>{let[r]=e;r&&r.target===f&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),n()})),f&&!d&&g.observe(f),g.observe(t));let y=d?K(e):null;return d&&function t(){const r=K(e);!y||r.x===y.x&&r.y===y.y&&r.width===y.width&&r.height===y.height||n();y=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach((e=>{u&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)})),null==v||v(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(p)}}const ae=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:u,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),u=m(n),a=v(n),l="y"===g(n),s=["left","top"].includes(u)?-1:1,c=i&&l?-1:1,d=f(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&"number"==typeof y&&(h="end"===a?-1*y:y),l?{x:h*c,y:p*s}:{x:p*s,y:h*c}}(t,e);return u===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:u}}}}},le=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:u=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=f(e,t),s={x:n,y:r},c=await N(t,l),v=g(m(o)),h=p(v);let y=s[h],E=s[v];if(i){const e="y"===h?"bottom":"right";y=d(y+c["y"===h?"top":"left"],y,y-c[e])}if(u){const e="y"===v?"bottom":"right";E=d(E+c["y"===v?"top":"left"],E,E-c[e])}const b=a.fn({...t,[h]:y,[v]:E});return{...b,data:{x:b.x-n,y:b.y-r}}}}},se=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:u,initialPlacement:a,platform:l,elements:s}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:M=!0,...x}=f(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const I=m(o),S=m(a)===a,k=await(null==l.isRTL?void 0:l.isRTL(s.floating)),O=p||(S||!M?[b(a)]:function(e){const t=b(e);return[E(e),t,E(t)]}(a));p||"none"===w||O.push(...function(e,t,n,r){const o=v(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],u=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:u;default:return[]}}(m(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(E)))),i}(a,M,w,k));const A=[a,...O],D=await N(t,x),j=[];let T=(null==(r=i.flip)?void 0:r.overflows)||[];if(c&&j.push(D[I]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=v(e),o=y(e),i=h(o);let u="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(u=b(u)),[u,b(u)]}(o,u,k);j.push(D[e[0]],D[e[1]])}if(T=[...T,{placement:o,overflows:j}],!j.every((e=>e<=0))){var C,z;const e=((null==(C=i.flip)?void 0:C.index)||0)+1,t=A[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(z=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:z.placement;if(!n)switch(g){case"bestFit":{var L;const e=null==(L=T.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:L[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},ce=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:u,elements:a}=t,{apply:l=()=>{},...s}=f(e,t),c=await N(t,s),d=m(n),p=v(n),h="y"===g(n),{width:y,height:E}=r.floating;let b,w;"top"===d||"bottom"===d?(b=d,w=p===(await(null==u.isRTL?void 0:u.isRTL(a.floating))?"start":"end")?"left":"right"):(w=d,b="end"===p?"top":"bottom");const M=E-c.top-c.bottom,x=y-c.left-c.right,I=o(E-c[b],M),S=o(y-c[w],x),k=!t.middlewareData.shift;let O=I,A=S;if(h?A=p||k?o(S,x):x:O=p||k?o(I,M):M,k&&!p){const e=i(c.left,0),t=i(c.right,0),n=i(c.top,0),r=i(c.bottom,0);h?A=y-2*(0!==e||0!==t?e+t:i(c.left,c.right)):O=E-2*(0!==n||0!==r?n+r:i(c.top,c.bottom))}await l({...t,availableWidth:A,availableHeight:O});const D=await u.getDimensions(a.floating);return y!==D.width||E!==D.height?{reset:{rects:!0}}:{}}}},de=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=f(e,t);switch(r){case"referenceHidden":{const e=I(await N(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:S(e)}}}case"escaped":{const e=I(await N(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:S(e)}}}default:return{}}}}},fe=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:u,platform:a,elements:l,middlewareData:s}=t,{element:c,padding:m=0}=f(e,t)||{};if(null==c)return{};const p=w(m),g={x:n,y:r},E=y(i),b=h(E),M=await a.getDimensions(c),x="y"===E,N=x?"top":"left",I=x?"bottom":"right",S=x?"clientHeight":"clientWidth",k=u.reference[b]+u.reference[E]-g[E]-u.floating[b],O=g[E]-u.reference[E],A=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let D=A?A[S]:0;D&&await(null==a.isElement?void 0:a.isElement(A))||(D=l.floating[S]||u.floating[b]);const j=k/2-O/2,T=D/2-M[b]/2-1,C=o(p[N],T),z=o(p[I],T),L=C,P=D-M[b]-z,R=D/2-M[b]/2+j,B=d(L,R,P),Q=!s.arrow&&null!=v(i)&&R!==B&&u.reference[b]/2-(R<L?C:z)-M[b]/2<0,U=Q?R<L?R-L:R-P:0;return{[E]:g[E]+U,data:{[E]:B,centerOffset:R-B-U,...Q&&{alignmentOffset:U}},reset:Q}}}),me=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:u}=t,{offset:a=0,mainAxis:l=!0,crossAxis:s=!0}=f(e,t),c={x:n,y:r},d=g(o),v=p(d);let h=c[v],y=c[d];const E=f(a,t),b="number"==typeof E?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(l){const e="y"===v?"height":"width",t=i.reference[v]-i.floating[e]+b.mainAxis,n=i.reference[v]+i.reference[e]-b.mainAxis;h<t?h=t:h>n&&(h=n)}if(s){var w,M;
vendor: 4,794 bytes, line 1
1const e="y"===v?"width":"height",t=["top","left"].includes(m(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(w=u.offset)?void 0:w[d])||0)+(t?0:b.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(M=u.offset)?void 0:M[d])||0)-(t?b.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[v]:h,[d]:y}}}},ve=(e,t,n)=>{const r=new Map,o={platform:ie,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:u}=n,a=i.filter(Boolean),l=await(null==u.isRTL?void 0:u.isRTL(t));let s=await u.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=x(s,r,l),f=r,m={},v=0;for(let p=0;p<a.length;p++){const{name:n,fn:i}=a[p],{x:h,y:g,data:y,reset:E}=await i({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:m,rects:s,platform:u,elements:{reference:e,floating:t}});c=null!=h?h:c,d=null!=g?g:d,m={...m,[n]:{...m[n],...y}},E&&v<=50&&(v++,"object"==typeof E&&(E.placement&&(f=E.placement),E.rects&&(s=!0===E.rects?await u.getElementRects({reference:e,floating:t,strategy:o}):E.rects),({x:c,y:d}=x(s,f,l))),p=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:m}})(e,t,{...o,platform:i})}},85173:function(e,t,n){"use strict";n.d(t,{c:function(){return c}});const r={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"}};var o=n(39849);const i={date:(0,o.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,o.k)({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:(0,o.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var a=n(17383);const l={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,a.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,a.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,a.o)({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:(0,a.o)({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:(0,a.o)({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"})};var s=n(32597);const c={code:"en-US",formatDistance:(e,t,n)=>{let o;const i=r[e];
1return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:i,formatRelative:(e,t,n,r)=>u[e],localize:l,match:{ordinalNumber:(0,n(47481).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,s.A)({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:(0,s.A)({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:e=>e+1}),month:(0,s.A)({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:(0,s.A)({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:(0,s.A)({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}}},86029:function(e,t,n){"use strict";n.d(t,{N:function(){return u}});var r=n(25167),o=n(60223),i=n(9615);function u(){let{popover:e,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(0,o.od)(t.store,(0,o.cJ)(e,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement","unstable_placing"]));(0,o.UE)(t,n);const u=null==n?void 0:n.getState(),a=(0,r.Y)({...t,store:n}),l=(0,i.Jh)(t.placement,null==u?void 0:u.placement,"bottom"),s={...a.getState(),placement:l,currentPlacement:l,anchorElement:(0,i.Jh)(null==u?void 0:u.anchorElement,null),popoverElement:(0,i.Jh)(null==u?void 0:u.popoverElement,null),arrowElement:(0,i.Jh)(null==u?void 0:u.arrowElement,null),rendered:Symbol("rendered"),unstable_placing:!1},c=(0,o.y$)(s,a,n);let d=s.anchorElement===s.disclosureElement?s.anchorElement:null;return(0,o.mj)(c,(()=>(0,o.OH)(c,["anchorElement","disclosureElement"],(e=>{e.anchorElement&&e.anchorElement!==d?d=null:(d=e.disclosureElement,c.setState("anchorElement",d))})))),{...a,...c,setAnchorElement:e=>c.setState("anchorElement",e),setPopoverElement:e=>c.setState("popoverElement",e),setArrowElement:e=>c.setState("arrowElement",e),render:()=>c.setState("rendered",Symbol("rendered"))}}},86369:function(e,t,n){"use strict";function r(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}n.d(t,{a:function(){return r}})},89708:function(e){e.exports={version:"0.25.0"}},90033:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var r=n(86369);function o(e){const t=(0,r.a)(e);return t.setHours(0,0,0,0),t}},90322:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});n(47010);var r=n(14041);const o="undefined"==typeof window;function i(e,t){const[n,i,u]=(0,r.useMemo)((()=>{const n=o?null:window.matchMedia(e);return[function(e){return o||null==n||n.addEventListener("change",e),()=>{o||null==n||n.removeEventListener("change",e)}},function(){return o?t:null==n?void 0:n.matches},()=>t]}),[e,t]);return(0,r.useSyncExternalStore)(n,i,u)}},91605:function(e,t,n){"use strict";var r=n(98903);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},95642:function(e,t,n){"use strict";n.d(t,{J:function(){return M}});var r=n(14041),o=n(38919),i=n(46439),u=n(23857),a=n(20364),l=n(50991),s=n(46837),c=n(27064),d=n(29049),f=n(22328),m="Subscribe-module--formPart--246fa",v="Subscribe-module--imageBlock--f6fd7",p="Subscribe-module--leftPart--c6952",h="Subscribe-module--logoBlock--fac14",g="Subscribe-module--mainPart--db699",y="Subscribe-module--rightContentBlock--f20a7",E="Subscribe-module--rightPart--4d8f0",b="Subscribe-module--rightUnderPart--557c4",w="Subscribe-module--submittedText--d1cef";function M(){const{email:e,setEmail:t,emailError:n,formStatus:M,submit:x,setAgreePolicy:N,agreePolicy:I,agreePolicyError:S}=(0,o.O)({onSubmit:()=>{c.A.logEvent({name:"custom_subscribe_email_static"}),N(!1),d.A.setUser({email:e})},options:{static:!0}});return r.createElement(a.Z,null,r.createElement("div",{className:g},r.createElement("div",{className:p},r.createElement("div",{className:v},r.createElement("img",{src:l.A,alt:"subscribePhoto"}))),r.createElement("div",{className:E},r.createElement("div",{className:y},r.createElement("div",{className:h},r.createElement("img",{src:u.A,alt:"logo"})),r.createElement("div",{className:b},"submitted"===M?r.createElement("div",{className:w},r.createElement(i.fz,{size:"large"},"Готово! Спасибо за подписку!"),r.createElement(i.fz,{size:"large"},"Письмо с подтверждением уже у вас на почте. Загляните в «Спам», если письмо не приходит.")):r.createElement(r.Fragment,null,r.createElement(i.fz,{size:"large"},"Подпишитесь на нашу рассылку. ",r.createElement("br",null)," Только важное, никакого спама. ",r.createElement("br",null)," Бон
1ус за подписку: гайд с идеями для фотокниг"),r.createElement("form",{className:m,onSubmit:x},r.createElement(i.zB,{name:"email",error:void 0===n?"":n},r.createElement(i.A_,{name:"email",variant:"white",value:e,onChange:t,placeholder:"E-mail"})),r.createElement(i.K$,{variant:"primary",type:"submit",size:"large",loading:"submitting"===M},"Хочу получать письма"),!e||S&&!I&&r.createElement(i.Mo,null,S),r.createElement(s.OI,{size:"medium",label:r.createElement(f.I,null),checked:I,onChange:N}))))))))}},96745:function(e,t,n){"use strict";var r=n(98903),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,u={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(u[t]&&o.indexOf(t)>=0)return;u[t]="set-cookie"===t?(u[t]?u[t]:[]).concat([n]):u[t]?u[t]+", "+n:n}})),u):u}},97304:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});const r=(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"})}},o=(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"})}},i={p:o,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],i=n[1],u=n[2];if(!u)return r(e,t);let a;switch(i){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",r(i,t)).replace("{{time}}",o(u,t))}}},97676:function(e,t,n){"use strict";var r=n(98903),o=n(11657),i=n(21558),u=n(64714);var a=function e(t){var n=new i(t),a=o(i.prototype.request,n);return r.extend(a,i.prototype,n),r.extend(a,n),a.create=function(n){return e(u(t,n))},a}(n(20634));a.Axios=i,a.Cancel=n(6271),a.CancelToken=n(73582),a.isCancel=n(18563),a.VERSION=n(89708).version,a.all=function(e){return Promise.all(e)},a.spread=n(11561),a.isAxiosError=n(27622),e.exports=a,e.exports.default=a},97741:function(e,t,n){"use strict";n.d(t,{Ay:function(){return s},CE:function(){return f},Hf:function(){return a},Hh:function(){return p},Hu:function(){return h},Ky:function(){return m},L7:function(){return v},PV:function(){return d},UW:function(){return c}});var r=n(60089),o=n(24409),i=n(7285),u=n(14041);const a=(0,u.createContext)(void 0),l=(0,i.B0)([r.wf,o.ws],[r.s1,o.aN]),s=l.useContext,c=l.useScopedContext,d=l.useProviderContext,f=l.ContextProvider,m=l.ScopedContextProvider,v=(0,u.createContext)(void 0),p=(0,u.createContext)(!1),h=(0,u.createContext)(null)},98109:function(e,t,n){"use strict";n.d(t,{R:function(){return c}});var r=n(14041),o=n(27064),i=n(46439),u=n(41965),a=n(47446),l="HelpMenuButton-module--helpButton--92e37",s="HelpMenuButton-module--topRight--de29d";function c(){const{load:e,open:t,error:n,isReady:c,messageCount:d}=(0,a.n)();return r.createElement(u.Kq,{placement:"top-end",setOpen:t=>{t&&(e(),o.A.logEvent({name:"event_site_help_center"}))}},r.createElement(u.l9,{render:r.createElement(i.mF,{loading:!c,className:l})},0!==d?r.createElement(i.H2,{variant:"critical",className:s}):null),r.createElement(u.lF,{style:{zIndex:"9999"}},!n&&r.createElement(u.q7,{onClick:()=>{t(),o.A.logEvent({name:"event_site_support_chat_open"})},addition:0!==d&&r.createElement(i.ph,{variant:"critical",value:d})},"Чат с поддержкой"),r.createElement(u.Gr,{href:"https://telegram.me/periodicasupport_bot?start=site_support_widget",onClick:()=>o.A.logEvent({name:" event_site_tg_chat_open"})},"Telegram"),r.createElement(u.Gr,{href:"https://max.ru/id7743125098_bot",onClick:()=>o.A.logEvent({name:"event_site_max_chat_open"})},"Max"),r.createElement(u.cG,null),r.createElement(u.Gr,{href:"https://periodica.press/faq/",onClick:()=>o.A.logEvent({name:"event_site_docs-search_click"})},"Частые вопросы")))}},98903:function(e,t,n){"use strict";var r=n(11657),o=Object.prototype.toString;function i(e){return Array.isArray(e)}function u(e){return void 0===e}function a(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function d(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:a,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&a(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:s,isUndefined:u,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return l(e)&&c(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}
vendor: 490 bytes, lines 1-2
1,forEach:d,merge:function e(){var t={};function n(n,r){s(t[r])&&s(n)?t[r]=e(t[r],n):s(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)d(arguments[r],n);return t},extend:function(e,t,n){return d(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}}}]);
2//# sourceMappingURL=commons-bb9981d95f511a34a5be.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.