1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{1864:function(e,t,a){Promise.resolve().then(a.t.bind(a,4461,23)),Promise.resolve().then(a.bind(a,1637)),Promise.resolve().then(a.bind(a,2964)),Promise.resolve().then(a.bind(a,1884)),Promise.resolve().then(a.bind(a,20)),Promise.resolve().then(a.bind(a,722)),Promise.resolve().then(a.t.bind(a,8688,23))},1637:function(e,t,a){"use strict";a.d(t,{KnockOpm:function(){return m}});var n=a(9631),r=a(8797),s=a(6419),i=a(6175),l=a(2964);let o=["Film Project","IP Submission","Audition","Music Submission","Line Production","Partnership","Media / Press","Other"],c={"Film Project":[{name:"project_title",label:"Project title"},{name:"stage",label:"Stage (idea / script / funded / in production)"},{name:"budget",label:"Budget range"},{name:"brief",label:"Brief",type:"textarea"}],"Line Production":[{name:"project_type",label:"Project type"},{name:"country",label:"Country of origin"},{name:"shoot_dates",label:"Shoot dates"},{name:"crew_size",label:"Crew size needed"},{name:"brief",label:"Brief",type:"textarea"}],Partnership:[{name:"company",label:"Company name"},{name:"partnership_type",label:"Type of partnership"},{name:"brief",label:"Brief",type:"textarea"}],"Media / Press":[{name:"publication",label:"Publication"},{name:"journalist",label:"Journalist name"},{name:"angle",label:"Story angle",type:"textarea"}],Other:[{name:"message",label:"How can we help?",type:"textarea"}]},d="field",u={"IP Submission":{href:"/ip-vault",label:"Share a story"},"Music Submission":{href:"/demo-vault",label:"Submit your music"},Audition:{href:"/join",label:"See opportunities"}};function m(){let e=(0,l.D)(),t=(0,r.useRef)(null),a=(0,r.useRef)(null),[m,h]=(0,r.useState)(""),[f,p]=(0,r.useState)(!1),[b,x]=(0,r.useState)(""),[g,v]=(0,r.useState)(null),j=(0,r.useRef)(0);function y(){var e;null===(e=t.current)||void 0===e||e.close()}async function N(e){if(e.preventDefault(),f)return;let t=j.current,a={intent:m,...Object.fromEntries(new FormData(e.currentTarget).entries())};p(!0),x("");try{let e=await fetch("/api/knock",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),n=await e.json().catch(()=>({ok:!1}));if(t!==j.current)return;e.ok&&n.ok?v(n.ref||""):x(n.error||"Could not send your message. Please try again or email us below.")}catch(e){t===j.current&&x("Could not connect. Please try again or email us below.")}finally{t===j.current&&p(!1)}}(0,r.useEffect)(()=>{let e=e=>{var n;let r=e.detail,s=null==r?void 0:r.intent;a.current=(null==r?void 0:r.returnFocus)||document.activeElement,j.current+=1,h(s&&o.includes(s)?s:""),x(""),v(null),p(!1),null===(n=t.current)||void 0===n||n.showModal()};return window.addEventListener("opm:knock",e),()=>window.removeEventListener("opm:knock",e)},[]);let P=u[m];return(0,n.jsx)("dialog",{ref:t,"aria-labelledby":"contact-title",onClose:function(){var e;j.current+=1,null===(e=a.current)||void 0===e||e.focus()},className:"fixed inset-0 m-auto max-h-[90dvh] w-[calc(100%-2rem)] max-w-xl overflow-y-auto border border-hairline-strong bg-black p-0 text-fg",children:(0,n.jsxs)("div",{className:"p-6 sm:p-9",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between gap-4 border-b border-hairline pb-4",children:[(0,n.jsx)("p",{className:"micro-label text-gold",children:"Knock OPM"}),(0,n.jsx)("button",{type:"button",onClick:y,"aria-label":"Close contact dialog",className:"flex h-11 w-11 items-center justify-center text-2xl text-gold",children:"\xd7"})]}),(0,n.jsx)("h2",{id:"contact-title",className:"mt-7 font-display text-3xl font-semibold",children:null!==g?"Message received.":"What brings you here?"}),null!==g?(0,n.jsxs)("div",{role:"status",className:"py-6",children:[(0,n.jsx)("p",{className:"text-muted",children:"Thank you for getting in touch. Your message is with the team."}),g?(0,n.jsxs)("p",{className:"micro-label mt-4 text-gold",children:["Reference ",g]}):null,(0,n.jsx)("button",{onClick:y,className:"btn-hairline mt-6",children:"Done"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("label",{className:"mt-7 block",children:[(0,n.jsx)("span",{className:"field-label",children:"Choose a subject"}),(0,n.jsxs)("select",{disabled:f,value:m,onChange:e=>{h(e.target.value),x("")},className:"field",children:[(0,n.jsx)("option",{value:"",children:"Select a subject"}),o.filter(t=>"records"===e.id?["Music Submission","Partnership","Media / Press","Other"].includes(t):"Music Submission"!==t).map(e=>(0,n.jsx)("option",{children:e},e))]})]}),P?(0,n.jsxs)("div",{className:"py-8",children:[(0,n.jsx)("p",{className:"text-sm leading-relaxed text-muted",children:"Use the dedicated page to see the details and send your submission to the right team."}),(0,n.jsxs)(s.default,{href:P.href,onClick:y,className:"btn-hairline mt-5",children:[P.label," â"]})]}
1):m?(0,n.jsxs)("form",{onSubmit:N,className:"mt-6 flex flex-col gap-5","aria-busy":f,children:[(0,n.jsxs)("label",{children:[(0,n.jsx)("span",{className:"field-label",children:"Name *"}),(0,n.jsx)("input",{name:"name",autoComplete:"name",required:!0,maxLength:120,className:d})]}),(0,n.jsxs)("label",{children:[(0,n.jsx)("span",{className:"field-label",children:"Email *"}),(0,n.jsx)("input",{name:"email",type:"email",autoComplete:"email",required:!0,maxLength:254,className:d})]}),(0,n.jsxs)("label",{children:[(0,n.jsx)("span",{className:"field-label",children:"Phone (optional)"}),(0,n.jsx)("input",{name:"phone",type:"tel",autoComplete:"tel",maxLength:30,className:d})]}),(c[m]||[]).map(e=>(0,n.jsxs)("label",{children:[(0,n.jsxs)("span",{className:"field-label",children:[e.label," (optional)"]}),"textarea"===e.type?(0,n.jsx)("textarea",{name:e.name,rows:4,maxLength:5e3,className:d}):(0,n.jsx)("input",{name:e.name,maxLength:300,className:d})]},e.name)),b?(0,n.jsx)("p",{role:"alert",className:"border-l border-gold pl-3 text-sm text-gold",children:b}):null,(0,n.jsx)("button",{type:"submit",disabled:f,className:"btn-hairline justify-center disabled:opacity-60",children:f?"Sendingâ¦":"Send message â"})]}):null]}),(0,n.jsxs)("div",{className:"mt-8 border-t border-hairline pt-5 text-sm text-muted",children:[(0,n.jsx)("p",{children:"Prefer to speak directly?"}),(0,n.jsx)("a",{href:"mailto:".concat(i.PX.Do),className:"mt-2 block w-fit py-2 text-gold",children:i.PX.Do}),(0,n.jsx)("a",{href:"tel:".concat(i.PX.Hd),className:"block w-fit py-2",children:i.PX.m7})]})]})})}},2964:function(e,t,a){"use strict";a.d(t,{BrandProvider:function(){return c},D:function(){return d}});var n=a(9631),r=a(8797),s=a(9463),i=a(3499);
1function l(e){return"/demo-vault"===e||"/records"===e||e.startsWith("/records/")?"records":"cinemas"}let o=(0,r.createContext)({host:"cinemas",split:!1});function c(e){let{host:t,split:a,children:i}=e,c=(0,s.usePathname)()||"/";return(0,r.useEffect)(()=>{document.documentElement.dataset.brand="cinemas"===t?l(c):t},[t,c]),(0,n.jsx)(o.Provider,{value:{host:t,split:a},children:i})}function d(){let{host:e,split:t}=(0,r.useContext)(o),a=(0,s.usePathname)()||"/",n="cinemas"===e?l(a):e;return{id:n,...i[n],href:t=>"cinemas"===e?t:"records"===n?t.replace(/^\/records\/contact$/,"/contact").replace(/^\/records(?=\/|#|$)/,"").replace(/^#/,"/#")||"/":t,sister:e=>t?"https://"+i[e].domain:i[e].root}}},1884:function(e,t,a){"use strict";a.d(t,{Footer:function(){return o}});var n=a(9631),r=a(6419),s=a(6175),i=a(3499),l=a(2964);function o(){let e=(0,l.D)();return(0,n.jsx)("footer",{className:"relative z-10 border-t border-hairline bg-black text-fg",children:(0,n.jsxs)("div",{className:"page-shell py-14",children:[(0,n.jsx)("p",{className:"micro-label text-gold",children:e.name}),(0,n.jsxs)("div",{className:"grid gap-12 py-12 md:grid-cols-3",children:[(0,n.jsx)("nav",{"aria-label":"".concat(e.name," footer"),className:"flex flex-col items-start gap-4",children:e.nav.map(t=>(0,n.jsxs)(r.default,{href:e.href(t.href),children:[t.label," â"]},t.href))}),(0,n.jsxs)("div",{className:"space-y-4 text-sm text-muted",children:[(0,n.jsx)("p",{children:s.Lk.join(", ")}),(0,n.jsx)("a",{className:"block",href:"mailto:".concat(s.PX.Do),children:s.PX.Do}),(0,n.jsx)("a",{className:"block",href:"tel:".concat(s.PX.Hd),children:s.PX.m7})]}),(0,n.jsxs)("nav",{"aria-label":"OPM sister sites",className:"flex flex-col items-start gap-4",children:[(0,n.jsx)("p",{className:"micro-label text-muted",children:"OPM"}),Object.keys(i).filter(t=>t!==e.id).map(t=>(0,n.jsxs)("a",{href:e.sister(t),className:"text-sm text-muted hover:text-gold",children:[i[t].name," â"]},t))]})]}),(0,n.jsxs)("p",{className:"micro-label border-t border-hairline pt-6 text-muted",children:["\xa9 ",new Date().getFullYear()," ",s.Iq," \xb7 ",s.Lk.join(", ")," \xb7 GSTIN"," ",s.BX]})]})})}},20:function(e,t,a){"use strict";a.d(t,{MotionProvider:function(){return c},k:function(){return o},q:function(){return d}});var n=a(9631),r=a(8797),s=a(5332),i=a(9463);let l=(0,r.createContext)({still:!0,ready:!1,paused:!1,toggle:()=>{}}),o=()=>(0,r.useContext)(l);function c(e){let{children:t}=e,[a,o]=(0,r.useState)(!1),[c,d]=(0,r.useState)(!1),[u,m]=(0,r.useState)(!0),h=(0,i.usePathname)();(0,r.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>m(e.matches);t(),o(!0),e.addEventListener("change",t);try{d("true"===localStorage.getItem("opm-motion-paused"))}catch(e){}return()=>e.removeEventListener("change",t)},[]);let f=c||u;return(0,r.useEffect)(()=>{if(document.documentElement.dataset.motion=f?"still":"full",f)return;let e=new IntersectionObserver(t=>{t.forEach(t=>{if(!t.isIntersecting)return;let a=t.target;a.classList.add("spatial-enter"),e.unobserve(a)})},{threshold:.08});return document.querySelectorAll("main > section, main > header, [data-spatial-reveal]").forEach(t=>e.observe(t)),()=>e.disconnect()},[h,f]),(0,n.jsx)(l.Provider,{value:{still:f,ready:a,paused:c,toggle:function(){d(e=>{try{localStorage.setItem("opm-motion-paused",String(!e))}catch(e){}return!e})}},children:(0,n.jsx)(s.A,{reducedMotion:f?"always":"never",children:t})})}function d(){let{paused:e,toggle:t}=o();return(0,n.jsxs)("button",{type:"button",onClick:t,"aria-pressed":e,className:"motion-toggle",title:e?"Resume animation (respects reduced motion)":"Pause all animation",children:[(0,n.jsx)("span",{"aria-hidden":"true",children:e?"â·":"â
¡"}),(0,n.jsxs)("span",{className:"hidden sm:inline",children:[e?"Resume":"Pause"," motion"]}),(0,n.jsxs)("span",{className:"sr-only sm:hidden",children:[e?"Resume":"Pause"," motion"]})]})}},722:function(e,t,a){"use strict";a.d(t,{Navbar:function(){return m}});var n=a(9631),r=a(8797),s=a(6419),i=a(9463);let l=5526/2027;function o(e){let{className:t="",tone:a="gold",src:r="/brand/opm-mark.png",ratio:s=l,label:i="OPM"}=e;return(0,n.jsx)("span",{role:"img","aria-label":i,className:"relative block ".concat(t),style:{aspectRatio:String(s)},children:(0,n.jsx)("span",{"aria-hidden":"true",className:"absolute inset-0 ".concat("gold"===a?"bg-gold":"bg-fg"),style:{WebkitMaskImage:"url(".concat(r,")"),maskImage:"url(".concat(r,")"),WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskSize:"contain",maskSize:"contain",WebkitMaskPosition:"center",maskPosition:"center"}})})}var c=a(20),d=a(6175),u=a(2964);function m(){let e=(0,u.D)(),t=(0,r.useRef)(null),a=(0,r.useRef)(null),l=(0,i.usePathname)();function m(){var e;null===(e=t.current)||void 0===e||e.close()}return(0,r.useEffect)(()=>{var e;null===(e=t.current)||void 0===e||e.close()},[l]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("header",{className:"new-masthead",children:(0,n.jsxs)("nav",{className:"page-shell flex h-20 items-center justify-between gap-5","aria-label":"Main navigation",children:[(0,n.jsx)(s.default,{href:e.href(e.root),"aria-label":"".concat(e.name," â home"),children:(0,n.jsxs)("span",{className:"flex items-center gap-3",children:[(0,n.jsx)(o,{className:"w-16 sm:w-20"}),(0,n.jsx)("span",{className:"micro-label text-gold",children:e.id})]})}),(0,n.jsx)("div",{className:"masthead-links",children:e.nav.map(t=>(0,n.jsx)(s.default,{href:e.href(t.href),"aria-current":l===e.href(t.href)?"page":void 0,children:t.label},t.href))}),(0,n.jsxs)("div",{className:"flex items-center gap-4 sm:gap-6",children:[(0,n.jsx)(c.q,{}),(0,n.jsxs)("button",{ref:a,type:"button",className:"menu-trigger","aria-haspopup":"dialog",onClick:()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.showModal()},children:["Menu ",(0,n.jsx)("span",{"aria-hidden":"true",children:"â°"})]})]})]})}),(0,n.jsx)("dialog",{ref:t,className:"full-menu","aria-labelledby":"menu-title",onClose:()=>{var e;return null===(e=a.current)||void 0===e?void 0:e.focus()},children:(0,n.jsxs)("div",{className:"page-shell",children:[(0,n.jsxs)("div",{className:"flex h-20 items-center justify-between border-b border-hairline",children:[(0,n.jsx)("h2",{id:"menu-title",className:"micro-label text-gold",children:e.name}),(0,n.jsxs)("button",{type:"button",className:"menu-trigger",onClick:m,children:["Close ",(0,n.jsx)("span",{"aria-hidden":"true",children:"\xd7"})]})]}),(0,n.jsxs)("div",{className:"menu-layout",children:[(0,n.jsx)("nav",{"aria-label":"Explore the house",children:e.nav.map((t,a)=>(0,n.jsxs)(s.default,{href:e.href(t.href),onClick:m,"aria-current":l===e.href(t.href)?"page":void 0,className:"menu-destination",children:[(0,n.jsxs)("span",{className:"micro-label text-gold",children:["0",a+1]}),(0,n.jsx)("span",{children:t.label}),(0,n.jsx)("span",{"aria-hidden":"true",children:"â"})]},t.href))}),(0,n.jsxs)("div",{className:"menu-aside",children:[(0,n.jsx)("p",{className:"font-display text-3xl font-medium",children:e.statement}),(0,n.jsx)("p",{className:"mt-6 max-w-xs text-muted",children:e.descriptor}),(0,n.jsx)("a",{className:"mt-12 block text-gold",href:"mailto:".concat(d.PX.Do),children:d.PX.Do})]})]})]})})]})}},6419:function(e,t,a){"use strict";a.d(t,{default:function(){return r.a}});var n=a(7847),r=a.n(n)},9463:function(e,t,a){"use strict";var n=a(9060);a.o(n,"usePathname")&&a.d(t,{usePathname:function(){return n.usePathname}})},4461:function(){},8688:function(e){e.exports={style:{fontFamily:"'__Manrope_73ee6c', '__Manrope_Fallback_73ee6c'",fontStyle:"normal"},className:"__className_73ee6c",variable:"__variable_73ee6c"}},5332:function(e,t,a){"use strict";a.d(t,{A:function(){return o}});var n=a(9631),r=a(8797),s=a(6036),i=a(3248),l=a(3762);function o(e){let{children:t,isValidProp:a,...o}=e;a&&(0,i.K)(a),(o={...(0,r.useContext)(s._),...o}).isStatic=(0,l.h)(()=>o.isStatic);let c=(0,r.useMemo)(()=>o,[JSON.stringify(o.transition),o.transformPagePoint,o.reducedMotion]);return(0,n.jsx)(s._.Provider,{value:c,children:t})}},6036:function(e,t,a){"use strict";a.d(t,{_:function(){return n}});let n=(0,a(8797).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},3248:function(e,t,a){"use strict";a.d(t,{L:function(){return l},K:function(){return i}});let n=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function r(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||n.has(e)}let s=e=>!r(e);function i(e){e&&(s=t=>t.startsWith("on")?!r(t):e(t))}try{i(require("@emotion/is-prop-valid").default)}catch(e){}function l(e,t,a){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(s(i)||
1!0===a&&r(i)||!t&&!r(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}},3762:function(e,t,a){"use strict";a.d(t,{h:function(){return r}});var n=a(8797);function r(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},3499:function(e){"use strict";e.exports=JSON.parse('{"cinemas":{"name":"OPM Cinemas","root":"/","domain":"opmcinemas.com","statement":"Original Pixels in Motion","descriptor":"Films and production.","nav":[{"label":"Films","href":"/cinema"},{"label":"Production","href":"/services"},{"label":"About","href":"/about"},{"label":"Contact","href":"/contacts"}],"opening":{"kicker":"","title":"Original Pixels","secondLine":"in Motion.","description":"","target":"#selected-cinema","action":"Films","note":""},"production":{"kicker":"","title":"Production.","secondLine":"","description":"Kerala.","target":"#services","action":"Services","note":""},"featuredFilms":["rifle-club","maheshinte-prathikaram","ee-ma-yau"]},"records":{"name":"OPM Records","root":"/records","domain":"records.opmcinemas.com","statement":"Original music. Independent voices.","descriptor":"Records.","nav":[{"label":"Releases","href":"/records#releases-featured"},{"label":"Artists","href":"/records/artists"},{"label":"Submit music","href":"/demo-vault"},{"label":"Contact","href":"/records/contact"}],"opening":{"kicker":"","title":"Records.","secondLine":"","description":"","target":"#releases-featured","action":"Releases","note":""}}}')},6175:function(e){"use strict";e.exports=JSON.parse('{"rv":"Original Pixels in Motion","Lk":["Kochi, Kerala"],"PX":{"Do":"[email protected]","m7":"+91 77364 52999","Hd":"+917736452999"},"Iq":"OPM Cinemas LLP","BX":"32AAJFO6967F1Z0","mV":{"gT":"Share a story","Q":"Send an idea, a treatment or a screenplay.","oF":"Submit your music","bx":"Share your music, music video or short film for consideration.","GP":"Selections from artists, filmmakers and music lovers.","H$":"Share a playlist","WT":"Send a Spotify or Apple Music playlist for consideration.","vt":"No playlists yet.","MO":"Share a playlist using the form below."}}')}},function(e){e.O(0,[402,847,103,482,744],function(){return e(e.s=1864)}),_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.