(self.webpackChunklite=self.webpackChunklite||[]).push([[8883],{33380:(e,t,r)=>{"use strict";r.d(t,{u6:()=>i,TA:()=>o});var a=r(67294),n={updateWatchedBounds:function(){},watchedBounds:new Map},i=a.createContext(n),o=function(e){var t=e.children,r=e.className,n=e.name,o=e.type,c=e.offset,l=a.useContext(i).updateWatchedBounds,u=a.useRef(null);return a.useEffect((function(){l&&l(n,u,{type:o,offset:c})}),[]),a.createElement("div",{className:r,ref:u},t)}},75845:(e,t,r)=>{"use strict";r.d(t,{sI:()=>w,Yj:()=>y,j$:()=>S,F5:()=>T,Xv:()=>k});var a=r(23450),n=r.n(a),i=r(67294),o=r(83263),c=r(17193),l=r(77355),u=r(93310),s=r(47230),d=r(87691),p=r(52069),h=r(18627),g=r(66411),f=r(14646),m=r(18122),x=r(43487),E=r(92305),v=r(50458),b={xs:277,sm:277,md:196,lg:196},w={xs:140,sm:195,md:90,lg:194},y={xs:105,sm:105,md:194,lg:194},S={sm:380},T=function(e,t){return function(r){return{display:"flex",backgroundColor:r.colorTokens.background.neutral.tertiary.base,justifyContent:"space-between",flexDirection:e?"column":"row",overflow:"hidden",border:"1px solid",borderColor:r.colorTokens.border.neutral.primary.base,borderRadius:"4px",maxHeight:"".concat(b[t],"px"),maxWidth:"100%",width:e?"100%":void 0,cursor:"pointer"}}},k=function(e){var t=e.catalog,r=(0,f.I)(),a=(0,x.v9)((function(e){return e.config.authDomain})),k=(0,h.A)(),R=(0,g.pK)(),O=(0,m.g)({onPresentedFn:function(){k.event("list.presented",{listId:t.id,source:R})}}),I=(0,o.Q)(S),W="sm"===I||"xs"===I,C=y[I],P=w[I],L=i.useCallback((function(e){e.stopPropagation()}),[]),_=i.useCallback((function(){window.top?window.top.location.href=(0,v.yk)(t,a):window.location.href=(0,v.yk)(t,a)}),[t,a]),N=i.useCallback((function(e){"Enter"===e.key&&_()}),[_]);i.useEffect((function(){window.parent.postMessage(JSON.stringify({src:window.location.toString(),context:"iframe.resize",height:b[I]}),"*")}),[I]);var M=i.useMemo((function(){return[t.postItemsCount>0?"".concat(t.postItemsCount," ").concat(n()("story",t.postItemsCount)):null].filter((function(e){return e})).join(", ")}),[t.postItemsCount]);return i.createElement("div",{role:"button",tabIndex:0,onKeyDown:N,onClick:_,className:r(T(W,I))},i.createElement(l.x,{ref:O,padding:"24px"},i.createElement(l.x,{display:"flex",alignItems:"center"},i.createElement(c.Yt,{user:t.creator,scale:"XXXS",target:"_top"}),i.createElement(l.x,{padding:"0 8px",flexShrink:"0"},i.createElement(d.F,{color:"LIGHTER",scale:"S",clamp:1},i.createElement(u.r,{target:"_top",onClick:L,href:(0,v.AW)(t.creator,a)},t.creator.name)))),i.createElement(l.x,{marginTop:W?"16px":"24px",marginBottom:W?"16px":"24px",height:W?"20px":"48px"},i.createElement(p.Dx,{scale:W?"XS":"S",clamp:W?1:2},t.predefined?(0,E.S6)(t.predefined):t.name)),i.createElement(l.x,{display:"flex",alignItems:"center"},i.createElement(l.x,{flexShrink:"0"},i.createElement(s.zx,{target:"_top",size:"SMALL",buttonStyle:"SUBTLE",href:(0,v.yk)(t,a)},"View list")),M&&i.createElement(l.x,{paddingLeft:"16px",flexShrink:"0"},i.createElement(d.F,{color:"LIGHTER",scale:"S",tag:"span"},M)))),i.createElement(o.f,{coverHeight:C,coverWidth:P,catalogItems:t.listItemsConnection.items,isEmbeded:!0,breakpoints:S}))}},38883:(e,t,r)=>{"use strict";r.d(t,{ZQ:()=>Te,lD:()=>ke,l:()=>Oe});var a=r(96156),n=r(34699),i=r(22122),o=r(67294),c=r(33380),l=r(6610),u=r(5991),s=r(10379),d=r(46070),p=r(77608),h=r(6809),g=r(60748),f=r(77355),m=o.forwardRef((function(e,t){var r=e.height,a=void 0===r?1:r,n=e.width,i=void 0===n?1:n,c=e.backgroundColor,l=void 0===c?"BASE_NORMAL":c,u=e.children,s=(i=i||1)/(a=a||1);return o.createElement(f.x,{position:"relative",margin:"auto",backgroundColor:l,ref:t,overflow:"hidden"},o.createElement(f.x,{paddingBottom:"".concat(100/s,"%"),height:"0"},u))})),x=r(87329),E=r(92780),v=r(29746),b=r(14646),w=r(97489),y=function(e){return function(t){return(0,a.Z)({marginTop:"10px",textAlign:e,maxWidth:"".concat((0,v.G)(t,8,!0),"px"),marginLeft:"left"===e?"0":"auto",marginRight:"auto"},w.lg(t),{marginLeft:"auto",textAlign:"center"})}},S=function(e){return function(){var t=e&&100*e;return{width:"".concat(t,"%"),position:"relative",left:"calc(".concat(100-t/2,"% - 8px)"),transform:"translateX(-50%)"}}},T=o.forwardRef((function(e,t){var r=e.children,a=e.richTextStyle,n=e.textAlign,i=void 0===n?"center":n,c=e.extendLeftRatio,l=(0,b.I)(),u=(0,E.n)({name:"detail",scale:"CARD"===a?"S":"M",color:"LIGHTER"});return o.createElement("figcaption",{className:l([y(i),u].concat((0,x.Z)(c?[S(c)]:[]))),ref:t},r)}));function k(e){var t=e.children,r=e.figCaption,a=e.className,n=e.figureRef;return o.createElement("figure",{className:a,ref:n},t,r)}var R=r(34135),O=r(96451),I=function(e){var t=e.rootMargin,r=e.children,a=e.target,i=o.useState(!1),c=(0,n.Z)(i,2),l=c[0],u=c[1],s=o.useCallback((function(e){!l&&e.isIntersecting&&u(!0)}),[l]);return(0,O.S)({onIntersect:s,target:a,disconnect:function(){return l},rootMargin:t},[l]),"function"==typeof r?o.createElement(o.Fragment,null,r(l)):l?o.createElement(o.Fragment,null,r):null},W=function(){return{width:"1px",minWidth:"100%","*width":"100%"}};function C(e){var t,r=e.src,a=e.title,c=e.height,l=e.width,u=e.allowFullScreen,s=e.frameBorder,d=e.rules,p=e.placeholderRef,h=e.iframeRef,g=(0,b.I)(),f={src:r,allowFullScreen:u,frameBorder:s,height:c,width:l},m=o.useState(!1),x=(0,n.Z)(m,2),E=x[0],v=x[1],w=o.useState(!1),y=(0,n.Z)(w,2),S=y[0],T=y[1];return S||R.V6.on("load",(function(){return T(!0)})),null!=h&&null!==(t=h.current)&&void 0!==t&&t.parentElement&&h.current.parentElement.offsetWidth0&&(f(i.current.offsetWidth),i.current.contentWindow===r&&s(e.details.height)),"iframe.resize"===e.context&&e.src===t&&e.height>0&&(i.current&&f(i.current.offsetWidth),s(e.height))})).destructor;return function(){e()}}}),[t,r]),[u,h,i]}({src:R,initialHeight:E||0,initialWidth:v||0}),I=(0,n.Z)(O,3),W=I[0],N=I[1],M=I[2],B=o.useRef(null);if(o.useEffect((function(){if(l&&d&&d.id&&N&&W){var e="";s.current&&(e=s.current.offsetTop.toString()),l("".concat(d.id,"-").concat(e),s,{type:"image"})}}),[]),!R)return null;var q=t.text?o.createElement(T,{richTextStyle:i},o.createElement(h.T,{paragraph:t,paragraphStyle:r,richTextStyle:i})):null,H=[(0,_.qB)(c)];return H.push((function(){return{clear:"both"}})),"OUTSET_LEFT"===(t.layout||void 0)&&"STREAM"!==i&&"INLINE"!==i&&H.push((function(e){var t;return t={background:e.backgroundColor,borderWidth:e.borderWidthThick+"px",borderStyle:e.borderStyle,borderColor:e.backgroundColor,float:"left",marginLeft:"-150px",marginRight:"30px",width:"75%",padding:"0",paddingBottom:"10px"},(0,a.Z)(t,w.md(e),{float:"none",marginLeft:"0",marginRight:"0",width:"100%"}),(0,a.Z)(t,"marginBottom","16px"),t})),o.createElement(k,{className:u(H),figCaption:q,figureRef:s},o.createElement(m,{height:W,width:N,backgroundColor:"NONE",ref:B},o.createElement(C,{placeholderRef:B,iframeRef:M,src:R,title:y||"",height:W,width:N,allowFullScreen:!0,frameBorder:"0",rules:L.m})))},M=o.memo(N),B=r(59854),q=r.n(B),H=r(10374),j=r(12519),Z=r(18155),A=r(46696),D=function(e){var t=(0,n.Z)(e,1)[0];return"number"==typeof t?"".concat(t,"px"):t},F=function(e){var t=(0,n.Z)(e,1)[0];return"".concat(t[0],"% ").concat(t[1],"%")},z=function(e){return(0,n.Z)(e,1)[0]};function U(e){var t=e.backgroundImage,r=e.boxShadowRules,a=e.miroId,n=e.height,i=e.width,c=e.minHeight,l=e.minWidth,u=e.imgHeight,s=e.imgWidth,d=e.focusPercent,p=e.strategy,h=void 0===p?A._S.Resample:p,g=e.freezeGifs,f=(0,b.I)(),m=t;if(!m){var x=(0,A.W6)({miroId:a,height:u,width:s,strategy:h,freezeGifs:g});m="url(".concat(x,")")}var E=(0,Z.mu)(D,n),v=(0,Z.mu)(D,i),w=c&&(0,Z.mu)(D,c),y=l&&(0,Z.mu)(D,l),S=(0,Z.mu)(F,d),T={backgroundImage:(0,Z.mu)(z,m),display:"block",backgroundOrigin:"border-box",backgroundSize:"cover",height:E,width:v,minHeight:w,minWidth:y,backgroundPosition:S,maxWidth:"100%"};return o.createElement("div",{className:f([T,r])})}U.defaultProps={focusPercent:[50,50]};var G=r(16793),X=function(e){return{backgroundColor:e.colorTokens.background.accent.quaternary.base}},V=function(e,t){var r=(0,A.W6)({freezeGifs:!1,miroId:e,strategy:A._S.Resample,width:t.breakpoints.sm}),a=(0,A.W6)({freezeGifs:!1,miroId:e,strategy:A._S.Resample,width:t.breakpoints.md}),n=(0,A.W6)({freezeGifs:!1,miroId:e,strategy:A._S.Resample,width:t.breakpoints.lg}),i=(0,A.W6)({freezeGifs:!1,miroId:e,strategy:A._S.Resample,width:t.breakpoints.xl});return{xl:"url('".concat(i,"')"),lg:"url('".concat(i,"')"),md:"url('".concat(n,"')"),sm:"url('".concat(a,"')"),xs:"url('".concat(r,"')")}};function Y(e){var t=e.metadata,r=(0,b.I)();return o.createElement(G.Z,null,(function(e){return o.createElement("div",{className:r(X)},o.createElement(U,{backgroundImage:V(t.id,e),miroId:t.id,height:"60vh",width:"100%",minHeight:{xl:500,lg:400,md:400,sm:300,xs:300},imgHeight:500,imgWidth:2e3,focusPercent:null===t.focusPercentX||void 0===t.focusPercentX||null===t.focusPercentY||void 0===t.focusPercentY?void 0:[t.focusPercentX,t.focusPercentY]}))}))}var Q=r(54188),J=r(94124),K=r(30555),$=r(12532),ee=function(e){var t=e.highlights,r=e.isSequenceCover,c=void 0!==r&&r,l=e.marginTopOverride,u=e.paragraph,s=e.paragraphStyle,d=e.privateNotes,p=e.richTextStyle,g=e.sequenceAspectRatio,m=e.spaceTop,x=e.updateWatchedBounds,E=e.loading,v=void 0===E?J.K.LAZY:E,y=e.marginBottomOverride,S=(0,b.I)(),R=o.useRef(null),O=(0,H.CF)(u,s);return o.useEffect((function(){if(x){var e=u.name,t=u.metadata&&u.metadata.id;if(e&&t){var r="";R.current&&(r=R.current.offsetTop.toString()),x("".concat(e,"-").concat(t,"-").concat(r),R,{type:"image"})}}}),[]),o.useMemo((function(){var e=u.metadata,r=u.layout;if(!e)return null;var x,E=e.id,b=e.originalHeight,I=e.originalWidth,W=e.alt,C=(0,A.JI)(E),P="CARD"===p||"INLINE"===p,L=(0,$.jg)({layout:r,originalWidth:I||0,originalHeight:b||0,sequenceAspectRatio:g,richTextStyle:p}),N=L.width,M=L.height,B=L.strategy;if("OUTSET_ROW_CONTINUE"===r&&I&&b&&g){var H=I/b;x=q()(g/H,2)}var D,F=u.text?o.createElement(T,{ref:O,richTextStyle:p,textAlign:c?"left":"center",extendLeftRatio:x},d&&o.createElement(j.A,{paragraph:u,privateNotes:d}),o.createElement(h.T,{highlights:t,paragraph:u,paragraphStyle:s,richTextStyle:p})):null;if(c)D=o.createElement(Y,{metadata:{id:E,focusPercentX:e.focusPercentX,focusPercentY:e.focusPercentY}});else{var z={alt:W||"",miroId:E,height:M,width:N,rules:[{width:"100%",maxWidth:"100%",height:"auto"}],maxWidth:M?void 0:"100%",strategy:B,freezeGifs:"STREAM"===p||"RESAMPLE"!==B,focusPercentX:e.focusPercentX,focusPercentY:e.focusPercentY,expectedWidth:N,loading:v,webp:!0};if("FULL_WIDTH"===r)D=o.createElement(Q.G,(0,i.Z)({},z,{height:e.originalHeight||z.height,width:e.originalWidth||z.width}));else if("OUTSET_LEFT"===r||"INSET_LEFT"===r||"INSET_CENTER"===r&&I||"OUTSET_CENTER"===r&&I){var U=I&&(C?I/2:I);D=o.createElement(K.X1,{isLinked:!!u.href,width:z.width,height:z.height,originalHeight:e.originalHeight,originalWidth:e.originalWidth,paragraphRef:R},o.createElement("div",{className:S((function(e){return{marginLeft:"auto",marginRight:"auto",maxWidth:"OUTSET_CENTER"===r&&U&&U{"use strict";function a(e){e&&e.iframe&&e.height&&e.iframe.getAttribute&&"number"==typeof e.height&&o({context:"iframe.resize",height:e.height,src:e.iframe.getAttribute("src")||""})}function n(e){if(e.data&&"string"==typeof e.data){var t;try{t=JSON.parse(e.data)}catch(e){return}o(t,e.source)}}r.d(t,{x:()=>c});var i=[];function o(e,t){i.forEach((function(r){return r(e,t)}))}function c(e){return window._resizeIframe||(window._resizeIframe=a,window.addEventListener("message",n)),i.push(e),{destructor:function(){0===(i=i.filter((function(t){return e!==t}))).length&&"undefined"!=typeof window&&(window._resizeIframe=null,window.removeEventListener("message",n))}}}},54188:(e,t,r)=>{"use strict";r.d(t,{G:()=>h});var a=r(87329),n=r(96156),i=r(34699),o=r(67294),c=r(94124),l=r(30555),u=r(46696),s=r(12532);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function p(e){for(var t=1;t{"use strict";r.d(t,{BO:()=>v,X1:()=>b});var a=r(34699),n=r(96156),i=r(67294),o=r(91583),c=r(18627),l=r(14646),u=r(34135),s=r(37734),d=r(77241),p=r(21021);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function g(e){for(var t=1;t40&&t(),a.current=e}),[t]);(0,i.useEffect)((function(){if(e)return r.current=window.scrollY,a.current=window.visualViewport.scale,u.V6.on("scroll",n),function(){u.V6.off("scroll",n)}}),[n,e])}(!!w,B);var q=(0,i.useCallback)((function(){R(window.innerHeight),C(window.innerWidth)}),[R,C]);(0,i.useEffect)((function(){return R(window.innerHeight),C(window.innerWidth),u.V6.on("resize",q),function(){u.V6.off("resize",q)}}),[R,C,q]);var H,j=(0,p.r)((function(){w?B():(M(),y(!0))}),[M,y,w,B]);return i.createElement(i.Fragment,null,i.createElement(E.Provider,{value:w},i.createElement("div",{onClick:j,onKeyDown:j,role:"button",tabIndex:0,ref:N,className:P(w?x(k,W,r,n,_,s,h):(H=w,g(g({},f),{},{cursor:"zoom-in",position:"relative",zIndex:null===H?"auto":d.ZP.floating,width:"100%",":focus":{transform:"scale(1.01)"}}))),onTransitionEnd:function(){w||y(null)}},t),i.createElement(o.V,{shouldTrapFocus:!1,padding:0,withPageScroll:!0,isVisible:!!w,hide:B,withCloseButton:!1},i.createElement(i.Fragment,null))))}},21021:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var a=r(67294),n=function(e,t){return a.useCallback((function(t){"key"in t&&"Enter"!==t.key&&" "!==t.key||("key"in t&&" "===t.key&&t.preventDefault(),e(t))}),t)}},12532:(e,t,r)=>{"use strict";r.d(t,{Hj:()=>n,aM:()=>o,jg:()=>c});var a=r(46696),n=2400,i=1e3,o=700,c=function(e){var t=e.layout,r=e.originalWidth,c=e.originalHeight,l=e.sequenceAspectRatio,u=e.richTextStyle,s=a._S.Resample,d=c&&r?c/r:null,p=r;switch(t){case"CROPPED_HEIGHT_PREVIEW":p=o,d=.3,s=a._S.Crop;break;case"CONSTRAINED_HEIGHT_PREVIEW":p=o,d&&240/d