PageSourceSearch

https://insurance.lendingtree.com/form/versions/2.2.531/static/js/ContactPreference.f1e57e5d2ee051c4863e.js

js lendingtree.com collected 2026-09-24 06:44:46 UTC 4,879 bytes, 2 lines download raw bytes

1!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"2.2.531"}}catch(e){}}(),function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];if(null!=t)for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:funnel-rootpage-code":!0})}catch(e){}}();try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1a62ed50-59e1-48b5-82a8-90e8d9be2951",e._sentryDebugIdIdentifier="sentry-dbid-1a62ed50-59e1-48b5-82a8-90e8d9be2951")}()}catch(e){}(self.webpackChunkrootpage=self.webpackChunkrootpage||[]).push([[31522],{97232(e,n,t){t.r(n),t.d(n,{default:()=>p});var a=t(20641),i=t(53751),o=t(90033),s={class:"wrapper page contactPreference"},l={class:"innerWrapper"},d={id:"contactPreference",class:"picker oneWide"},u=["id","value","disabled","onClickOnce"];var r=t(82870),c=t(80423),f=t(55968);const h={components:{NavigationFooter:r.A,StepHeader:c.A,TileGrid:f.A},data:function(){var e;return{items:[],selectedItemValue:"",show:!1,submit:!1,slideName:"ContactPreference",DesignRefreshQ2Test:null===(e=window.tests)||void 0===e?void 0:e.DesignRefreshQ2Test}},created:function(){this.init(),this.getData(),console.log("Loading: Contact Preference"),window.slideCreated()},mounted:function(){this.show=!0},computed:{slideLabel:function(){return"We've found matches for you! How would you like to recieve your quotes?"},navigationContinueFn:function(){return this.continueFn},navigationContinueDisabled:function(){return this.submit},tileGridItems:function(){return this.items.map(function(e){return{label:e.name,value:e.value,disabled:e.disabled||!1}})}},methods:{continueFn:function(){var e=this,n=this.items.find(function(n){return n.value===e.selectedItemValue});n&&this.updateProp(n)},getData:function(){if(0===this.items.length)for(var e=[{name:"Email",value:"email"},{name:"Phone",value:"phone"},{name:"Online",value:"online"},{name:"All of These",value:"all"}],n=0;n<e.length;n++)this.items.push({name:e[n].name,value:e[n].value,class:e[n].value===this.selectedItemValue?"selected":"",disabled:!1})},updateProp:function(e){this.submit||(this.items.forEach(function(e){e.class="",e.disabled=!0}),e.class="selected",this.show=!1,this.submit=!0,nextSlide(e))},init:function(){"email"===sessionData.contact.contact_preference||"phone"===sessionData.contact.contact_preference||"online"===sessionData.contact.contact_preference||"all"===sessionData.contact.contact_preference?this.selectedItemValue=sessionData.contact.contact_preference:this.selectedItemValue=null,this.items&&this.items.forEach(function(e){e.class=e.value===this.selectedItemValue?"selected":""})},complete:function(e){e&&(sessionData.contact.contact_preference=e.value,"email"===e.value?window.sessionData.filteredLead="NoPhoneNumber":"phone"===e.value?window.sessionData.filteredLead="NoEmail":"online"===e.value&&(window.sessionData.filteredLead="NoPII"))},handleTileGridSelect:function(e){var n=this.items.find(function(n){return n.value===e});n&&this.updateProp(n)}}};const p=(0,t(66262).A)(h,[["render",function(e,n,t,r,c,f){var h=(0,a.g2)("StepHeader"),p=(0,a.g2)("TileGrid"),m=(0,a.g2)("NavigationFooter");return(0,a.uX)(),(0,a.CE)("div",s,[(0,a.bF)(i.eB,{name:"slide-fade",persisted:""},{default:(0,a.k6)(function(){return[(0,a.bo)((0,a.Lk)("div",l,[(0,a.bF)(h,{text:e.slideLabel},null,8,["text"]),(0,a.Q3)(" DesignRefreshQ2Test -- start "),e.DesignRefreshQ2Test?((0,a.uX)(),(0,a.Wv)(p,{key:0,"button-size":"small",items:e.tileGridItems,"model-value":e.selectedItemValue,"onUpdate:modelValue":e.handleTileGridSelect},null,8,["items","model-value","onUpdate:modelValue"])):((0,a.uX)(),(0,a.CE)(a.FK,{key:1},[(0,a.Q3)(" DesignRefreshQ2Test -- end "),(0,a.Lk)("ul",d,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.items,function(n){return(0,a.uX)(),(0,a.CE)("li",{id:"contactPreference_"+n.value.toLowerCase().replace(/\s/g,"_"),key:n.value,value:n.value,class:(0,o.C4)(n.class),disabled:n.disabled||null,onClickOnce:function(t){return e.updateProp(n)}},(0,o.v_)(n.name),43,u)}
1),128))])],2112)),(0,a.bF)(m,{"continue-fn":e.navigationContinueFn,"continue-disabled":e.navigationContinueDisabled},null,8,["continue-fn","continue-disabled"])],512),[[i.aG,e.show]])]}),_:1})])}]])}}]);
2//# sourceMappingURL=ContactPreference.f1e57e5d2ee051c4863e.js.map

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.