https://mix.com/_next/static/chunks/pages/internal/interstitial/curation-contest-9fd8a32d53ba0ecf.js
1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="297d27b9-a0e4-56a2-89f3-d1c88f961238")}catch(e){}}(); 3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b9122dd8-859c-4928-95e0-fa4111310da5",e._sentryDebugIdIdentifier="sentry-dbid-b9122dd8-859c-4928-95e0-fa4111310da5")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{56076:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/internal/interstitial/curation-contest",function(){return t(81055)}])},81055:function(e,s,t){"use strict";t.r(s),t.d(s,{CurationContestInterstitial:function(){return g},CurationContestInterstitialModal:function(){return k}});var i=t(85893),n=t(87066),l=t(41664),a=t.n(l),c=t(67294),r=t(1299),d=t(79451),o=t(1879),x=t(22127),f=t(95332),u=t(92420),m=t(89032),h=t(93897),p=t(15265),b=t(44337),j=t(40419),v=t(16119);let w=()=>{let e=(0,o.C)();return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"flex w-full flex-col items-center space-y-6 sm:h-1/4",children:[(0,i.jsx)(a(),{className:"btn btn-accent w-full text-[17px] font-medium sm:max-w-80",href:"/contest/breakdancing",target:"_blank",children:"Join the contest"}),!e&&(0,i.jsx)("div",{className:"text-[14px] opacity-40",children:"Swipe up to skip"})]})})},y=()=>(0,i.jsxs)("div",{className:"flex h-1/3 flex-col items-center justify-center space-y-6 text-[32px] font-bold leading-[110%] tracking-[-1.5px] sm:w-1/3 sm:space-y-4 sm:tracking-normal",children:[(0,i.jsxs)("div",{className:"flex space-x-1 rounded-lg bg-accent/10 px-3 py-1.5 text-[13px] font-medium leading-[120%] tracking-normal text-accent mt-safe-offset-8",children:[(0,i.jsx)("div",{children:"â"}),(0,i.jsx)("div",{children:"Curation Contest"})]}),(0,i.jsxs)("div",{className:"flex flex-col items-center space-y-2",children:[(0,i.jsx)("h1",{children:"Submit great videos"}),(0,i.jsx)("h2",{className:"text-accent",children:"Win $500*"})]})]}),N=()=>(0,i.jsxs)("div",{className:"flex flex-col items-center sm:w-1/3 sm:space-y-1",children:[(0,i.jsx)("div",{className:"text-[14px] font-medium tracking-[-1%] opacity-70 sm:text-[13px] sm:leading-[120%] sm:opacity-100",children:"CONTEST TOPIC"}),(0,i.jsx)("div",{className:"flex text-[24px] font-bold leading-[110%] tracking-[-1px] text-white sm:text-[32px] sm:tracking-normal",children:m.CONTEST_CATEGORY})]}),g=()=>{let e=(0,j.CG)(h.pX),s=(0,c.useCallback)(e=>{n.default.request(v.ZP.notifications.markNotificationRead(e)).catch(e=>{f.Z.warn("Failed to mark share as read",e)})},[]);return(0,c.useEffect)(()=>{(null==e?void 0:e.type)==="web_interstitial"&&e.notification_id&&s(e.notification_id)},[s,e]),(0,i.jsxs)("div",{className:"relative h-full select-none overflow-hidden font-apps",children:[(0,i.jsx)("div",{className:"size-full scale-125 sm:scale-100",children:(0,i.jsx)(u.h,{})}),(0,i.jsxs)("div",{className:"absolute top-0 flex size-full flex-col justify-between px-6 py-4",children:[(0,i.jsx)("div",{className:"hidden sm:block sm:h-1/5"}),(0,i.jsxs)("div",{className:"flex h-4/5 flex-col items-center justify-between sm:h-full sm:flex-row",children:[(0,i.jsx)(y,{}),(0,i.jsx)(N,{})]}),(0,i.jsx)(w,{})]})]})},k=()=>{let e=(0,j.TL)(),{isInterstitialModalOpen:s}=(0,j.CG)(e=>e.interstitialModal),{handleNextNavigation:t,handlePreviousNavigation:n}=(0,d.ZP)(),l=(0,c.useCallback)(()=>{var s;e((0,b.A)(!1)),null===(s=n())||void 0===s||s.catch(()=>{})},[e,n]),a=(0,c.useCallback)(()=>{var s;e((0,b.A)(!1)),null===(s=t())||void 0===s||s.catch(()=>{})},[e,t]);(0,x.Z)({codes:{ArrowUp:l,ArrowDown:a}},{overrideModalRestrictions:!0});let o=async()=>{e((0,b.A)(!1)),await t()};return(0,i.jsx)(r.Z,{isVisible:s,onClose:o,modalType:"interstitial",children:(0,i.jsx)("div",{onClick:o,className:"absolute left-0 top-0 flex size-full select-none items-center justify-center font-apps",children:(0,i.jsx)("div",{className:"relative size-3/4 overflow-hidden rounded-2xl",children:(0,i.jsx)(g,{})})})})};s.default=()=>((0,p.UO)({isUrlActionsEnabled:!1,isGridActionsEnabled:!1,isTitleEnabled:!1,isDisabled:!0}),(0,i.jsx)("div",{className:"h-screen",children:(0,i.jsx)(g,{})}))}},function(e){e.O(0,[9032,2888,9774,179],function(){return e(e.s=56076)}),_N_E=e.O()}]); 4//# sourceMappingURL=curation-contest-9fd8a32d53ba0ecf.js.map 5//# debugId=297d27b9-a0e4-56a2-89f3-d1c88f961238
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.