1Store.Params={U:"u",Email:"email",FirstName:"firstName",LastName:"lastName",PromoCode:"promoCode",Campaign:"campaign",CouponCode:"couponCode",Quantity:"quantity",Buy:"buy",Purchase:"purchase",Referrer:"referrer",Source:"source",Store:"store"},Store.Delivery={SuccessFrag:"success",LicenseTokenKey:"licToken"};function Store(e){this._suppressOnDelivery=e}Store.prototype.connectBuyButtons=function(e){let t=document.querySelectorAll(".buy");for(let n=0;n<t.length;++n){let s=t[n];s.href=e,s.addEventListener("click",this.__buyDidClick.bind(this))}},Store.prototype.storeParams=function(){if(!this._storeParams){const e=new URLSearchParams(window.location.search);let o=e.get(Store.Params.Campaign),t;o||(t=e.get(Store.Params.PromoCode),t||(t=e.get(Store.Params.CouponCode)),t||(t=""));let n=parseInt(e.get(Store.Params.Quantity));(isNaN(n)||n<=0)&&(n=1);let s=e.get(Store.Params.Referrer);s||(s=e.get(Store.Params.Source));let i=e.get(Store.Params.FirstName),a=e.get(Store.Params.LastName),r=e.get(Store.Params.Email),c=e.get(Store.Params.U),l=e.get(Store.Params.Buy)!=null||e.get(Store.Params.Purchase)!=null;this._storeParams={email:r,firstName:i,lastName:a,quantity:n,promoCode:t,campaign:o,referrer:s,buy:l,u:c}}return this._storeParams},Store.prototype.effectivePromoCode=function(){let t=this.storeParams(),e=t.campaign;return e||(e=t.promoCode),e},Store.prototype.checkOpenOnLoad=function(){!this._suppressOnDelivery&&this.storeParams().buy&&this.postOpen(this.getReferrer())},Store.prototype.open=function(){return!0},Store.prototype.postOpen=function(e){this.open(e,!0)},Store.prototype.getReferrer=function(e){let n=this.storeParams(),t=n.referrer;return t||(t=sessionStorage.getItem(StaticPage.Params.Referrer)),e&&(t?t+=","+e.id:t=e.id),t},Store.prototype.__buyDidClick=function(e){return!!this.open(this.getReferrer(e.currentTarget),!1)&&(e.preventDefault(),!0)},Store.prototype.storedPrice=function(){return typeof StoredPrice!="undefined"?StoredPrice:null},Store.prototype.needsPrice=function(){let e=this.storedPrice();return!!(e&&!e.price())},Store.prototype.priceDidComplete=function(e,t){StoredPrice.set(e,t),this.notifyPriceDidFinish()},Store.prototype.priceDidFail=function(e){console.log("Failed to retrieve price: "+(e?e.message:"(none)")),this.notifyPriceDidFinish()},Store.prototype.notifyPriceDidFinish=function(){};const RequestStatus={};RequestStatus.State={None:0,Progress:1,Ready:2,Error:3},RequestStatus.Error={Offline:0,Status:1,Body:2},RequestStatus.Progress={Sending:0,Registering:1,Updating:2,Searching:3,Redeeming:4},RequestStatus.newError=function(e,t,n,s){let o={url:n,request:s};switch(t&&(o.detail=t.message),e){case RequestStatus.Error.Offline:o.message="The Internet connection appears to be down.";break;case RequestStatus.Error.Status:o.message="Our server has declined the request.",o.reportable=!0,o.retriable=!0;break;case RequestStatus.Error.Body:o.message="Something went wrong on our server.",o.reportable=!0,o.retriable=!0;break;default:console.assert(!1,"Invalid case for request error state");break}return o},RequestStatus.newProgress=function(e){switch(e){case RequestStatus.Progress.Sending:return{message:"Sendingâ¦"};case RequestStatus.Progress.Registering:return{message:"Registeringâ¦"};case RequestStatus.Progress.Updating:return{message:"Updatingâ¦"};case RequestStatus.Progress.Searching:return{message:"Searchingâ¦"};case RequestStatus.Progress.Redeeming:return{message:"Redeemingâ¦"};default:console.assert(!1,"Invalid case for request progress state");break}},typeof StoredPrice!="undefined"&&(StoredPrice.price=function(){return this._price},StoredPrice.country=function(){return this._country},StoredPrice.set=function(e,t){if(e!=this._price&&(this._price=e,sessionStorage.setItem(StoreFactory.storeName()+"Price",e),this.updateAllPrices()),t!=this._country){this._country=t;let e=StoreFactory.storeName()+"Country";t?sessionStorage.setItem(e,t):sessionStorage.removeItem(e)}},StoredPrice.updateAllPrices=function(){if(this._price){let e=document.querySelectorAll(".buy-price");for(let t=0;t<e.length;++t)e[t].innerText=this._price}});const Prospect={};Prospect._URL="https://backend.lilyviewapp.com<no value>
1",Prospect._Params={Email:"email"},Prospect.fetch=async function(e,t,n){const o={method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify({email:e,langID:window.navigator.language,send:t})};let s=await JSONResponse.fetch(Prospect._URL,o);if(!s){n.prospectDidFail(RequestStatus.newError(RequestStatus.Error.Offline,null,Prospect._URL,o));return}if(s.status()!=200){if(s.hasParamError(Prospect._Params.Email)){n.prospectDidFailInvalidEmail();return}n.prospectDidFail(RequestStatus.newError(RequestStatus.Error.Status,new Error(s.toString()),Prospect._URL,o));return}n.prospectDidComplete(s.data())},Style.hasClass=function(e,t){return e.classList.contains(t)},Style.restartAnimation=function(e){e.style.animation="none",e.offsetHeight,e.style.animation=null};let ThisPage;StaticPage.Params={Source:"source",Referrer:"referrer"};function StaticPage(e,t){ThisPage=this,UserAgentMobile.initialize(),this._dialogFormStack=new DialogFormStack,this._store=new window[StoreFactory.storeClass()](t);let s=document.querySelector(".dialog-static");s&&(this._staticForm=new StaticDialogForm(s),ThisPage.dialogFormStack().rootFrame().setForm(this._staticForm));let o=new URLSearchParams(window.location.search),n=o.get(StaticPage.Params.Referrer);n||(n=o.get(StaticPage.Params.Source)),n&&sessionStorage.setItem(StaticPage.Params.Referrer,n)}StaticPage.prototype.dialogFormStack=function(){return this._dialogFormStack},StaticPage.prototype.store=function(){return this._store},window.addEventListener("pageshow",function(e){if(e.persisted)return;typeof Page=="undefined"?new StaticPage:ThisPage=new Page});function DialogPage(e,t){this._elem=e,this._delegate=t,this._elem.addEventListener("submit",this.__formDidSubmit.bind(this));let n=e.querySelectorAll(".dialog-button-default");for(let e=0;e<n.length;++e)n[e].addEventListener("click",this.__defaultButtonDidClick.bind(this));this._inputs=e.querySelectorAll("input[type=text], input[type=email], input[type=number], textarea");for(let e=0;e<this._inputs.length;++e)this._inputs[e].addEventListener("input",this.__inputDidChange.bind(this))}DialogPage.prototype.element=function(){return this._elem},DialogPage.prototype.form=function(){return this._form},DialogPage.prototype.setForm=function(e){this._form=e},DialogPage.prototype.setDisabled=function(e){Style.setClass(this._elem,"dialog-page-disabled",e)},DialogPage.prototype.focus=function(){},DialogPage.prototype.checkValidity=function(){for(let e=0;e<this._inputs.length;++e)Style.setClass(this._inputs[e],"dialog-input-error-required",!0),Style.setClass(this._inputs[e],"dialog-input-error-required-focused",!0);return this._elem.checkValidity()},DialogPage.prototype.resetValidity=function(){for(let e=0;e<this._inputs.length;++e)Style.setClass(this._inputs[e],"dialog-input-error-required",!1),Style.setClass(this._inputs[e],"dialog-input-error-required-focused",!1)},DialogPage.prototype.willSubmit=function(){},DialogPage.prototype.submit=function(e){this.checkValidity()&&(this.willSubmit(),(!this._delegate||!this._delegate.pageDelegateDidSubmit(this,e))&&this._elem.submit())},DialogPage.prototype.buttonStates=function(){return{close:!1,back:!1,options:!1}},DialogPage.prototype.__inputDidChange=function(e){Style.setClass(e.currentTarget,"dialog-input-error-required",!0),Style.setClass(e.currentTarget,"dialog-input-error-required-focused",!1)},DialogPage.prototype.__formDidSubmit=function(e){e.preventDefault(),this.submit(e)},DialogPage.prototype.__defaultButtonDidClick=function(e){e.preventDefault(),this.submit(e)},DialogPage.prototype.flexible=function(){return Style.hasClass(this._elem,"dialog-page-flexible")},DialogPage.prototype.rigidTransient=function(){return Style.hasClass(this._elem,"dialog-page-rigid-transient")},DialogPage.prototype.setSelected=function(e){Style.setClass(this._elem,"dialog-page-selected",e)},DialogPage.prototype.setRigidSelected=function(e){Style.setClass(this._elem,"dialog-page-rigid-selected",e)},Object.setPrototypeOf(DialogEmailInputPage.prototype,DialogPage.prototype);function DialogEmailInputPage(e,t,n,s){DialogPage.call(this,e,t),this._emailInput=document.getElementById(n),s&&(this._emailInput.value=s)}DialogEmailInputPage.prototype.email=function(){return this._emailInput.value},DialogEmailInputPage.prototype.consentedValidEmail=function(){return this._emailInput.validity.valid?this._emailInput.value:""},Object.setPrototypeOf(DialogProgressPage.prototype,DialogPage.prototype);function DialogProgressPage(e){DialogPage.call(this,e,null),this._msgElem=e.querySelector(".dialog-msg")}DialogProgressPage.prototype.setMessage=function(e){this._msgElem.innerText=e?e.message:""},Object.setPrototypeOf(DialogErrorPage.prototype,DialogPage.prototype);function DialogErrorPage(e,t){DialogPage.call(this,e,t),this._retri
1able=!1,this._msgElem=e.querySelector(".dialog-msg"),this._detailElem=e.querySelector(".dialog-error-detail"),this._reportLink=e.querySelector(".dialog-error-report"),this._retryLink=e.querySelector(".dialog-error-retry"),this._reloadLink=e.querySelector(".dialog-error-reload")}DialogErrorPage.prototype.setMessage=function(e){let t=e.detail?e.detail:"";this._msgElem.innerText=e.message,this._detailElem.innerText=t,e.reportable&&(this._reportLink.href="mailto:[email protected]?subject=Reporting%20a%20problem%20in%20your%20online%20store&body="+encodeURIComponent(e.message+(t?` 2`+t:"")+(e.url?` 3`+e.url:"")+(e.request?` 4`+JSON.stringify(e.request):""))),Style.setClass(this._reportLink,"dialog-error-reportable",e.reportable),this._retriable=e.retriable,Style.setClass(this._retryLink,"dialog-button-default",e.retriable),Style.setClass(this._reloadLink,"dialog-button-default",!e.retriable)},DialogErrorPage.prototype.retriable=function(){return this._retriable};function DialogForm(e,t){this._elem=e,this._switcherElem=this._elem.querySelector(".dialog-page-switcher"),this._pages=t;for(let e=0;e<t.length;++e)t[e].setForm(this);this._pageIndex=-1,this._rigidPermSelIndex=this.__defaultRigidSelectedIndex(),this._rigidSelIndex=this._rigidPermSelIndex,this._switcherElem.addEventListener("transitionend",this.__transitionDidEnd.bind(this))}DialogForm.prototype.pages=function(e){return this._pages[e]},DialogForm.prototype.element=function(){return this._elem},DialogForm.prototype.resetValidity=function(){for(let e=0;e<this._pages.length;++e)this._pages[e].resetValidity()},DialogForm.prototype.pageIndex=function(){return this._pageIndex},DialogForm.prototype.submitCurrentPage=function(){this._pageIndex>=0&&this._pages[this._pageIndex].submit()},DialogForm.prototype.setInactive=function(e){this._inactive=e,Style.setClass(this._elem,"dialog-form-inactive",e),e&&Style.setClass(this._switcherElem,"dialog-page-switcher-animating",!1)},DialogForm.prototype.__defaultRigidSelectedIndex=function(){for(let e=0;e<this._pages.length;++e){let t=this._pages[e];if(!t.rigidTransient()&&!t.flexible())return t.setRigidSelected(!0),e}return-1},DialogForm.prototype.setRigidSelectedIndex=function(e){e!=this._rigidPermSelIndex&&(this._pages[this._rigidPermSelIndex].setRigidSelected(!1),this._rigidPermSelIndex=e,this._pages[this._rigidPermSelIndex].setRigidSelected(!0))},DialogForm.prototype.setPageFromCurrent=function(e){this._pageIndex<0||this._pageIndex>=this._pages.length?this.setPage(null,e):this.setPage(this._pages[this._pageIndex],e)},DialogForm.prototype.setPageFromSelf=function(e){this.setPage(this._pages[e],e)},DialogForm.prototype.setPage=function(e,t){e?e.form()==this&&e.setSelected(!1):e=this._pages[this._rigidSelIndex];let o=e.element().offsetHeight,n;t>=0&&(n=this._pages[t],n.setSelected(!0),t!=this._rigidSelIndex&&(n.flexible()?this._rigidSelIndex!=this._rigidPermSelIndex&&(this._pages[this._rigidSelIndex].setRigidSelected(!1),this._rigidSelIndex=this._rigidPermSelIndex,this._pages[this._rigidSelIndex].setRigidSelected(!0)):(this._pages[this._rigidSelIndex].setRigidSelected(!1),this._rigidSelIndex=t,n.rigidTransient()||(this._rigidPermSelIndex=t),n.setRigidSelected(!0))));for(let e=0;e<this._pages.length;++e)this._pages[e].setDisabled(!0);n&&(n.setDisabled(!1),n.focus()),this._pageIndex=t;let s=n?n.element().offsetHeight:0,i=e&&n&&o!=s;if(i){let e=Style.hasClass(this._switcherElem,"dialog-page-switcher-animating");e||(this._switcherElem.style.transition="none",Style.setClass(this._switcherElem,"dialog-page-switcher-animating",!0),this._elem.style.setProperty("--dialog-page-animated-height",o+"px"),this._switcherElem.offsetHeight,this._switcherElem.style.transition=null),this._elem.style.setProperty("--dialog-page-animated-height",s?s+"px":"")}},DialogForm.prototype.__transitionDidEnd=function(e){e.propertyName==="height"&&e.currentTarget==this._switcherElem&&Style.setClass(this._switcherElem,"dialog-page-switcher-animating",!1)};function StaticDialogForm(e){this._elem=e}StaticDialogForm.prototype.submitCurrentPage=function(){let e=this._elem.querySelectorAll(".dialog-form form");for(let t=0;t<e.length;++t){let n=e[t],s=window.getComputedStyle(n).display;
4if(s!="none"){n.checkValidity()&&n.submit();break}}};function DialogFormStackFrame(){}DialogFormStackFrame.prototype.form=function(){return this._form},DialogFormStackFrame.prototype.setForm=function(e){return this._form=e};function DialogFormStack(){this._frames=[new DialogFormStackFrame],document.addEventListener("keydown",this.__keyDidPress.bind(this))}DialogFormStack.prototype.rootFrame=function(){return this._frames[0]},DialogFormStack.prototype.pushFormStack=function(e){this._frames.push(e)},DialogFormStack.prototype.popFormStack=function(e){let t=this._frames.indexOf(e);t>=0&&this._frames.splice(t,1)},DialogFormStack.prototype.__keyDidPress=function(e){if(e.key==="Enter"&&e.target.tabIndex==-1){let t=this._frames[this._frames.length-1],e=t.form();e&&e.submitCurrentPage()}},JSONResponse.ParamValue={CodeInvalidParameter:"InvalidParameter",CodeNotFound:"NotFound"};function JSONResponse(e,t){this._status=e,this._body=t}JSONResponse.prototype.status=function(){return this._status},JSONResponse.prototype.data=function(){return this._body?this._body.data:{}},JSONResponse.prototype.toString=function(){let e="Status: "+this._status;return this._body&&(e+=", Body: "+JSON.stringify(this._body)),e},JSONResponse.prototype.hasError=function(e,t,n){if(this._status==e&&this._body&&Array.isArray(this._body.errors))for(let e=0;e<this._body.errors.length;++e){let s=this._body.errors[e];if(s.code===n&&s.param===t)return!0}return!1},JSONResponse.prototype.hasParamError=function(e){return this.hasError(422,e,JSONResponse.ParamValue.CodeInvalidParameter)},JSONResponse.prototype.hasUnauthorizedError=function(e){return this.hasError(401,e,JSONResponse.ParamValue.CodeInvalidParameter)},JSONResponse.prototype.hasNotFoundError=function(e){return this.hasError(404,e,JSONResponse.ParamValue.CodeNotFound)},JSONResponse.fetch=async function(e,t){let n;try{n=await fetch(e,t)}catch(t){return console.log("Fetch error: "+t.message+", url: "+e),null}let s;try{s=await n.json()}catch{}return new JSONResponse(n.status,s)}
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.