1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5603],{577:(e,a,s)=>{s.r(a),s.d(a,{default:()=>i});let i={src:"https://cdn.picmonic.com/website/_next/static/media/gb.e3bc3d4d.png",height:195,width:400,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAQlBMVEWAjtSxopuvw8Nlbk9ZobPFyspZamfU1d1QQWzCWltGZma3xMZcRkF2h4xmiYnHtpKesreflJyHdX0uSEzGhYG/khm1K5L9AAAAFnRSTlMI3jOUHHUvXiFQWpUv28fpZ0Pnfz9Qb4UAwQAAAAlwSFlzAAALEwAACxMBAJqcGAAAACpJREFUCJkFwYUBACAMA7AOmOH6/6sk8AWIGOA7vXiq4VIZ1HpGYFbVmT4TigEX4MbsJAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4}},41096:(e,a,s)=>{function i(e){window.pendo&&(e.guid?window.pendo.initialize({visitor:{id:e.guid,email:e.email,first_name:e.first_name,last_name:e.last_name,full_name:e.first_name+""+e.last_name,role:e.role,lead:e.lead,cards_mastered:e.cards_mastered,grad_year:e.graduation_year?e.graduation_year:"",subscription_type:e.subscription_type,subscription_expiration:e.expiration,created_at:e.created_at,school_name:e.school?e.school.name:"",preso_wanted:e.school&&e.school.preso_wanted?1:0,referral_purchases:e.referral_purchases,referral_signups:e.referral_signups,referral_code:e.referrer_code,mobile_app_downloaded:e.mobile_app_downloaded?"yes":"no",cards_viewed:e.cards_viewed,spaced_rep_interaction:e.spaced_rep_date?"yes":"no",playlist_created:e.playlist_created?"yes":"no",market_name:e.market&&e.market.name?e.market.name:"",medical_terminology_expiration_date:e.medical_terminology_expiration_date,on_premium_trial:e.on_premium_trial?"yes":"no",approved_educator:e.approved_educator?"yes":"no",student_officer:e.student_officer?e.student_officer:"",subscription_cancelled:e.subscription_cancelled?"yes":"no",is_referred:e.is_referred?"yes":"no",ugc_creator:e.ugc_license?"yes":"no",register_source:e.register_source?e.register_source:"",referrer_name:e?.referrer?.name,institutional_sub:e.institutional_sub}}):window.pendo.initialize({visitor:{}}))}function r(e,a){return window.pendo?.track(e,a)}s.d(a,{G:()=>r,g:()=>i})},52245:(e,a,s)=>{s.d(a,{A:()=>t});var i=s(12115),r=s(39564);function t(){let e,a=(0,i.useRef)(e={token:null,new:()=>(e.token=r.qm.source(),e.token.token),cancel:a=>e.token?.cancel(a),isCancel:r.FZ});return(0,i.useEffect)(()=>()=>a.current.cancel("unmount"),[]),a.current}},52851:(e,a,s)=>{s.d(a,{A:()=>l});var i=s(95155),r=s(39092),t=s.n(r);s(12115);let l=function({size:e,className:a}){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:`jsx-bf2cbc31c21ee54a ${a||""} pls-loading-icon ${e?`pls-loading-icon--${e}`:""}`,children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 128 128",className:"jsx-bf2cbc31c21ee54a icon",children:[(0,i.jsxs)("defs",{className:"jsx-bf2cbc31c21ee54a",children:[(0,i.jsx)("circle",{id:"b",cx:"64",cy:"64",r:"64",className:"jsx-bf2cbc31c21ee54a"}),(0,i.jsxs)("linearGradient",{id:"c",x1:"50%",x2:"50%",y1:"0%",y2:"100%",className:"jsx-bf2cbc31c21ee54a",children:[(0,i.jsx)("stop",{offset:"0%",stopColor:"#FFF",className:"jsx-bf2cbc31c21ee54a"}),(0,i.jsx)("stop",{offset:"100%",stopColor:"#FFF",stopOpacity:"0",className:"jsx-bf2cbc31c21ee54a"})]})]}),(0,i.jsxs)("g",{fill:"none",fillRule:"evenodd",className:"jsx-bf2cbc31c21ee54a",children:[(0,i.jsxs)("g",{className:"jsx-bf2cbc31c21ee54a",children:[(0,i.jsx)("use",{fill:"#000",filter:"url(#a)",xlinkHref:"#b",className:"jsx-bf2cbc31c21ee54a"}),(0,i.jsx)("use",{fill:"#272B33",fillOpacity:".8",xlinkHref:"#b",className:"jsx-bf2cbc31c21ee54a"})]}),(0,i.jsx)("path",{stroke:"url(#c)",strokeLinecap:"round",strokeWidth:"16",d:"M64 112c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64",transform:"matrix(-1 0 0 1 128 0)",className:"jsx-bf2cbc31c21ee54a"})]})]})}),(0,i.jsx)(t(),{id:"bf2cbc31c21ee54a",children:"@keyframes pls-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.pls-loading-icon.jsx-bf2cbc31c21ee54a{display:inline-block;box-shadow:0 2px 8px 0 rgba(0,0,0,.5)}.pls-loading-icon.jsx-bf2cbc31c21ee54a .icon{animation:pls-spin 1.2s infinite linear;vertical-align:bottom}.pls-loading-icon.jsx-bf2cbc31c21ee54a,.pls-loading-icon.jsx-bf2cbc31c21ee54a .icon{width:24px;height:24px;border-radius:24px;line-height:24px}.pls-loading-icon--x-small.jsx-bf2cbc31c21ee54a,.pls-loading-icon--x-small.jsx-bf2cbc31c21ee54a .icon{width:14px;
1height:14px;border-radius:14px;line-height:14px}.pls-loading-icon--small.jsx-bf2cbc31c21ee54a,.pls-loading-icon--small.jsx-bf2cbc31c21ee54a .icon{width:16px;height:16px;border-radius:16px;line-height:16px}.pls-loading-icon--medium.jsx-bf2cbc31c21ee54a,.pls-loading-icon--medium.jsx-bf2cbc31c21ee54a .icon{width:64px;height:64px;border-radius:64px;line-height:64px}.pls-loading-icon--large.jsx-bf2cbc31c21ee54a,.pls-loading-icon--large.jsx-bf2cbc31c21ee54a .icon{width:128px;height:128px;border-radius:128px;line-height:128px}"})]})}},64875:(e,a,s)=>{s.d(a,{A:()=>l});var i=s(95155),r=s(12115),t=s(88624);function l(e,a){let[s,l]=(0,r.useState)(!1),n=(0,r.useCallback)(()=>{l(!0)},[l]),c=(0,r.useCallback)(()=>{l(!1)},[l]);return{showModal:n,hideModal:c,ModalComponent:r=>(0,i.jsx)(t.A,{open:s,onClose:c,...a,children:(0,i.jsx)(e,{...r})})}}},76869:(e,a,s)=>{s.d(a,{Ay:()=>f,ur:()=>b,vu:()=>m});var i=s(95155),r=s(12115),t=s(73321),l=s(99551),n=s(83833),c=s(41096),o=s(99295),d=s(52245);let u={user_id:null},p=r.createContext({user:u,setUser:e=>null,userResolved:!0,isLoading:!1}),m=({children:e})=>{let[a,s]=(0,r.useState)(u),[m,b]=(0,r.useState)(!1),[f,g]=(0,r.useState)(!1),x=(0,t.usePathname)(),h=(0,t.useSearchParams)(),_=h?.get("api_key"),{showRegisterModal:w}=(0,n.T3)(),A=(0,d.A)();return(0,r.useEffect)(()=>{let e;_&&(window.location.href=(e=`/tl-bypass-login-form?redirect=${x}`,h.toString()&&(e+=`&${h.toString()}`),e))},[_,x,h]),(0,r.useEffect)(()=>{A.cancel(),g(!0),l.A.get("v2/user",{cancelToken:A.new()}).then(({data:e})=>{e.user_id&&s(e),e.user_id&&!e.lead&&w(!1,void 0,{user:e}),b(!0)}).catch(e=>{A.isCancel(e)||console.error(e)}).finally(()=>g(!1))},[w,A]),(0,r.useEffect)(()=>{if(!m)return;(0,c.g)(a),a.user_id&&(gtag("set",{user_id:a.user_id}),gtag("event","market_id_dimension",{market_id:a.lead}),gtag("set","user_properties",{marketId:a.lead,subscription_status:a.subscription_type}));let e=null;try{e=window.localStorage.getItem("premium_user_event")}catch(e){}if(a.user_id&&!a.is_trial&&!e){window.send_ga&&window.send_ga("event","premium_user","1"),window.fbq&&window.fbq("track","Subscribe");try{localStorage.setItem("premium_user_event","1")}catch(e){}}let s=()=>{(0,o.g)(a)};return window.addEventListener("onEmbeddedMessagingReady",s),()=>{window.removeEventListener("onEmbeddedMessagingReady",s)}},[a,m]),(0,i.jsx)(p.Provider,{value:{user:a,setUser:s,userResolved:m,isLoading:f},children:e})},b=()=>(0,r.useContext)(p),f=p},83833:(e,a,s)=>{s.d(a,{YO:()=>_,T3:()=>w});var i=s(95155),r=s(12115),t=s(99551),l=s(73321),n=s(37206),c=s(88624),o=s(82849),d=s(64875),u=s(39092),p=s.n(u),m=s(36857);let b=function({close:e,title:a,url:s}){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"jsx-8d72e64fba22e3d9 modal-header",children:[(0,i.jsx)(m.A,{className:"pull-right pls-wet-cement clickable",role:"button",tabIndex:0,onClick:()=>e()}),(0,i.jsx)("span",{className:"jsx-8d72e64fba22e3d9 modal-header-title pls-pricing-link-modal-header-title",children:a})]}),(0,i.jsx)("div",{className:"jsx-8d72e64fba22e3d9 modal-body",children:(0,i.jsx)("iframe",{id:"pricing_modal",src:s,title:a,className:"jsx-8d72e64fba22e3d9 pricing_modal"})}),(0,i.jsx)(p(),{id:"8d72e64fba22e3d9",children:".pricing_modal.jsx-8d72e64fba22e3d9{width:100%;min-height:85vh;height:100%;border:none;margin-bottom:-4px}.modal-header.jsx-8d72e64fba22e3d9{border-top-left-radius:4px;border-top-right-radius:4px;display:block;height:48px;background-color:#e6e6e6;font-family:Raleway,sans-serif;font-weight:bold;line-height:1.33;color:#000}.modal-body.jsx-8d72e64fba22e3d9{padding:0}"})]})};var f=s(76869);let g=(0,n.default)(()=>Promise.all([s.e(8089),s.e(852),s.e(8991),s.e(9003),s.e(9098),s.e(3634),s.e(2221),s.e(5722),s.e(8058)]).then(s.bind(s,18058)),{loadableGenerated:{webpack:()=>[18058]},loading:()=>(0,i.jsx)("div",{children:"Loading..."})}),x=(0,n.default)(()=>s.e(4604).then(s.bind(s,54604)),{loadableGenerated:{webpack:()=>[54604]},loading:()=>(0,i.jsx)("div",{children:"Loading..."})}),h=r.createContext({showRegisterModal:()=>null,showIFrameModal:(e,a)=>null}),_=({children:e})=>{let{user:a}=(0,f.ur)(),[s,n]=(0,r.useState)(!1),[u,p]=(0,r.useState)(!1),m=(0,l.useSearchParams)(),_=m?.get("register"),w=m?.get("redirect"),A=m?.get("login"),j=o.A.get("pls_register_confirmed"),{showModal:v,hideModal:k,Mod
1alComponent:y}=(0,d.A)(x,{maxWidth:"lg",slotProps:{paper:{className:"register-confirmation-modal"}}}),C=(0,r.useCallback)((e,a,s)=>p({login:e,redirect:a,config:s}),[]);(0,r.useEffect)(()=>{_&&C(!1,w)},[_,w,C]);let N=a.user_id&&!a.lead,E=!!u;(0,r.useEffect)(()=>{let e=o.A.get("pls_user_lead");e&&N?t.A.put("v2/user",{lead:e}).then(()=>{p(!1)}):N&&(E?p(e=>e&&{...e,config:{...e.config,user:a}}):C(!1,void 0,{user:a}))},[N,C,a,E]),(0,r.useEffect)(()=>{A&&C(!0,w)},[A,w,C]);let F=(0,r.useCallback)((e,a,s)=>{n({title:e,url:a,size:s})},[]),S=()=>n(!1);return(0,r.useEffect)(()=>{"0"===j&&v()},[j,v]),(0,i.jsxs)(h.Provider,{value:{showRegisterModal:C,showIFrameModal:F},children:[e,(0,i.jsx)(c.A,{open:!!u,maxWidth:"lg",slotProps:{paper:{className:"registration-cta-modal"}},children:!!u&&(0,i.jsx)(g,{...u,close:()=>p(!1)})}),(0,i.jsx)(c.A,{open:!!s,onClose:S,fullWidth:!0,maxWidth:s&&s.size||"lg",children:!!s&&(0,i.jsx)(b,{...s,close:S})}),(0,i.jsx)(y,{onClose:k})]})},w=()=>(0,r.useContext)(h)},99295:(e,a,s)=>{function i(e){e?.user_id&&window.embeddedservice_bootstrap.prechatAPI.setVisiblePrechatFields({_email:{value:e?.email},_firstName:{value:e?.first_name},_lastName:{value:e?.last_name}})}function r(e){window.embeddedservice_bootstrap.prechatAPI.setVisiblePrechatFields({_subject:{value:e}}),window.embeddedservice_bootstrap.utilAPI.launchChat()}s.d(a,{Z:()=>r,g:()=>i})}}]);
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.