1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8157],{9926:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/team-designs",function(){return a(34136)}])},94133:function(e,t,a){"use strict";a.d(t,{p:function(){return r}});var n=a(52322);a(2784);var i=a(64603);let r=e=>{let{fontSize:t,className:a}=e;return(0,n.jsx)(i.frZ,{className:"animate-spin ".concat(a||""),fontSize:t})}},92670:function(e,t,a){"use strict";a.d(t,{H:function(){return g}});var n,i=a(52322);a(2784);var r=a(83112),s=a(55351),o=a(70314),l=a.n(o),u=JSON.parse('[{"questionName":"How can I play my audio?","acceptedAnswerText":"After an audio is uploaded, you will see a play button on the top left corner of your screen. Clicking this button will start the audio and the sound wave playing animation."},{"questionName":"What is the export resolution?","acceptedAnswerText":"Images are exported in 300 DPI (dots per inch) to provide the maximum quality for printing. The exact resolution will depend on the canvas size you chose but in general they a width of 12000 pixels or 40 inches."},{"questionName":"Can I resell or use my designs commercially?","acceptedA
1nswerText":"Once you purchase your design by paying or using a credit, you acquire the right to use that image any way you see fit. This includes any commercial usage including reselling or placing them in other commercial products."},{"questionName":"How can I download?","acceptedAnswerText":"Once completing you design. You can purchase it by going to the Download tab. After the payment, you will presented with download options. You will also receive an email with a link to your design so that you can come back and download it later."},{"questionName":"How does WaveVisual generate audio waveforms?","acceptedAnswerText":"WaveVisual analyses the audio file you upload and create a waveform of bars with various heights that represents the loudness of the audio at any given moment. For example if your audio starts relatively silent and gets louder as it progresses, the sound wave WaveVisual will generate will be a series of bars that transition from shorter to longer."},{"questionName":"Which audio file formats are supported?","acceptedA
1nswerText":"The following audio file formats are supported by our editor:\\nWAV, MP3, M4A, AIF, AIFF, FLAC, ALAC, OGG"},{"questionName":"How can I save?","acceptedAnswerText":"Designs are automatically saved and current browser location is accordingly updated. You can see the save status of your design at the top of your screen."},{"questionName":"I have a problem or a question","acceptedAnswerText":"The quickest way to contact us would be by using the live chat on our website. We\'ll respond as soon as possible; probably within an hour. We\'ll do our best to help you."},{"questionName":"What does the unlimited subscription include?","acceptedAnswerText":"Unlimited designs and digital exports while your subscription is active, within our fair-use limits (see the pricing page for details)."},{"questionName":"Can I continue editing my design after purchasing it?","acceptedAnswerText":"Yes, you can continue editing your design for 3 days after purchasing it. You can also download the design as many times as you want."},{"questionName":"What is the maximum video length I can export?","acceptedA
1nswerText":"Video exports are limited to a maximum of 60 minutes. This limit applies to the trimmed duration if you\'ve trimmed your audio, or the full audio duration if no trimming is applied. If your audio exceeds 60 minutes, video export is disabled and you can request a limit extension from the download menu. For longer content, you can also trim your audio to the most important segment."}]'),d=a(26140),c=a(9223),m=a(15453);let{siteURL:h}=(null===(n=l()())||void 0===n?void 0:n.publicRuntimeConfig)||{},p=[(0,c._)({src:"/landing/homepage-cover-3-photo-vynil-1-2",width:1200})],g=e=>{var t,a;let{title:n,path:o,type:l,data:g,faq:f,noIndex:x}=e,{description:y,images:v}=e,b=(0,r.Z)();y=y||b.formatMessage({id:"Home.Subtitle"}),(v=v?v.map(e=>e.includes("/img/d")?(0,d.Ww)({src:e,width:1200}):(0,c._)({src:e,width:1200})):[]).length||(v=v.concat(p));let w="article"===l&&g?(0,m.h)(g.publishedAt,null!==(t=g.lastUpdatedAt)&&void 0!==t?t:g.publishedAt):null,j={title:n,description:y,type:w?"article":"website",url:"".concat(h).concat(o),site_name:"WaveVisual",locale:"en_US",images:v.map(e=>({url:e})),...w&&g&&"article"===l?{article:{publishedTime:"".concat(w.datePublished,"T00:00:00.000Z"),modifiedTime:"".concat(w.dateModified,"T00:00:00.000Z"),...g.author?{authors:[String(g.author)]}:{}}}:{}},N=e.canonical||"".concat(h).concat(o);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.PB,{title:n,description:y,additionalMetaTags:[{name:"format-detection",content:"telephone=no"}],languageAlternates:[{href:"".concat(h).concat(o),hrefLang:"en"},{href:"".concat(h).concat(o),hrefLang:"x-default"}],canonical:N,openGraph:j,noindex:x,nofollow:x,twitter:{handle:"wavevisualcom",cardType:"summary_large_image"}}),"article"===l&&g&&!x&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.dX,{url:"".concat(h).concat(o),title:n,...(0,m.h)(g.publishedAt,null!==(a=g.lastUpdatedAt)&&void 0!==a?a:g.publishedAt),authorName:g.author.toString(),images:v,description:y,publisherName:"WaveVisual",publisherLogo:"https://wavevisual.com/wavevisual-logo.png"}),(0,i.jsx)(s.gR,{itemListElements:[{position:1,name:"Home",item:"".concat(h,"/")},{position:2,name:"Blog",item:"".concat(h,"/blog")},{position:3,name:n,item:"".concat(h).concat(o)}]})]}),(0,i.jsx)(s.Sv,{type:"Organization",name:"WaveVisual",image:"https://wavevisual.com/wavevisual-logo.png",url:"https://wavevisual.com",sameAs:["https://www.instagram.com/wavevisualcom/","https://www.pinterest.de/wavevisualcom","https://x.com/wavevisualcom","https://twitter.com/wavevisualcom"]}),"home"===l&&(0,i.jsx)(s.Mg,{mainEntity:f||u}),"article"===l&&f&&f.length>0&&!x&&(0,i.jsx)(s.Mg,{mainEntity:f}),"product"===l&&f&&f.length>0&&(0,i.jsx)(s.Mg,{mainEntity:f}),"home"===l&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.Gz,{name:n,type:"WebApplication",operatingSystem:"Web",applicationCategory:"DesignApplication",price:"0",priceCurrency:"USD",image:v[0],description:y||"WaveVisual lets you turn any audio file or Spotify song into personalized sound wave art, posters, or video. Customize colors, shapes, and text, then export high-resolution files.",url:N,featureList:["Upload audio files (MP3, WAV, FLAC, M4A, AIFF, OGG)","Search and import from Spotify","Customizable waveform colors and shapes","Add custom text and QR codes","Export high-resolution PNG, SVG, PDF, or JPEG","Video export (1080p MP4 at 60fps / transparent MOV)","Poster print ordering"],aggregateRating:{ratingValue:"4.8",ratingCount:"400",bestRating:"5"}}),h?(0,i.jsx)(s.uJ,{url:h,logo:"https://wavevisual.com/wavevisual-logo.png"}):null]}),(0,i.jsx)(s.VL,{name:n,id:N,image:v[0]}),"product"===e.type&&(0,i.jsx)(s.Qb,{productName:n,images:v,description:y,brand:"WaveVisual",reviews:e.reviews,aggregateRating:e.aggregateRating,offers:[{price:e.price.amount,priceCurrency:e.price.currencyCode,priceValidUntil:"".concat(new Date().getFullYear()+1,"-12-31"),itemCondition:"https://schema.org/NewCondition",availability:"https://schema.org/InStock",seller:{name:"WaveVisual"},hasMerchantReturnPolicy:{type:"MerchantReturnPolicy",refundType:"FullRefund",returnPolicyCategory:"https://schema.org/FullRefund",restockingFee:"0",returnShippingFeesAmount:"0",returnShippingFeesCurrency:"USD",returnInDays:e.returnInDays}}]})]})}},18228:function(e,t,a){"use strict";a.d(t,{l:function(){return g}});var n=a(52322);a(2784);var i=a(79130),r=a.n(i),s=a(7355),o=a(76349),l=a(97976),u=a(90583),d=a(66176),c=a.n(d),m=a(50249),h=a(20324);let p=r().bind(c()),g=e=>{let{children:t,fullWidth:a=!1,className:i,innerClassName:r,lean:d,name:c}=e;return(0,s.aC)(),(0,m.u)(c),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:p("page","relative pb-0 bg-white",i),children:[(0,n.jsx)(o.N,{}
1),a?t:(0,n.jsx)("main",{className:(0,h.m6)(p("mb-10 ".concat(u.kt),{"mt-4":d},r)),children:t})]}),(0,n.jsx)(l.D,{})]})}},10615:function(e,t,a){"use strict";a.d(t,{l:function(){return n.l}});var n=a(18228)},34136:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return A}});var n=a(52322),i=a(2784),r=a(61189),s=a(5632),o=a(82066),l=a(54073),u=a.n(l),d=a(26335),c=a(7355),m=a(23083),h=a(10615),p=a(92670),g=a(94133),f=a(39097),x=a.n(f),y=a(96577),v=a.n(y),b=a(96647),w=a(26140);function j(e){let{id:t,name:a,updatedAtTimestamp:i}=e;return t?(0,n.jsx)("article",{className:"w-full mt-4 sm:w-1/2 md:w-1/3 lg:w-1/4",children:(0,n.jsx)("div",{className:"relative flex flex-col bg-white border-2 rounded shadow-md sm:odd:mr-1 sm:even:ml-1 md:mx-1 transition-all border-slate-300 hover:border-indigo-400",children:(0,n.jsxs)(x(),{href:"/editor?id=".concat(t),className:"p-2",children:[(0,n.jsx)("div",{className:"h-36 rounded mt-1 mb-2 bg-gray-100 inline-flex justify-center items-center w-full relative",children:(0,n.jsx)(v(),{loader:w.Ww,src:"/img/d/".concat(t,".jpg?cb=").concat(i),alt:a||"Design",fill:!0,sizes:"100vw",style:{objectFit:"contain"}})}),(0,n.jsx)("p",{className:"break-all text-gray-900",children:a||"Untitled"}),i?(0,n.jsxs)("p",{className:"mt-1 text-xs text-gray-500",children:["Updated"," ",(0,b.Z)(new Date(i),new Date,{addSuffix:!0})]}):null]})})}):null}var N=a(99127);let k=/[^a-zA-Z0-9_\-.\s]/g;function S(e,t,a,n){e.setQueryData(["team-designs",t,a],e=>{var a,i,r,s;let o=null!==(i=null==e?void 0:null===(a=e.members.find(e=>e.userId===n.userId))||void 0===a?void 0:a.designs)&&void 0!==i?i:[],l=(null!==(r=null==e?void 0:e.members)&&void 0!==r?r:[]).filter(e=>e.userId!==n.userId);return l.push({userId:n.userId,displayLabel:n.displayLabel,handshakeUrl:n.handshakeUrl,joinedAt:n.joinedAt,designs:o}),l.sort(d.y),{teamId:t,members:l,totalDesignHits:null!==(s=null==e?void 0:e.totalDesignHits)&&void 0!==s?s:0}})}function D(e){let{displayLabel:t,handshakeUrl:a}=e,[r,s]=(0,i.useState)(!1),o=async()=>{try{await navigator.clipboard.writeText(a),s(!0),window.setTimeout(()=>s(!1),2e3)}catch(e){s(!1)}};return(0,n.jsxs)("div",{className:"flex flex-col gap-2 p-3 bg-white border border-gray-200 rounded-md sm:flex-row sm:items-start sm:gap-4",children:[(0,n.jsxs)("div",{className:"shrink-0 sm:w-40",children:[(0,n.jsx)("p",{className:"text-xs font-medium uppercase tracking-wide text-gray-500",children:"Slip label"}),(0,n.jsx)("p",{className:"text-base font-semibold text-gray-900",children:t})]}),(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("p",{className:"text-xs font-medium uppercase tracking-wide text-gray-500 mb-1",children:"Student invite link"}),(0,n.jsx)("p",{className:"text-sm text-indigo-700 break-all select-all",children:a})]}),(0,n.jsx)("button",{type:"button",className:"shrink-0 px-3 py-1.5 text-sm text-indigo-700 border border-indigo-300 rounded-md hover:bg-indigo-50",onClick:o,children:r?"Copied":"Copy link"})]})}let I=()=>{let e=(0,s.useRouter)(),t=(0,o.useQueryClient)(),{userDetails:a,status:r,isLoggedIn:l,isFetched:d}=(0,c.aC)(),f=null==a?void 0:a.teamId,x="admin"===(null==a?void 0:a.teamRole)&&!!f,[y,v]=(0,i.useState)(""),[b,w]=(0,i.useState)(""),[I,A]=(0,i.useState)(""),[T,M]=(0,i.useState)(null),[C,Z]=(0,i.useState)(null),[L,F]=(0,i.useState)(!1),[_,R]=(0,i.useState)(null),P=(0,i.useMemo)(()=>u()(e=>{w(e.replace(k,"").trim())},300),[]),W=(0,i.useCallback)(e=>{let t=e.target.value;v(t),P(t)},[P]),{data:U,isFetching:q,refetch:V}=(0,o.useQuery)(["team-designs",f,b],()=>(0,m._A)({teamId:f,q:b||void 0}),{enabled:!!f&&x}),O=(0,i.useMemo)(()=>{var e;return null!==(e=null==U?void 0:U.members)&&void 0!==e?e:[]},[null==U?void 0:U.members]);(0,i.useEffect)(()=>{d&&!l&&e.replace("/")},[d,l,e]);let E=async()=>{let e=I.trim();if(!f){M("Class team is not loaded. Refresh the page and try again.");return}if(!e){M("Enter a slip label first (e.g. Desk 07).");return}M(null),Z(null),F(!0);try{var a,n;let i=await (0,m.Zz)({displayLabel:e},f);A(""),Z("Invite created for â".concat(i.displayLabel||e,"â.")),S(t,f,b,{userId:i.studentUid,displayLabel:i.displayLabel||e,handshakeUrl:i.handshakeUrl});let r=await V();(null===(n=r.data)||void 0===n?void 0:null===(a=n.members)||void 0===a?void 0:a.some(e=>e.userId===i.studentUid))||M("Invite was created. Reload the page if the student does not appear.")}catch(e){M("Could not create invite link. Check that you are signed in and the API is running.")}finally{F(!1)}},X=async e=>{if(f){R(e),M(null);try{let a=await (0,m.fg)({},f,e);S(t,f,b,{userId:a.studentUid,displayLabel:a.displayLabel,handshakeUrl:a.handshakeUrl}),await V(),Z("Invite link updated for â".concat(a.displayLabel,"â."))}catch(e){M("Could not regenerate invite link.")}finally{R(null)}}};return"fetched"===r&&l?x?(0,n.jsxs)(h.l,{name:"TeamDesignsPage",children:[(0,n.jsx)(p.H,{title:"Class designs",description:"Review student designs by desk label",path:"/team-designs",noIndex:!0}),(0,n.jsxs)("div",{className:"max-w-6xl mx-auto px-4 py-8",children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold text-gray-900 mb-2",children:"Class designs"}),(0,n.jsx)("p",{className:"text-gray-600 mb-6",children:"Students are listed by the label you set on each invite slip. Designs are sorted by label, then account id. No student email is shown."}),(0,n.jsxs)("div",{className:"flex flex-col gap-4 mb-8 p-4 bg-gray-50 rounded-lg border border-gray-200",children:[(0,n.jsxs)("div",{className:"flex flex-wrap gap-2 items-end",children:[(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("label",{htmlFor:"mint-label",className:"text-sm text-gray-600 mb-1",children:"New slip label"}),(0,n.jsx)("input",{id:"mint-label",className:"border border-gray-400 rounded px-3 py-2 w-64",value:I,onChange:e=>{A(e.target.value),T&&M(null)},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),E())},placeholder:"e.g. Desk 07"})]}),(0,n.jsx)("button",{type:"button",className:"px-4 py-2 text-white bg-indigo-600 rounded-md hover:bg-indigo-700 h-10 disabled:opacity-50",disabled:L,onClick:E,children:L?"Creatingâ¦":"Create invite link"})]}),T&&(0,n.jsx)("p",{className:"text-sm text-red-600",children:T}),C&&(0,n.jsx)("p",{className:"text-sm text-green-700",children:C}),O.length>0&&(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-sm font-medium text-gray-800",children:"Slip labels & invite links"}),(0,n.jsx)("p",{className:"text-xs text-gray-500 mt-0.5",children:"Loaded from your class. Links are stored securely and can be copied again anytime."})]}),(0,n.jsx)("div",{className:"flex flex-col gap-2",children:O.map(e=>(0,n.jsx)("div",{className:"flex flex-col gap-2",children:e.handshakeUrl?(0,n.jsx)(D,{displayLabel:e.displayLabel,handshakeUrl:e.handshakeUrl}):(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-3 p-3 bg-white border border-gray-200 rounded-md",children:[(0,n.jsx)("span",{className:"font-semibold text-gray-900",children:e.displayLabel}),(0,n.jsx)("span",{className:"text-xs text-gray-500",children:"Invite link unavailable"}),(0,n.jsx)("button",{type:"button",className:"px-3 py-1.5 text-sm text-indigo-700 border border-indigo-300 rounded-md hover:bg-indigo-50 disabled:opacity-50",disabled:_===e.userId,onClick:()=>X(e.userId),children:_===e.userId?"Regeneratingâ¦":"Regenerate link"})]})}
1,e.userId))})]})]}),(0,n.jsxs)("div",{className:"flex flex-row h-10 overflow-hidden bg-white border border-gray-400 md:w-96 hover:border-indigo-500 rounded-md mb-6",children:[(0,n.jsx)("span",{className:"inline-flex items-center justify-center w-12 h-full border-r border-gray-400",children:(0,n.jsx)(N.RB5,{fontSize:24})}),(0,n.jsx)("input",{className:"w-full h-full pl-3 md:text-sm text-base text-gray-800 outline-none",placeholder:"Search designs",type:"text",value:y,onChange:W})]}),q&&!U?(0,n.jsx)(g.p,{}):(0,n.jsx)("div",{className:"space-y-10",children:O.map(e=>(0,n.jsxs)("section",{className:"border-b border-gray-200 pb-8",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-3 mb-4",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold text-gray-900",children:e.displayLabel}),!e.joinedAt&&(0,n.jsx)("span",{className:"text-xs font-medium text-amber-800 bg-amber-50 border border-amber-200 rounded px-2 py-0.5",children:"Not signed in yet"})]}),(0,n.jsx)("div",{className:"flex flex-row flex-wrap",children:0===e.designs.length?(0,n.jsx)("p",{className:"text-gray-500 text-sm",children:"No designs yet."}):e.designs.map(e=>(0,n.jsx)(j,{...e},e.id))})]},e.userId))})]})]}):(0,n.jsxs)(h.l,{name:"TeamDesignsPage",children:[(0,n.jsx)(p.H,{title:"Class designs",description:"Teacher class design review",path:"/team-designs",noIndex:!0}),(0,n.jsxs)("div",{className:"max-w-xl mx-auto px-4 py-16 text-center text-gray-700",children:[(0,n.jsx)("p",{children:"This page is only available to the class teacher account."}),!(null==a?void 0:a.teamId)&&(0,n.jsx)("p",{className:"mt-4 text-sm text-gray-600",children:"If you should have teacher access, ask a WaveVisual administrator to provision a class for your account."})]})]}):(0,n.jsx)(h.l,{name:"TeamDesignsPage",children:(0,n.jsx)(g.p,{})})};function A(){return(0,n.jsx)(r.g,{children:(0,n.jsx)(I,{})})}},61189:function(e,t,a){"use strict";a.d(t,{E:function(){return r},g:function(){return s}});var n=a(52322);a(2784);var i=a(82066);let r=new i.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:3,retryDelay:500}}});function s(e){let{children:t}=e;return(0,n.jsx)(i.QueryClientProvider,{client:r,children:t})}},15453:function(e,t,a){"use strict";function n(e){if(null==e||""===e)return i(new Date);let t=new Date(String(e));return Number.isNaN(t.getTime())?i(new Date):i(t)}function i(e){let t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(a,"-").concat(n)}function r(e,t){let a=n(e),i=n(null!=t?t:e);return i<a&&(i=a),{datePublished:a,dateModified:i}}a.d(t,{V:function(){return n},h:function(){return r}})},26140:function(e,t,a){"use strict";a.d(t,{Sv:function(){return i},Ww:function(){return r}});var n=a(74304);let i=["beach2","storm","space","night-sky-XGIIg97kC6w","dream","nursery","mountain-sunrise","hydrangea","cotton-candy","stars-in-dark-Q_RBVFFXR","galaxy-4dpAqfTbvKA","looking-up-oMpAz-DN-9I","wave-on-rocks-Z12KkN","london-fog","summer-festival","dusk","cherry-blossom","tiffany-blue","ocean","pastel","vortex","on-cloud-9","angelas-euphoria-spotify","blush","aakashs-red-hots","moving-stars-1m8E6OTLzRk","snowy-mountain-3LXPDYb83MY","aqua","dunes-48bRZya67Po","bahamas","cathleens-dreamland","fantasy","summer-camp","sunrise","sunset","sweet-pea","highlighter","tulip","7up","firecracker","beach","rosebush","forest","grass","hawaiin-punch","periwinkle","lilac","meadow","metallic","natalias-pink-lemonade","rheas-sunny-lake-day","netherlands","citrus","autumn","peaches","pink-sands","retro","chocolate-strawberries","sky","sunshine","tie-dye"],r=e=>{let{src:t,width:a,quality:i}=e,{frontendVersion:r,isDEV:s}=n.feconfig,[o,l]=t.split("?"),u=new URLSearchParams(l||"");u.append("auto","format"),u.append("fit","max"),a&&u.append("w",a.toString()),i&&u.append("q",i.toString()),r&&u.append("v",r),s&&u.append("sandbox","1");let d=s&&!u.get("sandbox")?"http://127.0.0.1:8081":"https://functions.wavevisual.com";return"".concat(d).concat(o,"?").concat(u.toString())}},45947:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return n._}});var n=a(9223)},9223:function(e,t,a){"use strict";a.d(t,{_:function(){return i}});let n=e=>e.startsWith("/")?e:"/".concat(e),i=e=>{let{src:t,width:a,quality:i}=e,r=new URLSearchParams,s=n(t);
1return a&&r.set("width",a.toString()),i&&r.set("quality",i.toString()),"".concat("https://image-server-proxy.wavevisual.workers.dev","/v3").concat(s,"?").concat(r.toString())}},96647:function(e,t,a){"use strict";a.d(t,{Z:function(){return c}});var n=a(65406),i=a(49435),r=a(4895);function s(e,t){(0,r.Z)(2,arguments);var a=(0,i.Z)(e),n=(0,i.Z)(t),s=a.getTime()-n.getTime();return s<0?-1:s>0?1:s}var o={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},l=a(52929);function u(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}var d=a(70095);function c(e,t,a){(0,r.Z)(2,arguments);var c,m,h,p,g,f=(0,n.j)(),x=null!==(c=null!==(m=null==a?void 0:a.locale)&&void 0!==m?m:f.locale)&&void 0!==c?c:l.Z;if(!x.formatDistance)throw RangeError("locale must contain formatDistance property");var y=s(e,t);if(isNaN(y))throw RangeError("Invalid time value");var v=u(u({},a),{addSuffix:!!(null==a?void 0:a.addSuffix),comparison:y});y>0?(h=(0,i.Z)(t),p=(0,i.Z)(e)):(h=(0,i.Z)(e),p=(0,i.Z)(t));var b=function(e,t,a){(0,r.Z)(2,arguments);var n,s=function(e,t){return(0,r.Z)(2,arguments),(0,i.Z)(e).getTime()-(0,i.Z)(t).getTime()}(e,t)/1e3;return((n=null==a?void 0:a.roundingMethod)?o[n]:o.trunc)(s)}(p,h),w=Math.round((b-((0,d.Z)(p)-(0,d.Z)(h))/1e3)/60);if(w<2){if(null!=a&&a.includeSeconds){if(b<5)return x.formatDistance("lessThanXSeconds",5,v);if(b<10)return x.formatDistance("lessThanXSeconds",10,v);if(b<20)return x.formatDistance("lessThanXSeconds",20,v);if(b<40)return x.formatDistance("halfAMinute",0,v);else if(b<60)return x.formatDistance("lessThanXMinutes",1,v);else return x.formatDistance("xMinutes",1,v)}return 0===w?x.formatDistance("lessThanXMinutes",1,v):x.formatDistance("xMinutes",w,v)}if(w<45)return x.formatDistance("xMinutes",w,v);if(w<90)return x.formatDistance("aboutXHours",1,v);if(w<1440)return x.formatDistance("aboutXHours",Math.round(w/60),v);if(w<2520)return x.formatDistance("xDays",1,v);if(w<43200)return x.formatDistance("xDays",Math.round(w/1440),v);if(w<86400)return g=Math.round(w/43200),x.formatDistance("aboutXMonths",g,v);if((g=function(e,t){(0,r.Z)(2,arguments);var a,n=(0,i.Z)(e),o=(0,i.Z)(t),l=s(n,o),u=Math.abs(function(e,t){(0,r.Z)(2,arguments);var a=(0,i.Z)(e),n=(0,i.Z)(t);return 12*(a.getFullYear()-n.getFullYear())+(a.getMonth()-n.getMonth())}(n,o));if(u<1)a=0;else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-l*u);var d=s(n,o)===-l;(function(e){(0,r.Z)(1,arguments);var t=(0,i.Z)(e);return(function(e){(0,r.Z)(1,arguments);var t=(0,i.Z)(e);return t.setHours(23,59,59,999),t})(t).getTime()===(function(e){(0,r.Z)(1,arguments);var t=(0,i.Z)(e),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(23,59,59,999),t})(t).getTime()})((0,i.Z)(e))&&1===u&&1===s(e,o)&&(d=!1),a=l*(u-Number(d))}return 0===a?0:a}(p,h))<12)return x.formatDistance("xMonths",Math.round(w/43200),v);var j=g%12,N=Math.floor(g/12);return j<3?x.formatDistance("aboutXYears",N,v):j<9?x.formatDistance("overXYears",N,v):x.formatDistance("almostXYears",N+1,v)}},26335:function(e,t){"use strict";t.y=function(e,t){return e.displayLabel<t.displayLabel?-1:e.displayLabel>t.displayLabel?1:e.userId<t.userId?-1:e.userId>t.userId?1:0}},66176:function(e){e.exports={page:"page_page__NLmzS",text:"page_text__cjgfs"}},79130:function(e,t){var a;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=s(e,r.call(this,a)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return this&&this[e]||e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(this,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var a in e)n.call(e,a)&&e[a]&&(t=s(t,this&&this[a]||a));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(a=(function(){return i}).apply(t,[]))&&(e.exports=a)}()},7896:function(e,t,a){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}a.d(t,{Z:function(){return n}})}},function(e){e.O(0,[3365,8127,2602,4396,648,8638,4358,324,6577,2066,6438,5340,8948,2888,9774,179],function(){return e(e.s=9926)}),_N_E=e.O()}]);
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.