PageSourceSearch

https://www.transitions.com/_next/static/chunks/5284.fb7c8bb5df59ceb3.js

js transitions.com collected 2026-10-02 04:49:22 UTC 4,160 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5284],{25284:(e,n,r)=>{r.r(n),r.d(n,{A:()=>h,a:()=>u,b:()=>C,s:()=>m});var t,o,s,a,i,l=r(90028),c=(0,l.c)("AdobeHelper"),d=(e,n)=>{var r,o,s,a,i,c,d,v,u=new Map;return u.set("AQB","1"),u.set("ndh","1"),u.set("ns","luxottica"),u.set("g",window.location.href),u.set("r",document.referrer),u.set("ch","VirtualMirror"),u.set("server",window.location.hostname),u.set("c1",null==(r=t)?void 0:r.channel),u.set("c2",null==(o=t)?void 0:o.storeId),u.set("c3",null==(s=t)?void 0:s.brand),u.set("c4",null==(a=t)?void 0:a.locale),u.set("c5",e.upc),u.set("c6",null==(i=t)?void 0:i.storeRegion),u.set("c7",null==(c=t)?void 0:c.storeCompany),u.set("c8",null==(d=t)?void 0:d.globalStoreId),u.set("c9",l.v),v=e.lensName&&l.F.isFeatureAuthorized(l.a.VM_TRANSITIONS)?"transition":e.upc?"standard":"undefined",u.set("c11",v),n&&(u.set("v1",n.errorSource),u.set("v2",n.errorCode),u.set("v3",n.errorDetails),u.set("v5",e.upc)),u.set("events",e.eventCode),u.set("pageName","VirtualMirror"),u.set("AQE","1"),u},v=e=>{var n="PRODUCTION"===o?"https://luxottica.d2.sc.omtrdc.net/b/ss/lux-virtualmirror-prod/1?":"https://luxottica.d2.sc.omtrdc.net/b/ss/lux-virtualmirror-dev/1?",r=Array.from(e.keys()).filter(n=>void 0!==e.get(n)).map(n=>encodeURIComponent(n)+"="+encodeURIComponent(e.get(n))).join("&"),t="".concat(n).concat(r);return c.debug("sending adobe analytics event: {}",JSON.stringify({abobeHost:n,entries:[...e.entries()]})),fetch(t,{method:"POST"}).catch(e=>{c.warn("failed to post analytics event {}",JSON.stringify(e))})},u={initialize:(e,n)=>{t=e,o="PRODUCTION"===n?"PRODUCTION":"DEVELOPMENT"},sendEvent:e=>{if(l.F.isFeatureAuthorized(l.a.VM_ANALYTICS))try{var n=d(e);v(n)}catch(e){c.error(e)}},sendError:(e,n)=>{if(!l.F.isInitialized())throw new l.h;if(l.F.isFeatureAuthorized(l.a.VM_ANALYTICS))try{if(["InitializationError","InvalidParametersError","UpcSupportedError","UpcMissingError","WebcamUnavailableError","WebcamRejectedError","MountComponentError","UnmountComponentError"].includes(null==e?void 0:e.type)){var r=d({eventCode:"event8",upc:n},e.adobeErrorParameters);v(r)}}catch(e){c.error(e)}}},m=e=>{i=e?3e5:1/0},E=()=>{a&&(a=Date.now())},p=function(e){try{if(e in s&&void 0!==s[e]){for(var n=arguments.length,r=Array(n>1?n-1:0),t=1;t<n;t++)r[t-1]=arguments[t];s[e](...r)}}catch(n){console.error("Analytics Event Failed",e,n)}},h={initialize:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;E(),s=n,u.initialize(r,e)},onSessionStart:()=>{(!a||Date.now()-a>i)&&(a=Date.now(),u.sendEvent({eventCode:"event1"}),p("onSessionStart"))},onInitializeSuccess:()=>{E(),p("onInitializeSuccess")},onInitializeError:()=>{E(),u.sendError(new l.I),p("onInitializeError")},onRequestWebcam:()=>{E(),u.sendEvent({eventCode:"event2"}),p("onRequestWebcam")},onWebcamAllowed:()=>{E(),u.sendEvent({eventCode:"event3"}),p("onWebcamAllowed")},onWebcamDenied:()=>{E(),u.sendError(new l.W),p("onWebcamDenied")},onWebcamUnavailable:()=>{E(),u.sendError(new l.i),p("onWebcamUnavailable")},onMirrorWasmFailure:()=>{E(),p("onMirrorWasmFailure")},onGlassesOn:()=>{E(),p("onGlassesOn")},onGlassesOff:()=>{E(),p("onGlassesOff")},onRender:e=>{E(),p("onRender",e)},onRenderReady:(e,n)=>{E();var r=b(e,n);u.sendEvent({eventCode:r?"event4:".concat(r):"event4",upc:r,lensName:n}),p("onRenderReady",r)},onMirrorRenderFailure:(e,n)=>{E(),p("onMirrorRenderFailure",b(e,n))},onFitGlasses:(e,n)=>{E();var r=b(e,n);u.sendEvent({eventCode:r?"event5:".concat(r):"event5",upc:r,lensName:n}),p("onFitGlasses")},onAdjustGlasses:(e,n)=>{E();var r=b(e,n);u.sendEvent({eventCode:r?"event6:".concat(r):"event6",upc:r,lensName:n}),p("onAdjustGlasses")},onCloseMirror:()=>{E(),u.sendEvent({eventCode:"event7"}),p("onCloseMirror")},onError:()=>{E(),p("onError")},onScreenshot:(e,n)=>{E();var r=b(e,n);u.sendEvent({eventCode:r?"event9:".concat(r):"event9",upc:r,lensName:n}),p("onScreenshot")},onGlassesRemovalStateChange:e=>{E(),p("onGlassesRemovalStateChange",e)}},b=(e,n)=>n?"".concat(e,"_").concat(n):e,C=Object.freeze({__proto__:null,setSessionTimeout:m,AnalyticsHelper:h})}}]);

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.