PageSourceSearch

https://wde-pci.shutterfly.com/application/sso-fe/_next/static/chunks/3301-4aaa0cce72b25c44.js

js shutterfly.com collected 2026-10-01 08:44:27 UTC 10,631 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3301],{1840:(e,t,a)=>{a.d(t,{Ft:()=>T,Ib:()=>m,Nz:()=>E,OC:()=>h,PT:()=>y,QU:()=>I,dy:()=>S,fq:()=>_,h6:()=>p,mU:()=>g,mj:()=>d});var r=a(10663),n=a(15048),i=a(94716),o=a(80889),l=a(79788),s=a(44929),u=a(72975),c=a(43610);function d(e){return{type:n.g6,parsedQueryString:e}}function p(e){return{type:n.Bl,signedOut:e}}function m(e,t){return null!=e&&!t&&(0,r.dE)().app.centralConfig.show_downtime_msg&&(e="Sorry! Our site is experiencing issues at this time. Please try again."),{type:n.U,pageLevelErrorMessage:e}}function f(e,t,a){let n=(0,c.EH)(),l={headers:{"x-api-key":o.default.getApigeeKey(),"sfly-transactionid":n,noodle:n,gsid:(0,r.dE)().app.gsid}};return i.A.get(`${e}/iplookup?ip=${t}`,l).then(e=>{if(e.data){let{countryCode:n,countryName:i,latitude:o,longitude:l,postalCode:s,regionCode:u,regionName:c}=e.data;return a&&a((0,r.Md)({geoInformation:{ip:t,countryCode:n,countryName:i,latitude:o,longitude:l,postalCode:s,regionCode:u,regionName:c}})),{...e.data,ip:t}}}).catch(a=>{let r={key:"iplookup",action:"IP Lookup",state:"Failure",message:`Failed to get information about ip address ${t}`,cause:a,parameter:{identityBaseUrl:e,ip:t,component:"applicationActions.ts",method:"iplookup"}};(0,s.logError)(r)})}function g(e,t,a){return(0,r.dE)().app.geoInformation?Promise.resolve():t?f(e,t,a):u.A.getIpAddress().then(t=>{if(t?.data?.ip){if(!(0,l.R6)()){let t=(0,r.dE)().app.ipSpoof;if(t)return f(e,t,a)}return f(e,t.data.ip,a)}(0,s.logError)({key:"setGeoInfo_getIpAddress",action:"Set Geo Info - Get IP Address",state:"Failure",message:"No ip address received from ipify.",parameter:{component:"applicationActions.ts",method:"setGeoInfo_getIpAddress"}})}).catch(a=>{(0,s.logError)({key:"setGeoInfo_getIpAddress",action:"Set Geo Info - Get IP Address",state:"Failure",message:"Failed to get the IP data from userService.getIpAddress",cause:a,parameter:{identityBaseUrl:e,ip:t,component:"applicationActions.ts",method:"setGeoInfo_getIpAddress"}})})}let E=e=>({type:n.$o,payload:e});function h(){return{type:n.xJ}}function _(e){return{type:n.RK,payload:e}}let I=e=>({type:n.gU,payload:e}),y=e=>({type:n.RE,payload:e}),S=e=>({type:n.yM,payload:e}),T=e=>({type:n.E2,payload:e})},15048:(e,t,a)=>{a.d(t,{$l:()=>n,$o:()=>g,Bl:()=>u,D_:()=>i,E2:()=>I,Kq:()=>o,RE:()=>h,RK:()=>S,U:()=>s,WF:()=>m,WW:()=>f,eU:()=>p,g6:()=>l,gU:()=>E,hQ:()=>r,qk:()=>c,xJ:()=>y,yB:()=>d,yM:()=>_});let r="FORM_INPUT_ON_CHANGE",n="FORM_ON_ERRORS",i="FORM_PROCESSING",o="FORM_SET_ERROR_ORIGIN",l="APP_SET_QUERY_STRING_TO_STATE",s="APP_SET_PAGE_ERROR",u="APP_SET_SIGNED_OUT",c="MIGRATE_SET_BRAND_SIGNIN_TOKEN",d="MIGRATE_SET_SHOW_CONGRATULATION",p="MIGRATE_SET_STATUS_CODE",m="SET_TEMPORARY_RESET_PASSWORD_DATA",f="SAVE_PASSWORD_STRENGTH",g="SET_UPDATE_PASSWORD",E="SET_SOCIAL_ERROR",h="SET_SOCIAL_LOGIN_IN_PROGRESS",_="SET_EXPIREDLINK_POPUP",I="SET_MIGRATEDLINK_POPUP",y="CLOSE_PASSWORD_RESET_REQUIRED",S="SHOW_RECAPTHA_IMAGE"},25230:(e,t,a)=>{a.d(t,{DD:()=>l,HJ:()=>m,NH:()=>c,Qn:()=>d,Yp:()=>s,_C:()=>o,dz:()=>n.dz,io:()=>u,kP:()=>p});var r=a(32743),n=a(43610),i=a(15048);function o(e){return{type:i.D_,processing:e}}function l(e){return{type:i.$l,errors:e}}function s(e){return{type:i.hQ,e}}function u(e){return{type:i.WW,payload:e}}function c(e){return{type:i.Kq,formErrorOrigin:e}}let d=e=>({type:i.WF,payload:e});function p(e,t){let{elements:a}=e;for(let e=a.length,r=0;r<e;r++)if(a[r].name===t)return a[r].value;return null}function m(e,t){if(!t||!t.sanitizeForm)return{sanitizedForm:e,validations:t,restore:()=>{}};{let a=(0,r.collectFormValues)(e,t.sanitizeForm);for(let n in e=(0,r.collectFormValues)(e),a){let r=t[n];r&&r.format&&!r.format.autoTrim&&(a[n]=e[n])}let n=t.sanitizeForm;return delete t.sanitizeForm,{sanitizedForm:a,validations:t,restore:()=>{t.sanitizeForm=n}}}}},32132:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(95155),n=a(12115),i=a(91992);let o=({message:e,className:t})=>{let a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{e&&a.current&&a.current.focus()},[e]),e?(0,r.jsx)("p",{id:"pageLevelError",ref:a,role:"alert","aria-live":"polite","aria-atomic":"true",tabIndex:-1,
1className:t||"error",dangerouslySetInnerHTML:{__html:i.A.sanitize(e)}}):null}},48547:(e,t,a)=>{a.d(t,{A:()=>f});var r=a(95155),n=a(12115),i=a(32743),o=a(43610),l=a(73720),s=a(93213),u=a(10663),c=a(25230),d=a(73923),p=a(15080);let m=()=>{let{translate:e,locale:t}=(0,d.U)();return(0,r.jsxs)("div",{className:"restricted-message-container tooltip-container",tabIndex:0,"aria-label":"AriaLaBel",children:[(0,r.jsx)(p.Icon,{selected:!1,size:"22x22",type:"notifications.information"}),(0,r.jsx)(p.Tooltip,{customClass:"tooltip",variant:"default",children:e("warningMessages.limit_reached_message",{hours:(0,o.Hd)(l.Tp,t)})})]})},f=({focusOnInputField:e,handleMaxlengthForNumber:t,handleInputChange:a,wyngCallBack:d,callBackForWyngEnable:f,inputName:g,validationConstraints:E,inputType:h="text",errorMessage:_,inputLabel:I,tabIndex:y=null,maxLength:S=32,placeholder:T,disabled:v=!1,className:N=null,labelClassName:R="",autoComplete:A,changeBgcolor:x="",defaultValue:P,isMobileNumber:F,ref:O,value:b,hasDisabledMessage:w,readOnly:C=!1})=>{let G=(0,s.j)(),{userType:j}=(0,s.G)(e=>e.app),{shouldFocusFormField:$}=(0,s.G)(e=>e.form);(0,n.useEffect)(()=>{$===g&&W?.current&&(W.current.focus(),G((0,u.Cc)()))},[$]);let k=e=>{let t=(""+e).replace(/\D/g,"").match(/^(\d{0,3})(\d{0,3})(\d{0,4})$/);if(t){let e="";return t[1]&&(e=`(${t[1]}`),t[2]&&(e+=`) ${t[2]}`),t[3]&&(e+=`-${t[3]}`),e}return e},D={...{userType:j,form:(0,s.G)(e=>e.form),icon:(0,s.G)(e=>e.icon)},focusOnInputField:e,handleMaxlengthForNumber:t,handleInputChange:a,wyngCallBack:d,callBackForWyngEnable:f,inputName:g,validationConstraints:E,inputType:h,errorMessage:_,inputLabel:I,tabIndex:y,maxLength:S,placeholder:T,disabled:v,className:N,labelClassName:R,autoComplete:A,changeBgcolor:x,defaultValue:P,isMobileNumber:F,ref:O,value:b,hasDisabledMessage:w,onInputChange:e=>{G((0,u.hQ)((0,c.Yp)(e).e))},onFormErrors:e=>{G((0,u.$l)((0,c.DD)(e).errors))}},[M,U]=(0,n.useState)({}),L=(0,n.useRef)(!1);(0,n.useState)(()=>{L.current||(L.current=!0,function(e){let t;if(e.defaultValue)if(("email"===e.inputName||"firstName"===e.inputName||"lastName"===e.inputName)&&"GUEST"==e.userType);else{let a=e.defaultValue;e.isMobileNumber&&(a=k(a));let r={currentTarget:{name:e.inputName,value:a}};t=""!==r.currentTarget.value?r.currentTarget.value:void 0,e.onInputChange(r)}U({...M,value:t,autoFill:!1,showPassword:!1})}(D))});let W=n.createRef();D.ref&&(W=D.ref),(0,n.useEffect)(()=>{D.focusOnInputField&&(D.focusOnInputField&&W.current.focus(),W.current&&W.current.addEventListener&&W.current.addEventListener("animationstart",e=>{switch(e.animationName){case"onAutoFillStart":return void U({...M,autoFill:!0});case"onAutoFillCancel":return void U({...M,autoFill:!1})}}))},[D.focusOnInputField]),(0,n.useEffect)(()=>{let e;if(D.value){let t={currentTarget:{name:D.inputName,value:D.value}};e=""!==t.currentTarget.value?t.currentTarget.value:void 0,D.onInputChange(t),U({...M,value:e,autoFill:!0})}else U({...M,value:e,autoFill:!1})},[D.value]);let z=()=>{let e=!M.showPassword;U({...M,showPassword:e})};function H(e){return e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/"))?e:""}let B=["input-field-container"];N&&B.push(N);let K=M.autoFill;return(0,r.jsx)(n.Fragment,{children:(0,r.jsxs)("div",{className:B.join(" "),children:[(0,r.jsxs)("div",{className:`input-field ${_?"input-field-error":""} ${x}`,children:[(0,r.jsx)("input",{type:"password"===D.inputType&&M.showPassword?"text":D.inputType,value:M.value,id:g,"aria-label":I,name:g,tabIndex:y,onChange:e=>{!function(e){let{handleMaxlengthForNumber:t}=D,a=""!==e.currentTarget.value?e.currentTarget.value:"";if("email"===D.inputName&&(a=a.trim(),e.currentTarget.value=a),D.handleInputChange&&D.handleInputChange(e),t)a.length<=Number(t)?(U({...M,value:String(a)}),D.onInputChange(e)):e.currentTarget.value="";else if(D.isMobileNumber){let t=k(a);U({...M,value:t}),D.onInputChange(e)}else U({...M,value:a}),D.onInputChange(e)}(e)},onBlur:e=>{!function(e){let{validateOnBlur:t}=D.form.globalSettings||{};if(e&&e.target&&e.target.parentElement&&e.target.parentElement.classList.remove("input-focused"),t){let e=(0,o.dz)((0,i.single)(M.value,D.validationConstraints)||null),t={};t[D.inputName]=e,D.onFormErrors(t)}}(e)},onFocus:e=>{e&&e.target&&e.target.parentElement&&e.target.parentElement.classList.add("input-focused"),D.wyngCallBack&&D.callBackForWyngEnable()},"aria-required":"true",maxLength:S,placeholder:T,disabled:v,readOnly:C,className:"with-icon",autoComplete:A||"on",ref:W,onKeyDown:e=>
1t?l.$f.includes(e.key)&&e.preventDefault():"","aria-invalid":_?"true":"false"}),"password"===h&&(0,r.jsx)("div",{className:"icon-wrapper",tabIndex:.1,onKeyPress:e=>{"Enter"===e.key&&z()},children:(0,r.jsx)(p.Button,{id:`${D.inputName}ShowHideButton`,tag:"button",size:"compact",ariaLabel:M.showPassword?"Hide password":"Show password",customClass:"icon",type:"button",onClick:()=>z(),props:{tabIndex:-1},children:function(){let{passwordShow:e,passwordHide:t,passwordShowError:a,passwordHideError:n}=D.icon;if("password"===D.inputType){let i=null;i=M.showPassword?D.errorMessage?n:t:D.errorMessage?a:e;let o={backgroundImage:`url(${H(i?.src)})`};return(0,r.jsx)("div",{className:"button-image",style:o,children:(0,r.jsx)("img",{src:H(i?.src),alt:"icon button",fetchPriority:"high",loading:"eager",tabIndex:-1})})}return null}()})}),D.hasDisabledMessage&&(0,r.jsx)("div",{style:{color:"#6A707C",fontSize:"14px",display:"flex",marginBottom:"20px"},children:(0,r.jsx)("span",{className:"info-icon-container","aria-label":"dialog",style:{marginRight:"6px",marginTop:"4px"},children:(0,r.jsx)(m,{})})}),_&&(0,r.jsx)("div",{className:"error-icon-wrapper",tabIndex:-1,children:(0,r.jsx)("i",{tabIndex:-1,children:(0,r.jsx)("span",{className:"error-icon"})})}),(0,r.jsx)("label",{htmlFor:g,className:`with-icon${K?" autofill":""} ${_&&"errorLabel"} ${R}`,children:I})]}),(0,r.jsx)("div",{id:`${D.inputName}ErrorMessage`,className:`error-label${_?" error-label-padding":""}`,children:_})]})})}},73923:(e,t,a)=>{a.d(t,{U:()=>n});var r=a(93213);function n(){let{translations:e,locale:t,theme:a}=(0,r.G)(e=>e.content);return{translate:function(t,a={}){let r=!("params"in a)&&!("fallback"in a),n=r?a:a.params,i=r?t:a.fallback??t,o=t.split(".").reduce((e,t)=>e&&"object"==typeof e?e[t]:void 0,e);return"string"!=typeof o?i:n||r?o.replace(/%\((\w+)\)s/g,(t,i)=>{let o=r?a[i]:n?.[i];return"companyName"!==i||o?String(o??`%(${i})s`):e.company?.name||""}):o},locale:t,theme:a,translations:e}}}}]);

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.