PageSourceSearch

https://insurance.lendingtree.com/form/versions/2.2.531/static/js/PriorConditions.232be7097098d2df6e07.js

js lendingtree.com collected 2026-09-24 06:44:38 UTC 5,835 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 i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}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]="fb6dc6f1-7b09-46b0-91f8-50a6c32150f2",e._sentryDebugIdIdentifier="sentry-dbid-fb6dc6f1-7b09-46b0-91f8-50a6c32150f2")}()}catch(e){}(self.webpackChunkrootpage=self.webpackChunkrootpage||[]).push([[20203],{21140(e,t,n){n.r(t),n.d(t,{default:()=>b});var i=n(20641),s=n(53751),o=n(90033);function l(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var a={class:"wrapper page priorConditions"},d={class:"innerWrapper"},u={id:"priorConditions",class:"picker twoWide oneWide"},c=["id","value","disabled","onClick"];var f=n(82870),h=n(80423),p=n(55968);const m={components:{NavigationFooter:f.A,StepHeader:h.A,TileGrid:p.A},data:function(){var e;return{items:[{text:"Addiction",value:"Addiction"},{text:"Cancer",value:"Cancer"},{text:"Depression",value:"Depression"},{text:"Diabetes",value:"Diabetes"},{text:"Heart Disease",value:"HeartDisease"},{text:"High Blood Pressure",value:"HighBloodPressure"},{text:"None of These",value:"None"}],selectedItemValues:[],show:!1,submit:!1,slideName:"PriorConditions",DesignRefreshQ2Test:null===(e=window.tests)||void 0===e?void 0:e.DesignRefreshQ2Test}},created:function(){this.init(),console.log("Loading: PriorConditions"),window.slideCreated()},mounted:function(){this.show=!0},computed:{priorConditionsPrefill:function(){return this.selectedItemValues.length>0},tileGridItems:function(){return this.items.map(function(e){return{label:e.text,value:e.value,disabled:e.disabled||!1}})}},methods:{handleTileGridSelect:function(e){var t=this,n=e.filter(function(e){return!t.selectedItemValues.includes(e)});n.includes("None")?this.selectedItemValues=["None"]:e.includes("None")&&n.length>0?this.selectedItemValues=e.filter(function(e){return"None"!==e}):this.selectedItemValues=e},updateProp:function(e){var t=this.selectedItemValues.indexOf(e.value);-1!==t?this.selectedItemValues.splice(t,1):this.selectedItemValues.push(e.value),"None"===e.value?this.selectedItemValues=["None"]:this.selectedItemValues.includes("None")&&this.selectedItemValues.shift()},init:function(){if(this.selectedItemValues=JSON.parse(JSON.stringify(window.sessionData.priorConditions)),Array.isArray(this.selectedItemValues)){var e=this.items.map(function(e){return e.value}),t=this.selectedItemValues.filter(function(t){return e.includes(t)});this.selectedItemValues=t,window.sessionData.priorConditions=t}else window.sessionData.priorConditions=[],this.selectedItemValues=[]},submitResponse:function(){this.selectedItemValues&&Array.isArray(this.selectedItemValues)&&0!=this.selectedItemValues.length||(this.selectedItemValues=["None"]),this.submit||(this.submit=!0,nextSlide(this.selectedItemValues),this.show=!1)},complete:function(e){e&&(window.sessionData.priorConditions=e)}}};const b=(0,n(66262).A)(m,[["render",function(e,t,n,r,f,h){var p=(0,i.g2)("StepHeader"),m=(0,i.g2)("TileGrid"),b=(0,i.g2)("NavigationFooter");return(0,i.uX)(),(0,i.CE)("div",a,[(0,i.bF)(s.eB,{name:"slide-fade",persisted:""},{default:(0,i.k6)(function(){return[(0,i.bo)((0,i.Lk)("div",d,[(0,i.bF)(p,{text:"Have you been treated for any of these health conditions?"},{subtitle:(0,i.k6)(function(){return l(t[0]||(t[0]=[(0,i.Lk)("span",{class:"step-header__subtitle"},"Select all that apply",-1)]))}),_:1}),(0,i.Q3)(" DesignRefreshQ2Test -- start "),e.DesignRefreshQ2Test?((0,i.uX)(),(0,i.Wv)(m,{key:0,"button-size":"small",multiselect:"",items:e.tileGridItems,"model-value":e.selectedItemValues,"onUpdate:modelValue":e.handleTileGridSelect},null,8,["items","model-value","onUpdate:modelValue"])):((0,i.uX)(),(0,i.CE)(i.FK,{key:1},[(0,i.Q3)(" DesignRefreshQ2Test -- end "),(0,i.Lk)("ul",u,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(e.items,function(t){return(0,i.uX)(),(0,i.CE)("li",{id:"priorConditions_"+t.value.toLowerCase().replace(/\s/g,"_"),key:t.value,value:t.value,class:(0,o.C4)({selected:e.selectedItemValues.includes(t.value)}),disabled:t.disabled||null,onClick:function(n){return e.updateProp(t)}},(0,o.v_)(t.text),11,c)}),128))])],2112)),(0,i.bF)(b,{"continue-fn":e.submitResponse,"continue-disabled":!e.priorConditionsPrefill||e.submit},null,8,["continue-fn","continue-disabled"])],512),[[s.aG,e.show]])]}),_:1})])}]])}}]);
2//# sourceMappingURL=PriorConditions.232be7097098d2df6e07.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.