1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7123],{81390:function(t,e,n){"use strict";n.d(e,{Z:function(){return it}});var r=n(59499),o=n(67294),i=n(94184),u=n.n(i),s=n(73935),a=n(54490),l=n(86896),c=n(13311),d=n.n(c),f=n(27361),p=n.n(f),v=n(12160),h=n(89498),m=n(58990),b=n(82459),g=n(55813),x=n(70642),y=n(85893),w=function(t){var e=t.html;return(0,y.jsx)(h.W2,{dangerouslySetInnerHTML:{__html:e}})},j=n(98757),O=n(74449),_=n(95481),k=n(78961),E=n(78622),P=n(49026),C=n(87379),Z=n(48846),S=n(78192),D=n(44012),M=n(7469),A=n(46092),T=n(99153);function z(t){var e=(0,T.f)(t),n=e?t[e]:t;return{starts:p()(n,"startsAt")||p()(n,"starts_at")||t.startsAt||t.starts_at||null,ends:p()(n,"endsAt")||p()(n,"ends_at")||t.endsAt||t.ends_at||null,openCall:p()(n,"openCall")||p()(n,"open_call")||t.openCall||t.open_call||!1}}function N(t,e){var n=z(t),r=n.starts,o=n.ends;if(n.openCall)return null==o?"today":v.Z.unix(o).isBefore(e,"day")?"past":"today";if(null==r&&null==o)return"today";var i=null!=o?o:r;return v.Z.unix(i).isBefore(e,"day")?"past":null!=r&&v.Z.unix(r).isAfter(e,"day")?"future":"today"}function L(t,e,n){var r=null==t||""===t?null:Number(t),o=null==e||""===e?null:Number(e),i=Number.isFinite(r),u=Number.isFinite(o);return i&&u?n*(r-o):i===u?0:i?-1:1}function W(t){return t.future.sort((function(t,e){return L(z(t).starts,z(e).starts,1)})),t.today.sort((function(t,e){return L(z(t).starts,z(e).starts,-1)})),t.past.sort((function(t,e){var n=z(t),r=n.starts,o=n.ends,i=z(e),u=i.starts;return L(o||r,i.ends||u,-1)})),t}function B(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function R(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?B(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var U=["today","future","past"],H=(0,a.vU)({events:{id:"components.RelatedSections.events",defaultMessage:"{scope, select, future {\u0411\u0443\u0434\u0443\u0449\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f} today {\u0422\u0435\u043a\u0443\u0449\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f} past {\u041f\u0440\u043e\u0448\u0435\u0434\u0448\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f} other {}}"}});function I(){var t=(0,o.useState)(0),e=t[0],n=t[1];return(0,o.useEffect)((function(){var t=function(){return n((0,A.M)(h.AV.up("lg"))?4:(0,A.M)(h.AV.up("md"))?3:(0,A.M)(h.AV.up("sm"))?2:1)};return t(),window.addEventListener("resize",t),window.addEventListener("orientationchange",t),function(){window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}}),[]),e}var F=function(){return{today:1,future:1,past:1}};var q=function(t){var e=t.items,n=(0,o.useMemo)((function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,v.Z)(),n={future:[],today:[],past:[]};return(t||[]).forEach((function(t){n[N(t,e)].push(t)})),W(n)}(e)}),[e]),i=I(),u=(0,o.useState)(F),s=u[0],a=u[1];(0,o.useEffect)((function(){a({today:1,future:1,past:1})}),[e]);var l=function(t){return function(){return a((function(e){return R(R({},e),{},(0,r.Z)({},t,e[t]+1))}))}};return U.map((function(t){var e=n[t];if(!e||0===e.length)return null;var r=function(t,e,n){return 0===e?n:1===e?1+3*(t-1):t*e}(s[t],i,e.length),o=e.slice(0,r),u=r>=e.length;return(0,y.jsx)(M.Z,{title:(0,y.jsx)(D.Z,R({values:{scope:t}},H.events)),titleSize:"small",onLoadMore:u?void 0:l(t),loading:!1,children:(0,y.jsx)(Z.Z,{cards:o,component:S.Z,withTicketLinks:!0})},t)}))};function V(t,e,n){var r=function(t){return p()(t,"attributes",t)}(t);return p()(r,e)||p()(r,n)}function K(t){var e=Number(t);return Number.isFinite(e)?e:1/0}function Y(t,e,n){var r=e||t;return!r||v.Z.unix(r).isBefore(n,"day")?"past":t&&v.Z.unix(t).isAfter(n,"day")?"future":"today"}function G(t,e){var n={today:0,future:1},r=n[t.scope]-n[e.scope];if(0!==r)return r;var o="today"===t.scope?t.ends||t.starts:t.starts||t.ends,i="today"===e.scope?e.ends||e.starts:e.starts||e.ends;return K(o)-K(i)}function J(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?J(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var X=(0,a.vU)({related:{id:"components.Related.related",defaultMessage:"\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u0430\u043a\u0436\u0435"}}),$=function(t){var e=t.title,n=t.items,r=t.grouped,i=(0,l.Z)(),u=(0,o.useMemo)((function(){return n?n.map((function(t){var e=function(t){return t.target||t}(t),n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,v.Z)(),n=(t||[]).map((function(t){var n=V(t,"startsAt","starts_at"),r=V(t,"endsAt","ends_at"),o=Y(n,r,e);return"past"===o?null:{scope:o,starts:n,ends:r,buttonUrl:V(t,"buttonUrl","button_url")||V(t,"ticketLink","ticket_link"),buttonText:V(t,"buttonText","button_text")||V(t,"ticketText","ticket_text")}})).filter(Boolean).sort(G)[0];return n&&n.buttonUrl?{buttonUrl:n.buttonUrl,buttonText:n.buttonText}:null}(t.time_ranges||e.time_ranges||e.timeRanges);return n?Q(Q({},e),n):e})):[]}),[n]);return 0===u.length?null:(0,y.jsxs)(tt,{children:[(0,y.jsx)(et,{children:e||i.formatMessage(X.related).toUpperCase()}),r?(0,y.jsx)(q,{items:u}):(0,y.jsx)(Z.Z,{cards:u,component:S.Z,withTicketLinks:!0})]})},tt=C.ZP.section.withConfig({componentId:"sc-18coj0w-0"})(["padding-bottom:80px;","{padding-bottom:120px;}","{padding-bottom:150px;}"],(function(t){return t.theme.breakpoints.up("sm")}),(function(t){return t.theme.breakpoints.up("xl")})),et=C.ZP.h3.withConfig({componentId:"sc-18coj0w-1"})(["margin-bottom:32px;letter-spacing:-0.02em;text-transform:uppercase;border-top:1px solid ",";font-size:25.75px;font-weight:500;line-height:30px;","{font-size:30px;line-height:35px;}","{font-size:35.75px;line-height:40px;}","{margin-bottom:41px;font-size:45.75px;line-height:50px;}","{margin-bottom:49px;padding-top:5px;letter-spacing:-0.025em;font-size:55.75px;line-height:60px;}"],(function(t){return t.theme.colors.primary}),(function(t){return t.theme.breakpoints.up("sm")}),(function(t){return t.theme.breakpoints.up("md")}),(function(t){return t.theme.breakpoints.up("lg")}),(function(t){return t.theme.breakpoints.up("xl")}));function nt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ot=(0,a.vU)({sponsors:{id:"components.EventContentBlocks.sponsors",defaultMessage:"\u0421\u043f\u043e\u043d\u0441\u043e\u0440\u044b"},authors:{id:"components.EventContentBlocks.authors",defaultMessage:"\u0410\u0432\u0442\u043e\u0440\u044b"}}),it=function(t){var e=t.model,n=t.relatedTitle,r=(0,l.Z)();(0,o.useEffect)((function(){var t=document.querySelectorAll(".text__dictionary-link-arrow");if(t&&0!==t.length)return t.forEach((function(t){(0,s.hydrate)((0,y.jsx)(h.LD,{children:(0,y.jsx)(m.Z,{hoverComponent:".text__dictionary-link"})}),t)})),function(){t.forEach((function(t){(0,s.unmountComponentAtNode)(t)}))}}),[]),(0,o.useEffect)((function(){var t=document.querySelectorAll("[data-date-hide]");t&&0!==t.length&&t.forEach((function(t){var e=t.getAttribute("data-date-hide");if(e){var n=(0,v.Z)(e,"YYYY-MM-DD HH:mm",!0);n.isValid()&&n.isBefore((0,v.Z)())&&(t.style.display="none")}}))}),[]);var i=function(t){function n(t){return t&&t.length>0?(t.sort((function(t,e){return t.attributes.priority-e.attributes.priority})),t.map((function(t){return{url:p()(t,"attributes.file.large.url"),description:p()(t,"attributes.description")}}))):null}var r=n(p()(t,"images")),o=n(p()(e,"gallery.images"));return r||o?(0,y.jsx)(b.Z,{images:r,report:o}):null},a=function(t){if(e.event_sponsor_groups&&e.event_sponsor_groups.length>0){var n=Array.from(e.event_sponsor_groups).sort((function(t,e){return t.attributes.priority-e.attributes.priority})).map((function(t){var e=t.attributes,n=Array.from(t.sponsors||[]).sort((function(t,e){return t.attributes.priority-e.attributes.priority}));return{title:e.title,items:n.map((function(t){var e,n=t.attributes;return{title:n.title,image:null===(e=n.image)||void 0===e?void 0:e.url,url:n.url}}))}}));return(0,y.jsx)(k.Z,{title:t||r.formatMessage(ot.sponsors),sponsors:n})}return null},c=function(){if(e.souvenir_collection||e.souvenirs){var t,n,r,o,i,u,s,a=null===(t=e.souvenirs)||void 0===t?void 0:t.map((function(t){return rt(rt({},t.attributes),{},{id:t.id})})),l={souvenirs:null===(n=e.souvenir_collection)||void 0===n||null===(r=n.souvenirs)||void 0===r?void 0:r.map((function(t){return rt(rt({},t.attributes),{},{id:t.id})}))};return(0,y.jsx)(_.Z,{souvenirs:a,souvenirCollection:l,title:null===(o=e.souvenir_collection)||void 0===o||null===(i=o.attributes)||void 0===i?void 0:i.title,shopUrl:null===(u=e.souvenir_collection)||void 0===u||null===(s=u.attributes)||void 0===s?void 0:s.url})}return null},f=function(t,o){var s,l,d;switch(t.attributes.kind){case"text":var f;if(t.attributes.content)if(-1!==(null===(f=t.attributes.content)||void 0===f?void 0:f.indexOf("{{openStorageUpdates"))){var p,v=null===(p=t.attributes.content)||void 0===p?void 0:p.match(/kickerText:\s*'([^']+)'/),m=v?v[1]:void 0;return(0,y.jsx)(h.W2,{children:(0,y.jsx)(j.Z,{additionalParams:{kickerText:m}})})}var b="string"===typeof t.attributes.content?t.attributes.content.replace(/\r?\n|\r/g,""):t.attributes.content;if(!b)return;if(-1!==b.indexOf("ex-text__video"))return(0,y.jsx)(w,{html:b,className:"ex-text"});var _=null;
1return-1!==b.indexOf("ex-text__cutted")&&((_=b.split('<div class="ex-text__cutted">'))[1]='<div class="ex-text__cutted">'.concat(_[1])),_?(0,y.jsxs)(h.W2,{className:u()("ex-text ex-text__section-cutted ex-text--cutted",{"is-first-section":0===o}),children:[(0,y.jsx)(g.Z,{html:_[0]}),(0,y.jsx)(x.ZP,{html:_[1],intl:r,withGrid:!0})]}):(0,y.jsx)(h.W2,{className:u()({"is-first-section":0===o}),children:(0,y.jsx)(g.Z,{className:"text",html:b})});case"menu_anchor":return(0,y.jsx)("div",{id:"anchor-".concat(t.id)});case"gallery":return(0,y.jsx)(h.W2,{id:"anchor-gallery",children:i(t)});case"related":return(0,y.jsx)(h.W2,{children:(0,y.jsx)($,{items:e.related,title:(null===t||void 0===t||null===(s=t.attributes)||void 0===s?void 0:s.title)||n,grouped:null===t||void 0===t||null===(l=t.attributes)||void 0===l?void 0:l.group_by_date})});case"sponsors":return(0,y.jsx)(h.W2,{children:a(null===t||void 0===t||null===(d=t.attributes)||void 0===d?void 0:d.title)});case"public_program_block":return(0,y.jsx)(h.W2,{children:(0,y.jsx)(P.Z,{model:e,useTabs:!0})});case"event_authors":var k,C,Z=((null===t||void 0===t?void 0:t.event_authors)||[]).sort((function(t,e){return t.attributes.priority-e.attributes.priority})),S=null===Z||void 0===Z?void 0:Z.map((function(t){var e,n,r;return{photo:null===(e=t.attributes)||void 0===e||null===(n=e.image)||void 0===n?void 0:n.url,name:t.attributes.name,text:null===(r=t.attributes)||void 0===r?void 0:r.description}}));return(0,y.jsx)(h.W2,{children:(0,y.jsx)(O.Z,{title:(null===t||void 0===t||null===(k=t.attributes)||void 0===k?void 0:k.title)||r.formatMessage(ot.authors),headingLevel:(null===t||void 0===t||null===(C=t.attributes)||void 0===C?void 0:C.heading_level)||"h2",items:S})});case"souvenirs_block":return(0,y.jsx)(h.W2,{id:"anchor-souvenirs",children:c()});case"promo_block":var D=t.promo;if(null===D||void 0===D||!D.attributes)return null;
1var M=D.attributes,A={title:M.title,description:M.description,link:M.link,image:M.image,previewVideo:M.preview_video,previewVideoWebm:M.preview_video_webm,useWhiteText:M.use_white_text,bgColorAlpha:M.bg_color_alpha,bannerHeight:M.banner_height,featureImageDominantColor:M.feature_image_dominant_color};return(0,y.jsx)(E.PromoBlock,{model:A});default:return null}},C=Boolean(d()(e.contentBlocks,(function(t){return"public_program_block"===t.attributes.kind}))),Z=Boolean(d()(e.contentBlocks,(function(t){return"souvenirs_block"===t.attributes.kind})));return(0,y.jsxs)(y.Fragment,{children:[e.contentBlocks.map((function(t,e){var n,r;return t?(0,y.jsxs)(o.Fragment,{children:[(null===t||void 0===t||null===(n=t.attributes)||void 0===n?void 0:n.slug)&&(0,y.jsx)("div",{id:null===t||void 0===t||null===(r=t.attributes)||void 0===r?void 0:r.slug}),f(t,e)]},"section-".concat(e)):null})),!C&&(0,y.jsx)(h.W2,{children:(0,y.jsx)(P.Z,{model:e,useTabs:!0})}),!Z&&(0,y.jsx)(h.W2,{children:c()})]})}},60613:function(t,e,n){"use strict";var r=n(59499),o=(n(67294),n(54490)),i=n(44012),u=n(87379),s=n(24338),a=n(85893);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var d=(0,o.vU)({load_more:{id:"components.ShowMore.load_more",defaultMessage:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0435\u0449\u0435"},loading:{id:"components.ShowMore.loading",defaultMessage:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."}});e.ZP=function(t){var e=t.onLoadMore,n=t.loading,r=t.className;return e||n?(0,a.jsxs)(f,{className:r,children:[n&&(0,a.jsx)(v,{children:(0,a.jsx)(i.Z,c({},d.loading))}),e&&!n&&(0,a.jsx)(p,{icon:"arrow_down",onClick:e,children:(0,a.jsx)(i.Z,c({},d.load_more))})]}):null};var f=u.ZP.div.withConfig({componentId:"sc-1i6nrdh-0"})(["margin-top:46px;padding-top:29px;border-top:1px solid ",";","{margin-top:40px;padding-top:14px;}","{margin-top:60px;padding-top:14px;}","{margin-top:80px;}"],(function(t){return t.theme.colors.primary}),(function(t){return t.theme.breakpoints.up("sm")}),(function(t){return t.theme.breakpoints.up("lg")}),(function(t){return t.theme.breakpoints.up("xl")})),p=(0,u.ZP)(s.ZP).withConfig({componentId:"sc-1i6nrdh-1"})(["&&{width:100%;","{width:340px;}","{width:300px;}","{width:315px;}","{width:435px;}}"],(function(t){return t.theme.breakpoints.up("sm")}),(function(t){return t.theme.breakpoints.up("md")}),(function(t){return t.theme.breakpoints.up("lg")}),(function(t){return t.theme.breakpoints.up("xl")})),v=u.ZP.div.withConfig({componentId:"sc-1i6nrdh-2"})(["display:flex;align-items:center;height:40px;letter-spacing:-0.02em;font-size:20px;font-weight:normal;line-height:25px;","{font-size:25.75px;line-height:30px;}","{height:45px;font-size:35.75px;line-height:40px;}"],(function(t){return t.theme.breakpoints.up("md")}),(function(t){return t.theme.breakpoints.up("xl")}))},97217:function(t,e,n){"use strict";var r=n(59499),o=n(67294),i=n(23279),u=n.n(i);function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l={firstCall:!1,watchOnlyHorizontalChange:!1,deps:[]},c=0;e.Z=function(t,e){var n=a(a({},l),e),r=n.firstCall,i=n.watchOnlyHorizontalChange,s=n.deps,d=u()((function(){var e=window.innerWidth;if(i&&e===c)return;c=e,t()}),100);(0,o.useEffect)((function(){return r&&t(),window.addEventListener("resize",d),window.addEventListener("orientationchange",d),function(){window.removeEventListener("resize",d),window.removeEventListener("orientationchange",d)}}),s),t&&"function"===typeof t||console.error("[useHandleResize] Handler is missing or is not a function!!!")}},11730:function(t,e){"use strict";e.Z=function(t){if(!t)return!0;
1if(!t.attributes.content)return!0;return-1===["\u0410\u0431\u043e\u043d\u0435\u043c\u0435\u043d\u0442","\u0411\u0438\u043b\u0435\u0442\u044b","Tickets","mceNonEditable text__tickets"].indexOf(t.attributes.content)&&-1===t.attributes.content.indexOf("mceNonEditable text__tickets")}},75:function(t,e,n){var r=n(83454);(function(){var e,n,o,i,u,s;"undefined"!==typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!==typeof r&&null!==r&&r.hrtime?(t.exports=function(){return(e()-u)/1e6},n=r.hrtime,i=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})(),s=1e9*r.uptime(),u=i-s):Date.now?(t.exports=function(){return Date.now()-o},o=Date.now()):(t.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)},54087:function(t,e,n){for(var r=n(75),o="undefined"===typeof window?n.g:window,i=["moz","webkit"],u="AnimationFrame",s=o["request"+u],a=o["cancel"+u]||o["cancelRequest"+u],l=0;!s&&l<i.length;l++)s=o[i[l]+"Request"+u],a=o[i[l]+"Cancel"+u]||o[i[l]+"CancelRequest"+u];if(!s||!a){var c=0,d=0,f=[];s=function(t){if(0===f.length){var e=r(),n=Math.max(0,16.666666666666668-(e-c));c=n+e,setTimeout((function(){var t=f.slice(0);f.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(c)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return f.push({handle:++d,callback:t,cancelled:!1}),d},a=function(t){for(var e=0;e<f.length;e++)f[e].handle===t&&(f[e].cancelled=!0)}}t.exports=function(t){return s.call(o,t)},t.exports.cancel=function(){a.apply(o,arguments)},t.exports.polyfill=function(t){t||(t=o),t.requestAnimationFrame=s,t.cancelAnimationFrame=a}},20704:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var r=n(67294),o=n(73935),i=n(54087),u=n.n(i);var s=function(t,e){};function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a.apply(this,arguments)}function l(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}var c=function(){};function d(t){return null!=t&&t.current?t.current.scrollHeight:(s(!0,"useCollapse was not able to find a ref to the collapse element via `getCollapseProps`. Ensure that the element exposes its `ref` prop. If it exposes the ref prop under a different name (like `innerRef`), use the `refKey` property to change it. Example:\n\n{...getCollapseProps({refKey: 'innerRef'})}"),"auto")}var f=function(){var t=arguments;return function(){var e=arguments;return[].slice.call(t).forEach((function(t){return t&&t.apply(void 0,[].slice.call(e))}))}};function p(t,e){if(null!=t)if("function"==typeof t)t(e);else try{t.current=e}catch(n){throw new Error('Cannot assign value "'+e+'" to ref "'+t+'"')}}var v="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,h=!1,m=0,b=function(){return++m},g=["duration","easing","collapseStyles","expandStyles","onExpandStart","onExpandEnd","onCollapseStart","onCollapseEnd","isExpanded","defaultExpanded","hasDisabledAnimation"],x=["disabled","onClick"],y=["style","onTransitionEnd","refKey"];function w(t){var e,n=void 0===t?{}:t,i=n.duration,m=n.easing,w=void 0===m?"cubic-bezier(0.4, 0, 0.2, 1)":m,j=n.collapseStyles,O=void 0===j?{}:j,_=n.expandStyles,k=void 0===_?{}:_,E=n.onExpandStart,P=void 0===E?c:E,C=n.onExpandEnd,Z=void 0===C?c:C,S=n.onCollapseStart,D=void 0===S?c:S,M=n.onCollapseEnd,A=void 0===M?c:M,T=n.isExpanded,z=n.defaultExpanded,N=void 0!==z&&z,L=n.hasDisabledAnimation,W=void 0!==L&&L,B=l(n,g),R=function(t,e){var n=(0,r.useState)(e||!1),o=n[0],i=n[1],u=(0,r.useRef)(null!=t),a=u.current?t:o,l=(0,r.useCallback)((function(t){u.current||i(t)}),[]);return(0,r.useEffect)((function(){s(!(u.current&&null==t),"useCollapse is changing from controlled to uncontrolled. useCollapse should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled collapse for the lifetime of the component. Check the `isExpanded` prop."),s(!(!u.current&&null!=t),"useCollapse is changing from uncontrolled to controlled. useCollapse should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled collapse for the lifetime of the component. Check the `isExpanded` prop.")}),[t]),[a,l]}(T,N),U=R[0],H=R[1],I=function(t){var e=h?b():null,n=(0,r.useState)(e),o=n[0],i=n[1];return v((function(){null===o&&i(b())}),[]),(0,r.useEffect)((function(){!1===h&&(h=!0)}),[]),null!=o?String(o):void 0}(),F=(0,r.useRef)(null);e=F,(0,r.useEffect)((function(){}),[e]);var q,V,K,Y=(B.collapsedHeight||0)+"px",G={display:"0px"===Y?"none":"block",height:Y,overflow:"hidden"},J=(0,r.useState)(U?{}:G),Q=J[0],X=J[1],$=function(t){(0,o.flushSync)((function(){X(t)}))},tt=function(t){$((function(e){return a({},e,t)}))};function et(t){if(W)return{};var e=i||function(t){if(!t||"string"==typeof t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}(t);return{transition:"height "+e+"ms "+w}}q=function(){u()(U?function(){P(),tt(a({},k,{willChange:"height",display:"block",overflow:"hidden"}
1)),u()((function(){var t=d(F);tt(a({},et(t),{height:t}))}))}:function(){D();var t=d(F);tt(a({},O,et(t),{willChange:"height",height:t})),u()((function(){tt({height:Y,overflow:"hidden"})}))})},V=[U],K=(0,r.useRef)(!0),(0,r.useEffect)((function(){if(!K.current)return q();K.current=!1}),V);var nt=function(t){if(t.target===F.current&&"height"===t.propertyName)if(U){var e=d(F);e===Q.height?$({}):tt({height:e}),Z()}else Q.height===Y&&($(G),A())};return{getToggleProps:function(t){var e=void 0===t?{}:t,n=e.disabled,r=void 0!==n&&n,o=e.onClick,i=void 0===o?c:o,u=l(e,x);return a({type:"button",role:"button",id:"react-collapsed-toggle-"+I,"aria-controls":"react-collapsed-panel-"+I,"aria-expanded":U,tabIndex:0,disabled:r},u,{onClick:r?c:f(i,(function(){return H((function(t){return!t}))}))})},getCollapseProps:function(t){var e,n=void 0===t?{}:t,r=n.style,o=void 0===r?{}:r,i=n.onTransitionEnd,u=void 0===i?c:i,s=n.refKey,d=void 0===s?"ref":s,v=l(n,y);return a({id:"react-collapsed-panel-"+I,"aria-hidden":!U},v,((e={})[d]=function(){var t=[].slice.call(arguments);return t.every((function(t){return null==t}))?null:function(e){t.forEach((function(t){p(t,e)}))}}(F,v[d]),e.onTransitionEnd=f(nt,u),e.style=a({boxSizing:"border-box"},o,Q),e))},isExpanded:U,setExpanded:H}}}}]);
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.