PageSourceSearch

https://insurance.lendingtree.com/form/versions/2.2.531/static/js/Tenureship.4952cd46df2c0101ab6c.js

js lendingtree.com collected 2026-09-24 06:45:19 UTC 4,595 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 t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var s in n)n.hasOwnProperty(s)&&(e[s]=n[s])}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:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d0f0c7c1-5a40-4601-a136-628418a406cb",e._sentryDebugIdIdentifier="sentry-dbid-d0f0c7c1-5a40-4601-a136-628418a406cb")}()}catch(e){}(self.webpackChunkrootpage=self.webpackChunkrootpage||[]).push([[61960],{7714(e,t,n){n.r(t),n.d(t,{default:()=>p});var s=n(20641),i=n(53751),a=n(90033),l={class:"wrapper page tenureship"},o={class:"innerWrapper"},u={id:"tenureship",class:"picker oneWide"},d=["id","value","disabled","onClickOnce"];var r=n(82870),c=n(80423),f=n(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:"Tenureship",DesignRefreshQ2Test:null===(e=window.tests)||void 0===e?void 0:e.DesignRefreshQ2Test}},created:function(){this.init(),this.getData(),console.log("Loading: Tenureship"),window.slideCreated()},mounted:function(){this.show=!0},computed:{tenureshipPrefill:function(){if(!this.selectedItemValue)return!1;return["11","24","36","48"].includes(this.selectedItemValue)},tileGridItems:function(){return this.items.map(function(e){return{label:e.name,value:e.value,disabled:e.disabled||!1}})}},methods:{getData:function(){if(0===this.items.length)for(var e=[{value:"11",name:"Less than a year"},{value:"24",name:"1 to 2 years"},{value:"36",name:"2 to 3 years"},{value:"48",name:"4+ years"}],t=0;t<e.length;t++)this.items.push({name:e[t].name,value:e[t].value,class:e[t].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(){var e;(null===(e=sessionData.coverage)||void 0===e?void 0:e.months_insured)>0?this.selectedItemValue=sessionData.coverage.months_insured.toString():this.selectedItemValue=null,this.items&&this.items.forEach(function(e){e&&(e.class=e.value===this.selectedItemValue?"selected":"")})},complete:function(e){if(e){sessionData.coverage.months_insured=0;try{sessionData.coverage.months_insured=parseInt(e.value)}catch(e){console.log(e)}}},handleTileGridSelect:function(e){var t=this.items.find(function(t){return t.value===e});t&&this.updateProp(t)},continueFn:function(){var e=this;if(this.items&&this.selectedItemValue){var t=this.items.find(function(t){return t.value===e.selectedItemValue});t&&this.updateProp(t)}}}};const p=(0,n(66262).A)(h,[["render",function(e,t,n,r,c,f){var h=(0,s.g2)("StepHeader"),p=(0,s.g2)("TileGrid"),m=(0,s.g2)("NavigationFooter");return(0,s.uX)(),(0,s.CE)("div",l,[(0,s.bF)(i.eB,{name:"slide-fade",persisted:""},{default:(0,s.k6)(function(){return[(0,s.bo)((0,s.Lk)("div",o,[(0,s.bF)(h,{text:"How long have you continuously had auto insurance?"}),(0,s.Q3)(" DesignRefreshQ2Test -- start "),e.DesignRefreshQ2Test?((0,s.uX)(),(0,s.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,s.uX)(),(0,s.CE)(s.FK,{key:1},[(0,s.Q3)(" DesignRefreshQ2Test -- end "),(0,s.Lk)("ul",u,[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(e.items,function(t){return(0,s.uX)(),(0,s.CE)("li",{id:"tenureship_"+t.value.toLowerCase().replace(/\s/g,"_"),key:t.value,value:t.value,class:(0,a.C4)(t.class),disabled:t.disabled||null,onClickOnce:function(n){return e.updateProp(t)}},(0,a.v_)(t.name),43,d)}),128))])],2112)),(0,s.bF)(m,{"continue-fn":e.continueFn,"continue-disabled":!e.tenureshipPrefill||e.submit},null,8,["continue-fn","continue-disabled"])],512),[[i.aG,e.show]])]}),_:1})])}]])}}]);
2//# sourceMappingURL=Tenureship.4952cd46df2c0101ab6c.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.