<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[730],{29730:function(e,t,i){i.d(t,{q:function(){return $}});var n=i(52322),r=i(69089),a=i(35936),o=i(27149),s=i(5632),l=i(62381),d=i(2784),u=i(88702),h=i(23095),c=i(35664),m=i(79450),g=i(85837),p=i(55358),v=i(79696),f=i(73951),w=i(89269),y=i(18149),b=i.n(y),D=i(54945),_=i(95162),R=i(25237),C=i.n(R),P=i(70689),k=i.n(P),E=i(50176),U=i(12379),O=i(24761),T=i(22791),S=i(11064);let A=w.P[w.W],j=C()(()=&gt;Promise.all([i.e(774),i.e(164),i.e(182),i.e(494),i.e(152)]).then(i.t.bind(i,15152,23)).then(e=&gt;e.RecommendationDetailsCard),{loadableGenerated:{webpack:()=&gt;[15152]},ssr:!1}),x=e=&gt;{var t,i;let r,{recommendation:a,onClose:o}=e,[l,w]=(0,d.useState)(!1),[y,R]=(0,d.useState)([]),{safeName:C,trackEvent:P}=(0,T.Z)(),x=(0,O.ow)(),{likedRecos:$,destination:L,filters:N}=(0,m.CG)(e=&gt;({likedRecos:e.userContext.likedRecos,destination:e.destination,filters:e.filterContext})),M=!!$.find(e=&gt;e.id===a.id),I=new c.Z(L._id),{makeContextualHref:q}=(0,_.K)(),F=(0,u.I0)(),G=(0,s.useRouter)(),B=new c.Z(L._id);(0,f.useCustomEffect)(e=&gt;{let t={...e,userContext:{...e.userContext,likedRecos:[]}};B.getRelatedRecommendations(t).then(e=&gt;e.data).then(e=&gt;{R(e)}).catch(()=&gt;R([]))},[x],b());let{t:H,i18n:Z}=(0,D.$G)(),z=(0,m.CG)(e=&gt;e.destination.features.useUSFlag),K=null==Z?void 0:Z.language;r=K&amp;&amp;"en-GB"!==K?K:z?"en-US":"en-GB";let{token:Y,session:W}=(0,m.CG)(e=&gt;e.session);return a?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g.ShareModal,{cityName:L.name,clientHostname:L.features.clientHostname,recommendation:new v.RecommendationClass(a,r),tGet:H,logEventGA:()=&gt;{},url:(()=&gt;{let e;let t=window.location.href,i=new URL(t);return"strangnas.cruncho.co"===i.hostname?(i.hostname="www.strangnas.se",i.port="",i.pathname="/evenemang".concat(i.pathname),e=i.href.replace("/evenemang","/evenemang#")):e=t,e})(),open:l,onClose:()=&gt;w(!1)}),(0,n.jsx)(j,{isAdmin:(null==W?void 0:W.adminGroup)&amp;&amp;(W.adminGroup.superAdmin||W.adminGroup.authorizedDestinations.includes(L._id)),city:L,envConfig:A,activeSelections:N.fromDate&amp;&amp;N.toDate?{fromDate:new Date(null!==(t=N.fromDate)&amp;&amp;void 0!==t?t:""),toDate:new Date(null!==(i=N.toDate)&amp;&amp;void 0!==i?i:"")}:void 0,recommendationData:a,language:r,isLiked:M,onLike:()=&gt;{F((0,U.hZ)(a)),I.likeReco(a.id,Y).then(e=&gt;{e?P("Recommendation","Like recommendation - Detail",a.name):F((0,U.vD)(a.id))})},onUnlike:()=&gt;{F((0,U.vD)(a.id)),I.unlikeReco(a.id,Y).then(e=&gt;{e?P("Recommendation","Unlike recommendation - Detail",a.name):F((0,U.hZ)(a))})},onManageClick:()=&gt;(0,S.Z)(a.id,Y,L,a.availableApis.includes(p.RecoApiEnum.crunchoEvent)),onShare:()=&gt;w(!0),onClose:()=&gt;{o()},googleApiKey:"AIzaSyDdP63UKUkM77oBxJPjYCV7VXqUkOE_BZc",relatedRecommendations:y.map(e=&gt;({recommendationData:e,onClick:()=&gt;{I.getRecommendation(e.id).then(t=&gt;{P("Recommendation","Click on related recommendation - Detail",e.name),F((0,h.gp)(t))}).finally(()=&gt;R([]));let t=new URLSearchParams({startDate:N.fromDate?N.fromDate:new Date().toISOString(),endDate:N.toDate?N.toDate:new Date(new Date().getTime()+864e5).toISOString()});G.push(q({id:e.id}),{pathname:"/place/".concat(e.id,"/").concat(C(e.name)).concat(t?"?".concat(t):""),query:{origin:"".concat(G.pathname).concat(G.query&amp;&amp;"?".concat((0,E.stringify)(G.query)))}},{shallow:!0})}})),t:H,trackEvent:P})]}):(0,n.jsx)(k(),{statusCode:404})},$=()=&gt;{var e;let t=(0,m.CG)(e=&gt;e.recoContext.currentReco),i=(0,m.CG)(e=&gt;e.destination),{returnHref:g}=(0,m.CG)(e=&gt;e.routing),[p,v]=null!==(e=null==g?void 0:g.split("?"))&amp;&amp;void 0!==e?e:[g,void 0],[f,w]=(0,d.useState)(!1);(0,d.useEffect)(()=&gt;{w(!!t)},[t]);let y=(0,u.I0)(),b=(0,s.useRouter)(),D={...b.query.areaFilter?{areaFilter:b.query.areaFilter}:{},...v?Object.fromEntries(new URLSearchParams(v)):{}},_=()=&gt;{if(y((0,h.gp)(void 0)),"/"===p&amp;&amp;b.query.origin&amp;&amp;"string"==typeof b.query.origin){let[e,t]=b.query.origin.includes("?")?b.query.origin.split("?"):[b.query.origin,void 0];b.push({pathname:e,query:t},void 0,{shallow:!0})}else b.push({pathname:p,query:D},void 0,{shallow:!0})},R=(0,o.Z)("(max-width: 640px)");return(0,d.useEffect)(()=&gt;{f&amp;&amp;i.features.iframeResizing&amp;&amp;window.parent.postMessage({message:"scrollToTop"},"*")},[f,i,R]),(0,d.useEffect)(()=&gt;{b.beforePopState(e=&gt;{let t=e.url.split("&amp;").find(e=&gt;e.includes("id="));if(t){let e=t.split("id=")[1];new c.Z(i._id).getRecommendation(e).then(e=&gt;y((0,h.gp)(e)))}else y((0,h.gp)(void 0));return!0})},[b,y,i._id]),(0,d.useEffect)(()=&gt;{let e=e=&gt;{"Escape"===e.key&amp;&amp;_()};return window.addEventListener("keydown",e),()=&gt;{window.removeEventListener("keydown",e)}},[]),t?(0,n.jsxs)(r.Z,{maxWidth:"md",open:f,scroll:"body",onClose:()=&gt;_(),disableEnforceFocus:!0,componentsProps:{root:{style:{width:"100vw",height:"100vh"}},backdrop:{className:"theme-default ".concat(i?"theme-".concat(i._id," customFont"):"","  ").concat(i._id)}},classes:{root:"theme-default ".concat(i?"theme-".concat(i._id):""," "),container:"customFont"},PaperProps:{style:{marginTop:R?"10px":"50px",...R?{marginBottom:"50px",maxWidth:"100vw"}:{},marginLeft:"0px",marginRight:"0px",verticalAlign:"top",width:"90vw"}},"aria-labelledby":"detail-modal-title",children:[(0,n.jsx)(a.Z,{id:"detail-modal-title",className:"sr-only",children:"Details"}),(0,n.jsx)(l.default,{children:(0,n.jsx)(x,{recommendation:t,onClose:()=&gt;_()})})]}):null}},6159:function(e,t,i){var n=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.convertTimePeriodsToDayOpenings=void 0;let r=i(55358),a=n(i(60014)),o=i(75245),s=n(i(3440)),l=n(i(71644)),d=n(i(34498)),u=n(i(36585)),h=n(i(49599)),c=i(65862),m=i(48316),g=i(27995);t.convertTimePeriodsToDayOpenings=e=&gt;{let t=Object.assign({0:[],1:[],2:[],3:[],4:[],5:[],6:[]},(0,s.default)(e,e=&gt;e.id));return Object.keys(t).sort().map(e=&gt;{let i=t[e].sort((e,t)=&gt;e.openTime&lt;t.openTime?-1:1).map(e=&gt;[e.openTime,"00:00"===e.closeTime?"24:00":e.closeTime]);if(i.length&gt;0){let e=0;for(;e&lt;i.length;){let t=!1;for(let n=e+1;n&lt;i.length;n+=1)if(i[e][1]&gt;=i[n][0])i[e][1]=(0,l.default)([i[e][1],i[n][1]]),i.splice(n,1),t=!0;else break;t||(e+=1)}}return{id:parseInt(e,10),openings:i.map(([e,t])=&gt;[e,"24:00"===t?"00:00":t])}})};class p{constructor(e,t="en-GB"){var i;this.data=e,Object.entries(e).forEach(([e,t])=&gt;{this[e]=t}),this.language=t,this.languageCode=(0,m.shortenLanguageCode)(t),this.address=null===(i=this.address)||void 0===i?void 0:i.trim()}getFirstPicture(){var e,t;return(null===(t=null===(e=this.photos)||void 0===e?void 0:e[0])||void 0===t?void 0:t.url)||"#"}getPhotos(e=!1){let t=0;return e&amp;&amp;this.useFirstPhotoAsPreview&amp;&amp;this.photos.length&gt;1&amp;&amp;(t=1),this.photos.filter(e=&gt;null!==e.url).slice(t,8)}getReviews(){return(0,d.default)((0,h.default)(this.reviews,(e,t)=&gt;e.authorName===t.authorName&amp;&amp;e.comment===t.comment),e=&gt;e.createdAt||new Date,"desc")}getReviewModels(e){let t=this.getReviewsUrl(e);return this.getReviews().map(e=&gt;new g.ReviewModel(e,this.language,t))}getName(){var e;return(null===(e=this[this.languageCode])||void 0===e?void 0:e.name)||this.name}getUrl(){var e;return(null===(e=this[this.languageCode])||void 0===e?void 0:e.url)||this.url}getTruncatedName(){return(0,u.default)(this.getName(),{length:70,omission:"..."}).replace(/(\r\n|\r|\n){2}/g,"$1").replace(/(\r\n|\r|\n){3,}/g,"$1\n")}getCategory(){return c.L1_TO_CATEGORY[this.l1]}getFormats(){return this.formats}getTruncatedNotTranslatedName(){return(0,u.default)(this.name,{length:70,omission:"..."}).replace(/(\r\n|\r|\n){2}/g,"$1").replace(/(\r\n|\r|\n){3,}/g,"$1\n")}get timePeriods(){return this.openingHours?this.openingHours.filter(e=&gt;!!e).map(e=&gt;({id:e.openWeekday,openTime:e.openTime,closeTime:e.closeTime})):null}get daysOpenings(){return this.timePeriods&amp;&amp;0!==this.timePeriods.length?(0,t.convertTimePeriodsToDayOpenings)(this.timePeriods):null}get todayOpenings(){var e,t;let i=(new Date().getDay()+6)%7;return null!==(t=null===(e=this.daysOpenings)||void 0===e?void 0:e.find(e=&gt;e.id===i))&amp;&amp;void 0!==t?t:null}get isOpenNow(){var e,t;let i=(0,o.format)(new Date,"HH:mm");return null!==(t=null===(e=this.todayOpenings)||void 0===e?void 0:e.openings.some(e=&gt;e[0]&lt;=i&amp;&amp;e[1]&gt;=i))&amp;&amp;void 0!==t?t:null}get nextOpenTimePeriod(){var e,t;let i=(0,o.format)(new Date,"HH:mm");return null!==(t=null===(e=this.todayOpenings)||void 0===e?void 0:e.openings.find(e=&gt;e[0]&gt;=i))&amp;&amp;void 0!==t?t:null}get normalizedScore(){var e;return(null!==(e=this.rating)&amp;&amp;void 0!==e?e:this.apiRatings)?this.apiRatings.reduce((e,t)=&gt;e+t.value,0)/this.apiRatings.length:90}getFullStarsCount(){return Math.floor(this.normalizedScore+.25)}getHalfStarsCount(){return this.normalizedScore%1&gt;=.25&amp;&amp;this.normalizedScore%1&lt;.75?1:0}getEmptyStarsCount(){return 5-(this.getFullStarsCount()+this.getHalfStarsCount())}getDisplayComment(){return this[this.languageCode].displayComment||this.displayComment||""}getDescription(){var e,t;return(null!==(t=null!==(e=this[this.languageCode].description)&amp;&amp;void 0!==e?e:this.description)&amp;&amp;void 0!==t?t:"").trim().replace(/&lt;p&gt;\s*&lt;\/p&gt;/g,"").replace(/(\r\n|\r|\n){2}/g,"$1").replace(/(\r\n|\r|\n){3,}/g,"$1\n")}get isDescriptionEmpty(){let e=this.getDescription();return!e||"."===e||-1!==e.search(/^&lt;p&gt;\s*&lt;\/p&gt;/g)}getTag(e){if(e&amp;&amp;(0===e.length||e.find(({displayName:e})=&gt;e===this.tag)))return this.tag;let t=null==e?void 0:e.find(({slug:e})=&gt;{var t;return this.categories.includes(e)||(null===(t=this.formats)||void 0===t?void 0:t.includes(e))});return t?t.displayName:this.tag}getReviewsUrl(e){return this.reviewsUrl?(0,m.getPartnerURL)(this.reviewsUrl,e):null}getRawWebsiteUrl(){var e,t,i;return null!==(i=null!==(t=null!==(e=this.websiteUrl)&amp;&amp;void 0!==e?e:this.getUrl())&amp;&amp;void 0!==t?t:this.bookUrl)&amp;&amp;void 0!==i?i:null}getWebsiteUrl(e){let t=this.getRawWebsiteUrl();return t?(0,m.getPartnerURL)(t,e):null}getMenuUrl(e){return this.menuUrl?(0,m.getPartnerURL)(this.menuUrl,e):null}get seeMoreReviewsUrl(){var e,t,i;return null!==(i=null!==(t=null===(e=this.getReviews().find(e=&gt;e.moreReviewsUrl))||void 0===e?void 0:e.moreReviewsUrl)&amp;&amp;void 0!==t?t:this.reviewsUrl)&amp;&amp;void 0!==i?i:null}showRatingsBreakdown(e){return 0!==this.reviews.length&amp;&amp;!e&amp;&amp;!(this.l1===c.STAY_KEY&amp;&amp;this.apiRatings.some(e=&gt;e.api===r.AvailableApisEnum.tripadvisor))}static normalizeAPIRating(e,t){return c.API_RANKING_UP_TO_10.includes(t)?e/2:e}getAPIRating(e){var t,i,n;return null!==(n=null===(i=null===(t=this.apiRatings)||void 0===t?void 0:t.find(t=&gt;t.api===e))||void 0===i?void 0:i.value)&amp;&amp;void 0!==n?n:null}getNormalizedAPIRating(e){let t=this.getAPIRating(e);return null===t?null:p.normalizeAPIRating(t,e)}get isOnline(){return this.online||"Online Event"===this.city}get isHybrid(){return this.hybrid}getAddressRedirect(e){if(!this.address&amp;&amp;(!this.data.geometry||0===this.data.geometry.lat&amp;&amp;0===this.data.geometry.lng))return null;if(/iPhone|iPad|iPod/i.test(navigator.userAgent)){if(this.data.geometry)return e?`maps://maps.google.com?daddr=${this.data.geometry.lat}%2C${this.data.geometry.lng}`:`maps://maps.google.com?&amp;q=${this.data.geometry.lat}%2C${this.data.geometry.lng}`;if(this.address)return`maps://maps.google.com?&amp;q=${encodeURIComponent(`${this.getName().trim()}, ${this.address}`)}`}if(/Android/i.test(navigator.userAgent)){if(this.data.geometry)return e?`https://maps.google.com/maps?${this.data.geometry.lat}%2C${this.data.geometry.lng}`:`https://maps.google.com?&amp;q=${this.data.geometry.lat}%2C${this.data.geometry.lng}`;if(this.address)return`https://maps.google.com?&amp;q=${encodeURIComponent(`${this.getName().trim()}, ${this.address}`)}`}return this.data.geometry?e?this.data.address?`https://www.google.com/maps/dir/?api=1&amp;destination=${this.data.address}`:`https://www.google.com/maps/dir/?api=1&amp;destination=${this.data.geometry.lat}%2C${this.data.geometry.lng}`:`https://www.google.com/maps/search/?api=1&amp;query=${this.data.geometry.lat}%2C${this.data.geometry.lng}`:`https://www.google.com/maps/search/?api=1&amp;query=${encodeURIComponent(`${this.getName().trim()}, ${this.address}`)}`}get isEvent(){return null!==this.eventStart&amp;&amp;this.l1===c.EVENTS_KEY}downloadICSFile(e,t){return a.default.post(`${e}recommendations/create-ics`,{recommendation:this.data,forceDate:t},{headers:{"Content-Type":"application/json"}}).then(e=&gt;e.data).then(e=&gt;{let t=new Blob([e],{type:"text/calendar;charset=utf-8"}),i=URL.createObjectURL(t),n=window.document.createElement("a");n.href=i,n.download=`${this.name}.ics`,n.click(),URL.revokeObjectURL(i)})}hasProvider(e){return this.bookProvider===e||this.priceProvider===e}get hasTripadvisorProvider(){return this.hasProvider(r.AvailableApisEnum.tripadvisor)}get hasHotelsCombinedProvider(){return this.hasProvider(r.AvailableApisEnum.hotelscombined)}shouldShowBookButton(e,t){var i;let n=!!(this.priceProvider||this.bookProvider),r=void 0!==this.client_price||!!this.bookUrl,a=null===(i=this.bookUrl)||void 0===i?void 0:i.includes("facebook");return!!((null==e?void 0:e[this.l1])&amp;&amp;n&amp;&amp;r&amp;&amp;!a&amp;&amp;(this.l1===c.STAY_KEY||!this.hasTripadvisorProvider)&amp;&amp;!(t&amp;&amp;this.hasHotelsCombinedProvider))}get isBookProviderUnsupported(){return!this.bookProvider||!!this.bookProvider.match(/.*(cruncho|cruncho_event|vast)+.*/)}get fallbackImageURL(){return(0,m.getTagImageURL)(this.tag||this.getCategory(),this.l1,this.id)}get publisherLink(){var e;if(!this.publisher)return null;let t=this.publisher.toLowerCase(),i=Object.entries(c.PUBLISHER_NAME_TO_LINK).find(([e])=&gt;t.includes(e));return null!==(e=null==i?void 0:i[1])&amp;&amp;void 0!==e?e:null}getEventDates(e){let t=this.eventStart,i=this.eventEnd;return Array.isArray(t)&amp;&amp;Array.isArray(i)?t.map((e,t)=&gt;({startDate:new Date(e),endDate:new Date(i[t])})).filter(t=&gt;!e||t.startDate&gt;e||t.startDate&lt;=e&amp;&amp;e&lt;=t.endDate):null}formatNextEventDate({minDate:e,t,hours12:i,selectedLanguage:n}){let r=new Date,a=this.getEventDates(null!=e?e:r);if(!a||0===a.length)return null;let s=(0,m.getNextOccurrences)(a);if(s.length&lt;1)return null;let l=s[0],d=s.length-1,u=(0,m.isOngoingOccurrence)(l),h=(0,o.differenceInDays)(r,l.startDate)&gt;364||l.endDate&amp;&amp;(0,o.differenceInDays)(l.endDate,r)&gt;364?{weekday:"long",month:"long",day:"numeric",year:"numeric"}:{weekday:"long",month:"long",day:"numeric"};return(0,m.formatEventDate)(l,u,d,{t,dateOptions:h,timeOptions:{hour:i?"numeric":"2-digit",minute:"2-digit",hour12:!!i},selectedLanguage:n,hideEventStartTime:this.hideEventStartTime,hideEventEndTime:this.hideEventEndTime,useDefaultStartTime:this.useDefaultStartTime,useDefaultEndTime:this.useDefaultEndTime})}}t.default=p},27995:function(e,t,i){var n=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReviewModel=t.removeExtraLineBreak=void 0;let r=i(75245),a=n(i(82108)),o=i(48316);function s(e){return e.replace(/\n{3,}/gm,"\n\n")}t.removeExtraLineBreak=s;class l{constructor(e,t,i){this.data=e,this.recommendationUrl=i,this.language=t,this.languageCode=(0,o.shortenLanguageCode)(t)}get isFork(){return"fork"===this.data.api}get authorUrl(){var e;return null!==(e=this.data.authorUrl)&amp;&amp;void 0!==e?e:null}get authorName(){let[e,...t]=this.data.authorName.replace(" - None","Anonymous").replace(" - "," ").split(/\s+/);return[e,...t.map(e=&gt;e?`${e[0].toUpperCase()}.`:"")].join(" ")}get rating(){return void 0===this.data.rating?null:Math.round(this.isFork?this.data.rating/2:this.data.rating)}get url(){var e,t,i;return null!==(i=null!==(t=null!==(e=this.data.reviewUrl)&amp;&amp;void 0!==e?e:this.recommendationUrl)&amp;&amp;void 0!==t?t:this.data.moreReviewsUrl)&amp;&amp;void 0!==i?i:null}get api(){return this.isFork?"TheFork":(0,a.default)(this.data.api)}get age(){let e=this.data.createdAt?new Date(this.data.createdAt):(0,r.sub)(new Date,{years:1}),t=new Date;return(0,r.differenceInYears)(t,e)&gt;=2?"over 2 years ago":(0,r.formatDistanceToNow)(e,{locale:(0,o.convertAppLanguageToDateFnsLocale)(this.language),addSuffix:!0})}get comment(){var e;return s(null!==(e=this.data[this.languageCode])&amp;&amp;void 0!==e?e:this.data.comment)}}t.ReviewModel=l},79696:function(e,t,i){var n=this&amp;&amp;this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&amp;&amp;(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&amp;&amp;(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&amp;&amp;(n=i),e[n]=t[i]}),r=this&amp;&amp;this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)},a=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RecommendationClass=void 0;var o=i(6159);Object.defineProperty(t,"RecommendationClass",{enumerable:!0,get:function(){return a(o).default}}),r(i(6159),t),r(i(27995),t)},73951:function(e,t,i){var n=this&amp;&amp;this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&amp;&amp;(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&amp;&amp;(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&amp;&amp;(n=i),e[n]=t[i]}),r=this&amp;&amp;this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(1192),t),r(i(14353),t),r(i(86177),t)},86177:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.useCustomEffect=void 0;let n=i(2784);t.useCustomEffect=function(e,t,i){let r=(0,n.useRef)(),a=r.current,o=(0,n.useRef)(),s=!!a&amp;&amp;!!a.find((e,n)=&gt;!i(e,t[n]));return(0,n.useEffect)(()=&gt;{(s||!a)&amp;&amp;(r.current=t,o.current=e(...t))}),o.current}},1192:function(e,t,i){var n=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useDebounce=void 0;let r=n(i(54073)),a=i(2784);t.useDebounce=function(e,t,i={}){let n=(0,a.useRef)(e);return n.current=e,(0,a.useCallback)((0,r.default)((...e)=&gt;n.current(...e),t,Object.assign({leading:!0},i)),[t])}},14353:function(e,t,i){var n=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useThrottle=void 0;let r=n(i(12436)),a=i(2784);t.useThrottle=function(e,t){let i=(0,a.useRef)(e);return i.current=e,(0,a.useCallback)((0,r.default)((...e)=&gt;i.current(...e),t),[t])}}}]);</pre></body></html>