PageSourceSearch

https://nuimagemedical.com/assets/js/components/enrollment/enrollm…nding-page.39e6ea69b6945d9b1790364196830.js

js nuimagemedical.com collected 2026-09-26 04:03:38 UTC 1,535,287 bytes, 2 lines download raw bytes

1/*! For license information please see enrollment-landing-page.39e6ea69b6945d9b1790364196830.js.LICENSE.txt */
2(self.webpackChunk=self.webpackChunk||[]).push([[8277,9572,4001,4293,5965,2414,6455],{63032:(t,e,n)=>{"use strict";n.d(e,{rE2:()=>o});var r=n(3933),i=n.n(r),o={name:"CheckCircleIcon",props:{size:{type:String,default:"24",validator:t=>!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}},functional:!0,render(t,e){const n="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",r=e.data.attrs||{};return r.width=r.width||n,r.height=r.height||n,e.data.attrs=r,t("svg",i()([{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},e.data]),[t("path",{attrs:{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z","clip-rule":"evenodd"}})])}}},3933:t=>{var e=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,r){var i,o,a,s,l;for(a in r)if(i=t[a],o=r[a],i&&e.test(a))if("class"===a&&("string"==typeof i&&(l=i,t[a]=i={},i[l]=!0),"string"==typeof o&&(l=o,r[a]=o={},o[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)i[s]=n(i[s],o[s]);else if(Array.isArray(i))t[a]=i.concat(o);else if(Array.isArray(o))t[a]=[i].concat(o);else for(s in o)i[s]=o[s];else t[a]=r[a];return t}),{})}},24197:(t,e,n)=>{"use strict";function r(t,e){var n,r,i,o=[];if("ed"===e){var a=t.find((function(t){return"primary_ed_concern"===t.name})),s=t.find((function(t){return"symptom_duration"===t.name})),l=t.find((function(t){return"symptom_severity"===t.name})),u=t.find((function(t){return"recent_ed_experiences"===t.name})),c=t.find((function(t){return"previous_ed_diagnosis"===t.name}));null!=a&&a.answer&&o.push("Your <strong>primary concern</strong>: ".concat(a.answer)),null!=s&&s.answer&&o.push("How long you've experienced symptoms: <strong>".concat(s.answer,"</strong>")),null!=l&&l.answer&&o.push("Your symptom severity level: <strong>".concat(l.answer,"/10</strong>")),"Yes"===(null==c?void 0:c.answer)&&o.push("Mention your <strong>previous ED diagnosis</strong> and any treatments you've tried"),null!=u&&u.answer&&Array.isArray(u.answer)&&u.answer.length>0&&!u.answer.includes("None of the above")&&(o.push("Describe how ED has affected your life, including:"),u.answer.forEach((function(t){"None of the above"!==t&&o.push("&nbsp;&nbsp;- ".concat(t))})))}if("weight_loss"===e){var d=t.find((function(t){return"reason_for_weight_loss"===t.name})),h=t.find((function(t){return"weight_management_duration"===t.name})),f=t.find((function(t){return"weight_concern_severity"===t.name})),p=t.find((function(t){return"prior_weight_loss_attempts"===t.name})),w=t.find((function(t){return"glp1_usage_status"===t.name})),m=t.find((function(t){return"glp1_medications_used"===t.name}));null!=d&&d.answer&&o.push("Your <strong>main reason</strong> for seeking treatment: ".concat(d.answer)),null!=h&&h.answer&&o.push("How long you've struggled with weight: <strong>".concat(h.answer,"</strong>")),null!=f&&f.answer&&o.push("Your concern level: <strong>".concat(f.answer,"/10</strong>")),null!=p&&p.answer&&Array.isArray(p.answer)&&p.answer.length>0&&!p.answer.includes("None")&&(o.push("Previous weight loss methods you've tried:"),p.answer.forEach((function(t){"None"!==t&&o.push("&nbsp;&nbsp;- ".concat(t))}))),null!=w&&w.answer&&"I have never taken a GLP-1 medication"!==w.answer&&(o.push("<strong>GLP-1 medication experience</strong>: ".concat(w.answer)),null!=m&&m.answer&&Array.isArray(m.answer)&&m.answer.length>0&&(o.push("Specific GLP-1 medications used:"),m.answer.forEach((function(t){o.push("&nbsp;&nbsp;- ".concat(t))}))))}var v=t.find((function(t){return"height_weight_bmi"===t.name})),g=t.find((function(t){return"allergies"===t.name})),y=(t.find((function(t){return"medications"===t.name})),t.find((function(t){return"conditions"===t.name}))),b=t.find((function(t){return"current_medications"===t.name}));
2return null!=v&&null!==(n=v.answers)&&void 0!==n&&n.bmi&&o.push("Your current BMI: <strong>".concat(v.answers.bmi,"</strong>")),null!=g&&null!==(r=g.answers)&&void 0!==r&&r.allergies&&Array.isArray(g.answers.allergies)&&g.answers.allergies.length>0&&!g.answers.allergies.includes(11)&&o.push("Mention any <strong>allergies</strong> that might affect treatment options"),null!=y&&null!==(i=y.answers)&&void 0!==i&&i.conditions&&Array.isArray(y.answers.conditions)&&y.answers.conditions.length>0&&!y.answers.conditions.includes(16)&&o.push("Discuss your <strong>medical conditions</strong> and how they might relate to treatment"),null!=b&&b.answer&&Array.isArray(b.answer)&&b.answer.length>0&&o.push("List all <strong>current medications</strong> you're taking"),o.length>0&&o.push("Explain what you hope to achieve with treatment"),o}n.d(e,{a:()=>r})},66438:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{f:()=>l});var s={programs:["ed"],hideForTrueRefills:!0,type:"checklist",hideContinueButton:!1,answer:null,validAnswer:"None",validate:function(t){return!!t.answer||"Please select an answer."}},l=[o(o({},s),{},{hideForTrueRefills:!0,name:"previously_treated",autoFillProperty:"patient.ed_info.previously_treated",text:"Have you ever been treated for ED? This includes medications prescribed or purchased over the counter, and any other treatments.",options:["Viagra/Sildenafil","Cialis/Tadalafil","Levitra/Vardenafil","Other (pumps, penile injections, penile implants, supplements, herbs, otc products)"],show:function(){return!1}}),{name:"previously_treated_dosage",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.previously_treated_dosage",programs:["ed"],show:function(){return!1},answer:null,validAnswer:"5mg",validate:function(t){return!!t.answer||"Please enter the dosage of our previous treatment."}},{name:"side_effects",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.side_effects",programs:["ed"],hideContinueButton:!1,show:function(){return!1},answer:null,validAnswer:"Yes, pain",validate:function(t){return!!t.answer||"Please select an answer."}},{name:"problems_getting_erections",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.problems_getting_erections",programs:["ed"],answer:null,validAnswer:"Yes, every time",validate:function(t){return!!t.answer||"Please select an answer."},show:function(){return!1}},{name:"how_did_it_begin",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.how_did_it_begin",programs:["ed"],answer:null,validAnswer:"Gradually but has worsened over time",validate:function(t){return!!t.answer||"Please select an answer."},show:function(){return!1}},o(o({},s),{},{hideForTrueRefills:!0,name:"erections_when",autoFillProperty:"patient.ed_info.erections_when",text:"Do you get erections when?",options:["When masturbating","When you wake up"],show:function(){return!1}}),{name:"masturbating_stay_hard",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.masturbating_stay_hard",programs:["ed"],show:function(){return!1},answer:null,validAnswer:"Yes, but only rarely",validate:function(t){return!!t.answer||"Please select an answer."}},{name:"wake_up_frequency",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.wake_up_frequency",programs:["ed"],show:function(){return!1},answer:null,validAnswer:"Rarely",validate:function(t){return!!t.answer||"Please select an answer."}},{name:"recent_exam_results",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.recent_exam_results",programs:["ed"],hideContinueButton:!1,answer:null,validAnswer:"Yes, it was normal",validate:function(t){var e=t.answer;if("No"===e)throw"To be enrolled in our ED program, you should first have a physical exam completed by your primary doctor within the past 6 months. Leave some feedback or check back with us once completed.";return!!e||"Please select an answer."},show:function(){return!1}},o(o({},s),{}
2,{hideForTrueRefills:!0,name:"ed_other_conditions",autoFillProperty:"patient.ed_info.ed_other_conditions",text:"Do you have any of the following conditions? Select all that apply. Some cases of ED are best managed by a healthcare provider you visit in person.",options:["For health reasons or any others, you have been advised not to have sex.","HIV","Severe low blood pressure","Prior heart attack","Clotting or bleeding disorder","Stroke or severe insufficiency of the autonomic nervous system","Any personal or family history of QT prolongation","Sickle cell anaemia, myeloma, or leukemia","Retinitis pigementosa or anterior ischemic optic neuropath","Idiopathic hypertrophic subaortic stenosis","Surgery or radiation to the prostrate or pelvis","Kidney transplant or any condition affecting the kidney","Liver disease","Multiple sclerosis (MS) or similar disease, spinal injuries or paralysis, or neurological disease","Stomach, intestinal, or bowel ulcers","Heart arrhythmias, which is an abnormal beating of the heart","Any acquired, congential or developmental abnormalities of the heart including heart murmurs"],show:function(){return!1}}),o(o({},s),{},{name:"medications_taken",autoFillProperty:"patient.ed_info.medications_taken",text:"Death can result if ED meds are used in conjunction with other medications. Please, be accurate. I use or have used...",options:["Medicine containing nitrates","Any medication called an alpha blocker. They are used high blood pressure or prostate problems. Including Cardura (doxazosin), Coreg (carvedilol), Flomax (tamsulosin), Hytrin (terazosin), Minipress (prazosin), Rapaflo (silodosin), Regitine or Oraverse (phentolamine), Trandate (labetalol), Uraxatral (alfuzosin)","Nitroglycerin in any form—as a spray, tablet, patch or ointment! Names include: Deponit, Minitran, Nitrek, Nitro-Bid, Nitrocot, Nitrodisc, Nitro-Dur, Nitrogard, Nitroglyn, Nitrol, Nitrolingua, Nitrolingual, NitroMist, Nitrong, Nitronol, Nitro-Par, Nitroquick, Nitrostat, Nitrotab, NitroTime, Transdermal-Nitro","Sildenafil (Revatio) used to treat pulmonary hypertension","Isosorbide mononitrate or Isosorbide dinitrate. (Dilatrate, Dilatrate–SR, Imdur, Ismo, Isordil, Monoket, Sorbitrate)","Adempas (Riociquat), which is used to treat pulmonary hypertension"],validate:function(t){var e=t.answer;if(e&&e.toLowerCase().includes("nitroglycerin"))throw"Sorry, we aren't able to offer ED Products to any one taking Nitroglycerin in any form at this time. However, we would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can.";return!0},show:function(){return!1}}),o(o({},s),{},{name:"recreational_drugs",autoFillProperty:"patient.ed_info.recreational_drugs",text:"Death can result if ED meds are used in conjunction with recreational drugs. Have you, or are you currently using any of the following recreational drugs?",options:["Poppers or Rush","Amly Nitrate or Butyl Nitrate","Cocaine","Molly (MDMA, ecstasy)","Other"],show:function(){return!1}}),o(o({},s),{},{name:"penis_conditions",autoFillProperty:"patient.ed_info.penis_conditions",text:"Do you have any of these conditions? Select all that apply.",options:["A marked curve or bend in the penis, that interferes with sex or peyronie's disease","Pain with erections or with ejaculations","A foreskin that is too tight","Fibrous tissue with the penis(lumps and bumps that feel hard)"],show:function(){return!1}})]},18120:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEac
2h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:()=>l});var s={programs:["hair loss"],type:"checklist",hideContinueButton:!1,answer:null,validAnswer:"None",validate:function(t){return!!t.answer||"Please select an answer."}},l=[o(o({},{programs:["general"],type:"radio",hideContinueButton:!1,answer:null,validAnswer:"None",validate:function(t){var e=t.answer;return!!(e&&e.length>0&&null!=e&&""!==e&&"None"!==e)||"Please select an answer."},options:["Not very often","A couple times per week","Daily"]}),{},{hideForTrueRefills:!0,name:"when_did_you_notice",autoFillProperty:"patient.hairloss_info.when_did_you_notice",programs:["hair loss"],text:"How long ago did you first notice any signs of hair loss?",options:["Recently (within the last month)","Within the last 6 months","In the last year","I want to prevent it before it starts","Other"]}),o(o({},s),{},{hideForTrueRefills:!0,name:"where_did_you_notice",autoFillProperty:"patient.hairloss_info.where_did_you_notice",programs:["hair loss"],show:function(t){var e=t.questions.find((function(t){return"when_did_you_notice"===t.name})).answer;return e&&!e.toLowerCase().includes("prevent")},text:"Where did you first notice hair loss?",options:["I have a receding hairline","I am getting a bald spot on the crown of my head","Both hairline and crown","It's patchy with some odd hair loss all over my scalp"]}),o(o({},s),{},{hideForTrueRefills:!0,name:"symptoms",autoFillProperty:"patient.hairloss_info.symptoms",programs:["hair loss"],text:"I have experienced the following hair loss symptoms (Select all that apply)",options:["Thinning of the front of hairline","Thinning on the top of the scalp","Dandruff","Gradual loss on head","Losing hair all over my body","Pain or burning of your scalp","Red rings on scalp","Other"]})]},10028:(t,e,n)=>{"use strict";n.d(e,{R:()=>u});var r=n(1642);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l={programs:["hrt","wsp","trt","pct","testosterone"],type:"yes-or-no",answer:null,validAnswer:!1,validate:function(t){return null!=t.answer||"Please select an option."}},u=[a(a({},l),{},{hideForTrueRefills:!0,name:"arrhythmia_history",autoFillProperty:"patient.hrt_female_patient.arrhythmia_history",femaleOnly:!0,programs:["hrt"],text:"Are you allergic or have history of arrhythmia when taking to glycine?",validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";return null!=e||"Please select an answer."},show:function(t){var e,n,r=t.selectedProducts;return(null==r||null===(e=r.products)||void 0===e?void 0:e.product)&&427==(null==r||null===(n=r.products)||void 0===n?void 0:n.product.product_id)}}),a(a({},l),{},{hideForTrueRefills:!0,name:"arrhythmia_history",autoFillProperty:"patient.hrt_male_patient.arrhythmia_history",maleOnly:!0,programs:["hrt"],text:"Are you allergic or have history of arrhythmia when taking to glycine?",validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";return null!=e||"Please select an answer."},show:function(t){t.selectedProducts;return!0}}),a(a({},l),{},{hideForTrueRefills:!0,name:"female_pregnant",autoFillProperty:"patient.female_conditions.is_pregnant",programs:["general"],femaleOnly:!0,text:"Are you currently pregnant?"}),{name:"female_last_menstrual_cycle",validateFields:r.hn,hideForTrueRefills:!0,autoFillProperty:"patient.female_conditions.last_menstrual_cycle",autoFillPropertyType:"date",programs:["general"],femaleOnly:!0,answer:null,validAnswer:"12/31/2018",validate:function(t){var e=t.answer;return!(null==e||null!=e&&e.includes("_")||isNaN(new Date(e).getTime()))||"Please enter a valid date."}},{name:"enclomiphene_have_blood_work",programs:["trt"],answer:null,hideContinueButton:!1,validateFields:function(t){return t.answer?[]:[{field:"answer",message:"you need to upload your blood w
2ork to continue"}]},validate:function(t){return!!t.answer||"you need to upload your blood work to continue"},show:function(t){var e,n=t.selectedProducts,r="456,457".split(",").map((function(t){return t.trim()})),i=null==n||null===(e=n.products)||void 0===e?void 0:e.product,o=(null==i?void 0:i.product_id)||(null==i?void 0:i.id);return 13===Number(null==i?void 0:i.program_id)&&r.includes(String(o))},text:"Have you had blood work containing the following panels in the last 90 days?"}]},10509:(t,e,n)=>{"use strict";n.d(e,{I:()=>l});var r,i=n(1642);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){var e=Date.now()-t.getTime(),n=new Date(e);return Math.abs(n.getUTCFullYear()-1970)}var l=[{name:"coupon",programs:["general"],hideContinueButton:!0,answer:null,show:function(){return!1},validate:function(t){var e=t.answer;return!e||(!(!e.code||!e.valid)||"Please enter a valid coupon code.")}},{name:"gender",autoFillProperty:"patient.gender",text:"What is your biological sex?",programs:["general"],answer:null,validAnswer:"Male",options:["Male","Female"],show:function(){return!0},validate:function(t){var e,n,r,i,o=t.answer,a=t.programs,s=t.selectedProducts;if(console.log("Gender validation =>",o),"Female"===o&&a.includes("testosterone"))throw"Sorry, we aren't able to offer Testosterone products to females at this time. However, we would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can.";if("Female"===o&&a.includes("ed"))throw"Sorry, we aren't able to offer ED products to females at this time. However, we would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can.";if("Male"===o&&a.includes("wsp"))throw"Sorry, we aren't able to offer women sexual performance products to males at this time. However, we would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can.";if("Female"===o&&a.includes("hair loss")&&432===(null==s||null===(e=s.products)||void 0===e||null===(n=e.product)||void 0===n?void 0:n.product_id))throw"NuDew Max is only available to biological males at this time. Please try NuDew Regular instead. We would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can.";if("Female"===o&&a.includes("trt")&&(null!==(r="456,457")?r:"").includes(null!=s&&null!==(i=s.products)&&void 0!==i&&i.product?s.products.product.product_id.toString():""))throw"ENCLOMIPHENE CITRATE is only available to biological males at this time. Please try NuDew Regular instead. We would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can.";return!!(null!==o&&""!==o||["Male","Female","Non-binary"].includes(o))||"Please select your gender."}},{name:"dob",validateFields:i.hn,autoFillProperty:"patient.dob",autoFillPropertyType:"date",programs:["general"],answer:null,validAnswer:"01/01/1990",show:function(){return!0},validate:function(t){var e=t.answer;if(null==e||null!=e&&e.includes("_")||isNaN(new Date(e).getTime()))return"Please enter a valid date.";if(s(new Date(e))<18)throw"Unfortunately, our products aren't available to people under 18. However, we would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can.";if(s(new Date(e))>130)throw"Unfortunately, our products aren't available to people over 130. However, we would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can.";return!0}},{name:"height_weight_bmi",validateFields:i.KX,hideForTrueRefills:function(t,e){return"weight_loss"===t&&"FL"===e},autoFillProperties:{height:"patient.height",weight:"patient.weight",bmi:"patient.bmi",bp:"patient.blood_pressure",bpm:"patient.pulse"},programs:["general"],answers:{height:null,weight:null,bmi:null,bp:null,bpm:null},validAnswers:{height:"6' 3\"",weight:"180",bmi:"28",bp:"120/80",bpm:"60"},validate:function(t){var e=t.answer,n=t.questions,r=t.states,i=t.programs,o=t.selectedProducts;if(!e.height||""===e.height)return"Please enter your height.";if(!e.weight||""===e.weight)return"Please enter your weight.";if(e.weight>1800)return"Please enter a valid weight value (in IBS)";var a=e.height.split(/([^\d])/),s=.0254*(12*Number(a[0])+Number(a[4])),l=.453592*e.weight/(s*s);if(e.bmi=Math.round(100*l)/100,null===e.bmi||""===e.bmi)return"Please enter your BMI.";if(i.includes("weight_loss")){var u=n.find((function(t){return"state"===t.name}));if(u&&u.answer){var c,d,h,f=r.find((function(t){return t[1]==u.answer}));(function(t,e,n){t>=25||!(t<27&&"FL"===e[1])&&(t>=23&&["403","471","473"].includes(String(n)))})(e.bmi,f,null!==(c=null==o||null===(d=o.products)||void 0===d||null===(h=d.product)||void 0===h?void 0:h.product_id)&&void 0!==c?c:0)}}return null!==e.bp&&""!==e.bp&&/^([1-9]\d{1,2}|[1-9])\/([1-9]\d{1,2}|[1-9])$/.test(e.bp)?!(null==e.bpm||""==e.bpm||0==e.bpm||"0"==e.bpm||e.bpm<=10)||"Please enter your pulse.":"Please enter your blood pressure."}},{name:"allergies",validateFields:i.g0,autoFillProperties:{allergies:"patient.allergies"},programs:["general"],hideForTrueRefills:!0,answers:{allergies:[],other_allergies:null},validAnswers:{allergies:[1],other_allergies:null},validate:function(t){var e=t.answer,n=t.selectedProducts,r=(0,i.g0)({answer:e});if(r.length)return r[0].message;if(null!=n&&n.product&&("ub"===n.products.selected_program||Object.keys(n.products.ultra_burn).length>1)&&e.allergies.includes(1))throw new EnrollmentError("sulfa-UB-allergy","Sulfa Drug Allergy to Ultra Burn Detected!","You currently do not qualify for this program due to potential allergic reactions from <b>Sulfa</b> which is an active ingredient in the product <b>Ultra Burn</b>");return!0}},{name:"medications",validateFields:i.TS,autoFillProperties:{medications:"patient.medications"},hideForTrueRefills:!0,programs:["general"],answers:{medications:[],other_medications:null},validAnswers:{medications:[1],other_medications:null},validate:function(t){var e=t.answer,n=(0,i.TS)({answer:e});return!n.length||n[0].message}},{name:"conditions",validateFields:i.LR,autoFillProperties:{conditions:"patient.conditions"},hideForTrueRefills:!0,programs:["general"],answers:{conditions:[],other_conditions:null},validAnswers:{conditions:[1],other_conditions:null},validate:function(t){var e=t.answer,n=(0,i.LR)({answer:e});return!n.length||n[0].message}},{name:"current_medications",validateFields:i.a0,autoFillProperty:"patient.prescribed_meds",hideForTrueRefills:!0,programs:["general"],answer:[],enabled:null,validate:function(t){var e=t.answer;if(!t.enabled)return!0;
2if(e.filter((function(t){return!(t.medication&&t.strength&&t.dosage&&t.date_last_taken)})).length)return"Please enter the information for each medication.";var n=e.filter((function(t){return t.date_last_taken.includes("_")||isNaN(new Date(t.date_last_taken).getTime())}));return!n.length||"Please enter a valid date last taken for each medicine."}},(r={name:"video-introduction",validateFields:function(t){return t.answer?[]:[{field:"answer",message:"You need to record an introductory video."}]},programs:["general"],hideForTrueRefills:!0},a(r,"programs",["general"]),a(r,"dontSkipForSupplement",!1),a(r,"hideContinueButton",!1),a(r,"answer",null),a(r,"validate",(function(t){return!!t.answer||"You need to record an introductory video."})),r)]},4436:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{r:()=>s});var s=[{name:"government_id_card_upload",validateFields:function(t){return t.answer?[]:[{field:"answer",message:"A picture of a government issued id card is required."}]},autoFillProperty:"patient.id_card.filename",programs:["general"],hideContinueButton:!1,answer:null,validate:function(t){return!!t.answer||"A picture of a government issued id card is required."}},{name:"photo-upload",validateFields:function(t){return t.answer?[]:[{field:"answer",message:"Looks like you are missing a photo."}]},hideForTrueRefills:function(t,e){return"weight_loss"===t&&"FL"===e},programs:["weight_tain","hair loss","hairloss","wsp","ed","skin","hrt","pct","ub","sleep"],dontSkipForSupplement:!0,hideContinueButton:!1,answer:null,validate:function(t){return!!t.answer||"Looks like you are missing a photo."}},{name:"shipping",showForRefillOrders:!1,hideForTrueRefills:!0,hideContinueButton:!0,programs:["general"],dontSkipForSupplement:!0,answer:{method:null,signature_waiver:{signature:null,required:!1}},show:function(){return!1},validate:function(t){var e=t.answer;return null==e.method?"Please select your shipping preference.":!e.signature_waiver.required||null!==e.signature_waiver.signature||"Please sign the waiver before moving on."}},o(o({},{programs:["weight_loss"],type:"state_tnc",hideContinueButton:!0,answer:!1,validate:function(t){return!0===t.answer||"Please agree to the terms and condition."},show:function(t){return"FL"===t.questions.find((function(t){return"state"===t.name})).answer}}),{},{name:"t_and_c",programs:["weight_loss"],showForRefillOrders:!1,hideForTrueRefills:!0,hideContinueButton:!0,answer:null,autoFillProperty:"patient.weightloss_info.t_and_c",validAnswer:null,show:function(){return!1},validate:function(t){if(!t.answer)throw"Please agree to the terms and condition..";return!0}})]},7405:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{F:()=>u});var s={programs:["skin"],type:"radio",hideContinueButton:!1,answer:null,validAnswer:"None",validate:function(t){var e=t.answer;return!!(e&&e.length>0&&null!=e&&""!==e&&"None"!==e)||"Please select an answer."}},l={programs:["skin"],hideForTrueRefills:!0,type:"checklist",hideContinueButton:!1,answer:null,validAnswer:"None",validate:function(t){return!!t.answer||"Please select an answer."}},u=[o(o({},l),{},{hideForTrueRefills:!0,name:"area_of_body_affected",autoFillProperty:"patient.skin_info.area_of_body_affected",text:"What areas of your body are affected? Check all that apply",programs:["skin"],options:["Face","Neck","Chest","Back/Shoulders","Extremities","Other"]}),o(o({},l),{},{name:"part_of_face_affected",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.part_of_face_affected",text:"What parts of your face are affected? (select all that apply)",options:["Forehead","Cheeks","Nose","Chin","Other"],show:function(t){var e=t.questions.find((function(t){return"area_of_body_affected"===t.name})).answer;return e&&e.includes("Face")},validate:function(t){return!!t.answer||"Please select an answer."}}),o(o({},l),{},{name:"experienced_any_symptoms_along_with_current_skin_concerns",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.experienced_any_symptoms_along_with_current_skin_concerns",text:"Have you experienced any of the following symptoms along with your current skin concern(s)? Check all that apply",options:["A skin lesion that is rapidly changing in size, shape or color","A skin lesion that is bleeding or painful","A skin lesion that has become ulcerated/an open sore","A skin lesion that is red/scaly/itchy"],validate:function(t){return!!t.answer||"Please select an answer."}}),o(o({},{programs:["skin"],type:"yes-or-no",answer:null,validAnswer:!1,validate:function(t){return null!=t.answer||"Please select an option."}}),{},{hideForTrueRefills:!0,name:"used_any_product_in_past_skin_concerns",programs:["skin"],autoFillProperty:"patient.skin_info.used_any_product_in_past_skin_concerns",text:"Have you used any products/treatments in the past for your skin concern(s)?",validate:function(t){return null!=t.answer||"Please select an option"}}),o(o({},s),{},{name:"tolerate_initial_skin_irritation",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.tolerate_initial_skin_irritation",text:"Some initial skin irritation/dryness/peeling may occur with certain skin therapies, how willing are you to tolerate these potential side effects during your treatment?",options:["My skin is very sensitive, I prefer the fewest side effects possible","My skin is normal, I can tolerate mild irritation/peeling in order to achieve the desired result","My skin is very tolerant, I prefer my treatment to be as strong as possible","I defer to my provider’s judgment on my treatment strength"],validate:function(t){return!!t.answer||"Please select an answer."}}),o(o({},s),{},{name:"chronic_underlying_skin_condition",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.tolerate_initial_skin_irritation",text:"Do you have any chronic underlying skin conditions or skin issues? ",options:["Acne","Rosacea","Psoriasis","Eczema","Peri-oral dermatitis","History of skin cancer","Sun sensitivity","Highly sensitive skin","I have no other underlying skin conditions","Other"],validate:function(t){return!!t.answer||"Please select an answer."}}),o(o({},s),{},{name:"how_long_most_recent_checkup_with_physician",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.how_long_most_recent_checkup_with_physician",text:"How long ago 
2was your most recent check up with a physician?",options:["Within past year","Within 2 years","Within 3-5 years","Over 5 years ago"],displayNotice:function(t){t.answer;return null},validate:function(t){return!!t.answer||"Please select an answer."}})]},40782:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{P:()=>l});var s={programs:["sleep"],hideForTrueRefills:!0,type:"yes-or-no",answer:null,validate:function(t){return null!=t.answer||"Please select an option."}},l=[o(o({},s),{},{name:"has_taken_sleep_medications_recently",text:"Are you presently on any sleep aid medications prescribed by your private MD?",validate:function(t){return null!=t.answer||"Please select an answer."}}),o(o({},s),{},{name:"has_had_an_heart_attack_recently",text:"Have you had a heart attack within the last 6 months?",validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";return null!=e||"Please select an answer."}}),o(o({},s),{},{name:"has_had_an_history_of_low_magnesium",text:"Have you had a history of low magnesium, low sodium or low potassium within the last month?",validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";if(null!=e)return!0}}),o(o({},s),{},{name:"has_had_an_history_of_heart_arrhythmias",text:"Do you have a history of heart arrhythmias that are not controlled by medication?",validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";return null!=e||"Please select an answer."}}),o(o({},s),{},{name:"has_had_suicidal_or_depressed_thoughts",text:"Do you have suicidal ideations, depressed thoughts, feelings of hopelessness or thoughts of harming yourself or someone else?",validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";return null!=e||"Please select an answer."}}),o(o({},s),{},{name:"has_been_diagnosed_with_bipolar_disorder",text:"Have you been diagnosed with Bipolar Disorder that is currently not being treated?",validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";return null!=e||"Please select an answer."}}),o(o({},s),{},{name:"has_been_diagnosed_with_clonus",text:"Do you have or have been diagnosed with unexplained tremors or clonus?",validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";return null!=e||"Please select an answer."}})]},27643:(t,e,n)=>{"use strict";n.d(e,{I:()=>r});var r=[{name:"have_blood_work",programs:["testosterone"],answer:null,hideContinueButton:!0,validate:function(t){var e=t.answer;return console.warn(e),!0},text:"Have you had blood work containing the following panels in the last 90 days?"}]},89976:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{X:()=>l});var s={programs:["weight_loss"],type:"yes-or-no",answer:null,validate:function(t){return null!=t.answer||"Please select an option."}},l=[o(o({},s),{},{name:"pregnant",hideForTrueRefills:!0,autoFillProperty:"patient.weightloss_info.pregnant",programs:["weight_loss"],text:"Are you currently pregnant, breastfeeding, or planning pregnancy in the next 6 months?",validate:function(t){return null!=t.answer||"Please select an answer."},show:function(t){return"Female"===t.questions.find((function(t){return"gender"===t.name})).answer}}),o(o({},{programs:["weight_loss"],type:"video_checklist",hideContinueButton:!0,answer:null,validAnswer:"None",validate:function(t){return!!t.answer||"Please select an answer."}}),{},{name:"semaglutide_reviewed_video_link_comment",hideForTrueRefills:!0,autoFillProperty:"patient.weightloss_info.semaglutide_reviewed_video_link_comment",programs:["weight_loss"],text:"You MUST review the following link/video",link:"https://www.youtube.com/embed/K4TOrB7at0Y",small_text:"What did you think of the video?\n",options:["No questions. The video instructions were clear and I now know how to draw up the medicine into a syringe, inject myself, and safely dispose of the needle properly","I could use more assistance in understanding how to draw up the medicine or how to inject myself","I was unable to access the the information provided"],show:function(t){t.questions;return!1},pop_up_notice:!0,displayNotice:function(t){t.answer;return null},validAnswer:"None",validate:function(t){var e=t.answer;return null!=e&&"None"!==e||"Please select an answer."}}),o(o({},s),{},{hideForTrueRefills:!0,name:"currently_pregnant_breast_feeding",autoFillProperty:"patient.weightloss_info.currently_pregnant_breast_feeding",text:"Are you currently breast feeding?",programs:["weight_loss"],answer:null,show:function(t){return"Female"===t.questions.find((function(t){return"gender"===t.name})).answer},validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";return null!=e||"Please select an answer."}}),o(o({},{programs:["weight_loss"],type:"checklist",hideContinueButton:!1,answer:null,validAnswer:"None",validate:function(t){return!!t.answer||"Please select an answer."}}),{},{name:"drug_allergies",hideForTrueRefills:!0,autoFillProperty:"patient.weightloss_info.drug_allergies",programs:["weight_loss"],text:"Do you have any drug allergies to any of the following drugs?",options:["Naltrexone","Acarbose (Generic Precose&reg;)","Orlistat (Generic Xenical&reg;)"],validAnswer:null,validate:function(t){var e=t.answer;if(null==e)return"Please select an answer.";if(!e.includes("None"))throw"We are sorry to inform you that you do not qualify for this program";return!0}})]},80947:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEac
2h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{U:()=>u});var s={programs:["weight_tain"],type:"yes-or-no",answer:null,validate:function(t){return null!=t.answer||"Please select an answer."}},l={programs:["weight_tain"],type:"checklist",hideContinueButton:!1,answer:null,validAnswer:"None",validate:function(t){return!!t.answer||"Please select an answer."}},u=[o(o({},l),{},{name:"medications_consumption",autoFillProperty:"patient.weighttain_info.medications_consumption",programs:["weight_tain"],hideForTrueRefills:!0,text:"Are you taking any of the following medications?",options:["Insulin","Sulfonylureas (e.g. Glipizide)","Diuretics","Corticosteroids (e.g. Prednisone)","Estrogen","Digoxin","Isoniazid","Calcium channel blockers","Birth control pills","Seizure medications","HIV medications","Niacin","Phenothiazines","Cyclosporin","Anti-depressants, Benzodiazepines, anti-psychotics ","Anti-diarrheal medications, cough suppressants or other over-the-counter cold remedies, Loperamide"],displayNotice:function(t){t.answer;return null}}),o(o({},s),{},{name:"ibs",hideForTrueRefills:!0,autoFillProperty:"patient.weighttain_info.ibs",text:"Do you have irritable bowel syndrome (IBS)?",validate:function(t){return null!=t.answer||"Please select an answer."},displayNotice:function(t){t.answer;return null}}),o(o({},s),{},{hideForTrueRefills:!0,name:"previously_taken_opiods_narcotics",autoFillProperty:"patient.weighttain_info.previously_taken_opiods_narcotics",text:"Are you currently taking opioids/narcotics, or methadone OR have taken within the last month?",validate:function(t){var e=t.answer;if(e)throw"You currently do not qualify for this program due to potential harmful side effects from drug interactions";return null!=e||"Please select an answer."}}),o(o({},s),{},{hideForTrueRefills:!0,name:"history_of_liver_failure_or_hepatitis",autoFillProperty:"patient.weighttain_info.history_of_liver_failure_or_hepatitis",text:"Do you have a history of acute (current) hepatitis or liver failure (cirrhosis)?",answer:null,validate:function(t){var e=t.answer;if(e)throw"You currently do not qualify for this program due to potential harmful side effects from drug interactions";return null!=e||"Please select an answer."}}),o(o({},s),{},{hideForTrueRefills:!0,name:"heavy_drinker",autoFillProperty:"patient.weighttain_info.heavy_drinker",text:"Are you a heavy alcohol drinker? (I.E. Daily user of more than 2 to 3 beverages)",displayNotice:function(t){t.answer;return null}}),o(o({},s),{},{hideForTrueRefills:!0,name:"kidney_disease",autoFillProperty:"patient.weighttain_info.kidney_disease",text:"Do you have any kidney disease?"}),{name:"kidney_creatinine_levels",validateFields:function(t){return null==t.answer?[{field:"answer",message:"Please enter your kidney creatinine level."}]:[]},hideForTrueRefills:!0,autoFillProperty:"patient.weighttain_info.kidney_creatinine_levels",programs:["weight_tain"],validAnswer:"0",answer:null,text:"You mentioned that you had kidney disease, please enter your EXACT creatinine level",show:function(t){return t.questions.find((function(t){return"kidney_disease"===t.name})).answer},validate:function(t){var e=t.answer;if(null==e)return"Please enter your kidney creatinine level.";if(e>2)throw"We are sorry to inform you that you do not qualify for this program.";return!0},displayNotice:function(t){t.answer;return null}},o(o({},s),{},{hideForTrueRefills:!0,name:"bowels_ulcer_disease",autoFillProperty:"patient.weighttain_info.bowels_ulcer_disease",text:"Do you have intestinal or bowel problems such as inflammatory bowel disease blockage or ulcers?",answer:null,validate:function(t){var e=t.answer;if(e)throw"You currently do not qualify for this program due to potential harmful side effects from drug interactions";return null!=e||"Please select an answer."}}),o(o({},s),{},{hideForTrueRefills:!0,name:"currently_pregnant_breast_feeding",autoFillProperty:"patient.weighttain_info.gallstone_vitamin_d_history",text:"Are you pregnant or breast feeding?",answer:null,show:function(t){return"Female"===t.questions.find((function(t){return"gender"===t.name})).answer},validate:function(t){var e=t.answer;if(e)throw"We are sorry to inform you that you do not qualify for this program";return null!=e||"Please select an answer."}}),o(o({},l),{},{name:"drug_allergies",hideForTrueRefills:!0,autoFillProperty:"patient.weighttain_info.drug_allergies",programs:["weight_tain"],text:"Do you have any drug allergies to any of the following drugs?",options:["Naltrexone","Carnitine","Inositol"],validAnswer:null,validate:function(t){var e=t.answer;if(null==e)return"Please select an answer.";if(!e.includes("None"))throw"We are sorry to inform you that you do not qualify for this program";return!0}}),o(o({},s),{},{hideForTrueRefills:!0,name:"dizziness_blood_test_willingness",autoFillProperty:"patient.weighttain_info.dizziness_blood_test_willingness",text:"Would you be willing or able to test your blood sugar levels if you feel lightheaded?"}),o(o({},s),{},{name:"weight_tain_side_effects",programs:["weight_tain"],text:"Did you have any side effects taking Wayt-tain?",hideForTrueRefills:function(t,e){return"weight_tain"===t&&"FL"===e}}),o(o({}
2,{programs:["weight_tain"],type:"expanded",answer:null,validAnswer:null,validateFields:function(t){return null!=t.answer?[]:[{field:"answer",message:"Please elaborate."}]},validate:function(t){return null!=t.answer||"Please elaborate."}}),{},{name:"weight_tain_side_effects_expanded",show:function(t){var e=t.questions.find((function(t){return"weight_tain_side_effects"===t.name})).answer;return e&&!0===e},text:"Please describe your side effects with WAYT-tain."})]},74150:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{R:()=>s});var s=[o(o({},{programs:["wsp"],type:"checklist",hideContinueButton:!1,answer:null,validAnswer:"None",validate:function(t){return!!t.answer||"Please select an answer."}}),{},{hideForTrueRefills:!0,name:"other_symptoms",autoFillProperty:"wsp_info.other_symptoms",text:"Have you ever had any of the following symptoms?",options:["Trouble achieving orgasm","Decreased sensitivity in genital organs","Genital pain during sex"]})]},1642:(t,e,n)=>{"use strict";n.d(e,{KX:()=>l,Ko:()=>a,LR:()=>d,TS:()=>c,a0:()=>h,bI:()=>o,g0:()=>u,hn:()=>s});var r=new WeakMap,i=0;function o(t){return r.has(t)||r.set(t,++i),"medication-".concat(r.get(t))}function a(t,e){return"rows.".concat(o(t),".").concat(e)}function s(t){var e=t.answer;return null==e||null!=e&&e.includes("_")||isNaN(new Date(e).getTime())?[{field:"answer",message:"Please enter a valid date."}]:[]}function l(t){var e=t.answer,n=[];return e.height&&""!==e.height||n.push({field:"height",message:"Please enter your height."}),e.weight&&""!==e.weight?e.weight>1800&&n.push({field:"weight",message:"Please enter a valid weight value (in IBS)"}):n.push({field:"weight",message:"Please enter your weight."}),null!==e.bp&&""!==e.bp&&/^([1-9]\d{1,2}|[1-9])\/([1-9]\d{1,2}|[1-9])$/.test(e.bp)||n.push({field:"bp",message:"Please enter your blood pressure."}),(null==e.bpm||""==e.bpm||0==e.bpm||"0"==e.bpm||e.bpm<=10)&&n.push({field:"bpm",message:"Please enter your pulse."}),n}function u(t){var e,n=t.answer;return 0!=n.allergies.length||null!==(e=n.other_allergies)&&void 0!==e&&e.trim()?[]:[{field:"allergies",message:'Please select your allergies or "None".'}]}function c(t){var e,n=t.answer;return 0!=n.medications.length||null!==(e=n.other_medications)&&void 0!==e&&e.trim()?[]:[{field:"medications",message:'Please select your medications or "None".'}]}function d(t){var e,n=t.answer;return 0!=n.conditions.length||null!==(e=n.other_conditions)&&void 0!==e&&e.trim()?[]:[{field:"conditions",message:'Please select your medical conditions or "None".'}]}function h(t){var e=t.answer;if(!t.enabled)return[];var n=[];return e.forEach((function(t){["medication","strength","dosage","date_last_taken"].forEach((function(e){t[e]?"date_last_taken"===e&&(t[e].includes("_")||isNaN(new Date(t[e]).getTime()))&&n.push({field:a(t,e),message:"Please enter a valid date last taken for each medicine."}
vendor: 5,995 bytes, line 2
2):n.push({field:a(t,e),message:"Please enter the information for each medication."})}))})),n}},31676:(t,e,n)=>{"use strict";n.d(e,{FI:()=>o,Pk:()=>u,fH:()=>l,gt:()=>a,pQ:()=>s});var r=new WeakMap,i=0;function o(t){return t?(r.has(t)||r.set(t,++i),"question-".concat(r.get(t))):"none"}function a(t){return Boolean(t&&(["radio","checklist","range","yes-or-no"].includes(t.type)||"gender"===t.name))}function s(t){if(!t)return!1;var e=t.answer;return"yes-or-no"===t.type?null!=e:null!=e&&""!==e&&(!Array.isArray(e)||e.length>0)}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"answer";return!0===t?[]:"string"==typeof t?[{field:e,message:t}]:Array.isArray(t)?t.filter((function(t){return t&&"string"==typeof t.field&&"string"==typeof t.message&&t.message.length>0})).filter((function(t,e,n){return n.findIndex((function(e){return e.field===t.field&&e.message===t.message}))===e})).map((function(t){return{field:t.field,message:t.message}})):[{field:e,message:"Please check your answer."}]}function u(t){return JSON.stringify([null==t?void 0:t.answer,null==t?void 0:t.answers,null==t?void 0:t.enabled])}},7912:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(){i=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function w(){}function m(){}var v={};c(v,s,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(O([])));y&&y!==e&&n.call(y,s)&&(v=y);var b=m.prototype=p.prototype=Object.create(v);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function i(o,a,s,l){var u=h(t[o],t,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,s,l)}),(function(t){i("throw",t,s,l)})):e.resolve(d).then((function(t){c.value=t,s(c)}),(function(t){return i("throw",t,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return T()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function C(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=h(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function O(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:T}}function T(){return{value:void 0,done:!0}}return w.prototype=m,o(b,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:w,configurable:!0}),w.displayName=c(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,u,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},_(x.prototype),c(x.prototype,l,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new x(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(b),c(b,u,"Generator"),c(b,s,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=O,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(P),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function o(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function a(t){null!=t&&t.getTracks?t.getTracks().forEach((function(t){return t.stop()})):null!=t&&t.stop&&t.stop()}n.d(e,{ZP:()=>l,_y:()=>s,fv:()=>a});var s={data:function(){return{showModal:!1,showImage:!1,showVideo:!1,imageData:null,cameraStream:null,captureTimer:null,timer:null,count:0}},watch:{showModal:function(t){this.showImage=!1,this.showVideo=!1,t?this.setup():this.releaseCamera()}},beforeDestroy:function(){this.releaseCamera()},methods:{remove:function(){this.imageData=null,this.cancelMediaAttempt()},toggle:function(){this.showModal=!this.showModal},releaseCamera:function(){this.cancelMediaAttempt(),clearTimeout(this.captureTimer),clearInterval(this.timer),this.captureTimer=null,this.timer=null,this.count=0,a(this.cameraStream),this.cameraStream=null,this.$refs.video&&(this.$refs.video.srcObject=null)},setup:function(){var t,e=this;return(t=i().mark((function t(){var n,r;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.beginMediaAttempt(),t.prev=1,t.next=4,navigator.mediaDevices.getUserMedia({video:{width:1280,height:720},audio:!1});case 4:if(r=t.sent,e.isCurrentMediaAttempt(n)&&e.showModal){t.next=7;break}return t.abrupt("return",a(r));case 7:return e.cameraStream=r,e.$refs.video.srcObject=r,t.next=11,e.$refs.video.play();case 11:if(e.isCurrentMediaAttempt(n)&&e.showModal){t.next=13;break}return t.abrupt("return");case 13:e.captureTimer=setTimeout((function(){e.isCurrentMediaAttempt(n)&&e.showModal&&(e.showVideo=!0)}),1e3),t.next=23;break;case 16:if(t.prev=16,t.t0=t.catch(1),e.isCurrentMediaAttempt(n)){t.next=20;break}return t.abrupt("return");case 20:bugsnagClient.notify(t.t0),e.showModal=!1,e.reportMediaError("We were unable to access your webcam. Please check camera permissions and try again.");case 23:case"end":return t.stop()}}),t,null,[[1,16]])})),function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,l,"next",t)}function l(t){o(a,r,i,s,l,"throw",t)}s(void 0)}))})()},startTimer:function(){var t=this;!this.timer&&this.showVideo&&(this.count=5,this.timer=setInterval((function(){0===t.count?(clearInterval(t.timer),t.timer=null,t.takePhoto()):t.count--}),1e3))},takePhoto:function(){if(this.showModal&&this.showVideo)try{var t=this.$refs.canvas;t.width=1280,t.height=720,t.getContext("2d").drawImage(this.$refs.video,0,0,1280,720),this.imageData=t.toDataURL("image/png"),this.$refs.image.setAttribute("src",this.imageData),this.switchImageAndVideo()}catch(t){this.showModal=!1,this.reportMediaError("We were unable to capture your photo. Please try again or upload a photo.")}},switchImageAndVideo:function(){var t=this,e=this.mediaAttempt,n=this.showVideo;
2this.showVideo=!1,this.showImage=!1,clearTimeout(this.captureTimer),this.captureTimer=setTimeout((function(){t.isCurrentMediaAttempt(e)&&t.showModal&&(t.showImage=n,t.showVideo=!n)}),600)},clearPhoto:function(){this.imageData=null,this.switchImageAndVideo()},keepCapturedPhoto:function(t){if(this.showModal&&this.showImage&&this.imageData)try{var e=this.resizeImage();this.showModal=!1,this.showImage=!1,this.showVideo=!1,this.releaseCamera(),this.mediaError="",this.$emit("done",t,e)}catch(t){this.showModal=!1,this.reportMediaError("We were unable to process your photo. Please try again or upload a photo.")}},resizeImage:function(){var t=document.createElement("canvas");return t.width=640,t.height=360,t.getContext("2d").drawImage(this.$refs.canvas,0,0,640,360),t.toDataURL("image/png")}}};const l={props:{inlineValidation:{type:Boolean,default:!1}},data:function(){return{mediaError:"",mediaAttempt:0,mediaDisposed:!1}},computed:{mediaErrorId:function(){return"enrollment-media-".concat(this._uid,"-error")},mediaErrorMessages:function(){return this.inlineValidation&&this.mediaError?[this.mediaError]:[]},mediaDescription:function(){return this.mediaErrorMessages.length?this.mediaErrorId:null}},beforeDestroy:function(){this.mediaDisposed=!0,this.cancelMediaAttempt()},methods:{beginMediaAttempt:function(){return this.mediaError="",++this.mediaAttempt},cancelMediaAttempt:function(){this.mediaAttempt++},isCurrentMediaAttempt:function(t){return!this.mediaDisposed&&t===this.mediaAttempt},reportMediaError:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.inlineValidation)return n?window.alert(t):this.$bus.$emit("flash-message",{message:t,type:"error"});var r=this.mediaError!==t;this.mediaError=t,r&&this.$nextTick((function(){if(!e.mediaDisposed&&e.mediaError===t){var n=e.$refs.mediaControl;null==n||n.focus({preventScroll:!0}),null==n||n.scrollIntoView({block:"center",behavior:"smooth"})}}))}}}},2127:(t,e,n)=>{"use strict";n.d(e,{H6:()=>P,SR:()=>T,lY:()=>E});var r=n(31676),i=n(1642);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t)||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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var c="We could not accept the submitted information. Please review it and try again.",d=["medication","strength","dosage","date_last_taken"],h=["radio","checklist","range","yes-or-no","expanded","date","state_tnc"],f={dob:["dob","date_of_birth"],state:["state"],gender:["gender"],female_last_menstrual_cycle:["female_last_menstrual_cycle"],kidney_creatinine_levels:["kidney_creatinine_levels"],"photo-upload":["photo-upload","photo_upload"],"video-introduction":["video-introduction","video_introduction"],government_id_card_upload:["government_id_card_upload"],enclomiphene_have_blood_work:["enclomiphene_have_blood_work"]},p={height:["height"],weight:["weight"],bmi:["bmi"],bp:["bp","blood_pressure"],bpm:["bpm","pulse"]},w={firstName:["first_name"],lastName:["last_name"],email:["email"],phone:["phone_number","phone"],password:["password"]},m={"address.address":["address","address.address","contact.address"],"address.address_two":["address_two","address.address_two","contact.address_two"],"address.city":["city","address.city","contact.city"],"address.state":["state","address.state","contact.state"],"address.postal":["postal","address.postal","contact.postal"],shipping:["shipping","shipping.method","shipping_method"],signature_waiver:["signature_waiver","shipping.signature_waiver","shipping.signature_waiver.signature","shipping.signature_waiver.required"],payment:["payment","payment_token","payment_card_info","payment_method"],agreedToSelfPay:["agreedToSelfPay","agreed_to_self_pay"],agreedToFLTnC:["agreedToFLTnC","agreed_to_fl_tnc"],agreedToCardConsent:["agreedToCardConsent","agreed_to_card_consent"],agreedToAshTestingConsent:["agreedToAshTestingConsent","agreed_to_ash_testing_consent"],agreedToNubodyConsent:["agreedToNubodyConsent","agreed_to_nubody_consent"]},v=function(t,e){return null!=t&&Object.prototype.hasOwnProperty.call(t,e)},g=function(t){return"[object Object]"===Object.prototype.toString.call(t)},y=function(t){return void 0===t?void 0:JSON.parse(JSON.stringify(t))},b=function(t){return JSON.stringify(t)},_=function(t){return Array.from(new Set(t))},x=function(t){return"string"==typeof t&&t.trim()?t.trim():null};function k(t){return t.trim().replace(/\[['"]?([^\]'"\[]+)['"]?\]/g,".$1").replace(/^\./,"")}function C(t){return k(t).replace(/^(?:answers\.|patient\.)+/,"")}function S(t,e){var n=[e&&e.message,e&&e.error,e&&e.errors,"string"==typeof e?e:null].map(x).filter(
2Boolean);return!n.length&&t&&n.push(x(t.message)),_(n.filter(Boolean).length?n.filter(Boolean):[c])}function P(t){var e=function(t){return t&&t.response&&v(t.response,"data")?t.response.data:t&&v(t,"data")?t.data:t}(t),n=[],r=!1,i=new Set;return e&&g(e.errors)&&function t(e,o){var a=x(e);if(a&&o){var s=k(o),u=n[n.length-1];u&&u.key===s?u.messages=_([].concat(l(u.messages),[a])):n.push({key:s,messages:[a]})}else{if(e&&(g(e)||Array.isArray(e))&&!i.has(e)){i.add(e);var c=Object.keys(e);return c.length||(r=!0),Array.isArray(e)?c.forEach((function(n){return t(e[n],"string"==typeof e[n]?o:"".concat(o,".").concat(n))})):c.forEach((function(n){return t(e[n],o?"".concat(o,".").concat(n):n)})),void i.delete(e)}r=!0}}(e.errors,""),{kind:n.length?"fields":"operational",entries:n,formMessages:!n.length||r?S(t,e):[],orderNumber:e&&null!=e.order_number?e.order_number:null}}function A(t){return b(d.map((function(e){return t&&t[e]})))}function O(t,e){var n=Array.isArray(t.answer)?t.answer:[],r=function(t,e){return v(t,e)?t[e]:e.split(".").reduce((function(t,e){return v(t,e)?t[e]:void 0}),t)}(e,"current_medications"),o=new Set;return(Array.isArray(r)?r:[]).map((function(t,e){var r=n.find((function(e){return e===t&&!o.has(e)}));if(r||!g(n[e])||o.has(n[e])||A(n[e])!==A(t)||(r=n[e]),!r){var a=n.filter((function(e){return g(e)&&!o.has(e)&&A(e)===A(t)}));1===a.length&&(r=a[0])}return r&&o.add(r),{index:e,row:r||null,rowId:r?(0,i.bI)(r):null,values:y(t)}}))}function T(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.questions,n=void 0===e?[]:e,i=t.payload,o=void 0===i?{}:i,u=t.checkoutValues,c=void 0===u?{}:u,g=t.activeAuthQuestion,x=void 0===g?null:g,k=t.authValues,S=void 0===k?{}:k,P={payload:y(o),checkoutValues:y(c),authValues:y(S),activeAuthQuestion:x,questions:n.map((function(t){return{question:t,questionId:(0,r.FI)(t),name:t.name,values:y({answer:t.answer,answers:t.answers,enabled:t.enabled}),medicationRows:"current_medications"===t.name?O(t,o):[]}})),targets:[]};function A(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};P.targets.push(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({owner:t,field:e,aliases:_(n.map(C)),read:r,valueSignature:b(r())},i))}return P.questions.forEach((function(t){var e=t.question,n=t.name;if("height_weight_bmi"===n)Object.keys(p).forEach((function(r){var i=p[r].flatMap((function(t){return[t,"".concat(n,".").concat(t),"".concat(n,".answers.").concat(t)]}));A(t,r,i,(function(){var t,n,i,o;return"bmi"===r?[null===(t=e.answers)||void 0===t?void 0:t.bmi,null===(n=e.answers
2)||void 0===n?void 0:n.height,null===(i=e.answers)||void 0===i?void 0:i.weight]:null===(o=e.answers)||void 0===o?void 0:o[r]}))}));else if(["allergies","medications","conditions"].includes(n))[n,"other_".concat(n)].forEach((function(r){A(t,r,[r,"".concat(n,".").concat(r),"".concat(n,".answers.").concat(r)],(function(){var t;return null===(t=e.answers)||void 0===t?void 0:t[r]}),{indexed:r===n})}));else if("current_medications"===n)A(t,"answer",[n,"".concat(n,".answer")],(function(){return[e.answer,e.enabled]})),e.enabled&&t.medicationRows.forEach((function(r){var i=r.row,o=r.rowId,a=r.index;i&&d.forEach((function(r){return A(t,"rows.".concat(o,".").concat(r),["".concat(n,".").concat(a,".").concat(r),"".concat(n,".answer.").concat(a,".").concat(r)],(function(){return i[r]}),{row:i,enabled:e.enabled})}))}));else if(e===x&&"authentication"===n)Object.keys(w).filter((function(t){return v(S,t)})).forEach((function(e){A(t,e,w[e].flatMap((function(t){return[t,"user.".concat(t),"authentication.".concat(t)]})),(function(){return S[e]}),{auth:!0})}));else if(v(f,n)||h.includes(e.type)){var r=v(f,n)?f[n]:[n];A(t,"answer",r.flatMap((function(t){return[t,"".concat(t,".answer")]})),(function(){return e.answer}),{indexed:"checklist"===e.type})}})),Object.keys(m).filter((function(t){return v(c,t)})).forEach((function(t){var e=m[t];A(null,t,t.startsWith("agreedTo")?[].concat(l(e),l(e.map((function(t){return"consents.".concat(t)})))):e,(function(){return c[t]}),{checkout:!0})})),P}function E(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.questions,i=void 0===r?[]:r,o=n.checkoutValues,a=void 0===o?{}:o,s=n.activeAuthQuestion,u=void 0===s?null:s,c=n.authValues,d=void 0===c?{}:c,h=n.dismissedTargets,f=void 0===h?null:h,p=P(t),w={kind:p.kind,questionErrors:[],checkoutErrors:[],formMessages:l(p.formMessages),orderNumber:p.orderNumber},m=new Map,g=function(t,e,n){return n.forEach((function(n){t.some((function(t){return t.field===e&&t.message===n}))||t.push({field:e,message:n})}))};return p.entries.forEach((function(t){var n=t.key,r=t.messages,o=C(n),s=((null==e?void 0:e.targets)||[]).filter((function(t){return function(t,e){return t.aliases.some((function(n){return e===n||t.indexed&&e.startsWith(n+".")&&/^\d+$/.test(e.slice(n.length+1))}))}(t,o)})),c=s.filter((function(t){return t.checkout}));if(c.length&&(s=c),1===s.length){var h=s[0];if(null==f||!f.has(h))if(h.checkout){var p;v(a,h.field)?b(a[h.field])===h.valueSignature&&g(w.checkoutErrors,h.field,r):(p=w.formMessages).push.apply(p,l(r))}else{var y,_=h.owner.question;if(i.includes(_)&&(!h.auth||_===u&&v(d,h.field))){if(!h.row||Array.isArray(_.answer)&&_.answer.includes(h.row)&&_.enabled===h.enabled){var x=h.auth?d[h.field]:h.read();b(x)===h.valueSignature&&(m.has(_)||m.set(_,{question:_,questionId:h.owner.questionId,errors:[]}),g(m.get(_).errors,h.field,r))}}else(y=w.formMessages).push.apply(y,l(r))}}else{var k;(k=w.formMessages).push.apply(k,l(r))}})),w.questionErrors=i.filter((function(t){return m.has(t)})).map((function(t){return m.get(t)})),w.formMessages=_(w.formMessages),w}},99787:(t,e,n)=>{"use strict";n.d(e,{Z:()=>w});var r=n(31676),i=n(2127);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=new WeakMap;function c(t){return u.has(t)||u.set(t,{live:!0,latest:0,attempt:null,record:null}),u.get(t)}function d(t){var e=t.fieldSubmissionContext||{};return s(s({},e),{},{questions:e.questions||[],checkoutValues:e.checkoutValues||{}})}function h(t,e){return JSON.stringify([e.questions.map(r.FI),(0,r.FI)(e.questions[t.activeQuestion]),t.program,t.programs,(0,r.FI)(e.activeAuthQuestion)])}function f(t){return JSON.stringify([t.questions.map((function(t){return[t.answer,t.answers,t.enabled]})),t.checkoutValues,t.authValues||{}])}function p(t,e){if(!t)return!1;var n=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r=!1;return t.snapshot.targets.forEach((function(i){if(!t.dismissedTargets.has(i)){var o;if(i.checkout){if(!n(e.checkoutValues,i.field))return;o=e.checkoutValues[i.field]}else if(i.auth){if(i.owner.question!==e.activeAuthQuestion||!n(e.authValues||{},i.field))return;o=e.authValues[i.field]}else{var a=i.owner.question;if(!e.questions.includes(a))return;if(i.row&&(!Array.isArray(a.answer)||!a.answer.includes(i.row)||a.enabled!==i.enabled))return t.dismissedTargets.add(i),void(r=!0);o=i.read()}JSON.stringify(o)!==i.valueSignature&&(t.dismissedTargets.add(i),r=!0)}})),r}const w={data:function(){return{serverValidationRevision:0}},computed:{fieldSubmissionContext:function(){return{questions:this.filteredQuestions||[],checkoutValues:{}}},serverValidationResult:function(){this.serverValidationRevision;var t=c(this);return t.live&&t.record?(0,i.lY)(t.record.response,t.record.snapshot,s(s({},d(this)),{},{dismissedTargets:t.record.dismissedTargets})):{kind:null,questionErrors:[],checkoutErrors:[],formMessages:[],orderNumber:null}},serverQuestionErrors:function(){return this.serverValidationResult.questionErrors},serverFormErrors:function(){return this.serverValidationResult.formMessages}},watch:{fieldSubmissionContext:{deep:!0,sync:!0,handler:function(){p(c(this).record,d(this))&&(this.serverValidationRevision+=1)}}},beforeDestroy:function(){var t=c(this);t.live=!1,t.latest+=1,t.attempt=null,t.record=null,this.serverValidationRevision+=1},methods:{beginFieldSubmission:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=c(this),n=d(this),r={id:++e.latest,snapshot:(0,i.SR)(s(s({},n),{},{payload:t})),navigationKey:h(this,n),valuesKey:f(n)};return e.live?(e.attempt=r,e.record=null,this.serverValidationRevision+=1,r):r},isCurrentFieldSubmission:function(t){var e=c(this);return Boolean(e.live&&t&&e.attempt===t&&t.id===e.latest)},canNavigateFieldSubmission:function(t){if(!this.isCurrentFieldSubmission(t))return!1;var e=d(this);return t.navigationKey===h(this,e)&&t.valuesKey===f(e)},storeFieldSubmissionFailure:function(t,e){if(!this.isCurrentFieldSubmission(e))return!1;var n={response:t,snapshot:e.snapshot,dismissedTargets:new Set};return p(n,d(this)),c(this).record=n,this.serverValidationRevision+=1,!0},clearFieldSubmissionErrors:function(){c(this).record=null,this.serverValidationRevision+=1}}}},2145:(t,e,n)=>{"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:()=>s});var o=["Afghanistan|AF","Albania|Al","Algeria|DZ","American Samoa|AS","Andorra|AD","Anguilla|AI","Antartica|AQ","Antigua and Barbuda|AG","Argentina|AR","Armenia|AM","Aruba|AW","Ashmore and Cartier Island|AUS","Australia|AU","Austria|AT","Azerbaijan|AZ","Bahamas|BS","Bahrain|BH","Bangladesh|BD","Barbados|BB","Belarus|BY","Belgium|BE","Belize|BZ","Benin|BJ","Bermuda|BM","Bhutan|BT","Bolivia|BO","Bosnia and Herzegovina|BA","Botswana|BW","Brazil|BR","British Virgin Islands|BG","Brunei|BN","Bulgaria|BG","Burkina Faso|BF","Burma[Myanmar]|MM","Burundi|BI","Cambodia|KH","Cameroon|CM","Canada|CA","Cape Verde|CV","Cayman Islands|KY","Central African Republic|CF","Chad|TD","Chile|CL","China|CN","Christmas Island|CX","Clipperton Island","Cocos (Keeling) Islands|CC","Colombia|CO","Comoros|KM","Congo, Democratic Republic of the|CD","Congo, Republic of the|CG","Cook Islands|CK","Costa Rica|CR","Cote d'Ivoire|
2CI","Croatia|HR","Cuba|CU","Cyprus|CY","Czeck Republic|CZ","Denmark|DK","Djibouti|DJ","Dominica|DM","Dominican Republic|DO","Ecuador|EC","Egypt|EG","El Salvador|SV","Equatorial Guinea|GQ","Eritrea|ER","Estonia|EE","Ethiopia|ET","Europa Island","Falkland Islands (Islas Malvinas)|FK","Faroe Islands|FO","Fiji|FJ","Finland|FI","France|FR","French Guiana|GF","French Polynesia|PF","French Southern and Antarctic Lands|TF","Gabon|GA","Gambia, The|GM","Gaza Strip","Georgia|GE","Germany|DE","Ghana|GH","Gibraltar|GI","Greece|GR","Greenland|GL","Grenada|GD","Guadeloupe|GP","Guam|GU","Guatemala|GT","Guernsey|GG","Guinea|GN","Guinea-Bissau|GW","Guyana|GY","Haiti|HT","Heard Island and McDonald Islands|HM","Holy See (Vatican City)|VA","Honduras|HM","Hong Kong|HK","Howland Island","Hungary|HU","Iceland|IS","India|IN","Indonesia|ID","Iran|IR","Iraq|IQ","Ireland|IE","Ireland, Northern","Israel|IL","Italy|IT","Jamaica|JM","Jan Mayen","Japan|JP","Jarvis Island","Jersey|JE","Johnston Atoll","Jordan|JO","Juan de Nova Island","Kazakhstan|KZ","Kenya|KE","Kiribati|KI","Korea, North|KP","Korea, South|KR","Kuwait|KW","Kyrgyzstan|KG","Laos|LA","Latvia|LV","Lebanon|LB","Lesotho|LS","Liberia|LR","Libya|LY","Liechtenstein|LI","Lithuania|LT","Luxembourg|LU","Macau|MO","Macedonia, Former Yugoslav Republic of|MK","Madagascar|MG","Malawi|MW","Malaysia|MY","Maldives|MV","Mali|ML","Malta|MT","Man, Isle of","Marshall Islands|MH","Martinique|MQ","Mauritania|MR","Mauritius|MU","Mayotte|YT","Mexico|MX","Micronesia, Federated States of|FM","Midway Islands","Moldova|MD","Monaco|MC","Mongolia|MN","Montserrat|MS","Morocco|MA","Mozambique|MZ","Namibia|NA","Nauru|NR","Nepal|NP","Netherlands|NL","Netherlands Antilles|AN","New Caledonia|NC","New Zealand|NZ","Nicaragua|NI","Niger|NE","Nigeria|NG","Niue|NU","Norfolk Island|NF","Northern Mariana Islands|MP","Norway|NO","Oman|OM","Pakistan|PK","Palau|PW","Panama|PA","Papua New Guinea|PG","Paraguay|PY","Peru|PE","Philippines|PH","Pitcaim Islands","Poland|PL","Portugal|PT","Puerto Rico|PR","Qatar|QA","Reunion|RE","Romainia|RO","Russia|RU","Rwanda|RW","Saint Helena|SH","Saint Kitts and Nevis|KN","Saint Lucia|LC","Saint Pierre and Miquelon|PM","Saint Vincent and the Grenadines|VC","Samoa|WS","San Marino|SM","Sao Tome and Principe|ST","Saudi Arabia|SA","Scotland","Senegal|SN","Seychelles|SC","Sierra Leone|SL","Singapore|SG","Slovakia|SK","Slovenia|SI","Solomon Islands|SB","Somalia|SO","South Africa|ZA","South Georgia and South Sandwich Islands|GS","Spain|ES","Spratly Islands","Sri Lanka|LK","Sudan|SD","Suriname|SR","Svalbard|SJ","Swaziland|SZ","Sweden|SE","Switzerland|CH","Syria|SY","Taiwan|TW","Tajikistan|TJ","Tanzania|TZ","Thailand|TH","Tobago|TT","Toga|TG","Tokelau|TK","Tonga|TO","Trinidad|TT","Tunisia|TN","Turkey|TR","Turkmenistan|TM","Tuvalu|TV","Uganda|UG","Ukraine|UA","United Arab Emirates|AE","United Kingdom|GB","Uruguay|UY","USA|US","Uzbekistan|UZ","Vanuatu|VU","Venezuela|VE","Vietnam|VN","Virgin Islands|VI","Wales","Wallis and Futuna|WF","West Bank|WB","Western Sahara|EH","Yemen|YE","Yugoslavia|YU","Zambia|ZM","Zimbabwe|ZW"],a=["Badakhshan@BD|Badghis@BG|Baghlan@BL|Balkh@BK|Bamian@BM|Farah@FH|Faryab@FB|Ghazni@GZ|Ghowr@GR|Helmand@HM|Herat@HR|JowzjanJW|Kabol@KB|Kandahar@KD|Kapisa@KP|Konar@KR|Kondoz@KZ|Laghman@LA|Lowgar@LW|Nangarhar@NG|Nimruz@NM|Oruzgan@OZ|Paktia@PT|Paktika@PK|Parvan@PV|Samangan@SM|Sar-e Pol@SP|Takhar@YK|constdak@VR|Zabol@ZB","Berat@BE|Diber (Peshkopi)@DB|Durres@DU|Elbasan@EB|Fier@FI|Gjirokaster@GK|Korce@KE|Kukes@KK|Kurbin|Lezhe@LZ|Librazhd|Shkoder@SD|Tirane (Tirana)@TI|Vlore@VR","Adrar@AR|Ain Defla@AD|Ain Temouchent@AT|Alger@AL|Annaba@AN|Batna@BT|Bechar@BC|Bejaia@BJ|Biskra@BS|Blida@BL|Bordj Bou Arreridj@BB|Bouira@BU|Boumerdes@BM|Chlef@CH|Constantine@CO|Djelfa@DJ|El Bayadh@EB|El Oued@EO|El Tarf@ET|Ghardaia@GR|Guelma@GL|Illizi@IL|Jijel@JJ|Khenchela@KH|Laghouat@LG|Mascara@MC|Medea@MD|Mila@ML|Mostaganem@MG|Naama@NA|Oran@OR|Ouargla@OG|Oum el Bouaghi@OB|Relizane@RE|Saida@SD|Setif@SF|Sidi Bel Abbes@SB|Skikda@SK|Souk Ahras@SA|Tamanghasset@TM|Tebessa@TB|Tiaret@TR|Tindouf@TN|Tipaza@TP|Tissemsilt@TS|Tizi Ouzou@TO|Tlemcen@TL","Eastern@ET|Manu'a@MA|Western@WT","Andorra la Vella@AN|Canillo@CA|Encamp@EN|Escaldes-Engordany@EE|La Massana@MA|Ordino@OR|Sant Julia de Loria@JL","Anguilla@AI","Antartica@AC","Barbuda@BB|Redonda@RD|Saint GeorgeGE|Saint JohnJO|Saint Mary@MA|Saint Paul@PA|Saint Peter@PE|Saint Philip@PH","Antartica e Islas del Atlantico Sur@SEAS|Buenos Aires@BA|Catamarca@CT|Chaco@CC|Chubut@CH|Cordoba@CB|Corrientes@CN|Entre Rios@ER|Formosa@FM|Jujuy@JY|La Pampa@LP|La Rioja@LR|Mendoza@MZ|Misiones@MN|Neuquen@NQ|Rio Negro@RN|Salta@SA|San Juan@SJ|San Luis@SL|Santa Cruz@SC|Santa Fe@SF|Santiago del Estero@|Tierra del Fuego@|Tucuman@TM","Aragatsotn@AG|Ararat@AR|Armavir@AV|Geghark'unik'@GR|Kotayk'@KT|Lorri@LO|Shirak@SH|Syunik'@SU|Tavush@TV|Vayots' Dzor@VD","Aruba@AA","Ashmore and Cartier Island@AC","Australian Capital Territory@AC|New South Wales@NS|Northern Territory@NT|Queensland@QL|South Australia@SA|Tasmania@TS|Victoria@VI|Western Australia@WA","Burgenland@BU|Kaernten@KR|Niederoesterreich@NS|Salzburg@SZ|Tirol@TR|Vorarlberg@VO","Abseron Rayonu@AR|Agdam Rayonu@AM|Agdas Rayonu@AS|Agstafa Rayonu@AF|Agsu Rayonu@AU|Astara Rayonu@AA|Baki Sahari@BA|Balakan Rayonu@BL|Barda Rayonu@BR|Beylaqan Rayonu@BQ|Bilasuconst Rayonu@BS|Daskasan Rayonu@DS|Fuzuli Rayonu@FU|Gadabay Rayonu@GD|Goranboy Rayonu@GR|Goycay Rayonu@GY|Haciqabul Rayonu@HA|Imisli Rayonu@IM|Ismayilli Rayonu@IS|Kurdamir Rayonu@KU|Lacin Rayonu@LC|Lankaran Rayonu@LN|Lankaran Sahari@LA|Lerik Rayonu@LE|Masalli Rayonu@MA|Mingacevir Sahari@MI|Naftalan Sahari@NA|Neftcala Rayonu@NE|Oguz Rayonu@OG|Quba Rayonu@QU|Saatli Rayonu@ST|Sabirabad Rayonu@SB|Saki Rayonu@|Salyan Rayonu@SL|Samkir Rayonu@SM|Samuh Rayonu@SX|Siyazan Rayonu@SY|Sumqayit Sahari@SQ|Tartar Rayonu@TA|Tovuz Rayonu@TO|Ucar Rayonu@UC|Yardimli Rayonu@YR|Yevlax Rayonu@YV|Yevlax Sahari@YE|Zangilan Rayonu@ZG|Zaqatala Rayonu@ZQ|Zardab Rayonu@ZR","Acklins and Crooked Islands@AC|Bimini@BI|Cat Island@CI|Exuma@EX|Freeport@FP|Fresh Creek|Governor's Harbour|Green Turtle Cay|Inagua@IN|Long Island@LI|Mayaguana@MG|New Providence@NP|Ragged Island@RI|San Salvador and Rum Cay@SR","Al Hadd@HA|Al Manamah@MN|Al Mintaqah al Gharbiyah@MG|Al Mintaqah al Wusta@MW|Al Mintaqah ash Shamaliyah@MS|Al Muharraq@MQ|Ar Rifa' wa al Mintaqah al Janubiyah@RF|Jidd Hafs@JH|Madinat 'Isa@MI|Madinat Hamad@MH|Sitrah@ST","Barisal@BA|Bhola@BO|Chittagong@CG|Dhaka@DA|Khulna@KH|Rajshahi@RS|Rangpur@RP|Sylhet@SY","Christ Church@CC|Saint Andrew@AN|Saint George@GE|Saint James@JM|Saint John@JN|Saint Joseph@JS|Saint Lucy@LU|S
2aint Michael@MI|Saint Peter@PE|Saint Philip@PH|Saint Thomas@TH","Brestskaya (Brest)@|Homyel'skaya (Homyel')@|Horad Minsk@|Hrodzyenskaya (Hrodna)@|Mahilyowskaya (Mahilyow)@|Minskaya@|Vitsyebskaya (Vitsyebsk)@","Antwerpen@AN|Brabant Wallon@BR|Brussels Capitol Region@BU|Hainaut@HT|Liege@LG|Limburg@LI|Luxembourg@LX|Namur@NA|Vlaams Brabant@BW|West-Vlaanderen@WV","Belize@BZ|Cayo@CY|Corozal@CZ|Orange Walk@OW|Stann Creek@SC|Toledo@TO","Alibori@AL|Atakora@AK|Atlantique@AQ|Borgou@BO|Collines@CO|Couffo@KO|Donga@DO|Littoral@LI|Mono@MO|Oueme@OU|Plateau@PL|Zou@ZO","Devonshire@DE|Hamilton@HA|Hamilton municipality@HC|Paget@PA|Pembroke@PE|Saint George@SG|Saint Georges municipality@SC|Sandys@SA|Smiths@SM|Southampton@SO|Warwick@WA","Bumthang@BU|Chhukha@CK|Chirang@CR|Daga@DA|Geylegphug@GE|Ha@HA|Lhuntshi@LH|Mongar@MO|Paro@PR|Pemagatsel@PM|Punakha@PN|Samchi@SM|Samdrup Jongkhar@SJ|Shemgang@SG|Tashigang@TA|Thimphu@TM|Tongsa@TO|Wangdi Phodrang@WP","Chuquisaca@CQ|Cochabamba@CB|La Paz@LP|Oruro@|Pando@PA|Potosi@PO|Santa Cruz@SC|Tarija@TR","Federation of Bosnia and Herzegovina@BF|Republika Srpska@SR","Central@CE|Francistown@FS|Gaborone@GB|Ghanzi@GH|Kgalagadi@KG|Kgatleng@KL|Kweneng@KW|Lobatse@LB|Ngamiland@NG|North-East@NE|Selebi-Pikwe@SP|South-East@SE|Southern@SO","Acre@AC|Alagoas@AL|Amapa@AP|Amazonas@AM|Bahia@BA|Ceara@CE|Distrito Federal@DF|Espirito Santo@ES|Goias@GO|Maranhao@MA|Mato Grosso@MT|Mato Grosso do Sul@MS|Minas Gerais@MG|Para@PA|Paraiba@PB|Parana@PR|Pernambuco@PE|Piaui@PI|Rio de Janeiro@RJ|Rio Grande do Norte@RN|Rio Grande do Sul@RS|Rondonia@RO|Roraima@RR|Santa Catarina@SC|Sao Paulo@SP|Sergipe@SE|Tocantins@TO","Anegada@|Jost Van Dyke@|Tortola@|Virgin Gorda@","Belait@BE|Brunei and Muara@BM|Temburong@TE|Tutong@TU","Blagoevgrad@BL|Burgas@BR|Dobrich@DO|Gabrovo@GB|Khaskovo@KK|Kurdzhali@KZ|Kyustendil@KY|Lovech@LV|Montana@MT|Pazardzhik@PZ|Pernik@PN|Pleven@PV|Plovdiv@PD|Razgrad@RG|Ruse@RS|Shumen@SH|Silistra@SI|Sliven@SL|Smolyan@SM|Sofiya@SF|Sofiya-Grad@SF|Stara Zagora@SZ|Turgovishte@TU|constna@VN|Veliko Turnovo@VT|Vidin@VD|Vratsa@VR|Yambol@YA","Boucle Du Mouhoun@BO|Cascades@CD|Centre@CT|Centre Est@CE|Centre Nord@CN|Centre Ouest@CO|Centre Sud@CS|East@ES|Hauts Bassins@HB|Nord@NO|Plateau Central@PC|Sahel@SA|Sud-Ouest@SO","Ayeyarwady@AY|Bago@BA|Chin State@CH|Kachin State@KC|Kayah State@KH|Kayin State@KN|Magway@MG|Mandalay@ML|Mon State@MO|Rakhine State@RA|Sagaing@SA|Shan State@SH|Tanintharyi@TN|Yangon@YA","Bubanza@BB|Bujumbura@BJ|Bururi@BR|Cankuzo@CA|Cibitoke@CI|Gitega@GI|Karuzi@KR|Kayanza@KY|Kirundo@KI|Makamba@MA|Muramvya@MU|Muyinga@MY|Mwaro@MW|Ngozi@NG|Rutana@RT|Ruyigi@RY","Banteay Mean Cheay@OM|Batdambang@BA|Kampong Cham@KC|Kampong Chhnang@KG|Kampong Spoe@KS|Kampong Thum@KT|Kampot@KP|Kandal@KN|Kaoh Kong@KK|Kracheh@KH|Mondol Kiri@MK|Otdar Mean Cheay@OC|Phnum Penh@PP|Pouthisat@PO|Preah Vihear@PH|Prey Veng@PY|Rotanah Kiri@RO|Siem Reab@SI|Stoeng Treng@ST|Svay Rieng@SR|Takev@TA","Adamaoua@AD|Centre@CE|East@ES|Extreme-Nord@EN|Littoral|Nord@LT|Nord-Ouest@NO|Ouest@OS|Sud@SU|Sud-Ouest@SO","Alberta@AB|British Columbia@BC|Manitoba@MB|New Brunswick@NB|Newfoundland@NF|Northwest Territories@NT|Nova Scotia@NS|Nunavut@NU|Ontario@ON|Prince Edward Island@PE|Quebec@QC|Saskatchewan@SK|Yukon Territory@YT","Boa Vista@BV|Brava@BR|Maio@MA|Mosteiros@MO|Paul@PA|Porto Novo@PN|Praia@PC|Ribeira Grande@RG|Sal@SL|Santa Catarina@CT|Santa Cruz@CZ|Sao Domingos@SD|Sao Filipe@FP|Sao Vicente@SV|Tarrafal@TF","Creek@Creek|Eastern@Eastern|Midland@Midland|South Town@South Town|Spot Bay@Spot Bay|Stake Bay@Stake Bay|West End@West End|Western@Western","Bamingui-Bangoran@BB|Bangui@BG|Basse-Kotto@BK|Gribingui@GR|Haut-Mbomou@HM|Haute-Kotto@HK|Haute-Sangha@HS|Kemo-Gribingui@KG|Lobaye@LB|MbomouMB|Nana-Mambere@NM|Ombella-Mpoko@MP|Ouaka@UK|Ouham@AC|Ouham-Pende@OP|Sangha@SE|Vakaga@VK","Batha@BA|Biltine@BI|Borkou-Ennedi-Tibesti@BT|Chari-Baguirmi@CB|Guera@GR|Kanem@KA|Lac@LC|Logone Occidental@LO|Logone Oriental@LR|Mayo-Kebbi@MK|Moyen-Chari@MC|OuaddaiOD|Salamat@SA|Tandjile@TA","Aisen del General Carlos Ibanez del Campo@AI|Antofagasta@AN|Araucania@AR|Atacama@AT|Bio-Bio@BI|Coquimbo@CO|Libertador General Bernardo O'Higgins@LI|Los Lagos@LL|Magallanes y de la Antartica Chilena@MA|Maule@ML|Region Metropolitana (Santiago)@RM|Tarapaca@TA|Valparaiso@VS","Anhui@AH|Beijing@BJ|Chongqing@CQ|Fujian@FJ|Gansu@GS|Guangdong@GD|Guangxi@GX|Guizhou@GZ|Hainan@HA|Hebei@HB|Heilongjiang@HL|Henan@HN|Hubei@HU|Jiangsu@JS|Jiangxi@JX|Jilin@JL|Liaoning@LN|Nei Mongol@NM|Ningxia@NX|Qinghai@QH|Shaanxi@SN|Shandong@SD|Shanghai@SH|Shanxi@SX|Sichuan@SC|Tianjin@TJ|Xinjiang@XJ|Xizang (Tibet)@XZ|Yunnan@YN|Zhejiang@ZJ","Christmas Island@CX","Clipperton Island@CP","Cocos Islands@CC","Amazonas@AM|Antioquia@AN|Arauca@AR|Atlantico@AT|Boliconst@BL|Boyaca@BY|Caldas@CL|Caqueta@CQ|Casanare@CS|Cauca@CA|Cesar@CE|Choco@CH|Cordoba@CO|Cundinamarca@CU|Distrito Capital de Santa Fe de Bogota@DC|Guainia@GN|Guaviare@GV|Huila@HU|La Guajira@LG|Magdalena@MA|Meta@ME|Narino@NA|Norte de Santander@NS|Putumayo@PU|Quindio@QD|Risaralda@RI|San Andres y Providencia@SA|Santander@ST|Sucre@SU|Tolima@TO|Valle del Cauca@VC|Vaupes@
2VP|Vichada@VD","Anjouan (Nzwani)@AN|Domoni@DM|Fomboni@FM|Grande Comore (Njazidja)@GC|Moheli (Mwali)@MO|Moroni@MR|Moutsamoudou@MS","Bandundu@BN|Bas-Congo@BC|Equateur@EQ|Kasai-Occidental@KW|Kasai-Oriental@KE|Katanga@KA|Kinshasa@KN|Maniema@MA|Nord-Kivu@NK|Orientale@OR|Sud-Kivu@SK","Bouenza@BO|Brazzaville@BR|Cuvette@CU|Kouilou@KL|Lekoumou@LE|Likouala@LI|Niari@NI|Plateaux@PL|Pool@PO|Sangha@SA","Cook Islands@CK","Alajuela@AL|Cartago@CA|Guanacaste@GU|Heredia@HE|Limon@LI|Puntarenas@PU|San Jose@SJ","Abidjan@AB|Bas Sassandra@BA|Comoe@CM|Denguele@DE|Goh Djiboua@GD|Lacs@LA|Sassandra Marahoue@SM|Woroba@WB|Yamoussoukro@YM|Zanzan@ZA|","Bjeloconstsko-Bilogorska Zupanija@BB|Brodsko-Posavska Zupanija@SP|Dubrovacko-Neretvanska Zupanija@DN|Istarska Zupanija@IS|Karlovacka Zupanija@KA|Koprivnicko-Krizevacka Zupanija@KK|Krapinsko-Zagorska Zupanija@KZ|Licko-Senjska Zupanija@LS|Medimurska Zupanija@ME|Osjecko-Baranjska Zupanija@OB|Pozesko-Slavonska Zupanija@PS|Primorsko-Goranska Zupanija@PG|Sibensko-Kninska Zupanija@SB|Sisacko-Moslavacka Zupanija@SM|Splitsko-Dalmatinska Zupanija@SB|constazdinska Zupanija@VA|Viroviticko-Podravska Zupanija@VP|Vukoconstsko-Srijemska Zupanija@VS|Zadarska Zupanija@ZD|Zagreb@ZG","Camaguey@CM|Ciego de Avila@CA|Cienfuegos@CF|Granma@GR|Guantanamo@GU|Holguin@HO|Isla de la Juventud@IJ|La Habana@CH|Las Tunas@LT|Matanzas@MA|Pinar del Rio@PD|Sancti Spiritus@SS|Santiago de Cuba@SC|Villa Clara@VC","Famagusta@FA|Kyrenia@KY|Larnaca@LA|Limassol@LI|Nicosia@NI|Paphos@PA","Jihlavsky@JC|Karloconstsky@KA|Kralovehradecky@KR|Liberecky@LI|Olomoucky@OL|Ostravsky|Pardubicky@PA|Plzensky@PL|Praha@PR|Stredocesky@ST|Ustecky@US|Zlinsky@ZL","Arhus@Arhus|Bornholm@Bornholm|Fredericksberg@Fredericksberg|Frederiksborg@Frederiksborg|Fyn@Fyn|Kobenhavn@Kobenhavn|Kobenhavns@Kobenhavns|Nordjylland@Nordjylland|Ribe@Ribe|Ringkobing@Ringkobing|Roskilde@Roskilde|Sonderjylland@|Storstrom@Storstrom|Vejle@Vejle|Vestsjalland@Vestsjalland|Viborg@Viborg","'Ali Sabih@AS|Dikhil@DI|Djibouti@DJ|Obock@OB|Tadjoura@TA","Saint Andrew@AN|Saint David@DA|Saint George@GO|Saint John@JN|Saint Joseph@JH|Saint Luke@LU|Saint Mark@MA|Saint Patrick@PK|Saint Paul@PL|Saint Peter@PR","Azua@AZ|Baoruco@BR|Barahona@BH|Dajabon@DA|Distrito Nacional@NC|Duarte@DC|El Seibo@SE|Elias Pina@EP|Espaillat@ES|Hato Mayor@HM|Independencia@IN|La Altagracia@AL|La Romana@RO|La Vega@VE|Maria Trinidad Sanchez@MT|Monsenor Nouel@MN|Monte Cristi@MC|Monte Plata@MP|Pedernales@PN|Peravia@PV|Puerto Plata@PP|Samana@SM|San Cristobal@CR|San Juan@JU|San Pedro de Macoris@PM|Sanchez Ramirez@SZ|Santiago@AST|Santiago Rodriguez@SR|Valverde@VA","Azuay@AZ|Boliconst@BO|Canar@CN|Carchi@CR|Chimborazo@CB|Cotopaxi@CT|El Oro@EO|Esmeraldas@ES|Galapagos@GA|Guayas@GY|Imbabura@IM|Loja@LJ|Los Rios@IR|Manabi@MN|Morona-Santiago@MS|Napo@NA|Orellana@OR|Pastaza@PA|Pichincha@PC|Sucumbios@SU|Tungurahua@TU|Zamora-Chinchipe@ZC","Ad Daqahliyah@DK|Al Bahr al Ahmar@BA|Al Buhayrah@BH|Al Fayyum@FY|Al Gharbiyah@GH|Al Iskandariyah@AX|Al Isma'iliyah@IS|Al Jizah@GZ|Al Minufiyah@MF|Al Minya@MN|Al Qahirah@KB|Al Qalyubiyah@QB|Al Wadi al Jadid@WD|As Suways@SZ|Ash Sharqiyah@SR|Aswan@AS|Asyut@AT|Bani Suwayf@BS|Bur Sa'id@PS|Dumyat@DT|Janub Sina'@JS|Kafr ash Shaykh@KS|Matruh@MT|Qina@KN|Shamal Sina'|Suhaj@SN","Ahuachapan@AH|Cabanas@CA|Chalatenango@CH|Cuscatlan@CU|La Libertad@LI|La Paz@PA|La Union@UN|Morazan@MO|San Miguel@SM|San Salvador@SS|San Vicente@SV|Santa Ana@SA|Sonsonate@SO|Usulutan@US","Annobon@AN|Bioko Norte@BN|Bioko Sur@BS|Centro Sur@CS|Kie-Ntem@KN|Litoral@LT|Wele-Nzas@WN","Akale Guzay@AG|Barka@BA|Denkel@DN|Hamasen@HA|Sahil@SH|Semhar@SE|Senhit@ST|Seraye@SR","Harjumaa (Tallinn)@HA|Hiiumaa (Kardla)@HI|Ida-Virumaa (Johvi)@IV|Jarvamaa (Paide)@JR|Jogevamaa (Jogeva)@JN|Laane-Virumaa (Rakvere)@LN|Laane-Viru (Haapsalu)@LV|Parnumaa (Parnu)@PR|Polvamaa (Polva)@PL|Raplamaa (Rapla)@RA|Saaremaa (Kuessaare)@SA|Tartumaa (Tartu)@TA|Valgamaa (Valga)@VG|Viljandimaa (Viljandi)@VD|Vorumaa (Voru)@VR","Adis Abeba (Addis Ababa)@AA|Afar@AF|Amara@AM|Dire Dawa@DD|Gambela Hizboch@GH|Hareri Hizb@HH|Oromiya@OR|Sumale@SO|Tigray@TI|YeDebub Biheroch Bihereseboch na Hizboch@YB","Europa Island@EI","Falkland Islands (Islas Malvinas)@FI","Bordoy@BD|Eysturoy@EY|Mykines@MY|Sandoy@SA|Skuvoy@SK|Streymoy@ST|Suduroy@SU|Tvoroyri@TV|Vagar@VG","Central@CE|Eastern@EA|Northern@NO|Rotuma@RO|Western@WE","Aland@AL|Etela-Suomen Laani@ES|Ita-Suomen Laani@IS|Lansi-Suomen Laani@LS|Lappi@LP|Oulun Laani@OL","Ain@AI|Aisne@AS|Allier@Al|Bas Rhin@BR|Calvados@CV|Cantal@CL|Cher@CH|Drome@DM|Eure@EU|Essonne@ES|Gers@GE|Herault@HE|Isere@IS|Jura@JU|Loiry@LR|Orne@OR|Pas De Calais@PC|Rhone@RH","Cayenne@CY|Saint Laurent-Du-Maroni@SL","Archipel des Marquises@Archipel des Marquises|Archipel des Tuamotu@Archipel des Tuamotu|Archipel des Tubuai@Archipel des Tubuai|Iles du Vent@Iles du Vent|Iles Sous-le-Vent@Iles Sous-le-Vent","Adelie Land@AL|Ile Crozet@Ile Crozet|Iles Kerguelen@Iles Kerguelen|Iles Saint-Paul et Amsterdam@Iles Saint-Paul et Amsterdam","Estuaire@ES|Haut-Ogooue@HO|Moyen-Ogooue@MO|Ngounie@NG|Nyanga@NY|Ogooue-Ivindo@OI|Ogooue-Lolo@OL|Ogooue-Maritime@OM|Woleu-Ntem@WM","Banjul@BJ|Central River@MC|Lower River@LR|North Bank@NB|Upper River@UR|Western@WE","Gaza Strip@GS","Abashis@Abashis|Abkhazia or Ap'khazet'is Avtonomiuri Respublika (Sokhumi)@Abkhazia or Ap'khazet'is Avtonomiuri Respublika (Sokhumi)|Adigenis@Adigenis|Ajaria or Acharis Avtonomiuri Respublika (Bat'umi)@Ajaria or Acharis Avtonomiuri Respublika (Bat'umi)|Akhalgoris@Akhalgoris|Akhalk'alak'is@Akhalk'alak'is|Akhalts'ikhis@Akhalts'ikhis|Akhmetis@Akhmetis|Ambrolauris@Ambrolauris|Aspindzis@Aspindzis|Baghdat'is@Baghdat'is|Bolnisis@Bolnisis|Borjomis@Borjomis|Ch'khorotsqus@Ch'khorotsqus|Ch'okhatauris@Ch'okhatauris|Chiat'ura@Chiat'ura|Dedop'listsqaros@Dedop'listsqaros|Dmanisis@Dmanisis|Dushet'is@Dushet'is|Gardabanis@Gardabanis|Gori@Gori|Goris@Goris|Gurjaanis@Gurjaanis|Javis@Javis|K'arelis@K'arelis|K'ut'aisi@K'ut'aisi|Kaspis@Kaspis|Kharagaulis@Kharagaulis|Khashuris@Kharagaulis|Khobis@Khobis|Khonis@Khonis|Lagodekhis@Lagodekhis|Lanch'khut'
2is@Lanch'khut'is|Lentekhis@Lentekhis|Marneulis@Marneulis|Martvilis@Martvilis|Mestiis@Mestiis|Mts'khet'is@Mts'khet'is|Ninotsmindis@Ninotsmindis|Onis@Onis|Ozurget'is@Ozurget'is|P'ot'i@P'ot'i|Qazbegis@QazbegisQazbegis|Qconstlis@Qconstlis|Rust'avi@Rust'avi|Sach'kheris@Sach'kheris|Sagarejos@Sagarejos|Samtrediis@Samtrediis|Senakis@Senakis|Sighnaghis@Sighnaghis|T'bilisi@T'bilisi|T'elavis@T'elavis|T'erjolis@T'erjolis|T'et'ritsqaros@T'et'ritsqaros|T'ianet'is@T'ianet'is|Tqibuli@Tqibuli|Ts'ageris@Ts'ageris|Tsalenjikhis@Tsalenjikhis|Tsalkis@TS|Tsqaltubo@Tsqaltubo|Vanis@VN|Zestap'onis@Zestap'onis|Zugdidi@Zugdidi|Zugdidis@Zugdidis","Baden-Wuerttemberg@BW|Bayern@BY|Berlin@BE|Brandenburg@BB|Bremen@HB|Hamburg@HH|Hessen@HE|Mecklenburg-Vorpommern@MV|Niedersachsen@NI|Nordrhein-Westfalen@NW|Rheinland-Pfalz@RP|Saarland@SL|Sachsen@SN|Sachsen-Anhalt@ST|Schleswig-Holstein@SH|Thueringen@TH","Ashanti@AH|Brong-Ahafo@BA|Central@CT|Eastern@EP|Greater Accra@AA|Northern@NP|Upper East@UE|Upper West@UW|Volta@TV|Western@WP","Gibraltar@GI","Aegean@AI|Attica@AT|Crete@CR|Epirus and Western Macedonia@EM|Mount Athos@MA|Peloponnese,Western Greece and the Ionian Islands@PW","Kujalleq@KU|Qaasuitsup@QA|Qeqqata@QE|Sermersooq@SE|Avannaa (Nordgronland)@AN|Kitaa (Vestgronland)@KT|Tunu (Ostgronland)@TN","Carriacou and Petit Martinique@CA|Saint Andrew@AN|Saint David@DA|Saint George@GE|Saint John@JO|Saint Mark@MA|Saint Patrick@PA","Basse-Terre@BT|Grande-Terre@GT|Iles de la Petite Terre@IP|Iles des Saintes@IS|Marie-Galante@MG","Agana Heights@AH|Agat@AT|Asan@AS|Barrigada@BA|Chalan-Pago-Ordot@CP|Dededo@DD|Inarajan@IN|Mangilao@MA|Piti@PI|Santa Rita@SR|Talofofo@TF|Umatse@UM|Yigo@YG","Alta Verapaz@AV|Baja Verapaz@BV|Chimaltenango@CT|Chiquimula@CQ|El Progreso@EP|Escuintla@ES|Guatemala@GU|Huehuetenango@HT|Izabal@IZ|Jalapa@JP|Jutiapa@JU|Peten@PT|Quetzaltenango@QT|Quiche@QU|Retalhuleu@RH|Sacatepequez@SP|San Marcos@SM|Santa Rosa@SR|Solola@SL|Suchitepequez@ST|Totonicapan@TT|Zacapa@ZC","Castel@CS|Forest@FR|St. Andrew@SA|St. Martin@SM|St. Peter Port@SP|St. Pierre du Bois@SB|St. Sampson@SS|St. Saviour@SV|Torteval@TT|Vale@VL","Beyla@BY|Boffa@BF|Boke@BK|Conakry|Coyah|Dabola|Dalaba|Dinguiraye|Dubreka|Faranah|Forecariah|Fria|Gaoual|Gueckedou|Kankan|Kerouane|Kindia|Kissidougou|Koubia|Koundara|Kouroussa|Labe|Lelouma|Lola|Macenta|Mali|Mamou|Mandiana|Nzerekore|Pita|Siguiri|Telimele|Tougue|Yomou","Bafata@BA|Biombo@BM|Bissau@BS|Bolama-Bijagos@BL|Cacheu@CA|Gabu@GA|Oio@OI|Quinara@QU|Tombali@TO","Barima-Waini@BA|Cuyuni-Mazaruni@CU|Demerara-Mahaica@DE|East Berbice-Corentyne@EB|Essequibo Islands-West Demerara@ES|Mahaica-Berbice@MA|Pomeroon-Supenaam@PM|Potaro-Siparuni@PT|Upper Demerara-Berbice@UD|Upper Takutu-Upper Essequibo@UT","Artibonite@AR|Centre@CE|Grand'Anse@GA|Nord@ND|Nord-Est@NE|Nord-Ouest@NO|Ouest@OU|Sud@SD|Sud-Est@SE","Heard Island and McDonald Islands@HM","Holy See (Vatican City)@VA","Atlantida@AT|Choluteca@CH|Colon@CL|Comayagua@CM|Copan@CP|Cortes@CR|El Paraiso@EP|Francisco Morazan@FM|Gracias a Dios@GD|Intibuca@IN|Islas de la Bahia@IB|La Paz@LP|Lempira@LE|Ocotepeque@OC|Olancho@OL|Santa Barbara@SB|Valle@VA|Yoro@YO","Central and Western@CW|Easertn@EA|Islands@IS|Kowloon City@KC|Kwai Tsing@KI|North@NO|Saikung@SK|Sha Tin@ST|Southern@SO|Tai Po@TP|Tuen Mun@TM|Wai Chai@WC|Yuen Long@YL","Howland Island@HI","Bacs-Kiskun@BK|Baranya@BA|Bekes@BE|Borsod-Abauj-Zemplen@BZ|Budapest@BU|Csongrad@CS|Eger@ER|Fejer@FE|Gyor-Moson-Sopron@GS|Hajdu-Bihar@HB|Heves@HE|Jasz-Nagykun-Szolnok@JN|Komarom-Esztergom@KE|Miskolc@MI|Nograd@NO|Pest@PE|Somogy@SO|Szabolcs-Szatmar-Bereg@SZ|Szeged@SE|Tatabanya@TA|Tolna@TO|Vas@VA|Veszprem@VE|Zala@ZA","Akranes@Akranes|Akureyri@Akureyri|Arnessysla@Arnessysla|Austur-Bardhastrandarsysla@Austur-Bardhastrandarsysla|Austur-Hunavatnssysla@Austur-Hunavatnssysla|Austur-Skaftafellssysla@Austur-Skaftafellssysla|Borgarfjardharsysla@Borgarfjardharsysla|Dalasysla@Dalasysla|Eyjafjardharsysla@Eyjafjardharsysla|Gullbringusysla@Gullbringusysla|Hafnarfjordhur@Hafnarfjordhur|Husavik@Husavik|Isafjordhur@Isafjordhur|Keflavik@Keflavik|Kjosarsysla@Kjosarsysla|Kopavogur@Kopavogur|Myrasysla@Myrasysla|Neskaupstadhur@Neskaupstadhur|Nordhur-Isafjardharsysla@Nordhur-Isafjardharsysla|Nordhur-Mulasys-la@Nordhur-Mulasys-la|Nordhur-Thingeyjarsysla@Nordhur-Thingeyjarsysla|Olafsfjordhur@Olafsfjordhur|Rangarvallasysla@Rangarvallasysla|Reykjavik@Reykjavik|Saudharkrokur@Saudharkrokur|Seydhisfjordhur@Seydhisfjordhur|Siglufjordhur@Siglufjordhur|Skagafjardharsysla@Skagafjardharsysla|Snaefellsnes-og Hnappadalssysla@Snaefellsnes-og Hnappadalssysla|Strandasysla@Strandasysla|Sudhur-Mulasysla@Sudhur-Mulasysla|Sudhur-Thingeyjarsysla@Sudhur-Thingeyjarsysla|Vesttmannaeyjar@Vesttmannaeyjar|Vestur-Bardhastrandarsysla@Vestur-Bardhastrandarsysla|Vestur-Hunavatnssysla@Vestur-Hunavatnssysla|Vestur-Isafjardharsysla@Vestur-Isafjardharsysla|Vestur-Skaftafellssysla@Vestur-Skaftafellssysla","Andaman and Nicobar Islands@AN|Andhra Pradesh@AP|Arunachal Pradesh@AR|Assam@AS|Bihar@BR|Chandigarh@CH|Chhattisgarh@CG|Dadra and Nagar Haveli@DN|Daman and Diu@DD|Delhi@DL|Goa@GA|Gujarat@GJ|Haryana@HR|Himachal Pradesh@HP|Jammu and Kashmir@JK|Jharkhand@JH|Karnataka@KA|Kerala@KL|Lakshadweep@LD|Madhya Pradesh@MP|Maharashtra@MH|Manipur@MN|Meghalaya@ML|Mizoram@MZ|Nagaland@NL|Orissa@OR|Pondicherry@PY|Punjab@PB|Rajasthan@RJ|Sikkim@SK|Tamil Nadu@TN|Tripura@TR|Uttar Pradesh@UP|Uttaranchal@UK|West Bengal@WB","Aceh@AC|Bali@BA|Banten@BT|Bengkulu@BE|Gorontalo@GO|Jakarta Raya@JK|Jambi@JA|Jawa Barat@JB|Jawa Tengah@JT|Jawa Timur@JI|Kalimantan Barat@KB|Kalimantan Selatan@KS|Kalimantan Tengah@KT|Kalimantan Timur@KI|Kepulauan Riau@KR|Lampung@LA|Maluku@MA|Maluku Utara@MU|Nusa Tenggara Barat@NB|Nusa Tenggara Timur@NT|Riau@RI|Sulawesi Selatan@SN|Sulawesi Tengah@ST|Sulawesi Tenggara@SG|Sulawesi UtaraSA|Sumatera Barat@SB|Sumatera Selatan@SS|Sumatera Utara@SU|Yogyakarta@YO","ArdEbil@AR|East Azarbayjan@EA|Chahar Mahall va Bakhtiari@CM|Esfahan@ES|Fars@FA|Gilan@GI|Golestan@GO|Hamadan@HD|Hormozgan@HG|Ilam@IL|Kerman@KE|Kermanshah@BK|Khuzestan@KZ|Kohgiluyeh va Buyer Ahmad@KB|Kordestan@KD|Lorestan@LO|Markazi@MK|Mazandaran@MN|Qazvin@QZ|Qom@QM|Semnan@SM|Sistan va Baluchestan@SV|Tehran@TE|Yazd@YA|Zanjan@ZA","Al Anbar@AN|Al Basrah@BA|Al Muthanna@MU|Al Qadisiyah@QA|An Najaf@NA|Arbil@AR|As Sulaymaniyah@SU|At Ta'mim@TS|Babil@BB|BaghdadVBG|Dahuk@DA|Dhi Qar@DQ|Diyala@DI|Karbala'@KA|Maysan@MA|Ninawa@NI|Salah ad Din@SD|Wasit@WA","Carlow@CW|Cavan@CN|Clare@CE|Cork@CO|Donegal@DL|Dublin@DN|Galway@GY|Kerry@KY|Kildare@KE|Kilkenny@KK|Laois@LS|Leitrim@LM|Limerick@LK|Longford@LD|Louth@LH|Mayo@MO|Meath@MH|Monaghan@MN|Offaly@OI|Roscommon@RN|Sligo@SO|Tipperary@TA|Waterford@WD|Westmeath@WH|Wexford@WX|Wicklow@WW","Antrim@Antrim|Ards@Ards|Armagh@Armagh|Ballymena@Ballymena|Ballymoney@Ballymoney|Banbridge@Banbridge|Belfast@Belfast|Carrickfergus@Carrickfergus|Castlereagh@Castlereagh|Coleraine@Coleraine|Cookstown@Cookstown|Craigavon@Craigavon|Derry@Derry|Down@Down|Dungannon@Dungannon|Fermanagh@Fermanagh|Larne@Larne|Limavady@Limavady|Lisburn@Lisburn|Magherafelt@Magherafelt|Moyle@Moyle|Newry and Mourne@Newry and Mourne|Newtownabbey@Newtownabbey|North Down@North Down|Omagh@Omagh|Strabane@Strabane","Central@CE|Haifa@HA|Jerusalem@JM|Northern@NE|Southern@SE|Tel Aviv@TA","Abruzzo@AB|Basilicata@BC|Calabria@LB|Campania@CM|Emilia-Romagna@ER|Friuli-Venezia Giulia@FV|Lazio@LZ|Liguria@LG|Lombardia@LM|Marche@MH|Molise@MN|Piemonte@PM|Sardegnia@SD|Sicilia@SC|Toscana@TC|Trentino-Alto Adige@TT|Umbria@UM|Valle d'Aosta@VD|Veneto@VN","Clarendon@CL|Hanover@HA|Kingston@KI|Manchester@MA|Portland@PO|Saint Andrew@SD|Saint Ann@SN|Saint Catherine@SC|Saint Elizabeth@SE|Saint James@SJ|Saint Mary@SM|Saint Thomas@ST|Trelawny@TR|Westmoreland@WE","Jan Mayen@JM","Aichi@AI|Akita@AK|Aomori@AO|Chiba@CH|Ehime@EH|Fukui@FI|Fukuoka@FO|Fukushima@FS|Gifu@GF|Gumma@GM|Hiroshima@HS|Hokkaido@HK|Hyogo@HG|Ibaraki@IB|Ishikawa@IS|Iwate@IW|Kagawa@KG|Kagoshima@KS|Kanagawa@KN|Kochi@KC|Kumamoto@KM|Kyoto@KY|Mie@MI|Miyagi@MG|Miyazaki@MZ|Nagano@NG|Nagasaki@NS|Nara@NR|Niigata@NI|Oita@OT|Okayama@OY|Okinawa@ON|Osaka@OS|Saga@SG|Saitama@ST|Shiga@SH|Shimane@SN|Shizuoka@SZ|Tochigi@TC|Tokushima@TS|Tokyo@TK|Tottori@TT|Toyama@TY|Wakayama@WK|Yamagata@YT|Yamaguchi@YC|Yamanashi@YN","Jarvis Island@JI","Jersey@JE","Johnston Atoll@JA","'Amman@AM|Ajlun@AJ|Al 'Aqabah@AQ|Al Balqa'@BA|Al Karak@KA|Al Mafraq@MA|At Tafilah@AT|Az Zarqa@AZ'|Irbid@IR|Jarash@JA|Ma'an@MN|Madaba@MD","Juan de Nova Island@JD","Almaty@AA|Aqmola@AM|Aqtobe@AT|Astana@AS|Atyrau@AR|Bayqongyr@BY|Mangghystau@MG|Pavlodar@PA|Qaraghandy@QG|Qostanay@QY|Qyzylorda@QO|South Qazaqstan@SK|Zhambyl@ZM","Bomet@BO|Busia@BS|Embu@EB|Garissa@GA|Homa bay@HB|Isiolo@IS|Kajiado@KJ|Kilifi@KF|Kissi@KI|Lamu@LM|Machakos@MC|Mandera@MD|Meru@ME|Nairobi@NB|Nakuru@NK|Nyanza@NZ|Samburu@SA|Siaya@SI|Tana River@TR|Tharakanithi@NT|Uasin Gishu@UG|Vihiga@VI|West Pokot@WP","Gilbert Islands@GI|Line Islands@LI|Phoenix Islands@PI","Chagang-do (Chagang Province)@CH|Hamgyong-bukto (North Hamgyong Province)@HG|Hamgyong-namdo (South Hamgyong Province)@HN|Hwanghae-bukto (North Hwanghae Province)@WK|Hwanghae-namdo (South Hwanghae Province)@WN|Kangwon-do (Kangwon Province)@KW|P'yongan-bukto (North P'yongan Province)@PB|P'yongan-namdo (South P'yongan Province)@PM|P'yongyang-si (P'yongyang City)@PY|Yanggang-do (Yanggang Province)@YG","Ch'ungch'ong-bukdo@HB|Ch'ungch'ong-namdo@HN|Daegu@TG|Inch'on-gwangyoksi@IN|Kangwon-do@KW|Kwangju-gwangyoksi@KJ|Kyonggi-do@KG|Kyongsang-bukto@KB|Kyongsang-namdo@KN|Soul-t'ukpyolsi@SO|Ulsan-gwangyoksi@UL","Al Ahmadi@AH|Al Farwaniyah@FA|Al Jahra'@JA|Hawalli@HW","Batken Oblasty@BA|Bishkek@BG|Chuy@CU|Jalal-Abad@DA|Naryn@NA|Osh@OH|Talas@TL|Ysyk-Kol (Karakol)@YK","Attapu@AT|Bokeo@BK|Bolikhamxai@BL|Champasak@CH|Houaphan@HO|Khammouan@KH|Louangnamtha@LM|Louangphabang@LP|Oudomxai@OU|Phongsali@PH|Salavan@SL|Savannakhet@SV|Viangchan@VI|Viangchan@VT|Xaignabouli@XA|Xaisomboun@XN|Xekong@XE|Xiangkhoang@XI","Adazi@AD|Aglona@AG|Baldone@BD|Balvi@BV|Bauska@BK|Cesis@CS|Cibla@Ci|Dagda@DD|Dobele@DB|Durbe@DR|Engure@EN|Ergli@ER|Grobina@GR|Gulbene@GU|Iecava@IE|Ikskile@IK|Jaunpils@JU|Jekabpils@JP|Jelgava@JE|Kandava@KN|Kekava@KK|Kocenu@VR|Kuldiga@KD|Liepaja@LJ|Ligatne@LG|Livani@LV|Madona@MD|Malpils@ML|Marupe@MR|Nereta@NE|Nica@NI|Ogre@OR|Olaine@OL|Preili@PI|Priekule@PK|Rauna@RA|RIga@RI|Roja@RR|Ropazi@RP|Rugaji@RJ|Sala@SL|Saldus@SD|Seja@SE|Sigulda@SI|Talsi@TL|Tervete@TE|Valka@VA|Valmiera@VE|Vilaka@VL|Zilupe@zi","Aakkar@AK|Beirut@BA|Beqaa@BQ|Mount Lebanon@JL|Norht lebanon@AS|South Lebanon@JA","Berea@BE|Butha-Buthe@BB|Leribe@LE|Mafeteng@MF|Maseru@MS|Mohales Hoek@MH|Mokhotlong@MK|Qacha's Nek@QN|Quthing@QT|Thaba-Tseka@TT","Bomi@BM|Bong@BG|Grand Bassa@GB|Grand Cape Mount@CM|Grand Gedeh@GD|Grand Kru@GK|Lofa@LF|Margibi@MG|Maryland@MY|Montserrado@MO|Nimba@NI|River Cess@RI|Sinoe@SI","Al Jufrah@JF|Al Khums@mr|Al Kufrah@KF|An Nuqat al Khams@NK|Wadi Ash Shati'@WS|Surt@ST|Sabha@SA|Nalut@NT|Ghat@GH |Darnah@DA","Balzers@BA|Eschen@ES|Gamprin@GA|Mauren@MA|Planken@PL|Ruggell@RU|Schaan@SN|Schellenberg@SB|Triesen@TN|Triesenberg@TB|Vaduz@VA","Alytus@AS|Kaunas@KS|Klaipeda@KP|Marijampole@MA|Panevezys@PA|Siauliai@SH|Taurages Rajonas@TG|Utena@UN|Vilnius@VI","Diekirch@DI|Grevenmacher@GR|Luxembourg@LU","iLlhas@IL|Macau@MO","Aracinovo@AR|Berovo@BR|Bitola@TL|Bogdanci@BG|Bogovinje@VJ|Bosilovo@BS|Brvenica@BN|Cair (Skopje)@CI|Caska@CA|Centar (Skopje)@CE|Centar Zupa@CZ|Cesinovo@CH|Cucer-Sandevo@CS|Debar@DB|Delcevo@DL|Demir Hisar@DM|Demir Kapija@DK|Dolneni@DE|Drugovo@DR|Gazi Baba (Skopje)@GB|Gevgelija@GV|Gosticonst@GT|Gradsko@GR|Ilinden@IL|Jegunovce@JG|Karbinci@KB|Karpos (Skopje)KX@|Kavadarci@AV|Kicevo@KH|Kisela Voda (Skopje)@VD|Kocani@OC|Konce@KN|Kratovo@KY|Kriva Palanka@KZ|Krivogastani@KG|Krusevo@KS|Kumanovo@UM|Lipkovo@LI|Lozovo@LO|Makedonska Kamenica@MK|Makedonski Brod@MD|Mogila@MG|Negotino@NG|Novatsi@NV|Novo Selo@NS|Ohrid@OD|Oslomej@OS|Pehcevo@PH|Petrovec@PE|Plasnica@PN|Prilep@PP|Probistip@PT|Radovis@RV|Rankovce@RN|Resen@RE|Rosoman@RM|Saraj@AJ|Sopiste@SS|Staro Nagoricane@NA|Stip@ST|Struga@UG|Strumica@RU|Studenicani@SU|Suto Orizari (Skopje)@SO|Sveti Nikole@SL|Tearce@TR|Tetovo@ET|Valandovo@VA|Vasilevo@VL|Veles@VE|Vevcani@VV|Vinica@VI|Vranestica@VC|Vrapciste@VH|Zajas@ZA|Zelenikovo@ZK|Zileno@ZE|Zrnovci@ZR","Antananarivo@AV|Antsiranana@AS|Fianarantsoa@FI|Mahajanga@MA|Toamasina@TM|Toliara@TL","Balaka@BA|Blantyre@BL|Chikwawa@CK|Chiradzulu@CR|Chitipa@CT|Dedza@DE|Dowa@DO|Karonga@KR|Kasungu@KS|Likoma@LK|Lilongwe@LI|Machinga (Kasupe)@MH|Mangochi@MG|Mchinji@MC|Mulanje@MU|Mwanza@MW|Mzimba@MZ|Nkhata Bay@NB|Nkhotakota@NK|Nsanje@NS|Ntcheu@NU|Ntchisi@NI|Phalombe@PH|Rumphi@RU|Salima@SA|Thyolo@TH|Zomba@ZO","Johor@ZH|Kedah@KH|Kelantan@KN|Labuan@LA|Melaka@ME|Negeri Sembilan@NS|Pahang@PH|Perak@PK|Perlis@PL|Pulau Pinang@PG|Sabah@SA|Sarawak@SK|Selangor@SL|Terengganu@TE","Addu@SE|Baa@BA|Dhaalu@DA|Faafu@FA|Gaafu Alifu@GA|Gaafu Dhaalu@GD|Nnaviyani@NA|Haa Alifu@HA|Haa Dhaalu@HD|Kaafu@KA|Laamu@LM|Lhaviyani@LV|Male@MA|Meemu@ME|Noonu@NO|Raa@RA|Shaviyani@SH|Thaa@TH|Waavu@WA","Gao@GA|Kayes@KY|Kidal@KD|Koulikoro@KK|Mopti@MO|Segou@SG|Sikasso@SK|Tombouctou@TB","Central@CE|Gozo@GO|Northen@NO|South Eastern@SE|Southern@SO","Man, Isle of@IM","Marshall Islands@MH","Fort-de-France@FF|Marin@MA|Saint-pierre@SP|Trinite@TR","Adrar@AD|Assaba@AS|Brakna@BR|Dakhlet Nouadhibou@DN|Gorgol@GO|Guidimaka@GD|Hodh Ech Chargui@HC|Hodh El Gharbi|Inchiri@HG|Nouakchott@NN|Tagant@TG|Tiris Zemmour@TZ|Trarza@TR","Agalega Islands@AG|Black River@BL|Flacq@FL|Grand Port@GP|Moka@MO|Pamplemousses@PA|Plaines Wilhems@PW|Port Louis@PL|Riviere du Rempart@RR|Rodrigues@RO|Savanne@SA","Mayotte@YT","Aguascalientes@AG|Baja California@BN|Baja California Sur@BS|Campeche@CM|Chiapas@CP|Chihuahua@CH|Coahuila de Zaragoza@CA|Colima@CL|Distrito Federal@DF|Durango@DU|Guanajuato@GJ|Guerrero@GR|Hidalgo@HI|Jalisco@JA|Mexico@MX|Michoacan de Ocampo@MC|Morelos@MR|Nayarit@NA|Nuevo Leon@NL|Oaxaca@OA|Puebla@PU|Queretaro de Arteaga@QE|Quintana Roo@QR|San Luis Potosi@SL|Sinaloa@SI|Sonora@SO|Tabasco@TB|Tamaulipas@TM|Tlaxcala@TL|Veracruz-Llave@VE|Yucatan@YU|Zacatecas@ZA","Chuuk (Truk)@CH|Kosrae@KO|Pohnpei@PO|Yap@YA","Midway Islands@Midway Islands","Balti@BA|Cahul@CA|Dubasari@DB|Edinet@ED|Gagauzia@GA|Lapusna@LP|Orhei@OR|Soroca@SO|Tighina@TI|Ungheni@UN","Monaco@MC","Arhangay@AR|Bayanhongor@BH|Bulgan@BU|Darhan@DA|Dornod@DD|Dornogovi@DG|Dundgovi@DU|Dzavhan@DZ|Govi-Altay@GA|Hentiy@HN|Hovd@HD|Hovsgol@HG|Omnogovi@OG|Ovorhangay@OH|Selenge@SL|Suhbaatar@SB|Tov@TO|Ulaanbaatar@UB|Uvs@UV","Saint Anthony@SA|Saint Georges@SG|Saint Peter's@SP","Chaouia-ouardigha@CO|DOukkala-abda@DA|Fes-boulemane@FB|Gharba-chrarda-beni Hssen@GB|Marrakech-tensift-al haouz@MK|Oriental@OR|Souss-massa-draa@SM|Tadla-azilal@TB","Cabo Delgado@CD|Gaza@GA|Inhambane@IN|Manica@MN|Maputo@MP|Nampula@NM|Niassa@NS|Sofala@SO|Tete@TE|Zambezia@ZA","Caprivi@CA|Erongo@ER|Hardap@HA|Karas@KA|Khomas@KH|Kunene@KU|Ohangwena@OW|Okavango@OK|Omaheke@OH|Omusati@OS|Oshana@ON|Oshikoto@OT|Otjozondjupa@OD","Aiwo@AI|Anabar@AB|Anetan@AT|Anibare@AR|Baiti@BA|Boe@BO|Buada@BU|Denigomodu@DE|Ewa@EW|Ijuw@IJ|Meneng@ME|Nibok@NI|Uaboe@UA|Yaren@YA","Bagmati@BA|Bheri@BH|Dhawalagiri@DH|Gandaki@GA|Janakpur@JA|Karnali@KA|Kosi@KO|Lumbini@@LU|Mahakali@ME|Mechi@SE|Rapti@RA|Sagarmatha@SA|Seti@SE","Drenthe@DR|Flevoland@FL|Friesland@FR|Gelderland@GE|Groningen@GR|Limburg@LI|Noord-Brabant@ND|Noord-Holland@NH|Overijssel@OV|Utrecht@
2UT|Zeeland@ZE|Zuid-Holland@ZH","Netherlands Antilles@NA","Iles Loyaute@IL|Nord@NO|Sud@SU","Auckland@AU||Bay of Plenty@BP|Chatham Islands@CI|Gisborne@GI|Hawke's Bay@HB|Manawatu-Wanganui@MW|Marlborough@MA|Nelson@NE|Northland@NO|Otago@OT|Southland@SO|Taranaki@TK|Tasman@TS|Waikato@WK|Wellington@WG|West Coast@WC","Atlantico Norte@AN|Atlantico Sur@AS|Boaco@BO|Carazo@CA|Chinandega@CI|Chontales@CO|Esteli@ES|Granada@GR|Jinotega@JI|Leon@LE|Madriz@MD|Managua@MN|Masaya@MS|Matagalpa@MT|Nueva Segovia@NS|Rio San Juan@SJ|Rivas@RI","Agadez@AG|Diffa@DF|Dosso@DS|Maradi@MA|Niamey@NI|Tahoua@TH|Tillaberi@TL|Zinder@ZI","Abia@AB|Abuja Federal Capital Territory@FC|Adamawa@AD|Akwa Ibom@AK|Anambra@AN|Bauchi@BA|Bayelsa@BY|Benue@BE|Borno@BO|Cross River@CR|Delta@DE|Ebonyi@EB|Edo@ED|Ekiti@EK|Enugu@EN|Gombe@GO|Imo@IM|Jigawa@JI|Kaduna@KD|Kano@KN|Katsina@KT|Kebbi@KE|Kogi@KO|Kwara@KW|Lagos@LA|Nassarawa@NA|Niger@NI|Ogun@OG|Ondo@ON|Osun@OS|Oyo@OY|Plateau@PL|Rivers@RI|Sokoto@SO|Taraba@TA|Yobe@YO|Zamfara@ZA","Niue@NU","Norfolk Island@NF","Northern Islands@NI|Rota@RO|Saipan@SA|Tinian@TI","Akershus@AK|Aust-Agder@AA|Buskerud@BU|Finnmark@FI|Hedmark@HE|Hordaland@HO|More og Romsdal@MR|Nord-Trondelag@NT|Nordland@NO|Oppland@OP|Oslo@OS|Ostfold@OF|Rogaland@RO|Sogn og Fjordane@SF|Sor-Trondelag@ST|Telemark@TE|Troms@TR|Vest-Agder@VA|Vestfold@VF","Ad Dakhiliyah@DA|Al Batinah@BA|Al Wusta@WU|Ash Sharqiyah@SH|Az Zahirah@ZA|Masqat@MA|Musandam@MU|Zufar@ZF","Azad Kashmir@JK|Balochistan@BA|Federally Administered Tribal Areas@TA|Islamabad Capital Territory@IS|Punjab@PB|Sindh@SD","Aimeliik@AM|Airai@AR|Angaur@AN|Hatobohei@HA|Kayangel@KA|Koror@KO|Melekeok@ME|Ngaraard@ND|Ngarchelong@NC|Ngardmau@NM|Ngatpang@NP|Ngchesar@NS|Ngeremlengui@NL|Ngiwal@NW|Peleliu@PE|Sonsoral@SO","Bocas del Toro@BC|Chiriqui@CH|Cocle@CC|Colon@CL|Darien@DA|Herrera@HE|Los Santos@LS|Panama@PM|Veraguas@VR","Bougainville@NS|Central@CE|Chimbu@CH|East New Britain@EN|East Sepik@ES|Eastern Highlands@EH|Enga@EG|Gulf@GU|Madang@MD|Manus@MN|Milne Bay@MB|Morobe@MR|National Capital@NC|New NI|Northern@NO|Sandaun@SA|Southern Highlands@SL|West New Britain@WN|Western@WE|Western Highlands@WL","Alto Paraguay@AG|Alto Parana@AA|Amambay@AM|Asuncion (city)@AS|Boqueron@BQ|Caaguazu@CG|Caazapa@CZ|Canindeyu@CY|Central@CE|Concepcion@|CNCordillera@CR|Guaira@GU|Itapua@IT|Misiones@MI|Neembucu@NE|Paraguari@PG|Presidente Hayes@PH|San Pedro@SP","Amazonas@AM|Ancash@AN|Apurimac@AP|Arequipa@AR|Ayacucho@AY|Cajamarca@CJ|Callao@CL|Cusco@CS|Huancavelica@HV|Huanuco@HC|Ica@IC|Junin@JU|La Libertad@LL|Lambayeque@LB|Lima@LR|Loreto@LO|Madre de Dios@MD|Moquegua@MQ|Pasco@PA|Piura@PI|Puno@PU|San Martin@TA|Tumbes@TU|Ucayali@UC","Abra@AB|Agusan del Norte@AN|Agusan del Sur@AS|Aklan@AK|Albay@AL|Antique@AQ|Aurora@AU|Basilan@BS|Bataan@BA|Batanes@BN|Batangas@BT|Benguet@BG|Bohol@BO|Bukidnon@BK|Bulacan@BU|Butuan@|Cagayan@CG|Camarines Norte@CN|Camarines CS|Camiguin@CM|Capiz@CP|Catanduanes@CT|Cavite@CV|Cebu@CB|Compostela Valley@CL|Davao City Norte@DV|Davao del Sur@DR|Davao Oriental@DO|Davao Occidental@DC|Eastern Samar@ES|Guimaras@GU|Ifugao@IF|Ilocos Norte@IN|Ilocos Sur@IS|Iloilo@II|Isabela@IB|Kalinga-Apayao@KA|La Union@LU|Laguna@LG|Lanao del Norte@LN|Lanao del Sur@LS|Leyte@LE|Maguindanao@MG|Marinduque@MQ|Masbate@MB|Mindoro Occidental@MC|Mindoro Oriental@MR|Misamis Occidental@MD|Misamis Oriental@MN|Mountain@MT|Negros Occidental@ND|Negros Oriental@NR|Nueva Ecija@NE|Nueva Vizcaya@NV|Palawan@PL|Pampanga@PM|Pangasinan@PN|Quezon@QZ|Quirino@QR|Rizal@RI|Romblon@RO|Samar@SM|Sarangani@SG|Siquijor@SQ|Sorsogon@SR|South Cotabato@SC|Southern Leyte@SL|Sultan Kudarat@SK|Sulu@SU|Surigao del Norte@ST|Surigao del Sur@SS|Tarlac@TR|Tawi tawi@TT|Zambales@ZM|Zamboanga del Norte@ZN|Zamboanga del Sur@ZS|Zamboanga-Sibugay@ZY","Pitcaim Islands@PN","Dolnoslaskie@DS|Kujawsko-Pomorskie@KP|Lodzkie@LD|Lubelskie@LU|Lubuskie@LB|Malopolskie@MA|Mazowieckie@MZ|Opolskie@OP|Podkarpackie@PK|Podlaskie@PD|Pomorskie@PM|Slaskie@SL|Swietokrzyskie@SK|Warminsko-Mazurskie@WN|Wielkopolskie@WP|Zachodniopomorskie@ZP","Acores(Azores)@AC|Aveiro@AB|Beja@BE|Braga@BR|Braganca@BA|Castelo Branco@CB|Coimbra@CO|Evora@EV|Faro@FA|Guarda@GU|Leiria@LE|Lisboa@LI|Madeira@MA|Portalegre@PA|Porto@PO|Santarem@SA|Setubal@SE|Viana do Castelo@VC|Vila Real@VR|Viseu@VI","Adjuntas@AJ|Aguada@AD|Aguadilla@AL|Aguas Buenas@AB|Aibonito@AI|Anasco@AN|Arecibo@AC|Arroyo@AR|Barceloneta@BC|Barranquitas@BQ|Bayamon@BY|Cabo Rojo@CR|Caguas@CG|Camuy@CA|Canovanas@CV|Carolina@CN|Catano@CT|Cayey@CY|Ceiba@CB|Ciales@CL|Cidra@
2CB|Coamo@CO|Comerio@CN|Corozal@CZ|CulebraCU@|Dorado@DO|Fajardo@FJ|Florida@FJ|Guanica@GC|Guayama@GM|Guayanilla@GL|Guaynabo@GB|Gurabo@GR|Hatillo@HA|Hormigueros@HO|Humacao@HU|Isabela@IS|Jayuya@JY|Juana Diaz@JD|Juncos@JC|Lajas@LJ|Lares@LR|Las Marias@LM|Las Piedras@LP|Loiza@LZ|Luquillo@LQ|Manati@MT|Maricao@MR|Maunabo@MB|Mayaguez@MG|Moca@MC|Morovis@MV|Naguabo@NG|Naranjito@NR|Orocovis@OR|Patillas@PT|Penuelas@PN|Ponce@PO|Quebradillas@QB|Rincon@RRC|Rio Grande@RG|Sabana Grande@SB|Salinas@SA|San German@SG|San Juan@SJ|San Lorenzo@SL|San Sebastian@SS|Santa Isabel@SI|Toa Alta@TA|Toa Baja@TB|Trujillo Alto@TJ|Utuado@UT|Vega Alta@WA|Vega Baja@VB|Vieques@VQ|Villalba@VL|Yabucoa@YB|Yauco@YU","Ad Dawhah@DA|Al Ghuwayriyah@GH|Al Jumayliyah@JU|Al Khawr@KH|Al Wakrah@WA|Ar Rayyan@RA|Jarayan al Batinah@JB|Madinat ash Shamal@MS|Umm Salal@US","Saint Benoit@BN|Saint Denish@DE|Siant Paul|PA|Saint Pierre@PI","Alba@AB|Arad@AR|Arges@AG|Bacau@BC|Bihor@BH|Bistrita-Nasaud@BM|Botosani@BT|Braila@BR|Brasov@BV|Bucuresti@BU|Buzau@BZ|Calarasi@CL|Caras-Severin@CS|Cluj@CJ|Constanta@CT|Covasna@CV|Dimbovita@DB|Dolj@DJ|Galati@GL|Giurgiu@GR|Gorj@GJ|Harghita@HR|Hunedoara@HD|Ialomita@IL|Iasi@IS|Maramures@MM|Mehedinti@MH|Mures@MS|Neamt@NT|Olt@OT|Prahova@PH|Salaj@SJ|Satu Mare@SM|Sibiu@SB|Suceava@SV|Teleorman@TR|Timis@TM|Tulcea@TL|Vaslui@VS|Vilcea@VL|Vrancea@VN","Adygeya (Maykop)@AD|Altay (Gorno-Altaysk)@AL|Amurskaya (Blagoveshchensk)@AM|Arkhangel'skaya@AR|Astrakhanskaya@AS|Bashkortostan (Ufa)@BA|Belgorodskaya@BL|Bryanskaya@BR|Buryatiya (Ulan-Ude)@BU|Chechnya (Groznyy)@CE|Chelyabinskaya@CL|Chukotskiy (Anadyr')@CK|Chuvash (Cheboksary)@CU|Dagestan (Makhachkala)@DA|Evenkiyskiy (Tura)@|Ingushetiya (Nazran')@IN|IrkutskayaIK@|Ivanovskaya@IV|Kaliningradskaya@KN|Kalmykiya (Elista)@KL|Kaluzhskaya@KG|Kamchatskaya (Petropavlovsk-Kamchatskiy)@KQ|Karachayevo-Cherkesiya (Cherkessk)@KC|Kareliya (Petrozavodsk)@KR|Kemerovskaya@KE|Khabarovskiy@KH|Khakasiya (Abakan)@KK|Khanty-Mansiyskiy (Khanty-Mansiysk)@KM|Kirovskaya@KB|Komi (Syktyvkar)@KO|Komi(Kudymkar)@KO|Kostromskaya@KT|Krasnodarskiy@KD|Krasnoyarskiy@KX|Kurganskaya@KU|Kurskaya@KS|Leningradskaya@LN|Lipetskaya@LP|Magadanskaya@MG|Mariy-El (Yoshkar-Ola)@ME|Mordoviya (Saransk)@MO|Moskovskaya@MC|Moskva (Moscow)@MS|Murmanskaya@MM|Nenetskiy (Nar'yan-Mar)@NN|Nizhegorodskaya@NZ|Novgorodskaya@NG|Novosibirskaya@NS|Omskaya@OM|Orenburgskaya@OL|Orlovskaya (Orel)@|Penzenskaya@PZ|Permskaya@PE|Primorskiy (Vladivostok)@PR|Pskovskaya@PS|Rostovskaya@RO|Ryazanskaya@RZ|Sakha (Yakutsk)@SA|Sakhalinskaya (Yuzhno-Sakhalinsk)@SL|Samarskaya@SA|Saratovskaya@SR|Smolenskaya@SM|Stavropol'skiy@ST|Sverdlovskaya (Yekaterinburg)@SV|Tambovskaya@TB|Tatarstan (Kazan')@TA|Tomskaya@TO|Tul'skaya@TL|Tyva (Kyzyl)@TY|Udmurtiya (Izhevsk)@UD|Ul'yanovskaya@UL|Vladimirskaya@VL|Volgogradskaya@VG|Vologodskaya@VO|Voronezhskaya@VR|Yamalo-Nenetskiy (Salekhard)@YN|Yaroslavskaya@YS|Yevreyskaya@YB","Butare@BT|Byumba@BM|CyanguguCG|Gikongoro@GK|Gisenyi@GS|Gitarama@GT|Kibungo@KN|Kibuye@KY|Kigali Rurale@KL|Kigali-ville@KV|Ruhengeri@RG|Umutara@MT","Ascension@AC|Saint Helena@SH|Tristan da Cunha@TA","Christ Church Nichola Town@CC|Saint Anne Sandy Point@AS|Saint George Basseterre@SB|Saint George Gingerland@GG|Saint James Windward@GW|Saint John Capisterre@JC|Saint John Figtree@JF|Saint Mary Cayon@MC|Saint Paul Capisterre@PP|Saint Paul Charlestown@PL|Saint Peter Basseterre@PB|Saint Thomas Lowland@TL|Saint Thomas Middle Island@TM|Trinity Palmetto Point@TP","Anse-la-Raye@AR|Castries@CS|Choiseul@CH|Dennery@DE|Gros Islet@GI|Laborie@LB|Micoud@MI|Soufriere@CO|Vieux Fort@VF","Miquelon Langlade@ML|Saint Pierre & Miquelon@SP","Charlotte@CH|Grenadines@GT|Saint AndrewAN|Saint David@DA|Saint GeorgeGE|Saint Patrick@PA","A'ana@AA|Aiga-i-le-Tai@AL|Atua@AT|Fa'asaleleaga@FA|Gaga'emauga@GE|Gagaifomauga@GI|Palauli@PA|Satupa'itea@SA|Tuamasaga@TU|Va'a-o-Fonoti@VF|Vaisigano@VS","Acquaviva@AC|Borgo Maggiore@BM|Chiesanuova@CH|Domagnano@DO|Faetano@FA|Fiorentino@FI|Monte Giardino@MG|San Marino@SM|Serravalle@SE","Principe@PR|Sao Tome@ST","'Asir@AS|Al Bahah@BA|Al Hudud ash Shamaliyah@HS|Al Jawf@JF|Al Madinah@MD|Al Qasim@QS|Ar Riyad@RI|Ash Sharqiyah (Eastern Province)@SH|Ha'il@HA|Jizan@JZ|Makkah@MK|Najran@NJ|Tabuk@TB","Aberdeen City@AR|Aberdeenshire@AS|Angus@AG|Argyll and Bute@AY|Clackmannanshire@CC|Dumfries and Galloway@DG|Dundee City@DU|East Ayrshire@EA|East Dunbartonshire@ED|E
2ast Lothian@EL|East Renfrewshire@ER|Eilean Siar (Western Isles)@WI|Falkirk@FK|Fife@FI|Glasgow City@GG|Highland@HI|Inverclyde@IC|Midlothian@ML|Moray@MO|North Ayrshire@NR|North Lanarkshire@NN|Orkney Islands@OR|Perth and Kinross@PK|Renfrewshire@RF|Shetland Islands@SH|South Ayrshire@SA|South Lanarkshire@SL|Stirling@ZE|The Scottish Borders@BO|West Dunbartonshire@WD|West Lothian@WH","Dakar@DK|Diourbel@DB|Fatick@FK|Kaolack@KL|Kolda@KD|Louga@LG|Saint-Louis@SL|Tambacounda@TC|Thies@TH|Ziguinchor@ZG","Anse aux Pins@PI|Anse Boileau@AB|Anse Etoile@ET|Anse Royale@RO|Baie Lazare@BL|Baie Sainte Anne@BS|Beau Vallon@BV|Bel Air@BA|Bel Ombre@BO|Cascade@CA|Glacis@GL|Grand' Anse (on Mahe)@GM|Grand' Anse (on Praslin)@GP|La Digue@DI|Mont Buxton@MB|Mont Fleuri@MF|Plaisance@PL|Pointe La Rue@PR|Port Glaud@PG|Saint Louis@SL|Takamaka@TA","Eastern@EA|Northern@NO|Southern@SO|Western@WE","Singapore@SG","Banskobystricky@BC|Bratislavsky@BL|Kosicky@KI|Nitriansky@NI|Presovsky@PV|Trenciansky@TC|Trnavsky@TA|Zilinsky@ZI","Ajdovscina@AJ|Beltinci@BE|Bled@BD|Bohinj@BO|Borovnica@BO|Bovec@BV|Brda@BR|Brezice@BR|Brezovica@BR|Cankova-Tisina@CA|Celje@CE|Cerklje na Gorenjskem@CG|Cerknica@CE|Crensovci@CR|Crna na Koroskem@CK|Destrnik-Trnovska Vas@DE|Divaca@DI|Dobrepolje@DB|Dobrova-Horjul-Polhov Gradec@DP|Dol pri Ljubljani@DL|Domzale@DM|Dornava@DO|Dravograd@DR|Duplek@DU|Gorenja Vas-Poljane@GV|Gorisnica@GR|Gornji Grad@GG|Gornji Petrovci@GP|Grosuplje@GR|Hrastnik@HR|Hrpelje-Kozina@HK|Idrija@ID|Ig@IG|Ilirska Bistrica@IB|Ivancna Gorica@IV|Izola@IZ|Jesenice@JS|Jursinci@JU|Kamnik@KA|Kidricevo@KI|Kobarid@KO|Kocevje@KC|Komen@KM|Koper@KP|Kozje@KO|Kranj@KR|Kranjska Gora@KG|Krsko@KS|Kungota@KU|Lasko@LA|Lenart@LN|Lendava@LE|Litija@KI|Ljubno@LJ|Logatec@LO|Loska Dolina@LD|Loski Potok@LP|Luce@LU|Lukovica@LU|Majsperk@MJ|Maribor@MB|Medvode@MD|Menges@MN|Metlika@ME|Miren-Kostanjevica@MK|Mislinja@MI|Moravce@MO|Moravske Toplice@MT|Mozirje@MZ|Murska Sobota@MS|Muta@MU|Naklo@MA|Nova Gorica@NV |Odranci@OD|Ormoz@OM|Osilnica@OS|Pesnica@PE|Piran@PI|Podcetrtek@PD|Podvelka-Ribnica@PO|Postojna@PO|Ptuj@PT|Puconci@PU|Race-Fram@RF|Radece@RA|Radenci@RD|Radovljica@RA|Ribnica@RI|Rogasevci@RO|Rogaska Slatina@RS|Rogatec@RO|Ruse@RU|Semic@SA|Sencur@SE|Sentjernej@SN|Sentjur @SC|Sevnica@SE|Skocjan@SK|Skofja Loka@SL|Skofljica@SK|Slovenj Gradec@SG|Slovenska Bistrica@SL|Slovenske Konjice@SK|Smarje pri Jelsah@SJ|Smartno ob Paki@SP|Sostanj@SS|Starse@ST|Sveti Jurij@SJ|Tolmin@TO|Trbovlje@TR|Trebnje@TN|Turnisce@TU|Velenje@VE|Velike Lasce@VL|Videm@VI|Vodice@VO|Vrhnika@VN|Vuzenica@VU|Zagorje ob Savi@ZS|Zalec@ZA|Zelezniki@ZE|Ziri@ZI|Zrece@ZR","Central@CN|Choiseul (Lauru)@CH|Guadalcanal@GU|Honiara@CT|Isabel@IS|Makira@MK|Malaita@ML|Rennell@RB|Temotu@TE|Western@WE","Awdal@AW|Bakool@BK|Banaadir@BN|Bari@BR|Bay@BY|Galguduud@GA|Gedo@GD|Hiiraan@HI|Jubbada Dhexe@JD|Jubbada Hoose@JH|Mudug@MU|Nugaal@NU|Sanaag@SA|Shabeellaha Dhexe@SD|Shabeellaha Hoose@SH|Sool@SO|Togdheer@TO|Woqooyi Galbeed@WO","Eastern Cape@EC|Free State@FS|Gauteng@GT|KwaZulu-Natal@NL|Mpumalanga@MP|North-West@NW|Northern Cape@NC|Western Cape@WC","South Georgia and The South Sandwich Islands@GS","Andalucia@AN|Aragon@AR|Asturias@AS|Cantabria@CB|Castilla y Leon@CL|Castilla-La Mancha@CM|Cataluna@CT|Ceuta@CE|Extremadura@EX|Galicia@GA|La Rioja@RI|Madrid@MD|Melilla@ML|Murcia@MC|Naconstra@NC|Pais Vasco (Basque Country)@PV","Spratly Islands@SI","Ampara@AP|Anuradhapura@AD|Badulla@BD|Colombo@CO|Galle@GL|Gampha@GQ|Hambantota@HB|Jaffna@Ja|Kalutara@kt|Kandy@KY|Kegalle@ke|Kurunegala@KG|Mannar@MB|Matale@MT|Matara@MH|Nuwara Eliya@NW|polonnaruwa@PR|Ratnapura@RN|trincomalee@TC|Vavuniya@VA","Bluenile@NB|Central Darfur@DC|East Darfur@DE|Gedarif@GD|Gezira@GZ|Kassala@KA|Khartoum@KH|North Darfur@ND|Red Sea@RS|Sennar@SI|Souyh Darfur@DS|Weast daefur@DW|White Nile@NW","Brokopondo@BR|Commewijne@CM|Coronie@CR|Marowijne@MA|Nickerie@NI|Para@PR|Paramaribo@PM|Saramacca@SA|Sipaliwini@SI|Wanica@WA","Barentsoya@Bjornoya|Bjornoya@Bjornoya|Edgeoya@Edgeoya|Hopen@Hopen|Kvitoya@Kvitoya|Nordaustandet@Nordaustandet|Prins Karls Forland@Prins Karls Forland|Spitsbergen@Spitsbergen","Hhohho@HH|Lubombo@LU|Manzini@MA|Shiselweni@SH","Blekinge@BL|Dalarnas@KO|Gavleborgs@GV|Gotlands@GT|Hallands@HA|Jamtlands@JA|Jonkopings@JO|Kalmar@KA|Kronobergs@KR|Norrbottens@NB|Orebro@OR|Ostergotlands@OG|Skane@SN|Sodermanlands@SD|Stockholms@ST|Uppsala@UP|constmlands@VR|Vasterbottens@VB|Vasternorrlands@VN|Vastmanlands@VM|Vastra Gotalands@VG","Aargau@AG|Basel-Stadt@BS|Bern@BE|Fribourg@FR|Geneve@GE|Glarus@GL|Graubunden@GR|Jura@JU|Luzern@LU|Neuchatel@NE|Nidwalden@NW|Obwalden@OW|Sankt Gallen@SG|Schaffhausen@SH|Schwyz@SZ|Solothurn@SO|Thurgau@TG|Ticino@TI|Uri@UR|Valais@VS|Vaud@VD|Zug@ZG|Zurich@ZH","Al Hasakah@HA|Al Ladhiqiyah@LA|Al Qunaytirah@QU|Ar Raqqah@RA|As Suw
2ayda'@SU|Dar'a@DR|Dayr az Zawr@DY|Dimashq@DI|Halab@HL|Hamah@HM|Hims@HI|Idlib@ID|Rif Dimashq@RD|Tartus@TA","Fukien@FK|Kaohsiung@KH|New Taipei@NT|Taichung@TG|Tainan@TN|Taipei@TP|Taiwan@TA","Badakhshoni Kuni@GB|Dushanbe@DU|Khatlon@KT|Sogd@SU","Arusha@AS|Dar es Salaam@DS|Dodoma@DO|Iringa@IG|Kagera@KG|Kigoma@KM|Kilimanjaro@KL|Lindi@LI|Mara@MA|Mbeya@MB|Morogoro@MO|MtwaraVMT|Mwanza@MZ|Pemba North@PN|Pemba South@PS|Pwani@PW|Rukwa@RU|Ruvuma@RV|Shinyanga@SY|Singida@SD|Tabora@TB|Tanga@TN|Zanzibar Central/South@ZS|Zanzibar North@ZM|Zanzibar Urban/West@ZW","Amnat Charoen@AC|Ang Thong@AT|Buriram@BR|Chachoengsao@CC|Chai Nat@CN|Chaiyaphum@CY|Chanthabur@CT|Chiang Mai@CM|Chiang Rai@CR|Chon Buri@CB|Chumphon@CP|Kalasin@KL|KamRphaeng Phet@KP|Kanchanaburi@KN|Khon Kaen@KK|Krabi@KR|Lampang@LG|Lamphun@LM|Loei@LE|Lop Buri@LB|Mae Hong Son@MH|Maha Sarakham@MS|Mukdahan@MD|Nakhon Nayok@NN|Nakhon Pathom@NP|Nakhon Phanom@NF|Nakhon Ratchasima@NR|Nakhon Sawan@NS|Nakhon Si Thammarat@NT|Nan@NA|Narathiwat@NW|Nong Bua Lamphu@NB|Nong Khai@NH|Nonthaburi@NO|Pathum Thani@PT|Pattani@PI|Phangnga@PG|Phatthalung@PL|Phayao@PY|Phetchabun@PH|Phetchaburi@PE|Phichit@PC|Phitsanulok@PS|Phra Nakhon Si Ayutthaya@PA|Phuket@PU|Prachin Buri@PB|Prachuap Khiri Khan@PK|Ranong@RN|Ratchaburi@RT|Rayong@RY|Roi Et@RE|Sa Kaeo@SK|Sakon Nakhon@SN|Samut Prakan@SP|Samut Sakhon@SS|Samut Songkhram@SM|Sara Buri@SR|Satun@SA|Sing Buri@SB|Sisaket@SI|Songkhla@SG|Sukhothai@SO|Suphan Buri@SH|Surat Thani@ST|Surin@SU|Tak@TK|Trang@TG|Trat@TT|Ubon Ratchathani@UR|Udon Thani@UN|Uthai Thani@UT|Uttaradit@UD|Yala@YL|Yasothon@YS","Tobago@Tobago","Centrale@CE|Kara@KA|Maritime@MA|Plateaux@PL|Savanes@SA","Atafu@AT|Fakaofo@FA|Nukunonu@NU","Ha'apai@HA|Tongatapu@TT|Vava'u@VA","Arima@AR|Caroni@CR|Mayaro@MR|Nariva@NA|Port-of-Spain@PS|Saint Andrew@SA|Saint David@DA|Saint George@GE|Saint Patrick@PA|San Fernando@SF|Victoria@VI","Ariana@AN|Beja@BJ|Ben Arous@BA|Bizerte@BZ|Gabes@GB|Gafsa@GF|Jendouba@JE|Kairouan@KR|Kasserine@KS|Kebili@KB|Mahdia@MH|Medenine@ME|Monastir@MS|Nabeul@NB|Sfax@SF|Sidi Bou Zid@SZ|Siliana@SL|Sousse@SS","Adana@AA|Adiyaman@AS|Afyon@AF|Agri@AG|Aksaray@AK|Amasya@AM|Ankara@AN|Antalya@AL|Ardahan@AR|Artvin@AV|Aydin@AY|Balikesir@BK|Bartin@BR|Batman@BM|Bayburt@BB|Bilecik@BC|Bingol@BG|Bitlis@BT|Bolu@BL|Burdur@BD|Bursa@BU|Canakkale@CK|Cankiri@CI|Corum@CI|Denizli@DN|Diyarbakir@DY|Duzce@DU|Edirne@ED|Elazig@EG|Erzincan@EN|Erzurum@EM|Eskisehir@ES|Gaziantep@GA|Giresun@GI|Gumushane@GU|Hakkari@HK|Hatay@HT|Igdir@Ig|Isparta@IP|Istanbul@IB|Kahramanmaras@KM|Karabuk@KB|Karaman@KR|Kars@KA|Kastamonu@KS|Kayseri@KY|Kilis@KI|Kirikkale@KK|Kirklareli@KL|Kirsehir@KH|Kocaeli@KC|Konya@KO|Kutahya@KU|Malatya@ML|Manisa@MN|Mardin@MR|Mugla@MG|Mus@MS|Nevsehir@NV|Nigde@NG|Ordu@OR|Osmaniye@OS|Rize@RI|Sakarya@SK|Samsun@SS|Sanliurfa@SU|Siirt@SI|Sinop@SP|Sirnak@SR|Sivas@SV|Tekirdag@TG|Tokat@TT|Trabzon@TB|Tunceli@TC|Usak@US|Van@VA|Yalova@YL|Yozgat@YZ|Zonguldak@ZO","Ahal Welayaty@AL|Balkan Welayaty@BA|Dashhowuz Welayaty@DA|Lebap Welayaty@LE|Mary Welayaty@MA","Tuvalu@TV","Adjumani@AD|Apac@AQ|Arua@AX|Bugiri@BI|Bundibugyo@BX|Bushenyi@BC|Busia@BU|Gulu@GL|Hoima@HO|Iganga@IC|Jinja@JI|Kabale@KA|KabaroleBR@|KalangalaKN@|Kampala@KM|Kamuli@QU|Kapchorwa@QP|Kasese@KS|Katakwi@KK|Kibale@KI|Kiboga@QO|Kisoro@KR|Kitgum@QT|Kotido@KF|Kumi@QM|Lira@LL|Luwero@LW|Masaka@MQ|Masindi@MZ|Mbale@ME|Mbarara@RR|Moroto@MX|Moyo@MY|Mpigi@MJ|Mubende@MD|Mukono@MV|Nakasongola@NA|Nebbi@NB|Ntungamo@NT|Pallisa@PS|Rakai@RI|Rukungiri@RK|Sembabule@SE|Soroti@ST|Tororo@TR","Avtonomna Respublika Krym (Simferopol')@|Cherkas'ka (Cherkasy)@CK|Chernihivs'ka (Chernihiv)@CH|Chernivets'ka (Chernivtsi)@CV|Dnipropetrovs'ka (Dnipropetrovs'k)@DP|Donets'ka (Donets'k)@DT|Ivano-Frankivs'ka (Ivano-Frankivs'k)@IF|Kharkivs'ka (Kharkiv)@|Khersons'ka (Kherson)@|Khmel'nyts'ka (Khmel'nyts'kyy)@|Kirovohrads'ka (Kirovohrad)@|Kyyiv@|Kyyivs'ka (Kiev)@|L'vivs'ka (L'viv)@|Luhans'ka (Luhans'k)@KK|Mykolayivs'ka (Mykolayiv)@MY|Odes'ka (Odesa)@OD|Poltavs'ka (Poltava)@PL|Rivnens'ka (Rivne)@RV|Sevastopol'@SC|Sums'ka (Sumy)@SM|Ternopil's'ka (Ternopil')@TP|Vinnyts'ka (Vinnytsya)@VI|Volyns'ka (Luts'k)@LH|Zaporiz'ka (Zaporizhzhya)@ZP|Zhytomyrs'ka (Zhytomyr)@ZT","'Ajman@AJ|Abu Zaby (Abu Dhabi)@AZ|Al Fujayrah@FU|Dubayy (Dubai)@DU|Ra's al Khaymah@RK|Umm al Qaywayn@UQ","Barking and Dagenham@|Barnet@|Barnsley@|Bath and North East Somerset@BN|Bedfordshire@FO|Bexley@BX|Birmingham@BI|Blackburn with Darwen@BW|Blackpool@BP|Bolton@BT|Bournemouth@BN|Bracknell Forest@BC|Bradford@BV|Brighton and Hove@BH|Buckinghamshire@BU|Bury@BR|Calderdale@CX|Cambridgeshire@CM|Cheshire@CZ|Darlington@DA|Derby@DE|Derbyshire@DB|Devon@DO|Doncaster@DC|Dorset@DS|Dudley@DY|Durham@DH|East Riding of Yorkshire@EY|East Sussex@ES|Essex@EX|Gateshead@GH|Gloucestershire@GC|Halton@HL|Hampshire@HA|Herefordshire@HE|Hertfordshire@HT|Isle of Wight@IW|Kent@KE|Kirklees@KK|Knowsley@KN|Lancashire@LA|Leeds@LS|Leicester@
2LC|Leicestershire@LE|Lincolnshire@LI|Liverpool@LV|Luton|Manchester@LU|Medway@MW|Middlesbrough@MB|Milton Keynes@MK|Newcastle upon Tyne@NU|Norfolk@NF|North East Lincolnshire@NE|North Lincolnshire@NN|North Somerset@NS|North Tyneside@NI|North Yorkshire@NY|Northamptonshire@NA|Northumberland@NB|Nottingham@NG|Nottinghamshire@NT|Oldham@OL|Oxfordshire@OX|Peterborough@PB|Plymouth@PM|Poole@PL|Portsmouth@PS|Reading@RG|Redcar and Cleveland@RC|Rochdale@RD|Rotherham@RH|Rutland@RL|Salford@ZF|Sandwell@ZW|Sefton@SE|Sheffield@SV|Shropshire@SP|Slough@ZL|Solihull@SI|Somerset@SM|South Gloucestershire@SL|South Tyneside@SX|Southampton@ZH|Southend-on-Sea@SS|St. Helens@SZ|Staffordshire@ST|Stockport@SK|Stockton-on-Tees@ZT|Stoke-on-Trent@SO|Suffolk@SF|Sunderland@SD|Surrey@SR|Swindon@SN|Tameside@TM|Telford and Wrekin@TK|Thurrock@TR|Torbay@TB|Trafford@TD|Wakefield@WK|Walsall@WZ|Warrington@WT|Warwickshire@WR|West Berkshire@WD|West Sussex@WS|Wigan@WN|Wiltshire@WL|Windsor and Maidenhead@WA|Wirral@WQ|Wokingham@WO|Wolverhampton@WB|Worcestershire@WC|York@YK ","Artigas@AR|Canelones@CA|Cerro Largo@CL|Colonia@CO|Durazno@DU|Flores@FS|Florida@FD|Lavalleja@LA|Maldonado@MA|Montevideo@MO|Paysandu@PA|Rio Negro@RN|Rivera@RV|Rocha@RO|Salto@SA|San Jose@SJ|Soriano@SO|Tacuarembo@TA|Treinta y Tres@TT","Alabama@AL|Alaska@AK|Arizona@AZ|Arkansas@AR|California@CA|Colorado@CO|Connecticut@CT|Delaware@DE|District of Columbia@DC|Florida@FL|Georgia@GA|Hawaii@HI|Idaho@ID|Illinois@IL|Indiana@IN|Iowa@IA|Kansas@KS|Kentucky@KY|Louisiana@LA|Maine@ME|Maryland@MD|Massachusetts@MA|Michigan@MI|Minnesota@MN|Mississippi@MS|Missouri@MO|Montana@MT|Nebraska@NE|Nevada@NV|New Hampshire@NH|New Jersey@NJ|New Mexico@NM|New York@NY|North Carolina@NC|North Dakota@ND|Ohio@OH|Oklahoma@OK|Oregon@OR|Pennsylvania@PA|Puerto Rico@PR|Rhode Island@RI|South Carolina@SC|South Dakota@SD|Tennessee@TN|Texas@TX|Utah@UT|Vermont@VT|Virginia@VA|Washington@WA|West Virginia@WV|Wisconsin@WI|Wyoming@WY","Andijon Wiloyati@AN|Bukhoro Wiloyati@BU|Farghona Wiloyati@FA|Jizzakh Wiloyati@JI|Khorazm Wiloyati (Urganch)@KH|Namangan Wiloyati@NG|Nawoiy Wiloyati@NW|Qashqadaryo Wiloyati (Qarshi)@QA|Qoraqalpoghiston (Nukus)@QR|Samarqand Wiloyati@SA|Sirdaryo Wiloyati (Guliston)@SI|Surkhondaryo Wiloyati (Termiz)@SU|Toshkent Shahri@TS|Toshkent Wiloyati@TW","Malampa@ML|Penama@PM|Sanma@SN|Shefa@SE|Tafea@TF|Torba@TR","Amazonas@AM|Anzoategui@AN|Apure@AP|Aragua@AR|Barinas@BA|Boliconst@BO|Carabobo@CA|Cojedes@CO|Delta Amacuro@DA|Dependencias Federales@DP|Distrito Capital@DF|Falcon@FA|Guarico@GU|Lara@LA|Merida@ME|Miranda@MI|Monagas@MO|Nueva Esparta@NE|Portuguesa@PO|Sucre@SU|Tachira@TA|Trujillo@TR|constgas@VA|Yaracuy@YA|Zulia@ZU","An Giang@AG|Ba Ria-Vung Tau@BV|Bac Giang@BG|Bac Kan@BK|Bac Lieu@BL|Bac Ninh@BN|Ben Tre@BR|Binh Dinh@BD|Binh Duong@BI|Binh Phuoc@BP|Binh Thuan@BU|Ca Mau@CM|Can Tho@CN|Cao Bang@CB|Da Nang@DA|Dac Lak@DC|Dong Nai@DN|Dong Thap@DT|Gia Lai@GL|Ha Giang@HU|Ha Nam@HM|Ha Noi@HN|Ha Tinh@HT|Hai Duong@HD|Hai Phong@HP|Ho Chi Minh@HC|Hoa Binh@HO|Hung Yen@HY|Khanh Hoa@KH|Kien Giang@KG|Kon Tum@KT|Lai Chau@LI|Lam Dong@LD|Lang Son@LS|Lao Cai@LO|Long An@LA|Nam Dinh@ND|Nghe An@NA|Ninh Binh@NB|Ninh Thuan@NT|Phu Tho@PT|Phu Yen@PY|Quang Binh@QB|Quang Nam@QM|Quang Ngai@QG|Quang Ninh@QN|Quang Tri@QT|Soc Trang@ST|Son La@SL|Tay Ninh@TN|Thai Binh@TB|Thai Nguyen@TY|Thanh Hoa@TH|Thua Thien-Hue@TT|Tien Giang@TG|Tra Vinh@TV|Tuyen Quang@TQ|Vinh Long@VL|Vinh Phuc@VC|Yen Bai@YB","Virgin Islands@VI","Blaenau Gwent@BG|Bridgend@BJ|Caerphilly@CP|Cardiff@CA|Carmarthenshire@CI|Ceredigion@CG|Conwy@CW|Denbighshire@DI|Flintshire@FL|Gwynedd@GD|Merthyr Tydfil@MT|Monmouthshire@MM|Neath Port Talbot@NP|Newport@NO|Pembrokeshire@PE|Powys@PO|Rhondda Cynon Taff@RT|Swansea@SW|Torfaen@TF|Wrexham@WX","Alo@AL|Sigave@SI|Uvea@UV","West Bank@","Boujdour@BO|Es Semara@ES|Laayouna@LA|Oued el Dahab@OD","'Adan@AD|'Ataq@AT|Abyan@AB|Al Bayda@BA'|Al Hudaydah@HU|Al Jawf@JA|Al Mahrah@MR|Al Mahwit@MW|Dhamar@DH|Hadhramawt@HD|Hajjah@HJ|Ibb@IB|Lahij@LA|Ma'rib@MA|Sa'dah@SD|San'a'@SN|Ta'izz@TA","Kosovo@KM|Serbia@RS|Vojvodina@VO","Central@CE|Copperbelt@CO|Eastern@ES|Luapula@LP|Lusaka@LS|North-Western@NW|Northern@NR|Southern@SO|Western@WE","Bulawayo@BU|Harare@HA|ManicalandMashonaland Central@MC|Mash
2onaland East@NE|Masvingo@MV|Matabeleland North@MN|Matabeleland South@MS|Midlands@MI"];const s={computed:{states:function(){var t=this;if(!this.selectedCountry)return[];var e=this.countries.findIndex((function(e){var n=r(e,2);n[0];return n[1]==t.selectedCountry}));return a[e].split("|").map((function(t){return t.split("@")}))},countries:function(){return o.map((function(t){return t.split("|")}))}}}},53241:(t,e,n)=>{"use strict";n.d(e,{Im:()=>a,Rm:()=>f,Sv:()=>h,Zk:()=>s});var r="trakdesk_cid",i="nuimage_trackdesk_cid",o="trackdesk-user-tracking";function a(t){return null==t?null:String(t).trim().toLowerCase()||null}function s(t){return a(null==t?void 0:t.email)}function l(){if("undefined"==typeof window)return null;if(window.nuImageTrackdeskCid)return String(window.nuImageTrackdeskCid);try{var t,e=null===(t=window.sessionStorage)||void 0===t?void 0:t.getItem(i);if(e)return e}catch(t){}return function(t){if(!t)return null;try{var e=JSON.parse(t);if(null!=e&&e.cid)return String(e.cid)}catch(t){}return String(t)}(function(t){if("undefined"==typeof document||!document.cookie)return null;var e=document.cookie.split(";").map((function(t){return t.trim()})).find((function(e){return e.startsWith("".concat(encodeURIComponent(t),"="))||e.startsWith("".concat(t,"="))}));if(!e)return null;var n=e.slice(e.indexOf("=")+1);try{return decodeURIComponent(n)}catch(t){return n}}(r))}function u(t){return"".concat(o,":").concat(t)}function c(t){var e=a(t);if(e&&"undefined"!=typeof window)try{var n;null===(n=window.sessionStorage)||void 0===n||n.setItem(u(e),"tracked")}catch(t){}}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=l();if("undefined"!=typeof window&&n){void 0!==window.axios&&window.axios.post("/json/trackdesk/user-tracking",{trackdesk_cid:n}).then((function(n){return r=n.data,c(t),void(e&&r&&(e.trackdesk_cid=r.trackdesk_cid||e.trackdesk_cid,e.trackdesk_tracked_at=r.trackdesk_tracked_at||e.trackdesk_tracked_at));var r})).catch((function(t){console.error("[Trackdesk] Failed to persist user tracking:",t)}))}}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return!!function(t){return Boolean((null==t?void 0:t.trackdesk_tracked_at)||(null==t?void 0:t.trackdesk_cid))}(t)||function(t){var e=a(t);if(!e||"undefined"==typeof window)return!1;try{var n;return"tracked"===(null===(n=window.sessionStorage)||void 0===n?void 0:n.getItem(u(e)))}catch(t){return!1}}(e||s(t))}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"==typeof window||"function"!=typeof window.trackdesk)return!1;var n=a(t),r=e.tenantId||"nu-image-medical",i=e.revenueOriginId||"61afb250-f325-4969-b558-e1a33acd5700";if(!(n&&r&&i&&l()))return!1;var o="trackdesk-external-cid:".concat(r,":").concat(i,":").concat(n);try{var s;if("tracked"===(null===(s=window.sessionStorage)||void 0===s?void 0:s.getItem(o)))return c(n),d(n,e.user),!0}catch(t){}try{window.trackdesk(r,"externalCid",{externalCid:n,revenueOriginId:i}),c(n),d(n,e.user);try{var u;null===(u=window.sessionStorage)||void 0===u||u.setItem(o,"tracked")}catch(t){}return!0}catch(t){return console.error("[Trackdesk] External CID tracking failed:",t),!1}}},79777:(t,e,n)=>{var r,i,o;i=[n(85671)],void 0===(o="function"==typeof(r=function(t){var e=t.document;function n(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function r(t){return null!=t&&t===t.window}function i(t){var e="length"in t&&t.length,n=typeof t;return"function"!==n&&!r(t)&&(!(1!==t.nodeType||!e)||"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function o(t){return t instanceof Element}function a(n){return n instanceof a?n:this instanceof a?void(null!=n&&n!==t&&(this[0]=n.nodeName?n:void 0!==n[0]&&n[0].nodeName?n[0]:e.querySelector(n),void 0!==this[0]&&null!==this[0]&&(this[0].eventRegistry=this[0].eventRegistry||{}))):new a(n)}return a.prototype={on:function(t,e){if(o(this[0]))for(var n=this[0].eventRegistry,r=this[0],i=function(t,i){r.addEventListener?r.addEventListener(t,e,!1):r.attachEvent&&r.attachEvent("on"+t,e),n[t]=n[t]||{},n[t][i]=n[t][i]||[],n[t][i].push(e)},a=t.split(" "),s=0;s<a.length;s++){var l=a[s].split(".");i(l[0],l[1]||"global")}return this},off:function(t,e){if(o(this[0]))for(var n=this[0].eventRegistry,r=this[0],i=function(t,e,
2i){if(t in n==1)if(r.removeEventListener?r.removeEventListener(t,i,!1):r.detachEvent&&r.detachEvent("on"+t,i),"global"===e)for(var o in n[t])n[t][o].splice(n[t][o].indexOf(i),1);else n[t][e].splice(n[t][e].indexOf(i),1)},a=function(t,r){var i,o,a=[];if(t.length>0)if(void 0===e)for(i=0,o=n[t][r].length;i<o;i++)a.push({ev:t,namespace:r&&r.length>0?r:"global",handler:n[t][r][i]});else a.push({ev:t,namespace:r&&r.length>0?r:"global",handler:e});else if(r.length>0)for(var s in n)for(var l in n[s])if(l===r)if(void 0===e)for(i=0,o=n[s][l].length;i<o;i++)a.push({ev:s,namespace:l,handler:n[s][l][i]});else a.push({ev:s,namespace:l,handler:e});return a},s=t.split(" "),l=0;l<s.length;l++)for(var u=s[l].split("."),c=a(u[0],u[1]),d=0,h=c.length;d<h;d++)i(c[d].ev,c[d].namespace,c[d].handler);return this},trigger:function(t){if(o(this[0]))for(var n=this[0].eventRegistry,r=this[0],i="string"==typeof t?t.split(" "):[t.type],s=0;s<i.length;s++){var l=i[s].split("."),u=l[0],c=l[1]||"global";if(void 0!==e&&"global"===c){var d,h,f={bubbles:!0,cancelable:!0,detail:arguments[1]};if(e.createEvent){try{d=new CustomEvent(u,f)}catch(t){(d=e.createEvent("CustomEvent")).initCustomEvent(u,f.bubbles,f.cancelable,f.detail)}t.type&&a.extend(d,t),r.dispatchEvent(d)}else(d=e.createEventObject()).eventType=u,d.detail=arguments[1],t.type&&a.extend(d,t),r.fireEvent("on"+d.eventType,d)}else if(void 0!==n[u])if(arguments[0]=arguments[0].type?arguments[0]:a.Event(arguments[0]),"global"===c)for(var p in n[u])for(h=0;h<n[u][p].length;h++)n[u][p][h].apply(r,arguments);else for(h=0;h<n[u][c].length;h++)n[u][c][h].apply(r,arguments)}return this}},a.isFunction=function(t){return"function"==typeof t},a.noop=function(){},a.isArray=Array.isArray,a.inArray=function(t,e,r){return null==e?-1:n(e,t,r)},a.valHooks=void 0,a.isPlainObject=function(t){return!("object"!=typeof t||t.nodeType||r(t)||t.constructor&&!Object.hasOwnProperty.call(t.constructor.prototype,"isPrototypeOf"))},a.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"==typeof s||a.isFunction(s)||(s={}),l===u&&(s=this,l--);l<u;l++)if(null!=(t=arguments[l]))for(e in t)n=s[e],s!==(r=t[e])&&(c&&r&&(a.isPlainObject(r)||(i=a.isArray(r)))?(i?(i=!1,o=n&&a.isArray(n)?n:[]):o=n&&a.isPlainObject(n)?n:{},s[e]=a.extend(c,o,r)):void 0!==r&&(s[e]=r));return s},a.each=function(t,e){var n=0;if(i(t))for(var r=t.length;n<r&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},a.data=function(t,e,n){if(void 0===n)return t.__data?t.__data[e]:null;t.__data=t.__data||{},t.__data[e]=n},"function"==typeof t.CustomEvent?a.Event=t.CustomEvent:(a.Event=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var r=e.createEvent("CustomEvent");return r.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),r},a.Event.prototype=t.Event.prototype),a})?r.apply(e,i):r)||(t.exports=o)},85671:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_RESULT__=function(){return"undefined"!=typeof window?window:new(eval("require('jsdom').JSDOM"))("").window}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},43381:(t,e,n)=>{var r,i,o;i=[n(59625)],void 0===(o="function"==typeof(r=function(t){var e=t.dependencyLib,n={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return l(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return l(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return l(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return l(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return l(Date.prototype.getHours.call(this),2)}],hhh:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return l(Date.prototype.getHours.call(this),2)}],HHH:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return l(Date.prototype.getMinutes.call(this),2)}],ss:["[0-5][0-9]",Date.prototype.setSeconds,"seconds",function(){return l(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return l(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return l(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]"],tt:["[ap]m"],T:["[AP]"],TT:["[AP]M"],Z:[""],o:[""],S:[""]},r={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function i(t){if(!t.tokenizer){var e=[];for(var r in n)-1===e.indexOf(r[0])&&e.push(r[0]);
2t.tokenizer="("+e.join("+|")+")+?|.",t.tokenizer=new RegExp(t.tokenizer,"g")}return t.tokenizer}function o(t,e){return(!isFinite(t.rawday)||"29"==t.day&&!isFinite(t.rawyear)||new Date(t.date.getFullYear(),isFinite(t.rawmonth)?t.month:t.date.getMonth()+1,0).getDate()>=t.day)&&e}function a(t,e){var n=!0;if(e.min){if(t.rawyear){var r=t.rawyear.replace(/[^0-9]/g,"");n=e.min.year.substr(0,r.length)<=r}t.year===t.rawyear&&e.min.date.getTime()==e.min.date.getTime()&&(n=e.min.date.getTime()<=t.date.getTime())}return n&&e.max&&e.max.date.getTime()==e.max.date.getTime()&&(n=e.max.date.getTime()>=t.date.getTime()),n}function s(e,r,o,a){for(var s,l="";s=i(o).exec(e);)if(void 0===r)if(n[s[0]])l+="("+n[s[0]][0]+")";else switch(s[0]){case"[":l+="(";break;case"]":l+=")?";break;default:l+=t.escapeRegex(s[0])}else n[s[0]]?!0!==a&&n[s[0]][3]?l+=n[s[0]][3].call(r.date):n[s[0]][2]?l+=r["raw"+n[s[0]][2]]:l+=s[0]:l+=s[0];return l}function l(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}function u(t,e,r){var o,a,s,l={date:new Date(1,0,1)},u=t;function c(t){var e=t.replace(/[^0-9]/g,"0");if(e!=t){var n=t.replace(/[^0-9]/g,""),i=(r.min&&r.min[o]||t).toString(),a=(r.max&&r.max[o]||t).toString();e=n+(n<i.slice(0,n.length)?i.slice(n.length):n>a.slice(0,n.length)?a.slice(n.length):e.toString().slice(n.length))}return e}function d(t,e,n){t[o]=c(e),t["raw"+o]=e,void 0!==s&&s.call(t.date,"month"==o?parseInt(t[o])-1:t[o])}if("string"==typeof u){for(;a=i(r).exec(e);){var h=u.slice(0,a[0].length);n.hasOwnProperty(a[0])&&(n[a[0]][0],o=n[a[0]][2],s=n[a[0]][1],d(l,h,r)),u=u.slice(h.length)}return l}if(u&&"object"==typeof u&&u.hasOwnProperty("date"))return u}return t.extendAliases({datetime:{mask:function(t){return n.S=t.i18n.ordinalSuffix.join("|"),t.inputFormat=r[t.inputFormat]||t.inputFormat,t.displayFormat=r[t.displayFormat]||t.displayFormat||t.inputFormat,t.outputFormat=r[t.outputFormat]||t.outputFormat||t.inputFormat,t.placeholder=""!==t.placeholder?t.placeholder:t.inputFormat.replace(/[\[\]]/,""),t.regex=s(t.inputFormat,void 0,t),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:void 0,outputFormat:void 0,min:null,max:null,i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},postValidation:function(t,e,n,r){r.min=u(r.min,r.inputFormat,r),r.max=u(r.max,r.inputFormat,r);var i=n,l=u(t.join(""),r.inputFormat,r);return i&&l.date.getTime()==l.date.getTime()&&(i=(i=o(l,i))&&a(l,r)),e&&i&&n.pos!==e?{buffer:s(r.inputFormat,l,r),refreshFromBuffer:{start:e,end:n.pos}}:i},onKeyDown:function(n,r,o,a){var s=this;if(n.ctrlKey&&n.keyCode===t.keyCode.RIGHT){for(var u,c=new Date,d="";u=i(a).exec(a.inputFormat);)"d"===u[0].charAt(0)?d+=l(c.getDate(),u[0].length):"m"===u[0].charAt(0)?d+=l(c.getMonth()+1,u[0].length):"yyyy"===u[0]?d+=c.getFullYear().toString():"y"===u[0].charAt(0)&&(d+=l(c.getYear(),u[0].length));s.inputmask._valueSet(d),e(s).trigger("setvalue")}},onUnMask:function(t,e,n){return s(n.outputFormat,u(t,n.inputFormat,n),n,!0)},casing:function(t,e,n,r){return 0==e.nativeDef.indexOf("[ap]")?t.toLowerCase():0==e.nativeDef.indexOf("[AP]")?t.toUpperCase():t},insertMode:!1,shiftPositions:!1}}),t})?r.apply(e,i):r)||(t.exports=o)},69159:(t,e,n)=>{var r,i,o;i=[n(59625)],void 0===(o="function"==typeof(r=function(t){return t.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}}),t.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)//.*",autoUnmask:!1},ip:{mask:"i[i[i]].i[i[i]].i[i[i]].i[i[i]]",definitions:{i:{validator:function(t,e,n,r,i){return n-1>-1&&"."!==e.buffer[n-1]?(t=e.buffer[n-1]+t,t=n-2>-1&&"."!==e.buffer[n-2]?e.buffer[n-2]+t:"0"+t):t="00"+t,new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]").test(t)}}},onUnMask:function(t,e,n){return t},inputmode:"numeric"},email:{mask:"*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",greedy:!1,casing:"lower",onBeforePaste:function(t,e){return(t=t.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(t,e,n){return t},inputmode:"email"}
2,mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0}}),t})?r.apply(e,i):r)||(t.exports=o)},59625:(t,e,n)=>{var r,i,o;i=[n(79777),n(85671)],void 0===(o="function"==typeof(r=function(t,e,n){var r=e.document,i=navigator.userAgent,o=i.indexOf("MSIE ")>0||i.indexOf("Trident/")>0,a=h("touchstart"),s=/iemobile/i.test(i),l=/iphone/i.test(i)&&!s;function u(e,r,i){if(!(this instanceof u))return new u(e,r,i);this.el=n,this.events={},this.maskset=n,this.refreshValue=!1,!0!==i&&(t.isPlainObject(e)?r=e:(r=r||{},e&&(r.alias=e)),this.opts=t.extend(!0,{},this.defaults,r),this.noMasksCache=r&&r.definitions!==n,this.userOptions=r||{},this.isRTL=this.opts.numericInput,c(this.opts.alias,r,this.opts))}function c(e,r,i){var o=u.prototype.aliases[e];return o?(o.alias&&c(o.alias,n,i),t.extend(!0,i,o),t.extend(!0,i,r),!0):(null===i.mask&&(i.mask=e),!1)}function d(e,r){function i(e,i,o){var a=!1;if(null!==e&&""!==e||((a=null!==o.regex)?e=(e=o.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(a=!0,e=".*")),1===e.length&&!1===o.greedy&&0!==o.repeat&&(o.placeholder=""),o.repeat>0||"*"===o.repeat||"+"===o.repeat){var s="*"===o.repeat?0:"+"===o.repeat?1:o.repeat;e=o.groupmarker[0]+e+o.groupmarker[1]+o.quantifiermarker[0]+s+","+o.repeat+o.quantifiermarker[1]}var l,c=a?"regex_"+o.regex:o.numericInput?e.split("").reverse().join(""):e;return u.prototype.masksCache[c]===n||!0===r?(l={mask:e,maskToken:u.prototype.analyseMask(e,a,o),validPositions:{},_buffer:n,buffer:n,tests:{},excludes:{},metadata:i,maskLength:n,jitOffset:{}},!0!==r&&(u.prototype.masksCache[c]=l,l=t.extend(!0,{},u.prototype.masksCache[c]))):l=t.extend(!0,{},u.prototype.masksCache[c]),l}if(t.isFunction(e.mask)&&(e.mask=e.mask(e)),t.isArray(e.mask)){if(e.mask.length>1){if(null===e.keepStatic){e.keepStatic="auto";for(var o=0;o<e.mask.length;o++)if(e.mask[o].charAt(0)!==e.mask[0].charAt(0)){e.keepStatic=!0;break}}var a=e.groupmarker[0];return t.each(e.isRTL?e.mask.reverse():e.mask,(function(r,i){a.length>1&&(a+=e.groupmarker[1]+e.alternatormarker+e.groupmarker[0]),i.mask===n||t.isFunction(i.mask)?a+=i:a+=i.mask})),i(a+=e.groupmarker[1],e.mask,e)}e.mask=e.mask.pop()}return e.mask&&e.mask.mask!==n&&!t.isFunction(e.mask.mask)?i(e.mask.mask,e.mask,e):i(e.mask,e.mask,e)}function h(t){var e=r.createElement("input"),n="on"+t,i=n in e;return i||(e.setAttribute(n,"return;"),i="function"==typeof e[n]),e=null,i}function f(i,c,d){c=c||this.maskset,d=d||this.opts;var p,w,m,v,g,y=this,b=this.el,_=this.isRTL,x=!1,k=!1,C=!1,S=!1,P=function(t,e,r,i,o){var a=d.greedy;o&&(d.greedy=!1),e=e||0;var s,l,u,c=[],h=0;T();do{if(!0===t&&A().validPositions[h])l=(u=o&&!0===A().validPositions[h].match.optionality&&A().validPositions[h+1]===n&&(!0===A().validPositions[h].generatedInput||A().validPositions[h].input==d.skipOptionalPartCharacter&&h>0)?N(h,j(h,s,h-1)):A().validPositions[h]).match,s=u.locator.slice(),c.push(!0===r?u.input:!1===r?l.nativeDef:Y(h,l));else{l=(u=M(h,s,h-1)).match,s=u.locator.slice();var f=!0!==i&&(!1!==d.jitMasking?d.jitMasking:l.jit);(!1===f||f===n||"number"==typeof f&&isFinite(f)&&f>h)&&c.push(!1===r?l.nativeDef:Y(h,l))}"auto"===d.keepStatic&&l.newBlockMarker&&null!==l.fn&&(d.keepStatic=h-1),h++}while((m===n||h<m)&&(null!==l.fn||""!==l.def)||e>h);return""===c[c.length-1]&&c.pop(),!1===r&&A().maskLength!==n||(A().maskLength=h-1),d.greedy=a,c};function A(){return c}function O(t){var e=A();e.buffer=n,!0!==t&&(e.validPositions={},e.p=0)}function T(t,e,r){var i=-1,o=-1,a=r||A().validPositions;for(var s in t===n&&(t=-1),a){var l=parseInt(s);a[l]&&(e||!0!==a[l].generatedInput)&&(l<=t&&(i=l),l>=t&&(o=l))}return-1===i||i==t?o:-1==o||t-i<o-t?i:o}function E(t){var e=t.locator[t.alternation];return"string"==typeof e&&e.length>0&&(e=e.split(",")[0]),e!==n?e.toString():""}function I(t,e){var r=(t.alternation!=n?t.mloc[E(t)]:t.locator).join("");if(""!==r)for(;r.length<e;)r+="0";return r}function N(t,e){for(var r,i,o,a=I(R(t=t>0?t-1:0)),s=0;s<e.length;s++){var l=e[s];r=I(l,a.length);var u=Math.abs(r-a);(i===n||""!==r&&u<i||o&&!d.greedy&&o.match.optionality&&"master"===o.match.newBlockMarker&&(!l.match.optionality||!l.match.newBlockMarker)||o&&o.match.optionalQuantifier&&!l.match.optionalQuantifier)&&(i=u,o=l)}return o}
2function M(t,e,n){return A().validPositions[t]||N(t,j(t,e?e.slice():e,n))}function R(t,e){return A().validPositions[t]?A().validPositions[t]:(e||j(t))[0]}function D(t,e){for(var n=!1,r=j(t),i=0;i<r.length;i++)if(r[i].match&&r[i].match.def===e){n=!0;break}return n}function j(e,r,i){var o,a=A().maskToken,s=r?i:0,l=r?r.slice():[0],u=[],c=!1,h=r?r.join(""):"";function f(r,i,a,l){function p(a,l,w){function m(e,n){var r=0===t.inArray(e,n.matches);return r||t.each(n.matches,(function(t,i){if(!0===i.isQuantifier?r=m(e,n.matches[t-1]):i.hasOwnProperty("matches")&&(r=m(e,i)),r)return!1})),r}function v(e,r,i){var o,a;if((A().tests[e]||A().validPositions[e])&&t.each(A().tests[e]||[A().validPositions[e]],(function(t,e){if(e.mloc[r])return o=e,!1;var s=i!==n?i:e.alternation,l=e.locator[s]!==n?e.locator[s].toString().indexOf(r):-1;(a===n||l<a)&&-1!==l&&(o=e,a=l)})),o){var s=o.locator[o.alternation];return(o.mloc[r]||o.mloc[s]||o.locator).slice((i!==n?i:o.alternation)+1)}return i!==n?v(e,r):n}function g(t,e){function n(t){for(var e,n,r=[],i=0,o=t.length;i<o;i++)if("-"===t.charAt(i))for(n=t.charCodeAt(i+1);++e<n;)r.push(String.fromCharCode(e));else e=t.charCodeAt(i),r.push(t.charAt(i));return r.join("")}return d.regex&&null!==t.match.fn&&null!==e.match.fn?-1!==n(e.match.def.replace(/[\[\]]/g,"")).indexOf(n(t.match.def.replace(/[\[\]]/g,""))):t.match.def===e.match.nativeDef}function y(t,n){var r=t.locator.slice(t.alternation).join("")==n.locator.slice(n.alternation).join("");return r=!(!r||null!==t.match.fn||null===n.match.fn)&&n.match.fn.test(t.match.def,A(),e,!1,d,!1)}function b(t,e){if(e===n||t.alternation===e.alternation&&-1===t.locator[t.alternation].toString().indexOf(e.locator[e.alternation])){t.mloc=t.mloc||{};var r=t.locator[t.alternation];if(r!==n){if("string"==typeof r&&(r=r.split(",")[0]),t.mloc[r]===n&&(t.mloc[r]=t.locator.slice()),e!==n){for(var i in e.mloc)"string"==typeof i&&(i=i.split(",")[0]),t.mloc[i]===n&&(t.mloc[i]=e.mloc[i]);t.locator[t.alternation]=Object.keys(t.mloc).join(",")}return!0}t.alternation=n}return!1}if(s>500&&w!==n)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+A().mask;if(s===e&&a.matches===n)return u.push({match:a,locator:l.reverse(),cd:h,mloc:{}}),!0;if(a.matches!==n){if(a.isGroup&&w!==a){if(a=p(r.matches[t.inArray(a,r.matches)+1],l,w))return!0}else if(a.isOptional){var _=a;if(a=f(a,i,l,w)){if(t.each(u,(function(t,e){e.match.optionality=!0})),o=u[u.length-1].match,w!==n||!m(o,_))return!0;c=!0,s=e}}else if(a.isAlternator){var x,k=a,C=[],S=u.slice(),P=l.length,O=i.length>0?i.shift():-1;if(-1===O||"string"==typeof O){var T,E=s,I=i.slice(),N=[];if("string"==typeof O)N=O.split(",");else for(T=0;T<k.matches.length;T++)N.push(T.toString());if(A().excludes[e]){for(var M=N.slice(),R=0,D=A().excludes[e].length;R<D;R++)N.splice(N.indexOf(A().excludes[e][R].toString()),1);0===N.length&&(A().excludes[e]=n,N=M)}(!0===d.keepStatic||isFinite(parseInt(d.keepStatic))&&E>=d.keepStatic)&&(N=N.slice(0,1));for(var j=!1,B=0;B<N.length;B++){T=parseInt(N[B]),u=[],i="string"==typeof O&&v(s,T,P)||I.slice(),k.matches[T]&&p(k.matches[T],[T].concat(l),w)?a=!0:0===B&&(j=!0),x=u.slice(),s=E,u=[];for(var L=0;L<x.length;L++){var F=x[L],q=!1;F.match.jit=F.match.jit||j,F.alternation=F.alternation||P,b(F);for(var Q=0;Q<C.length;Q++){var U=C[Q];if("string"!=typeof O||F.alternation!==n&&-1!==t.inArray(F.locator[F.alternation].toString(),N)){if(F.match.nativeDef===U.match.nativeDef){q=!0,b(U,F);break}if(g(F,U)){b(F,U)&&(q=!0,C.splice(C.indexOf(U),0,F));break}if(g(U,F)){b(U,F);break}if(y(F,U)){b(F,U)&&(q=!0,C.splice(C.indexOf(U),0,F));break}}}q||C.push(F)}}u=S.concat(C),s=e,c=u.length>0,a=C.length>0,i=I.slice()}else a=p(k.matches[O]||r.matches[O],[O].concat(l),w);if(a)return!0}else if(a.isQuantifier&&w!==r.matches[t.inArray(a,r.matches)-1])for(var V=a,H=i.length>0?i.shift():0;H<(isNaN(V.quantifier.max)?H+1:V.quantifier.max)&&s<=e;H++){var G=r.matches[t.inArray(V,r.matches)-1];if(a=p(G,[H].concat(l),G)){if((o=u[u.length-1].match).optionalQuantifier=H>=V.quantifier.min,o.jit=(H||1)*G.matches.indexOf(o)>=V.quantifier.jit,o.optionalQuantifier&&m(o,G)){c=!0,s=e;break}return o.jit&&(A().jitOffset[e]=G.matches.indexOf(o)),!0}}else if(a=f(a,i,l,w))return!0}else s++}
2for(var w=i.length>0?i.shift():0;w<r.matches.length;w++)if(!0!==r.matches[w].isQuantifier){var m=p(r.matches[w],[w].concat(a),l);if(m&&s===e)return m;if(s>e)break}}function p(e,r){var i=[];return t.isArray(r)||(r=[r]),r.length>0&&(r[0].alternation===n?0===(i=N(e,r.slice()).locator.slice()).length&&(i=r[0].locator.slice()):t.each(r,(function(t,e){if(""!==e.def)if(0===i.length)i=e.locator.slice();else for(var n=0;n<i.length;n++)e.locator[n]&&-1===i[n].toString().indexOf(e.locator[n])&&(i[n]+=","+e.locator[n])}))),i}if(e>-1){if(r===n){for(var w,m=e-1;(w=A().validPositions[m]||A().tests[m])===n&&m>-1;)m--;w!==n&&m>-1&&(l=p(m,w),h=l.join(""),s=m)}if(A().tests[e]&&A().tests[e][0].cd===h)return A().tests[e];for(var v=l.shift();v<a.length&&!(f(a[v],l,[v])&&s===e||s>e);v++);}return(0===u.length||c)&&u.push({match:{fn:null,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:h}),r!==n&&A().tests[e]?t.extend(!0,[],u):(A().tests[e]=t.extend(!0,[],u),A().tests[e])}function B(){return A()._buffer===n&&(A()._buffer=P(!1,1),A().buffer===n&&(A().buffer=A()._buffer.slice())),A()._buffer}function L(t){return A().buffer!==n&&!0!==t||(A().buffer=P(!0,T(),!0),A()._buffer===n&&(A()._buffer=A().buffer.slice())),A().buffer}function F(t,e,r){var i,o;if(!0===t)O(),t=0,e=r.length;else for(i=t;i<e;i++)delete A().validPositions[i];for(o=t,i=t;i<e;i++)if(O(!0),r[i]!==d.skipOptionalPartCharacter){var a=V(o,r[i],!0,!0);!1!==a&&(O(!0),o=a.caret!==n?a.caret:a.pos+1)}}function q(e,n,r){switch(d.casing||n.casing){case"upper":e=e.toUpperCase();break;case"lower":e=e.toLowerCase();break;case"title":var i=A().validPositions[r-1];e=0===r||i&&i.input===String.fromCharCode(u.keyCode.SPACE)?e.toUpperCase():e.toLowerCase();break;default:if(t.isFunction(d.casing)){var o=Array.prototype.slice.call(arguments);o.push(A().validPositions),e=d.casing.apply(this,o)}}return e}function Q(e,r,i){for(var o,a=d.greedy?r:r.slice(0,1),s=!1,l=i!==n?i.split(","):[],u=0;u<l.length;u++)-1!==(o=e.indexOf(l[u]))&&e.splice(o,1);for(var c=0;c<e.length;c++)if(-1!==t.inArray(e[c],a)){s=!0;break}return s}function U(e,r,i,o,a){var s,l,u,c,d,h,f,p=t.extend(!0,{},A().validPositions),w=!1,m=a!==n?a:T();if(-1===m&&a===n)l=(c=R(s=0)).alternation;else for(;m>=0;m--)if((u=A().validPositions[m])&&u.alternation!==n){if(c&&c.locator[u.alternation]!==u.locator[u.alternation])break;s=m,l=A().validPositions[s].alternation,c=u}if(l!==n){f=parseInt(s),A().excludes[f]=A().excludes[f]||[],!0!==e&&A().excludes[f].push(E(c));var v=[],g=0;for(d=f;d<T(n,!0)+1;d++)(h=A().validPositions[d])&&!0!==h.generatedInput?v.push(h.input):d<e&&g++,delete A().validPositions[d];for(;A().excludes[f]&&A().excludes[f].length<10;){var y=-1*g,b=v.slice();for(A().tests[f]=n,O(!0),w=!0;b.length>0;){var _=b.shift();if(!(w=V(T(n,!0)+1,_,!1,o,!0)))break}if(w&&r!==n){var x=T(e)+1;for(d=f;d<T()+1;d++)((h=A().validPositions[d])===n||null==h.match.fn)&&d<e+y&&y++;w=V((e+=y)>x?x:e,r,i,o,!0)}if(w)break;if(O(),c=R(f),A().validPositions=t.extend(!0,{},p),!A().excludes[f]){w=U(e,r,i,o,f-1);break}var k=E(c);if(-1!==A().excludes[f].indexOf(k)){w=U(e,r,i,o,f-1);break}for(A().excludes[f].push(k),d=f;d<T(n,!0)+1;d++)delete A().validPositions[d]}}return A().excludes[f]=n,w}function V(e,r,i,o,a,s){function l(t){return _?t.begin-t.end>1||t.begin-t.end==1:t.end-t.begin>1||t.end-t.begin==1}i=!0===i;var u=e;function c(r,i,a){var s=!1;return t.each(j(r),(function(u,c){var h=c.match;if(L(!0),!1!==(s=null!=h.fn?h.fn.test(i,A(),r,a,d,l(e)):(i===h.def||i===d.skipOptionalPartCharacter)&&""!==h.def&&{c:Y(r,h,!0)||h.def,pos:r})){var f=s.c!==n?s.c:i,p=r;return f=f===d.skipOptionalPartCharacter&&null===h.fn?Y(r,h,!0)||h.def:f,s.remove!==n&&(t.isArray(s.remove)||(s.remove=[s.remove]),t.each(s.remove.sort((function(t,e){return e-t})),(function(t,e){G({begin:e,end:e+1})}))),s.insert!==n&&(t.isArray(s.insert)||(s.insert=[s.insert]),t.each(s.insert.sort((function(t,e){return t-e})),(function(t,e){V(e.pos,e.c,!0,o)}))),!0!==s&&s.pos!==n&&s.pos!==r&&(p=s.pos),!0!==s&&s.pos===n&&s.c===n||G(e,t.extend({},c,{input:q(f,h,p)}),o,p)||(s=!1),!1}})),s}e.begin!==n&&(u=_?e.end:e.begin);var h=!0,f=t.extend(!0,{},A().validPositions);if(t.isFunction(d.preValidation)&&!i&&!0!==o&&!0!==s&&(h=d.preValidation(L(),u,r,l(e),d,A())),!0===h){if(H(n,u,!0),(m===n||u<m)&&(h=c(u,r,i),(!i||!0===o)&&!1===h&&!0!==s)){var p=A().validPositions[u];if(!p||null!==p.match.fn||p.match.def!==r&&r!==d.skipOptionalPartCharacter){if((d.insertMode||A().validPositions[W(u)]===n)&&(!z(u,!0)||A().jitOffset[u]))if(A().jitOffset[u]&&A().validPositions[W(u)]===n)!1!==(h=V(u+A().jitOffset[u],r,i))&&(h.caret=u);else for(var w=u+1,v=W(u);w<=v;w++)if(!1!==(h=c(w,r,i))){h=H(u,h.pos!==n?h.pos:w)||h,u=w;break}}else h={caret:W(u)}}!1!==h||!1===d.keepStatic||null!=d.regex&&!at(L())||i||!0===a||(h=U(u,r,i,o)),!0===h&&(h={pos:u})}if(t.isFunction(d.postValidation)&&!1!==h&&!i&&!0!==o&&!0!==s){var g=d.postValidation(L(!0),e.begin!==n?_?e.end:e.begin:e,h,d);if(g!==n){if(g.refreshFromBuffer&&g.buffer){var y=g.refreshFromBuffer;F(!0===y?y:y.start,y.end,g.buffer)}h=!0===g?h:g}}return h&&h.pos===n&&(h.pos=u),!1!==h&&!0!==s||(O(!0),A().validPositions=t.extend(!0,{},f)),h}function H(e,r,i){var o;if(e===n)for(e=r-1;e>0&&!A().validPositions[e];e--);for(var a=e;a<r;a++)if(A().validPositions[a]===n&&!z(a,!0)&&(0==a?R(a):A().validPositions[a-1])){var s=j(a).slice();""===s[s.length-1].match.def&&s.pop();var l=N(a,s);if((l=t.extend({},l,{input:Y(a,l.match,!0)||l.match.def})).generatedInput=!0,G(a,l,!0),!0!==i){var u=A().validPositions[r].input;A().validPositions[r]=n,o=V(r,u,!0,!0)}}return o}function G(e,r,i,o){function a(t,e,r){var i=e[t];if(i!==n&&(null===i.match.fn&&!0!==i.match.optionality||i.input===d.radixPoint)){var o=r.begin<=t-1?e[t-1]&&null===e[t-1].match.fn&&e[t-1]:e[t-1],a=r.end>
2t+1?e[t+1]&&null===e[t+1].match.fn&&e[t+1]:e[t+1];return o&&a}return!1}var s=e.begin!==n?e.begin:e,l=e.end!==n?e.end:e;if(e.begin>e.end&&(s=e.end,l=e.begin),o=o!==n?o:s,s!==l||d.insertMode&&A().validPositions[o]!==n&&i===n){var u=t.extend(!0,{},A().validPositions),c=T(n,!0);for(A().p=s,m=c;m>=s;m--)A().validPositions[m]&&"+"===A().validPositions[m].match.nativeDef&&(d.isNegative=!1),delete A().validPositions[m];var h=!0,f=o,p=(A().validPositions,!1),w=f,m=f;for(r&&(A().validPositions[o]=t.extend(!0,{},r),w++,f++,s<l&&m++);m<=c;m++){var v=u[m];if(v!==n&&(m>=l||m>=s&&!0!==v.generatedInput&&a(m,u,{begin:s,end:l}))){for(;""!==R(w).match.def;){if(!1===p&&u[w]&&u[w].match.nativeDef===v.match.nativeDef)A().validPositions[w]=t.extend(!0,{},u[w]),A().validPositions[w].input=v.input,H(n,w,!0),f=w+1,h=!0;else if(d.shiftPositions&&D(w,v.match.def)){var g=V(w,v.input,!0,!0);h=!1!==g,f=g.caret||g.insert?T():w+1,p=!0}else h=!0===v.generatedInput||v.input===d.radixPoint&&!0===d.numericInput;if(h)break;if(!h&&w>l&&z(w,!0)&&(null!==v.match.fn||w>A().maskLength))break;w++}""==R(w).match.def&&(h=!1),w=f}if(!h)break}if(!h)return A().validPositions=t.extend(!0,{},u),O(!0),!1}else r&&(A().validPositions[o]=t.extend(!0,{},r));return O(!0),!0}function z(t,e){var n=M(t).match;if(""===n.def&&(n=R(t).match),null!=n.fn)return n.fn;if(!0!==e&&t>-1){var r=j(t);return r.length>1+(""===r[r.length-1].match.def?1:0)}return!1}function W(t,e){for(var n=t+1;""!==R(n).match.def&&(!0===e&&(!0!==R(n).match.newBlockMarker||!z(n))||!0!==e&&!z(n));)n++;return n}function $(t,e){var n,r=t;if(r<=0)return 0;for(;--r>0&&(!0===e&&!0!==R(r).match.newBlockMarker||!0!==e&&!z(r)&&((n=j(r)).length<2||2===n.length&&""===n[1].match.def)););return r}function K(e,r,i,o,a){if(o&&t.isFunction(d.onBeforeWrite)){var s=d.onBeforeWrite.call(y,o,r,i,d);if(s){if(s.refreshFromBuffer){var l=s.refreshFromBuffer;F(!0===l?l:l.start,l.end,s.buffer||r),r=L(!0)}i!==n&&(i=s.caret!==n?s.caret:i)}}if(e!==n&&(e.inputmask._valueSet(r.join("")),i===n||o!==n&&"blur"===o.type?ut(e,i,0===r.length):rt(e,i),!0===a)){var u=t(e),c=e.inputmask._valueGet();k=!0,u.trigger("input"),setTimeout((function(){c===B().join("")?u.trigger("cleared"):!0===at(r)&&u.trigger("complete")}),0)}}function Y(e,r,i){if((r=r||R(e).match).placeholder!==n||!0===i)return t.isFunction(r.placeholder)?r.placeholder(d):r.placeholder;if(null===r.fn){if(e>-1&&A().validPositions[e]===n){var o,a=j(e),s=[];if(a.length>1+(""===a[a.length-1].match.def?1:0))for(var l=0;l<a.length;l++)if(!0!==a[l].match.optionality&&!0!==a[l].match.optionalQuantifier&&(null===a[l].match.fn||o===n||!1!==a[l].match.fn.test(o.match.def,A(),e,!0,d))&&(s.push(a[l]),null===a[l].match.fn&&(o=a[l]),s.length>1&&/[0-9a-bA-Z]/.test(s[0].match.def)))return d.placeholder.charAt(e%d.placeholder.length)}return r.def}return d.placeholder.charAt(e%d.placeholder.length)}function Z(t,e){if(o){if(t.inputmask._valueGet()!==e&&(t.placeholder!==e||""===t.placeholder)){var n=L().slice(),r=t.inputmask._valueGet();if(r!==e){var i=T();-1===i&&r===B().join("")?n=[]:-1!==i&&ot(n),K(t,n)}}}else t.placeholder!==e&&(t.placeholder=e,""===t.placeholder&&t.removeAttribute("placeholder"))}var J,X={on:function(e,r,i){var o=function(e){var r=this;if(r.inputmask===n&&"FORM"!==this.nodeName){var o=t.data(r,"_inputmask_opts");o?new u(o).mask(r):X.off(r)}else{if("setvalue"===e.type||"FORM"===this.nodeName||!(r.disabled||r.readOnly&&!("keydown"===e.type&&e.ctrlKey&&67===e.keyCode||!1===d.tabThrough&&e.keyCode===u.keyCode.TAB))){switch(e.type){case"input":if(!0===k)return k=!1,e.preventDefault();if(a){var c=arguments;return setTimeout((function(){i.apply(r,c),rt(r,r.inputmask.caretPos,n,!0)}),0),!1}break;case"keydown":x=!1,k=!1;break;case"keypress":if(!0===x)return e.preventDefault();x=!0;break;case"click":if(s||l)return c=arguments,setTimeout((function(){i.apply(r,c)}),0),!1}var h=i.apply(r,arguments);return!1===h&&(e.preventDefault(),e.stopPropagation()),h}e.preventDefault()}};e.inputmask.events[r]=e.inputmask.events[r]||[],e.inputmask.events[r].push(o),-1!==t.inArray(r,["submit","reset"])?null!==e.form&&t(e.form).on(r,o):t(e).on(r,o)},off:function(e,n){var r;e.inputmask&&e.inputmask.events&&(n?(r=[])[n]=e.inputmask.events[n]:r=e.inputmask.events,t.each(r,(function(n,r){for(;r.length>0;){var i=r.pop();-1!==t.inArray(n,["submit","reset"])?null!==e.form&&t(e.form).off(n,i):t(e).off(n,i)}delete e.inputmask.events[n]})))}},tt={keydownEvent:function(e){var n=this,r=t(n),i=e.keyCode,o=rt(n);if(i===u.keyCode.BACKSPACE||i===u.keyCode.DELETE||l&&i===u.keyCode.BACKSPACE_SAFARI||e.ctrlKey&&i===u.keyCode.X&&!h("cut"))e.preventDefault(),st(n,i,o),K(n,L(!0),A().p,e,n.inputmask._valueGet()!==L().join(""));else if(i===u.keyCode.END||i===u.keyCode.PAGE_DOWN){e.preventDefault();var a=W(T());rt(n,e.shiftKey?o.begin:a,a,!0)}else i===u.keyCode.HOME&&!e.shiftKey||i===u.keyCode.PAGE_UP?(e.preventDefault(),rt(n,0,e.shiftKey?o.begin:0,!0)):(d.undoOnEscape&&i===u.keyCode.ESCAPE||90===i&&e.ctrlKey)&&!0!==e.altKey?(et(n,!0,!1,p.split("")),r.trigger("click")):i!==u.keyCode.INSERT||e.shiftKey||e.ctrlKey?!0===d.tabThrough&&i===u.keyCode.TAB&&(!0===e.shiftKey?(null===R(o.begin).match.fn&&(o.begin=W(o.begin)),o.end=$(o.begin,!0),o.begin=$(o.end,!0)):(o.begin=W(o.begin,!0),o.end=W(o.begin,!0),o.end<A().maskLength&&o.end--),o.begin<A().maskLength&&(e.preventDefault(),rt(n,o.begin,o.end))):(d.insertMode=!d.insertMode,n.setAttribute("im-insert",d.insertMode));d.onKeyDown.call(this,e,L(),rt(n).begin,d),C=-1!==t.inArray(i,d.ignorables)},keypressEvent:function(e,r,i,o,a){var s=this,l=t(s),c=e.which||e.charCode||e.keyCode;if(!(!0===r||e.ctrlKey&&e.altKey)&&(e.ctrlKey||e.metaKey||C))return c===u.keyCode.ENTER&&p!==L().join("")&&(p=L().join(""),setTimeout((function(){l.trigger("change")}),0)),!0;if(c){46===c&&!1===e.shiftKey&&""!==d.radixPoint&&(c=d.radixPoint.charCodeAt(0));var h,f=r?{begin:a,end:a}:rt(s),w=String.fromCharCode(c),m=0;if(d._radixDance&&d.numericInput){var v=L().indexOf(d.radixPoint.charAt(0))+1;f.begin<=v&&(c===d.radixPoint.charCodeAt(0)&&(m=1),f.begin-=1,f.end-=1)}A().writeOutBuffer=!0;var g=V(f,w,o);if(!1!==g&&(O(!0),h=g.caret!==n?g.caret:W(g.pos.begin?g.pos.begin:g.pos),A().p=h),h=(d.numericInput&&g.caret===n?$(h):h)+m,!1!==i&&(setTimeout((function(){d.onKeyValidation.call(s,c,g,d)}),0),A().writeOutBuffer&&!1!==g)){var y=L();K(s,y,h,e,!0!==r)}if(e.preventDefault(),r)return!1!==g&&(g.forwardPosition=h),g}},pasteEvent:function(n){var r,i=this,o=n.originalEvent||n,a=(t(i),i.inputmask._valueGet(!0)),s=rt(i);_&&(r=s.end,s.end=s.begin,s.begin=r);var l=a.substr(0,s.begin),u=a.substr(s.end,a.length);if(l===(_?B().reverse():B()).slice(0,s.begin).join("")&&(l=""),u===(_?B().reverse():B()).slice(s.end).join("")&&(u=""),e.clipboardData&&e.clipboardData.getData)a=l+e.clipboardData.getData("Text")+u;else{if(!o.clipboardData||!o.clipboardData.getData)return!0;a=l+o.clipboardData.getData("text/plain")+u}var c=a;if(t.isFunction(d.onBeforePaste)){if(!1===(c=d.onBeforePaste.call(y,a,d)))return n.preventDefault();c||(c=a)}return et(i,!1,!1,c.toString().split("")),K(i,L(),W(T()),n,p!==L().join("")),n.preventDefault()},inputFallBackEvent:function(e){function n(t,e,n){return"."===e.charAt(n.begin-1)&&""!==d.radixPoint&&((e=e.split(""))[n.begin-1]=d.radixPoint.charAt(0),e=e.join("")),e}function r(t,e,n){if(s){var r=e.replace(L().join(""),"");if(1===r.length){var i=e.split("");
2i.splice(n.begin,0,r),e=i.join("")}}return e}var i=this,o=i.inputmask._valueGet();if(L().join("")!==o){var a=rt(i);if(o=n(i,o,a),o=r(i,o,a),L().join("")!==o){var l=L().join(""),c=!d.numericInput&&o.length>l.length?-1:0,h=o.substr(0,a.begin),f=o.substr(a.begin),p=l.substr(0,a.begin+c),w=l.substr(a.begin+c),m=a,v="",g=!1;if(h!==p){var y,b=(g=h.length>=p.length)?h.length:p.length;for(y=0;h.charAt(y)===p.charAt(y)&&y<b;y++);g&&(m.begin=y-c,v+=h.slice(y,m.end))}if(f!==w&&(f.length>w.length?v+=f.slice(0,1):f.length<w.length&&(m.end+=w.length-f.length,g||""===d.radixPoint||""!==f||h.charAt(m.begin+c-1)!==d.radixPoint||(m.begin--,v=d.radixPoint))),K(i,L(),{begin:m.begin+c,end:m.end+c}),v.length>0)t.each(v.split(""),(function(e,n){var r=new t.Event("keypress");r.which=n.charCodeAt(0),C=!1,tt.keypressEvent.call(i,r)}));else{m.begin===m.end-1&&(m.begin=$(m.begin+1),m.begin===m.end-1?rt(i,m.begin):rt(i,m.begin,m.end));var _=new t.Event("keydown");_.keyCode=d.numericInput?u.keyCode.BACKSPACE:u.keyCode.DELETE,tt.keydownEvent.call(i,_)}e.preventDefault()}}},beforeInputEvent:function(e){if(e.cancelable){var n=this;switch(e.inputType){case"insertText":return t.each(e.data.split(""),(function(e,r){var i=new t.Event("keypress");i.which=r.charCodeAt(0),C=!1,tt.keypressEvent.call(n,i)})),e.preventDefault();case"deleteContentBackward":return(r=new t.Event("keydown")).keyCode=u.keyCode.BACKSPACE,tt.keydownEvent.call(n,r),e.preventDefault();case"deleteContentForward":var r;
2return(r=new t.Event("keydown")).keyCode=u.keyCode.DELETE,tt.keydownEvent.call(n,r),e.preventDefault()}}},setValueEvent:function(e){this.inputmask.refreshValue=!1;var n=this,r=(r=e&&e.detail?e.detail[0]:arguments[1])||n.inputmask._valueGet(!0);t.isFunction(d.onBeforeMask)&&(r=d.onBeforeMask.call(y,r,d)||r),et(n,!0,!1,r=r.toString().split("")),p=L().join(""),(d.clearMaskOnLostFocus||d.clearIncomplete)&&n.inputmask._valueGet()===B().join("")&&n.inputmask._valueSet("")},focusEvent:function(t){var e=this,n=e.inputmask._valueGet();d.showMaskOnFocus&&(n!==L().join("")?K(e,L(),W(T())):!1===S&&rt(e,W(T()))),!0===d.positionCaretOnTab&&!1===S&&tt.clickEvent.apply(e,[t,!0]),p=L().join("")},mouseleaveEvent:function(t){var e=this;S=!1,d.clearMaskOnLostFocus&&r.activeElement!==e&&Z(e,g)},clickEvent:function(e,i){function o(e){if(""!==d.radixPoint){var r=A().validPositions;if(r[e]===n||r[e].input===Y(e)){if(e<W(-1))return!0;var i=t.inArray(d.radixPoint,L());if(-1!==i){for(var o in r)if(i<o&&r[o].input!==Y(o))return!1;return!0}}}return!1}var a=this;setTimeout((function(){if(r.activeElement===a){var t=rt(a);if(i&&(_?t.end=t.begin:t.begin=t.end),t.begin===t.end)switch(d.positionCaretOnClick){case"none":break;case"select":rt(a,0,L().length);break;case"ignore":rt(a,W(T()));break;case"radixFocus":if(o(t.begin)){var e=L().join("").indexOf(d.radixPoint);rt(a,d.numericInput?W(e):e);break}default:var s=t.begin,l=T(s,!0),u=W(l);if(s<u)rt(a,z(s,!0)||z(s-1,!0)?s:W(s));else{var c=A().validPositions[l],h=M(u,c?c.match.locator:n,c),f=Y(u,h.match);if(""!==f&&L()[u]!==f&&!0!==h.match.optionalQuantifier&&!0!==h.match.newBlockMarker||!z(u,d.keepStatic)&&h.match.def===f){var p=W(u);(s>=p||s===u)&&(u=p)}rt(a,u)}}}}),0)},cutEvent:function(n){var i=this,o=(t(i),rt(i)),a=n.originalEvent||n,s=e.clipboardData||a.clipboardData,l=_?L().slice(o.end,o.begin):L().slice(o.begin,o.end);s.setData("text",_?l.reverse().join(""):l.join("")),r.execCommand&&r.execCommand("copy"),st(i,u.keyCode.DELETE,o),K(i,L(),A().p,n,p!==L().join(""))},blurEvent:function(e){var r=t(this),i=this;if(i.inputmask){Z(i,g);var o=i.inputmask._valueGet(),a=L().slice();""===o&&v===n||(d.clearMaskOnLostFocus&&(-1===T()&&o===B().join("")?a=[]:ot(a)),!1===at(a)&&(setTimeout((function(){r.trigger("incomplete")}
2),0),d.clearIncomplete&&(O(),a=d.clearMaskOnLostFocus?[]:B().slice())),K(i,a,n,e)),p!==L().join("")&&(p=a.join(""),r.trigger("change"))}},mouseenterEvent:function(t){var e=this;S=!0,r.activeElement!==e&&d.showMaskOnHover&&Z(e,(_?L().slice().reverse():L()).join(""))},submitEvent:function(t){p!==L().join("")&&w.trigger("change"),d.clearMaskOnLostFocus&&-1===T()&&b.inputmask._valueGet&&b.inputmask._valueGet()===B().join("")&&b.inputmask._valueSet(""),d.clearIncomplete&&!1===at(L())&&b.inputmask._valueSet(""),d.removeMaskOnSubmit&&(b.inputmask._valueSet(b.inputmask.unmaskedvalue(),!0),setTimeout((function(){K(b,L())}),0))},resetEvent:function(t){b.inputmask.refreshValue=!0,setTimeout((function(){w.trigger("setvalue")}),0)}};function et(e,r,i,o,a){var s=this||e.inputmask,l=o.slice(),c="",h=-1,f=n;function p(t,e){return-1!==P(!0,0,!1).slice(t,W(t)).join("").replace(/'/g,"").indexOf(e)&&!z(t)&&(R(t).match.nativeDef===e.charAt(0)||null===R(t).match.fn&&R(t).match.nativeDef==="'"+e.charAt(0)||" "===R(t).match.nativeDef&&(R(t+1).match.nativeDef===e.charAt(0)||null===R(t+1).match.fn&&R(t+1).match.nativeDef==="'"+e.charAt(0)))}if(O(),i||!0===d.autoUnmask)h=W(h);else{var w=B().slice(0,W(-1)).join(""),m=l.join("").match(new RegExp("^"+u.escapeRegex(w),"g"));m&&m.length>0&&(l.splice(0,m.length*w.length),h=W(h))}-1===h?(A().p=W(h),h=0):A().p=h,s.caretPos={begin:h},t.each(l,(function(r,o){if(o!==n)if(A().validPositions[r]===n&&l[r]===Y(r)&&z(r,!0)&&!1===V(r,l[r],!0,n,n,!0))A().p++;else{var a=new t.Event("_checkval");a.which=o.charCodeAt(0),c+=o;var u=T(n,!0);p(h,c)?f=tt.keypressEvent.call(e,a,!0,!1,i,u+1):(f=tt.keypressEvent.call(e,a,!0,!1,i,s.caretPos.begin))&&(h=s.caretPos.begin+1,c=""),f&&(K(n,L(),f.forwardPosition,a,!1),s.caretPos={begin:f.forwardPosition,end:f.forwardPosition})}})),r&&K(e,L(),f?f.forwardPosition:n,a||new t.Event("checkval"),a&&"input"===a.type)}function nt(e){if(e){if(e.inputmask===n)return e.value;e.inputmask&&e.inputmask.refreshValue&&tt.setValueEvent.call(e)}var r=[],i=A().validPositions;for(var o in i)i[o].match&&null!=i[o].match.fn&&r.push(i[o].input);var a=0===r.length?"":(_?r.reverse():r).join("");if(t.isFunction(d.onUnMask)){var s=(_?L().slice().reverse():L()).join("");a=d.onUnMask.call(y,s,a,d)}return a}function rt(i,o,a,s){function l(t){return!_||"number"!=typeof t||d.greedy&&""===d.placeholder||!b||(t=b.inputmask._valueGet().length-t),t}var u;if(o===n)return"selectionStart"in i?(o=i.selectionStart,a=i.selectionEnd):e.getSelection?(u=e.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==i&&u.commonAncestorContainer!==i||(o=u.startOffset,a=u.endOffset):r.selection&&r.selection.createRange&&(a=(o=0-(u=r.selection.createRange()).duplicate().moveStart("character",-i.inputmask._valueGet().length))+u.text.length),{begin:s?o:l(o),end:s?a:l(a)};if(t.isArray(o)&&(a=_?o[0]:o[1],o=_?o[1]:o[0]),o.begin!==n&&(a=_?o.begin:o.end,o=_?o.end:o.begin),"number"==typeof o){o=s?o:l(o),a="number"==typeof(a=s?a:l(a))?a:o;var c=parseInt(((i.ownerDocument.defaultView||e).getComputedStyle?(i.ownerDocument.defaultView||e).getComputedStyle(i,null):i.currentStyle).fontSize)*a;if(i.scrollLeft=c>i.scrollWidth?c:0,i.inputmask.caretPos={begin:o,end:a},i===r.activeElement){if("selectionStart"in i)i.selectionStart=o,i.selectionEnd=a;else if(e.getSelection){if(u=r.createRange(),i.firstChild===n||null===i.firstChild){var h=r.createTextNode("");i.appendChild(h)}u.setStart(i.firstChild,o<i.inputmask._valueGet().length?o:i.inputmask._valueGet().length),u.setEnd(i.firstChild,a<i.inputmask._valueGet().length?a:i.inputmask._valueGet().length),u.collapse(!0);var f=e.getSelection();f.removeAllRanges(),f.addRange(u)}else i.createTextRange&&((u=i.createTextRange()).collapse(!0),u.moveEnd("character",a),u.moveStart("character",o),u.select());ut(i,{begin:o,end:a})}}}function it(e){var r,i,o=P(!0,T(),!0,!0),a=o.length,s=T(),l={},u=A().validPositions[s],c=u!==n?u.locator.slice():n;for(r=s+1;r<o.length;r++)c=(i=M(r,c,r-1)).locator.slice(),l[r]=t.extend(!0,{},i);var d=u&&u.alternation!==n?u.locator[u.alternation]:n;for(r=a-1;r>s&&((i=l[r]).match.optionality||i.match.optionalQuantifier&&i.match.newBlockMarker||d&&(d!==l[r].locator[u.alternation]&&null!=i.match.fn||null===i.match.fn&&i.locator[u.alternation]&&Q(i.locator[u.alternation].toString().split(","),d.toString().split(","))&&""!==j(r)[0].def))&&o[r]===Y(r,i.match);r--)a--;return e?{l:a,def:l[a]?l[a].match:n}:a}function ot(t){t.length=0;for(var e,r=P(!0,0,!0,n,!0);(e=r.shift())!==n;)t.push(e);return t}function at(e){if(t.isFunction(d.isComplete))return d.isComplete(e,d);if("*"===d.repeat)return n;var r=!1,i=it(!0),o=$(i.l);if(i.def===n||i.def.newBlockMarker||i.def.optionality||i.def.optionalQuantifier){r=!0;for(var a=0;a<=o;a++){var s=M(a).match;if(null!==s.fn&&A().validPositions[a]===n&&!0!==s.optionality&&!0!==s.optionalQuantifier||null===s.fn&&e[a]!==Y(a,s)){r=!1;break}}}return r}function st(t,e,r,i,o){if((d.numericInput||_)&&(e===u.keyCode.BACKSPACE?e=u.keyCode.DELETE:e===u.keyCode.DELETE&&(e=u.keyCode.BACKSPACE),_)){var a=r.end;r.end=r.begin,r.begin=a}if(e===u.keyCode.BACKSPACE&&r.end-r.begin<1?(r.begin=$(r.begin),A().validPositions[r.begin]!==n&&A().validPositions[r.begin].input===d.groupSeparator&&r.begin--):e===u.keyCode.DELETE&&r.begin===r.end&&(r.end=z(r.end,!0)&&A().validPositions[r.end]&&A().validPositions[r.end].input!==d.radixPoint?r.end+1:W(r.end)+1,A().validPositions[r.begin]!==n&&A().validPositions[r.begin].input===d.groupSeparator&&r.end++),G(r),!0!==i&&!1!==d.keepStatic||null!==d.regex){var s=U(!0);if(s){var l=s.caret!==n?s.caret:s.pos?W(s.pos.begin?s.pos.begin:s.pos):T(-1,!0);(e!==u.keyCode.DELETE||r.begin>l)&&r.begin}}var c=T(r.begin,!0);if(c<r.begin||-1===r.begin)A().p=W(c);else if(!0!==i&&(A().p=r.begin,!0!==o))for(;A().p<c&&A().validPositions[A().p]===n;)A().p++}function lt(n){var i=(n.ownerDocument.defaultView||e).getComputedStyle(n,null);function o(t){var e,o=r.createElement("span");for(var a in i)isNaN(a)&&-1!==a.indexOf("font")&&(o.style[a]=i[a]);o.style.textTransform=i.textTransform,o.style.letterSpacing=i.letterSpacing,o.style.position="absolute",o.style.height="auto",o.style.width="auto",o.style.visibility="hidden",o.style.whiteSpace="nowrap",r.body.appendChild(o);var s,l=n.inputmask._valueGet(),u=0;for(e=0,s=l.length;e<=s;e++){if(o.innerHTML+=l.charAt(e)||"_",o.offsetWidth>=t){var c=t-u,d=o.offsetWidth-t;o.innerHTML=l.charAt(e),e=(c-=o.offsetWidth/3)<d?e-1:e;break}u=o.offsetWidth}return r.body.removeChild(o),e}var a=r.createElement("div");a.style.width=i.width,a.style.textAlign=i.textAlign,v=r.createElement("div"),n.inputmask.colorMask=v,v.className="im-colormask",n.parentNode.insertBefore(v,n),n.parentNode.removeChild(n),v.appendChild(n),v.appendChild(a),n.style.left=a.offsetLeft+"px",t(v).on("mouseleave",(function(t){return tt.mouseleaveEvent.call(n,[t])})),t(v).on("mouseenter",(function(t){return tt.mouseenterEvent.call(n,[t])})),t(v).on("click",(function(t){return rt(n,o(t.clientX)),tt.clickEvent.call(n,[t])}))}function ut(t,e,i){var o,a,s,l=[],u=!1,c=0;function h(t){if(t===n&&(t=""),u||null!==o.fn&&a.input!==n)if(u&&(null!==o.fn&&a.input!==n||""===o.def)){u=!1;var e=l.length;l[e-1]=l[e-1]+"</span>",l.push(t)}else l.push(t);else u=!0,l.push("<span class='im-static'>"+t)}function f(){r.activeElement===t&&(l.splice(e.begin,0,e.begin===e.end||e.end>A().maskLength?'<mark class="im-caret" style="border-right-width: 1px;border-right-style: solid;">':'<mark class="im-caret-select">'),l.splice(e.end+1,0,"</mark>"))}if(v!==n){var p=L();if(e===n?e=rt(t):e.begin===n&&(e={begin:e,end:e}),!0!==i){var w=T();do{A().validPositions[c]?(a=A().validPositions[c],o=a.match,s=a.locator.slice(),h(p[c])):(a=M(c,s,c-1),o=a.match,s=a.locator.slice(),!1===d.jitMasking||c<w||"number"==typeof d.jitMasking&&isFinite(d.jitMasking)&&d.jitMasking>c?h(Y(c,o)):u=!1),c++}while((m===n||c<m)&&(null!==o.fn||""!==o.def)||w>c||u);u&&h(),f()}var g=v.getElementsByTagName("div")[0];g.innerHTML=l.join(""),t.inputmask.positionColorMask(t,g)}}function ct(e){function i(e,i){function o(e){var o,a;function s(e){if(t.valHooks&&(t.valHooks[e]===n||!0!==t.valHooks[e].inputmaskpatch)){var r=t.valHooks[e]&&t.valHooks[e].get?t.valHooks[e].get:function(t){return t.value},o=t.valHooks[e]&&t.valHooks[e].set?t.valHooks[e].set:function(t,e){return t.value=e,t};t.valHooks[e]={get:function(t){if(t.inputmask){if(t.inputmask.opts.autoUnmask)return t.inputmask.unmaskedvalue();var e=r(t);return-1!==T(n,n,t.inputmask.maskset.validPositions)||!0!==i.nullable?e:""}return r(t)},set:function(e,n){var r,i=t(e);return r=o(e,n),e.inputmask&&i.trigger("setvalue",[n]),r},inputmaskpatch:!0}}}function l(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==T()||!0!==i.nullable?r.activeElement===this&&i.clearMaskOnLostFocus?(_?ot(L().slice()).reverse():ot(L().slice())).join(""):o.call(this):"":o.call(this)}function u(e){a.call(this,e),this.inputmask&&t(this).trigger("setvalue",[e])}function c(e){X.on(e,"mouseenter",(function(e){var n=t(this);this.inputmask._valueGet()!==L().join("")&&n.trigger("setvalue")}))}if(!e.inputmask.__valueGet){if(!0!==i.noValuePatching){if(Object.getOwnPropertyDescriptor){"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"test".__proto__?function(t){return t.__proto__}:function(t){return t.constructor.prototype});var d=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value"):n;d&&d.get&&d.set?(o=d.get,a=d.set,Object.defineProperty(e,"value",{get:l,set:u,configurable:!0})):"INPUT"!==e.tagName&&(o=function(){return this.textContent},a=function(t){this.textContent=t},Object.defineProperty(e,"value",{get:l,set:u,configurable:!0}))}else r.__lookupGetter__&&e.__lookupGetter__("value")&&(o=e.__lookupGetter__("value"),a=e.__lookupSetter__("value"),e.__defineGetter__("value",l),e.__defineSetter__("value",u));e.inputmask.__valueGet=o,e.inputmask.__valueSet=a}e.inputmask._valueGet=function(t){return _&&!0!==t?o.call(this.el).split("").reverse().join(""):o.call(this.el)},e.inputmask._valueSet=function(t,e){a.call(this.el,null===t||t===n?"":!0!==e&&_?t.split("").reverse().join(""):t)},o===n&&(o=function(){return this.value},a=function(t){this.value=t},s(e.type),c(e))}}var a=e.getAttribute("type"),s="INPUT"===e.tagName&&-1!==t.inArray(a,i.supportsInputType)||e.isContentEditable||"TEXTAREA"===e.tagName;if(!s)if("INPUT"===e.tagName){var l=r.createElement("input");l.setAttribute("type",a),s="text"===l.type,l=null}else s="partial";return!1!==s?o(e):e.inputmask=n,s}X.off(e);var o=i(e,d);if(!1!==o&&(w=t(b=e),g=b.placeholder,-1===(m=b!==n?b.maxLength:n)&&(m=n),!0===d.colorMask&&lt(b),a&&("inputMode"in b&&(b.inputmode=d.inputmode,b.setAttribute("inputmode",d.inputmode)),!0===d.disablePredictiveText&&("autocorrect"in b?b.autocorrect=!1:(!0!==d.colorMask&&lt(b),b.type="password"))),!0===o&&(b.setAttribute("im-insert",d.insertMode),X.on(b,"submit",tt.submitEvent),X.on(b,"reset",tt.resetEvent),X.on(b,"blur",tt.blurEvent),X.on(b,"focus",tt.focusEvent),!0!==d.colorMask&&(X.on(b,"click",tt.clickEvent),
2X.on(b,"mouseleave",tt.mouseleaveEvent),X.on(b,"mouseenter",tt.mouseenterEvent)),X.on(b,"paste",tt.pasteEvent),X.on(b,"cut",tt.cutEvent),X.on(b,"complete",d.oncomplete),X.on(b,"incomplete",d.onincomplete),X.on(b,"cleared",d.oncleared),a||!0===d.inputEventOnly?b.removeAttribute("maxLength"):(X.on(b,"keydown",tt.keydownEvent),X.on(b,"keypress",tt.keypressEvent)),X.on(b,"input",tt.inputFallBackEvent),X.on(b,"beforeinput",tt.beforeInputEvent)),X.on(b,"setvalue",tt.setValueEvent),p=B().join(""),""!==b.inputmask._valueGet(!0)||!1===d.clearMaskOnLostFocus||r.activeElement===b)){var s=t.isFunction(d.onBeforeMask)&&d.onBeforeMask.call(y,b.inputmask._valueGet(!0),d)||b.inputmask._valueGet(!0);""!==s&&et(b,!0,!1,s.split(""));var l=L().slice();p=l.join(""),!1===at(l)&&d.clearIncomplete&&O(),d.clearMaskOnLostFocus&&r.activeElement!==b&&(-1===T()?l=[]:ot(l)),(!1===d.clearMaskOnLostFocus||d.showMaskOnFocus&&r.activeElement===b||""!==b.inputmask._valueGet(!0))&&K(b,l),r.activeElement===b&&rt(b,W(T()))}}if(i!==n)switch(i.action){case"isComplete":return b=i.el,at(L());case"unmaskedvalue":return b!==n&&i.value===n||(J=i.value,J=(t.isFunction(d.onBeforeMask)&&d.onBeforeMask.call(y,J,d)||J).split(""),et.call(this,n,!1,!1,J),t.isFunction(d.onBeforeWrite)&&d.onBeforeWrite.call(y,n,L(),0,d)),nt(b);case"mask":ct(b);break;case"format":return J=(t.isFunction(d.onBeforeMask)&&d.onBeforeMask.call(y,i.value,d)||i.value).split(""),et.call(this,n,!0,!1,J),i.metadata?{value:_?L().slice().reverse().join(""):L().join(""),metadata:f.call(this,{action:"getmetadata"},c,d)}:_?L().slice().reverse().join(""):L().join("");case"isValid":i.value?(J=i.value.split(""),et.call(this,n,!0,!0,J)):i.value=L().join("");for(var dt=L(),ht=it(),ft=dt.length-1;ft>ht&&!z(ft);ft--);return dt.splice(ht,ft+1-ht),at(dt)&&i.value===L().join("");case"getemptymask":return B().join("");case"remove":return b&&b.inputmask&&(t.data(b,"_inputmask_opts",null),w=t(b),b.inputmask._valueSet(d.autoUnmask?nt(b):b.inputmask._valueGet(!0)),X.off(b),b.inputmask.colorMask&&((v=b.inputmask.colorMask).removeChild(b),v.parentNode.insertBefore(b,v),v.parentNode.removeChild(v)),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(b),"value")&&b.inputmask.__valueGet&&Object.defineProperty(b,"value",{get:b.inputmask.__valueGet,set:b.inputmask.__valueSet,configurable:!0}):r.__lookupGetter__&&b.__lookupGetter__("value")&&b.inputmask.__valueGet&&(b.__defineGetter__("value",b.inputmask.__valueGet),b.__defineSetter__("value",b.inputmask.__valueSet)),b.inputmask=n),b;case"getmetadata":if(t.isArray(c.metadata)){var pt=P(!0,0,!1).join("");return t.each(c.metadata,(function(t,e){if(e.mask===pt)return pt=e,!1})),pt}return c.metadata}}return u.prototype={dataAttribute:"data-inputmask",defaults:{placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:t.noop,onincomplete:t.noop,oncleared:t.noop,repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,clearIncomplete:!1,alias:null,onKeyDown:t.noop,onBeforeMask:null,onBeforePaste:function(e,n){return t.isFunction(n.onBeforeMask)?n.onBeforeMask.call(this,e,n):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:t.noop,skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[8,9,13,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:n,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"verbatim",colorMask:!1,disablePredictiveText:!1,importDataAttributes:!0,shiftPositions:!0},definitions:{9:{validator:"[0-91-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function(i){var o=this;function a(r,i,o,a){if(!0===i.importDataAttributes){var s,l,u,d,h=r.getAttribute(a),f=function(t,i){null!==(i=i!==n?i:r.getAttribute(a+"-"+t))&&("string"==typeof i&&(0===t.indexOf("on")?i=e[i]:"false"===i?i=!1:"true"===i&&(i=!0)),o[t]=i)};
2if(h&&""!==h&&(h=h.replace(/'/g,'"'),l=JSON.parse("{"+h+"}")),l)for(d in u=n,l)if("alias"===d.toLowerCase()){u=l[d];break}for(s in f("alias",u),o.alias&&c(o.alias,o,i),i){if(l)for(d in u=n,l)if(d.toLowerCase()===s.toLowerCase()){u=l[d];break}f(s,u)}}return t.extend(!0,i,o),("rtl"===r.dir||i.rightAlign)&&(r.style.textAlign="right"),("rtl"===r.dir||i.numericInput)&&(r.dir="ltr",r.removeAttribute("dir"),i.isRTL=!0),Object.keys(o).length}return"string"==typeof i&&(i=r.getElementById(i)||r.querySelectorAll(i)),i=i.nodeName?[i]:i,t.each(i,(function(e,r){var i=t.extend(!0,{},o.opts);if(a(r,i,t.extend(!0,{},o.userOptions),o.dataAttribute)){var s=d(i,o.noMasksCache);s!==n&&(r.inputmask!==n&&(r.inputmask.opts.autoUnmask=!0,r.inputmask.remove()),r.inputmask=new u(n,n,!0),r.inputmask.opts=i,r.inputmask.noMasksCache=o.noMasksCache,r.inputmask.userOptions=t.extend(!0,{},o.userOptions),r.inputmask.isRTL=i.isRTL||i.numericInput,r.inputmask.el=r,r.inputmask.maskset=s,t.data(r,"_inputmask_opts",i),f.call(r.inputmask,{action:"mask"}))}})),i&&i[0]&&i[0].inputmask||this},option:function(e,n){return"string"==typeof e?this.opts[e]:"object"==typeof e?(t.extend(this.userOptions,e),this.el&&!0!==n&&this.mask(this.el),this):void 0},unmaskedvalue:function(t){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),f.call(this,{action:"unmaskedvalue",value:t})},remove:function(){return f.call(this,{action:"remove"})},getemptymask:function(){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),f.call(this,{action:"getemptymask"})},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),f.call(this,{action:"isComplete"})},getmetadata:function(){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),f.call(this,{action:"getmetadata"})},isValid:function(t){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),f.call(this,{action:"isValid",value:t})},format:function(t,e){return this.maskset=this.maskset||d(this.opts,this.noMasksCache),f.call(this,{action:"format",value:t,metadata:e})},setValue:function(e){this.el&&t(this.el).trigger("setvalue",[e])},analyseMask:function(e,r,i){var o,a,s,l,c,d,h=/(?:[?*+]|\{[0-9\+\*]+(?:,[0-9\+\*]*)?(?:\|[0-9\+\*]*)?\})|[^.?*+^${[]()|\\]+|./g,f=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,p=!1,w=new g,m=[],v=[];function g(t,e,n,r){this.matches=[],this.openGroup=t||!1,this.alternatorGroup=!1,this.isGroup=t||!1,this.isOptional=e||!1,this.isQuantifier=n||!1,this.isAlternator=r||!1,this.quantifier={min:1,max:1}}function y(e,o,a){a=a!==n?a:e.matches.length;var s=e.matches[a-1];if(r)0===o.indexOf("[")||p&&/\\d|\\s|\\w]/i.test(o)||"."===o?e.matches.splice(a++,0,{fn:new RegExp(o,i.casing?"i":""),optionality:!1,newBlockMarker:s===n?"master":s.def!==o,casing:null,def:o,placeholder:n,nativeDef:o}):(p&&(o=o[o.length-1]),t.each(o.split(""),(function(t,r){s=e.matches[a-1],e.matches.splice(a++,0,{fn:null,optionality:!1,newBlockMarker:s===n?"master":s.def!==r&&null!==s.fn,casing:null,def:i.staticDefinitionSymbol||r,placeholder:i.staticDefinitionSymbol!==n?r:n,nativeDef:(p?"'":"")+r})}))),p=!1;else{var l=(i.definitions?i.definitions[o]:n)||u.prototype.definitions[o];l&&!p?e.matches.splice(a++,0,{fn:l.validator?"string"==typeof l.validator?new RegExp(l.validator,i.casing?"i":""):new function(){this.test=l.validator}:new RegExp("."),optionality:!1,newBlockMarker:s===n?"master":s.def!==(l.definitionSymbol||o),casing:l.casing,def:l.definitionSymbol||o,placeholder:l.placeholder,nativeDef:o}):(e.matches.splice(a++,0,{fn:null,optionality:!1,newBlockMarker:s===n?"master":s.def!==o&&null!==s.fn,casing:null,def:i.staticDefinitionSymbol||o,placeholder:i.staticDefinitionSymbol!==n?o:n,nativeDef:(p?"'":"")+o}),p=!1)}}function b(e){e&&e.matches&&t.each(e.matches,(function(t,o){var a=e.matches[t+1];(a===n||a.matches===n||!1===a.isQuantifier)&&o&&o.isGroup&&(o.isGroup=!1,r||(y(o,i.groupmarker[0],0),!0!==o.openGroup&&y(o,i.groupmarker[1]))),b(o)}))}function _(){if(m.length>0){if(y(l=m[m.length-1],a),l.isAlternator){c=m.pop();for(var t=0;t<c.matches.length;t++)c.matches[t].isGroup&&(c.matches[t].isGroup=!1);m.length>0?(l=m[m.length-1]).matches.push(c):w.matches.push(c)}}else y(w,a)}function x(t){function e(t){return t===i.optionalmarker[0]?t=i.optionalmarker[1]:t===i.optionalmarker[1]?t=i.optionalmarker[0]:t===i.groupmarker[0]?t=i.groupmarker[1]:t===i.groupmarker[1]&&(t=i.groupmarker[0]),t}for(var r in t.matches=t.matches.reverse(),t.matches)if(t.matches.hasOwnProperty(r)){var o=parseInt(r);if(t.matches[r].isQuantifier&&t.matches[o+1]&&t.matches[o+1].isGroup){var a=t.matches[r];t.matches.splice(r,1),t.matches.splice(o+1,0,a)}t.matches[r].matches!==n?t.matches[r]=x(t.matches[r]):t.matches[r]=e(t.matches[r])}return t}function k(t){var e=new g(!0);return e.openGroup=!1,e.matches=t,e}for(r&&(i.optionalmarker[0]=n,i.optionalmarker[1]=n);o=r?f.exec(e):h.exec(e);){if(a=o[0],r)switch(a.charAt(0)){case"?":a="{0,1}";break;case"+":case"*":a="{"+a+"}"}if(p)_();else switch(a.charAt(0)){case"(?=":case"(?!":case"(?<=":case"(?<!":break;case i.escapeChar:p=!0,r&&_();break;case i.optionalmarker[1]:case i.groupmarker[1]:if((s=m.pop()).openGroup=!1,s!==n)if(m.length>0){if((l=m[m.length-1]).matches.push(s),l.isAlternator){c=m.pop();for(var C=0;C<c.matches.length;C++)c.matches[C].isGroup=!1,c.matches[C].alternatorGroup=!1;m.length>0?(l=m[m.length-1]).matches.push(c):w.matches.push(c)}}else w.matches.push(s);else _();break;case i.optionalmarker[0]:m.push(new g(!1,!0));break;case i.groupmarker[0]:m.push(new g(!0));break;case i.quantifiermarker[0]:var S=new g(!1,!1,!0),P=(a=a.replace(/[{}]/g,"")).split("|"),A=P[0].split(","),O=isNaN(A[0])?A[0]:parseInt(A[0]),T=1===A.length?O:isNaN(A[1])?A[1]:parseInt(A[1]);"*"!==O&&"+"!==O||(O="*"===T?0:1),S.quantifier={min:O,max:T,jit:P[1]};var E=m.length>0?m[m.length-1].matches:w.matches;if((o=E.pop()).isAlternator){E.push(o),E=o.matches;var I=new g(!0),N=E.pop();E.push(I),E=I.matches,o=N}o.isGroup||(o=k([o])),E.push(o),E.push(S);break;case i.alternatormarker:var M=function(t){var e=t.pop();return e.isQuantifier&&(e=k([t.pop(),e])),e};if(m.length>0){var R=(l=m[m.length-1]).matches[l.matches.length-1];
2d=l.openGroup&&(R.matches===n||!1===R.isGroup&&!1===R.isAlternator)?m.pop():M(l.matches)}else d=M(w.matches);if(d.isAlternator)m.push(d);else if(d.alternatorGroup?(c=m.pop(),d.alternatorGroup=!1):c=new g(!1,!1,!1,!0),c.matches.push(d),m.push(c),d.openGroup){d.openGroup=!1;var D=new g(!0);D.alternatorGroup=!0,m.push(D)}break;default:_()}}for(;m.length>0;)s=m.pop(),w.matches.push(s);return w.matches.length>0&&(b(w),v.push(w)),(i.numericInput||i.isRTL)&&x(v[0]),v},positionColorMask:function(t,e){t.style.left=e.offsetLeft+"px"}},u.extendDefaults=function(e){t.extend(!0,u.prototype.defaults,e)},u.extendDefinitions=function(e){t.extend(!0,u.prototype.definitions,e)},u.extendAliases=function(e){t.extend(!0,u.prototype.aliases,e)},u.format=function(t,e,n){return u(e).format(t,n)},u.unmask=function(t,e){return u(e).unmaskedvalue(t)},u.isValid=function(t,e){return u(e).isValid(t)},u.remove=function(e){"string"==typeof e&&(e=r.getElementById(e)||r.querySelectorAll(e)),e=e.nodeName?[e]:e,t.each(e,(function(t,e){e.inputmask&&e.inputmask.remove()}))},u.setValue=function(e,n){"string"==typeof e&&(e=r.getElementById(e)||r.querySelectorAll(e)),e=e.nodeName?[e]:e,t.each(e,(function(e,r){r.inputmask?r.inputmask.setValue(n):t(r).trigger("setvalue",[n])}))},u.escapeRegex=function(t){var e=["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"];return t.replace(new RegExp("(\\"+e.join("|\\")+")","gim"),"\\$1")},u.keyCode={BACKSPACE:8,BACKSPACE_SAFARI:127,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SPACE:32,TAB:9,UP:38,X:88,CONTROL:17},u.dependencyLib=t,u})?r.apply(e,i):r)||(t.exports=o)},95469:(t,e,n)=>{var r,i,o;i=[n(59625)],void 0===(o="function"==typeof(r=function(t){var e=t.dependencyLib;function n(e,n){for(var r="",i=0;i<e.length;i++)t.prototype.definitions[e.charAt(i)]||n.definitions[e.charAt(i)]||n.optionalmarker.start===e.charAt(i)||n.optionalmarker.end===e.charAt(i)||n.quantifiermarker.start===e.charAt(i)||n.quantifiermarker.end===e.charAt(i)||n.groupmarker.start===e.charAt(i)||n.groupmarker.end===e.charAt(i)||n.alternatormarker===e.charAt(i)?r+="\\"+e.charAt(i):r+=e.charAt(i);return r}function r(t,n,r){if(n>0){var i=e.inArray(r.radixPoint,t);-1===i&&(t.push(r.radixPoint),i=t.length-1);for(var o=1;o<=n;o++)t[i+o]=t[i+o]||"0"}return t}return t.extendAliases({numeric:{mask:function(t){if(0!==t.repeat&&isNaN(t.integerDigits)&&(t.integerDigits=t.repeat),t.repeat=0,t.groupSeparator===t.radixPoint&&t.digits&&"0"!==t.digits&&("."===t.radixPoint?t.groupSeparator=",":","===t.radixPoint?t.groupSeparator=".":t.groupSeparator="")," "===t.groupSeparator&&(t.skipOptionalPartCharacter=void 0),t.autoGroup=t.autoGroup&&""!==t.groupSeparator,t.autoGroup&&("string"==typeof t.groupSize&&isFinite(t.groupSize)&&(t.groupSize=parseInt(t.groupSize)),isFinite(t.integerDigits))){var e=Math.floor(t.integerDigits/t.groupSize),r=t.integerDigits%t.groupSize;t.integerDigits=parseInt(t.integerDigits)+(0===r?e-1:e),t.integerDigits<1&&(t.integerDigits="*")}t.placeholder.length>1&&(t.placeholder=t.placeholder.charAt(0)),"radixFocus"===t.positionCaretOnClick&&""===t.placeholder&&!1===t.integerOptional&&(t.positionCaretOnClick="lvp"),t.definitions[";"]=t.definitions["~"],t.definitions[";"].definitionSymbol="~",!0===t.numericInput&&(t.positionCaretOnClick="radixFocus"===t.positionCaretOnClick?"lvp":t.positionCaretOnClick,t.digitsOptional=!1,isNaN(t.digits)&&(t.digits=2),t.decimalProtect=!1);var i="[+]";if(i+=n(t.prefix,t),!0===t.integerOptional?i+="~{1,"+t.integerDigits+"}":i+="~{"+t.integerDigits+"}",void 0!==t.digits){var o=t.decimalProtect?":":t.radixPoint,a=t.digits.toString().split(",");isFinite(a[0])&&a[1]&&isFinite(a[1])?i+=o+";{"+t.digits+"}":(isNaN(t.digits)||parseInt(t.digits)>0)&&(t.digitsOptional?i+="["+o+";{1,"+t.digits+"}]":i+=o+";{"+t.digits+"}")}return i+=n(t.suffix,t),i+="[-]",t.greedy=!1,i},placeholder:"",greedy:!1,digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",groupSize:3,groupSeparator:"",autoGroup:!1,allowMinus:!0,negationSymbol:{front:"-",back:""},integerDigits:"+",integerOptional:!0,prefix:"",suffix:"",rightAlign:!0,decimalProtect:!0,min:null,max:null,step:1,insertMode:!0,autoUnmask:!1,unmaskAsNumber:!1,inputType:"text",inputmode:"numeric",preValidation:function(t,n,r,i,o,a){if("-"===r||r===o.negationSymbol.front)return!0===o.allowMinus&&
2(o.isNegative=void 0===o.isNegative||!o.isNegative,""===t.join("")||{caret:a.validPositions[n]?n:void 0,dopost:!0});if(!1===i&&r===o.radixPoint&&void 0!==o.digits&&(isNaN(o.digits)||parseInt(o.digits)>0)){var s=e.inArray(o.radixPoint,t);if(-1!==s&&void 0!==a.validPositions[s])return!0===o.numericInput?n===s:{caret:s+1}}return!0},postValidation:function(n,r,i,o){function a(t,e){var n="";if(n+="("+e.groupSeparator+"*{"+e.groupSize+"}){*}",""!==e.radixPoint){var r=t.join("").split(e.radixPoint);r[1]&&(n+=e.radixPoint+"*{"+r[1].match(/^\d*\??\d*/)[0].length+"}")}return n}var s=o.suffix.split(""),l=o.prefix.split("");if(void 0===i.pos&&void 0!==i.caret&&!0!==i.dopost)return i;var u=void 0!==i.caret?i.caret:i.pos,c=n.slice();o.numericInput&&(u=c.length-u-1,c=c.reverse());var d=c[u];if(d===o.groupSeparator&&(d=c[u+=1]),u===c.length-o.suffix.length-1&&d===o.radixPoint)return i;void 0!==d&&d!==o.radixPoint&&d!==o.negationSymbol.front&&d!==o.negationSymbol.back&&(c[u]="?",o.prefix.length>0&&u>=(!1===o.isNegative?1:0)&&u<o.prefix.length-1+(!1===o.isNegative?1:0)?l[u-(!1===o.isNegative?1:0)]="?":o.suffix.length>0&&u>=c.length-o.suffix.length-(!1===o.isNegative?1:0)&&(s[u-(c.length-o.suffix.length-(!1===o.isNegative?1:0))]="?")),l=l.join(""),s=s.join("");var h=c.join("").replace(l,"");if(h=(h=(h=(h=h.replace(s,"")).replace(new RegExp(t.escapeRegex(o.groupSeparator),"g"),"")).replace(new RegExp("[-"+t.escapeRegex(o.negationSymbol.front)+"]","g"),"")).replace(new RegExp(t.escapeRegex(o.negationSymbol.back)+"$"),""),isNaN(o.placeholder)&&(h=h.replace(new RegExp(t.escapeRegex(o.placeholder),"g"),"")),h.length>1&&1!==h.indexOf(o.radixPoint)&&("0"===d&&(h=h.replace(/^\?/g,"")),h=h.replace(/^0/g,"")),h.charAt(0)===o.radixPoint&&""!==o.radixPoint&&!0!==o.numericInput&&(h="0"+h),""!==h){if(h=h.split(""),(!o.digitsOptional||o.enforceDigitsOnBlur&&"blur"===i.event)&&isFinite(o.digits)){var f=e.inArray(o.radixPoint,h),p=e.inArray(o.radixPoint,c);-1===f&&(h.push(o.radixPoint),f=h.length-1);for(var w=1;w<=o.digits;w++)o.digitsOptional&&(!o.enforceDigitsOnBlur||"blur"!==i.event)||void 0!==h[f+w]&&h[f+w]!==o.placeholder.charAt(0)?-1!==p&&void 0!==c[p+w]&&(h[f+w]=h[f+w]||c[p+w]):h[f+w]=i.placeholder||o.placeholder.charAt(0)}if(!0!==o.autoGroup||""===o.groupSeparator||d===o.radixPoint&&void 0===i.pos&&!i.dopost)h=h.join("");else{var m=h[h.length-1]===o.radixPoint&&i.c===o.radixPoint;h=t(a(h,o),{numericInput:!0,jitMasking:!0,definitions:{"*":{validator:"[0-9?]",cardinality:1}}}).format(h.join("")),m&&(h+=o.radixPoint),h.charAt(0)===o.groupSeparator&&h.substr(1)}}if(o.isNegative&&"blur"===i.event&&(o.isNegative="0"!==h),h=l+h,h+=s,o.isNegative&&(h=o.negationSymbol.front+h,h+=o.negationSymbol.back),h=h.split(""),void 0!==d)if(d!==o.radixPoint&&d!==o.negationSymbol.front&&d!==o.negationSymbol.back)(u=e.inArray("?",h))>-1?h[u]=d:u=i.caret||0;else if(d===o.radixPoint||d===o.negationSymbol.front||d===o.negationSymbol.back){var v=e.inArray(d,h);-1!==v&&(u=v)}o.numericInput&&(u=h.length-u-1,h=h.reverse());var g={caret:void 0!==d&&void 0===i.pos||void 0===u?u:u+(o.numericInput?-1:1),buffer:h,refreshFromBuffer:i.dopost||n.join("")!==h.join("")};return g.refreshFromBuffer?g:i},onBeforeWrite:function(n,r,i,o){function a(e){void 0===e.parseMinMaxOptions&&(null!==e.min&&(e.min=e.min.toString().replace(new RegExp(t.escapeRegex(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.min=e.min.replace(e.radixPoint,".")),e.min=isFinite(e.min)?parseFloat(e.min):NaN,isNaN(e.min)&&(e.min=Number.MIN_VALUE)),null!==e.max&&(e.max=e.max.toString().replace(new RegExp(t.escapeRegex(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.max=e.max.replace(e.radixPoint,".")),e.max=isFinite(e.max)?parseFloat(e.max):NaN,isNaN(e.max)&&(e.max=Number.MAX_VALUE)),e.parseMinMaxOptions="done")}if(n)switch(n.type){case"keydown":return o.postValidation(r,i,{caret:i,dopost:!0},o);case"blur":case"checkval":var s;if(a(o),null!==o.min||null!==o.max){if(s=o.onUnMask(r.join(""),void 0,e.extend({},o,{unmaskAsNumber:!0})),null!==o.min&&s<o.min)return o.isNegative=o.min<0,o.postValidation(o.min.toString().replace(".",o.radixPoint).split(""),i,{caret:i,dopost:!0,placeholder:"0"},o);if(null!==o.max&&s>o.max)return o.isNegative=o.max<0,o.postValidation(o.max.toString().replace(".",o.radixPoint).split(""),i,{caret:i,dopost:!0,placeholder:"0"},o)}return o.postValidation(r,i,{caret:i,placeholder:"0",event:"blur"},o);case"_checkval":return{caret:i}}},regex:{integerPart:function(e,n){return n?new RegExp("["+t.escapeRegex(e.negationSymbol.front)+"+]?"):new RegExp("["+t.escapeRegex(e.negationSymbol.front)+"+]?\\d+")},integerNPart:function(e){return new RegExp("[\\d"+t.escapeRegex(e.groupSeparator)+t.escapeRegex(e.placeholder.charAt(0))+"]+")}},definitions:{"~":{validator:function(e,n,r,i,o,a){var s;if("k"===e||"m"===e){s={insert:[],c:0};for(var l=0,u="k"===e?2:5;l<u;l++)s.insert.push({pos:r+l,c:0});return s.pos=r+u,s}if(!0===(s=i?new RegExp("[0-9"+t.escapeRegex(o.groupSeparator)+"]").test(e):new RegExp("[0-9]").test(e))){if(!0!==o.numericInput&&void 0!==n.validPositions[r]&&"~"===n.validPositions[r].match.def&&!a){var c=n.buffer.join(""),d=(c=(c=c.replace(new RegExp("[-"+t.escapeRegex(o.negationSymbol.front)+"]","g"),"")).replace(new RegExp(t.escapeRegex(o.negationSymbol.back)+"$"),"")).split(o.radixPoint);d.length>1&&(d[1]=d[1].replace(/0/g,o.placeholder.charAt(0))),"0"===d[0]&&(d[0]=d[0].replace(/0/g,o.placeholder.charAt(0))),c=d[0]+o.radixPoint+d[1]||"";var h=n._buffer.join("");for(c===o.radixPoint&&(c=h);null===c.match(t.escapeRegex(h)+"$");)h=h.slice(1);s=void 0===(c=(c=c.replace(h,"")).split(""))[r]?{pos:r,remove:r}:{pos:r}}}else i||e!==o.radixPoint||void 0!==n.validPositions[r-1]||(s={insert:{pos:r,c:0},pos:r+1});return s},cardinality:1}
2,"+":{validator:function(t,e,n,r,i){return i.allowMinus&&("-"===t||t===i.negationSymbol.front)},cardinality:1,placeholder:""},"-":{validator:function(t,e,n,r,i){return i.allowMinus&&t===i.negationSymbol.back},cardinality:1,placeholder:""},":":{validator:function(e,n,r,i,o){var a="["+t.escapeRegex(o.radixPoint)+"]",s=new RegExp(a).test(e);return s&&n.validPositions[r]&&n.validPositions[r].match.placeholder===o.radixPoint&&(s={caret:r+1}),s},cardinality:1,placeholder:function(t){return t.radixPoint}}},onUnMask:function(e,n,r){if(""===n&&!0===r.nullable)return n;var i=e.replace(r.prefix,"");return i=(i=i.replace(r.suffix,"")).replace(new RegExp(t.escapeRegex(r.groupSeparator),"g"),""),""!==r.placeholder.charAt(0)&&(i=i.replace(new RegExp(r.placeholder.charAt(0),"g"),"0")),r.unmaskAsNumber?(""!==r.radixPoint&&-1!==i.indexOf(r.radixPoint)&&(i=i.replace(t.escapeRegex.call(this,r.radixPoint),".")),i=(i=i.replace(new RegExp("^"+t.escapeRegex(r.negationSymbol.front)),"-")).replace(new RegExp(t.escapeRegex(r.negationSymbol.back)+"$"),""),Number(i)):i},isComplete:function(e,n){var r=(n.numericInput?e.slice().reverse():e).join("");return r=(r=(r=(r=(r=r.replace(new RegExp("^"+t.escapeRegex(n.negationSymbol.front)),"-")).replace(new RegExp(t.escapeRegex(n.negationSymbol.back)+"$"),"")).replace(n.prefix,"")).replace(n.suffix,"")).replace(new RegExp(t.escapeRegex(n.groupSeparator)+"([0-9]{3})","g"),"$1"),","===n.radixPoint&&(r=r.replace(t.escapeRegex(n.radixPoint),".")),isFinite(r)}
2,onBeforeMask:function(e,n){n.isNegative=void 0;var i=n.radixPoint||",";"number"!=typeof e&&"number"!==n.inputType||""===i||(e=e.toString().replace(".",i));var o=e.split(i),a=o[0].replace(/[^\-0-9]/g,""),s=o.length>1?o[1].replace(/[^0-9]/g,""):"";e=a+(""!==s?i+s:s);var l=0;if(""!==i&&(l=s.length,""!==s)){var u=Math.pow(10,l||1);isFinite(n.digits)&&(l=parseInt(n.digits),u=Math.pow(10,l)),e=e.replace(t.escapeRegex(i),"."),isFinite(e)&&(e=Math.round(parseFloat(e)*u)/u),e=e.toString().replace(".",i)}return 0===n.digits&&-1!==e.indexOf(t.escapeRegex(i))&&(e=e.substring(0,e.indexOf(t.escapeRegex(i)))),r(e.toString().split(""),l,n).join("")},onKeyDown:function(n,r,i,o){var a=e(this);if(n.ctrlKey)switch(n.keyCode){case t.keyCode.UP:a.val(parseFloat(this.inputmask.unmaskedvalue())+parseInt(o.step)),a.trigger("setvalue");break;case t.keyCode.DOWN:a.val(parseFloat(this.inputmask.unmaskedvalue())-parseInt(o.step)),a.trigger("setvalue")}}},currency:{prefix:"$ ",groupSeparator:",",alias:"numeric",placeholder:"0",autoGroup:!0,digits:2,digitsOptional:!1,clearMaskOnLostFocus:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",digits:0,radixPoint:""},percentage:{alias:"numeric",digits:2,digitsOptional:!0,radixPoint:".",placeholder:"0",autoGroup:!1,min:0,max:100,suffix:" %",allowMinus:!1}}),t})?r.apply(e,i):r)||(t.exports=o)},54090:(t,e,n)=>{n(69159),n(43381),n(95469),t.exports=n(59625)},88792:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,'.vueperslide{background-size:cover;display:block;flex-shrink:0;position:relative;white-space:normal;width:100%}.vueperslide--clone-1{bottom:0;position:absolute;right:100%;top:0}.vueperslides--rtl .vueperslide--clone-1{left:100%;right:auto}.vueperslide[href]{-webkit-user-drag:none}.vueperslide__image{background-size:cover}.vueperslide__image,.vueperslide__loader{bottom:0;left:0;position:absolute;right:0;top:0}.vueperslide__loader{align-items:center;display:flex;flex-direction:column;justify-content:center}.vueperslide__content-wrapper:not(.vueperslide__content-wrapper--outside-top):not(.vueperslide__content-wrapper--outside-bottom){height:100%;margin:auto}.vueperslides--fade .vueperslide{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity ease-in-out;transition-duration:inherit}.vueperslides--fade .vueperslide--active,.vueperslides--fade .vueperslide--visible{opacity:1;z-index:1}.vueperslides--slide-image-inside .vueperslide{overflow:hidden}.vueperslides--3d .vueperslide{height:100%;position:absolute;z-index:-1}.vueperslides--3d .vueperslide--active,.vueperslides--3d .vueperslide--next-slide,.vueperslides--3d .vueperslide--previous-slide{z-index:0}.vueperslides--3d .vueperslide--active{z-index:1}.vueperslides--3d .vueperslide[face=front]{transform:rotateY(90deg) translateX(-50%) rotateY(-90deg)}.vueperslides--3d .vueperslide[face=right]{transform:rotateY(90deg) translateX(50%);transform-origin:100% 0}.vueperslides--3d .vueperslide[face=back]{transform:rotateY(270deg) translateX(-50%) rotateY(-90deg)}.vueperslides--3d .vueperslide[face=left]{transform:rotateY(270deg) translateX(-50%);transform-origin:0 0}.vueperslides:not(.no-shadow):not(.vueperslides--3d) .vueperslides__parallax-wrapper:after,.vueperslides:not(.no-shadow):not(.vueperslides--3d) .vueperslides__parallax-wrapper:before{bottom:100%;box-shadow:0 0 20px rgba(0,0,0,.25);content:"";height:2em;left:-1em;position:absolute;right:-1em;z-index:2}.vueperslides:not(.no-shadow):not(.vueperslides--3d) .vueperslides__parallax-wrapper:after{bottom:auto;top:100%}.vueperslides__arrows{color:#fff}.vueperslides__arrows--outside{color:currentColor}.vueperslides__arrow{background-color:transparent;border:none;opacity:.7;top:50%}.vueperslides--rtl .vueperslides__arrow--next,.vueperslides__arrow--prev{left:.5em;right:auto}.vueperslides--rtl .vueperslides__arrow--prev,.vueperslides__arrow--next{left:auto;right:.5em}.vueperslides__arrow:hover{opacity:1}.vueperslides--rtl .vueperslides__arrows--outside .vueperslides__arrow--next,.vueperslides__arrows--outside .vueperslides__arrow--prev{left:-3.5em;right:auto}.vueperslides--rtl .vueperslides__arrows--outside .vueperslides__arrow--prev,.vueperslides__arrows--outside .vueperslides__arrow--next{left:auto;right:-3.5em}.vueperslides__paused{opacity:0;right:.7em;text-shadow:0 0 3px rgba(0,0,0,.4);top:.7em;z-index:1}.vueperslides:hover .vueperslides__paused{opacity:1}.vueperslides__bullets:not(.vueperslides__bullets--outside){color:#fff}.vueperslides__bullet{background:none;border:none;margin:1.5em .6em;padding:0}.vueperslides__bullet .default{background-color:transparent;border:1px solid;border-radius:12px;box-shadow:0 0 1px rgba(0,0,0,.5),0 0 3px rgba(0,0,0,.3);box-sizing:border-box;height:12px;transition:.4s ease-in-out;width:12px}
2.vueperslides__bullet .default span{display:none}.vueperslides__bullet--active .default{border-width:6px}.vueperslide,.vueperslide__image{background-position:50%}.vueperslide__video{outline:none}.vueperslide--no-pointer-events:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0}.vueperslide__content-wrapper:not(.vueperslide__content-wrapper--outside-top):not(.vueperslide__content-wrapper--outside-bottom){align-items:center;display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;text-align:center}.vueperslide--has-image-inside .vueperslide__content-wrapper,.vueperslide--has-video .vueperslide__content-wrapper,.vueperslide__content-wrapper.parallax-fixed-content{align-items:center;bottom:0;display:flex;flex-direction:column;justify-content:center;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:2}.vueperslides{position:relative}.vueperslides--fixed-height .vueperslide,.vueperslides--fixed-height .vueperslides__inner,.vueperslides--fixed-height .vueperslides__parallax-wrapper{height:inherit}.vueperslides--fixed-height .vueperslides__parallax-wrapper{padding-bottom:0!important}.vueperslides--fixed-height.vueperslides--bullets-outside{margin-bottom:4em}.vueperslides__inner{position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vueperslides__parallax-wrapper{overflow:hidden;position:relative}.vueperslides--3d .vueperslides__parallax-wrapper{overflow:visible}.vueperslides__track{height:100%;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:1}.vueperslides--parallax .vueperslides__track{height:200%;transform:translateY(0)}.vueperslides--touchable .vueperslides__track{cursor:ew-resize;cursor:grab}.vueperslides--touchable .vueperslides__track--dragging,.vueperslides--touchable .vueperslides__track--mousedown{cursor:grabbing}.vueperslides--3d .vueperslides__track{overflow:visible;perspective:100em}.vueperslides__track-inner{display:flex;height:100%;transition:transform .5s ease-in-out;white-space:nowrap}.vueperslides--no-animation .vueperslides__track-inner{transition-duration:0s!important}.vueperslides--fade .vueperslides__track-inner{transition:none;white-space:normal}.vueperslides--3d .vueperslides__track-inner{transform-style:preserve-3d}.vueperslides__track--mousedown .vueperslides__track-inner{transition:transform .25s ease-in-out!important}.vueperslides__track--dragging .vueperslides__track-inner{transition:none}.vueperslides__arrow{color:inherit;cursor:pointer;font-size:inherit;line-height:1;outline:none;position:absolute;text-align:center;transform:translateY(-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:2}.vueperslides__arrow,.vueperslides__arrow svg{transition:.3s ease-in-out}.vueperslides__arrow svg{stroke:currentColor;fill:none;stroke-width:1;box-sizing:border-box;padding:1em;vertical-align:middle;width:3.5em}.vueperslides__arrow svg:hover{stroke-width:1.3}.vueperslides__paused{position:absolute;transition:.3s ease-in-out}.vueperslides__bullets{bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0}.vueperslides__bullets--outside{position:relative}.vueperslides__bullet,.vueperslides__bullets button{align-items:center;color:inherit;cursor:pointer;display:flex;justify-content:center;outline:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:2}.vueperslides__bullet::-moz-focus-inner,.vueperslides__bullets button::-moz-focus-inner{border:0}.vueperslides__fractions{background:hsla(0,0%,100%,.2);border:1px solid hsla(0,0%,100%,.5);border-radius:2em;color:#fff;left:.5em;padding:.2em 1em;position:absolute;top:.8em;z-index:2}.vueperslides__progress{color:rgba(0,0,0,.7);height:6px;left:0;position:absolute;right:0;top:0;z-index:2}.vueperslides__progress>*{background:currentColor;bottom:0;left:0;position:absolute;top:0;transition:.3s ease-in-out}',""]);const o=i},11546:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"",""]);const o=i},66977:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".options[data-v-0ec1d8e0]{background-color:#fff;border:1px solid #ccc;border-radius:0 0 4px 4px;border-top:none;left:0;max-height:150px;overflow-y:auto;position:absolute;top:100%;width:100%}.option[data-v-0ec1d8e0]{cursor:pointer;padding:10px}.option[data-v-0ec1d8e0]:hover{background-color:#888}",""]);const o=i},70506:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"",""]);const o=i},21089:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,'li{list-style-type:disc}label{display:flex}.custom-checkbox-input{display:none}.custom-checkbox-label{cursor:pointer;display:inline-block}.custom-checkbox-label:hover{--tw-text-opacity:1;color:rgb(197 154 85/var(--tw-text-opacity))}.custom-checkbox-label:before{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(197 154 85/var(--tw-border-opacity));border-width:2px;box-sizing:border-box;color:transparent;content:"";display:inline-block;font-size:1.25rem;font-weight:700;height:1.25rem;line-height:1.75rem;line-height:1.1;text-align:center;vertical-align:bottom;width:1.25rem}.custom-checkbox-input:checked+.custom-checkbox-label{color:#C59A5}.custom-checkbox-input:checked+.custom-checkbox-label:before{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(197 154 85/var(--tw-text-opacity));content:"\\2713"}.custom-checkbox-label:hover:before{background-color:rgba(197,154,85,.05);border-color:rgba(197,154,85,.7)}',""]);const o=i},90458:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".h4[data-v-8b05bf36],.h5[data-v-8b05bf36],.h6[data-v-8b05bf36],h4[data-v-8b05bf36],h5[data-v-8b05bf36],h6[data-v-8b05bf36]{margin:0;padding:0}.tw-line-clamp-3[data-v-8b05bf36]{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.fade-enter-active[data-v-8b05bf36],.fade-leave-active[data-v-8b05bf36]{transition:opacity .3s ease}.fade-enter[data-v-8b05bf36],.fade-leave-to[data-v-8b05bf36]{opacity:0}
2.fade-scale-enter-active[data-v-8b05bf36],.fade-scale-leave-active[data-v-8b05bf36]{transition:all .3s ease}.fade-scale-enter[data-v-8b05bf36],.fade-scale-leave-to[data-v-8b05bf36]{opacity:0;transform:scale(.95)}.slide-down-enter-active[data-v-8b05bf36],.slide-down-leave-active[data-v-8b05bf36]{transition:all .3s ease}.slide-down-enter[data-v-8b05bf36],.slide-down-leave-to[data-v-8b05bf36]{opacity:0;transform:translateY(-10px)}@keyframes fadeIn-8b05bf36{0%{opacity:0}to{opacity:1}}@keyframes fadeInUp-8b05bf36{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.tw-animate-fade-in[data-v-8b05bf36]{animation:fadeIn-8b05bf36 .5s ease-out}.tw-animate-fade-in-up[data-v-8b05bf36]{animation:fadeInUp-8b05bf36 .5s ease-out;animation-fill-mode:both}[data-v-8b05bf36]::-webkit-scrollbar{width:8px}[data-v-8b05bf36]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}[data-v-8b05bf36]::-webkit-scrollbar-thumb{background:#888;border-radius:8px}[data-v-8b05bf36]::-webkit-scrollbar-thumb:hover{background:#555}html[data-v-8b05bf36]{scroll-behavior:smooth}@keyframes spin-8b05bf36{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.tw-border-3[data-v-8b05bf36]{border-width:3px}.tw-ring-4[data-v-8b05bf36]{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-sha
2dow,0 0 #0000)}.tw-h-1\\.5[data-v-8b05bf36]{height:.375rem}",""]);const o=i},86636:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".loading-grey[data-v-ddadacc2]:after{border-color:#dae1e7 #dae1e7 #8795a1 #8795a1;border-style:solid;border-width:4px;font-size:2rem}",""]);const o=i},42353:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,'.custom-checkbox-input[data-v-5343f630]{display:none}.custom-checkbox-label[data-v-5343f630]{cursor:pointer;display:inline-block}.custom-checkbox-label[data-v-5343f630]:hover{--tw-text-opacity:1;color:rgb(197 154 85/var(--tw-text-opacity))}.custom-checkbox-label[data-v-5343f630]:before{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(197 154 85/var(--tw-border-opacity));border-width:2px;box-sizing:border-box;color:transparent;content:"";display:inline-block;font-size:1.25rem;font-weight:700;height:1.25rem;line-height:1.75rem;line-height:1.1;text-align:center;vertical-align:bottom;width:1.25rem}.custom-checkbox-input:checked+.custom-checkbox-label[data-v-5343f630]{color:#C59A5}.custom-checkbox-input:checked+.custom-checkbox-label[data-v-5343f630]:before{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(197 154 85/var(--tw-text-opacity));content:"\\2713"}.custom-checkbox-label[data-v-5343f630]:hover:before{background-color:rgba(197,154,85,.05);border-color:rgba(197,154,85,.7)}',""]);const o=i},855:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".question-step__header[data-v-5139ba17]{align-items:center;background-image:url(/assets/img/enrollment-bg-01.png);background-position:top;background-repeat:no-repeat;background-size:cover;display:flex;flex-direction:column;gap:1rem;height:300px;margin-top:-1.25rem}.question-step__title[data-v-5139ba17]{color:#fff;font-size:2.25rem;font-weight:500;line-height:1;margin-top:-4rem;padding-top:10rem;text-align:center;white-space:normal;width:100%;word-break:break-word}@media (min-width:768px){.question-step__title[data-v-5139ba17]{font-size:2.25rem}.question-step__header[data-v-5139ba17]{margin-top:-3rem;padding-left:11rem;padding-right:11rem}}@media (min-width:1024px){.question-step__title[data-v-5139ba17]{text-align:left;width:80%}}.question-step__content[data-v-5139ba17]{margin-top:-5rem;width:100%}@media (min-width:768px){.question-step__content[data-v-5139ba17]{margin:-5rem auto auto;width:80%}}@media (min-width:1280px){.question-step__content[data-v-5139ba17]{margin:-5rem auto auto;width:60%}}",""]);const o=i},92386:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".loading:after{border-color:#dae1e7 #dae1e7 #606f7b #606f7b!important;border-right-color:transparent;border-top-color:transparent}.vueperslides__parallax-wrapper{padding-bottom:66.66%!important}.vueperslides__arrow{color:#e2e8f0}.vueperslide__content-wrapper{padding:50px}.vueperslide{background-repeat:no-repeat!important;background-size:contain!important}.vueperslide__content{overflow:auto}.vueperslides__bullet--active .default{background:#1b4568;border-radius:50%;border-width:1px}",""]);const o=i},8595:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"img[data-v-cbd59c50],video[data-v-cbd59c50]{transform:rotateY(180deg)}.loading-grey[data-v-cbd59c50]:after{border-color:#dae1e7 #dae1e7 #8795a1 #8795a1;border-style:solid;border-width:4px;font-size:2rem}",""]);const o=i},94114:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".rotateImage[data-v-38ba287c]{transform:scaleX(-1)}",""]);const o=i},84563:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".v-enter-active[data-v-e3f0a752],.v-leave-active[data-v-e3f0a752]{transition:opacity .2s ease}.v-enter-from[data-v-e3f0a752],.v-leave-to[data-v-e3f0a752]{opacity:0}
2",""]);const o=i},54225:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".account-dashboard-page [data-account-header] .multi-step-question,.account-dashboard-page [data-account-shell] .multi-step-question{font-weight:700}.multi-step-question{--tw-text-opacity:1;color:rgb(26 32 44/var(--tw-text-opacity));font-size:1.5rem;font-weight:600;line-height:2rem;margin-bottom:1.5rem;margin-top:1.5rem}.multi-step-progress-bar{height:6px;transition:all .5s}.multi-step-btn:focus{--tw-border-opacity:1!important;--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important;border-bottom-width:1px!important;border-color:rgb(0 0 0/var(--tw-border-opacity))!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.loading-grey:after{border-color:#dae1e7 #dae1e7 #8795a1 #8795a1;border-radius:9999px;border-style:solid;border-width:4px;font-size:2rem}.loading:after{border-color:#dae1e7 #dae1e7 #606f7b #606f7b!important;border-radius:9999px;border-right-color:transparent;border-top-color:transparent}",""]);const o=i},93423:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".img-face[data-v-3eac0d8b],video[data-v-3eac0d8b]{transform:rotateY(180deg)}.loading-grey[data-v-3eac0d8b]:after{border-color:#dae1e7 #dae1e7 #8795a1 #8795a1;border-style:solid;border-width:4px;font-size:2rem}",""]);const o=i},36558:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,'input[type=radio][data-v-0b7e1172]{appearance:none;-webkit-appearance:none;-moz-appearance:none;border-radius:50%;position:relative}input[type=radio][data-v-0b7e1172]:checked{background-color:#f97316;border-color:#f97316}input[type=radio][data-v-0b7e1172]:checked:before{background-color:#fff;border-radius:50%;content:"";height:8px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:8px}',""]);const o=i},12471:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".fade-enter-active[data-v-06b742d2],.fade-leave-active[data-v-06b742d2]{transition:opacity .2s ease}.fade-enter[data-v-06b742d2],.fade-leave-to[data-v-06b742d2]{opacity:0}",""]);const o=i},61245:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".video-player[data-v-4048b9bc]{overflow:hidden;padding-bottom:2.25%;position:relative;width:100%}video[data-v-4048b9bc]{left:0;-o-object-fit:cover;object-fit:cover;position:absolute;top:0;width:100%}",""]);const o=i},14179:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"@keyframes red-glow-09b3567d{0%{background-color:#ffe6e6}25%{background-color:#ff7878}50%{background-color:#900}75%{background-color:#ff7878}to{background-color:#ffe6e6}}.red-glow[data-v-09b3567d]{animation:red-glow-09b3567d 2s infinite;-webkit-background-clip:text;background-clip:text;color:transparent}",""]);const o=i},98880:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".modal-backdrop{background-color:rgba(0,0,0,.75)!important}.swal2-checkbox>input{display:contents}",""]);const o=i},11555:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(1519),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,'fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{background:#fff;display:block;height:38px;position:absolute;right:1px;top:1px;width:40px}.multiselect__spinner:after,.multiselect__spinner:before{border:2px solid transparent;border-radius:100%;border-top-color:#41b883;box-shadow:0 0 0 1px transparent;content:"";height:16px;left:50%;margin:-8px 0 0 -8px;position:absolute;top:50%;width:16px}.multiselect__spinner:before{animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation-iteration-count:infinite}.multiselect__spinner:after{animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{opacity:1;transition:opacity .4s ease-in-out}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}
2.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:16px;touch-action:manipulation}.multiselect{box-sizing:content-box;color:#35495e;display:block;min-height:40px;position:relative;text-align:left;width:100%}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{background:#ededed;opacity:.6;pointer-events:none}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{background:#fff;border:none;border-radius:5px;box-sizing:border-box;display:inline-block;line-height:20px;margin-bottom:8px;min-height:20px;padding:0 0 0 5px;position:relative;transition:border .1s ease;vertical-align:top;width:100%}.multiselect__input::-moz-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{margin-bottom:8px;padding-left:5px}.multiselect__tags-wrap{display:inline}.multiselect__tags{background:#fff;border:1px solid #e8e8e8;border-radius:5px;display:block;font-size:14px;min-height:40px;padding:8px 40px 0 8px}.multiselect__tag{background:#41b883;border-radius:5px;color:#fff;display:inline-block;line-height:1;margin-bottom:5px;margin-right:10px;max-width:100%;overflow:hidden;padding:4px 26px 4px 10px;position:relative;text-overflow:ellipsis;white-space:nowrap}.multiselect__tag-icon{border-radius:5px;bottom:0;cursor:pointer;font-style:normal;font-weight:700;line-height:22px;margin-left:7px;position:absolute;right:0;text-align:center;top:0;transition:all .2s ease;width:22px}.multiselect__tag-icon:after{color:#266d4d;content:"\\D7";font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{border:1px solid #e8e8e8;border-radius:5px;min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap}.multiselect__current,.multiselect__select{box-sizing:border-box;cursor:pointer;display:block;line-height:16px;margin:0;text-decoration:none}.multiselect__select{height:38px;padding:4px 8px;position:absolute;right:1px;text-align:center;top:1px;transition:transform .2s ease;width:40px}.multiselect__select:before{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;color:#999;content:"";margin-top:4px;position:relative;right:0;top:65%}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e8e8e8;border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-top:none;display:block;max-height:240px;overflow:auto;position:absolute;width:100%;z-index:50}.multiselect__content{display:inline-block;list-style:none;margin:0;min-width:100%;padding:0;vertical-align:top}.multiselect--above .multiselect__content-wrapper{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top:1px solid #e8e8e8;border-top-left-radius:5px;border-top-right-radius:5px;bottom:100%}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}.multiselect__option{cursor:pointer;display:block;line-height:16px;min-height:40px;padding:12px;position:relative;text-decoration:none;text-transform:none;vertical-align:middle;white-space:nowrap}.multiselect__option:after{font-size:13px;line-height:40px;padding-left:20px;padding-right:12px;position:absolute;right:0;top:0}.multiselect__option--highlight{background:#41b883;color:#fff;outline:none}.multiselect__option--highlight:after{background:#41b883;color:#fff;content:attr(data-select)}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{background:inherit;color:silver;content:attr(data-selected)}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;color:#fff;content:attr(data-deselect)}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;color:#fff;content:attr(data-deselect)}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}
2.multiselect__strong{display:inline-block;line-height:20px;margin-bottom:8px;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{left:1px;right:auto}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{left:0;right:auto}[dir=rtl] .multiselect__clear{left:12px;right:auto}[dir=rtl] .multiselect__spinner{left:1px;right:auto}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}',""]);const o=i},18552:(t,e,n)=>{var r=n(10852)(n(55639),"DataView");t.exports=r},1989:(t,e,n)=>{var r=n(51789),i=n(80401),o=n(57667),a=n(21327),s=n(81866);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},38407:(t,e,n)=>{var r=n(27040),i=n(14125),o=n(82117),a=n(67518),s=n(54705);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},57071:(t,e,n)=>{var r=n(10852)(n(55639),"Map");t.exports=r},83369:(t,e,n)=>{var r=n(24785),i=n(11285),o=n(96e3),a=n(49916),s=n(95265);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,t.exports=l},53818:(t,e,n)=>{var r=n(10852)(n(55639),"Promise");t.exports=r},58525:(t,e,n)=>{var r=n(10852)(n(55639),"Set");t.exports=r},88668:(t,e,n)=>{var r=n(83369),i=n(90619),o=n(72385);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},46384:(t,e,n)=>{var r=n(38407),i=n(37465),o=n(63779),a=n(67599),s=n(44758),l=n(34309);function u(t){var e=this.__data__=new r(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,t.exports=u},62705:(t,e,n)=>{var r=n(55639).Symbol;t.exports=r},11149:(t,e,n)=>{var r=n(55639).Uint8Array;t.exports=r},70577:(t,e,n)=>{var r=n(10852)(n(55639),"WeakMap");t.exports=r},34963:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},14636:(t,e,n)=>{var r=n(22545),i=n(35694),o=n(1469),a=n(44144),s=n(65776),l=n(36719),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),c=!n&&i(t),d=!n&&!c&&a(t),h=!n&&!c&&!d&&l(t),f=n||c||d||h,p=f?r(t.length,String):[],w=p.length;for(var m in t)!e&&!u.call(t,m)||f&&("length"==m||d&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,w))||p.push(m);return p}},29932:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},62488:t=>{t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},82908:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},34865:(t,e,n)=>{var r=n(89465),i=n(77813),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},18470:(t,e,n)=>{var r=n(77813);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},89465:(t,e,n)=>{var r=n(38777);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},41848:t=>{t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},97786:(t,e,n)=>{var r=n(71811),i=n(40327);t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},68866:(t,e,n)=>{var r=n(62488),i=n(1469);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},44239:(t,e,n)=>{var r=n(62705),i=n(89607),o=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},13:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},9454:(t,e,n)=>{var r=n(44239),i=n(37005);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},90939:(t,e,n)=>{var r=n(2492),i=n(37005);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},2492:(t,e,n)=>{var r=n(46384),i=n(67114),o=n(18351),a=n(16096),s=n(64160),l=n(1469),u=n(44144),c=n(36719),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,w,m,v){var g=l(t),y=l(e),b=g?h:s(t),_=y?h:s(e),x=(b=b==d?f:b)==f,k=(_=_==d?f:_)==f,C=b==_;if(C&&u(t)){if(!u(e))return!1;g=!0,x=!1}if(C&&!x)return v||(v=new r),g||c(t)?i(t,e,n,w,m,v):o(t,e,b,n,w,m,v);if(!(1&n)){var S=x&&p.call(t,"__wrapped__"),P=k&&p.call(e,"__wrapped__");
vendor: 5,803 bytes, line 2
2if(S||P){var A=S?t.value():t,O=P?e.value():e;return v||(v=new r),m(A,O,n,w,v)}}return!!C&&(v||(v=new r),a(t,e,n,w,m,v))}},2958:(t,e,n)=>{var r=n(46384),i=n(90939);t.exports=function(t,e,n,o){var a=n.length,s=a,l=!o;if(null==t)return!s;for(t=Object(t);a--;){var u=n[a];if(l&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var c=(u=n[a])[0],d=t[c],h=u[1];if(l&&u[2]){if(void 0===d&&!(c in t))return!1}else{var f=new r;if(o)var p=o(d,h,c,t,e,f);if(!(void 0===p?i(h,d,3,o,f):p))return!1}}return!0}},28458:(t,e,n)=>{var r=n(23560),i=n(15346),o=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,h=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?h:s).test(a(t))}},38749:(t,e,n)=>{var r=n(44239),i=n(41780),o=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},67206:(t,e,n)=>{var r=n(91573),i=n(16432),o=n(6557),a=n(1469),s=n(39601);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):s(t)}},280:(t,e,n)=>{var r=n(25726),i=n(86916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},91573:(t,e,n)=>{var r=n(2958),i=n(1499),o=n(42634);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},16432:(t,e,n)=>{var r=n(90939),i=n(27361),o=n(79095),a=n(15403),s=n(89162),l=n(42634),u=n(40327);t.exports=function(t,e){return a(t)&&s(e)?l(u(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,3)}}},40371:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},79152:(t,e,n)=>{var r=n(97786);t.exports=function(t){return function(e){return r(e,t)}}},10611:(t,e,n)=>{var r=n(34865),i=n(71811),o=n(65776),a=n(13218),s=n(40327);t.exports=function(t,e,n,l){if(!a(t))return t;for(var u=-1,c=(e=i(e,t)).length,d=c-1,h=t;null!=h&&++u<c;){var f=s(e[u]),p=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return t;if(u!=d){var w=h[f];void 0===(p=l?l(w,f,h):void 0)&&(p=a(w)?w:o(e[u+1])?[]:{})}r(h,f,p),h=h[f]}return t}},22545:t=>{t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},80531:(t,e,n)=>{var r=n(62705),i=n(29932),o=n(1469),a=n(33448),s=r?r.prototype:void 0,l=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},27561:(t,e,n)=>{var r=n(67990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},7518:t=>{t.exports=function(t){return function(e){return t(e)}}},74757:t=>{t.exports=function(t,e){return t.has(e)}},71811:(t,e,n)=>{var r=n(1469),i=n(15403),o=n(55514),a=n(79833);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},14429:(t,e,n)=>{var r=n(55639)["__core-js_shared__"];t.exports=r},67740:(t,e,n)=>{var r=n(67206),i=n(98612),o=n(3674);t.exports=function(t){return function(e,n,a){var s=Object(e);if(!i(e)){var l=r(n,3);e=o(e),n=function(t){return l(s[t],t,s)}}var u=t(e,n,a);return u>-1?s[l?e[u]:u]:void 0}}},38777:(t,e,n)=>{var r=n(10852),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},67114:(t,e,n)=>{var r=n(88668),i=n(82908),o=n(74757);t.exports=function(t,e,n,a,s,l){var u=1&n,c=t.length,d=e.length;if(c!=d&&!(u&&d>c))return!1;var h=l.get(t),f=l.get(e);if(h&&f)return h==e&&f==t;var p=-1,w=!0,m=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++p<c;){var v=t[p],g=e[p];if(a)var y=u?a(g,v,p,e,t,l):a(v,g,p,t,e,l);if(void 0!==y){if(y)continue;w=!1;break}if(m){if(!i(e,(function(t,e){if(!o(m,e)&&(v===t||s(v,t,n,a,l)))return m.push(e)}))){w=!1;break}}else if(v!==g&&!s(v,g,n,a,l)){w=!1;break}}return l.delete(t),l.delete(e),w}},18351:(t,e,n)=>{var r=n(62705),i=n(11149),o=n(77813),a=n(67114),s=n(68776),l=n(21814),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;t.exports=function(t,e,n,r,u,d,h){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=s;case"[object Set]":var p=1&r;if(f||(f=l),t.size!=e.size&&!p)return!1;var w=h.get(t);if(w)return w==e;r|=2,h.set(t,e);var m=a(f(t),f(e),r,u,d,h);return h.delete(t),m;case"[object Symbol]":if(c)return c.call(t)==c.call(e)}return!1}},16096:(t,e,n)=>{var r=n(58234),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var l=1&n,u=r(t),c=u.length;if(c!=r(e).length&&!l)return!1;for(var d=c;d--;){var h=u[d];if(!(l?h in e:i.call(e,h)))return!1}var f=s.get(t),p=s.get(e);if(f&&p)return f==e&&p==t;var w=!0;s.set(t,e),s.set(e,t);for(var m=l;++d<c;){var v=t[h=u[d]],g=e[h];if(o)var y=l?o(g,v,h,e,t,s):o(v,g,h,t,e,s);if(!(void 0===y?v===g||a(v,g,n,o,s):y)){w=!1;break}
vendor: 6,398 bytes, line 2
2m||(m="constructor"==h)}if(w&&!m){var b=t.constructor,_=e.constructor;b==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(w=!1)}return s.delete(t),s.delete(e),w}},31957:(t,e,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},58234:(t,e,n)=>{var r=n(68866),i=n(99551),o=n(3674);t.exports=function(t){return r(t,o,i)}},45050:(t,e,n)=>{var r=n(37019);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},1499:(t,e,n)=>{var r=n(89162),i=n(3674);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},10852:(t,e,n)=>{var r=n(28458),i=n(47801);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},89607:(t,e,n)=>{var r=n(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},99551:(t,e,n)=>{var r=n(34963),i=n(70479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},64160:(t,e,n)=>{var r=n(18552),i=n(57071),o=n(53818),a=n(58525),s=n(70577),l=n(44239),u=n(80346),c="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",w=u(r),m=u(i),v=u(o),g=u(a),y=u(s),b=l;(r&&b(new r(new ArrayBuffer(1)))!=p||i&&b(new i)!=c||o&&b(o.resolve())!=d||a&&b(new a)!=h||s&&b(new s)!=f)&&(b=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,r=n?u(n):"";if(r)switch(r){case w:return p;case m:return c;case v:return d;case g:return h;case y:return f}return e}),t.exports=b},47801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},222:(t,e,n)=>{var r=n(71811),i=n(35694),o=n(1469),a=n(65776),s=n(41780),l=n(40327);t.exports=function(t,e,n){for(var u=-1,c=(e=r(e,t)).length,d=!1;++u<c;){var h=l(e[u]);if(!(d=null!=t&&n(t,h)))break;t=t[h]}return d||++u!=c?d:!!(c=null==t?0:t.length)&&s(c)&&a(h,c)&&(o(t)||i(t))}},51789:(t,e,n)=>{var r=n(94536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},57667:(t,e,n)=>{var r=n(94536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},21327:(t,e,n)=>{var r=n(94536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},81866:(t,e,n)=>{var r=n(94536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},65776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},15403:(t,e,n)=>{var r=n(1469),i=n(33448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},37019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},15346:(t,e,n)=>{var r,i=n(14429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},25726:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},89162:(t,e,n)=>{var r=n(13218);t.exports=function(t){return t==t&&!r(t)}},27040:t=>{t.exports=function(){this.__data__=[],this.size=0}},14125:(t,e,n)=>{var r=n(18470),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)}},82117:(t,e,n)=>{var r=n(18470);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},67518:(t,e,n)=>{var r=n(18470);t.exports=function(t){return r(this.__data__,t)>-1}},54705:(t,e,n)=>{var r=n(18470);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},24785:(t,e,n)=>{var r=n(1989),i=n(38407),o=n(57071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},11285:(t,e,n)=>{var r=n(45050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},96e3:(t,e,n)=>{var r=n(45050);t.exports=function(t){return r(this,t).get(t)}},49916:(t,e,n)=>{var r=n(45050);t.exports=function(t){return r(this,t).has(t)}},95265:(t,e,n)=>{var r=n(45050);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},68776:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},42634:t=>{t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},24523:(t,e,n)=>{var r=n(88306);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},94536:(t,e,n)=>{var r=n(10852)(Object,"create");t.exports=r},86916:(t,e,n)=>{var r=n(5569)(Object.keys,Object);t.exports=r},31167:(t,e,n)=>{t=n.nmd(t);var r=n(31957),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},55639:(t,e,n)=>{var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},90619:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},72385:t=>{t.exports=function(t){return this.__data__.has(t)}},21814:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},37465:(t,e,n)=>{var r=n(38407);t.exports=function(){this.__data__=new r,this.size=0}},63779:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},67599:t=>{t.exports=function(t){return this.__data__.get(t)}}
vendor: 4,584 bytes, line 2
2,44758:t=>{t.exports=function(t){return this.__data__.has(t)}},34309:(t,e,n)=>{var r=n(38407),i=n(57071),o=n(83369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},55514:(t,e,n)=>{var r=n(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)})),e}));t.exports=a},40327:(t,e,n)=>{var r=n(33448);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},80346:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},67990:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},23279:(t,e,n)=>{var r=n(13218),i=n(7771),o=n(14841),a=Math.max,s=Math.min;t.exports=function(t,e,n){var l,u,c,d,h,f,p=0,w=!1,m=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var n=l,r=u;return l=u=void 0,p=e,d=t.apply(r,n)}function y(t){var n=t-f;return void 0===f||n>=e||n<0||m&&t-p>=c}function b(){var t=i();if(y(t))return _(t);h=setTimeout(b,function(t){var n=e-(t-f);return m?s(n,c-(t-p)):n}(t))}function _(t){return h=void 0,v&&l?g(t):(l=u=void 0,d)}function x(){var t=i(),n=y(t);if(l=arguments,u=this,f=t,n){if(void 0===h)return function(t){return p=t,h=setTimeout(b,e),w?g(t):d}(f);if(m)return clearTimeout(h),h=setTimeout(b,e),g(f)}return void 0===h&&(h=setTimeout(b,e)),d}return e=o(e)||0,r(n)&&(w=!!n.leading,c=(m="maxWait"in n)?a(o(n.maxWait)||0,e):c,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==h&&clearTimeout(h),p=0,l=f=u=h=void 0},x.flush=function(){return void 0===h?d:_(i())},x}},77813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},13311:(t,e,n)=>{var r=n(67740)(n(30998));t.exports=r},30998:(t,e,n)=>{var r=n(41848),i=n(67206),o=n(40554),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var l=null==n?0:o(n);return l<0&&(l=a(s+l,0)),r(t,i(e,3),l)}},27361:(t,e,n)=>{var r=n(97786);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},79095:(t,e,n)=>{var r=n(13),i=n(222);t.exports=function(t,e){return null!=t&&i(t,e,r)}},6557:t=>{t.exports=function(t){return t}},35694:(t,e,n)=>{var r=n(9454),i=n(37005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=l},1469:t=>{var e=Array.isArray;t.exports=e},98612:(t,e,n)=>{var r=n(23560),i=n(41780);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},44144:(t,e,n)=>{t=n.nmd(t);var r=n(55639),i=n(95062),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;t.exports=l},23560:(t,e,n)=>{var r=n(44239),i=n(13218);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},41780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},13218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},37005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},33448:(t,e,n)=>{var r=n(44239),i=n(37005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},36719:(t,e,n)=>{var r=n(38749),i=n(7518),o=n(31167),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},3674:(t,e,n)=>{var r=n(14636),i=n(280),o=n(98612);t.exports=function(t){return o(t)?r(t):i(t)}},96486:function(t,e,n){var r;t=n.nmd(t),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,d=128,h=256,f=1/0,p=9007199254740991,w=NaN,m=4294967295,v=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",h]],g="[object Arguments]",y="[object Array]",b="[object Boolean]",_="[object Date]",x="[object Error]",k="[object Function]",C="[object GeneratorFunction]",S="[object Map]",P="[object Number]",A="[object Object]",O="[object Promise]",T="[object RegExp]",E="[object Set]",I="[object String]",N="[object Symbol]",M="[object WeakMap]",R="[object ArrayBuffer]",D="[object DataView]",j="[object Float32Array]",B="[object Float64Array
vendor: 8,815 bytes, line 2
2]",L="[object Int8Array]",F="[object Int16Array]",q="[object Int32Array]",Q="[object Uint8Array]",U="[object Uint8ClampedArray]",V="[object Uint16Array]",H="[object Uint32Array]",G=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,Y=RegExp($.source),Z=RegExp(K.source),J=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nt=/^\w*$/,rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,it=/[\\^$.*+?()[\]{}|]/g,ot=RegExp(it.source),at=/^\s+/,st=/\s/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ut=/\{\n\/\* \[wrapped with (.+)\] \*/,ct=/,? & /,dt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ht=/[()=,{}\[\]\/\s]/,ft=/\\(\\)?/g,pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,wt=/\w*$/,mt=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,gt=/^\[object .+?Constructor\]$/,yt=/^0o[0-7]+$/i,bt=/^(?:0|[1-9]\d*)$/,_t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xt=/($^)/,kt=/['\n\r\u2028\u2029\\]/g,Ct="\\ud800-\\udfff",St="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Pt="\\u2700-\\u27bf",At="a-z\\xdf-\\xf6\\xf8-\\xff",Ot="A-Z\\xc0-\\xd6\\xd8-\\xde",Tt="\\ufe0e\\ufe0f",Et="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",It="['’]",Nt="["+Ct+"]",Mt="["+Et+"]",Rt="["+St+"]",Dt="\\d+",jt="["+Pt+"]",Bt="["+At+"]",Lt="[^"+Ct+Et+Dt+Pt+At+Ot+"]",Ft="\\ud83c[\\udffb-\\udfff]",qt="[^"+Ct+"]",Qt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ut="[\\ud800-\\udbff][\\udc00-\\udfff]",Vt="["+Ot+"]",Ht="\\u200d",Gt="(?:"+Bt+"|"+Lt+")",zt="(?:"+Vt+"|"+Lt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",$t="(?:['’](?:D|LL|M|RE|S|T|VE))?",Kt="(?:"+Rt+"|"+Ft+")"+"?",Yt="["+Tt+"]?",Zt=Yt+Kt+("(?:"+Ht+"(?:"+[qt,Qt,Ut].join("|")+")"+Yt+Kt+")*"),Jt="(?:"+[jt,Qt,Ut].join("|")+")"+Zt,Xt="(?:"+[qt+Rt+"?",Rt,Qt,Ut,Nt].join("|")+")",te=RegExp(It,"g"),ee=RegExp(Rt,"g"),ne=RegExp(Ft+"(?="+Ft+")|"+Xt+Zt,"g"),re=RegExp([Vt+"?"+Bt+"+"+Wt+"(?="+[Mt,Vt,"$"].join("|")+")",zt+"+"+$t+"(?="+[Mt,Vt+Gt,"$"].join("|")+")",Vt+"?"+Gt+"+"+Wt,Vt+"+"+$t,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt,Jt].join("|"),"g"),ie=RegExp("["+Ht+Ct+St+Tt+"]"),oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ae=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],se=-1,le={};le[j]=le[B]=le[L]=le[F]=le[q]=le[Q]=le[U]=le[V]=le[H]=!0,le[g]=le[y]=le[R]=le[b]=le[D]=le[_]=le[x]=le[k]=le[S]=le[P]=le[A]=le[T]=le[E]=le[I]=le[M]=!1;var ue={};ue[g]=ue[y]=ue[R]=ue[D]=ue[b]=ue[_]=ue[j]=ue[B]=ue[L]=ue[F]=ue[q]=ue[S]=ue[P]=ue[A]=ue[T]=ue[E]=ue[I]=ue[N]=ue[Q]=ue[U]=ue[V]=ue[H]=!0,ue[x]=ue[k]=ue[M]=!1;var ce={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},de=parseFloat,he=parseInt,fe="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pe="object"==typeof self&&self&&self.Object===Object&&self,we=fe||pe||Function("return this")(),me=e&&!e.nodeType&&e,ve=me&&t&&!t.nodeType&&t,ge=ve&&ve.exports===me,ye=ge&&fe.process,be=function(){try{var t=ve&&ve.require&&ve.require("util").types;return t||ye&&ye.binding&&ye.binding("util")}catch(t){}}(),_e=be&&be.isArrayBuffer,xe=be&&be.isDate,ke=be&&be.isMap,Ce=be&&be.isRegExp,Se=be&&be.isSet,Pe=be&&be.isTypedArray;function Ae(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Oe(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function Te(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ee(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ie(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ne(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Me(t,e){return!!(null==t?0:t.length)&&Ve(t,e,0)>-1}function Re(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function De(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function je(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Be(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Le(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function Fe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var qe=We("length");function Qe(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function Ue(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Ve(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):Ue(t,Ge,n)}function He(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Ge(t){return t!=t}function ze(t,e){var n=null==t?0:t.length;return n?Ye(t,e)/n:w}function We(t){return function(e){return null==e?i:e[t]}}function $e(t){return function(e){return null==t?i:t[e]}}function Ke(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Ye(t,e){for(var n,r=-1,o=t.length;++r<o;){var a=e(t[r]);a!==i&&(n=n===i?a:n+a)}return n}function Ze(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Je(t){return t?t.slice(0,mn(t)+1).replace(at,""):t}function Xe(t){return function(e){return t(e)}}function tn(t,e){return De(e,(function(e){return t[e]}))}function en(t,e){return t.has(e)}function nn(t,e){for(var n=-1,r=t.length;++n<r&&Ve(e,t[n],0)>-1;);return n}function rn(t,e){for(var n=t.length;n--&&Ve(e,t[n],0)>-1;);return n}var on=$e({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),an=$e({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function sn(t){return"\\"+ce[t]}function ln(t){return ie.test(t)}function un(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function cn(t,e){return function(n){return t(e(n))}}function dn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==s||(t[n]=s,o[i++]=n)}return o}function hn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function fn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function pn(t){return ln(t)?function(t){var e=ne.lastIndex=0;for(;ne.test(t);)++e;return e}(t):qe(t)}function wn(t){return ln(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.split("")}(t)}function mn(t){for(var e=t.length;e--&&st.test(t.charAt(e)););return e}var vn=$e({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var gn=function t(e){var n,r=(e=null==e?we:gn.defaults(we.Object(),e,gn.pick(we,ae))).Array,st=e.Date,Ct=e.Error,St=e.Function,Pt=e.Math,At=e.Object,Ot=e.RegExp,Tt=e.String,Et=e.TypeError,It=r.prototype,Nt=St.prototype,Mt=At.prototype,Rt=e["__core-js_shared__"],Dt=Nt.toString,jt=Mt.hasOwnProperty,Bt=0,Lt=(n=/[^.]+$/.exec(Rt&&Rt.keys&&Rt.keys.IE_PROTO||""))?"Symbol(sr
2c)_1."+n:"",Ft=Mt.toString,qt=Dt.call(At),Qt=we._,Ut=Ot("^"+Dt.call(jt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vt=ge?e.Buffer:i,Ht=e.Symbol,Gt=e.Uint8Array,zt=Vt?Vt.allocUnsafe:i,Wt=cn(At.getPrototypeOf,At),$t=At.create,Kt=Mt.propertyIsEnumerable,Yt=It.splice,Zt=Ht?Ht.isConcatSpreadable:i,Jt=Ht?Ht.iterator:i,Xt=Ht?Ht.toStringTag:i,ne=function(){try{var t=fo(At,"defineProperty");return t({},"",{}),t}catch(t){}}(),ie=e.clearTimeout!==we.clearTimeout&&e.clearTimeout,ce=st&&st.now!==we.Date.now&&st.now,fe=e.setTimeout!==we.setTimeout&&e.setTimeout,pe=Pt.ceil,me=Pt.floor,ve=At.getOwnPropertySymbols,ye=Vt?Vt.isBuffer:i,be=e.isFinite,qe=It.join,$e=cn(At.keys,At),yn=Pt.max,bn=Pt.min,_n=st.now,xn=e.parseInt,kn=Pt.random,Cn=It.reverse,Sn=fo(e,"DataView"),Pn=fo(e,"Map"),An=fo(e,"Promise"),On=fo(e,"Set"),Tn=fo(e,"WeakMap"),En=fo(At,"create"),In=Tn&&new Tn,Nn={},Mn=Fo(Sn),Rn=Fo(Pn),Dn=Fo(An),jn=Fo(On),Bn=Fo(Tn),Ln=Ht?Ht.prototype:i,Fn=Ln?Ln.valueOf:i,qn=Ln?Ln.toString:i;function Qn(t){if(ns(t)&&!Ga(t)&&!(t instanceof Gn)){if(t instanceof Hn)return t;if(jt.call(t,"__wrapped__"))return qo(t)}return new Hn(t)}var Un=function(){function t(){}return function(e){if(!es(e))return{};if($t)return $t(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function Vn(){}function Hn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function Gn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function zn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function $n(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Kn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new $n;++e<n;)this.add(t[e])}function Yn(t){var e=this.__data__=new Wn(t);this.size=e.size}function Zn(t,e){var n=Ga(t),r=!n&&Ha(t),i=!n&&!r&&Ka(t),o=!n&&!r&&!i&&cs(t),a=n||r||i||o,s=a?Ze(t.length,Tt):[],l=s.length;for(var u in t)!e&&!jt.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||bo(u,l))||s.push(u);return s}function Jn(t){var e=t.length;return e?t[Kr(0,e-1)]:i}function Xn(t,e){return jo(Ei(t),lr(e,0,t.length))}function tr(t){return jo(Ei(t))}function er(t,e,n){(n!==i&&!Qa(t[e],n)||n===i&&!(e in t))&&ar(t,e,n)}function nr(t,e,n){var r=t[e];jt.call(t,e)&&Qa(r,n)&&(n!==i||e in t)||ar(t,e,n)}function rr(t,e){for(var n=t.length;n--;)if(Qa(t[n][0],e))return n;return-1}function ir(t,e,n,r){return fr(t,(function(t,i,o){e(r,t,n(t),o)})),r}function or(t,e){return t&&Ii(e,Ns(e),t)}function ar(t,e,n){"__proto__"==e&&ne?ne(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function sr(t,e){for(var n=-1,o=e.length,a=r(o),s=null==t;++n<o;)a[n]=s?i:As(t,e[n]);return a}function lr(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function ur(t,e,n,r,o,a){var s,l=1&e,u=2&e,c=4&e;if(n&&(s=o?n(t,r,o,a):n(t)),s!==i)return s;if(!es(t))return t;var d=Ga(t);if(d){if(s=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&jt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!l)return Ei(t,s)}else{var h=mo(t),f=h==k||h==C;if(Ka(t))return Ci(t,l);if(h==A||h==g||f&&!o){if(s=u||f?{}:go(t),!l)return u?function(t,e){return Ii(t,wo(t),e)}(t,function(t,e){return t&&Ii(e,Ms(e),t)}(s,t)):function(t,e){return Ii(t,po(t),e)}(t,or(s,t))}else{if(!ue[h])return o?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case R:return Si(t);case b:case _:return new r(+t);case D:return function(t,e){var n=e?Si(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case j:case B:case L:case F:case q:case Q:case U:case V:case H:return Pi(t,n);case S:return new r;case P:case I:return new r(t);case T:return function(t){var e=new t.constructor(t.source,wt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case E:return new r;case N:return i=t,Fn?At(Fn.call(i)):{}}var i}(t,h,l)}}a||(a=new Yn);var p=a.get(t);if(p)return p;a.set(t,s),ss(t)?t.forEach((function(r){s.add(ur(r,e,n,r,t,a))})):rs(t)&&t.forEach((function(r,i){s.set(i,ur(r,e,n,i,t,a))}));var w=d?i:(c?u?oo:io:u?Ms:Ns)(t);return Te(w||t,(function(r,i){w&&(r=t[i=r]),nr(s,i,ur(r,e,n,i,t,a))})),s}function cr(t,e,n){var r=n.length;if(null==t)return!r;for(t=At(t);r--;){var o=n[r],a=e[o],s=t[o];if(s===i&&!(o in t)||!a(s))return!1}return!0}function dr(t,e,n){if("function"!=typeof t)throw new Et(o);return No((function(){t.apply(i,n)}),e)}function hr(t,e,n,r){var i=-1,o=Me,a=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=De(e,Xe(n))),r?(o=Re,a=!1):e.length>=200&&(o=en,a=!1,e=new Kn(e));t:for(;++i<s;){var c=t[i],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var h=u;h--;)if(e[h]===d)continue t;l.push(c)}else o(e,d,r)||l.push(c)}return l}Qn.templateSettings={escape:J,evaluate:X,interpolate:tt,variable:"",imports:{_:Qn}},Qn.prototype=Vn.prototype,Qn.prototype.constructor=Qn,Hn.prototype=Un(Vn.prototype),Hn.prototype.constructor=Hn,Gn.prototype=Un(Vn.prototype),Gn.prototype.constructor=Gn,zn.prototype.clear=function(){this.__data__=En?En(null):{},this.size=0},zn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},zn.prototype.get=function(t){var e=this.__data__;if(En){var n=e[t];return n===a?i:n}return jt.call(e,t)?e[t]:i},zn.prototype.has=function(t){var e=this.__data__;return En?e[t]!==i:jt.call(e,t)},zn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=En&&e===i?a:e,this},Wn.prototype.clear=function(){this.__data__=[],this.size=0},Wn.prototype.delete=function(t){var e=this.__data__,n=rr(e,t);return!(n<0)&&(n==e.length-1?e.pop():Yt.call(e,n,1),--this.size,!0)},Wn.prototype.get=function(t){var e=this.__data__,n=rr(e,t);return n<0?i:e[n][1]},Wn.prototype.has=function(t){return rr(this.__data__,t)>-1}
vendor: 2,308 bytes, line 2
2,Wn.prototype.set=function(t,e){var n=this.__data__,r=rr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new zn,map:new(Pn||Wn),string:new zn}},$n.prototype.delete=function(t){var e=co(this,t).delete(t);return this.size-=e?1:0,e},$n.prototype.get=function(t){return co(this,t).get(t)},$n.prototype.has=function(t){return co(this,t).has(t)},$n.prototype.set=function(t,e){var n=co(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Kn.prototype.add=Kn.prototype.push=function(t){return this.__data__.set(t,a),this},Kn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Yn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Yn.prototype.get=function(t){return this.__data__.get(t)},Yn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Wn){var r=n.__data__;if(!Pn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new $n(r)}return n.set(t,e),this.size=n.size,this};var fr=Ri(_r),pr=Ri(xr,!0);function wr(t,e){var n=!0;return fr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function mr(t,e,n){for(var r=-1,o=t.length;++r<o;){var a=t[r],s=e(a);if(null!=s&&(l===i?s==s&&!us(s):n(s,l)))var l=s,u=a}return u}function vr(t,e){var n=[];return fr(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function gr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=yo),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?gr(s,e-1,n,r,i):je(i,s):r||(i[i.length]=s)}return i}var yr=Di(),br=Di(!0);function _r(t,e){return t&&yr(t,e,Ns)}function xr(t,e){return t&&br(t,e,Ns)}function kr(t,e){return Ne(e,(function(e){return Ja(t[e])}))}function Cr(t,e){for(var n=0,r=(e=bi(e,t)).length;null!=t&&n<r;)t=t[Lo(e[n++])];return n&&n==r?t:i}function Sr(t,e,n){var r=e(t);return Ga(t)?r:je(r,n(t))}function Pr(t){return null==t?t===i?"[object Undefined]":"[object Null]":Xt&&Xt in At(t)?function(t){var e=jt.call(t,Xt),n=t[Xt];try{t[Xt]=i;var r=!0}catch(t){}var o=Ft.call(t);r&&(e?t[Xt]=n:delete t[Xt]);return o}(t):function(t){return Ft.call(t)}(t)}function Ar(t,e){return t>e}function Or(t,e){return null!=t&&jt.call(t,e)}function Tr(t,e){return null!=t&&e in At(t)}
vendor: 1,450 bytes, line 2
2function Er(t,e,n){for(var o=n?Re:Me,a=t[0].length,s=t.length,l=s,u=r(s),c=1/0,d=[];l--;){var h=t[l];l&&e&&(h=De(h,Xe(e))),c=bn(h.length,c),u[l]=!n&&(e||a>=120&&h.length>=120)?new Kn(l&&h):i}h=t[0];var f=-1,p=u[0];t:for(;++f<a&&d.length<c;){var w=h[f],m=e?e(w):w;if(w=n||0!==w?w:0,!(p?en(p,m):o(d,m,n))){for(l=s;--l;){var v=u[l];if(!(v?en(v,m):o(t[l],m,n)))continue t}p&&p.push(m),d.push(w)}}return d}function Ir(t,e,n){var r=null==(t=To(t,e=bi(e,t)))?t:t[Lo(Zo(e))];return null==r?i:Ae(r,t,n)}function Nr(t){return ns(t)&&Pr(t)==g}function Mr(t,e,n,r,o){return t===e||(null==t||null==e||!ns(t)&&!ns(e)?t!=t&&e!=e:function(t,e,n,r,o,a){var s=Ga(t),l=Ga(e),u=s?y:mo(t),c=l?y:mo(e),d=(u=u==g?A:u)==A,h=(c=c==g?A:c)==A,f=u==c;if(f&&Ka(t)){if(!Ka(e))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Yn),s||cs(t)?no(t,e,n,r,o,a):function(t,e,n,r,i,o,a){switch(n){case D:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case R:return!(t.byteLength!=e.byteLength||!o(new Gt(t),new Gt(e)));case b:case _:case P:return Qa(+t,+e);case x:return t.name==e.name&&t.message==e.message;case T:case I:return t==e+"";case S:var s=un;case E:var l=1&r;if(s||(s=hn),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;r|=2,a.set(t,e);var c=no(s(t),s(e),r,i,o,a);return a.delete(t),c;case N:if(Fn)return Fn.call(t)==Fn.call(e)}return!1}(t,e,u,n,r,o,a);if(!(1&n)){var p=d&&jt.call(t,"__wrapped__"),w=h&&jt.call(e,"__wrapped__");
vendor: 4,636 bytes, line 2
2if(p||w){var m=p?t.value():t,v=w?e.value():e;return a||(a=new Yn),o(m,v,n,r,a)}}if(!f)return!1;return a||(a=new Yn),function(t,e,n,r,o,a){var s=1&n,l=io(t),u=l.length,c=io(e),d=c.length;if(u!=d&&!s)return!1;var h=u;for(;h--;){var f=l[h];if(!(s?f in e:jt.call(e,f)))return!1}var p=a.get(t),w=a.get(e);if(p&&w)return p==e&&w==t;var m=!0;a.set(t,e),a.set(e,t);var v=s;for(;++h<u;){var g=t[f=l[h]],y=e[f];if(r)var b=s?r(y,g,f,e,t,a):r(g,y,f,t,e,a);if(!(b===i?g===y||o(g,y,n,r,a):b)){m=!1;break}v||(v="constructor"==f)}if(m&&!v){var _=t.constructor,x=e.constructor;_==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x||(m=!1)}return a.delete(t),a.delete(e),m}(t,e,n,r,o,a)}(t,e,n,r,Mr,o))}function Rr(t,e,n,r){var o=n.length,a=o,s=!r;if(null==t)return!a;for(t=At(t);o--;){var l=n[o];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<a;){var u=(l=n[o])[0],c=t[u],d=l[1];if(s&&l[2]){if(c===i&&!(u in t))return!1}else{var h=new Yn;if(r)var f=r(c,d,u,t,e,h);if(!(f===i?Mr(d,c,3,r,h):f))return!1}}return!0}function Dr(t){return!(!es(t)||(e=t,Lt&&Lt in e))&&(Ja(t)?Ut:gt).test(Fo(t));var e}function jr(t){return"function"==typeof t?t:null==t?il:"object"==typeof t?Ga(t)?Ur(t[0],t[1]):Qr(t):fl(t)}function Br(t){if(!So(t))return $e(t);var e=[];for(var n in At(t))jt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Lr(t){if(!es(t))return function(t){var e=[];if(null!=t)for(var n in At(t))e.push(n);return e}(t);var e=So(t),n=[];for(var r in t)("constructor"!=r||!e&&jt.call(t,r))&&n.push(r);return n}function Fr(t,e){return t<e}function qr(t,e){var n=-1,i=Wa(t)?r(t.length):[];return fr(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function Qr(t){var e=ho(t);return 1==e.length&&e[0][2]?Ao(e[0][0],e[0][1]):function(n){return n===t||Rr(n,t,e)}}function Ur(t,e){return xo(t)&&Po(e)?Ao(Lo(t),e):function(n){var r=As(n,t);return r===i&&r===e?Os(n,t):Mr(e,r,3)}}function Vr(t,e,n,r,o){t!==e&&yr(e,(function(a,s){if(o||(o=new Yn),es(a))!function(t,e,n,r,o,a,s){var l=Eo(t,n),u=Eo(e,n),c=s.get(u);if(c)return void er(t,n,c);var d=a?a(l,u,n+"",t,e,s):i,h=d===i;if(h){var f=Ga(u),p=!f&&Ka(u),w=!f&&!p&&cs(u);d=u,f||p||w?Ga(l)?d=l:$a(l)?d=Ei(l):p?(h=!1,d=Ci(u,!0)):w?(h=!1,d=Pi(u,!0)):d=[]:os(u)||Ha(u)?(d=l,Ha(l)?d=gs(l):es(l)&&!Ja(l)||(d=go(u))):h=!1}h&&(s.set(u,d),o(d,u,r,a,s),s.delete(u));er(t,n,d)}(t,e,s,n,Vr,r,o);else{var l=r?r(Eo(t,s),a,s+"",t,e,o):i;l===i&&(l=a),er(t,s,l)}}),Ms)}function Hr(t,e){var n=t.length;if(n)return bo(e+=e<0?n:0,n)?t[e]:i}function Gr(t,e,n){e=e.length?De(e,(function(t){return Ga(t)?function(e){return Cr(e,1===t.length?t[0]:t)}:t})):[il];var r=-1;e=De(e,Xe(uo()));var i=qr(t,(function(t,n,i){var o=De(e,(function(e){return e(t)}));return{criteria:o,index:++r,value:t}}));return function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(i,(function(t,e){return function(t,e,n){var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;for(;++r<a;){var l=Ai(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function zr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=Cr(t,a);n(s,a)&&ti(o,bi(a,t),s)}return o}function Wr(t,e,n,r){var i=r?He:Ve,o=-1,a=e.length,s=t;for(t===e&&(e=Ei(e)),n&&(s=De(t,Xe(n)));++o<a;)for(var l=0,u=e[o],c=n?n(u):u;(l=i(s,c,l,r))>-1;)s!==t&&Yt.call(s,l,1),Yt.call(t,l,1);return t}function $r(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;bo(i)?Yt.call(t,i,1):hi(t,i)}}return t}function Kr(t,e){return t+me(kn()*(e-t+1))}function Yr(t,e){var n="";if(!t||e<1||e>p)return n;do{e%2&&(n+=t),(e=me(e/2))&&(t+=t)}while(e);return n}function Zr(t,e){return Mo(Oo(t,e,il),t+"")}function Jr(t){return Jn(Qs(t))}function Xr(t,e){var n=Qs(t);return jo(n,lr(e,0,n.length))}function ti(t,e,n,r){if(!es(t))return t;for(var o=-1,a=(e=bi(e,t)).length,s=a-1,l=t;null!=l&&++o<a;){var u=Lo(e[o]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(o!=s){var d=l[u];(c=r?r(d,u,l):i)===i&&(c=es(d)?d:bo(e[o+1])?[]:{})}nr(l,u,c),l=l[u]}return t}var ei=In?function(t,e){return In.set(t,e),t}:il,ni=ne?function(t,e){return ne(t,"toString",{configurable:!0,enumerable:!1,value:el(e),writable:!0})}:il;function ri(t){return jo(Qs(t))}function ii(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i<o;)a[i]=t[i+e];return a}function oi(t,e){var n;return fr(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function ai(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!us(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}
vendor: 4,844 bytes, line 2
2return si(t,e,il,n)}function si(t,e,n,r){var o=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(e=n(e))!=e,l=null===e,u=us(e),c=e===i;o<a;){var d=me((o+a)/2),h=n(t[d]),f=h!==i,p=null===h,w=h==h,m=us(h);if(s)var v=r||w;else v=c?w&&(r||f):l?w&&f&&(r||!p):u?w&&f&&!p&&(r||!m):!p&&!m&&(r?h<=e:h<e);v?o=d+1:a=d}return bn(a,4294967294)}function li(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!Qa(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function ui(t){return"number"==typeof t?t:us(t)?w:+t}function ci(t){if("string"==typeof t)return t;if(Ga(t))return De(t,ci)+"";if(us(t))return qn?qn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function di(t,e,n){var r=-1,i=Me,o=t.length,a=!0,s=[],l=s;if(n)a=!1,i=Re;else if(o>=200){var u=e?null:Yi(t);if(u)return hn(u);a=!1,i=en,l=new Kn}else l=e?[]:s;t:for(;++r<o;){var c=t[r],d=e?e(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue t;e&&l.push(d),s.push(c)}else i(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}function hi(t,e){return null==(t=To(t,e=bi(e,t)))||delete t[Lo(Zo(e))]}function fi(t,e,n,r){return ti(t,e,n(Cr(t,e)),r)}function pi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ii(t,r?0:o,r?o+1:i):ii(t,r?o+1:0,r?i:o)}function wi(t,e){var n=t;return n instanceof Gn&&(n=n.value()),Be(e,(function(t,e){return e.func.apply(e.thisArg,je([t],e.args))}),n)}function mi(t,e,n){var i=t.length;if(i<2)return i?di(t[0]):[];for(var o=-1,a=r(i);++o<i;)for(var s=t[o],l=-1;++l<i;)l!=o&&(a[o]=hr(a[o]||s,t[l],e,n));return di(gr(a,1),e,n)}function vi(t,e,n){for(var r=-1,o=t.length,a=e.length,s={};++r<o;){var l=r<a?e[r]:i;n(s,t[r],l)}return s}function gi(t){return $a(t)?t:[]}function yi(t){return"function"==typeof t?t:il}function bi(t,e){return Ga(t)?t:xo(t,e)?[t]:Bo(ys(t))}var _i=Zr;function xi(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:ii(t,e,n)}var ki=ie||function(t){return we.clearTimeout(t)};function Ci(t,e){if(e)return t.slice();var n=t.length,r=zt?zt(n):new t.constructor(n);return t.copy(r),r}function Si(t){var e=new t.constructor(t.byteLength);return new Gt(e).set(new Gt(t)),e}function Pi(t,e){var n=e?Si(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ai(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,a=us(t),s=e!==i,l=null===e,u=e==e,c=us(e);if(!l&&!c&&!a&&t>e||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!o)return 1;if(!r&&!a&&!c&&t<e||c&&n&&o&&!r&&!a||l&&n&&o||!s&&o||!u)return-1}return 0}function Oi(t,e,n,i){for(var o=-1,a=t.length,s=n.length,l=-1,u=e.length,c=yn(a-s,0),d=r(u+c),h=!i;++l<u;)d[l]=e[l];for(;++o<s;)(h||o<a)&&(d[n[o]]=t[o]);for(;c--;)d[l++]=t[o++];return d}function Ti(t,e,n,i){for(var o=-1,a=t.length,s=-1,l=n.length,u=-1,c=e.length,d=yn(a-l,0),h=r(d+c),f=!i;++o<d;)h[o]=t[o];for(var p=o;++u<c;)h[p+u]=e[u];for(;++s<l;)(f||o<a)&&(h[p+n[s]]=t[o++]);return h}function Ei(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function Ii(t,e,n,r){var o=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var l=e[a],u=r?r(n[l],t[l],l,n,t):i;u===i&&(u=t[l]),o?ar(n,l,u):nr(n,l,u)}return n}function Ni(t,e){return function(n,r){var i=Ga(n)?Oe:ir,o=e?e():{};return i(n,t,uo(r,2),o)}}function Mi(t){return Zr((function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,s=o>2?n[2]:i;for(a=t.length>3&&"function"==typeof a?(o--,a):i,s&&_o(n[0],n[1],s)&&(a=o<3?i:a,o=1),e=At(e);++r<o;){var l=n[r];l&&t(e,l,r,a)}return e}))}function Ri(t,e){return function(n,r){if(null==n)return n;if(!Wa(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=At(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Di(t){return function(e,n,r){for(var i=-1,o=At(e),a=r(e),s=a.length;s--;){var l=a[t?s:++i];if(!1===n(o[l],l,o))break}return e}}function ji(t){return function(e){var n=ln(e=ys(e))?wn(e):i,r=n?n[0]:e.charAt(0),o=n?xi(n,1).join(""):e.slice(1);return r[t]()+o}}function Bi(t){return function(e){return Be(Js(Hs(e).replace(te,"")),t,"")}}function Li(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Un(t.prototype),r=t.apply(n,e);return es(r)?r:n}}function Fi(t){return function(e,n,r){var o=At(e);if(!Wa(e)){var a=uo(n,3);e=Ns(e),n=function(t){return a(o[t],t,o)}}var s=t(e,n,r);return s>-1?o[a?e[s]:s]:i}}function qi(t){return ro((function(e){var n=e.length,r=n,a=Hn.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new Et(o);if(a&&!l&&"wrapper"==so(s))var l=new Hn([],!0)}for(r=l?r:n;++r<n;){var u=so(s=e[r]),c="wrapper"==u?ao(s):i;l=c&&ko(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[so(c[0])].apply(l,c[3]):1==s.length&&k
vendor: 1,039 bytes, line 2
2o(s)?l[u]():l.thru(s)}return function(){var t=arguments,r=t[0];if(l&&1==t.length&&Ga(r))return l.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function Qi(t,e,n,o,a,s,l,u,c,h){var f=e&d,p=1&e,w=2&e,m=24&e,v=512&e,g=w?i:Li(t);return function d(){for(var y=arguments.length,b=r(y),_=y;_--;)b[_]=arguments[_];if(m)var x=lo(d),k=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(b,x);if(o&&(b=Oi(b,o,a,m)),s&&(b=Ti(b,s,l,m)),y-=k,m&&y<h){var C=dn(b,x);return $i(t,e,Qi,d.placeholder,n,b,C,u,c,h-y)}var S=p?n:this,P=w?S[t]:t;return y=b.length,u?b=function(t,e){var n=t.length,r=bn(e.length,n),o=Ei(t);for(;r--;){var a=e[r];t[r]=bo(a,n)?o[a]:i}return t}(b,u):v&&y>1&&b.reverse(),f&&c<y&&(b.length=c),this&&this!==we&&this instanceof d&&(P=g||Li(P)),P.apply(S,b)}}function Ui(t,e){return function(n,r){return function(t,e,n,r){return _r(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function Vi(t,e){return function(n,r){var o;if(n===i&&r===i)return e;if(n!==i&&(o=n),r!==i){
vendor: 5,677 bytes, line 2
2if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=ci(n),r=ci(r)):(n=ui(n),r=ui(r)),o=t(n,r)}return o}}function Hi(t){return ro((function(e){return e=De(e,Xe(uo())),Zr((function(n){var r=this;return t(e,(function(t){return Ae(t,r,n)}))}))}))}function Gi(t,e){var n=(e=e===i?" ":ci(e)).length;if(n<2)return n?Yr(e,t):e;var r=Yr(e,pe(t/pn(e)));return ln(e)?xi(wn(r),0,t).join(""):r.slice(0,t)}function zi(t){return function(e,n,o){return o&&"number"!=typeof o&&_o(e,n,o)&&(n=o=i),e=ps(e),n===i?(n=e,e=0):n=ps(n),function(t,e,n,i){for(var o=-1,a=yn(pe((e-t)/(n||1)),0),s=r(a);a--;)s[i?a:++o]=t,t+=n;return s}(e,n,o=o===i?e<n?1:-1:ps(o),t)}}function Wi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=vs(e),n=vs(n)),t(e,n)}}function $i(t,e,n,r,o,a,s,l,d,h){var f=8&e;e|=f?u:c,4&(e&=~(f?c:u))||(e&=-4);var p=[t,e,o,f?a:i,f?s:i,f?i:a,f?i:s,l,d,h],w=n.apply(i,p);return ko(t)&&Io(w,p),w.placeholder=r,Ro(w,t,e)}function Ki(t){var e=Pt[t];return function(t,n){if(t=vs(t),(n=null==n?0:bn(ws(n),292))&&be(t)){var r=(ys(t)+"e").split("e");return+((r=(ys(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Yi=On&&1/hn(new On([,-0]))[1]==f?function(t){return new On(t)}:ul;function Zi(t){return function(e){var n=mo(e);return n==S?un(e):n==E?fn(e):function(t,e){return De(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Ji(t,e,n,a,f,p,w,m){var v=2&e;if(!v&&"function"!=typeof t)throw new Et(o);var g=a?a.length:0;if(g||(e&=-97,a=f=i),w=w===i?w:yn(ws(w),0),m=m===i?m:ws(m),g-=f?f.length:0,e&c){var y=a,b=f;a=f=i}var _=v?i:ao(t),x=[t,e,n,a,f,y,b,p,w,m];if(_&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,a=r==d&&8==n||r==d&&n==h&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!a)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var l=e[3];if(l){var u=t[3];t[3]=u?Oi(u,l,e[4]):l,t[4]=u?dn(t[3],s):e[4]}(l=e[5])&&(u=t[5],t[5]=u?Ti(u,l,e[6]):l,t[6]=u?dn(t[5],s):e[6]);(l=e[7])&&(t[7]=l);r&d&&(t[8]=null==t[8]?e[8]:bn(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=i}(x,_),t=x[0],e=x[1],n=x[2],a=x[3],f=x[4],!(m=x[9]=x[9]===i?v?0:t.length:yn(x[9]-g,0))&&24&e&&(e&=-25),e&&1!=e)k=8==e||e==l?function(t,e,n){var o=Li(t);return function a(){for(var s=arguments.length,l=r(s),u=s,c=lo(a);u--;)l[u]=arguments[u];var d=s<3&&l[0]!==c&&l[s-1]!==c?[]:dn(l,c);return(s-=d.length)<n?$i(t,e,Qi,a.placeholder,i,l,d,i,i,n-s):Ae(this&&this!==we&&this instanceof a?o:t,this,l)}}(t,e,m):e!=u&&33!=e||f.length?Qi.apply(i,x):function(t,e,n,i){var o=1&e,a=Li(t);return function e(){for(var s=-1,l=arguments.length,u=-1,c=i.length,d=r(c+l),h=this&&this!==we&&this instanceof e?a:t;++u<c;)d[u]=i[u];for(;l--;)d[u++]=arguments[++s];return Ae(h,o?n:this,d)}}(t,e,n,a);else var k=function(t,e,n){var r=1&e,i=Li(t);return function e(){return(this&&this!==we&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return Ro((_?ei:Io)(k,x),t,e)}function Xi(t,e,n,r){return t===i||Qa(t,Mt[n])&&!jt.call(r,n)?e:t}function to(t,e,n,r,o,a){return es(t)&&es(e)&&(a.set(e,t),Vr(t,e,i,to,a),a.delete(e)),t}function eo(t){return os(t)?i:t}function no(t,e,n,r,o,a){var s=1&n,l=t.length,u=e.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(t),d=a.get(e);if(c&&d)return c==e&&d==t;var h=-1,f=!0,p=2&n?new Kn:i;for(a.set(t,e),a.set(e,t);++h<l;){var w=t[h],m=e[h];if(r)var v=s?r(m,w,h,e,t,a):r(w,m,h,t,e,a);if(v!==i){if(v)continue;f=!1;break}if(p){if(!Fe(e,(function(t,e){if(!en(p,e)&&(w===t||o(w,t,n,r,a)))return p.push(e)}))){f=!1;break}}else if(w!==m&&!o(w,m,n,r,a)){f=!1;break}}return a.delete(t),a.delete(e),f}function ro(t){return Mo(Oo(t,i,zo),t+"")}function io(t){return Sr(t,Ns,po)}function oo(t){return Sr(t,Ms,wo)}var ao=In?function(t){return In.get(t)}:ul;function so(t){for(var e=t.name+"",n=Nn[e],r=jt.call(Nn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function lo(t){return(jt.call(Qn,"placeholder")?Qn:t).placeholder}function uo(){var t=Qn.iteratee||ol;return t=t===ol?jr:t,arguments.length?t(arguments[0],arguments[1]):t}function co(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function ho(t){for(var e=Ns(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Po(i)]}return e}function fo(t,e){var n=function(t,e){return null==t?i:t[e]}(t,e);return Dr(n)?n:i}var po=ve?function(t){return null==t?[]:(t=At(t),Ne(ve(t),(function(e){return Kt.call(t,e)})))}:ml,wo=ve?function(t){for(var e=[];t;)je(e,po(t)),t=Wt(t);return e}:ml,mo=Pr;function vo(t,e,n){for(var r=-1,i=(e=bi(e,t)).length,o=!1;++r<i;){var a=Lo(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&ts(i)&&bo(a,i)&&(Ga(t)||Ha(t))}function go(t){return"function"!=typeof t.constructor||So(t)?{}:Un(Wt(t))}function yo(t){return Ga(t)||Ha(t)||!!(Zt&&t&&t[Zt])}function bo(t,e){var n=typeof t;return!!(e=null==e?p:e)&&("number"==n||"symbol"!=n&&bt.test(t))&&t>-1&&t%1==0&&t<e}function _o(t,e,n){if(!es(n))return!1;var r=typeof e;return!!("number"==r?Wa(n)&&bo(e,n.length):"string"==r&&e in n)&&Qa(n[e],t)}function xo(t,e){if(Ga(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!us(t))||(nt.test(t)||!et.test(t)||null!=e&&t in At(e))}function ko(t){var e=so(t),n=Qn[e];if("function"!=typeof n||!(e in Gn.prototype))return!1;if(t===n)return!0;var r=ao(n);return!!r&&t===r[0]}(Sn&&mo(new Sn(new ArrayBuffer(1)))!=D||Pn&&mo(new Pn)!=S||An&&mo(An.resolve())!=O||On&&mo(new On)!=E||Tn&&mo(new Tn)!=M)&&(mo=function(t){var e=Pr(t),n=e==A?t.constructor:i,r=n?Fo(n):"";if(r)switch(r){case Mn:return D;case Rn:return S;case Dn:return O;case jn:return E;case Bn:return M}return e});
vendor: 15,251 bytes, line 2
2var Co=Rt?Ja:vl;function So(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Mt)}function Po(t){return t==t&&!es(t)}function Ao(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==i||t in At(n)))}}function Oo(t,e,n){return e=yn(e===i?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=yn(i.length-e,0),s=r(a);++o<a;)s[o]=i[e+o];o=-1;for(var l=r(e+1);++o<e;)l[o]=i[o];return l[e]=n(s),Ae(t,this,l)}}function To(t,e){return e.length<2?t:Cr(t,ii(e,0,-1))}function Eo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Io=Do(ei),No=fe||function(t,e){return we.setTimeout(t,e)},Mo=Do(ni);function Ro(t,e,n){var r=e+"";return Mo(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(lt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Te(v,(function(n){var r="_."+n[0];e&n[1]&&!Me(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(ut);return e?e[1].split(ct):[]}(r),n)))}function Do(t){var e=0,n=0;return function(){var r=_n(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(i,arguments)}}function jo(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n<e;){var a=Kr(n,o),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var Bo=function(t){var e=Da(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(rt,(function(t,n,r,i){e.push(r?i.replace(ft,"$1"):n||t)})),e}));function Lo(t){if("string"==typeof t||us(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Fo(t){if(null!=t){try{return Dt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function qo(t){if(t instanceof Gn)return t.clone();var e=new Hn(t.__wrapped__,t.__chain__);return e.__actions__=Ei(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Qo=Zr((function(t,e){return $a(t)?hr(t,gr(e,1,$a,!0)):[]})),Uo=Zr((function(t,e){var n=Zo(e);return $a(n)&&(n=i),$a(t)?hr(t,gr(e,1,$a,!0),uo(n,2)):[]})),Vo=Zr((function(t,e){var n=Zo(e);return $a(n)&&(n=i),$a(t)?hr(t,gr(e,1,$a,!0),i,n):[]}));function Ho(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ws(n);return i<0&&(i=yn(r+i,0)),Ue(t,uo(e,3),i)}function Go(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==i&&(o=ws(n),o=n<0?yn(r+o,0):bn(o,r-1)),Ue(t,uo(e,3),o,!0)}function zo(t){return(null==t?0:t.length)?gr(t,1):[]}function Wo(t){return t&&t.length?t[0]:i}var $o=Zr((function(t){var e=De(t,gi);return e.length&&e[0]===t[0]?Er(e):[]})),Ko=Zr((function(t){var e=Zo(t),n=De(t,gi);return e===Zo(n)?e=i:n.pop(),n.length&&n[0]===t[0]?Er(n,uo(e,2)):[]})),Yo=Zr((function(t){var e=Zo(t),n=De(t,gi);return(e="function"==typeof e?e:i)&&n.pop(),n.length&&n[0]===t[0]?Er(n,i,e):[]}));function Zo(t){var e=null==t?0:t.length;return e?t[e-1]:i}var Jo=Zr(Xo);function Xo(t,e){return t&&t.length&&e&&e.length?Wr(t,e):t}var ta=ro((function(t,e){var n=null==t?0:t.length,r=sr(t,e);return $r(t,De(e,(function(t){return bo(t,n)?+t:t})).sort(Ai)),r}));function ea(t){return null==t?t:Cn.call(t)}var na=Zr((function(t){return di(gr(t,1,$a,!0))})),ra=Zr((function(t){var e=Zo(t);return $a(e)&&(e=i),di(gr(t,1,$a,!0),uo(e,2))})),ia=Zr((function(t){var e=Zo(t);return e="function"==typeof e?e:i,di(gr(t,1,$a,!0),i,e)}));function oa(t){if(!t||!t.length)return[];var e=0;return t=Ne(t,(function(t){if($a(t))return e=yn(t.length,e),!0})),Ze(e,(function(e){return De(t,We(e))}))}function aa(t,e){if(!t||!t.length)return[];var n=oa(t);return null==e?n:De(n,(function(t){return Ae(e,i,t)}))}var sa=Zr((function(t,e){return $a(t)?hr(t,e):[]})),la=Zr((function(t){return mi(Ne(t,$a))})),ua=Zr((function(t){var e=Zo(t);return $a(e)&&(e=i),mi(Ne(t,$a),uo(e,2))})),ca=Zr((function(t){var e=Zo(t);return e="function"==typeof e?e:i,mi(Ne(t,$a),i,e)})),da=Zr(oa);var ha=Zr((function(t){var e=t.length,n=e>1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,aa(t,n)}));function fa(t){var e=Qn(t);return e.__chain__=!0,e}function pa(t,e){return e(t)}var wa=ro((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return sr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Gn&&bo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:pa,args:[o],thisArg:i}),new Hn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(i),t}))):this.thru(o)}));var ma=Ni((function(t,e,n){jt.call(t,n)?++t[n]:ar(t,n,1)}));var va=Fi(Ho),ga=Fi(Go);function ya(t,e){return(Ga(t)?Te:fr)(t,uo(e,3))}function ba(t,e){return(Ga(t)?Ee:pr)(t,uo(e,3))}var _a=Ni((function(t,e,n){jt.call(t,n)?t[n].push(e):ar(t,n,[e])}));var xa=Zr((function(t,e,n){var i=-1,o="function"==typeof e,a=Wa(t)?r(t.length):[];return fr(t,(function(t){a[++i]=o?Ae(e,t,n):Ir(t,e,n)})),a})),ka=Ni((function(t,e,n){ar(t,n,e)}));function Ca(t,e){return(Ga(t)?De:qr)(t,uo(e,3))}var Sa=Ni((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var Pa=Zr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&_o(t,e[0],e[1])?e=[]:n>2&&_o(e[0],e[1],e[2])&&(e=[e[0]]),Gr(t,gr(e,1),[])})),Aa=ce||function(){return we.Date.now()};function Oa(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Ji(t,d,i,i,i,i,e)}function Ta(t,e){var n;if("function"!=typeof e)throw new Et(o);return t=ws(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var Ea=Zr((function(t,e,n){var r=1;if(n.length){var i=dn(n,lo(Ea));r|=u}return Ji(t,r,e,n,i)})),Ia=Zr((function(t,e,n){var r=3;if(n.length){var i=dn(n,lo(Ia));r|=u}return Ji(e,r,t,n,i)}));function Na(t,e,n){var r,a,s,l,u,c,d=0,h=!1,f=!1,p=!0;if("function"!=typeof t)throw new Et(o);function w(e){var n=r,o=a;return r=a=i,d=e,l=t.apply(o,n)}function m(t){var n=t-c;return c===i||n>=e||n<0||f&&t-d>=s}function v(){var t=Aa();if(m(t))return g(t);u=No(v,function(t){var n=e-(t-c);return f?bn(n,s-(t-d)):n}(t))}function g(t){return u=i,p&&r?w(t):(r=a=i,l)}function y(){var t=Aa(),n=m(t);if(r=arguments,a=this,c=t,n){if(u===i)return function(t){return d=t,u=No(v,e),h?w(t):l}(c);if(f)return ki(u),u=No(v,e),w(c)}return u===i&&(u=No(v,e)),l}return e=vs(e)||0,es(n)&&(h=!!n.leading,s=(f="maxWait"in n)?yn(vs(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),y.cancel=function(){u!==i&&ki(u),d=0,r=c=a=u=i},y.flush=function(){return u===i?l:g(Aa())},y}var Ma=Zr((function(t,e){return dr(t,1,e)})),Ra=Zr((function(t,e,n){return dr(t,vs(e)||0,n)}));function Da(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Et(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Da.Cache||$n),n}function ja(t){if("function"!=typeof t)throw new Et(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Da.Cache=$n;var Ba=_i((function(t,e){var n=(e=1==e.length&&Ga(e[0])?De(e[0],Xe(uo())):De(gr(e,1),Xe(uo()))).length;return Zr((function(r){for(var i=-1,o=bn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Ae(t,this,r)}))})),La=Zr((function(t,e){var n=dn(e,lo(La));return Ji(t,u,i,e,n)})),Fa=Zr((function(t,e){var n=dn(e,lo(Fa));return Ji(t,c,i,e,n)})),qa=ro((function(t,e){return Ji(t,h,i,i,i,e)}));function Qa(t,e){return t===e||t!=t&&e!=e}var Ua=Wi(Ar),Va=Wi((function(t,e){return t>=e})),Ha=Nr(function(){return arguments}())?Nr:function(t){return ns(t)&&jt.call(t,"callee")&&!Kt.call(t,"callee")},Ga=r.isArray,za=_e?Xe(_e):function(t){return ns(t)&&Pr(t)==R};function Wa(t){return null!=t&&ts(t.length)&&!Ja(t)}function $a(t){return ns(t)&&Wa(t)}var Ka=ye||vl,Ya=xe?Xe(xe):function(t){return ns(t)&&Pr(t)==_};function Za(t){if(!ns(t))return!1;var e=Pr(t);return e==x||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!os(t)}function Ja(t){if(!es(t))return!1;var e=Pr(t);return e==k||e==C||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Xa(t){return"number"==typeof t&&t==ws(t)}function ts(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=p}function es(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ns(t){return null!=t&&"object"==typeof t}var rs=ke?Xe(ke):function(t){return ns(t)&&mo(t)==S};function is(t){return"number"==typeof t||ns(t)&&Pr(t)==P}function os(t){if(!ns(t)||Pr(t)!=A)return!1;var e=Wt(t);if(null===e)return!0;var n=jt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Dt.call(n)==qt}var as=Ce?Xe(Ce):function(t){return ns(t)&&Pr(t)==T};var ss=Se?Xe(Se):function(t){return ns(t)&&mo(t)==E};function ls(t){return"string"==typeof t||!Ga(t)&&ns(t)&&Pr(t)==I}function us(t){return"symbol"==typeof t||ns(t)&&Pr(t)==N}var cs=Pe?Xe(Pe):function(t){return ns(t)&&ts(t.length)&&!!le[Pr(t)]};var ds=Wi(Fr),hs=Wi((function(t,e){return t<=e}));function fs(t){if(!t)return[];if(Wa(t))return ls(t)?wn(t):Ei(t);if(Jt&&t[Jt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Jt]());var e=mo(t);return(e==S?un:e==E?hn:Qs)(t)}function ps(t){return t?(t=vs(t))===f||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ws(t){var e=ps(t),n=e%1;return e==e?n?e-n:e:0}function ms(t){return t?lr(ws(t),0,m):0}function vs(t){if("number"==typeof t)return t;if(us(t))return w;if(es(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=es(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Je(t);var n=vt.test(t);return n||yt.test(t)?he(t.slice(2),n?2:8):mt.test(t)?w:+t}function gs(t){return Ii(t,Ms(t))}function ys(t){return null==t?"":ci(t)}var bs=Mi((function(t,e){if(So(e)||Wa(e))Ii(e,Ns(e),t);else for(var n in e)jt.call(e,n)&&nr(t,n,e[n])})),_s=Mi((function(t,e){Ii(e,Ms(e),t)})),xs=Mi((function(t,e,n,r){Ii(e,Ms(e),t,r)})),ks=Mi((function(t,e,n,r){Ii(e,Ns(e),t,r)})),Cs=ro(sr);var Ss=Zr((function(t,e){t=At(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&_o(e[0],e[1],o)&&(r=1);++n<r;)for(var a=e[n],s=Ms(a),l=-1,u=s.length;++l<u;){var c=s[l],d=t[c];(d===i||Qa(d,Mt[c])&&!jt.call(t,c))&&(t[c]=a[c])}return t})),Ps=Zr((function(t){return t.push(i,to),Ae(Ds,i,t)}));function As(t,e,n){var r=null==t?i:Cr(t,e);return r===i?n:r}function Os(t,e){return null!=t&&vo(t,e,Tr)}var Ts=Ui((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),t[e]=n}),el(il)),Es=Ui((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),jt.call(t,e)?t[e].push(n):t[e]=[n]}),uo),Is=Zr(Ir);function Ns(t){return Wa(t)?Zn(t):Br(t)}function Ms(t){return Wa(t)?Zn(t,!0):Lr(t)}var Rs=Mi((function(t,e,n){Vr(t,e,n)})),Ds=Mi((function(t,e,n,r){Vr(t,e,n,r)})),js=ro((function(t,e){var n={};if(null==t)return n;var r=!1;e=De(e,(function(e){return e=bi(e,t),r||(r=e.length>1),e})),Ii(t,oo(t),n),r&&(n=ur(n,7,eo));for(var i=e.length;i--;)hi(n,e[i]);return n}));var Bs=ro((function(t,e){return null==t?{}:function(t,e){return zr(t,e,(function(e,n){return Os(t,n)}))}(t,e)}));function Ls(t,e){if(null==t)return{};var n=De(oo(t),(function(t){return[t]}));return e=uo(e),zr(t,n,(function(t,n){return e(t,n[0])}))}var Fs=Zi(Ns),qs=Zi(Ms);function Qs(t){return null==t?[]:tn(t,Ns(t))}var Us=Bi((function(t,e,n){return e=e.toLowerCase(),t+(n?Vs(e):e)}));function Vs(t){return Zs(ys(t).toLowerCase())}function Hs(t){return(t=ys(t))&&t.replace(_t,on).replace(ee,"")}var Gs=Bi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),zs=Bi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ws=ji("toLowerCase");var $s=Bi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Ks=Bi((function(t,e,n){return t+(n?" ":"")+Zs(e)}));var Ys=Bi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Zs=ji("toUpperCase");function Js(t,e,n){return t=ys(t),(e=n?i:e)===i?function(t){return oe.test(t)}(t)?function(t){return t.match(re)||[]}(t):function(t){return t.match(dt)||[]}(t):t.match(e)||[]}var Xs=Zr((function(t,e){try{return Ae(t,i,e)}catch(t){return Za(t)?t:new Ct(t)}})),tl=ro((function(t,e){return Te(e,(function(e){e=Lo(e),ar(t,e,Ea(t[e],t))})),t}));function el(t){return function(){return t}}var nl=qi(),rl=qi(!0);function il(t){return t}function ol(t){return jr("function"==typeof t?t:ur(t,1))}var al=Zr((function(t,e){return function(n){return Ir(n,t,e)}})),sl=Zr((function(t,e){return function(n){return Ir(t,n,e)}}));function ll(t,e,n){var r=Ns(e),i=kr(e,r);null!=n||es(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=kr(e,Ns(e)));var o=!(es(n)&&"chain"in n&&!n.chain),a=Ja(t);return Te(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ei(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,je([this.value()],arguments))})})),t}function ul(){}var cl=Hi(De),dl=Hi(Ie),hl=Hi(Fe);function fl(t){return xo(t)?We(Lo(t)):function(t){return function(e){return Cr(e,t)}}(t)}var pl=zi(),wl=zi(!0);function ml(){return[]}function vl(){return!1}var gl=Vi((function(t,e){return t+e}),0),yl=Ki("ceil"),bl=Vi((function(t,e){return t/e}),1),_l=Ki("floor");var xl,kl=Vi((function(t,e){return t*e}),1),Cl=Ki("round"),Sl=Vi((function(t,e){return t-e}),0);return Qn.after=function(t,e){if("function"!=typeof e)throw new Et(o);return t=ws(t),function(){if(--t<1)return e.apply(this,arguments)}},Qn.ary=Oa,Qn.assign=bs,Qn.assignIn=_s,Qn.assignInWith=xs,Qn.assignWith=ks,Qn.at=Cs,Qn.before=Ta,Qn.bind=Ea,Qn.bindAll=tl,Qn.bindKey=Ia,Qn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ga(t)?t:[t]},Qn.chain=fa,Qn.chunk=function(t,e,n){e=(n?_o(t,e,n):e===i)?1:yn(ws(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var a=0,s=0,l=r(pe(o/e));a<o;)l[s++]=ii(t,a,a+=e);return l},Qn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},Qn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return je(Ga(n)?Ei(n):[n],gr(e,1))},Qn.cond=function(t){var e=null==t?0:t.length,n=uo();return t=e?De(t,(function(t){if("function"!=typeof t[1])throw new Et(o);return[n(t[0]),t[1]]})):[],Zr((function(n){for(var r=-1;++r<e;){var i=t[r];if(Ae(i[0],this,n))return Ae(i[1],this,n)}}))},Qn.conforms=function(t){return function(t){var e=Ns(t);return function(n){return cr(n,t,e)}}(ur(t,1))},Qn.constant=el,Qn.countBy=ma,Qn.create=function(t,e){var n=Un(t);return null==e?n:or(n,e)},Qn.curry=function t(e,n,r){var o=Ji(e,8,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},Qn.curryRight=function t(e,n,r){var o=Ji(e,l,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},Qn.debounce=Na,Qn.defaults=Ss,Qn.defaultsDeep=Ps,Qn.defer=Ma,Qn.delay=Ra,Qn.difference=Qo,Qn.differenceBy=Uo,Qn.differenceWith=Vo,Qn.drop=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=n||e===i?1:ws(e))<0?0:e,r):[]},Qn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,0,(e=r-(e=n||e===i?1:ws(e)))<0?0:e):[]},Qn.dropRightWhile=function(t,e){return t&&t.length?pi(t,uo(e,3),!0,!0):[]},Qn.dropWhile=function(t,e){return t&&t.length?pi(t,uo(e,3),!0):[]},Qn.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&_o(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=ws(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>
vendor: 4,254 bytes, line 2
2o?o:ws(r))<0&&(r+=o),r=n>r?0:ms(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Qn.filter=function(t,e){return(Ga(t)?Ne:vr)(t,uo(e,3))},Qn.flatMap=function(t,e){return gr(Ca(t,e),1)},Qn.flatMapDeep=function(t,e){return gr(Ca(t,e),f)},Qn.flatMapDepth=function(t,e,n){return n=n===i?1:ws(n),gr(Ca(t,e),n)},Qn.flatten=zo,Qn.flattenDeep=function(t){return(null==t?0:t.length)?gr(t,f):[]},Qn.flattenDepth=function(t,e){return(null==t?0:t.length)?gr(t,e=e===i?1:ws(e)):[]},Qn.flip=function(t){return Ji(t,512)},Qn.flow=nl,Qn.flowRight=rl,Qn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},Qn.functions=function(t){return null==t?[]:kr(t,Ns(t))},Qn.functionsIn=function(t){return null==t?[]:kr(t,Ms(t))},Qn.groupBy=_a,Qn.initial=function(t){return(null==t?0:t.length)?ii(t,0,-1):[]},Qn.intersection=$o,Qn.intersectionBy=Ko,Qn.intersectionWith=Yo,Qn.invert=Ts,Qn.invertBy=Es,Qn.invokeMap=xa,Qn.iteratee=ol,Qn.keyBy=ka,Qn.keys=Ns,Qn.keysIn=Ms,Qn.map=Ca,Qn.mapKeys=function(t,e){var n={};return e=uo(e,3),_r(t,(function(t,r,i){ar(n,e(t,r,i),t)})),n},Qn.mapValues=function(t,e){var n={};return e=uo(e,3),_r(t,(function(t,r,i){ar(n,r,e(t,r,i))})),n},Qn.matches=function(t){return Qr(ur(t,1))},Qn.matchesProperty=function(t,e){return Ur(t,ur(e,1))},Qn.memoize=Da,Qn.merge=Rs,Qn.mergeWith=Ds,Qn.method=al,Qn.methodOf=sl,Qn.mixin=ll,Qn.negate=ja,Qn.nthArg=function(t){return t=ws(t),Zr((function(e){return Hr(e,t)}))},Qn.omit=js,Qn.omitBy=function(t,e){return Ls(t,ja(uo(e)))},Qn.once=function(t){return Ta(2,t)},Qn.orderBy=function(t,e,n,r){return null==t?[]:(Ga(e)||(e=null==e?[]:[e]),Ga(n=r?i:n)||(n=null==n?[]:[n]),Gr(t,e,n))},Qn.over=cl,Qn.overArgs=Ba,Qn.overEvery=dl,Qn.overSome=hl,Qn.partial=La,Qn.partialRight=Fa,Qn.partition=Sa,Qn.pick=Bs,Qn.pickBy=Ls,Qn.property=fl,Qn.propertyOf=function(t){return function(e){return null==t?i:Cr(t,e)}},Qn.pull=Jo,Qn.pullAll=Xo,Qn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Wr(t,e,uo(n,2)):t},Qn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Wr(t,e,i,n):t},Qn.pullAt=ta,Qn.range=pl,Qn.rangeRight=wl,Qn.rearg=qa,Qn.reject=function(t,e){return(Ga(t)?Ne:vr)(t,ja(uo(e,3)))},Qn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=uo(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return $r(t,i),n},Qn.rest=function(t,e){if("function"!=typeof t)throw new Et(o);return Zr(t,e=e===i?e:ws(e))},Qn.reverse=ea,Qn.sampleSize=function(t,e,n){return e=(n?_o(t,e,n):e===i)?1:ws(e),(Ga(t)?Xn:Xr)(t,e)},Qn.set=function(t,e,n){return null==t?t:ti(t,e,n)},Qn.setWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:ti(t,e,n,r)},Qn.shuffle=function(t){return(Ga(t)?tr:ri)(t)},Qn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&_o(t,e,n)?(e=0,n=r):(e=null==e?0:ws(e),n=n===i?r:ws(n)),ii(t,e,n)):[]},Qn.sortBy=Pa,Qn.sortedUniq=function(t){return t&&t.length?li(t):[]},Qn.sortedUniqBy=function(t,e){return t&&t.length?li(t,uo(e,2)):[]},Qn.split=function(t,e,n){return n&&"number"!=typeof n&&_o(t,e,n)&&(e=n=i),(n=n===i?m:n>>>0)?(t=ys(t))&&("string"==typeof e||null!=e&&!as(e))&&!(e=ci(e))&&ln(t)?xi(wn(t),0,n):t.split(e,n):[]},Qn.spread=function(t,e){if("function"!=typeof t)throw new Et(o);return e=null==e?0:yn(ws(e),0),Zr((function(n){var r=n[e],i=xi(n,0,e);return r&&je(i,r),Ae(t,this,i)}))},Qn.tail=function(t){var e=null==t?0:t.length;return e?ii(t,1,e):[]},Qn.take=function(t,e,n){return t&&t.length?ii(t,0,(e=n||e===i?1:ws(e))<0?0:e):[]},Qn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=r-(e=n||e===i?1:ws(e)))<0?0:e,r):[]},Qn.takeRightWhile=function(t,e){return t&&t.length?pi(t,uo(e,3),!1,!0):[]},Qn.takeWhile=function(t,e){return t&&t.length?pi(t,uo(e,3)):[]},Qn.tap=function(t,e){return e(t),t},Qn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Et(o);return es(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Na(t,e,{leading:r,maxWait:e,trailing:i})},Qn.thru=pa,Qn.toArray=fs,Qn.toPairs=Fs,Qn.toPairsIn=qs,Qn.toPath=function(t){return Ga(t)?De(t,Lo):us(t)?[t]:Ei(Bo(ys(t)))},Qn.toPlainObject=gs,Qn.transform=function(t,e,n){var r=Ga(t),i=r||Ka(t)||cs(t);if(e=uo(e,4),null==n){var o=t&&t.constructor;
vendor: 3,959 bytes, line 2
2n=i?r?new o:[]:es(t)&&Ja(o)?Un(Wt(t)):{}}return(i?Te:_r)(t,(function(t,r,i){return e(n,t,r,i)})),n},Qn.unary=function(t){return Oa(t,1)},Qn.union=na,Qn.unionBy=ra,Qn.unionWith=ia,Qn.uniq=function(t){return t&&t.length?di(t):[]},Qn.uniqBy=function(t,e){return t&&t.length?di(t,uo(e,2)):[]},Qn.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?di(t,i,e):[]},Qn.unset=function(t,e){return null==t||hi(t,e)},Qn.unzip=oa,Qn.unzipWith=aa,Qn.update=function(t,e,n){return null==t?t:fi(t,e,yi(n))},Qn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:fi(t,e,yi(n),r)},Qn.values=Qs,Qn.valuesIn=function(t){return null==t?[]:tn(t,Ms(t))},Qn.without=sa,Qn.words=Js,Qn.wrap=function(t,e){return La(yi(e),t)},Qn.xor=la,Qn.xorBy=ua,Qn.xorWith=ca,Qn.zip=da,Qn.zipObject=function(t,e){return vi(t||[],e||[],nr)},Qn.zipObjectDeep=function(t,e){return vi(t||[],e||[],ti)},Qn.zipWith=ha,Qn.entries=Fs,Qn.entriesIn=qs,Qn.extend=_s,Qn.extendWith=xs,ll(Qn,Qn),Qn.add=gl,Qn.attempt=Xs,Qn.camelCase=Us,Qn.capitalize=Vs,Qn.ceil=yl,Qn.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=vs(n))==n?n:0),e!==i&&(e=(e=vs(e))==e?e:0),lr(vs(t),e,n)},Qn.clone=function(t){return ur(t,4)},Qn.cloneDeep=function(t){return ur(t,5)},Qn.cloneDeepWith=function(t,e){return ur(t,5,e="function"==typeof e?e:i)},Qn.cloneWith=function(t,e){return ur(t,4,e="function"==typeof e?e:i)},Qn.conformsTo=function(t,e){return null==e||cr(t,e,Ns(e))},Qn.deburr=Hs,Qn.defaultTo=function(t,e){return null==t||t!=t?e:t},Qn.divide=bl,Qn.endsWith=function(t,e,n){t=ys(t),e=ci(e);var r=t.length,o=n=n===i?r:lr(ws(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Qn.eq=Qa,Qn.escape=function(t){return(t=ys(t))&&Z.test(t)?t.replace(K,an):t},Qn.escapeRegExp=function(t){return(t=ys(t))&&ot.test(t)?t.replace(it,"\\$&"):t},Qn.every=function(t,e,n){var r=Ga(t)?Ie:wr;return n&&_o(t,e,n)&&(e=i),r(t,uo(e,3))},Qn.find=va,Qn.findIndex=Ho,Qn.findKey=function(t,e){return Qe(t,uo(e,3),_r)},Qn.findLast=ga,Qn.findLastIndex=Go,Qn.findLastKey=function(t,e){return Qe(t,uo(e,3),xr)},Qn.floor=_l,Qn.forEach=ya,Qn.forEachRight=ba,Qn.forIn=function(t,e){return null==t?t:yr(t,uo(e,3),Ms)},Qn.forInRight=function(t,e){return null==t?t:br(t,uo(e,3),Ms)},Qn.forOwn=function(t,e){return t&&_r(t,uo(e,3))},Qn.forOwnRight=function(t,e){return t&&xr(t,uo(e,3))},Qn.get=As,Qn.gt=Ua,Qn.gte=Va,Qn.has=function(t,e){return null!=t&&vo(t,e,Or)},Qn.hasIn=Os,Qn.head=Wo,Qn.identity=il,Qn.includes=function(t,e,n,r){t=Wa(t)?t:Qs(t),n=n&&!r?ws(n):0;var i=t.length;return n<0&&(n=yn(i+n,0)),ls(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Ve(t,e,n)>-1},Qn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ws(n);return i<0&&(i=yn(r+i,0)),Ve(t,e,i)},Qn.inRange=function(t,e,n){return e=ps(e),n===i?(n=e,e=0):n=ps(n),function(t,e,n){return t>=bn(e,n)&&t<yn(e,n)}(t=vs(t),e,n)},Qn.invoke=Is,Qn.isArguments=Ha,Qn.isArray=Ga,Qn.isArrayBuffer=za,Qn.isArrayLike=Wa,Qn.isArrayLikeObject=$a,Qn.isBoolean=function(t){return!0===t||!1===t||ns(t)&&Pr(t)==b},Qn.isBuffer=Ka,Qn.isDate=Ya,Qn.isElement=function(t){return ns(t)&&1===t.nodeType&&!os(t)},Qn.isEmpty=function(t){if(null==t)return!0;if(Wa(t)&&(Ga(t)||"string"==typeof t||"function"==typeof t.splice||Ka(t)||cs(t)||Ha(t)))return!t.length;var e=mo(t);if(e==S||e==E)return!t.size;if(So(t))return!Br(t).length;for(var n in t)if(jt.call(t,n))return!1;return!0},Qn.isEqual=function(t,e){return Mr(t,e)},Qn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:i)?n(t,e):i;return r===i?Mr(t,e,i,n):!!r},Qn.isError=Za,Qn.isFinite=function(t){return"number"==typeof t&&be(t)},Qn.isFunction=Ja,Qn.isInteger=Xa,Qn.isLength=ts,Qn.isMap=rs,Qn.isMatch=function(t,e){return t===e||Rr(t,e,ho(e))},Qn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:i,Rr(t,e,ho(e),n)},Qn.isNaN=function(t){return is(t)&&t!=+t},Qn.isNative=function(t){if(Co(t))throw new Ct("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Dr(t)}
vendor: 4,696 bytes, line 2
2,Qn.isNil=function(t){return null==t},Qn.isNull=function(t){return null===t},Qn.isNumber=is,Qn.isObject=es,Qn.isObjectLike=ns,Qn.isPlainObject=os,Qn.isRegExp=as,Qn.isSafeInteger=function(t){return Xa(t)&&t>=-9007199254740991&&t<=p},Qn.isSet=ss,Qn.isString=ls,Qn.isSymbol=us,Qn.isTypedArray=cs,Qn.isUndefined=function(t){return t===i},Qn.isWeakMap=function(t){return ns(t)&&mo(t)==M},Qn.isWeakSet=function(t){return ns(t)&&"[object WeakSet]"==Pr(t)},Qn.join=function(t,e){return null==t?"":qe.call(t,e)},Qn.kebabCase=Gs,Qn.last=Zo,Qn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=ws(n))<0?yn(r+o,0):bn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):Ue(t,Ge,o,!0)},Qn.lowerCase=zs,Qn.lowerFirst=Ws,Qn.lt=ds,Qn.lte=hs,Qn.max=function(t){return t&&t.length?mr(t,il,Ar):i},Qn.maxBy=function(t,e){return t&&t.length?mr(t,uo(e,2),Ar):i},Qn.mean=function(t){return ze(t,il)},Qn.meanBy=function(t,e){return ze(t,uo(e,2))},Qn.min=function(t){return t&&t.length?mr(t,il,Fr):i},Qn.minBy=function(t,e){return t&&t.length?mr(t,uo(e,2),Fr):i},Qn.stubArray=ml,Qn.stubFalse=vl,Qn.stubObject=function(){return{}},Qn.stubString=function(){return""},Qn.stubTrue=function(){return!0},Qn.multiply=kl,Qn.nth=function(t,e){return t&&t.length?Hr(t,ws(e)):i},Qn.noConflict=function(){return we._===this&&(we._=Qt),this},Qn.noop=ul,Qn.now=Aa,Qn.pad=function(t,e,n){t=ys(t);var r=(e=ws(e))?pn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Gi(me(i),n)+t+Gi(pe(i),n)},Qn.padEnd=function(t,e,n){t=ys(t);var r=(e=ws(e))?pn(t):0;return e&&r<e?t+Gi(e-r,n):t},Qn.padStart=function(t,e,n){t=ys(t);var r=(e=ws(e))?pn(t):0;return e&&r<e?Gi(e-r,n)+t:t},Qn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),xn(ys(t).replace(at,""),e||0)},Qn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&_o(t,e,n)&&(e=n=i),n===i&&("boolean"==typeof e?(n=e,e=i):"boolean"==typeof t&&(n=t,t=i)),t===i&&e===i?(t=0,e=1):(t=ps(t),e===i?(e=t,t=0):e=ps(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=kn();return bn(t+o*(e-t+de("1e-"+((o+"").length-1))),e)}return Kr(t,e)},Qn.reduce=function(t,e,n){var r=Ga(t)?Be:Ke,i=arguments.length<3;return r(t,uo(e,4),n,i,fr)},Qn.reduceRight=function(t,e,n){var r=Ga(t)?Le:Ke,i=arguments.length<3;return r(t,uo(e,4),n,i,pr)},Qn.repeat=function(t,e,n){return e=(n?_o(t,e,n):e===i)?1:ws(e),Yr(ys(t),e)},Qn.replace=function(){var t=arguments,e=ys(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Qn.result=function(t,e,n){var r=-1,o=(e=bi(e,t)).length;for(o||(o=1,t=i);++r<o;){var a=null==t?i:t[Lo(e[r])];a===i&&(r=o,a=n),t=Ja(a)?a.call(t):a}return t},Qn.round=Cl,Qn.runInContext=t,Qn.sample=function(t){return(Ga(t)?Jn:Jr)(t)},Qn.size=function(t){if(null==t)return 0;if(Wa(t))return ls(t)?pn(t):t.length;var e=mo(t);return e==S||e==E?t.size:Br(t).length},Qn.snakeCase=$s,Qn.some=function(t,e,n){var r=Ga(t)?Fe:oi;return n&&_o(t,e,n)&&(e=i),r(t,uo(e,3))},Qn.sortedIndex=function(t,e){return ai(t,e)},Qn.sortedIndexBy=function(t,e,n){return si(t,e,uo(n,2))},Qn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=ai(t,e);if(r<n&&Qa(t[r],e))return r}return-1},Qn.sortedLastIndex=function(t,e){return ai(t,e,!0)},Qn.sortedLastIndexBy=function(t,e,n){return si(t,e,uo(n,2),!0)},Qn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=ai(t,e,!0)-1;if(Qa(t[n],e))return n}return-1},Qn.startCase=Ks,Qn.startsWith=function(t,e,n){return t=ys(t),n=null==n?0:lr(ws(n),0,t.length),e=ci(e),t.slice(n,n+e.length)==e},Qn.subtract=Sl,Qn.sum=function(t){return t&&t.length?Ye(t,il):0},Qn.sumBy=function(t,e){return t&&t.length?Ye(t,uo(e,2)):0},Qn.template=function(t,e,n){var r=Qn.templateSettings;n&&_o(t,e,n)&&(e=i),t=ys(t),e=xs({},e,r,Xi);var o,a,s=xs({},e.imports,r.imports,Xi),l=Ns(s),u=tn(s,l),c=0,d=e.interpolate||xt,h="__p += '",f=Ot((e.escape||xt).source+"|"+d.source+"|"+(d===tt?pt:xt).source+"|"+(e.evaluate||xt).source+"|$","g"),p="//# sourceURL="+(jt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++se+"]")+"\n";t.replace(f,(function(e,n,r,i,s,l){return r||(r=i),h+=t.slice(c,l).replace(kt,sn),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+e.length,e})),h+="';\n";var w=jt.call(e,"variable")&&e.variable;if(w){if(ht.test(w))throw new Ct("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(a?h.replace(G,""):h).replace(z,"$1").replace(W,"$1;"),h="function("+(w||"obj")+") {\n"+(w?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
2\n")+h+"return __p\n}";var m=Xs((function(){return St(l,p+"return "+h).apply(i,u)}));if(m.source=h,Za(m))throw m;return m},Qn.times=function(t,e){if((t=ws(t))<1||t>p)return[];var n=m,r=bn(t,m);e=uo(e),t-=m;for(var i=Ze(r,e);++n<t;)e(n);return i},Qn.toFinite=ps,Qn.toInteger=ws,Qn.toLength=ms,Qn.toLower=function(t){return ys(t).toLowerCase()},Qn.toNumber=vs,Qn.toSafeInteger=function(t){return t?lr(ws(t),-9007199254740991,p):0===t?t:0},Qn.toString=ys,Qn.toUpper=function(t){return ys(t).toUpperCase()},Qn.trim=function(t,e,n){if((t=ys(t))&&(n||e===i))return Je(t);if(!t||!(e=ci(e)))return t;var r=wn(t),o=wn(e);return xi(r,nn(r,o),rn(r,o)+1).join("")},Qn.trimEnd=function(t,e,n){if((t=ys(t))&&(n||e===i))return t.slice(0,mn(t)+1);if(!t||!(e=ci(e)))return t;var r=wn(t);return xi(r,0,rn(r,wn(e))+1).join("")},Qn.trimStart=function(t,e,n){if((t=ys(t))&&(n||e===i))return t.replace(at,"");if(!t||!(e=ci(e)))return t;var r=wn(t);return xi(r,nn(r,wn(e))).join("")},Qn.truncate=function(t,e){var n=30,r="...";if(es(e)){var o="separator"in e?e.separator:o;n="length"in e?ws(e.length):n,r="omission"in e?ci(e.omission):r}var a=(t=ys(t)).length;if(ln(t)){var s=wn(t);a=s.length}if(n>=a)return t;var l=n-pn(r);if(l<1)return r;var u=s?xi(s,0,l).join(""):t.slice(0,l);if(o===i)return u+r;if(s&&(l+=u.length-l),as(o)){if(t.slice(l).search(o)){var c,d=u;for(o.global||(o=Ot(o.source,ys(wt.exec(o))+"g")),o.lastIndex=0;c=o.exec(d);)var h=c.index;u=u.slice(0,h===i?l:h)}}else if(t.indexOf(ci(o),l)!=l){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+r},Qn.unescape=function(t){return(t=ys(t))&&Y.test(t)?t.replace($,vn):t},Qn.uniqueId=function(t){var e=++Bt;return ys(t)+e},Qn.upperCase=Ys,Qn.upperFirst=Zs,Qn.each=ya,Qn.eachRight=ba,Qn.first=Wo,ll(Qn,(xl={},_r(Qn,(function(t,e){jt.call(Qn.prototype,e)||(xl[e]=t)})),xl),{chain:!1}),Qn.VERSION="4.17.21",Te(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Qn[t].placeholder=Qn})),Te(["drop","take"],(function(t,e){Gn.prototype[t]=function(n){n=n===i?1:yn(ws(n),0);var r=this.__filtered__&&!e?new Gn(this):this.clone();return r.__filtered__?r.__takeCount__=bn(n,r.__takeCount__):r.__views__.push({size:bn(n,m),type:t+(r.__dir__<0?"Right":"")}),r},Gn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Te(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Gn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:uo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Te(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Gn.prototype[t]=function(){return this[n](1).value()[0]}})),Te(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Gn.prototype[t]=function(){return this.__filtered__?new Gn(this):this[n](1)}})),Gn.prototype.compact=function(){return this.filter(il)},Gn.prototype.find=function(t){return this.filter(t).head()},Gn.prototype.findLast=function(t){return this.reverse().find(t)},Gn.prototype.invokeMap=Zr((function(t,e){return"function"==typeof t?new Gn(this):this.map((function(n){return Ir(n,t,e)}))})),Gn.prototype.reject=function(t){return this.filter(ja(uo(t)))},Gn.prototype.slice=function(t,e){t=ws(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Gn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=ws(e))<0?n.dropRight(-e):n.take(e-t)),n)},Gn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Gn.prototype.toArray=function(){return this.take(m)},_r(Gn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Qn[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);o&&(Qn.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,l=e instanceof Gn,u=s[0],c=l||Ga(e),d=function(t){var e=o.apply(Qn,je([t],s));return r&&h?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,w=l&&!f;if(!a&&c){e=w?e:new Gn(this);var m=t.apply(e,s);return m.__actions__.push({func:pa,args:[d],thisArg:i}),new Hn(m,h)}return p&&w?t.apply(this,s):(m=this.thru(d),p?r?m.value()[0]:m.value():m)})})),Te(["pop","push","shift","sort","splice","unshift"],(function(t){var e=It[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Qn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ga(i)?i:[],t)}return this[n]((function(n){return e.apply(Ga(n)?n:[],t)}))}})),_r(Gn.prototype,(function(t,e){var n=Qn[e];if(n){var r=n.name+"";jt.call(Nn,r)||(Nn[r]=[]),Nn[r].push({name:e,func:n})}})),Nn[Qi(i,2).name]=[{name:"wrapper",func:i}],Gn.prototype.clone=function(){var t=new Gn(this.__wrapped__);return t.__actions__=Ei(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ei(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ei(this.__views__),t},Gn.prototype.reverse=function(){if(this.__filtered__){var t=new Gn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Gn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ga(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=bn(e,t+a);break;case"takeRight":t=yn(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,d=c.length,h=0,f=bn(l,this.__takeCount__);if(!n||!r&&i==l&&f==l)return wi(t,this.__actions__);var p=[];t:for(;l--&&h<f;){for(var w=-1,m=t[u+=e];++w<d;){var v=c[w],g=v.iteratee,y=v.type,b=g(m);if(2==y)m=b;else if(!b){if(1==y)continue t;break t}}p[h++]=m}return p},Qn.prototype.at=wa,Qn.prototype.chain=function(){return fa(this)},Qn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Qn.prototype.next=function(){this.__values__===i&&(this.__values__=fs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Qn.prototype.plant=function(t){for(var e,n=this;n instanceof Vn;){var r=qo(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Qn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Gn){var e=t;return this.__actions__.length&&(e=new Gn(this)),(e=e.reverse()).__actions__.push({func:pa,args:[ea],thisArg:i}),new Hn(e,this.__chain__)}return this.thru(ea)},Qn.prototype.toJSON=Qn.prototype.valueOf=Qn.prototype.value=function(){return wi(this.__wrapped__,this.__actions__)},Qn.prototype.first=Qn.prototype.head,Jt&&(Qn.prototype[Jt]=function(){return this}),Qn}();we._=gn,(r=function(){return gn}.call(e,n,e,t))===i||(t.exports=r)}.call(this)},88306:(t,e,n)=>{var r=n(83369);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);
2var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},7771:(t,e,n)=>{var r=n(55639);t.exports=function(){return r.Date.now()}},39601:(t,e,n)=>{var r=n(40371),i=n(79152),o=n(15403),a=n(40327);t.exports=function(t){return o(t)?r(a(t)):i(t)}},36968:(t,e,n)=>{var r=n(10611);t.exports=function(t,e,n){return null==t?t:r(t,e,n)}},70479:t=>{t.exports=function(){return[]}},95062:t=>{t.exports=function(){return!1}},18601:(t,e,n)=>{var r=n(14841),i=1/0;t.exports=function(t){return t?(t=r(t))===i||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},40554:(t,e,n)=>{var r=n(18601);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},14841:(t,e,n)=>{var r=n(27561),i=n(13218),o=n(33448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||l.test(t)?u(t.slice(2),n?2:8):a.test(t)?NaN:+t}},79833:(t,e,n)=>{var r=n(80531);t.exports=function(t){return null==t?"":r(t)}},75212:(t,e,n)=>{"use strict";var r,i=n(34155);function o(t,e){if(!t)throw"First parameter is required.";e=new a(t,e=e||{type:"video"});var n=this;function r(n){n&&(e.initCallback=function(){n(),n=e.initCallback=null});var r=new s(t,e);(h=new r(t,e)).record(),d("recording"),e.disableLogs||console.log("Initialized recorderType:",h.constructor.name,"for output-type:",e.type)}function i(t){if(t=t||function(){},h){if("paused"===n.state)return n.resumeRecording(),void setTimeout((function(){i(t)}),1);"recording"===n.state||e.disableLogs||console.warn('Recording state should be: "recording", however current state is: ',n.state),e.disableLogs||console.log("Stopped recording "+e.type+" stream."),"gif"!==e.type?h.stop(r):(h.stop(),r()),d("stopped")}else w();function r(r){if(h){Object.keys(h).forEach((function(t){"function"!=typeof h[t]&&(n[t]=h[t])}));var i=h.blob;if(!i){if(!r)throw"Recording failed.";h.blob=i=r}if(i&&!e.disableLogs&&console.log(i.type,"->",_(i.size)),t){var o;try{o=p.createObjectURL(i)}catch(t){}"function"==typeof t.call?t.call(n,o):t(o)}e.autoWriteToDisk&&u((function(t){var n={};n[e.type+"Blob"]=t,M.Store(n)}))}else"function"==typeof t.call?t.call(n,""):t("")}}function l(t){postMessage((new FileReaderSync).readAsDataURL(t))}function u(t,n){if(!t)throw"Pass a callback function over getDataURL.";var r=n?n.blob:(h||{}).blob;if(!r)return e.disableLogs||console.warn("Blob encoder did not finish its job yet."),void setTimeout((function(){u(t,n)}),1e3);if("undefined"==typeof Worker||navigator.mozGetUserMedia){var i=new FileReader;i.readAsDataURL(r),i.onload=function(e){t(e.target.result)}}else{var o=function(t){try{var e=p.createObjectURL(new Blob([t.toString(),"this.onmessage =  function (eee) {"+t.name+"(eee.data);}"],{type:"application/javascript"})),n=new Worker(e);return p.revokeObjectURL(e),n}catch(t){}}(l);o.onmessage=function(e){t(e.data)},o.postMessage(r)}}function c(t){t=t||0,"paused"!==n.state?"stopped"!==n.state&&(t>=n.recordingDuration?i(n.onRecordingStopped):(t+=1e3,setTimeout((function(){c(t)}),1e3))):setTimeout((function(){c(t)}),1e3)}function d(t){n&&(n.state=t,"function"==typeof n.onStateChanged.call?n.onStateChanged.call(n,t):n.onStateChanged(t))}var h,f='It seems that recorder is destroyed or "startRecording" is not invoked for '+e.type+" recorder.";function w(){!0!==e.disableLogs&&console.warn(f)}var m={startRecording:function(i){return e.disableLogs||console.log("RecordRTC version: ",n.version),i&&(e=new a(t,i)),e.disableLogs||console.log("started recording "+e.type+" stream."),h?(h.clearRecordedData(),h.record(),d("recording"),n.recordingDuration&&c(),n):(r((function(){n.recordingDuration&&c()})),n)},stopRecording:i,pauseRecording:function(){h?"recording"===n.state?(d("paused"),h.pause(),e.disableLogs||console.log("Paused recording.")):e.disableLogs||console.warn("Unable to pause the recording. Recording state: ",n.state):w()},resumeRecording:function(){h?"paused"===n.state?(d("recording"),h.resume(),e.disableLogs||console.log("Resumed recording.")):e.disableLogs||console.warn("Unable to resume the recording. Recording state: ",n.state):w()}
vendor: 17,382 bytes, line 2
2,initRecorder:r,setRecordingDuration:function(t,e){if(void 0===t)throw"recordingDuration is required.";if("number"!=typeof t)throw"recordingDuration must be a number.";return n.recordingDuration=t,n.onRecordingStopped=e||function(){},{onRecordingStopped:function(t){n.onRecordingStopped=t}}},clearRecordedData:function(){h?(h.clearRecordedData(),e.disableLogs||console.log("Cleared old recorded data.")):w()},getBlob:function(){if(h)return h.blob;w()},getDataURL:u,toURL:function(){if(h)return p.createObjectURL(h.blob);w()},getInternalRecorder:function(){return h},save:function(t){h?x(h.blob,t):w()},getFromDisk:function(t){h?o.getFromDisk(e.type,t):w()},setAdvertisementArray:function(t){e.advertisement=[];for(var n=t.length,r=0;r<n;r++)e.advertisement.push({duration:r,image:t[r]})},blob:null,bufferSize:0,sampleRate:0,buffer:null,reset:function(){"recording"!==n.state||e.disableLogs||console.warn("Stop an active recorder."),h&&"function"==typeof h.clearRecordedData&&h.clearRecordedData(),h=null,d("inactive"),n.blob=null},onStateChanged:function(t){e.disableLogs||console.log("Recorder state changed:",t)},state:"inactive",getState:function(){return n.state},destroy:function(){var t=e.disableLogs;e={disableLogs:!0},n.reset(),d("destroyed"),m=n=null,P.AudioContextConstructor&&(P.AudioContextConstructor.close(),P.AudioContextConstructor=null),e.disableLogs=t,e.disableLogs||console.log("RecordRTC is destroyed.")},version:"5.6.2"};if(!this)return n=m,m;for(var v in m)this[v]=m[v];return n=this,m}function a(t,e){return e.recorderType||e.type||(e.audio&&e.video?e.type="video":e.audio&&!e.video&&(e.type="audio")),e.recorderType&&!e.type&&(e.recorderType===I||e.recorderType===E||void 0!==B&&e.recorderType===B?e.type="video":e.recorderType===R?e.type="gif":e.recorderType===T?e.type="audio":e.recorderType===O&&(C(t,"audio").length&&C(t,"video").length||!C(t,"audio").length&&C(t,"video").length?e.type="video":C(t,"audio").length&&!C(t,"video").length&&(e.type="audio"))),void 0!==O&&"undefined"!=typeof MediaRecorder&&"requestData"in MediaRecorder.prototype&&(e.mimeType||(e.mimeType="video/webm"),e.type||(e.type=e.mimeType.split("/")[0]),e.bitsPerSecond),e.type||(e.mimeType&&(e.type=e.mimeType.split("/")[0]),e.type||(e.type="audio")),e}function s(t,e){var n;return(g||w||m)&&(n=T),"undefined"!=typeof MediaRecorder&&"requestData"in MediaRecorder.prototype&&!g&&(n=O),"video"===e.type&&(g||m)&&(n=I,void 0!==B&&"undefined"!=typeof ReadableStream&&(n=B)),"gif"===e.type&&(n=R),"canvas"===e.type&&(n=E),A()&&n!==E&&n!==R&&"undefined"!=typeof MediaRecorder&&"requestData"in MediaRecorder.prototype&&(C(t,"video").length||C(t,"audio").length)&&("audio"===e.type?"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported("audio/webm")&&(n=O):"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported("video/webm")&&(n=O)),t instanceof Array&&t.length&&(n=j),e.recorderType&&(n=e.recorderType),!e.disableLogs&&n&&n.name&&console.log("Using recorderType:",n.name||n.constructor.name),!n&&y&&(n=O),n}function l(t){this.addStream=function(e){e&&(t=e)},this.mediaType={audio:!0,video:!0},this.startRecording=function(){var e,n=this.mediaType,r=this.mimeType||{audio:null,video:null,gif:null};if("function"!=typeof n.audio&&A()&&!C(t,"audio").length&&(n.audio=!1),"function"!=typeof n.video&&A()&&!C(t,"video").length&&(n.video=!1),"function"!=typeof n.gif&&A()&&!C(t,"video").length&&(n.gif=!1),!n.audio&&!n.video&&!n.gif)throw"MediaStream must have either audio or video tracks.";if(n.audio&&(e=null,"function"==typeof n.audio&&(e=n.audio),this.audioRecorder=new o(t,{type:"audio",bufferSize:this.bufferSize,sampleRate:this.sampleRate,numberOfAudioChannels:this.numberOfAudioChannels||2,disableLogs:this.disableLogs,recorderType:e,mimeType:r.audio,timeSlice:this.timeSlice,onTimeStamp:this.onTimeStamp}),n.video||this.audioRecorder.startRecording()),n.video){e=null,"function"==typeof n.video&&(e=n.video);var i=t;if(A()&&n.audio&&"function"==typeof n.audio){var a=C(t,"video")[0];v?((i=new b).addTrack(a),e&&e===I&&(e=O)):(i=new b).addTrack(a)}this.videoRecorder=new o(i,{type:"video",video:this.video,canvas:this.canvas,frameInterval:this.frameInterval||10,disableLogs:this.disableLogs,recorderType:e,mimeType:r.video,timeSlice:this.timeSlice,onTimeStamp:this.onTimeStamp,workerPath:this.workerPath,webAssemblyPath:this.webAssemblyPath,frameRate:this.frameRate,bitrate:this.bitrate}),n.audio||this.videoRecorder.startRecording()}if(n.audio&&n.video){var s=this,l=!0===A();(n.audio instanceof T&&n.video||!0!==n.audio&&!0!==n.video&&n.audio!==n.video)&&(l=!1),!0===l?(s.audioRecorder=null,s.videoRecorder.startRecording()):s.videoRecorder.initRecorder((function(){s.audioRecorder.initRecorder((function(){s.videoRecorder.startRecording(),s.audioRecorder.startRecording()}))}))}n.gif&&(e=null,"function"==typeof n.gif&&(e=n.gif),this.gifRecorder=new o(t,{type:"gif",frameRate:this.frameRate||200,quality:this.quality||10,disableLogs:this.disableLogs,recorderType:e,mimeType:r.gif}),this.gifRecorder.startRecording())},this.stopRecording=function(t){t=t||function(){},this.audioRecorder&&this.audioRecorder.stopRecording((function(e){t(e,"audio")})),this.videoRecorder&&this.videoRecorder.stopRecording((function(e){t(e,"video")})),this.gifRecorder&&this.gifRecorder.stopRecording((function(e){t(e,"gif")}))},this.pauseRecording=function(){this.audioRecorder&&this.audioRecorder.pauseRecording(),this.videoRecorder&&this.videoRecorder.pauseRecording(),this.gifRecorder&&this.gifRecorder.pauseRecording()},this.resumeRecording=function(){this.audioRecorder&&this.audioRecorder.resumeRecording(),this.videoRecorder&&this.videoRecorder.resumeRecording(),this.gifRecorder&&this.gifRecorder.resumeRecording()},this.getBlob=function(t){var e={};return this.audioRecorder&&(e.audio=this.audioRecorder.getBlob()),this.videoRecorder&&(e.video=this.videoRecorder.getBlob()),this.gifRecorder&&(e.gif=this.gifRecorder.getBlob()),t&&t(e),e},this.destroy=function(){this.audioRecorder&&(this.audioRecorder.destroy(),this.audioRecorder=null),this.videoRecorder&&(this.videoRecorder.destroy(),this.videoRecorder=null),this.gifRecorder&&(this.gifRecorder.destroy(),this.gifRecorder=null)},this.getDataURL=function(t){function e(t,e){if("undefined"!=typeof Worker){var n=function(t){var e,n=p.createObjectURL(new Blob([t.toString(),"this.onmessage =  function (eee) {"+t.name+"(eee.data);}"],{type:"application/javascript"})),r=new Worker(n);if(void 0!==p)e=p;else{if("undefined"==typeof webkitURL)throw"Neither URL nor webkitURL detected.";e=webkitURL}return e.revokeObjectURL(n),r}((function(t){postMessage((new FileReaderSync).readAsDataURL(t))}));n.onmessage=function(t){e(t.data)},n.postMessage(t)}else{var r=new FileReader;r.readAsDataURL(t),r.onload=function(t){e(t.target.result)}}}this.getBlob((function(n){n.audio&&n.video?e(n.audio,(function(r){e(n.video,(function(e){t({audio:r,video:e})}))})):n.audio?e(n.audio,(function(e){t({audio:e})})):n.video&&e(n.video,(function(e){t({video:e})}))}))},this.writeToDisk=function(){o.writeToDisk({audio:this.audioRecorder,video:this.videoRecorder,gif:this.gifRecorder})},this.save=function(t){(t=t||{audio:!0,video:!0,gif:!0}).audio&&this.audioRecorder&&this.audioRecorder.save("string"==typeof t.audio?t.audio:""),t.video&&this.videoRecorder&&this.videoRecorder.save("string"==typeof t.video?t.video:""),t.gif&&this.gifRecorder&&this.gifRecorder.save("string"==typeof t.gif?t.gif:"")}}o.version="5.6.2",t.exports=o,void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r),o.getFromDisk=function(t,e){if(!e)throw"callback is mandatory.";console.log("Getting recorded "+("all"===t?"blobs":t+" blob ")+" from disk!"),M.Fetch((function(n,r){"all"!==t&&r===t+"Blob"&&e&&e(n),"all"===t&&e&&e(n,r.replace("Blob",""))}))},o.writeToDisk=function(t){console.log("Writing recorded blob(s) to disk!"),(t=t||{}).audio&&t.video&&t.gif?t.audio.getDataURL((function(e){t.video.getDataURL((function(n){t.gif.getDataURL((function(t){M.Store({audioBlob:e,videoBlob:n,gifBlob:t})}))}))})):t.audio&&t.video?t.audio.getDataURL((function(e){t.video.getDataURL((function(t){M.Store({audioBlob:e,videoBlob:t})}))})):t.audio&&t.gif?t.audio.getDataURL((function(e){t.gif.getDataURL((function(t){M.Store({audioBlob:e,gifBlob:t})}))})):t.video&&t.gif?t.video.getDataURL((function(e){t.gif.getDataURL((function(t){M.Store({videoBlob:e,gifBlob:t})}))})):t.audio?t.audio.getDataURL((function(t){M.Store({audioBlob:t})})):t.video?t.video.getDataURL((function(t){M.Store({videoBlob:t})})):t.gif&&t.gif.getDataURL((function(t){M.Store({gifBlob:t})}))},l.getFromDisk=o.getFromDisk,l.writeToDisk=o.writeToDisk,void 0!==o&&(o.MRecordRTC=l);var u;(u=void 0!==n.g?n.g:null)&&"undefined"==typeof window&&void 0!==n.g&&(n.g.navigator={userAgent:"Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45",getUserMedia:function(){}},n.g.console||(n.g.console={}),void 0!==n.g.console.log&&void 0!==n.g.console.error||(n.g.console.error=n.g.console.log=n.g.console.log||function(){console.log(arguments)}),"undefined"==typeof document&&(u.document={documentElement:{appendChild:function(){return""}}},document.createElement=document.captureStream=document.mozCaptureStream=function(){var t={getContext:function(){return t},play:function(){},pause:function(){},drawImage:function(){},toDataURL:function(){return""},style:{}};return t},u.HTMLVideoElement=function(){}),"undefined"==typeof location&&(u.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(u.screen={width:0,height:0}),void 0===p&&(u.URL={createObjectURL:function(){return""},revokeObjectURL:function(){return""}}),u.window=n.g);var c=window.requestAnimationFrame;if(void 0===c)if("undefined"!=typeof webkitRequestAnimationFrame)c=webkitRequestAnimationFrame;else if("undefined"!=typeof mozRequestAnimationFrame)c=mozRequestAnimationFrame;else if("undefined"!=typeof msRequestAnimationFrame)c=msRequestAnimationFrame;else if(void 0===c){var d=0;c=function(t,e){var n=(new Date).getTime(),r=Math.max(0,16-(n-d)),i=setTimeout((function(){t(n+r)}),r);return d=n+r,i}}var h=window.cancelAnimationFrame;void 0===h&&("undefined"!=typeof webkitCancelAnimationFrame?h=webkitCancelAnimationFrame:"undefined"!=typeof mozCancelAnimationFrame?h=mozCancelAnimationFrame:"undefined"!=typeof msCancelAnimationFrame?h=msCancelAnimationFrame:void 0===h&&(h=function(t){clearTimeout(t)}));var f=window.AudioContext;void 0===f&&("undefined"!=typeof webkitAudioContext&&(f=webkitAudioContext),"undefined"!=typeof mozAudioContext&&(f=mozAudioContext));var p=window.URL;void 0===p&&"undefined"!=typeof webkitURL&&(p=webkitURL),"undefined"!=typeof navigator&&void 0===navigator.getUserMedia&&(void 0!==navigator.webkitGetUserMedia&&(navigator.getUserMedia=navigator.webkitGetUserMedia),void 0!==navigator.mozGetUserMedia&&(navigator.getUserMedia=navigator.mozGetUserMedia));var w=!(-1===navigator.userAgent.indexOf("Edge")||!navigator.msSaveBlob&&!navigator.msSaveOrOpenBlob),m=!!window.opera||-1!==navigator.userAgent.indexOf("OPR/"),v=navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&"netscape"in window&&/ rv:/.test(navigator.userAgent),g=!m&&!w&&!!navigator.webkitGetUserMedia||k()||-1!==navigator.userAgent.toLowerCase().indexOf("chrome/"),y=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);y&&!g&&-1!==navigator.userAgent.indexOf("CriOS")&&(y=!1,g=!0);var b=window.MediaStream;function _(t){if(0===t)return"0 Bytes";var e=parseInt(Math.floor(Math.log(t)/Math.log(1e3)),10);return(t/Math.pow(1e3,e)).toPrecision(3)+" "+["Bytes","KB","MB","GB","TB"][e]}function x(t,e){if(!t)throw"Blob object is required.";if(!t.type)try{t.type="video/webm"}catch(t){}var n=(t.type||"video/webm").split("/")[1];if(-1!==n.indexOf(";")&&(n=n.split(";")[0]),e&&-1!==e.indexOf(".")){var r=e.split(".");e=r[0],n=r[1]}var i=(e||Math.round(9999999999*Math.random())+888888888)+"."+n;if(void 0!==navigator.msSaveOrOpenBlob)return navigator.msSaveOrOpenBlob(t,i);if(void 0!==navigator.msSaveBlob)return navigator.msSaveBlob(t,i);var o=document.createElement("a");o.href=p.createObjectURL(t),o.download=i,o.style="display:none;opacity:0;color:transparent;",(document.body||document.documentElement).appendChild(o),"function"==typeof o.click?o.click():(o.target="_blank",o.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))),p.revokeObjectURL(o.href)}function k(){return"undefined"!=typeof window&&"object"==typeof window.process&&"renderer"===window.process.type||(!(void 0===i||"object"!=typeof i.versions||!i.versions.electron)||"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron")>=0)}function C(t,e){return t&&t.getTracks?t.getTracks().filter((function(t){return t.kind===(e||"audio")})):[]}function S(t,e){"srcObject"in e?e.srcObject=t:"mozSrcObject"in e?e.mozSrcObject=t:e.srcObject=t}void 0===b&&"undefined"!=typeof webkitMediaStream&&(b=webkitMediaStream),void 0!==b&&void 0===b.prototype.stop&&(b.prototype.stop=function(){this.getTracks().forEach((function(t){t.stop()}))}),void 0!==o&&(o.invokeSaveAsDialog=x,o.getTracks=C,o.getSeekableBlob=function(t,e){if("undefined"==typeof EBML)throw new Error("Please link: https://www.webrtc-experiment.com/EBML.js");var n=new EBML.Reader,r=new EBML.Decoder,i=EBML.tools,o=new FileReader;o.onload=function(t){r.decode(this.result).forEach((function(t){n.read(t)})),n.stop();var o=i.makeMetadataSeekable(n.metadatas,n.duration,n.cues),a=this.result.slice(n.metadataSize),s=new Blob([o,a],{type:"video/webm"});e(s)},o.readAsArrayBuffer(t)},o.bytesToSize=_,o.isElectron=k);var P={};function A(){if(v||y||w)return!0;navigator.appVersion;var t,e,n=navigator.userAgent,r=""+parseFloat(navigator.appVersion),i=parseInt(navigator.appVersion,10);return(g||m)&&(t=n.indexOf("Chrome"),r=n.substring(t+7)),-1!==(e=r.indexOf(";"))&&(r=r.substring(0,e)),-1!==(e=r.indexOf(" "))&&(r=r.substring(0,e)),i=parseInt(""+r,10),isNaN(i)&&(r=""+parseFloat(navigator.appVersion),i=parseInt(navigator.appVersion,10)),i>=49}function O(t,e){var n=this;if(void 0===t)throw'First argument "MediaStream" is required.';if("undefined"==typeof MediaRecorder)throw"Your browser does not support the Media Recorder API. Please try other modules e.g. WhammyRecorder or StereoAudioRecorder.";if("audio"===(e=e||{mimeType:"video/webm"}).type){var r;if(C(t,"video").length&&C(t,"audio").length)navigator.mozGetUserMedia?(r=new b).addTrack(C(t,"audio")[0]):r=new b(C(t,"audio")),t=r;e.mimeType&&-1!==e.mimeType.toString().toLowerCase().indexOf("audio")||(e.mimeType=g?"audio/webm":"audio/ogg"),e.mimeType&&"audio/ogg"!==e.mimeType.toString().toLowerCase()&&navigator.mozGetUserMedia&&(e.mimeType="audio/ogg")}var i,o=[];function a(){n.timestamps.push((new Date).getTime()),"function"==typeof e.onTimeStamp&&e.onTimeStamp(n.timestamps[n.timestamps.length-1],n.timestamps)}function s(t){return i&&i.mimeType?i.mimeType:t.mimeType||"video/webm"}function l(){o=[],i=null,n.timestamps=[]}this.getArrayOfBlobs=function(){return o},this.record=function(){n.blob=null,n.clearRecordedData(),n.timestamps=[],u=[],o=[];var r=e;e.disableLogs||console.log("Passing following config over MediaRecorder API.",r),i&&(i=null),g&&!A()&&(r="video/vp8"),"function"==typeof MediaRecorder.isTypeSupported&&r.mimeType&&(MediaRecorder.isTypeSupported(r.mimeType)||(e.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",r.mimeType),r.mimeType="audio"===e.type?"audio/webm":"video/webm"));try{i=new MediaRecorder(t,r),e.mimeType=r.mimeType}catch(e){i=new MediaRecorder(t)}r.mimeType&&!MediaRecorder.isTypeSupported&&"canRecordMimeType"in i&&!1===i.canRecordMimeType(r.mimeType)&&(e.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",r.mimeType)),i.ondataavailable=function(t){if(t.data&&u.push("ondataavailable: "+_(t.data.size)),"number"!=typeof e.timeSlice)!t.data||!t.data.size||t.data.size<100||n.blob?n.recordingCallback&&(n.recordingCallback(new Blob([],{type:s(r)})),n.recordingCallback=null):(n.blob=e.getNativeBlob?t.data:new Blob([t.data],{type:s(r)}),n.recordingCallback&&(n.recordingCallback(n.blob),n.recordingCallback=null));else if(t.data&&t.data.size&&(o.push(t.data),a(),"function"==typeof e.ondataavailable)){var i=e.getNativeBlob?t.data:new Blob([t.data],{type:s(r)});e.ondataavailable(i)}},i.onstart=function(){u.push("started")},i.onpause=function(){u.push("paused")},i.onresume=function(){u.push("resumed")},i.onstop=function(){u.push("stopped")},i.onerror=function(t){t&&(t.name||(t.name="UnknownError"),u.push("error: "+t),e.disableLogs||(-1!==t.name.toString().toLowerCase().indexOf("invalidstate")?console.error("The MediaRecorder is not in a state in which the proposed operation is allowed to be executed.",t):-1!==t.name.toString().toLowerCase().indexOf("notsupported")?console.error("MIME type (",r.mimeType,") is not supported.",t):-1!==t.name.toString().toLowerCase().indexOf("security")?console.error("MediaRecorder security error",t):"OutOfMemory"===t.name?console.error("The UA has exhaused the available memory. User agents SHOULD provide as much additional information as possible in the message attribute.",t):"IllegalStreamModification"===t.name?console.error("A modification to the stream has occurred that makes it impossible to continue recording. An example would be the addition of a Track 
2while recording is occurring. User agents SHOULD provide as much additional information as possible in the message attribute.",t):"OtherRecordingError"===t.name?console.error("Used for an fatal error other than those listed above. User agents SHOULD provide as much additional information as possible in the message attribute.",t):"GenericError"===t.name?console.error("The UA cannot provide the codec or recording option that has been requested.",t):console.error("MediaRecorder Error",t)),function(t){if(!n.manuallyStopped&&i&&"inactive"===i.state)return delete e.timeslice,void i.start(6e5);setTimeout(void 0,1e3)}(),"inactive"!==i.state&&"stopped"!==i.state&&i.stop())},"number"==typeof e.timeSlice?(a(),i.start(e.timeSlice)):i.start(36e5),e.initCallback&&e.initCallback()},this.timestamps=[],this.stop=function(t){t=t||function(){},n.manuallyStopped=!0,i&&(this.recordingCallback=t,"recording"===i.state&&i.stop(),"number"==typeof e.timeSlice&&setTimeout((function(){n.blob=new Blob(o,{type:s(e)}),n.recordingCallback(n.blob)}),100))},this.pause=function(){i&&"recording"===i.state&&i.pause()},this.resume=function(){i&&"paused"===i.state&&i.resume()},this.clearRecordedData=function(){i&&"recording"===i.state&&n.stop(l),l()},this.getInternalRecorder=function(){return i},this.blob=null,this.getState=function(){return i&&i.state||"inactive"};var u=[];this.getAllStates=function(){return u},void 0===e.checkForInactiveTracks&&(e.checkForInactiveTracks=!1);n=this;!function r(){if(i&&!1!==e.checkForInactiveTracks)return!1===function(){if("active"in t){if(!t.active)return!1}else if("ended"in t&&t.ended)return!1;return!0}()?(e.disableLogs||console.log("MediaStream seems stopped."),void n.stop()):void setTimeout(r,1e3)}(),this.name="MediaStreamRecorder",this.toString=function(){return this.name}}function T(t,e){if(!C(t,"audio").length)throw"Your stream has no audio tracks.";var n,r=this,i=[],a=[],s=!1,l=0,u=2,c=(e=e||{}).desiredSampRate;function d(){if(!1===e.checkForInactiveTracks)return!0;if("active"in t){if(!t.active)return!1}else if("ended"in t&&t.ended)return!1;return!0}function h(t,e){function n(t,e){var n,r=t.numberOfAudioChannels,i=t.leftBuffers.slice(0),o=t.rightBuffers.slice(0),a=t.sampleRate,s=t.internalInterleavedLength,l=t.desiredSampRate;function u(t,e,n){var r=Math.round(t.length*(e/n)),i=[],o=Number((t.length-1)/(r-1));i[0]=t[0];for(var a=1;a<r-1;a++){var s=a*o,l=Number(Math.floor(s)).toFixed(),u=Number(Math.ceil(s)).toFixed(),d=s-l;i[a]=c(t[l],t[u],d)}return i[r-1]=t[t.length-1],i}function c(t,e,n){return t+(e-t)*n}function d(t,e){for(var n=new Float64Array(e),r=0,i=t.length,o=0;o<i;o++){var a=t[o];n.set(a,r),r+=a.length}return n}function h(t,e,n){for(var r=n.length,i=0;i<r;i++)t.setUint8(e+i,n.charCodeAt(i))}2===r&&(i=d(i,s),o=d(o,s),l&&(i=u(i,l,a),o=u(o,l,a))),1===r&&(i=d(i,s),l&&(i=u(i,l,a))),l&&(a=l),2===r&&(n=function(t,e){for(var n=t.length+e.length,r=new Float64Array(n),i=0,o=0;o<n;)r[o++]=t[i],r[o++]=e[i],i++;return r}(i,o)),1===r&&(n=i);var f=n.length,p=new ArrayBuffer(44+2*f),w=new DataView(p);h(w,0,"RIFF"),w.setUint32(4,36+2*f,!0),h(w,8,"WAVE"),h(w,12,"fmt "),w.setUint32(16,16,!0),w.setUint16(20,1,!0),w.setUint16(22,r,!0),w.setUint32(24,a,!0),w.setUint32(28,a*r*2,!0),w.setUint16(32,2*r,!0),w.setUint16(34,16,!0),h(w,36,"data"),w.setUint32(40,2*f,!0);for(var m=f,v=44,g=0;g<m;g++)w.setInt16(v,32767*n[g],!0),v+=2;if(e)return e({buffer:p,view:w});postMessage({buffer:p,view:w})}if(t.noWorker)n(t,(function(t){e(t.buffer,t.view)}));else{var r,i,o,a=(r=n,i=p.createObjectURL(new Blob([r.toString(),";this.onmessage =  function (eee) {"+r.name+"(eee.data);}"],{type:"application/javascript"})),(o=new Worker(i)).workerURL=i,o);a.onmessage=function(t){e(t.data.buffer,t.data.view),p.revokeObjectURL(a.workerURL),a.terminate()},a.postMessage(t)}}!0===e.leftChannel&&(u=1),1===e.numberOfAudioChannels&&(u=1),(!u||u<1)&&(u=2),e.disableLogs||console.log("StereoAudioRecorder is set to record number of channels: "+u),void 0===e.checkForInactiveTracks&&(e.checkForInactiveTracks=!0),this.record=function(){if(!1===d())throw"Please make sure MediaStream is active.";b(),x=y=!1,s=!0,void 0!==e.timeSlice&&S()},this.stop=function(t){t=t||function(){},s=!1,h({desiredSampRate:c,sampleRate:g,numberOfAudioChannels:u,internalInterleavedLength:l,leftBuffers:i,rightBuffers:1===u?[]:a,noWorker:e.noWorker},(function(e,n){r.blob=new Blob([n],{type:"audio/wav"}),r.buffer=new ArrayBuffer(n.buffer.byteLength),r.view=n,r.sampleRate=c||g,r.bufferSize=v,r.length=l,x=!1,t&&t(r.blob)}))},void 0===o.Storage&&(o.Storage={AudioContextConstructor:null,AudioContext:window.AudioContext||window.webkitAudioContext}),o.Storage.AudioContextConstructor&&"closed"!==o.Storage.AudioContextConstructor.state||(o.Storage.AudioContextConstructor=new o.Storage.AudioContext);var f=o.Storage.AudioContextConstructor,w=f.createMediaStreamSource(t),m=[0,256,512,1024,2048,4096,8192,16384],v=void 0===e.bufferSize?4096:e.bufferSize;if(-1===m.indexOf(v)&&(e.disableLogs||console.log("Legal values for buffer-size are "+JSON.stringify(m,null,"\t"))),f.createJavaScriptNode)n=f.createJavaScriptNode(v,u,u);else{if(!f.createScriptProcessor)throw"WebAudio API has no support on this browser.";n=f.createScriptProcessor(v,u,u)}w.connect(n),e.bufferSize||(v=n.bufferSize);var g=void 0!==e.sampleRate?e.sampleRate:f.sampleRate||44100;(g<22050||g>96e3)&&(e.disableLogs||console.log("sample-rate must be under range 22050 and 96000.")),e.disableLogs||e.desiredSampRate&&console.log("Desired sample-rate: "+e.desiredSampRate);var y=!1;function b(){i=[],a=[],l=0,x=!1,s=!1,y=!1,f=null,r.leftchannel=i,r.rightchannel=a,r.numberOfAudioChannels=u,r.desiredSampRate=c,r.sampleRate=g,r.recordingLength=l,k={left:[],r
vendor: 22,910 bytes, line 2
2ight:[],recordingLength:0}}function _(){n&&(n.onaudioprocess=null,n.disconnect(),n=null),w&&(w.disconnect(),w=null),b()}this.pause=function(){y=!0},this.resume=function(){if(!1===d())throw"Please make sure MediaStream is active.";if(!s)return e.disableLogs||console.log("Seems recording has been restarted."),void this.record();y=!1},this.clearRecordedData=function(){e.checkForInactiveTracks=!1,s&&this.stop(_),_()},this.name="StereoAudioRecorder",this.toString=function(){return this.name};var x=!1;n.onaudioprocess=function(t){if(!y)if(!1===d()&&(e.disableLogs||console.log("MediaStream seems stopped."),n.disconnect(),s=!1),s){x||(x=!0,e.onAudioProcessStarted&&e.onAudioProcessStarted(),e.initCallback&&e.initCallback());var o=t.inputBuffer.getChannelData(0),c=new Float32Array(o);if(i.push(c),2===u){var h=t.inputBuffer.getChannelData(1),f=new Float32Array(h);a.push(f)}l+=v,r.recordingLength=l,void 0!==e.timeSlice&&(k.recordingLength+=v,k.left.push(c),2===u&&k.right.push(f))}else w&&(w.disconnect(),w=null)},f.createMediaStreamDestination?n.connect(f.createMediaStreamDestination()):n.connect(f.destination),this.leftchannel=i,this.rightchannel=a,this.numberOfAudioChannels=u,this.desiredSampRate=c,this.sampleRate=g,r.recordingLength=l;var k={left:[],right:[],recordingLength:0};function S(){s&&"function"==typeof e.ondataavailable&&void 0!==e.timeSlice&&(k.left.length?(h({desiredSampRate:c,sampleRate:g,numberOfAudioChannels:u,internalInterleavedLength:k.recordingLength,leftBuffers:k.left,rightBuffers:1===u?[]:k.right},(function(t,n){var r=new Blob([n],{type:"audio/wav"});e.ondataavailable(r),setTimeout(S,e.timeSlice)})),k={left:[],right:[],recordingLength:0}):setTimeout(S,e.timeSlice))}}function E(t,e){if("undefined"==typeof html2canvas)throw"Please link: https://www.webrtc-experiment.com/screenshot.js";(e=e||{}).frameInterval||(e.frameInterval=10);var n=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach((function(t){t in document.createElement("canvas")&&(n=!0)}));var r,i,o,a=!(!window.webkitRTCPeerConnection&&!window.webkitGetUserMedia||!window.chrome),s=50,l=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(a&&l&&l[2]&&(s=parseInt(l[2],10)),a&&s<52&&(n=!1),e.useWhammyRecorder&&(n=!1),n)if(e.disableLogs||console.log("Your browser supports both MediRecorder API and canvas.captureStream!"),t instanceof HTMLCanvasElement)r=t;else{if(!(t instanceof CanvasRenderingContext2D))throw"Please pass either HTMLCanvasElement or CanvasRenderingContext2D.";r=t.canvas}else navigator.mozGetUserMedia&&(e.disableLogs||console.error("Canvas recording is NOT supported in Firefox."));this.record=function(){if(o=!0,n&&!e.useWhammyRecorder){var t;"captureStream"in r?t=r.captureStream(25):"mozCaptureStream"in r?t=r.mozCaptureStream(25):"webkitCaptureStream"in r&&(t=r.webkitCaptureStream(25));try{var a=new b;a.addTrack(C(t,"video")[0]),t=a}catch(t){}if(!t)throw"captureStream API are NOT available.";(i=new O(t,{mimeType:e.mimeType||"video/webm"})).record()}else f.frames=[],h=(new Date).getTime(),d();e.initCallback&&e.initCallback()},this.getWebPImages=function(n){if("canvas"===t.nodeName.toLowerCase()){var r=f.frames.length;f.frames.forEach((function(t,n){var i=r-n;e.disableLogs||console.log(i+"/"+r+" frames remaining"),e.onEncodingCallback&&e.onEncodingCallback(i,r);var o=t.image.toDataURL("image/webp",1);f.frames[n].image=o})),e.disableLogs||console.log("Generating WebM"),n()}else n()},this.stop=function(t){o=!1;var r=this;n&&i?i.stop(t):this.getWebPImages((function(){f.compile((function(n){e.disableLogs||console.log("Recording finished!"),r.blob=n,r.blob.forEach&&(r.blob=new Blob([],{type:"video/webm"})),t&&t(r.blob),f.frames=[]}))}))};var u=!1;function c(){f.frames=[],o=!1,u=!1}function d(){if(u)return h=(new Date).getTime(),setTimeout(d,500);if("canvas"===t.nodeName.toLowerCase()){var n=(new Date).getTime()-h;return h=(new Date).getTime(),f.frames.push({image:(r=document.createElement("canvas"),i=r.getContext("2d"),r.width=t.width,r.height=t.height,i.drawImage(t,0,0),r),duration:n}),void(o&&setTimeout(d,e.frameInterval))}var r,i;html2canvas(t,{grabMouse:void 0===e.showMousePointer||e.showMousePointer,onrendered:function(t){var n=(new Date).getTime()-h;if(!n)return setTimeout(d,e.frameInterval);h=(new Date).getTime(),f.frames.push({image:t.toDataURL("image/webp",1),duration:n}),o&&setTimeout(d,e.frameInterval)}})}this.pause=function(){u=!0,i instanceof O&&i.pause()},this.resume=function(){u=!1,i instanceof O?i.resume():o||this.record()},this.clearRecordedData=function(){o&&this.stop(c),c()},this.name="CanvasRecorder",this.toString=function(){return this.name};var h=(new Date).getTime(),f=new N.Video(100)}function I(t,e){function n(t){t=void 0!==t?t:10;var e=(new Date).getTime()-l;return e?o?(l=(new Date).getTime(),setTimeout(n,100)):(l=(new Date).getTime(),s.paused&&s.play(),d.drawImage(s,0,0,c.width,c.height),u.frames.push({duration:e,image:c.toDataURL("image/webp")}),void(i||setTimeout(n,t,t))):setTimeout(n,t,t)}function r(t,e,n,r,i){var o=document.createElement("canvas");o.width=c.width,o.height=c.height;var a,s,l,u=o.getContext("2d"),d=[],h=-1===e,f=e&&e>0&&e<=t.length?e:t.length,p=0,w=0,m=0,v=Math.sqrt(Math.pow(255,2)+Math.pow(255,2)+Math.pow(255,2)),g=n&&n>=0&&n<=1?n:0,y=r&&r>=0&&r<=1?r:0,b=!1;s=-1,l=(a={length:f,functionToLoop:function(e,n){var r,i,o,a=function(){!b&&o-r<=o*y||(h&&(b=!0),d.push(t[n])),e()};if(b)a();else{var s=new Image;s.onload=function(){u.drawImage(s,0,0,c.width,c.height);var t=u.getImageData(0,0,c.width,c.height);r=0,i=t.data.length,o=t.data.length/4;for(var e=0;e<i;e+=4){var n={r:t.data[e],g:t.data[e+1],b:t.data[e+2]};Math.sqrt(Math.pow(n.r-p,2)+Math.pow(n.g-w,2)+Math.pow(n.b-m,2))<=v*g&&r++}a()},s.src=t[n].image}},callback:function(){(d=d.concat(t.slice(f))).length<=0&&d.push(t[t.length-1]),i(d)}}).length,function t(){++s!==l?setTimeout((function(){a.functionToLoop(t,s)}),1):a.callback()}()}(e=e||{}).frameInterval||(e.frameInterval=10),e.disableLogs||console.log("Using frames-interval:",e.frameInterval),this.record=function(){e.width||(e.width=320),e.height||(e.height=240),e.video||(e.video={width:e.width,height:e.height}),e.canvas||(e.canvas={width:e.width,height:e.height}),c.width=e.canvas.width||320,c.height=e.canvas.height||240,d=c.getContext("2d"),e.video&&e.video instanceof HTMLVideoElement?(s=e.video.cloneNode(),e.initCallback&&e.initCallback()):(s=document.createElement("video"),S(t,s),s.onloadedmetadata=function(){e.initCallback&&e.initCallback()},s.width=e.video.width,s.height=e.video.height),s.muted=!0,s.play(),l=(new Date).getTime(),u=new N.Video,e.disableLogs||(console.log("canvas resolutions",c.width,"*",c.height),console.log("video width/height",s.width||c.width,"*",s.height||c.height)),n(e.frameInterval)};var i=!1;this.stop=function(t){t=t||function(){},i=!0;var n=this;setTimeout((function(){r(u.frames,-1,null,null,(function(r){u.frames=r,e.advertisement&&e.advertisement.length&&(u.frames=e.advertisement.concat(u.frames)),u.compile((function(e){n.blob=e,n.blob.forEach&&(n.blob=new Blob([],{type:"video/webm"})),t&&t(n.blob)}))}))}),10)};var o=!1;function a(){u.frames=[],i=!0,o=!1}this.pause=function(){o=!0},this.resume=function(){o=!1,i&&this.record()},this.clearRecordedData=function(){i||this.stop(a),a()},this.name="WhammyRecorder",this.toString=function(){return this.name};var s,l,u,c=document.createElement("canvas"),d=c.getContext("2d")}void 0!==f?P.AudioContext=f:"undefined"!=typeof webkitAudioContext&&(P.AudioContext=webkitAudioContext),void 0!==o&&(o.Storage=P),void 0!==o&&(o.MediaStreamRecorder=O),void 0!==o&&(o.StereoAudioRecorder=T),void 0!==o&&(o.CanvasRecorder=E),void 0!==o&&(o.WhammyRecorder=I);var N=function(){function t(t){this.frames=[],this.duration=t||1,this.quality=.8}function e(t){function e(t,e,n){return[{data:t,id:231}].concat(n.map((function(t){var n=function(t){var e=0;t.keyframe&&(e|=128);t.invisible&&(e|=8);t.lacing&&(e|=t.lacing<<1);t.discardable&&(e|=1);if(t.trackNum>127)throw"TrackNumber > 127 not supported";return[128|t.trackNum,t.timecode>>8,255&t.timecode,e].map((function(t){return String.fromCharCode(t)})).join("")+t.frame}({discardable:0,frame:t.data.slice(4),invisible:0,keyframe:1,lacing:0,trackNum:1,timecode:Math.round(e)});return e+=t.duration,{data:n,id:163}})))}function n(t){for(var e=[];t>0;)e.push(255&t),t>>=8;return new Uint8Array(e.reverse())}function r(t){var e=[];t=(t.length%8?new Array(9-t.length%8).join("0"):"")+t;for(var n=0;n<t.length;n+=8)e.push(parseInt(t.substr(n,8),2));return new Uint8Array(e)}function i(t){for(var e=[],o=0;o<t.length;o++){var a=t[o].data;"object"==typeof a&&(a=i(a)),"number"==typeof a&&(a=r(a.toString(2))),"string"==typeof a&&(a=new Uint8Array(a.split("").map((function(t){return t.charCodeAt(0)}))));var s=a.size||a.byteLength||a.length,l=Math.ceil(Math.ceil(Math.log(s)/Math.log(2))/8),u=s.toString(2),c=new Array(7*l+7+1-u.length).join("0")+u,d=new Array(l).join("0")+"1"+c;e.push(n(t[o].id)),e.push(r(d)),e.push(a)}return new Blob(e,{type:"video/webm"})}function o(t,e){return parseInt(t.substr(e+4,4).split("").map((function(t){var e=t.charCodeAt(0).toString(2);return new Array(8-e.length+1).join("0")+e})).join(""),2)}function a(t){for(var e=0,n={};e<t.length;){var r=t.substr(e,4),i=o(t,e),s=t.substr(e+4+4,i);e+=8+i,n[r]=n[r]||[],"RIFF"===r||"LIST"===r?n[r].push(a(s)):n[r].push(s)}return n}var s=new function(t){var n=function(t){if(!t[0])return void postMessage({error:"Something went wrong. Maybe WebP format is not supported in the current browser."});for(var e=t[0].width,n=t[0].height,r=t[0].duration,i=1;i<t.length;i++)r+=t[i].duration;return{duration:r,width:e,height:n}}(t);if(!n)return[];for(var r,o=[{id:440786851,data:[{data:1,id:17030},{data:1,id:17143},{data:4,id:17138},{data:8,id:17139},{data:"webm",id:17026},{data:2,id:17031},{data:2,id:17029}]},{id:408125543,data:[{id:357149030,data:[{data:1e6,id:2807729},{data:"whammy",id:19840},{data:"whammy",id:22337},{data:(r=n.duration,[].slice.call(new Uint8Array(new Float64Array([r]).buffer),0).map((function(t){return String.fromCharCode(t)})).reverse().join("")),id:17545}]},{id:374648427,data:[{id:174,data:[{data:1,id:215},{data:1,id:29637},{data:0,id:156},{data:"und",id:2274716},{data:"V_VP8",id:134},{data:"VP8",id:2459272},{data:1,id:131},{id:224,data:[{data:n.width,id:176},{data:n.height,id:186}]}]}]}]}],a=0,s=0;a<t.length;){var l=[],u=0;do{l.push(t[a]),u+=t[a].duration,a++}while(a<t.length&&u<3e4);var c={id:524531317,data:e(s,0,l)};o[1].data.push(c),s+=u}return i(o)}(t.map((function(t){var e=function(t){for(var e=t.RIFF[0].WEBP[0],n=e.indexOf("�*"),r=0,i=[];r<4;r++)i[r]=e.charCodeAt(n+3+r);return{width:16383&(i[1]<<8|i[0]),height:16383&(i[3]<<8|i[2]),data:e,riff:t}}(a(atob(t.image.slice(23))));return e.duration=t.duration,e})));postMessage(s)}return t.prototype.add=function(t,e){if("canvas"in t&&(t=t.canvas),"toDataURL"in t&&(t=t.toDataURL("image/webp",this.quality)),!/^data:image\/webp;base64,/gi.test(t))throw"Input must be formatted properly as a base64 encoded DataURI of type image/webp";this.frames.push({image:t,duration:e||this.duration})},t.prototype.compile=function(t){var n,r,i,o=(n=e,r=p.createObjectURL(new Blob([n.toString(),"this.onmessage =  function (eee) {"+n.name+"(eee.data);}"],{type:"application/javascript"})),i=new Worker(r),p.revokeObjectURL(r),i);o.onmessage=function(e){e.data.error?console.error(e.data.error):t(e.data)},o.postMessage(this.frames)},{Video:t}}();void 0!==o&&(o.Whammy=N);var M={init:function(){var t=this;if("undefined"!=typeof indexedDB&&void 0!==indexedDB.open){var e,n=this.dbName||location.href.replace(/\/|:|#|%|\.|\[|\]/g,""),r=indexedDB.open(n,1);r.onerror=t.onError,r.onsuccess=function(){((e=r.result).onerror=t.onError,e.setVersion)?1!==e.version?e.setVersion(1).onsuccess=function(){i(e),o()}:o():o()},r.onupgradeneeded=function(t){i(t.target.result)}}else console.error("IndexedDB API are not available in this browser.");function i(e){e.createObjectStore(t.dataStoreName)}function o(){var n=e.transaction([t.dataStoreName],"readwrite");function r(e){n.objectStore(t.dataStoreName).get(e).onsuccess=function(n){t.callback&&t.callback(n.target.result,e)}}t.videoBlob&&n.objectStore(t.dataStoreName).put(t.videoBlob,"videoBlob"),t.gifBlob&&n.objectStore(t.dataStoreName).put(t.gifBlob,"gifBlob"),t.audioBlob&&n.objectStore(t.dataStoreName).put(t.audioBlob,"audioBlob"),r("audioBlob"),r("videoBlob"),r("gifBlob")}},Fetch:function(t){return this.callback=t,this.init(),this},Store:function(t){return this.audioBlob=t.audioBlob,this.videoBlob=t.videoBlob,this.gifBlob=t.gifBlob,this.init(),this},onError:function(t){console.error(JSON.stringify(t,null,"\t"))},dataStoreName:"recordRTC",dbName:null};function R(t,e){if("undefined"==typeof GIFEncoder){var n=document.createElement("script");n.src="https://www.webrtc-experiment.com/gif-recorder.js",(document.body||document.documentElement).appendChild(n)}e=e||{};var r=t instanceof CanvasRenderingContext2D||t instanceof HTMLCanvasElement;this.record=function(){"undefined"!=typeof GIFEncoder&&s?(r||(e.width||(e.width=l.offsetWidth||320),e.height||(e.height=l.offsetHeight||240),e.video||(e.video={width:e.width,height:e.height}),e.canvas||(e.canvas={width:e.width,height:e.height}),o.width=e.canvas.width||320,o.height=e.canvas.height||240,l.width=e.video.width||320,l.height=e.video.height||240),(d=new GIFEncoder).setRepeat(0),d.setDelay(e.frameRate||200),d.setQuality(e.quality||10),d.start(),"function"==typeof e.onGifRecordingStarted&&e.onGifRecordingStarted(),Date.now(),f=c((function t(n){if(!0!==p.clearedRecordedData){if(i)return setTimeout((function(){t(n)}),100);f=c(t),void 0===typeof u&&(u=n),n-u<90||(!r&&l.paused&&l.play(),r||a.drawImage(l,0,0,o.width,o.height),e.onGifPreview&&e.onGifPreview(o.toDataURL("image/png")),d.addFrame(a),u=n)}})),e.initCallback&&e.initCallback()):setTimeout(p.record,1e3)},this.stop=function(t){t=t||function(){},f&&h(f),Date.now(),this.blob=new Blob([new Uint8Array(d.stream().bin)],{type:"image/gif"}),t(this.blob),d.stream().bin=[]};var i=!1;this.pause=function(){i=!0},this.resume=function(){i=!1},this.clearRecordedData=function(){p.clearedRecordedData=!0,d&&(d.stream().bin=[])},this.name="GifRecorder",this.toString=function(){return this.name};var o=document.createElement("canvas"),a=o.getContext("2d");r&&(t instanceof CanvasRenderingContext2D?o=(a=t).canvas:t instanceof HTMLCanvasElement&&(a=t.getContext("2d"),o=t));var s=!0;if(!r){var l=document.createElement("video");l.muted=!0,l.autoplay=!0,l.playsInline=!0,s=!1,l.onloadedmetadata=function(){s=!0},S(t,l),l.play()}var u,d,f=null,p=this}function D(t,e){!function(t){void 0===o&&t&&"undefined"==typeof window&&void 0!==n.g&&(n.g.navigator={userAgent:"Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45",getUserMedia:function(){}},n.g.console||(n.g.console={}),void 0!==n.g.console.log&&void 0!==n.g.console.error||(n.g.console.error=n.g.console.log=n.g.console.log||function(){console.log(arguments)}),"undefined"==typeof document&&(t.document={documentElement:{appendChild:function(){return""}}},document.createElement=document.captureStream=document.mozCaptureStream=function(){var t={getContext:function(){return t},play:function(){},pause:function(){},drawImage:function(){},toDataURL:function(){return""},style:{}};return t},t.HTMLVideoElement=function(){}),"undefined"==typeof location&&(t.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(t.screen={width:0,height:0}),void 0===c&&(t.URL={createObjectURL:function(){return""},revokeObjectURL:function(){return""}}),t.window=n.g)}(void 0!==n.g?n.g:null),e=e||"multi-streams-mixer";var r=[],i=!1,a=document.createElement("canvas"),s=a.getContext("2d");a.style.opacity=0,a.style.position="absolute",a.style.zIndex=-1,a.style.top="-1000em",a.style.left="-1000em",a.className=e,(document.body||document.documentElement).appendChild(a),this.disableLogs=!1,this.frameInterval=10,this.width=360,this.height=240,this.useGainNode=!0;var l=this,u=window.AudioContext;void 0===u&&("undefined"!=typeof webkitAudioContext&&(u=webkitAudioContext),"undefined"!=typeof mozAudioContext&&(u=mozAudioContext));var c=window.URL;void 0===c&&"undefined"!=typeof webkitURL&&(c=webkitURL),"undefined"!=typeof navigator&&void 0===navigator.getUserMedia&&(void 0!==navigator.webkitGetUserMedia&&(navigator.getUserMedia=navigator.webkitGetUserMedia),void 0!==navigator.mozGetUserMedia&&(navigator.getUserMedia=navigator.mozGetUserMedia));var d=window.MediaStream;void 0===d&&"undefined"!=typeof webkitMediaStream&&(d=webkitMediaStream),void 0!==d&&void 0===d.prototype.stop&&(d.prototype.stop=function(){this.getTracks().forEach((function(t){t.stop()}))});var h={};function f(){if(!i){var t=r.length,e=!1,n=[];if(r.forEach((function(t){t.stream||(t.stream={}),t.stream.fullcanvas?e=t:n.push(t)})),e)a.width=e.stream.width,a.height=e.stream.height;else if(n.length){a.width=t>1?2*n[0].width:n[0].width;var o=1;3!==t&&4!==t||(o=2),5!==t&&6!==t||(o=3),7!==t&&8!==t||(o=4),9!==t&&10!==t||(o=5),a.height=n[0].height*o}else a.width=l.width||360,a.height=l.height||240;e&&e instanceof HTMLVideoElement&&p(e),n.forEach((function(t,e){p(t,e)})),setTimeout(f,l.frameInterval)}}function p(t,e){if(!i){var n=0,r=0,o=t.width,a=t.height;1===e&&(n=t.width),2===e&&(r=t.height),3===e&&(n=t.width,r=t.height),4===e&&(r=2*t.height),5===e&&(n=t.width,r=2*t.height),6===e&&(r=3*t.height),7===e&&(n=t.width,r=3*t.height),void 0!==t.stream.left&&(n=t.stream.left),void 0!==t.stream.top&&(r=t.stream.top),void 0!==t.stream.width&&(o=t.stream.width),void 0!==t.stream.height&&(a=t.stream.height),s.drawImage(t,n,r,o,a),"function"==typeof t.stream.onRender&&t.stream.onRender(s,n,r,o,a,e)}}function w(t){var n=document.createElement("video");return function(t,e){"srcObject"in e?e.srcObject=t:"mozSrcObject"in e?e.mozSrcObject=t:e.srcObject=t}(t,n),n.className=e,n.muted=!0,n.volume=0,n.width=t.width||l.width||360,n.height=t.height||l.height||240,n.play(),n}function m(e){r=[],(e=e||t).forEach((function(t){if(t.getTracks().filter((function(t){return"video"===t.kind})).length){var e=w(t);e.stream=t,r.push(e)}}))}void 0!==u?h.AudioContext=u:"undefined"!=typeof webkitAudioContext&&(h.AudioContext=webkitAudioContext),this.startDrawingFrames=function(){f()},this.appendStreams=function(e){if(!e)throw"First parameter is required.";e instanceof Array||(e=[e]),e.forEach((function(e){var n=new d;if(e.getTracks().filter((function(t){return"video"===t.kind})).length){var i=w(e);i.stream=e,r.push(i),n.addTrack(e.getTracks().filter((function(t){return"video"===t.kind}))[0])}if(e.getTracks().filter((function(t){return"audio"===t.kind})).length){var o=l.audioContext.createMediaStreamSource(e);l.audioDestination=l.audioContext.createMediaStreamDestination(),o.connect(l.audioDestination),n.addTrack(l.audioDestination.stream.getTracks().filter((function(t){return"audio"===t.kind}))[0])}t.push(n)}))},this.releaseStreams=function(){r=[],i=!0,l.gainNode&&(l.gainNode.disconnect(),l.gainNode=null),l.audioSources.length&&(l.audioSources.forEach((function(t){t.disconnect()})),l.audioSources=[]),l.audioDestination&&(l.audioDestination.disconnect(),l.audioDestination=null),l.audioContext&&l.audioContext.close(),l.audioContext=null,s.clearRect(0,0,a.width,a.height),a.stream&&(a.stream.stop(),a.stream=null)},this.resetVideoStreams=function(t){!t||t instanceof Array||(t=[t]),m(t)},this.name="MultiStreamsMixer",this.toString=function(){return this.name},this.getMixedStream=function(){i=!1;var e=function(){var t;m(),"captureStream"in a?t=a.captureStream():"mozCaptureStream"in a?t=a.mozCaptureStream():l.disableLogs||console.error("Upgrade to latest Chrome or otherwise enable this flag: chrome://flags/#enable-experimental-web-platform-features");var e=new d;return t.getTracks().filter((function(t){return"video"===t.kind})).forEach((function(t){e.addTrack(t)})),a.stream=e,e}(),n=function(){h.AudioContextConstructor||(h.AudioContextConstructor=new h.AudioContext);l.audioContext=h.AudioContextConstructor,l.audioSources=[],!0===l.useGainNode&&(l.gainNode=l.audioContext.createGain(),l.gainNode.connect(l.audioContext.destination),l.gainNode.gain.value=0);var e=0;if(t.forEach((function(t){if(t.getTracks().filter((function(t){return"audio"===t.kind})).length){e++;var n=l.audioContext.createMediaStreamSource(t);!0===l.useGainNode&&n.connect(l.gainNode),l.audioSources.push(n)}})),!e)return;return l.audioDestination=l.audioContext.createMediaStreamDestination(),l.audioSources.forEach((function(t){t.connect(l.audioDestination)})),l.audioDestination.stream}();return n&&n.getTracks().filter((function(t){return"audio"===t.kind})).forEach((function(t){e.addTrack(t)})),t.forEach((function(t){t.fullcanvas&&!0})),e}}function j(t,e){t=t||[];var n,r,i=this;(e=e||{elementClass:"multi-streams-mixer",mimeType:"video/webm",video:{width:360,height:240}}).frameInterval||(e.frameInterval=10),e.video||(e.video={}),e.video.width||(e.video.width=360),e.video.height||(e.video.height=240),this.record=function(){var i;n=new D(t,e.elementClass||"multi-streams-mixer"),(i=[],t.forEach((function(t){C(t,"video").forEach((function(t){i.push(t)}))})),i).length&&(n.frameInterval=e.frameInterval||10,n.width=e.video.width||360,n.height=e.video.height||240,n.startDrawingFrames()),e.previewStream&&"function"==typeof e.previewStream&&e.previewStream(n.getMixedStream()),(r=new O(n.getMixedStream(),e)).record()},this.stop=function(t){r&&r.stop((function(e){i.blob=e,t(e),i.clearRecordedData()}))},this.pause=function(){r&&r.pause()},this.resume=function(){r&&r.resume()},this.clearRecordedData=function(){r&&(r.clearRecordedData(),r=null),n&&(n.releaseStreams(),n=null)},this.addStreams=function(i){if(!i)throw"First parameter is required.";i instanceof Array||(i=[i]),t.concat(i),r&&n&&(n.appendStreams(i),e.previewStream&&"function"==typeof e.previewStream&&e.previewStream(n.getMixedStream()))},this.resetVideoStreams=function(t){n&&(!t||t instanceof Array||(t=[t]),n.resetVideoStreams(t))},this.getMixer=function(){return n},this.name="MultiStreamRecorder",this.toString=function(){return this.name}}function B(t,e){var n,r,i;function o(){return new ReadableStream({start:function(r){var i=document.createElement("canvas"),o=document.createElement("video"),a=!0;o.srcObject=t,o.muted=!0,o.height=e.height,o.width=e.width,o.volume=0,o.onplaying=function(){i.width=e.width,i.height=e.height;var t=i.getContext("2d"),s=1e3/e.frameRate,l=setInterval((function(){if(n&&(clearInterval(l),r.close()),a&&(a=!1,e.onVideoProcessStarted&&e.onVideoProcessStarted()),t.drawImage(o,0,0),"closed"!==r._controlledReadableStream.state)try{r.enqueue(t.getImageData(0,0,e.width,e.height))}catch(t){}}),s)},o.play()}})}function a(t,l){if(!e.workerPath&&!l)return n=!1,void fetch("https://unpkg.com/webm-wasm@latest/dist/webm-worker.js").then((function(e){e.arrayBuffer().then((function(e){a(t,e)}))}
2));if(!e.workerPath&&l instanceof ArrayBuffer){var u=new Blob([l],{type:"text/javascript"});e.workerPath=p.createObjectURL(u)}e.workerPath||console.error("workerPath parameter is missing."),(r=new Worker(e.workerPath)).postMessage(e.webAssemblyPath||"https://unpkg.com/webm-wasm@latest/dist/webm-wasm.wasm"),r.addEventListener("message",(function(t){"READY"===t.data?(r.postMessage({width:e.width,height:e.height,bitrate:e.bitrate||1200,timebaseDen:e.frameRate||30,realtime:e.realtime}),o().pipeTo(new WritableStream({write:function(t){n?console.error("Got image, but recorder is finished!"):r.postMessage(t.data.buffer,[t.data.buffer])}}))):t.data&&(i||s.push(t.data))}))}"undefined"!=typeof ReadableStream&&"undefined"!=typeof WritableStream||console.error("Following polyfill is strongly recommended: https://unpkg.com/@mattiasbuelens/web-streams-polyfill/dist/polyfill.min.js"),(e=e||{}).width=e.width||640,e.height=e.height||480,e.frameRate=e.frameRate||30,e.bitrate=e.bitrate||1200,e.realtime=e.realtime||!0,this.record=function(){s=[],i=!1,this.blob=null,a(t),"function"==typeof e.initCallback&&e.initCallback()},this.pause=function(){i=!0},this.resume=function(){i=!1};var s=[];this.stop=function(t){n=!0;var e=this;!function(t){r?(r.addEventListener("message",(function(e){null===e.data&&(r.terminate(),r=null,t&&t())})),r.postMessage(null)):t&&t()}((function(){e.blob=new Blob(s,{type:"video/webm"}),t(e.blob)}))},this.name="WebAssemblyRecorder",this.toString=function(){return this.name},this.clearRecordedData=function(){s=[],i=!1,this.blob=null},this.blob=null}void 0!==o&&(o.DiskStorage=M),void 0!==o&&(o.GifRecorder=R),void 0===o&&(t.exports=D,void 0===(r=function(){return D}.apply(e,[]))||(t.exports=r)),void 0!==o&&(o.MultiStreamRecorder=j),void 0!==o&&(o.RecordRTCPromisesHandler=function(t,e){if(!this)throw'Use "new RecordRTCPromisesHandler()"';if(void 0===t)throw'First argument "MediaStream" is required.';var n=this;n.recordRTC=new o(t,e),this.startRecording=function(){return new Promise((function(t,e){try{n.recordRTC.startRecording(),t()}catch(t){e(t)}}))},this.stopRecording=function(){return new Promise((function(t,e){try{n.recordRTC.stopRecording((function(r){n.blob=n.recordRTC.getBlob(),n.blob&&n.blob.size?t(r):e("Empty blob.",n.blob)}))}catch(t){e(t)}}))},this.pauseRecording=function(){return new Promise((function(t,e){try{n.recordRTC.pauseRecording(),t()}catch(t){e(t)}}))},this.resumeRecording=function(){return new Promise((function(t,e){try{n.recordRTC.resumeRecording(),t()}catch(t){e(t)}}))},this.getDataURL=function(t){return new Promise((function(t,e){try{n.recordRTC.getDataURL((function(e){t(e)}))}catch(t){e(t)}}))},this.getBlob=function(){return new Promise((function(t,e){try{t(n.recordRTC.getBlob())}catch(t){e(t)}}))},this.getInternalRecorder=function(){return new Promise((function(t,e){try{t(n.recordRTC.getInternalRecorder())}catch(t){e(t)}}))},this.reset=function(){return new Promise((function(t,e){try{t(n.recordRTC.reset())}catch(t){e(t)}}))},this.destroy=function(){return new Promise((function(t,e){try{t(n.recordRTC.destroy())}catch(t){e(t)}}))},this.getState=function(){return new Promise((function(t,e){try{t(n.recordRTC.getState())}catch(t){e(t)}}))},this.blob=null,this.version="5.6.2"}),void 0!==o&&(o.WebAssemblyRecorder=B)},86455:function(t){t.exports=function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}function i(){return i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}
2function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function s(t,e){return s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},s(t,e)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function u(t,e,n){return u=l()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&s(i,n.prototype),i},u.apply(null,arguments)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?c(t):e}function h(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}function f(t,e,n){return f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=h(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}},f(t,e,n||t)}var p="SweetAlert2:",w=function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e},m=function(t){return Array.prototype.slice.call(t)},v=function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach((function(t,n){e.push([n,t])})):Object.keys(t).forEach((function(n){e.push([n,t[n]])})),e},g=function(t){console.warn("".concat(p," ").concat(t))},y=function(t){console.error("".concat(p," ").concat(t))},b=[],_=function(t){-1===b.indexOf(t)&&(b.push(t),g(t))},x=function(t){return"function"==typeof t?t():t},k=function(t){return t&&Promise.resolve(t)===t},C=Object.freeze({cancel:"cancel",backdrop:"overlay",close:"close",esc:"esc",timer:"timer"}),S=function(e){var n={};return"object"===t(e[0])?i(n,e[0]):["title","html","type"].forEach((function(r,i){switch(t(e[i])){case"string":n[r]=e[i];break;case"undefined":break;default:y("Unexpected type of ".concat(r,'! Expected "string", got ').concat(t(e[i])))}})),n},P=function(t){return function(e,n){return t.call(this,e,n).then((function(){}),(function(t){return t}))}},A="swal2-",O=function(t){var e={};for(var n in t)e[t[n]]=A+t[n];return e},T=O(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","icon-text","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progresssteps","activeprogressstep","progresscircle","progressline","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),E=O(["success","warning","info","question","error"]),I={previousBodyPadding:null},N=function(t,e){return t.classList.contains(e)},M=function(t){if(t.focus(),"file"!==t.type){var e=t.value;t.value="",t.value=e}},R=function(t,e,n){t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach((function(e){t.forEach?t.forEach((function(t){n?t.classList.add(e):t.classList.remove(e)})):n?t.classList.add(e):t.classList.remove(e)})))},D=function(t,e){R(t,e,!0)},j=function(t,e){R(t,e,!1)},B=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(N(t.childNodes[n],e))return t.childNodes[n]},L=function(t){t.style.opacity="",t.style.display=t.id===T.content?"block":"flex"},F=function(t){t.style.opacity="",t.style.display="none"},q=function(t){return t&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},Q=function(t,e){if("function"==typeof t.contains)return t.contains(e)},U=function(){return document.body.querySelector("."+T.container)},V=function(t){var e=U();return e?e.querySelector("."+t):null},H=function(){return V(T.popup)},G=function(){var t=H();return m(t.querySelectorAll("."+T.icon))},z=function(){return V(T.title)},W=function(){return V(T.content)},$=function(){return V(T.image)},K=function(){return V(T.progresssteps)},Y=function(){return V(T["validation-message"])},Z=function(){return V(T.confirm)},J=function(){return V(T.cancel)},X=function(){return _("swal.getButtonsWrapper() is deprecated and will be removed in the next major release, use swal.getActions() instead"),V(T.actions)},tt=function(){return V(T.actions)},et=function(){return V(T.footer)},nt=function(){return V(T.close)}
2,rt=function(){var t=m(H().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((function(t,e){return(t=parseInt(t.getAttribute("tabindex")))>(e=parseInt(e.getAttribute("tabindex")))?1:t<e?-1:0})),e=m(H().querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]')).filter((function(t){return"-1"!==t.getAttribute("tabindex")}));return w(t.concat(e)).filter((function(t){return q(t)}))},it=function(){return!ot()&&!document.body.classList.contains(T["no-backdrop"])},ot=function(){return document.body.classList.contains(T["toast-shown"])},at=function(){return H().hasAttribute("data-loading")},st=function(){return"undefined"==typeof window||"undefined"==typeof document},lt='\n <div aria-labelledby="'.concat(T.title,'" aria-describedby="').concat(T.content,'" class="').concat(T.popup,'" tabindex="-1">\n   <div class="').concat(T.header,'">\n     <ul class="').concat(T.progresssteps,'"></ul>\n     <div class="').concat(T.icon," ").concat(E.error,'">\n       <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n     </div>\n     <div class="').concat(T.icon," ").concat(E.question,'">\n       <span class="').concat(T["icon-text"],'">?</span>\n      </div>\n     <div class="').concat(T.icon," ").concat(E.warning,'">\n       <span class="').concat(T["icon-text"],'">!</span>\n      </div>\n     <div class="').concat(T.icon," ").concat(E.info,'">\n       <span class="').concat(T["icon-text"],'">i</span>\n      </div>\n     <div class="').concat(T.icon," ").concat(E.success,'">\n       <div class="swal2-success-circular-line-left"></div>\n       <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n       <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n       <div class="swal2-success-circular-line-right"></div>\n     </div>\n     <img class="').concat(T.image,'" />\n     <h2 class="').concat(T.title,'" id="').concat(T.title,'"></h2>\n     <button type="button" class="').concat(T.close,'">×</button>\n   </div>\n   <div class="').concat(T.content,'">\n     <div id="').concat(T.content,'"></div>\n     <input class="').concat(T.input,'" />\n     <input type="file" class="').concat(T.file,'" />\n     <div class="').concat(T.range,'">\n       <input type="range" />\n       <output></output>\n     </div>\n     <select class="').concat(T.select,'"></select>\n     <div class="').concat(T.radio,'"></div>\n     <label for="').concat(T.checkbox,'" class="').concat(T.checkbox,'">\n       <input type="checkbox" />\n       <span class="').concat(T.label,'"></span>\n     </label>\n     <textarea class="').concat(T.textarea,'"></textarea>\n     <div class="').concat(T["validation-message"],'" id="').concat(T["validation-message"],'"></div>\n   </div>\n   <div class="').concat(T.actions,'">\n     <button type="button" class="').concat(T.confirm,'">OK</button>\n     <button type="button" class="').concat(T.cancel,'">Cancel</button>\n   </div>\n   <div class="').concat(T.footer,'">\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),ut=function(t){var e=U();if(e&&(e.parentNode.removeChild(e),j([document.documentElement,document.body],[T["no-backdrop"],T["toast-shown"],T["has-column"]])),!st()){var n=document.createElement("div");n.className=T.container,n.innerHTML=lt;var r="string"==typeof t.target?document.querySelector(t.target):t.target;r.appendChild(n);var i,o=H(),a=W(),s=B(a,T.input),l=B(a,T.file),u=a.querySelector(".".concat(T.range," input")),c=a.querySelector(".".concat(T.range," output")),d=B(a,T.select),h=a.querySelector(".".concat(T.checkbox," input")),f=B(a,T.textarea);o.setAttribute("role",t.toast?"alert":"dialog"),o.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||o.setAttribute("aria-modal","true"),"rtl"===window.getComputedStyle(r).direction&&D(U(),T.rtl);var p=function(t){De.isVisible()&&i!==t.target.value&&De.resetValidationMessage(),i=t.target.value};return s.oninput=p,l.onchange=p,d.onchange=p,h.onchange=p,f.oninput=p,u.oninput=function(t){p(t),c.value=u.value},u.onchange=function(t){p(t),u.nextSibling.value=u.value},o}y("SweetAlert2 requires document to initialize")},ct=function(e,n){if(!e)return F(n);if(e instanceof HTMLElement)n.appendChild(e);else if("object"===t(e))if(n.innerHTML="",0 in e)for(var r=0;r in e;r++)n.appendChild(e[r].cloneNode(!0));else n.appendChild(e.cloneNode(!0));else e&&(n.innerHTML=e);L(n)},dt=function(){if(st())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(e.hasOwnProperty(n)&&void 0!==t.style[n])return e[n];return!1}(),ht=function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},ft=function(t){var e=tt(),n=Z(),r=J();if(t.showConfirmButton||t.showCancelButton?L(e):F(e),t.showCancelButton?r.style.display="inline-block":F(r),t.showConfirmButton?n.style.removeProperty("display"):F(n),n.innerHTML=t.confirmButtonText,r.innerHTML=t.cancelButtonText,n.setAttribute("aria-label",t.confirmButtonAriaLabel),r.setAttribute("aria-label",t.cancelButtonAriaLabel),n.className=T.confirm,D(n,t.confirmButtonClass),r.className=T.cancel,D(r,t.cancelButtonClass),t.buttonsStyling){D([n,r],T.styled),t.confirmButtonColor&&(n.style.backgroundColor=t.confirmButtonColor),t.cancelButtonColor&&(r.style.backgroundColor=t.cancelButtonColor);var i=window.getComputedStyle(n).getPropertyValue("background-color");n.style.borderLeftColor=i,n.style.borderRightColor=i}else j([n,r],T.styled),n.style.backgroundColor=n.style.borderLeftColor=n.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""},pt=function(t){var e=W().querySelector("#"+T.content);t.html?ct(t.html,e):t.text?(e.textContent=t.text,L(e)):F(e)},wt=function(t){for(var e=G(),n=0;n<e.length;n++)F(e[n]);if(t.type)if(-1!==Object.keys(E).indexOf(t.type)){var r=De.getPopup().querySelector(".".concat(T.icon,".").concat(E[t.type]));L(r),t.animation&&D(r,"swal2-animate-".concat(t.type,"-icon"))}else y('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.type,'"'))}
2,mt=function(t){var e=$();t.imageUrl?(e.setAttribute("src",t.imageUrl),e.setAttribute("alt",t.imageAlt),L(e),t.imageWidth?e.setAttribute("width",t.imageWidth):e.removeAttribute("width"),t.imageHeight?e.setAttribute("height",t.imageHeight):e.removeAttribute("height"),e.className=T.image,t.imageClass&&D(e,t.imageClass)):F(e)},vt=function(t){var e=K(),n=parseInt(null===t.currentProgressStep?De.getQueueStep():t.currentProgressStep,10);t.progressSteps&&t.progressSteps.length?(L(e),e.innerHTML="",n>=t.progressSteps.length&&g("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach((function(r,i){var o=document.createElement("li");if(D(o,T.progresscircle),o.innerHTML=r,i===n&&D(o,T.activeprogressstep),e.appendChild(o),i!==t.progressSteps.length-1){var a=document.createElement("li");D(a,T.progressline),t.progressStepsDistance&&(a.style.width=t.progressStepsDistance),e.appendChild(a)}}))):F(e)},gt=function(t){var e=z();t.titleText?e.innerText=t.titleText:t.title&&("string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),ct(t.title,e))},yt=function(){null===I.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(I.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=I.previousBodyPadding+ht()+"px")},bt=function(){null!==I.previousBodyPadding&&(document.body.style.paddingRight=I.previousBodyPadding,I.previousBodyPadding=null)},_t=function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!N(document.body,T.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",D(document.body,T.iosfix)}},xt=function(){if(N(document.body,T.iosfix)){var t=parseInt(document.body.style.top,10);j(document.body,T.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}},kt=function(){return!!window.MSInputMethodContext&&!!document.documentMode},Ct=function(){var t=U(),e=H();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},St=function(){"undefined"!=typeof window&&kt()&&(Ct(),window.addEventListener("resize",Ct))},Pt=function(){"undefined"!=typeof window&&kt()&&window.removeEventListener("resize",Ct)},At=function(){m(document.body.children).forEach((function(t){t===U()||Q(t,U())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}))},Ot=function(){m(document.body.children).forEach((function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))},Tt=100,Et={},It=function(){return new Promise((function(t){var e=window.scrollX,n=window.scrollY;Et.restoreFocusTimeout=setTimeout((function(){Et.previousActiveElement&&Et.previousActiveElement.focus?(Et.previousActiveElement.focus(),Et.previousActiveElement=null):document.body&&document.body.focus(),t()}),Tt),void 0!==e&&void 0!==n&&window.scrollTo(e,n)}))},Nt=function(t,e){var n=U(),r=H();if(r){null!==t&&"function"==typeof t&&t(r),j(r,T.show),D(r,T.hide);var i=function(){ot()?Mt(e):(It().then((function(){return Mt(e)})),Et.keydownTarget.removeEventListener("keydown",Et.keydownHandler,{capture:Et.keydownListenerCapture}),Et.keydownHandlerAdded=!1),n.parentNode&&n.parentNode.removeChild(n),j([document.documentElement,document.body],[T.shown,T["height-auto"],T["no-backdrop"],T["toast-shown"],T["toast-column"]]),it()&&(bt(),xt(),Pt(),Ot())};dt&&!N(r,T.noanimation)?r.addEventListener(dt,(function t(){r.removeEventListener(dt,t),N(r,T.hide)&&i()})):i()}},Mt=function(t){null!==t&&"function"==typeof t&&setTimeout((function(){t()}))},Rt=function(){return!!H()},Dt=function(){return Z().click()},jt=function(){return J().click()};function Bt(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return u(t,n)}function Lt(t){var e=function t(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!(this instanceof t))return u(t,n);Object.getPrototypeOf(t).apply(this,n)};return e.prototype=i(Object.create(t.prototype),{constructor:e}),"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t,e}var Ft={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,
2customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:null,timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onAfterClose:null,onOpen:null,onClose:null,useRejections:!1,expectRejections:!1},qt=["useRejections","expectRejections","extraParams"],Qt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Ut=function(t){return Ft.hasOwnProperty(t)||"extraParams"===t},Vt=function(t){return-1!==qt.indexOf(t)},Ht=function(t){for(var e in t)Ut(e)||g('Unknown parameter "'.concat(e,'"')),t.toast&&-1!==Qt.indexOf(e)&&g('The parameter "'.concat(e,'" is incompatible with toasts')),Vt(e)&&_('The parameter "'.concat(e,'" is deprecated and will be removed in the next major release.'))}
2,Gt='"setDefaults" & "resetDefaults" methods are deprecated in favor of "mixin" method and will be removed in the next major release. For new projects, use "mixin". For past projects already using "setDefaults", support will be provided through an additional package.',zt={};function Wt(n){var s=function(s){function l(){return e(this,l),d(this,a(l).apply(this,arguments))}return o(l,s),r(l,[{key:"_main",value:function(t){return f(a(l.prototype),"_main",this).call(this,i({},zt,t))}}],[{key:"setDefaults",value:function(e){if(_(Gt),!e||"object"!==t(e))throw new TypeError("SweetAlert2: The argument for setDefaults() is required and has to be a object");Ht(e),Object.keys(e).forEach((function(t){n.isValidParameter(t)&&(zt[t]=e[t])}))}},{key:"resetDefaults",value:function(){_(Gt),zt={}}}]),l}(n);return"undefined"!=typeof window&&"object"===t(window._swalDefaults)&&s.setDefaults(window._swalDefaults),s}function $t(t){return Lt(function(n){function s(){return e(this,s),d(this,a(s).apply(this,arguments))}return o(s,n),r(s,[{key:"_main",value:function(e){return f(a(s.prototype),"_main",this).call(this,i({},t,e))}}]),s}(this))}var Kt=[],Yt=function(t){var e=this;Kt=t;var n=function(){Kt=[],document.body.removeAttribute("data-swal2-queue-step")},r=[];return new Promise((function(t){!function i(o,a){o<Kt.length?(document.body.setAttribute("data-swal2-queue-step",o),e(Kt[o]).then((function(e){void 0!==e.value?(r.push(e.value),i(o+1,a)):(n(),t({dismiss:e.dismiss}))}))):(n(),t({value:r}))}(0)}))},Zt=function(){return document.body.getAttribute("data-swal2-queue-step")},Jt=function(t,e){return e&&e<Kt.length?Kt.splice(e,0,t):Kt.push(t)},Xt=function(t){void 0!==Kt[t]&&Kt.splice(t,1)},te=function(){var t=H();t||De(""),t=H();var e=tt(),n=Z(),r=J();L(e),L(n),D([t,e],T.loading),n.disabled=!0,r.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},ee=function(){return Et.timeout&&Et.timeout.getTimerLeft()},ne=function(){return Et.timeout&&Et.timeout.stop()},re=function(){return Et.timeout&&Et.timeout.start()},ie=function(){var t=Et.timeout;return t&&(t.running?t.stop():t.start())},oe=function(t){return Et.timeout&&Et.timeout.increase(t)},ae=function(){return Et.timeout&&Et.timeout.isRunning()},se=Object.freeze({isValidParameter:Ut,isDeprecatedParameter:Vt,argsToParams:S,adaptInputValidator:P,close:Nt,closePopup:Nt,closeModal:Nt,closeToast:Nt,isVisible:Rt,clickConfirm:Dt,clickCancel:jt,getContainer:U,getPopup:H,getTitle:z,getContent:W,getImage:$,getIcons:G,getCloseButton:nt,getButtonsWrapper:X,getActions:tt,getConfirmButton:Z,getCancelButton:J,getFooter:et,getFocusableElements:rt,getValidationMessage:Y,isLoading:at,fire:Bt,mixin:$t,queue:Yt,getQueueStep:Zt,insertQueueStep:Jt,deleteQueueStep:Xt,showLoading:te,enableLoading:te,getTimerLeft:ee,stopTimer:ne,resumeTimer:re,toggleTimer:ie,increaseTimer:oe,isTimerRunning:ae}),le="function"==typeof Symbol?Symbol:function(){var t=0;function e(e){return"__"+e+"_"+Math.floor(1e9*Math.random())+"_"+ ++t+"__"}return e.iterator=e("Symbol.iterator"),e}(),ue="function"==typeof WeakMap?WeakMap:function(t,e,n){function r(){e(this,t,{value:le("WeakMap")})}return r.prototype={delete:function(e){delete e[this[t]]},get:function(e){return e[this[t]]},has:function(e){return n.call(e,this[t])},set:function(n,r){e(n,this[t],{configurable:!0,value:r})}},r}(le("WeakMap"),Object.defineProperty,{}.hasOwnProperty),ce={promise:new ue,innerParams:new ue,domCache:new ue};function de(){var t=ce.innerParams.get(this),e=ce.domCache.get(this);t.showConfirmButton||(F(e.confirmButton),t.showCancelButton||F(e.actions)),j([e.popup,e.actions],T.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1}function he(t){var e=ce.innerParams.get(this),n=ce.domCache.get(this);if(!(t=t||e.input))return null;switch(t){case"select":case"textarea":case"file":return B(n.content,T[t]);case"checkbox":return n.popup.querySelector(".".concat(T.checkbox," input"));case"radio":return n.popup.querySelector(".".concat(T.radio," input:checked"))||n.popup.querySelector(".".concat(T.radio," input:first-child"));case"range":return n.popup.querySelector(".".concat(T.range," input"));default:return B(n.content,T.input)}}function fe(){var t=ce.domCache.get(this);t.confirmButton.disabled=!1,t.cancelButton.disabled=!1}function pe(){var t=ce.domCache.get(this);t.confirmButton.disabled=!0,t.cancelButton.disabled=!0}function we(){ce.domCache.get(this).confirmButton.disabled=!1}function me(){ce.domCache.get(this).confirmButton.disabled=!0}function ve(){var t=this.getInput();if(!t)return!1;if("radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),n=0;n<e.length;n++)e[n].disabled=!1;else t.disabled=!1}function ge(){var t=this.getInput();if(!t)return!1;if(t&&"radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),n=0;n<e.length;n++)e[n].disabled=!0;else t.disabled=!0}function ye(t){var e=ce.domCache.get(this);e.validationMessage.innerHTML=t;var n=window.getComputedStyle(e.popup);e.validationMessage.style.marginLeft="-".concat(n.getPropertyValue("padding-left")),e.validationMessage.style.marginRight="-".concat(n.getPropertyValue("padding-right")),L(e.validationMessage);var r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedBy",T["validation-message"]),M(r),D(r,T.inputerror))}function be(){var t=ce.domCache.get(this);t.validationMessage&&F(t.validationMessage);var e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedBy"),j(e,T.inputerror))}function _e(){_("Swal.resetValidationError() is deprecated and will be removed in the next major release, use Swal.resetValidationMessage() instead"),be.bind(this)()}function xe(t){_("Swal.showValidationError() is deprecated and will be removed in the next major release, use Swal.showValidationMessage() instead"),ye.bind(this)(t)}function ke(){return ce.innerParams.get(this).progressSteps}function Ce(t){var e=i({},ce.innerParams.get(this),{progressSteps:t});ce.innerParams.set(this,e),vt(e)}function Se(){var t=ce.domCache.get(this);L(t.progressSteps)}function Pe(){var t=ce.domCache.get(this);F(t.progressSteps)}var Ae=function t(n,r){e(this,t);var i,o,a=r;this.running=!1,this.start=function(){return this.running||(this.running=!0,o=new Date,i=setTimeout(n,a)),a}
2,this.stop=function(){return this.running&&(this.running=!1,clearTimeout(i),a-=new Date-o),a},this.increase=function(t){var e=this.running;return e&&this.stop(),a+=t,e&&this.start(),a},this.getTimerLeft=function(){return this.running&&(this.stop(),this.start()),a},this.isRunning=function(){return this.running},this.start()},Oe={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid URL")}};function Te(e){var n;e.inputValidator||Object.keys(Oe).forEach((function(t){e.input===t&&(e.inputValidator=e.expectRejections?Oe[t]:De.adaptInputValidator(Oe[t]))})),e.validationMessage&&("object"!==t(e.extraParams)&&(e.extraParams={}),e.extraParams.validationMessage=e.validationMessage),(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(g('Target parameter is not valid, defaulting to "body"'),e.target="body"),"function"==typeof e.animation&&(e.animation=e.animation.call());var r=H(),i="string"==typeof e.target?document.querySelector(e.target):e.target;n=r&&i&&r.parentNode!==i.parentNode?ut(e):r||ut(e),e.width&&(n.style.width="number"==typeof e.width?e.width+"px":e.width),e.padding&&(n.style.padding="number"==typeof e.padding?e.padding+"px":e.padding),e.background&&(n.style.background=e.background);for(var o=window.getComputedStyle(n).getPropertyValue("background-color"),a=n.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),s=0;s<a.length;s++)a[s].style.backgroundColor=o;var l=U(),u=nt(),c=et();if(gt(e),pt(e),"string"==typeof e.backdrop?U().style.background=e.backdrop:e.backdrop||D([document.documentElement,document.body],T["no-backdrop"]),!e.backdrop&&e.allowOutsideClick&&g('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.position in T?D(l,T[e.position]):(g('The "position" parameter is not valid, defaulting to "center"'),D(l,T.center)),e.grow&&"string"==typeof e.grow){var d="grow-"+e.grow;d in T&&D(l,T[d])}e.showCloseButton?(u.setAttribute("aria-label",e.closeButtonAriaLabel),L(u)):F(u),n.className=T.popup,e.toast?(D([document.documentElement,document.body],T["toast-shown"]),D(n,T.toast)):D(n,T.modal),e.customClass&&D(n,e.customClass),e.customContainerClass&&D(l,e.customContainerClass),vt(e),wt(e),mt(e),ft(e),ct(e.footer,c),!0===e.animation?j(n,T.noanimation):D(n,T.noanimation),e.showLoaderOnConfirm&&!e.preConfirm&&g("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request")}var Ee=function(t){var e=U(),n=H();null!==t.onBeforeOpen&&"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n),t.animation?(D(n,T.show),D(e,T.fade),j(n,T.hide)):j(n,T.fade),L(n),e.style.overflowY="hidden",dt&&!N(n,T.noanimation)?n.addEventListener(dt,(function t(){n.removeEventListener(dt,t),e.style.overflowY="auto"})):e.style.overflowY="auto",D([document.documentElement,document.body,e],T.shown),t.heightAuto&&t.backdrop&&!t.toast&&D([document.documentElement,document.body],T["height-auto"]),it()&&
2(yt(),_t(),St(),At(),setTimeout((function(){e.scrollTop=0}))),ot()||Et.previousActiveElement||(Et.previousActiveElement=document.activeElement),null!==t.onOpen&&"function"==typeof t.onOpen&&setTimeout((function(){t.onOpen(n)}))};function Ie(e){var n=this;Ht(e);var r=i({},Ft,e);Te(r),Object.freeze(r),ce.innerParams.set(this,r),Et.timeout&&(Et.timeout.stop(),delete Et.timeout),clearTimeout(Et.restoreFocusTimeout);var o={popup:H(),container:U(),content:W(),actions:tt(),confirmButton:Z(),cancelButton:J(),closeButton:nt(),validationMessage:Y(),progressSteps:K()};ce.domCache.set(this,o);var a=this.constructor;return new Promise((function(e,i){var s=function(t){a.closePopup(r.onClose,r.onAfterClose),r.useRejections?e(t):e({value:t})},l=function(t){a.closePopup(r.onClose,r.onAfterClose),r.useRejections?i(t):e({dismiss:t})},u=function(t){a.closePopup(r.onClose,r.onAfterClose),i(t)};r.timer&&(Et.timeout=new Ae((function(){l("timer"),delete Et.timeout}),r.timer));var c=function(){var t=n.getInput();if(!t)return null;switch(r.input){case"checkbox":return t.checked?1:0;case"radio":return t.checked?t.value:null;case"file":return t.files.length?t.files[0]:null;default:return r.inputAutoTrim?t.value.trim():t.value}};r.input&&setTimeout((function(){var t=n.getInput();t&&M(t)}),0);for(var d=function(t){if(r.showLoaderOnConfirm&&a.showLoading(),r.preConfirm){n.resetValidationMessage();var e=Promise.resolve().then((function(){return r.preConfirm(t,r.extraParams)}));r.expectRejections?e.then((function(e){return s(e||t)}),(function(t){n.hideLoading(),t&&n.showValidationMessage(t)})):e.then((function(e){q(o.validationMessage)||!1===e?n.hideLoading():s(e||t)}),(function(t){return u(t)}))}else s(t)},h=function(t){var e=t.target,i=o.confirmButton,s=o.cancelButton,h=i&&(i===e||i.contains(e)),f=s&&(s===e||s.contains(e));if("click"===t.type)if(h&&a.isVisible())if(n.disableButtons(),r.input){var p=c();if(r.inputValidator){n.disableInput();var w=Promise.resolve().then((function(){return r.inputValidator(p,r.extraParams)}));r.expectRejections?w.then((function(){n.enableButtons(),n.enableInput(),d(p)}),(function(t){n.enableButtons(),n.enableInput(),t&&n.showValidationMessage(t)})):w.then((function(t){n.enableButtons(),n.enableInput(),t?n.showValidationMessage(t):d(p)}),(function(t){return u(t)}))}else n.getInput().checkValidity()?d(p):(n.enableButtons(),n.showValidationMessage(r.validationMessage))}else d(!0);else f&&a.isVisible()&&(n.disableButtons(),l(a.DismissReason.cancel))},f=o.popup.querySelectorAll("button"),p=0;p<f.length;p++)f[p].onclick=h,f[p].onmouseover=h,f[p].onmouseout=h,f[p].onmousedown=h;if(o.closeButton.onclick=function(){l(a.DismissReason.close)},r.toast)o.popup.onclick=function(){r.showConfirmButton||r.showCancelButton||r.showCloseButton||r.input||l(a.DismissReason.close)};else{var w=!1;o.popup.onmousedown=function(){o.container.onmouseup=function(t){o.container.onmouseup=void 0,t.target===o.container&&(w=!0)}},o.container.onmousedown=function(){o.popup.onmouseup=function(t){o.popup.onmouseup=void 0,(t.target===o.popup||o.popup.contains(t.target))&&(w=!0)}},o.container.onclick=function(t){w?w=!1:t.target===o.container&&x(r.allowOutsideClick)&&l(a.DismissReason.backdrop)}}r.reverseButtons?o.confirmButton.parentNode.insertBefore(o.cancelButton,o.confirmButton):o.confirmButton.parentNode.insertBefore(o.confirmButton,o.cancelButton);var m=function(t,e){for(var n=rt(r.focusCancel),i=0;i<n.length;i++)return(t+=e)===n.length?t=0:-1===t&&(t=n.length-1),n[t].focus();o.popup.focus()},b=function(t,e){e.stopKeydownPropagation&&t.stopPropagation();var r=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"];if("Enter"!==t.key||t.isComposing)if("Tab"===t.key){for(var i=t.target,s=rt(e.focusCancel),u=-1,c=0;c<s.length;c++)if(i===s[c]){u=c;break}t.shiftKey?m(u,-1):m(u,1),t.stopPropagation(),t.preventDefault()}else-1!==r.indexOf(t.key)?document.activeElement===o.confirmButton&&q(o.cancelButton)?o.cancelButton.focus():document.activeElement===o.cancelButton&&q(o.confirmButton)&&o.confirmButton.focus():"Escape"!==t.key&&"Esc"!==t.key||!0!==x(e.allowEscapeKey)||(t.preventDefault(),l(a.DismissReason.esc));else if(t.target&&n.getInput()&&t.target.outerHTML===n.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(e.input))return;a.clickConfirm(),t.preventDefault()}};Et.keydownHandlerAdded&&(Et.keydownTarget.removeEventListener("keydown",Et.keydownHandler,{capture:Et.keydownListenerCapture}),Et.keydownHandlerAdded=!1),r.toast||(Et.keydownHandler=function(t){return b(t,r)},Et.keydownTarget=r.keydownListenerCapture?window:o.popup,Et.keydownListenerCapture=r.keydownListenerCapture,Et.keydownTarget.addEventListener("keydown",Et.keydownHandler,{capture:Et.keydownListenerCapture}),Et.keydownHandlerAdded=!0),n.enableButtons(),n.hideLoading(),n.resetValidationMessage(),r.toast&&(r.input||r.footer||r.showCloseButton)?D(document.body,T["toast-column"]):j(document.body,T["toast-column"]);for(var _,C,S=["input","file","range","select","radio","checkbox","textarea"],P=function(t){t.placeholder&&!r.inputPlaceholder||(t.placeholder=r.inputPlaceholder)},A=0;A<S.length;A++){var O=T[S[A]],E=B(o.content,O);if(_=n.getInput(S[A])){for(var I in _.attributes)if(_.attributes.hasOwnProperty(I)){var N=_.attributes[I].name;"type"!==N&&"value"!==N&&_.removeAttribute(N)}for(var R in r.inputAttributes)"range"===S[A]&&"placeholder"===R||_.setAttribute(R,r.inputAttributes[R])}E.className=O,r.inputClass&&D(E,r.inputClass),F(E)}switch(r.input){case"text":case"email":case"password":case"number":case"tel":case"url":_=B(o.content,T.input),"string"==typeof r.inputValue||"number"==typeof r.inputValue?_.value=r.
2inputValue:k(r.inputValue)||g('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(t(r.inputValue),'"')),P(_),_.type=r.input,L(_);break;case"file":P(_=B(o.content,T.file)),_.type=r.input,L(_);break;case"range":var Q=B(o.content,T.range),U=Q.querySelector("input"),V=Q.querySelector("output");U.value=r.inputValue,U.type=r.input,V.value=r.inputValue,L(Q);break;case"select":var H=B(o.content,T.select);if(H.innerHTML="",r.inputPlaceholder){var G=document.createElement("option");G.innerHTML=r.inputPlaceholder,G.value="",G.disabled=!0,G.selected=!0,H.appendChild(G)}C=function(t){t.forEach((function(t){var e=t[0],n=t[1],i=document.createElement("option");i.value=e,i.innerHTML=n,r.inputValue.toString()===e.toString()&&(i.selected=!0),H.appendChild(i)})),L(H),H.focus()};break;case"radio":var z=B(o.content,T.radio);z.innerHTML="",C=function(t){t.forEach((function(t){var e=t[0],n=t[1],i=document.createElement("input"),o=document.createElement("label");i.type="radio",i.name=T.radio,i.value=e,r.inputValue.toString()===e.toString()&&(i.checked=!0);var a=document.createElement("span");a.innerHTML=n,a.className=T.label,o.appendChild(i),o.appendChild(a),z.appendChild(o)})),L(z);var e=z.querySelectorAll("input");e.length&&e[0].focus()};break;case"checkbox":var W=B(o.content,T.checkbox),$=n.getInput("checkbox");$.type="checkbox",$.value=1,$.id=T.checkbox,$.checked=Boolean(r.inputValue),W.querySelector("span").innerHTML=r.inputPlaceholder,L(W);break;case"textarea":var K=B(o.content,T.textarea);K.value=r.inputValue,P(K),L(K);break;case null:break;default:y('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(r.input,'"'))}if("select"===r.input||"radio"===r.input){var Y=function(t){return C(v(t))};k(r.inputOptions)?(a.showLoading(),r.inputOptions.then((function(t){n.hideLoading(),Y(t)}))):"object"===t(r.inputOptions)?Y(r.inputOptions):y("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(r.inputOptions)))}else-1!==["text","email","number","tel","textarea"].indexOf(r.input)&&k(r.inputValue)&&(a.showLoading(),F(_),r.inputValue.then((function(t){_.value="number"===r.input?parseFloat(t)||0:t+"",L(_),_.focus(),n.hideLoading()})).catch((function(t){y("Error in inputValue promise: "+t),_.value="",L(_),_.focus(),n.hideLoading()})));Ee(r),r.toast||(x(r.allowEnterKey)?r.focusCancel&&q(o.cancelButton)?o.cancelButton.focus():r.focusConfirm&&q(o.confirmButton)?o.confirmButton.focus():m(-1,1):document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()),o.container.scrollTop=0}))}var Ne,Me=Object.freeze({hideLoading:de,disableLoading:de,getInput:he,enableButtons:fe,disableButtons:pe,enableConfirmButton:we,disableConfirmButton:me,enableInput:ve,disableInput:ge,showValidationMessage:ye,resetValidationMessage:be,resetValidationError:_e,showValidationError:xe,getProgressSteps:ke,setProgressSteps:Ce,showProgressSteps:Se,hideProgressSteps:Pe,_main:Ie});function Re(){if("undefined"!=typeof window){"undefined"==typeof Promise&&y("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),Ne=this;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:r,writable:!1,enumerable:!0}});var i=this._main(this.params);ce.promise.set(this,i)}}Re.prototype.then=function(t,e){return ce.promise.get(this).then(t,e)},Re.prototype.catch=function(t){return ce.promise.get(this).catch(t)},Re.prototype.finally=function(t){return ce.promise.get(this).finally(t)},i(Re.prototype,Me),i(Re,se),Object.keys(Me).forEach((function(t){Re[t]=function(){var e;if(Ne)return(e=Ne)[t].apply(e,arguments)}})),Re.DismissReason=C,Re.noop=function(){};var De=Lt(Wt(Re));return De.default=De,De}(),"undefined"!=typeof window&&window.Sweetalert2&&(window.Sweetalert2.version="7.33.1",window.swal=window.sweetAlert=window.Swal=window.SweetAlert=window.Sweetalert2),"undefined"!=typeof document&&function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch(t){n.innerText=e}}(document,"@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}
2}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}
250%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;box-shadow:0 0 .625em #d9d9d9;overflow-y:hidden}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:initial;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon-text{font-size:2em;font-weight:700;line-height:1em}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:2em;height:2.8125em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.25em;
2left:-.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 2em;transform-origin:0 2em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:showSweetToast .5s;animation:showSweetToast .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:hideSweetToast .2s forwards;animation:hideSweetToast .2s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:animate-toast-success-tip .75s;animation:animate-toast-success-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:animate-toast-success-long .75s;animation:animate-toast-success-long .75s}@-webkit-keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}
233%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@-webkit-keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes animate-toast-success-tip{0%{top:.5625em;
2left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:10px;background-color:transparent;z-index:1060;overflow-x:hidden;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not
2(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem;box-sizing:border-box}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-popup .swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-popup .swal2-title{display:block;position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-popup .swal2-actions{flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0;z-index:1}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm{width:2.5em;height:2.5em;margin:.46875em;padding:0;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;box-sizing:border-box;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;width:15px;height:15px;margin-left:5px;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:'';-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal}.swal2-popup .swal2-styled{margin:.3125em;padding:.625em 2em;font-weight:500;box-shadow:none}.swal2-popup .swal2-styled:not([disabled]){cursor:pointer}.swal2-popup .swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-popup .swal2-styled::-moz-focus-inner{border:0}.swal2-popup .swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-popup .swal2-image{max-width:100%;margin:1.25em auto}.swal2-popup .swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer;overflow:hidden}.swal2-popup .swal2-close:hover{-webkit-transform:none;transform:none;color:#f27474}.swal2-popup>.swal2-checkbox,.swal2-popup>.swal2-file,.swal2-popup>.swal2-input,.swal2-popup>.swal2-radio,.swal2-popup>.swal2-select,.swal2-popup>.swal2-textarea{display:none}.swal2-popup .swal2-content{justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;z-index:1;word-wrap:break-word}.swal2-popup #swal2-content{text-align:center}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-radio,.swal2-popup .swal2-select,.swal2-popup .swal2-textarea{margin:1em auto}.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-textarea{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box}.swal2-popup .swal2-file.swal2-inputerror,.swal2-popup .swal2-input.swal2-inputerror,.swal2-popup .swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-popup .swal2-file:focus,.swal2-popup .swal2-input:focus,.swal2-popup .swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-popup .swal2-file::-webkit-input-placeholder,.swal2-popup .swal2-input::-webkit-input-placeholder,.swal2-popup .swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-popup .swal2-file:-ms-input-placeholder,.swal2-popup .swal2-input:-ms-input-placeholder,.swal2-popup .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::-ms-input-placeholder,.swal2-popup .swal2-input::-ms-input-placeholder,.swal2-popup .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::placeholder,.swal2-popup .swal2-input::placeholder,.swal2-popup .swal2-textarea::placeholder{color:#ccc}.swal2-popup .swal2-range input{width:80%}.swal2-popup .swal2-range output{width:20%;font-weight:600;text-align:center}.swal2-popup .swal2-range input,.swal2-popup .swal2-range output{height:2.625em;margin:1em auto;padding:0;font-size:1.125em;line-height:2.625em}.swal2-popup .swal2-input{height:2.625em;padding:0 .75em}.swal2-popup .swal2-input[type=number]{max-width:10em}.swal2-popup .swal2-file{font-size:1.125em}.swal2-popup .swal2-textarea{height:6.75em;padding:.75em}.swal2-popup .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;color:#545454;font-size:1.125em}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-radio{align-items:center;justify-content:center}.swal2-popup .swal2-checkbox label,.swal2-popup .swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-popup .swal2-checkbox input,.swal2-popup .swal2-radio input{margin:0 .4em}.swal2-popup .swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;background:#f0f0f0;color:#666;font-size:1em;font-weight:300;overflow:hidden}.swal2-popup .swal2-validation-message::before{display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center;content:'!';zoom:normal}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;zoom:normal}.swal2-icon-text{font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;top:-.25em;
2left:-.25em;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%;z-index:2;box-sizing:content-box}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;height:.3125em;border-radius:.125em;background-color:#a5dc86;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{align-items:center;margin:0 0 1.25em;padding:0;font-weight:600}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center;z-index:20}.swal2-progresssteps .swal2-progresscircle:first-child{margin-left:0}.swal2-progresssteps .swal2-progresscircle:last-child{margin-right:0}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep{background:#3085d6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progresscircle{background:#add8e6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progressline{background:#add8e6}.swal2-progresssteps .swal2-progressline{width:2.5em;height:.4em;margin:0 -1px;background:#3085d6;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:initial!important}}")},97466:(t,e,n)=>{"use strict";var r;n.r(e),n.d(e,{NIL:()=>N,parse:()=>m,stringify:()=>c,v1:()=>w,v3:()=>P,v4:()=>A,v5:()=>I,validate:()=>s,version:()=>M});var i=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}const a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const s=function(t){return"string"==typeof t&&a.test(t)};for(var l=[],u=0;u<256;++u)l.push((u+256).toString(16).substr(1));const c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]).toLowerCase();
2if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var d,h,f=0,p=0;const w=function(t,e,n){var r=e&&n||0,i=e||new Array(16),a=(t=t||{}).node||d,s=void 0!==t.clockseq?t.clockseq:h;if(null==a||null==s){var l=t.random||(t.rng||o)();null==a&&(a=d=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==s&&(s=h=16383&(l[6]<<8|l[7]))}var u=void 0!==t.msecs?t.msecs:Date.now(),w=void 0!==t.nsecs?t.nsecs:p+1,m=u-f+(w-p)/1e4;if(m<0&&void 0===t.clockseq&&(s=s+1&16383),(m<0||u>f)&&void 0===t.nsecs&&(w=0),w>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");f=u,p=w,h=s;var v=(1e4*(268435455&(u+=122192928e5))+w)%4294967296;i[r++]=v>>>24&255,i[r++]=v>>>16&255,i[r++]=v>>>8&255,i[r++]=255&v;var g=u/4294967296*1e4&268435455;i[r++]=g>>>8&255,i[r++]=255&g,i[r++]=g>>>24&15|16,i[r++]=g>>>16&255,i[r++]=s>>>8|128,i[r++]=255&s;for(var y=0;y<6;++y)i[r+y]=a[y];return e||c(i)};const m=function(t){if(!s(t))throw TypeError("Invalid UUID");var e,n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n};function v(t,e,n){function r(t,r,i,o){if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));for(var e=[],n=0;n<t.length;++n)e.push(t.charCodeAt(n));return e}(t)),"string"==typeof r&&(r=m(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+t.length);if(a.set(r),a.set(t,r.length),(a=n(a))[6]=15&a[6]|e,a[8]=63&a[8]|128,i){o=o||0;for(var s=0;s<16;++s)i[o+s]=a[s];return i}return c(a)}try{r.name=t}catch(t){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function g(t){return 14+(t+64>>>9<<4)+1}function y(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function b(t,e,n,r,i,o){return y((a=y(y(e,t),y(r,o)))<<(s=i)|a>>>32-s,n);var a,s}function _(t,e,n,r,i,o,a){return b(e&n|~e&r,t,e,i,o,a)}function x(t,e,n,r,i,o,a){return b(e&r|n&~r,t,e,i,o,a)}function k(t,e,n,r,i,o,a){return b(e^n^r,t,e,i,o,a)}function C(t,e,n,r,i,o,a){return b(n^(e|~r),t,e,i,o,a)}const S=function(t){if("string"==typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)}return function(t){for(var e=[],n=32*t.length,r="0123456789abcdef",i=0;i<n;i+=8){var o=t[i>>5]>>>i%32&255,a=parseInt(r.charAt(o>>>4&15)+r.charAt(15&o),16);e.push(a)}return e}(function(t,e){t[e>>5]|=128<<e%32,t[g(e)-1]=e;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,a=0;a<t.length;a+=16){var s=n,l=r,u=i,c=o;n=_(n,r,i,o,t[a],7,-680876936),o=_(o,n,r,i,t[a+1],12,-389564586),i=_(i,o,n,r,t[a+2],17,606105819),r=_(r,i,o,n,t[a+3],22,-1044525330),n=_(n,r,i,o,t[a+4],7,-176418897),o=_(o,n,r,i,t[a+5],12,1200080426),i=_(i,o,n,r,t[a+6],17,-1473231341),r=_(r,i,o,n,t[a+7],22,-45705983),n=_(n,r,i,o,t[a+8],7,1770035416),o=_(o,n,r,i,t[a+9],12,-1958414417),i=_(i,o,n,r,t[a+10],17,-42063),r=_(r,i,o,n,t[a+11],22,-1990404162),n=_(n,r,i,o,t[a+12],7,1804603682),o=_(o,n,r,i,t[a+13],12,-40341101),i=_(i,o,n,r,t[a+14],17,-1502002290),n=x(n,r=_(r,i,o,n,t[a+15],22,1236535329),i,o,t[a+1],5,-165796510),o=x(o,n,r,i,t[a+6],9,-1069501632),i=x(i,o,n,r,t[a+11],14,643717713),r=x(r,i,o,n,t[a],20,-373897302),n=x(n,r,i,o,t[a+5],5,-701558691),o=x(o,n,r,i,t[a+10],9,38016083),i=x(i,o,n,r,t[a+15],14,-660478335),r=x(r,i,o,n,t[a+4],20,-405537848),n=x(n,r,i,o,t[a+9],5,568446438),o=x(o,n,r,i,t[a+14],9,-1019803690),i=x(i,o,n,r,t[a+3],14,-187363961),r=x(r,i,o,n,t[a+8],20,1163531501),n=x(n,r,i,o,t[a+13],5,-1444681467),o=x(o,n,r,i,t[a+2],9,-51403784),i=x(i,o,n,r,t[a+7],14,1735328473),n=k(n,r=x(r,i,o,n,t[a+12],20,-1926607734),i,o,t[a+5],4,-378558),o=k(o,n,r,i,t[a+8],11,-2022574463),i=k(i,o,n,r,t[a+11],16,1839030562),r=k(r,i,o,n,t[a+14],23,-35309556),n=k(n,r,i,o,t[a+1],4,-1530992060),o=k(o,n,r,i,t[a+4],11,1272893353),i=k(i,o,n,r,t[a+7],16,-155497632),r=k(r,i,o,n,t[a+10],23,-1094730640),n=k(n,r,i,o,t[a+13],4,681279174),o=k(o,n,r,i,t[a],11,-358537222),i=k(i,o,n,r,t[a+3],16,-722521979),r=k(r,i,o,n,t[a+6],23,76029189),n=k(n,r,i,o,t[a+9],4,-640364487),o=k(o,n,r,i,t[a+12],11,-421815835),i=k(i,o,n,r,t[a+15],16,530742520),n=C(n,r=k(r,i,o,n,t[a+2],23,-995338651),i,o,t[a],6,-198630844),o=C(o,n,r,i,t[a+7],10,1126891415),i=C(i,o,n,r,t[a+14],15,-1416354905),r=C(r,i,o,n,t[a+5],21,-57434055),n=C(n,r,i,o,t[a+12],6,1700485571),o=C(o,n,r,i,t[a+3],10,-1894986606),i=C(i,o,n,r,t[a+10],15,-1051523),r=C(r,i,o,n,t[a+1],21,-2054922799),n=C(n,r,i,o,t[a+8],6,1873313359),o=C(o,n,r,i,t[a+15],10,-30611744),i=C(i,o,n,r,t[a+6],15,-1560198380),r=C(r,i,o,n,t[a+13],21,1309151649),n=C(n,r,i,o,t[a+4],6,-145523070),o=C(o,n,r,i,t[a+11],10,-1120210379),i=C(i,o,n,r,t[a+2],15,718787259),r=C(r,i,o,n,t[a+9],21,-343485551),n=y(n,s),r=y(r,l),i=y(i,u),o=y(o,c)}return[n,r,i,o]}(function(t){if(0===t.length)return[];for(var e=8*t.length,n=new Uint32Array(g(e)),r=0;r<e;r+=8)n[r>>5]|=(255&t[r/8])<<r%32;return n}(t),8*t.length))};const P=v("v3",48,S);const A=function(t,e,n){var r=(t=t||{}).random||(t.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=r[i];return e}return c(r)};function O(t,e,n,r){switch(t){case 0:return e&n^~e&r;case 1:case 3:return e^n^r;case 2:return e&n^e&r^n&r}}function T(t,e){return t<<e|t>>>32-e}const E=function(t){var e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){var r=unescape(encodeURIComponent(t));t=[];for(var i=0;i<r.length;++i)t.push(r.charCodeAt(i))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var o=t.length/4+2,a=Math.ceil(o/16),s=new Array(a),l=0;l<a;++l){for(var u=new Uint32Array(16),c=0;c<16;++c)u[c]=t[64*l+4*c]<<24|t[64*l+4*c+1]<<16|t[64*l+4*c+2]<<8|t[64*l+4*c+3];s[l]=u}s[a-1][14]=8*(t.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(t.length-1)&4294967295;for(var d=0;d<a;++d){for(var h=new Uint32Array(80),f=0;f<16;++f)h[f]=s[d][f];for(var p=16;p<80;++p)h[p]=T(h[p-3]^h[p-8]^h[p-14]^h[p-16],1);for(var w=n[0],m=n[1],v=n[2],g=n[3],y=n[4],b=0;b<80;++b){var _=Math.floor(b/20),x=T(w,5)+O(_,m,v,g)+y+e[_]+h[b]>>>0;y=g,g=v,v=T(m,30)>>>0,m=w,w=x}n[0]=n[0]+w>>>0,n[1]=n[1]+m>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+g>>>0,n[4]=n[4]+y>
2>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]};const I=v("v5",80,E),N="00000000-0000-0000-0000-000000000000";const M=function(t){if(!s(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}},24713:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});const r={props:{options:{type:Array,required:!1,default:function(){return[]}},placeholder:{type:String,default:"Select ..."},defaultIndex:{required:!1,type:Number,default:0},disabledStateInput:{type:Boolean,default:!1,required:!1}},data:function(){return{isOpen:!1,selectedOption:null,dropdownIcon:"&#x25BC;"}},created:function(){console.log("defaultIndex",this.defaultIndex),console.log("options",this.options),null!==this.defaultIndex&&(this.selectedOption=this.options[this.defaultIndex]),console.log("selectedOption",this.selectedOption)},methods:{closeDropdown:function(){this.isOpen=!1,this.$refs.trigger.focus()},selectWithKeyboard:function(t){this.selectOption(t),this.closeDropdown()},toggleDropdown:function(){this.disabledStateInput||(this.isOpen=!this.isOpen)},selectOption:function(t){this.disabledStateInput||(this.selectedOption=t,this.$emit("resulted",t))}}};var i=n(93379),o=n.n(i),a=n(66977),s={insert:"head",singleton:!1};o()(a.Z,s);a.Z.locals;const l=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-relative",on:{click:t.toggleDropdown}}
2,[e("div",{ref:"trigger",staticClass:"selected-option tw-capitalize tw-input !tw-py-2.5 tw-w-full tw-rounded-full tw-border-green-700 tw-cursor-pointer",class:t.disabledStateInput?"tw-bg-gray-300":"",attrs:{role:"button",tabindex:t.disabledStateInput?-1:0,"data-validation-control":"","aria-disabled":t.disabledStateInput?"true":null,"aria-expanded":String(t.isOpen)},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),e.stopPropagation(),t.toggleDropdown.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),e.stopPropagation(),t.toggleDropdown.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.preventDefault(),e.stopPropagation(),t.closeDropdown.apply(null,arguments))}]}},[e("span",{class:t.selectedOption?"":"tw-text-gray"},[t._v(t._s(t.selectedOption?t.selectedOption[0]:t.placeholder))]),t._v(" "),e("span",{staticClass:"tw-ml-2 tw-text-gray-500 tw-float-right",domProps:{innerHTML:t._s(t.dropdownIcon)}})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"options"},t._l(t.options,(function(n){return e("div",{key:n[1],staticClass:"option tw-uppercase tw-text-black tw-list-none tw-w-full tw-px-2 tw-py-4 tw-text-left tw-cursor-pointer hover:tw-bg-blue hover:tw-text-white",attrs:{role:"button",tabindex:t.disabledStateInput?-1:0},on:{click:function(e){return t.selectOption(n)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),e.stopPropagation(),t.selectWithKeyboard(n))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),e.stopPropagation(),t.selectWithKeyboard(n))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.preventDefault(),e.stopPropagation(),t.closeDropdown.apply(null,arguments))}]}},[t._v("\n      "+t._s(n[0])+"\n    ")])})),0)])}),[],!1,null,"0ec1d8e0",null).exports},63620:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>Wn});var r=n(99787),i=n(2127),o=n(31676);function a(t){var e,n;if(t.isVIPOrder)return[];var r=[],i=function(t,e){return r.push({field:t,message:e})},o=t.shippingQuestionAnswer||{};return t.shippingQuestionAnswered&&o.method||i("shipping","Please complete the shipping method and the signature delivery section before proceeding."),t.shippingQuestionAnswered&&!1===(null===(e=o.signature_waiver)||void 0===e?void 0:e.required)&&!o.signature_waiver.signature&&i("signature_waiver","Please sign the waiver before moving on."),t.agreedToSelfPay||i("agreedToSelfPay","Please read and agree to our Agreement for Self-Payment of Services."),"FL"!==(null===(n=t.stateQuestion)||void 0===n?void 0:n.answer)||"weight_loss"!==t.program||t.agreedToFLTnC||i("agreedToFLTnC","Please read and agree to our FL obesity law 64B8-9.012"),["Credit-Card","Amex"].includes(t.selectedPaymentMethod)&&!t.agreedToCardConsent&&i("agreedToCardConsent","Please read and agree to our Credit Card Consent Agreement."),"E-Check"!==t.selectedPaymentMethod||t.agreedToEcheckConsent||i("payment","Please read and agree to our E-Check Consent Agreement."),t.isHomeKitBloodWorkSelected&&!t.agreedToAshTestingConsent&&i("agreedToAshTestingConsent","Please read and agree to our Blood Testing Consent."),t.isNubodySubscription&&!t.agreedToNubodyConsent&&i("agreedToNubodyConsent","Please read and agree to our NuBody Program Agreement."),r}var s=n(21340),l=n(1642),u=n(13974),c=n(54090),d=n.n(c);const h={name:"PhoneNumber",props:{initValue:{type:String,default:""}},data:function(){return{rawValue:this.initValue?this.initValue.replace(/\D/g,""):"",wrongMessage:"Please enter your phone number."}},computed:{formattedValue:{get:function(){return this.rawValue.replace(/\D/g,"").slice(0,10).replace(/(\d{3})(\d{0,3})(\d{0,4})/,(function(t,e,n,r){return[e,n,r].filter(Boolean).join("-")}))},set:function(t){this.rawValue=t.replace(/\D/g,"")}}},mounted:function(){this.$emit("input",this.rawValue),this.validatePhoneNumber()},methods:{onInput:function(t){this.formattedValue=t.target.value,this.$emit("input",this.rawValue),this.validatePhoneNumber()},validateKey:function(t){var e=this,n=t.key;/[0-9]/.test(n)||t.preventDefault(),setTimeout((function(){Inputmask({mask:"999-999-9999",greedy:!1}
2).mask(e.$refs.phone_number)}),100)},validatePhoneNumber:function(){this.$emit("done",event,this.rawValue)}}};var f=n(51900);const p=(0,f.Z)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-flex tw-justify-center tw-flex-col lg:tw-flex-row tw-w-full tw-gap-3"},[e("div",{staticClass:"tw-bg-white tw-rounded-xl tw-shadow-md tw-p-4 tw-w-full tw-mt-10 tw-mx-auto"},[t._m(0),t._v(" "),e("div",{staticClass:"tw-flex tw-items-center tw-border-b tw-border-gray-300 tw-pb-2 tw-text-lg"},[e("span",{staticClass:"tw-text-black tw-font-semibold tw-mr-2 tw-text-5xl"},[t._v("+1")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.formattedValue,expression:"formattedValue"}],staticClass:"tw-w-full tw-outline-none tw-text-5xl tw-border-none focus:tw-outline-none focus:tw-ring-0 focus:tw-border-transparent tw-text-gray-700 tw-placeholder-gray-300",staticStyle:{"box-shadow":"none !important"},attrs:{type:"tel",maxlength:"12",placeholder:"000 0000 000",autofocus:""},domProps:{value:t.formattedValue},on:{input:[function(e){e.target.composing||(t.formattedValue=e.target.value)},t.onInput],keypress:t.validateKey}})])])])}),[function(){var t=this,e=t._self._c;return e("label",{staticClass:"tw-block tw-text-xl tw-font-medium tw-mb-2"},[t._v("\n      Wireless"),e("span",{staticClass:"tw-text-red-500"},[t._v("*")])])}],!1,null,null,null).exports;const w={name:"TextMeUpdatesConfirmation",data:function(){return{items:[{label:"Prescription<br>reminders",icon:'<img src="/assets/img/reminders-43.png" />️'},{label:"Billing and<br>Invoice Issues",icon:'<img src="/assets/img/billing-43.png" />️'},{label:"Doctor<br>Messages",icon:'<img src="/assets/img/message-43.png" />️'},{label:"Shipment<br>Notifications",icon:'<img src="/assets/img/notification-43.png" />️'},{label:"Nu Image,<br>New Offers",icon:'<img src="/assets/img/offer-43.png" />️'}]}},methods:{emitTextMe:function(){this.$emit("textMe",event)},emitDontTextMe:function(){this.$emit("dontTextMe",event)}}};const m=(0,f.Z)(w,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-flex tw-justify-center tw-flex-col tw-my-5 tw-w-full tw-mx-auto"},[e("div",{staticClass:"tw-flex tw-flex-wrap tw-justify-center tw-gap-14 tw-mb-10 tw-mt-5"},t._l(t.items,(function(n,r){return e("div",{key:r,staticClass:"tw-relative tw-bg-white tw-rounded-xl tw-shadow-md tw-w-48 tw-p-6 tw-flex tw-flex-col"},[t._m(0,!0),t._v(" "),e("div",{staticClass:"tw-text-3xl tw-items-center tw-text-center tw-mt-16 tw-mb-7",domProps:{innerHTML:t._s(n.icon)}}),t._v(" "),e("p",{staticClass:"tw-text-sm tw-font-medium tw-text-gray-800 tw-text-left tw-mb-0",domProps:{innerHTML:t._s(n.label)}})])})),0),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-gap-4 tw-my-10 tw-px-24"},[e("button",{staticClass:"tw-bg-black tw-text-white tw-px-6 tw-py-3 tw-w-full lg:tw-w-4/5 tw-rounded-full hover:tw-opacity-90 tw-font-bold",on:{click:function(e){return e.preventDefault(),t.emitTextMe.apply(null,arguments)}}},[t._v("\n      Text me updates\n    ")]),t._v(" "),e("button",{staticClass:"tw-text-gray-600 tw-text-sm hover:tw-underline tw-font-bold",on:{click:function(e){return e.preventDefault(),t.emitDontTextMe.apply(null,arguments)}}},[t._v("\n      No thanks\n    ")]),t._v(" "),t._m(1)])])}),[function(){var t=this._self._c;return t("div",{staticClass:"tw-absolute tw-top-2 tw-left-2 tw-text-white tw-rounded-full tw-w-6 tw-h-6 tw-flex tw-items-center tw-justify-center tw-text-xs"},[t("img",{attrs:{src:"/assets/img/check-27.png"}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-text-sm tw-text-center tw-my-10 tw-w-3/4 tw-mx-auto"},[t._v('\n      By selecting "Text me updates", you agree to receive texts from Nu Image Medical to the number you provided\n      that might be considered marketing. I understand that I am not required to consent or provide my consent as\n      a condition of any purchase.I understand that Nu Image’s '),e("a",{attrs:{href:"/terms-conditions"}},[t._v("Terms and\n        Conditions")]),t._v(" and "),e("a",{attrs:{target:"_self",href:"/privacy-policy"}},[t._v("Privacy Policy")]),t._v(" apply. Message and data rates may apply. I\n      can text STOP to stop. Email [email protected], or call 888.520.3438.\n    ")])}],!1,null,null,null).exports;const v={name:"EarlySubmissionConfirmation",props:{isSuccess:{type:Boolean,default:!1},errorMessage:{type:String,default:null}},data:function(){return{isProcessing:!1,hasProcessed:!1}},watch:{isSuccess:function(){this.hasProcessed=!0},errorMessage:function(){this.hasProcessed=!0}},mounted:function(){this.hasProcessed=!0},methods:{continueToProfile:function(){this.$posthog.capture("continued_to_profile_questions"),this.$emit("continue-profile")},retryPayment:function(){this.isProcessing||(this.isProcessing=!0,this.$emit("retry-payment"))},goBack:function(){this.$emit("go-back")},setProcessing:function(t){this.isProcessing=t}}};var g=n(93379),y=n.n(g),b=n(70506),x={insert:"head",singleton:!1};y()(b.Z,x);b.Z.locals;const k=(0,f.Z)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-py-16 tw-px-8"}
2,[t.hasProcessed?t._e():e("div",{staticClass:"tw-text-center tw-w-full"},[e("div",{staticClass:"tw-mb-8"},[e("svg",{staticClass:"tw-w-20 tw-h-20 tw-mx-auto tw-text-brand-brown tw-animate-spin",attrs:{viewBox:"0 0 24 24"}},[e("circle",{staticClass:"tw-opacity-25",attrs:{cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4",fill:"none"}}),t._v(" "),e("path",{staticClass:"tw-opacity-75",attrs:{fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}})])]),t._v(" "),e("h1",{staticClass:"tw-text-2xl tw-font-semibold tw-text-gray-900 tw-mb-4"},[t._v("\n      Processing your payment...\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-600"},[t._v("\n      Please wait while we process your order.\n    ")])]),t._v(" "),t.isSuccess?e("div",{staticClass:"tw-text-center tw-w-full"},[t._m(0),t._v(" "),e("h1",{staticClass:"tw-text-2xl lg:tw-text-3xl tw-font-semibold tw-text-gray-900"},[t._v("\n      Congrats on starting your program!\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-600 tw-mb-5 tw-mt-3"},[t._v("\n      We have a couple of things we still need from you to complete your patient profile.\n      To avoid delays with your order, please complete these questions now.\n      Your order will be on hold until your profile is complete\n    ")]),t._v(" "),e("button",{staticClass:"tw-bg-brand-brown tw-mt-10 hover:tw-bg-brand-brown/90 tw-text-white tw-font-semibold tw-rounded-full tw-py-2 tw-px-12 tw-text-lg tw-min-w-[200px] tw-transition-colors tw-duration-200 tw-w-full",attrs:{type:"button"},on:{click:t.continueToProfile}},[t._v("\n      Continue\n    ")])]):e("div",{staticClass:"tw-text-center tw-max-w-lg"},[e("div",{staticClass:"tw-mb-8"},[e("svg",{staticClass:"tw-w-20 tw-h-20 tw-mx-auto tw-text-red-500",attrs:{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("circle",{attrs:{cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"2"}}),t._v(" "),e("path",{attrs:{d:"m15 9-6 6",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),e("path",{attrs:{d:"m9 9 6 6",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]),t._v(" "),e("h1",{staticClass:"tw-text-2xl tw-font-semibold tw-text-gray-900 tw-mb-4"},[t._v("\n      Payment Failed - Issues Charging Your Credit Card\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-600 tw-mb-8"},[t._v("\n      "+t._s(t.errorMessage||"We were unable to process your payment with the provided credit card. This could be due to insufficient funds, card restrictions, or bank security measures. Please verify your card information and try again, or use a different payment method.")+"\n    ")]),t._v(" "),e("button",{staticClass:"tw-bg-brand-brown hover:tw-bg-brand-brown/90 disabled:tw-bg-gray-300 disabled:tw-cursor-not-allowed tw-text-white tw-font-semibold tw-rounded-full tw-py-4 tw-px-12 tw-text-lg tw-min-w-[200px] tw-mb-6 tw-transition-colors tw-duration-200 tw-w-full",attrs:{type:"button",disabled:t.isProcessing},on:{click:t.retryPayment}},[t.isProcessing?e("span",[t._v("Processing...")]):e("span",[t._v("Retry Payment")])]),t._v(" "),e("button",{staticClass:"tw-text-brand-brown hover:tw-text-brand-brown/80 tw-text-sm tw-transition-colors tw-duration-200",attrs:{type:"button"},on:{click:t.goBack}},[t._v("\n      ← Back to Checkout\n    ")])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"tw-mb-8"},[t("img",{staticClass:"tw-w-24 tw-h-24",attrs:{src:"/assets/img/confetti.png"}})])}],!1,null,"73843225",null).exports;const C={name:"CompletedProfileConfirmation",props:{orderNumber:{type:String,default:null}},mounted:function(){if(void 0!==this.$posthog)try{this.$posthog.capture("completed_enrollment_profile",{order_number:this.orderNumber,timestamp:(new Date).toISOString()}),console.log("[CompletedProfileConfirmation] PostHog profile_completion_modal_shown event sent")}catch(t){console.error("[CompletedProfileConfirmation] PostHog tracking failed:",t)}},methods:{showOrderSummary:function(){if(void 0!==this.$posthog)try{this.$posthog.capture("order_summary_viewed",{order_number:this.orderNumber,source:"completion_modal"}),console.log("[CompletedProfileConfirmation] PostHog order_summary_viewed event sent")}catch(t){console.error("[CompletedProfileConfirmation] PostHog order_summary_viewed tracking failed:",t)}this.orderNumber&&(window.location.href="/enroll/".concat(this.orderNumber,"/confirmation"))},closeModal:function(){this.$emit("close-completion-modal")}}};var S=n(11546),P={insert:"head",singleton:!1};y()(S.Z,P);S.Z.locals;const A=(0,f.Z)(C,(function(){var t=this,e=t._self._c;
2return e("div",{staticClass:"tw-fixed tw-inset-0 tw-bg-black tw-bg-opacity-50 tw-flex tw-items-center tw-justify-center tw-z-50"},[e("div",{staticClass:"tw-bg-white tw-rounded-3xl tw-p-8 tw-max-w-xl tw-w-full tw-mx-4 tw-relative tw-text-center"},[t._m(0),t._v(" "),e("h1",{staticClass:"tw-text-2xl tw-font-bold tw-text-gray-900 tw-mb-4"},[t._v("\n      Your order has been successfully completed!\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-lg tw-font-medium tw-text-gray-900 tw-mb-3"},[t._v("\n      Thank you for completing your enrollment.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-600 tw-mb-8 tw-leading-relaxed"},[t._v("\n      You will receive an email with your purchase confirmation and next steps shortly.\n    ")]),t._v(" "),e("button",{staticClass:"tw-bg-[#C59A55] hover:tw-bg-[#B8894A] tw-text-white tw-font-semibold tw-rounded-full tw-py-3 tw-px-8 tw-text-lg tw-w-full tw-transition-colors tw-duration-200",on:{click:t.showOrderSummary}},[t._v("\n      Show Order Summary\n    ")])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"tw-mb-6"},[t("img",{staticClass:"tw-w-20 tw-h-20 tw-mx-auto",attrs:{src:"/assets/img/confetti.png"}})])}],!1,null,"d414179e",null).exports;var O=n(72717);const T={props:{question:{required:!0,type:Object}},data:function(){return{option:null,answer:null}},mounted:function(){this.question.answer&&(this.question.answer.includes("normal")||this.question.answer.includes("No")?this.option=this.question.answer:this.question.answer.includes("issues")&&(this.option="Yes, but there were issues",this.answer=this.question.answer))},methods:{handleOptionChange:function(){"Yes, it was normal"!==this.option&&"No"!==this.option||this.next(null)},handleAnswerInput:function(){"Yes, but there were issues"===this.option&&this.answer&&this.answer.trim().length>0&&this.next(null)},next:function(t){this.$emit("input",t,"Yes, but there were issues"===this.option?this.answer:this.option)}}};const E=(0,f.Z)(T,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-mt-10 tw-w-full"},[e("div",{staticClass:"tw-font-medium tw-text-xl md:tw-text-2xl tw-text-black tw-px-2 tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal !tw-leading-none"},[t._v("\n    Have you had a physical exam with a healthcare provider in the past five\n    years, including an examination of the genitals (penis, testis, and\n    groin)? If not, we recommend visiting a healthcare provider before using\n    our services.\n  ")]),t._v(" "),e("div",{},[e("div",{staticClass:"tw-w-full"},[e("label",{staticClass:"tw-button-radio tw-rounded-full"},[t._v("\n        Yes, it was normal\n        "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.option,expression:"option"}],attrs:{value:"Yes, it was normal",type:"radio"},domProps:{checked:t._q(t.option,"Yes, it was normal")},on:{change:[function(e){t.option="Yes, it was normal"},t.handleOptionChange]}})]),t._v(" "),e("label",{staticClass:"tw-button-radio tw-rounded-full"},[t._v("\n        Yes, but there were issues\n        "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.option,expression:"option"}],attrs:{value:"Yes, but there were issues",type:"radio"},domProps:{checked:t._q(t.option,"Yes, but there were issues")},on:{change:function(e){t.option="Yes, but there were issues"}}})]),t._v(" "),e("label",{staticClass:"tw-button-radio tw-rounded-full tw-mb-6"},[t._v("\n        No\n        "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.option,expression:"option"}],attrs:{value:"No",type:"radio"},domProps:{checked:t._q(t.option,"No")},on:{change:[function(e){t.option="No"},t.handleOptionChange]}})]),t._v(" "),e("Transition",{attrs:{name:"fade"}},["Yes, but there were issues"===t.option?e("div",[e("label",{staticClass:"tw-label tw-block tw-mb-1"},[t._v("\n            Please explain your exam in more detail.\n          ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],staticClass:"tw-input tw-mb-6 tw-rounded-full tw-border-black",domProps:{value:t.answer},on:{input:[function(e){e.target.composing||(t.answer=e.target.value)},t.handleAnswerInput]}})]):t._e()])],1)])])}),[],!1,null,null,null).exports;const I={props:{question:{required:!0,type:Object}},data:function(){return{option:null,answer:null}},mounted:function(){if(this.question.answer&&!this.question.answer.includes("No"))return this.option="Yes",this.answer=this.question.answer;this.option=this.question.answer},methods:{next:function(t){this.$emit("input",t,"Yes"===this.option?this.answer:this.option)}}};const N=(0,f.Z)(I,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"multi-step-question"}
2,[t._v("\n    Did you experience any serious side effects that made you stop?\n  ")]),t._v(" "),e("label",{staticClass:"tw-button-radio tw-rounded-full"},[t._v("\n    No, I never had any side effects\n    "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.option,expression:"option"}],attrs:{value:"No, I never had any side effects",type:"radio"},domProps:{checked:t._q(t.option,"No, I never had any side effects")},on:{change:function(e){t.option="No, I never had any side effects"}}})]),t._v(" "),e("label",{staticClass:"tw-button-radio tw-rounded-full"},[t._v("\n    No, the side effects did not make me stop\n    "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.option,expression:"option"}],attrs:{value:"No, the side effects did not make me stop",type:"radio"},domProps:{checked:t._q(t.option,"No, the side effects did not make me stop")},on:{change:function(e){t.option="No, the side effects did not make me stop"}}})]),t._v(" "),e("label",{staticClass:"tw-button-radio tw-rounded-full tw-mb-6"},[t._v("\n    Yes\n    "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.option,expression:"option"}],attrs:{value:"Yes",type:"radio"},domProps:{checked:t._q(t.option,"Yes")},on:{change:function(e){t.option="Yes"}}})]),t._v(" "),e("Transition",{attrs:{name:"fade"}},["Yes"===t.option?e("div",[e("label",{staticClass:"tw-label tw-block tw-mb-1"},[t._v("\n        What side effects did you experience?\n      ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],staticClass:"tw-input tw-mb-6 tw-rounded-full tw-border-black",domProps:{value:t.answer},on:{input:function(e){e.target.composing||(t.answer=e.target.value)}}})]):t._e()]),t._v(" "),e("Transition",{attrs:{name:"fade"}},[t.option?e("div",[e("button",{staticClass:"tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-btn-lg",on:{click:function(e){return e.preventDefault(),t.next.apply(null,arguments)}}},[t._v("\n        Continue\n      ")])]):t._e()])],1)}),[],!1,null,null,null).exports;var M=n(55965),R=n(14720),D=n(12833),j=n(2943),B=n(83033),L=n(74263),F=n(59030),q=n(24197);function Q(t){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(t)}function U(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function V(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?U(Object(n),!0).forEach((function(e){H(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function H(t,e,n){return(e=G(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function G(t){var e=function(t,e){if("object"!==Q(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Q(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Q(e)?e:String(e)}var z={type:"yes-or-no",answer:null,validate:function(t){return null!=t.answer||"Please select an option."}},W={type:"checklist",hideContinueButton:!1,answer:null,validAnswer:"None",validate:function(t){return!!t.answer||"Please select an answer."}},$={type:"radio",hideContinueButton:!1,answer:null,show:function(){return!0},validate:function(t){return null!=t.answer||"Please select an answer."}},K={type:"range",hideContinueButton:!1,answer:null,validate:function(t){return null!=t.answer||"Please select an answer."}},Y=[{name:"state",autoFillProperty:"contact.state",showForRefillOrders:!0,programs:["general"],dontSkipForSupplement:!0,answer:null,validAnswer:"FL",validate:function(t){var e,n=t.answer,r=t.programs,i=t.questions,o=t.additionalEnrollmentData,a=t.user,s=i.find((function(t){return"product"===t.name}));if(console.log("additionalEnrollmentData",o),!(null!=a&&null!==(e=a.patient)&&void 0!==e&&e.dob||null!=o&&o.over18ageConfirmed))return"Please confirm you are 18+ before continuing.";if(null!=s&&s.answer&&(240===s.answer.id||241===s.answer.id)&&["CA"].includes(n))throw"We currently don't offer the product you selected in your state.";if(["AR","CT","FL","ID","IN","LA","MN","MS","ND","OH","PA","RI","SC","UT"].includes(n)&&r.includes("testosterone"))throw"We currently don't offer the program you selected in your state.";if(["LA","ID"].includes(n)&&r.includes("hcg"))throw"We currently don't offer the program you selected in your state.";if(["LA"].includes(n)&&r.includes("weight_loss"))throw"We currently don't offer the program you selected in your state.";if(["PR"].includes(n))throw"We currently don't offer our programs in your state.";if(r.includes("ed")&&["ND"].includes(n))throw"We currently don't offer our ED program in your state.";return!!n||"Please select your state."},show:function(t){t.questions;return!0}},{name:"primary_ed_concern",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.primary_ed_concern",programs:["ed"],text:"What is your primary concern regarding erectile dysfunction?",type:"radio",options:["Difficulty achieving an erection","Difficulty maintaining an erection","Reduced sexual desire or libido","Erections not firm enough for intercourse","Other"],answer:null,validAnswer:"Difficulty achieving an erection",validate:function(t){return!!t.answer||"Please select your primary concern."}},{name:"symptom_duration",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.symptom_duration",programs:["ed"],text:"How long have you experienced these symptoms?",type:"radio",options:["Less than 6 months","6-12 months","Over 1 year"],answer:null,validAnswer:"Less than 6 months",validate:function(t){return!!t.answer||"Please select how long you have experienced symptoms."}},V(V({},K),{},{programs:["ed"],name:"symptom_severity",autoFillProperty:"patient.ed_info.symptom_severity",hideForTrueRefills:!0,text:"On a scale of 1-10, how severe are your ED symptoms? (1 = mild, 10 = severe)",options:["1","2","3","4","5","6","7","8","9","10"]}),{name:"previous_ed_diagnosis",hideForTrueRefills:!0,autoFillProperty:"patient.ed_info.previous_ed_diagnosis",programs:["ed"],text:"Have you previously been diagnosed with erectile dysfunction?",type:"radio",options:["Yes","No"],answer:null,validAnswer:"Yes",validate:function(t){return!!t.answer||"Please select an answer."}},V(V({},W),{},{programs:["ed"],hideForTrueRefills:!0,name:"recent_ed_experiences",autoFillProperty:"patient.ed_info.recent_ed_experiences",text:"Over the last year, have you experienced any of these? (Select all that apply)",options:["Reduced confidence in achieving erections","Erections not satisfactory for intercourse","Decreased frequency of erections (e.g., morning erections)","Increased stress or relationship strain due to ED"]}),V(V({},$),{},{programs:["weight_loss"],name:"reason_for_weight_loss",autoFillProperty:"patient.weightloss_info.reason_for_weight_loss",hideForTrueRefills:!0,text:"What is your primary reason for seeking weight loss treatment? (Select one)",options:["Difficulty losing weight despite diet and exercise","Obesity-related health issues (e.g., high blood pressure, joint pain, fatigue)","Improve energy, mood, or overall well-being","Prepare for surgery, event, or specific goal"]}),V(V({},$),{},{programs:["weight_loss"],name:"weight_management_duration",autoFillProperty:"patient.weightloss_info.weight_management_duration",hideForTrueRefills:!0,text:"How long have you been struggling with weight management? (Select one)",options:["Less than 6 months","6-12 months","Over 1 year"]}),V(V({},K),{},{programs:["weight_loss"],name:"weight_concern_severity",autoFillProperty:"patient.weightloss_info.weight_concern_severity",hideForTrueRefills:!0,text:"On a scale of 1-10, how severe do you rate your weight-related concerns? (1 = mild, 10 = severe)",options:["1","2","3","4","5","6","7","8","9","10"]}),V(V({},W),{},{programs:["weight_loss"],name:"prior_weight_loss_attempts",autoFillProperty:"patient.weightloss_info.prior_weight_loss_attempts",hideForTrueRefills:!0,text:"What prior weight loss attempts have you made? (Select all that apply)",options:["Diet changes only","Exercise programs","Other prescription medications (e.g., phentermine)","Over-the-counter supplements","Bariatric surgery"]}),V(V({},$),{},{programs:["weight_loss"],name:"glp1_usage_status",autoFillProperty:"patient.weightloss_info.glp1_usage_status",hideForTrueRefills:!0,text:"Are you currently or have you ever taken a GLP-1 medication?",options:["I'm currently on GLP-1 medication","I have taken one before but not currently","I have never taken a GLP-1 medication"]}),V(V({},$),{},{name:"primary_skin_concern",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.primary_skin_concern",text:"What is your primary skin concern?",options:["Acne (e.g., pimples, blackheads, whiteheads)","Acne rosacea (e.g., redness, swelling, bumps)","Patchy or inflamed skin with acne","Clogged pores or uneven skin texture","Other"],validate:function(t){var e=t.answer;return!(!e||null===e||""===e)||"Please select your primary skin concern."}}),V(V({},$),{},{name:"concern_duration",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.concern_duration",text:"How long have you experienced these skin concerns?",options:["Less than 6 months","6-12 months","Over 1 year"],validate:function(t){var e=t.answer;return!(!e||null===e||""===e)||"Please select how long you have experienced these concerns."}}),V(V({},K),{},{name:"severity_scale",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.severity_scale",answer:null,text:"On a scale of 1-10, how severe are your skin symptoms? (1 = mild, 10 = severe)",options:["1","2","3","4","5","6","7","8","9","10"]}),V(V({},z),{},{name:"diagnosed_with_acne",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.diagnosed_with_acne",text:"Have you previously been diagnosed with acne or acne rosacea?",validate:function(t){var e=t.answer;return null!=e||"Please select an option."}}),V(V({},W),{},{name:"treatments_tried",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.treatments_tried",text:"What acne treatments have you tried? 
2(Select all that apply)",options:["Over-the-counter topicals (e.g., benzoyl peroxide, salicylic acid)","Prescription medications (e.g., tretinoin, clindamycin, azelaic acid)","Antibiotics (oral or topical)","Other (e.g., laser therapy, chemical peels)"],show:function(t){var e,n=null===(e=t.questions.find((function(t){return"diagnosed_with_acne"===t.name})))||void 0===e?void 0:e.answer;return!0===n||"Yes"===n},validate:function(t){var e=t.answer;return!!(e&&e.length>0)||'Please select at least one treatment or "None".'}}),V(V({},W),{},{name:"nuskin_contraindications",programs:["skin"],hideForTrueRefills:!0,autoFillProperty:"patient.skin_info.nuskin_contraindications",text:"Do you have any conditions or factors that may affect NuSkin™ Acne Max use? (Select all that apply)",options:["Pregnancy or breastfeeding (contraindicated for tretinoin)","Allergy to clindamycin, lincomycin, or sulfonamides","Chronic skin conditions (e.g., eczema, psoriasis)","History of severe skin sensitivity or irritation"],validate:function(t){var e=t.answer;return!!(e&&e.length>0)||'Please select at least one option or "None of the above".'}}),V(V({},$),{},{name:"primary_hormone_concern",programs:["testosterone","trt"],hideForTrueRefills:!0,autoFillProperty:"patient.testosterone_info.primary_hormone_concern",text:"What is your primary concern regarding hormone health?",options:["Low energy/fatigue","Low libido/sexual function","Mood changes (e.g., depression, irritability)","Loss of muscle mass or strength","Other"],validate:function(t){var e=t.answer;return!(!e||null===e||""===e)||"Please select your primary concern."}}),V(V({},$),{},{name:"symptom_duration",programs:["testosterone","trt"],hideForTrueRefills:!0,autoFillProperty:"patient.testosterone_info.symptom_duration",text:"How long have you experienced these symptoms?",options:["Less than 6 months","6-12 months","Over 1 year"],validate:function(t){var e=t.answer;return!(!e||null===e||""===e)||"Please select how long you have experienced these symptoms."}}),V(V({},K),{},{name:"symptom_severity",programs:["testosterone","trt"],hideForTrueRefills:!0,autoFillProperty:"patient.testosterone_info.symptom_severity",answer:null,text:"On a scale of 1-10, how severe are these symptoms? (1 = mild, 10 = severe)",options:["1","2","3","4","5","6","7","8","9","10"]}),V(V({},z),{},{name:"diagnosed_with_low_t",programs:["testosterone","trt"],hideForTrueRefills:!0,autoFillProperty:"patient.testosterone_info.diagnosed_with_low_t",text:"Have you been previously diagnosed with low testosterone (hypogonadism)?",validate:function(t){var e=t.answer;return null!=e||"Please select an option."}}),V(V({},W),{},{name:"treatment_history",programs:["testosterone","trt"],hideForTrueRefills:!0,autoFillProperty:"patient.testosterone_info.treatment_history",text:"If diagnosed, what was your treatment history? (Select all that apply)",options:["Gels or creams","Injections","Pellets","Other"],show:function(t){var e,n=null===(e=t.questions.find((function(t){return"diagnosed_with_low_t"===t.name})))||void 0===e?void 0:e.answer;return!0===n||"Yes"===n},validate:function(t){var e=t.answer;return!!(e&&e.length>0)||"Please select at least one option."}}),V(V({},W),{},{name:"chronic_medical_conditions",programs:["testosterone","trt"],hideForTrueRefills:!0,autoFillProperty:"patient.testosterone_info.chronic_medical_conditions",text:"Do you have any chronic medical conditions? (Select all that apply)",options:["Diabetes","Heart disease","Sleep apnea","Prostate issues","Obesity (BMI >30)"],validate:function(t){var e=t.answer;return!!(e&&e.length>0)||'Please select at least one option or "None of the above".'}}),V(V({},W),{},{name:"testosterone_affecting_conditions",programs:["testosterone","trt"],hideForTrueRefills:!0,autoFillProperty:"patient.testosterone_info.testosterone_affecting_conditions",text:"Do you have a history of conditions that may affect testosterone levels? (Select all that apply)",options:["Type 2 diabetes or metabolic syndrome","Chronic opioid use","Pituitary or testicular disorders","HIV or chronic infections","Chemotherapy/radiation history"],validate:function(t){var e=t.answer;return!!(e&&e.length>0)||'Please select at least one option or "None of the above".'}}),V(V({},W),{},{name:"recent_life_experiences",programs:["testosterone","trt"],hideForTrueRefills:!0,autoFillProperty:"patient.testosterone_info.recent_life_experiences",text:"Over the last year, have you experienced any of these? (Select all that apply)",options:["Decreased enjoyment of life","Difficulty achieving erections","Decreased height","Inability to engage in vigorous activity","Sadness or grumpiness"],validate:function(t){var e=t.answer;return!!(e&&e.length>0)||'Please select at least one option or "None of the above".'}}),V(V({},$),{},{name:"growth_hormone_concern",programs:["hrt"],hideForTrueRefills:!0,autoFillProperty:"patient.hrt_info.growth_hormone_concern",text:"What is your primary concern related to growth hormone?",options:["Low energy or fatigue","Decreased muscle mass or strength","Increased body fat or poor recovery","Poor sleep or reduced well-being","Other"]}),V(V({},$),{},{name:"symptom_duration",programs:["hrt"],hideForTrueRefills:!0,autoFillProperty:"patient.hrt_info.symptom_duration",text:"How long have you experienced these symptoms?",options:["Less than 6 months","6-12 months","Over 1 year"]}),V(V({},K),{},{name:"symptom_severity",programs:["hrt"],hideForTrueRefills:!0,autoFillProperty:"patient.hrt_info.symptom_severity",answer:null,text:"MAle:On a scale of 1-10, how severe are these symptoms? (1 = mild, 10 = severe)",options:["1","2","3","4","5","6","7","8","9","10"]}),V(V({},z),{},{name:"growth_hormone_deficiency",programs:["hrt"],hideForTrueRefills:!0,autoFillProperty:"patient.hrt_info.growth_hormone_deficiency",text:"Have you previously been diagnosed with growth hormone deficiency?"}),V(V({},W),{},{name:"treatments_tried",programs:["hrt"],hideForTrueRefills:!0,autoFillProperty:"patient.hrt_info.treatments_tried",text:"What growth hormone-related treatments have you tried? 
2(Select all that apply)",options:["Sermorelin or other GHRH peptides","Direct hGH injections","Supplements (e.g., amino acids)"],show:function(t){var e,n=null===(e=t.questions.find((function(t){return"growth_hormone_deficiency"===t.name})))||void 0===e?void 0:e.answer;return!0===n||"Yes"===n}}),V(V({},W),{},{name:"contributing_conditions",programs:["hrt"],hideForTrueRefills:!0,autoFillProperty:"patient.hrt_info.contributing_conditions",text:"Do you have any conditions that may contribute to low growth hormone? (Select all that apply)",options:["Pituitary disorders","Chronic stress or illness","Hormonal imbalances (e.g., thyroid, low testosterone)","Aging (over 40)"],validate:function(t){var e=t.answer;return!!(e&&e.length>0)||'Please select at least one option or "None of the above".'}}),V(V({},$),{},{name:"hair_loss_concern",programs:["hair loss"],hideForTrueRefills:!0,autoFillProperty:"patient.hairloss_info.hair_loss_concern",text:"What is your primary concern regarding hair loss?",options:["Thinning hair on the scalp (e.g., receding hairline or crown)","Patchy bald spots","Overall hair shedding or breakage","Scalp irritation with hair loss","Other"]}),V(V({},$),{},{name:"hair_loss_duration",programs:["hair loss"],hideForTrueRefills:!0,autoFillProperty:"patient.hairloss_info.hair_loss_duration",text:"How long have you experienced hair loss symptoms?",options:["Less than 6 months","6-12 months","Over 1 year"]}),V(V({},K),{},{name:"hair_loss_severity",programs:["hair loss"],hideForTrueRefills:!0,autoFillProperty:"patient.hairloss_info.hair_loss_severity",answer:null,text:"On a scale of 1-10, how severe are your hair loss symptoms? (1 = mild, 10 = severe)",options:["1","2","3","4","5","6","7","8","9","10"]}),V(V({},z),{},{name:"diagnosed_hair_loss",programs:["hair loss"],hideForTrueRefills:!0,autoFillProperty:"patient.hairloss_info.diagnosed_hair_loss",text:"Have you previously been diagnosed with hair loss (e.g., androgenetic alopecia, alopecia areata)?"}),V(V({},W),{},{name:"hair_loss_treatments_tried",programs:["hair loss"],hideForTrueRefills:!0,autoFillProperty:"patient.hairloss_info.hair_loss_treatments_tried",text:"What hair loss treatments have you tried? (Select all that apply)",options:["Over-the-counter topicals (e.g., minoxidil/Rogaine)","Prescription medications (e.g., finasteride/Propecia)","Shampoos or supplements","Procedures (e.g., transplants, laser therapy)"],show:function(t){var e,n=null===(e=t.questions.find((function(t){return"diagnosed_hair_loss"===t.name})))||void 0===e?void 0:e.answer;return!0===n||"Yes"===n}}),V(V({},W),{},{name:"hair_loss_contributing_factors",programs:["hair loss"],hideForTrueRefills:!0,autoFillProperty:"patient.hairloss_info.hair_loss_contributing_factors",text:"Do you have any conditions or factors that may contribute to hair loss? (Select all that apply)",options:["Family history of hair loss","Hormonal changes (e.g., menopause, thyroid issues)","Stress or recent illness","Scalp conditions (e.g., dandruff, psoriasis)","Medications or chemotherapy"],validate:function(t){var e=t.answer;return!!(e&&e.length>0)||'Please select at least one option or "None of the above".'}})];var Z=n(10509),J=n(4436),X=n(10028),tt=n(66438),et=n(7405),nt=n(74150),rt=n(18120),it=n(89976),ot=n(80947),at=n(27643),st=n(40782),lt=n(411),ut=n(55767),ct=n(49290),dt=n(18298),ht=n(17007),ft=n(43630),pt=n(31113),wt=n(64751),mt=n(88880),vt=n(96486),gt=n.n(vt),yt=n(17165),bt=n(96204),_t=n(2145),xt=(n(52997),n(13311)),kt=n.n(xt),Ct=n(23279),St=n.n(Ct);function Pt(t){return Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pt(t)}function At(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?At(Object(n),!0).forEach((function(e){Tt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Tt(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Pt(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Pt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Pt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Et(t){return function(t){if(Array.isArray(t))return It(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return It(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return It(t,e)}(t)||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 It(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}const Nt={components:{CardModal:lt.Z,InlineValidationField:s.Z},mixins:[_t.Z],props:{inlineValidation:{type:Boolean,default:!1},validationErrors:{type:Array,default:function(){return[]}},value:{required:!0,type:Object},questions:{required:!0,type:Array},user:{required:!0,type:Object,default:function(){return{}}},selectedProgram:{default:null,type:String},selectedProducts:{default:function(){return{}},type:Object},selectedSubscription:{default:function(){return{}},type:Object}},data:function(){return{fieldErrors:[],autoSaveAttempt:0,cancelledDraft:null,lastSyncedDraft:null,addressDisposed:!1,selectedCountry:"US",selectedState:null,selectedStateName:null,showConfirmAddressModal:!1,disableFields:!1,searchQuery:"",state:"loaded",addressData:{street_number:null,route:null,city:null,state:null,county:null,country:null,postal_code:null,address:null,full_address:null,latitude:null,longitude:null}}},computed:{visibleFieldErrors:function(){return(0,o.fH)([].concat(Et(this.fieldErrors),Et(this.inlineValidation?this.validationErrors:[])))},stateHasError:function(){return!(this.value.state==this.selectedState)},addressTwoHasError:function(){return""!==this.value.address_two&&null!==this.value.address_two&&this.value.address_two===(this.inlineValidation?this.searchQuery:this.value.address)},isFormValid:function(){return this.searchQuery&&""!==this.searchQuery.trim()&&this.value.city&&""!==this.value.city.trim()&&this.value.state&&""!==this.value.state.trim()&&this.value.postal&&""!==this.value.postal.toString().trim()&&!this.stateHasError&&!this.addressTwoHasError},draftValues:function(){return Ot(Ot({},this.value),{},{address:this.searchQuery,country:"US"})},draftKey:function(){return JSON.stringify(this.draftValues)},draftErrors:function(){var t=[],e=function(e,n,r){n||t.push({field:e,message:r,kind:"required"})};return e("address",this.searchQuery&&""!==this.searchQuery.trim(),"Please enter your street address."),this.addressTwoHasError&&t.push({field:"address_two",kind:"mismatch",message:"Address Line 2 can not be the same as Address Line 1. Please enter an address different from Address Line 1."}),e("city",this.value.city&&""!==this.value.city.trim(),"Please enter your city."),e("state",this.value.state&&""!==this.value.state.trim(),"Please select your state."),this.value.state&&""!==this.value.state.trim()&&this.stateHasError&&t.push({field:"state",kind:"mismatch",message:"This state does not match the state you selected at the beginning of this order process, which was ".concat(this.selectedStateName,". Please select an address in your selected state which is ").concat(this.selectedStateName,".")}),e("postal",this.value.postal&&""!==this.value.postal.toString().trim(),"Please enter your zip code."),t}}
2,watch:{draftValues:{handler:function(t,e){if(this.inlineValidation){JSON.stringify(t)!==JSON.stringify(e)&&this.$emit("draft-change",Ot({},t));var n=this.fieldErrors.map((function(t){return t.field}));this.fieldErrors=this.draftErrors.filter((function(r){return n.includes(r.field)||"mismatch"===r.kind&&(t[r.field]!==(null==e?void 0:e[r.field])||"address_two"===r.field&&t.address!==(null==e?void 0:e.address))}))}this.scheduleAutoSave()},deep:!0}},created:function(){var t=this;this.autoSaveAddress=St()((function(e){t.addressDisposed||e!==t.autoSaveAttempt||t.syncDraft()}),800)},beforeDestroy:function(){this.addressDisposed=!0,this.cancelAutoSave()},mounted:function(){var t,e=this;if("undefined"!=typeof window&&"undefined"!=typeof mixpanel&&mixpanel.track("At Address Question",{order_type:this.selectedProgram}),void 0!==this.$posthog)try{this.$posthog.capture("address_question_reached",{program_type:this.selectedProgram})}catch(t){console.error("[AddressQuestion] PostHog tracking failed:",t)}var n=this.questions.find((function(t){return"state"===t.name}));if(this.selectedState=n.answer,this.selectedStateName=this.states.find((function(t){return t[1]==e.selectedState}))[0],!this.value.state&&n&&n.answer&&this.$emit("input",Ot(Ot({},this.value),{},{state:n.answer})),this.value.address)console.log("Existing address data found:",this.value.address),"string"==typeof this.value.address&&""!==this.value.address.trim()?(this.searchQuery=this.value.address,this.state="existing-address-auto-filled"):"object"===Pt(this.value.address)&&this.value.address.address&&(this.searchQuery=this.value.address.address,this.state="existing-address-auto-filled");else if(null!==(t=this.user)&&void 0!==t&&t.contact){var r=this.user.contact;console.log("Prefilling address form with user contact info:",r);var i=Ot({},this.value),o=!1;r.address&&"string"==typeof r.address&&""!==r.address.trim()&&(this.searchQuery=r.address.trim(),o=!0),r.city&&"string"==typeof r.city&&""!==r.city.trim()&&(i.city=r.city.trim(),o=!0),r.postal&&""!==r.postal.toString().trim()&&(i.postal=r.postal.toString().trim(),o=!0),r.address_two&&"string"==typeof r.address_two&&""!==r.address_two.trim()&&(i.address_two=r.address_two.trim(),o=!0),o&&(this.$emit("input",i),console.log("Address form prefilled with contact info"))}},methods:{inputId:function(t){return this.inlineValidation?"enrollment-address-".concat(this._uid,"-").concat(t):t},errorId:function(t){return"".concat(this.inputId(t),"-error")},touchField:function(t){if(this.inlineValidation){var e=[].concat(Et(this.fieldErrors.map((function(t){return t.field}))),[t]);this.fieldErrors=this.draftErrors.filter((function(t){return e.includes(t.field)}))}},validateDraft:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.sync,n=void 0!==e&&e,r=t.focus,i=void 0===r||r;return this.cancelAutoSave(),!this.addressDisposed&&(this.inlineValidation&&(this.fieldErrors=this.draftErrors),this.isFormValid&&"searching"!==this.state?(n&&this.syncDraft(),!0):(this.inlineValidation&&i&&this.focusFirstError(),!1))},focusFirstError:function(){var t=this;this.$nextTick((function(){var e,n;if(!t.addressDisposed){var r=null===(e=t.visibleFieldErrors[0])||void 0===e?void 0:e.field;r&&(null===(n=t.$refs["".concat(r,"Field")])||void 0===n||n.focus())}}))},cancelAutoSave:function(){var t;this.autoSaveAttempt+=1,this.cancelledDraft=this.draftKey,null===(t=this.autoSaveAddress)||void 0===t||t.cancel()},scheduleAutoSave:function(){this.addressDisposed||this.cancelledDraft===this.draftKey||(this.cancelledDraft=null,this.autoSaveAttempt+=1,this.autoSaveAddress.cancel(),this.isFormValid&&this.lastSyncedDraft!==this.draftKey&&this.autoSaveAddress(this.autoSaveAttempt))},submit:function(){if(this.inlineValidation)return this.validateDraft({sync:!0});"searching"!==this.state&&this.isFormValid&&(this.scheduleAutoSave(),this.autoSaveAddress.flush())},input:function(t,e){var n=e.target;this.$emit("input",Ot(Ot({},this.value),{},Tt({},t,n.value)))},syncDraft:function(){if(!this.addressDisposed&&this.isFormValid&&this.lastSyncedDraft!==this.draftKey){this.lastSyncedDraft=this.draftKey;var t=Ot(Ot({},this.value),{},{address:this.searchQuery,country:"US"});this.$emit("input",t),Object.assign(this.value,t),this.continueEnrollment()}},saveAddress:function(){if(this.isFormValid){var t=Ot(Ot({},this.value),{},{address:this.searchQuery,country:"US"});this.$emit("input",t),Object.assign(this.value,t),this.continueEnrollment()}else this.$bus.$emit("flash-message",{message:"Please fill in all required address fields to continue.",type:"error"})},setAddressInfo:function(){this.value.state=this.addressData.state,this.value.street_number=this.addressData.street_number},continueEnrollment:function(){if(this.showConfirmAddressModal=!1,this.$emit("done",Ot({},this.value)),void 0!==this.$posthog)try{var t,e,n={};this.value.city&&(n.city=this.value.city.toLowerCase().trim()),this.value.state&&(n.state=this.value.state.toLowerCase().trim()),this.value.postal&&(n.zip=this.value.postal.toString().trim());var r=(null===(t=this.selectedProducts)||void 0===t?void 0:t.subtotal)||0;this.$posthog.capture("shipping_info_added",{$set:n,currency:"USD",cart_value:parseFloat(r||0),product_count:Object.keys((null===(e=this.selectedProducts)||void 0===e?void 0:e.products)||{}).length}),console.log("[AddressQuestion] PostHog shipping_info_added event sent")}catch(t){console.error("[AddressQuestion] PostHog tracking failed:",t)}},verifyAddress:function(){""!==this.searchQuery&&null!==this.searchQuery&&""!==this.searchQuery.trim()?null!==this.value.city&&""!==this.value.city&&""!==this.value.city.trim()?null!==this.value.postal&&""!==this.value.postal&&""!==this.value.postal.trim()?this.searchForAddress(this.searchQuery+", "+this.value.city+", "+this.selectedStateName):this.$bus.$emit("flash-message",{message:"You need to fill in the Zip Code field to continue.",type:"error"}):this.$bus.$emit("flash-message",{message:"You need to fill in the City f
2ield to continue.",type:"error"}):this.$bus.$emit("flash-message",{message:"You need to fill in the Address Line 1 field to continue.",type:"error"})},useSuggestion:function(){if(this.stateHasError)return this.state="mismatched-state",void this.$bus.$emit("flash-message",{message:"Address state does not match the state of "+this.selectedStateName+" which you selected earlier in the process.",type:"error"});this.value.address=this.searchQuery=this.addressData.address,this.value.city=this.addressData.city,this.value.postal=this.addressData.postal_code,this.value.street_number=this.addressData.street_number,this.state="address-suggestion-selected",this.showConfirmAddressModal=!1,this.continueEnrollment()},keepEntry:function(){if(this.stateHasError)return this.state="mismatched-state",void this.$bus.$emit("flash-message",{message:"Address state does not match the state of "+this.selectedStateName+" which you selected earlier in the process.",type:"error"});this.value.address=this.searchQuery,this.value.street_number=""===this.value.street_number?"1209":this.value.street_number,this.showConfirmAddressModal=!1,this.continueEnrollment()},searchForAddress:function(t){if(""!==t){var e=new google.maps.places.AutocompleteService;this.state="searching",e.getPlacePredictions({input:t,componentRestrictions:{country:"us"}},function(t,e){e===google.maps.places.PlacesServiceStatus.OK?new google.maps.places.PlacesService(document.createElement("div")).getDetails({placeId:t[0].place_id,fields:["formatted_address","geometry","address_component"]},function(t,e){this.extractAddressData(t),this.showConfirmAddressModal=!0}.bind(this)):(this.addressData={street_number:null,route:null,city:null,state:null,county:null,country:null,postal_code:null,address:null,full_address:null,latitude:null,longitude:null},this.showConfirmAddressModal=!0),this.state="searched-completed"}.bind(this))}},get_address_value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"long_name",r=kt()(e.address_components,function(e){return e.types[0]==t}.bind(t));return r?r[n]:"locality"===t?this.get_address_value("sublocality_level_1",e,n):""},get_geometry_value:function(t,e){return kt()(e.geometry.location,function(e,n){return n==t}.bind(t))()},extractAddressData:function(t){this.addressData.street_number=this.get_address_value("street_number",t),this.addressData.route=this.get_address_value("route",t),this.addressData.city=this.get_address_value("locality",t),this.addressData.state=this.get_address_value("administrative_area_level_1",t,"short_name"),this.addressData.county=this.get_address_value("administrative_area_level_2",t),this.addressData.country=this.get_address_value("country",t,"short_name"),this.addressData.postal_code=this.get_address_value("postal_code",t),this.addressData.address=this.addressData.street_number+" "+this.addressData.route,this.addressData.full_address=t.formatted_address,this.addressData.latitude=this.get_geometry_value("lat",t),this.addressData.longitude=this.get_geometry_value("lng",t),this.addressData.city||(this.addressData.city=this.get_address_value("neighborhood",t)),this.addressData.city||(this.addressData.city=this.get_address_value("administrative_area_level_3",t))}}},Mt=Nt;var Rt=n(86636),Dt={insert:"head",singleton:!1};y()(Rt.Z,Dt);Rt.Z.locals;const jt=(0,f.Z)(Mt,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-mt-10 tw-w-full",attrs:{"data-enrollment-submit":"address"},on:{"enrollment-submit":t.submit}},[e("div",{staticClass:"tw-mt-10"},[e("div",{},[e("div",[e("InlineValidationField",{ref:"addressField",staticClass:"tw-mb-4",attrs:{id:t.errorId("address"),errors:t.visibleFieldErrors,field:"address","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-label tw-text-gray-800 tw-block tw-mb-1 tw-mt-3",attrs:{for:t.inputId("address")}},[t._v("\n            Address Line 1 (no PO boxes)\n          ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchQuery,expression:"searchQuery"}],staticClass:"tw-input !tw-py-2 tw-mr-6 tw-rounded-full tw-border-black",attrs:{id:t.inputId("address"),"aria-required":t.inlineValidation?"true":null,type:"search",disabled:"searching"===t.state,placeholder:"Enter your full address",autofocus:"",autocomplete:"off"},domProps:{value:t.searchQuery},on:{blur:function(e){return t.touchField("address")}
2,input:function(e){e.target.composing||(t.searchQuery=e.target.value)}}})]),t._v(" "),e("InlineValidationField",{ref:"address_twoField",staticClass:"tw-mb-4",attrs:{id:t.errorId("address_two"),errors:t.visibleFieldErrors,field:"address_two","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-label tw-text-gray-800 tw-block tw-mb-1",attrs:{for:t.inputId("address_two")}},[t._v("\n            Address Line 2 (optional)\n          ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.value.address_two,expression:"value.address_two"}],staticClass:"tw-input !tw-py-2 tw-rounded-full tw-border-black",class:{"tw-border-red-light":!t.inlineValidation&&t.addressTwoHasError},attrs:{id:t.inputId("address_two"),autofocus:"",autocomplete:"off"},domProps:{value:t.value.address_two},on:{blur:function(e){return t.touchField("address_two")},input:function(e){e.target.composing||t.$set(t.value,"address_two",e.target.value)}}}),t._v(" "),e("Transition",{attrs:{name:"fade"}},[!t.inlineValidation&&t.addressTwoHasError?e("span",{key:"val-errors",staticClass:"tw-block tw-text-sm tw-text-red-light tw-mt-1"},[e("p",[t._v("\n                Address Line 2 can not be the same as Address Line 1.\n              ")]),t._v(" "),e("p",[t._v("\n                Please enter an address different from Address Line 1.\n              ")])]):t._e()])],1),t._v(" "),e("InlineValidationField",{ref:"cityField",staticClass:"tw-mb-4",attrs:{id:t.errorId("city"),errors:t.visibleFieldErrors,field:"city","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-label tw-text-gray-800 tw-block tw-mb-1",attrs:{for:t.inputId("city")}},[t._v("\n            City\n          ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.value.city,expression:"value.city"}],staticClass:"tw-input !tw-py-2 tw-rounded-full tw-border-black",attrs:{id:t.inputId("city"),"aria-required":t.inlineValidation?"true":null,disabled:"searching"===t.state,type:"search",autofocus:"",autocomplete:"off"},domProps:{value:t.value.city},on:{blur:function(e){return t.touchField("city")},input:function(e){e.target.composing||t.$set(t.value,"city",e.target.value)}}})]),t._v(" "),e("InlineValidationField",{ref:"stateField",staticClass:"tw-mb-4",attrs:{id:t.errorId("state"),errors:t.visibleFieldErrors,field:"state","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-label tw-text-gray-800 tw-block tw-mb-1",attrs:{for:t.inputId("state")}},[t._v("\n            State\n          ")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.value.state,expression:"value.state"}],staticClass:"tw-input !tw-py-2 tw-rounded-full",class:{"tw-border-red-light":!t.inlineValidation&&t.stateHasError},attrs:{id:t.inputId("state"),"aria-required":t.inlineValidation?"true":null,disabled:"searching"===t.state,autofocus:"",autocomplete:"off"},on:{blur:function(e){return t.touchField("state")},change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.value,"state",e.target.multiple?n:n[0])}}},[e("option",{domProps:{value:null}},[t._v("\n              Selected your state\n            ")]),t._v(" "),t._l(t.states,(function(n){return e("option",{key:n[0],domProps:{value:n[1]}},[t._v("\n              "+t._s(n[0])+"\n            ")])}))],2),t._v(" "),e("Transition",{attrs:{name:"fade"}},[!t.inlineValidation&&t.stateHasError?e("div",{key:"val-errors",staticClass:"tw-bg-white tw-p-4 tw-mb-6"},[e("span",{staticClass:"tw-block tw-text-sm tw-text-red-500 tw-mt-1"},[t._v("\n                This state does not match the state you selected at the beginning of this order process, which was\n                "),e("strong",[t._v("\n                  "+t._s(t.selectedStateName)+"\n                ")]),t._v(".\n                "),e("span",{staticClass:"tw-mt-6"},[t._v("\n                  Please select an address in your selected state which is\n                  "),e("strong",[t._v("\n                    "+t._s(t.selectedStateName)+"\n                  ")]),t._v(".\n                ")])])]):t._e()])],1),t._v(" "),e("InlineValidationField",{ref:"postalField",staticClass:"tw-mb-4",attrs:{id:t.errorId("postal"),errors:t.visibleFieldErrors,field:"postal","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-label tw-text-gray-800 tw-block tw-mb-1",attrs:{for:t.inputId("postal")}},[t._v("\n            Zip Code\n          ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.value.postal,expression:"value.postal"}],staticClass:"tw-input !tw-py-2 tw-rounded-full tw-border-black",attrs:{id:t.inputId("postal"),"aria-required":t.inlineValidation?"true":null,disabled:t.disableFields||"searching"===t.state,type:"number",autofocus:"",autocomplete:"off"},domProps:{value:t.value.postal},on:{blur:function(e){return t.touchField("postal")}
2,input:function(e){e.target.composing||t.$set(t.value,"postal",e.target.value)}}})])],1),t._v(" "),e("CardModal",{attrs:{show:t.showConfirmAddressModal,closeable:!1,"show-cancel-button":!1}},[e("h2",{staticClass:"tw-text-black tw-font-bold tw-my-0"},[t._v("\n          Address Confirmation!\n        ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker tw-text-lg tw-mb-6 tw-mt-3 tw-text-"},[t._v("\n          Please select an address. We recommend our suggestion to avoid shipping delays or issues.\n        ")]),t._v(" "),null===t.addressData.full_address?e("div",{staticClass:"tw-text-red-600"},[t._v("\n          No suggestion was made. We recommend sticking to your manual entry.\n        ")]):t._e(),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-col tw-space-y-5 md:tw-space-y-0 md:tw-space-x-4 md:tw-flex-row tw-justify-around tw-align-items tw-mt-4"},[e("div",{staticClass:"tw-text-lg xl:tw-text-base tw-cursor-pointer tw-bg-gray-lightest tw-font-bold tw-p-5 tw-text-center tw-min-h-16 tw-w-full md:tw-w-1/2 tw-border tw-border-gray-300 tw-rounded-md tw-border-1 tw-mr-1 tw-flex-1 hover:tw-shadow-lg",on:{click:function(e){return e.preventDefault(),t.keepEntry.apply(null,arguments)}}},[e("div",{staticClass:"whitespace-nowrap tw-text-gray-darker"},[t._v("\n              You Entered:\n            ")]),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-row tw-mt-3 tw-min-w-6 tw-justify-center tw-align-items tw-text-gray-darkest"},[e("svg",{staticClass:"tw-w-10 tw-h-8 tw-mr-1 xl:tw-hidden",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("path",{attrs:{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z"}}),t._v(" "),e("circle",{attrs:{cx:"12",cy:"10",r:"3"}})]),t._v(" "),e("span",[t._v("\n                "+t._s(t.searchQuery+", "+t.value.city+", "+t.value.state+" "+t.value.postal+", USA")+"\n              ")])])]),t._v(" "),""!==t.searchQuery&&null!==t.addressData.full_address?e("div",{staticClass:"tw-text-lg xl:tw-text-base tw-cursor-pointer tw-bg-gray-lightest tw-font-bold tw-p-5 tw-text-center tw-min-h-16 tw-w-full md:tw-w-1/2 tw-border tw-border-gray-300 tw-rounded-md tw-border-1 tw-mt-1 md:tw-mt-0 hover:tw-shadow-lg",on:{click:function(e){return e.preventDefault(),t.useSuggestion.apply(null,arguments)}}},[e("div",{staticClass:"whitespace-nowrap tw-text-gray-darker"},[null!==t.addressData.full_address?e("span",[t._v("\n                We Suggest:\n              ")]):t._e()]),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-row tw-mt-3 tw-min-w-6 tw-justify-center tw-align-items tw-text-gray-darkest"},[e("svg",{staticClass:"tw-w-10 tw-h-8 tw-mr-1 xl:tw-hidden",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("path",{attrs:{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z"}}),t._v(" "),e("circle",{attrs:{cx:"12",cy:"10",r:"3"}})]),t._v(" "),e("span",[t._v("\n                "+t._s(t.addressData.street_number+" "+t.addressData.route+", "+t.addressData.city+", "+t.addressData.state+" "+t.addressData.postal_code+", USA")+"\n              ")])])]):t._e()]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("div",{staticClass:"justify-center tw-flex tw-flex-col md:tw-flex-row md:tw-justify-around tw-align-items"},[e("button",{staticClass:"tw-mt-10 tw-block tw-mr-3 tw-w-2/3 tw-btn-sm tw-btn-lg tw-text-base xl:tw-text-sm tw-uppercase xl:tw-px-1",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.showConfirmAddressModal=!1}}},[t._v("\n              ← Go Back\n            ")]),t._v(" "),e("button",{staticClass:"tw-rounded-full tw-mt-10 tw-block tw-w-full tw-mr-3 tw-btn-sm tw-btn-blue-outline hover:tw-bg-gray-300 tw-text-gray-darker tw-btn tw-text-base xl:tw-text-sm tw-uppercase xl:tw-px-1",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.keepEntry.apply(null,arguments)}}},[t._v("\n              Keep My Entry\n            ")]),t._v(" "),null!==t.addressData.full_address?e("button",{staticClass:"tw-mt-10 tw-block tw-w-full tw-btn-sm tw-bg-black tw-text-white hover:tw-bg-gray-700 tw-btn tw-text-base xl:tw-text-sm tw-uppercase xl:tw-px-2 tw-rounded-full",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.useSuggestion.apply(null,arguments)}}},[t._v("\n              Use Suggested\n            ")]):t._e()])])],1
2)],1)])])}),[],!1,null,"ddadacc2",null).exports;var Bt=n(63032),Lt=n(71952);const Ft={components:{PhotoUploader:mt.Z},props:{subtotal:{type:[Number,String],default:0},discountPercent:{type:Number,default:50},enrolleeName:{type:String,default:""}},data:function(){return{categories:{law_enforcement:"Law Enforcement",first_responder:"First Responder (Fire / EMS / Paramedic)",military:"Military / Veteran"},isResponder:!1,category:null,image:null,loading:!1,verified:!1,blocked:!1,error:!1,message:null}},computed:{categoryLabel:function(){return this.categories[this.category]||""}},watch:{isResponder:function(t){t||this.verified||(this.message=null,this.error=!1)}},methods:{getImage:function(t,e){this.image=e,this.message=null,this.error=!1},retake:function(){this.image=null},verify:function(){var t=this;this.loading=!0,this.message=null,this.error=!1,axios.post("/json/verify-responder-id",{image:this.image,category:this.category,name:this.enrolleeName}).then((function(e){var n=e.data;if(t.loading=!1,t.message=n.message,"passed"===n.status)return t.verified=!0,t.error=!1,void t.$emit("verified",{category:t.category,percent:t.discountPercent});t.error=!0,t.image=null,"blocked"===n.status&&(t.blocked=!0,t.isResponder=!1)})).catch((function(e){t.loading=!1,t.error=!0,t.image=null,t.message=e.response&&e.response.data&&e.response.data.message||"Something went wrong. Please try again."}))},reset:function(){this.verified=!1,this.image=null,this.category=null,this.isResponder=!1,this.message=null,this.error=!1,this.$emit("cleared")}}};var qt=n(12471),Qt={insert:"head",singleton:!1};y()(qt.Z,Qt);qt.Z.locals;const Ut=(0,f.Z)(Ft,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-bg-white tw-border tw-rounded-2xl tw-border-gray-600 tw-py-4 tw-px-4 tw-mt-6 tw-mb-3"},[t.verified?e("div",{staticClass:"tw-flex tw-items-start tw-space-x-3"},[e("svg",{staticClass:"tw-w-6 tw-h-6 tw-text-green tw-flex-shrink-0",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"}})]),t._v(" "),e("div",[e("h4",{staticClass:"tw-font-semibold tw-text-base tw-m-0 tw-p-0 tw-text-green"},[t._v("\n        Verified — your "+t._s(t.discountPercent)+"% discount has been applied.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-xs tw-text-gray-600 tw-mt-1 tw-mb-0"},[t._v("\n        "+t._s(t.categoryLabel)+". Thank you for your service.\n        "),e("span",{staticClass:"tw-text-blue-dark tw-cursor-pointer tw-underline tw-ml-1",on:{click:t.reset}},[t._v("Remove")])])])]):e("div",[e("div",{staticClass:"tw-flex tw-items-start tw-justify-between"},[e("div",{staticClass:"tw-pr-3"},[e("h4",{staticClass:"tw-font-semibold tw-text-base tw-m-0 tw-p-0 tw-text-brand-brown"},[t._v("\n          First responder, law enforcement, or military?\n        ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-600 tw-mt-1 tw-mb-0"},[t._v("\n          Get "+t._s(t.discountPercent)+"% off your order. Verify your credential to apply the discount instantly.\n        ")])]),t._v(" "),e("label",{staticClass:"tw-relative tw-inline-flex tw-items-center tw-cursor-pointer tw-flex-shrink-0 tw-mt-1"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.isResponder,expression:"isResponder"}],staticClass:"tw-sr-only tw-peer",attrs:{type:"checkbox",disabled:t.blocked},domProps:{checked:Array.isArray(t.isResponder)?t._i(t.isResponder,null)>-1:t.isResponder},on:{change:function(e){var n=t.isResponder,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.isResponder=n.concat([null])):o>-1&&(t.isResponder=n.slice(0,o).concat(n.slice(o+1)))}else t.isResponder=i}}}),t._v(" "),e("div",{staticClass:"tw-w-11 tw-h-6 tw-bg-gray-300 peer-checked:tw-bg-green tw-rounded-full tw-transition-all after:tw-content-[''] after:tw-absolute after:tw-top-0.5 after:tw-left-0.5 after:tw-bg-white after:tw-rounded-full after:tw-h-5 after:tw-w-5 after:tw-transition-all peer-checked:after:tw-translate-x-5"})])]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.isResponder?e("div",{staticClass:"tw-mt-4"},[e("div",{staticClass:"tw-mb-3"},[e("label",{staticClass:"tw-text-gray-700 tw-text-sm tw-font-medium tw-block tw-mb-1"},[t._v("Category")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.category,expression:"category"}],staticClass:"tw-w-full tw-rounded-lg tw-border tw-border-gray-300 tw-py-2 tw-px-3 tw-text-sm",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,
2(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.category=e.target.multiple?n:n[0]}}},[e("option",{attrs:{disabled:""},domProps:{value:null}},[t._v("Select one…")]),t._v(" "),t._l(t.categories,(function(n,r){return e("option",{key:r,domProps:{value:r}},[t._v(t._s(n))])}))],2)]),t._v(" "),t.category?e("div",[t.image?e("div",{staticClass:"tw-flex tw-flex-col tw-items-center"},[e("img",{staticClass:"tw-max-h-40 tw-rounded-lg tw-border tw-mb-2",attrs:{src:t.image}}),t._v(" "),e("button",{staticClass:"tw-text-sm tw-text-blue-dark tw-underline",on:{click:function(e){return e.preventDefault(),t.retake.apply(null,arguments)}}},[t._v("Choose a different photo")])]):e("div",[e("PhotoUploader",{attrs:{"label-title":"Upload a clear photo of your official ID / credential"},on:{done:t.getImage}})],1),t._v(" "),t.image?e("button",{staticClass:"tw-block tw-w-full tw-btn tw-bg-brand-brown tw-text-white tw-btn-sm tw-rounded-full tw-py-2 tw-mt-3 tw-font-semibold",class:{loading:t.loading},attrs:{disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.verify.apply(null,arguments)}}},[t._v("\n            "+t._s(t.loading?"Verifying…":"Verify & apply 50% off")+"\n          ")]):t._e()]):t._e(),t._v(" "),t.message?e("p",{staticClass:"tw-text-sm tw-mt-3 tw-mb-0",class:t.error?"tw-text-red-600":"tw-text-gray-600"},[t._v("\n          "+t._s(t.message)+"\n        ")]):t._e()]):t._e()])],1)])}),[],!1,null,"06b742d2",null).exports;var Vt=n(53241);function Ht(t){return Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(t)}function Gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function zt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gt(Object(n),!0).forEach((function(e){Wt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Wt(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Ht(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Ht(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ht(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const $t={components:{InlineValidationField:s.Z,CouponQuestion:yt.Z,SignatureWaiverQuestion:bt.Z,AddressQuestion:jt,CheckCircleIcon:Bt.rE2,CardModal:lt.Z,RedeemBucks:Lt.default,ResponderDiscount:Ut},mixins:[u.Z],props:{inlineValidation:{type:Boolean,default:!1},validationErrors:{type:Array,default:function(){return[]}},user:{required:!0,type:Object},additionalEnrollmentData:{type:Object,required:!0},order:{required:!0,type:Object},products:{required:!0,type:Array},subscription:{default:null,type:Object},isVipOrder:{required:!0,type:Boolean},selectedProgram:{default:null,type:String},isRefill:{type:Boolean,default:!1},filteredShippingMethods:{required:!0,type:Array},questions:{required:!0,type:Array},showBucks:{type:String,required:!1,default:"false"},isNubodySubscription:{default:!1,type:Boolean}},data:function(){return{card_fee:"0.00",credit:0,credits:null,e_check_discount:"0.00",amex_discount:"0.05",signature_fee:"5",showOrderDetails:!1,shippingMethodSelected:!1,paymentMethodSelected:!1,shippingMethod:null,autoSelectedShippingMethod:null,paymentMethod:null,showShippingMethods:!1,showPaymentMethods:!1,showSignatureWaiver:!1,showPaymentForm:!1,showCouponInput:!1,responderVerified:!1,responderCategory:null,responderDiscountPercent:50,shipping:{method:null,signature_waiver:{signature:null,required:!1}},showShippingError:!1,sectionAnswered:null,steps:["address-section","payment-method"],answeredSteps:[],currentStep:"address-section",regulatoryFee:null!=="15"?"15":0,regulatoryStates:null!=="PR"?"PR":"",showRegulatoryFeeInfo:!1,showRemoveUBModal:!1,supplementUpsalePrice:parseFloat("2"),redeemBucksStyle:{back:"lg:tw-mr-4 tw-cursor-pointer tw-inline-flex tw-justify-center tw-w-full tw-border tw-border-transparent tw-px-4 tw-py-2 tw-bg-white tw-text-black tw-leading-6 tw-font-medium tw-text-black tw-shadow-sm hover:tw-bg-gray-200 hover:tw-text-black tw-transition-all tw-duration-500 focus:tw-outline-none focus:tw-border-black sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-shadow-lg md:tw-w-1/3",proceed:"tw-cursor-pointer tw-inline-flex tw-justify-center tw-w-full tw-border tw-border-gray-600 tw-px-4 tw-py-2 tw-text-base tw-leading-6 tw-font-medium tw-text-white tw-shadow-sm hover:tw-text-gray-500 focus:outline-none focus:border-white focus:shadow-outline sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-shadow-lg tw-bg-black md:tw-w-1/3"},availableBucks:void 0,showRedeemBucksButton:Boolean("true"),minimumBucksToRedeem:Number("100"),isEditingAddress:!1,addressData:{address:"",address_two:"",city:"",state:"",postal:"",country:"US"}}},computed:{addressValidationErrors:function(){return this.inlineValidation?this.validationErrors.filter((function(t){return t.field.startsWith("address.")})).map((function(t){return zt(zt({},t),{},{field:t.field.slice(8)})})):[]},allowRedeemBucks:function(){return this.availableBucks>=this.minimumBucksToRedeem&&this.showRedeemBucksButton},selectedPricingType:function(){var t;return null!==(t=this.productFrequencyName(this.products[0]))&&void 0!==t?t:null},supplementFormattedUpsalePrice:function(){return this.supplementUpsalePrice.toFixed(2)},supply:function(){return this.productFrequency(this.products[0])},generatedSignature:function(){if(!this.user)return"";var t=this.user.first_name||"",e=this.user.last_name||"";return"".concat(t," ").concat(e).trim()||"Electronic Signature"},enforcementFor:function(){var t=[];return this.additionalEnrollmentData.enforce_signature_for_location.includes(this.order.answers.state)&&t.push("state"),this.additionalEnrollmentData.enforce_signature_for_products.includes(String(this.order.answers.product.product_id))&&t.pu
2sh("product"),t},enforceDeliverySignature:function(){return!1},enforceRushOrder:function(){return!1},enforceOvOrder:function(){return!1},shippingQuestion:function(){var t=this.questions.find((function(t){return"shipping"===t.name}));return t.answer.signature_waiver.required=t.answer.signature_waiver.required,t},shippingMethods:function(){return this.filteredShippingMethods},waytlessUpsale:function(){return this.order.answers.inner_waytless_upsale},upsaleDiscount:function(){return this.waytlessUpsale&&this.waytlessUpsale.pricing&&"number"==typeof this.waytlessUpsale.pricing.price?50*this.waytlessUpsale.pricing.price/100:0},coupon:function(){return this.$store.getters.coupon},enrolleeName:function(){var t=this.order&&this.order.answers?this.order.answers:{},e=t.first_name||this.user&&this.user.first_name||"",n=t.last_name||this.user&&this.user.last_name||"";return"".concat(e," ").concat(n).trim()},validProducts:function(){var t=this.selectedProgram;return this.products.filter((function(e){return"supplements"===t?null!=e&&0!==e.length&&e.description&&0!==e.price:null!=e&&0!==e.length&&e.description}))},hasMissingProducts:function(){return 0===this.validProducts.length},emptyCoupon:function(){return gt().isEmpty(this.coupon)},paymentMethodFee:function(){return this.order.merchant_upcharge?Number(this.order.merchant_upcharge):this.emptyCoupon?Number(this.order.subtotal*this.card_fee):Number((this.order.subtotal-this.coupon.amount)*this.card_fee)},paymentMethodDiscount:function(){return this.order.merchant_discount?Number(this.order.merchant_discount)<0?0:Number(this.order.merchant_discount):"Amex"===this.order.payment_method?Number(this.order.subtotal*this.amex_discount)<0?0:Number(this.order.subtotal*this.amex_discount):Number(this.order.subtotal*this.e_check_discount)<0?0:Number(this.order.subtotal*this.e_check_discount)},remainingCredit:function(){return-1*this.orderTotal},signatureRequired:function(){return this.shipping.signature_waiver.required},getSignatureFee:function(){return this.signatureRequired?this.signature_fee:0},responderDiscount:function(){return this.responderVerified?Number(this.order.subtotal||0)*(this.responderDiscountPercent/100):0},responderCategoryLabel:function(){return{law_enforcement:"Law Enforcement",first_responder:"First Responder",military:"Military / Veteran"}[this.responderCategory]||"Responder"},orderTotal:function(){var t,e,n,r=this.order.couponSubtotal,i=this.emptyCoupon?0:Number(this.coupon.amount),o="Credit-Card"===this.order.payment_method?this.paymentMethodFee:-this.paymentMethodDiscount,a=null!==(t=this.order.subtotal)&&void 0!==t?t:r;return a+Number((null===(e=this.shippingMethod)||void 0===e?void 0:e.price)||0)+o-i-this.responderDiscount<0?0:a+Number((null===(n=this.shippingMethod)||void 0===n?void 0:n.price)||0)+o-i-this.responderDiscount-this.credit+Number(this.getSignatureFee)-this.upsaleDiscount},formattedTotalOrder:function(){return this.orderTotal<0?"0.00":this.orderTotal.toFixed(2)},supplementUpsaleProducts:function(){var t=this.order.addons;0===t.length&&this.selectedProgram;var e=[];return gt()(t).groupBy("id").forEach((function(t,n){var r={};r.count=t.length,r.data=t,e.push(r)})),e}},watch:{shippingMethods:{immediate:!0,handler:function(){this.autoSelectShippingMethod()}},addressValidationErrors:{immediate:!0,handler:function(t){t.length&&!this.isEditingAddress&&this.editAddress()}},products:function(t,e){}},mounted:function(){var t=this;this.trackCheckoutExternalCid(),console.log("Checkout order"),console.log(this.order),console.log("Checkout products"),console.log(this.products),console.log("Checkout subscription"),console.log(this.subscription),axios.get("json/get-available-bucks").then((function(e){t.availableBucks=e.data.availableEarnings})).catch((function(t){console.error("Error:",t)})),this.order.answers&&this.order.answers.address&&(this.addressData={address:this.order.answers.address||"",address_two:this.order.answers.address_two||"",city:this.order.answers.city||"",state:this.order.answers.state||"",postal:this.order.answers.postal||"",country:this.order.answers.country||"US"}),this.shipping.signature_waiver.required=!0,this.shippingQuestion.answer.signature_waiver={signature:null,required:!0},this.$emit("shipping","initial-load",this.shipping)},created:function(){var t=this;if(this.updateUrlParameters(zt(zt({},this.getUrlParameters()),{},{question:"cart_checkout"})),this.getUserCredits(),"undefined"!=typeof window&&"undefined"!=typeof mixpanel&&mixpanel.track("At Cart Checkout",{order_type:this.selectedProgram}),void 0!==this.$posthog)try{var e=this.validProducts.filter((function(e){return e.id&&t.productHasPrice(e)})).map((function(e){return{id:e.id.toString(),quantity:e.quantity||1,item_price:t.productUnitPrice(e),title:e.display_name||e.name||e.description||"Product",category:e.category||t.selectedProgram||"medical"}})),n=parseFloat(this.orderTotal||0);n>0&&e.length>0&&(this.$posthog.capture("checkout_started",{currency:"USD",cart_value:n,product_count:e.length,products:e.map((function(t){return{id:t.id,name:t.title,price:t.item_price,quantity:t.quantity,category:t.category}}))}),console.log("[CheckoutForm] PostHog checkout_started event sent"))}catch(t){console.error("[CheckoutForm] PostHog tracking failed:",t)}},methods:{trackCheckoutExternalCid:function(){var t=(0,Vt.Zk)(this.user);t&&(0,Vt.Rm)(t,{user:this.user})},validateAllFields:function(){var t=this;
2if(!this.inlineValidation||this.isVipOrder)return!0;if(this.$refs.address)return this.$refs.address.validateDraft({sync:!0,focus:!1});var e=this.order.answers;return!!["address","city","state","postal"].every((function(t){return null!=e[t]&&""!==String(e[t]).trim()}))||(this.editAddress(),this.$nextTick((function(){var e;return null===(e=t.$refs.address)||void 0===e?void 0:e.validateDraft()})),!1)},priceCalc:function(t,e){return this.selectedProgram,(this.productUnitPrice(t)*e).toFixed(2)},isUpsaleSupplement:function(t){var e=this;return this.order.addons.find((function(n){return t.id===n.id&&"supplements"!==e.selectedProgram&&!1}))},productFrequency:function(t){var e=this.productFrequencyName(t);return"quarterly"===e?3:"half-yearly"===e?6:"quintile"===e?5:"yearly"===e?12:1},productFrequencyName:function(t){var e,n,r;return t&&null!==(e=null!==(n=null===(r=t.pricing)||void 0===r?void 0:r.frequency)&&void 0!==n?n:t.frequency)&&void 0!==e?e:null},productPricing:function(t){var e;return t?null!==(e=t.pricing)&&void 0!==e?e:t:{}},productUnitPrice:function(t){var e,n,r,i,o,a,s,l,u=this.productPricing(t),c=null!==(e=null!==(n=null!==(r=null!==(i=null!==(o=u.member_price)&&void 0!==o?o:u.price)&&void 0!==i?i:null==t?void 0:t.member_price)&&void 0!==r?r:null==t?void 0:t.price)&&void 0!==n?n:null==t?void 0:t.amount)&&void 0!==e?e:0,d=null!==(a=null!==(s=null!==(l=u.price)&&void 0!==l?l:null==t?void 0:t.price)&&void 0!==s?s:null==t?void 0:t.amount)&&void 0!==a?a:0;return Number(this.isNubodySubscription?c:d)||0},productHasPrice:function(t){return this.productUnitPrice(t)>0},removeCoupon:function(){this.$store.dispatch("removeCoupon")},onResponderVerified:function(t){this.$store.dispatch("removeCoupon"),this.showCouponInput=!1,this.responderVerified=!0,this.responderCategory=t.category,this.responderDiscountPercent=t.percent||50},onResponderCleared:function(){this.responderVerified=!1,this.responderCategory=null},removeUltraBurn:function(){this.$bus.$emit("remove-ultraburn"),this.showRemoveUBModal=!1},checkoutErrorId:function(t){return"checkout-".concat(this._uid,"-").concat(t,"-error")},cancelAddressEdit:function(){var t;null===(t=this.$refs.address)||void 0===t||t.cancelAutoSave(),this.isEditingAddress=!1,this.$emit("address-draft-change",zt({},this.order.answers))},editAddress:function(){this.isEditingAddress=!0,this.addressData={address:this.order.answers.address||"",address_two:this.order.answers.address_two||"",city:this.order.answers.city||"",state:this.order.answers.state||"",postal:this.order.answers.postal||"",country:this.order.answers.country||"US"}},saveAddress:function(){this.isEditingAddress=!1},onAddressDone:function(t){console.log("Address completed:",t),this.addressData=zt({},t),this.order.answers=zt(zt({},this.order.answers),{},{address:t.address,address_two:t.address_two||"",city:t.city,state:t.state,postal:t.postal,country:t.country||"US"}),console.log("Updated order.answers:",this.order.answers),this.$emit("updateAddress",t),this.inlineValidation&&this.addressValidationErrors.length||(this.isEditingAddress=!1,this.showOrderDetails=!0,this.proceedToNextStep("address-section"))},productQuantity:function(t){return t.quantity?t.quantity:this.productFrequency(t)},getUserCredits:function(){var t=this;axios.post("/credits",{user_id:this.user.id}).then((function(e){t.credit=e.data.amount,t.credits=e.data.credits}))},retryCredits:function(){this.getUserCredits()},formatCreditNote:function(t){return t.toLowerCase().includes("buck")?" - Nu Bucks Redemption":""},goBackToProductSelection:function(){this.$emit("back-to-product-selection")},preventSubmissionIfNoProducts:function(t){return!this.hasMissingProducts||(t.preventDefault(),this.$bus.$emit("flash-message",{message:"Please select a product before proceeding with checkout.",type:"error"}),!1)},selectShippingMethod:function(t){this.shippingMethodSelected=!0,this.shippingQuestion.answer.method=t.alias,this.shippingMethod=t,this.showSignatureWaiver=!0,this.showShippingMethods=!1,this.showShippingError=!0,setTimeout((function(){window.scrollTo({top:"1200",behavior:"smooth",block:"start"})}),100)},signatureWaive:function(t,e){this.$emit("shipping",t,e),this.showOrderDetails=!0,this.shipping=e,this.showShippingError=!1,this.proceedToNextStep("shipping-method"),setTimeout((function(){window.scrollTo({top:"1000",behavior:"smooth",block:"start"})}),200)},previousQuestion:function(){this.$emit("back")},editShippingMethod:function(){this.showOrderDetails=!1,this.shipping={method:null,
2signature_waiver:{signature:null,required:!1}},this.shippingQuestion.answer.method=null,this.$emit("payment")},proceedToNextStep:function(t){this.answeredSteps.push(t),"address-section"==this.currentStep&&(this.currentStep="payment-method")},goBackToStep:function(t){this.currentStep=t;var e=this.answeredSteps.indexOf(t);this.answeredSteps.splice(e,1)},stepHasBeenAnswered:function(t){return this.answeredSteps.includes(t)},autoSelectShippingMethod:function(){var t=this.shippingMethods[0]||null;this.shippingMethodSelected=!!t,this.shippingQuestion.answer.method=(null==t?void 0:t.alias)||null,this.shipping.method=(null==t?void 0:t.alias)||null,this.shippingMethod=t,this.autoSelectedShippingMethod=t,this.showSignatureWaiver=!!t,this.showShippingMethods=!1,this.showShippingError=!t,this.showOrderDetails=!!t,this.$emit("shipping","method-change",this.shipping)},createElectronicSignatureData:function(){var t=document.createElement("canvas");t.width=400,t.height=100;var e=t.getContext("2d");return e.fillStyle="white",e.fillRect(0,0,t.width,t.height),e.fillStyle="black",e.font="24px cursive",e.textAlign="center",e.fillText(this.generatedSignature,t.width/2,t.height/2+8),t.toDataURL()},onSignatureToggle:function(){if(this.shipping.signature_waiver.required)this.shippingQuestion.answer.method=this.shippingMethod.alias,this.shippingQuestion.answer.signature_waiver={signature:null,required:!0},this.shipping.method=this.shippingMethod.alias,this.shipping.signature_waiver={signature:null,required:!0};else{var t=this.createElectronicSignatureData();this.shippingQuestion.answer.method=this.shippingMethod.alias,this.shippingQuestion.answer.signature_waiver={signature:t,required:!1,electronic_signature:!0,signed_name:this.generatedSignature},this.shipping.signature_waiver={signature:t,required:!1,electronic_signature:!0,signed_name:this.generatedSignature},this.shipping.method=this.shippingMethod.alias}this.$emit("shipping","signature-toggle",this.shipping),console.log("Signature delivery toggled:",this.shipping.signature_waiver.required)}}};const Kt=(0,f.Z)($t,(function(){var t,e,n=this,r=n._self._c;return r("div",{staticClass:"tw-font-lato tw-w-full"},[n.hasMissingProducts?r("div",{staticClass:"tw-bg-gray-50 tw-border tw-border-gray-600 tw-rounded-2xl tw-p-4 tw-mb-6"},[r("div",{staticClass:"tw-flex tw-items-center"},[r("div",{staticClass:"tw-ml-3"},[r("h3",{staticClass:"tw-text-base tw-font-medium tw-text-gray-800"},[r("div",{staticClass:"tw-flex tw-items-center"},[r("div",{staticClass:"tw-flex-shrink-0"},[r("svg",{staticClass:"tw-h-5 tw-w-5 tw-text-gray-600",attrs:{viewBox:"0 0 20 20",fill:"currentColor"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z","clip-rule":"evenodd"}})])]),n._v(" "),r("div",{staticClass:"tw-ml-2"},[n._v("\n              No Products Selected !\n            ")])])]),n._v(" "),n._m(0),n._v(" "),r("div",{staticClass:"tw-mt-4"},[r("button",{staticClass:"tw-bg-gray-600 tw-text-gray-300 tw-px-4 tw-py-2 tw-rounded-md tw-text-sm tw-font-medium hover:tw-bg-gray-700 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-offset-2 focus:tw-ring-gray-700",attrs:{type:"button"},on:{click:n.goBackToProductSelection}},[n._v("\n            Select a Product\n          ")])])])])]):n._e(),n._v(" "),n.hasMissingProducts?n._e():r("div",[r("p",{staticClass:"tw-font-semibold tw-text-base tw-mt-10"},[n._v("\n      Order Summary\n    ")]),n._v(" "),r("div",{staticClass:"tw-shadow-xs tw-rounded-sm tw-overflow-hidden",class:{"tw-opacity-50 tw-pointer-events-none":n.hasMissingProducts}},[r("div",{staticClass:"tw-flex tw-flex-col tw-gap-4"},[n._l(n.validProducts,(function(t){return r("div",{key:t.id,staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-bg-brand-light-gray tw-text-black tw-rounded-3xl tw-p-4 lg:tw-px-10"},[r("div",{staticClass:"tw-flex tw-items-center tw-space-x-3 lg:tw-justify-start"},[r("img",{staticClass:"tw-inline-block tw-w-1/3 tw-object-contain",attrs:{alt:"product image",src:t.full_imageurl}}),n._v(" "),r("div",{staticClass:"tw-space-y-1 lg:tw-pl-20"},[r("h3",{staticClass:"tw-text-base sm:tw-text-lg lg:tw-text-xl tw-font-semibold tw-capitalize tw-m-0 tw-p-0 !tw-leading-none"},[n._v("\n                "+n._s(t.display_name.toLowerCase())+"\n              ")]),n._v(" "),r("div",{staticClass:"tw-text-black tw-pt-1.5 tw-text-base lg:tw-text-2xl"},[void 0!==t.quantity&&0!==t.quantity||!n.productHasPrice(t)?r("span",[n.isUpsaleSupplement(t)?r("span",[r("span",{staticClass:"tw-line-through"},[n._v("\n                      $"+n._s(n.productUnitPrice(t).toFixed(2)))]),n._v("\n                    $"+n._s(n.supplementFormattedUpsalePrice)+" x "+n._s(t.quantity)+"qty\n                  ")]):r("span",[n.productHasPrice(t)?r("span",[(void 0===t.quantity||t.quantity,r("span",[n._v("\n                        $"+n._s((n.productUnitPrice(t)*n.productFrequency(t)).toFixed(2))+"\n                      ")]))]):r("span",{staticClass:"tw-font-bold"},[n._v(" FREE ")])])]):r("span",{staticClass:"tw-text-lg lg:tw-text-3xl tw-font-bold tw-leading-none"},[n._v("\n                  $"+n._s(n.productUnitPrice(t).toFixed(2)+"/month")+"\n                ")]),n._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:null!=n.productFrequencyName(t),expression:"productFrequencyName(product) != null"}],staticClass:"tw-flex tw-items-center -tw-mt-1"},[r("span",{directives:[{name:"show",rawName:"v-show",value:n.productFrequency(t)>1,expression:"productFrequency(product) > 1"}]},[n._v("\n                    Every "+n._s(n.productFrequency(t))+"\n                    "+n._s(n.productFrequency(t)>1?"months":"month")+"\n                  ")]),n._v(" "),t.name.toLowerCase().includes("ultra burn")?r("span",{staticClass:"tw-text-black tw-text-xs tw-cursor-pointer tw-ml-1",on:{click:function(t){t.preventDefault(),n.showRemoveUBModal=!0}}},[n._v("\n                    (remove)\n                  ")]):n._e(),n._v(" "),n.showRemoveUBModal?r("CardModal",{attrs:{show:n.showRemoveUBModal},on:{hide:function(t){n.showRemoveUBModal=!1}}},[n._v("\n                    Are you sure you want to remove ultra burn?\n                    "),r("div",{staticClass:"tw-flex tw-items-center tw-mt-12"},[r("button",{staticClass:"tw-flex-1 tw-btn tw-bg-gray-light tw-text-black tw-text-sm md:tw-text-base tw-rounded-l-full",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),n.showRemoveUBModal=!1}}},[n._v("\n                        NO THANKS\n                      ")]),n._v(" "),r("button",{staticClass:"tw-flex-1 tw-btn tw-bg-black tw-text-white tw-text-sm md:tw-text-base tw-rounded-r-full",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),n.removeUltraBurn.apply(null,arguments)}}},[n._v("\n                        YES, PLEASE\n                      ")])])]):n._e()],1)])])])])})),n._v(" "),null!==(t=n.subscription)&&void 0!==t&&t.product?r("div",{key:"subscription",staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-bg-brand-light-gray tw-text-black tw-rounded-3xl tw-p-4 lg:tw-px-10 tw-py-8"},[r("div",{staticClass:"tw-flex tw-items-center"},[r("div",{},[r("div",{staticClass:"tw-flex tw-items-center tw-space-x-2"},[r("h3",{staticClass:"tw-text-base sm:tw-text-lg md:tw-text-lg lg:tw-text-2xl tw-font-semibold tw-m-0 tw-p-0 !tw-leading-none"},[n._v("\n                  "+n._s(n.subscription.name)+"\n                ")])]),n._v(" "),r("div",{staticClass:"tw-font-medium tw-ml-4 sm:tw-ml-8 tw-p-0 tw-text-black tw-pt-2 tw-text-lg lg:tw-text-2xl"},[r("span",{},[r("span",[n._v("\n                    $"+n._s(n.subscription.price?Number(n.subscription.price).toFixed(2):"")+"/"+n._s("yearly"==n.subscription.frequency?"year":(n.subscription.frequency,"month"))+"\n                  ")])]),n._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:"yearly"===n.subscription.frequency,expression:"subscription.frequency === 'yearly'"}],staticClass:"tw-flex tw-items-center -tw-mt-1"},[n._v("\n                  Every 12 months\n                ")])])])]),n._v(" "),r("div",[r("h3",{staticClass:"tw-text-lg lg:tw-text-3xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0"},[r("span",[n._v("\n                $"+n._s(n.subscription.price?Number(n.subscription.price).toFixed(2):"")+"\n              ")])])])]):n._e(),n._v(" "),r("div",{staticClass:"tw-flex tw-flex-col tw-border-b tw-bg-brand-brown tw-text-white tw-font-medium tw-rounded-2xl tw-p-4 lg:tw-px-10 tw-py-3"},[r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-p-4 tw-w-full"},[r("h3",{staticClass:"tw-text-base lg:tw-text-xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n              Subtotal\n            ")]),n._v(" "),r("h3",{staticClass:"tw-text-lg lg:tw-text-2xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n              $"+n._s(Number(n.order.subtotal).toFixed(2))+"\n            ")])]),n._v(" "),n.emptyCoupon?n._e():r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-border-white tw-p-4 tw-w-full"},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n              Coupon Code ("+n._s(n.coupon.code)+")\n            ")]),n._v(" "),r("h3",{staticClass:"tw-text-base lg:tw-text-xl tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n              - $"+n._s(n.coupon.amount.toFixed(2))+"\n            ")])]),n._v(" "),n.responderVerified?r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-border-white tw-p-4 tw-w-full"},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n              "+n._s(n.responderCategoryLabel)+" Discount ("+n._s(n.responderDiscountPercent)+"%)\n            ")]),n._v(" "),r("h3",{staticClass:"tw-text-base lg:tw-text-xl tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n              - $"+n._s(n.responderDiscount.toFixed(2))+"\n            ")])]):n._e(),n._v(" "),n.upsaleDiscount?r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-border-white tw-p-4 tw-w-full"},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n              One Time WAYT-less Discount\n            ")]),n._v(" "),r("h3",{staticClass:"tw-text-base lg:tw-text-xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0 tw-leading-none"},[n._v("\n              - $"+n._s(n.upsaleDiscount.toFixed(2))+"\n            ")])]):n._e(),n._v(" "),r("div",{staticClass:"tw-flex tw-flex-col tw-w-full"},[n.showOrderDetails?r("div",{staticClass:"tw-flex tw-flex-col"},[n.paymentMethodFee>0?r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-p-4"},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  Credit Card Processing Fee\n                ")]),n._v(" "),r("h3",{staticClass:"tw-text-lg md:tw-text-xl lg:tw-text-2xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  $"+n._s(n.paymentMethodFee.toFixed(2))+"\n                ")])]):"Amex"===n.order.payment_method&&n.paymentMethodDiscount>0?r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-p-4"},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  American Express Discount\n                ")]),n._v(" "),r("h3",{staticClass:"tw-text-lg md:tw-text-xl lg:tw-text-2xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  - $"+n._s(n.paymentMethodDiscount.toFixed(2))+"\n                ")])]):"E-Check"===n.order.payment_method&&n.paymentMethodDiscount>0?r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-p-4"},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  E-Check Discount\n                ")]),n._v(" "),r("h3",{staticClass:"tw-text-lg md:tw-text-xl lg:tw-text-2xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  - $"+n._s(n.paymentMethodDiscount.toFixed(2))+"\n                ")])]):"Amex"===n.order.payment_method&&n.paymentMethodDiscount>0?r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-p-4"},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  American Express Discount\n                ")]),n._v(" "),r("h3",{staticClass:"tw-text-lg md:tw-text-xl lg:tw-text-2xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  - $"+n._s(n.paymentMethodDiscount.toFixed(2))+"\n                ")])]):n._e(),n._v(" "),r("InlineValidationField",{attrs:{id:n.checkoutErrorId("shipping"),errors:n.inlineValidation?n.validationErrors:[],field:"shipping"}},[r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-p-4",attrs:{"data-validation-control":"",role:"group","aria-label":"Shipping method",tabindex:"-1"}},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                    "+n._s(n.shippingMethod?n.shippingMethod.name:"")+" Shipping\n                  ")]),n._v(" "),r("h3",{staticClass:"tw-text-lg md:tw-text-xl lg:tw-text-2xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                    "+n._s((null===(e=n.shippingMethod)||void 0===e?void 0:e.price)>0?"$"+Number(n.shippingMethod.price).toFixed(2):"FREE")+"\n                  ")])])]),n._v(" "),r("InlineValidationField",{attrs:{id:n.checkoutErrorId("signature_waiver"),errors:n.inlineValidation?n.validationErrors:[],field:"signature_waiver"}},[r("div",{staticClass:"tw-flex tw-flex-col tw-border-b tw-p-4"},[r("div",{staticClass:"tw-flex tw-items-center tw-justify-between"},[r("div",{staticClass:"tw-flex tw-items-center"},[r("input",{directives:[{name:"model",rawName:"v-model",value:n.shipping.signature_waiver.required,expression:"shipping.signature_waiver.required"}
2],staticClass:"tw-mr-3 tw-h-5 tw-w-5 tw-cursor-pointer tw-text-brown-dark",attrs:{id:"signature-checkbox",type:"checkbox"},domProps:{checked:Array.isArray(n.shipping.signature_waiver.required)?n._i(n.shipping.signature_waiver.required,null)>-1:n.shipping.signature_waiver.required},on:{change:[function(t){var e=n.shipping.signature_waiver.required,r=t.target,i=!!r.checked;if(Array.isArray(e)){var o=n._i(e,null);r.checked?o<0&&n.$set(n.shipping.signature_waiver,"required",e.concat([null])):o>-1&&n.$set(n.shipping.signature_waiver,"required",e.slice(0,o).concat(e.slice(o+1)))}else n.$set(n.shipping.signature_waiver,"required",i)},n.onSignatureToggle]}}),n._v(" "),r("label",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-m-0 tw-p-0 tw-leading-none tw-cursor-pointer",attrs:{for:"signature-checkbox"}},[n._v("\n                        Delivery Signature Required\n                      ")])]),n._v(" "),r("h3",{staticClass:"tw-text-lg md:tw-text-xl lg:tw-text-2xl tw-font-semibold tw-m-0 tw-p-0 tw-leading-none"},[n._v("\n                      $"+n._s(Number(n.getSignatureFee).toFixed(2))+"\n                    ")])]),n._v(" "),r("div",{staticClass:"tw-mt-2 tw-ml-8 tw-text-sm tw-italic tw-opacity-90"},[n.shipping.signature_waiver.required?r("span",[n._v("\n                      This ensures that your package(s) are signed before collection.\n                    ")]):r("span",[n._v("\n                      By unchecking this box, you agree to waive physical signature requirements. Your package will be pre-signed using an electronic signature generated from your full name - "),r("span",{staticClass:"tw-font-semibold tw-text-white"},[n._v(n._s(n.generatedSignature))]),n._v(".\n                    ")])])])]),n._v(" "),r("CardModal",{attrs:{show:n.showRegulatoryFeeInfo},on:{hide:function(t){n.showRegulatoryFeeInfo=!1}}},[r("p",{staticClass:"tw-text-base lg:tw-text-lg tw-font-semibold tw-m-0 tw-p-0 tw-leading-none"},[n._v("\n                  Due to regulations in your state, our partner pharmacy has accrued a regulatory fee\n                ")])]),n._v(" "),r("div",[n._l(n.credits,(function(t,e){return r("div",{key:e,staticClass:"tw-flex tw-justify-between tw-border-b tw-p-4 tw-flex-col"},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0 tw-flex-col"},[r("div",{staticClass:"tw-block"},[r("span",[n._v("Credit Applied"),r("span",{staticClass:"tw-text-brand-brown"},[n._v(n._s(n.formatCreditNote(t.note)))])]),n._v(" "),r("span",{staticClass:"tw-float-right"},[n._v("\n                        -$"+n._s(t.value.toFixed(2)))])])])])})),n._v(" "),n.remainingCredit>0?r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-border-b tw-p-4"},[r("h3",{staticClass:"tw-text-base lg:tw-text-lg tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                    Remaining Credit\n                  ")]),n._v(" "),r("h3",{staticClass:"tw-text-lg md:tw-text-xl lg:tw-text-2xl tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                    $"+n._s(n.remainingCredit.toFixed(2))+"\n                  ")])]):n._e()],2),n._v(" "),r("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-p-4"},[r("h3",{staticClass:"tw-text-lg lg:tw-text-2xl tw-font-bold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  Total\n                ")]),n._v(" "),r("h3",{staticClass:"tw-text-2xl lg:tw-text-4xl tw-font-semibold tw-tracking-wider tw-m-0 tw-p-0"},[n._v("\n                  $"+n._s(n.formattedTotalOrder)+"\n                ")])])],1):n._e()])])],2)]),n._v(" "),r("hr",{staticClass:"tw-border-t-2 tw-mt-10 tw-mb-8 tw-border-dotted tw-border-black"}),n._v(" "),r("p",{staticClass:"tw-mt-6 tw-font-semibold lg:tw-text-2xl"},[n._v("\n      Checkout\n    ")]),n._v(" "),r("div",{staticClass:"tw-my-4 tw-text-grey-600 tw-flex tw-flex-col"},[r("div",{staticClass:"tw-shadow-xs tw-bg-white tw-border tw-border-brand-brown tw-rounded-2xl tw-overflow-hidden"},[r("transition-group",{attrs:{name:"fade"}},[n.isVipOrder?n._e():r("div",{key:"payment-method",staticClass:"tw-px-5 tw-pb-8 tw-pt-10"},[r("div",{staticClass:"header tw-h-10 tw-flex tw-justify-between tw-items-center tw-pb-5"},[r("div",{staticClass:"tw-flex tw-items-center tw-mr-2"},[r("CheckCircleIcon",{class:{"tw-text-brand-brown":n.answeredSteps.includes("payment-method"),"tw-text-gray-500":!n.answeredSteps.includes("payment-method")}}),n._v(" "),r("div",{staticClass:"tw-font-semibold tw-ml-2 tw-text-xl"},[n._v("\n                  Payment Method\n                ")])],1),n._v(" "),n.answeredSteps.includes("payment-method")?r("div",[r("button",{staticClass:"tw-text-black tw-font-semibold tw-text-base",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),n.goBackToStep("payment-method")}}},[n._v("\n                  Change\n                ")])]):n._e()]),n._v(" "),r("div",[n.answeredSteps.includes("payment-method")?r("div",[n._v("\n                You have provided your card details for this order\n              ")]):r("div",{staticClass:"content tw-border-t"},[n._t("default"),n._v(" "),"one-time"==n.urlParameter("supply")?r("div",{staticClass:"tw-flex tw-flex-col"},[n.showOrderDetails?r("div",{staticClass:"tw-text-xs tw-text-gray-800 tw-text-left tw-mt-3 tw-p-0"},[6==n.supply?r("p",[n._v("\n                      By clicking\n                      "+n._s(n.isRef
2ill?"COMPLETE REFILL":"PAY $0 NOW")+" you agree\n                      "+n._s(n.isRefill?"to":"that, if prescribed, you will")+" be\n                      charged $"+n._s(n.formattedTotalOrder)+"\n                    ")]):r("p",{staticClass:"tw-mt-2 tw-font-medium"},[n._v("\n                      By clicking Submit you agree that if prescribed, you\n                      will be charged $"+n._s(n.orderTotal.toFixed(2))+" less any\n                      credits available in your account at the time your payment\n                      method is charged for your shipment.\n                    ")])]):n._e()]):r("div",{staticClass:"tw-flex tw-flex-col"},[n.showOrderDetails?r("div",{staticClass:"tw-text-xs tw-text-gray-800 tw-text-left tw-mt-3 tw-p-0"},[6==n.supply?r("p",[n._v("\n                      By clicking\n                      "+n._s(n.isRefill?"COMPLETE REFILL":"SUBMIT")+" you agree\n                      "+n._s(n.isRefill?"to":"that, if prescribed, you will")+" be\n                      charged $"+n._s(n.formattedTotalOrder)+"\n                    ")]):r("p",{staticClass:"tw-mt-2 tw-font-medium"},[n._v("\n                      By proceeding with payment, you authorize a charge of $"+n._s(n.orderTotal.toFixed(2))+" today. In the event that your treatment plan is not approved following a provider's review for medical necessity, you will be entitled to a full refund of the charged amount, subject to applicable terms and conditions.\n                    ")])]):n._e(),n._v(" "),n.allowRedeemBucks?r("RedeemBucks",{attrs:{redirect:!1,"custom-styling":n.redeemBucksStyle,"available-bucks":n.availableBucks,"show-bucks":n.showBucks},on:{redeemed:n.retryCredits}}):n._e()],1),n._v(" "),!n.isVipOrder&&n.showOrderDetails?r("div",[r("div",{staticClass:"tw-bg-white tw-border tw-rounded-2xl tw-border-gray-600 tw-py-4 tw-px-4 tw-mt-6 tw-mb-3"},[n.coupon?r("div",{staticClass:"tw-mb-6"},[r("div",{staticClass:"tw-flex tw-justify-between"},[r("div",{staticClass:"tw-flex-1"},[r("h4",{staticClass:"tw-font-semibold tw-text-base tw-m-0 tw-p-0 tw-text-green"},[n._v("\n                            Coupon Applied: "+n._s(n.coupon.code)+"\n                            "),r("span",{staticClass:"tw-text-blue-dark tw-text-xs tw-cursor-pointer",on:{click:n.removeCoupon}},[n._v("\n                              (remove)\n                            ")])])]),n._v(" "),r("div",[r("h4",{staticClass:"tw-font-semibold tw-text-base tw-m-0 tw-p-0 tw-text-green"},[n._v("\n                            -$"+n._s(n.coupon.amount.toFixed(2))+"\n                          ")])])])]):n._e(),n._v(" "),n.emptyCoupon&&!n.responderVerified?r("div",[n.showCouponInput?n._e():r("div",[r("a",{staticClass:"tw-text-brand-brown tw-text-base tw-underline tw-inline-block",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),n.showCouponInput=!0}}},[r("span",{staticClass:"tw-flex tw-items-center tw-space-x-1"},[r("span",[n._v("\n                              I have a coupon code\n                            ")]),n._v(" "),r("svg",{staticClass:"tw-w-6 tw-h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 5v2m0 4v2m0 4v2M5 5a2 2 0 00-2 2v3a2 2 0 110 4v3a2 2 0 002 2h14a2 2 0 002-2v-3a2 2 0 110-4V7a2 2 0 00-2-2H5z"}})])])])]),n._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:n.showCouponInput,expression:"showCouponInput"}]},[r("div",{staticClass:"tw-text-gray-700 tw-text-sm tw-mt-2 tw-mb-1 tw-flex tw-items-center tw-font-medium"},[n._v("\n                          Coupon Code "),r("span",{staticClass:"tw-text-xs tw-ml-2"},[n._v("(Optional)")])]),n._v(" "),r("CouponQuestion",{attrs:{"inline-validation":n.inlineValidation,products:[n.products],subtotal:n.order.subtotal,question:null,"selected-pricing-type":n.selectedPricingType},on:{"validation-error":function(t){n.showCouponInput=!0}}})],1)]):n._e()]),n._v(" "),r("ResponderDiscount",{attrs:{subtotal:n.order.subtotal,"discount-percent":n.responderDiscountPercent,"enrollee-name":n.enrolleeName},on:{verified:n.onResponderVerified,cleared:n.onResponderCleared}})],1):n._e()],2)])]),n._v(" "),r("div",{key:"address-section",staticClass:"tw-px-5 tw-pb-8 tw-pt-10 tw-text-xl tw-border-t tw-border-gray-300"},[r("div",{staticClass:"header tw-h-10 tw-flex tw-justify-between tw-items-center tw-pb-5"},[r("div",{staticClass:"tw-flex tw-items-center tw-mr-2"},[r("CheckCircleIcon",{class:{"tw-text-brand-brown":!n.isEditingAddress&&n.order.answers.address,"tw-text-gray-500":n.isEditingAddress||!n.order.answers.address}}),n._v(" "),r("div",{staticClass:"tw-font-semibold tw-ml-2 tw-text-xl"},[n._v("\n                  Shipping Address\n                ")])],1),n._v(" "),!n.isEditingAddress&&n.order.answers.address?r("div",[r("button",{staticClass:"tw-text-black tw-font-semibold tw-text-base",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),n.editAddress.apply(null,arguments)}}},[n._v("\n                  Change\n                ")])]):n._e()]),n._v(" "),n.isEditingAddress||!n.order.answers.address?r("div",{staticClass:"content tw-border-t sm:tw-px-5 tw-py-3 tw-mt-2"},[r("AddressQuestion",{ref:"address",attrs:{"validation-errors":n.addressValidationErrors,"inline-validation":n.inlineValidation,questions:n.questions,user:n.user,"selected-program":n.selectedProgram,"selected-products":{products:n.products}},on:{"draft-change":function(t){return n.$emit("address-draft-change",t)},done:n.onAddressDone},model:{value:n.addressData,callback:function(t){n.addressData=t},expression:"addressData"}}),n._v(" "),n.order.answers.address?r("div",{staticClass:"tw-flex tw-gap-4 tw-mt-6"},[r("button",{staticClass:"tw-btn tw-bg-none tw-border tw-border-brand-brown tw-text-brand-brown tw-rounded-full tw-px-6 tw-py-2",attrs:{type:"button"},on:{click:n.cancelAddressEdit}},[n._v("\n                  Cancel\n                ")])]):n._e()],1):r("div",{staticClass:"content tw-border-t sm:tw-px-5 tw-py-3 tw-mt-2 tw-font-medium tw-border-black tw-text-lg tw-text-black tw-border-dashed"},[r("p",{staticClass:"tw-m-0 tw-p-0"},[n._v("\n                "+n._s(n.order.answers.address)+"\n              ")]),n._v(" "),""!==n.order.answers.address_two?r("p",{staticClass:"tw-m-0 tw-p-0"},[n._v("\n                "+n._s(n.order.answers.address_two)+"\n              ")]):n._e(),n._v(" "),r("p",{staticClass:"tw-m-0 tw-p-0"},[n._v("\n                "+n._s(n.order.answers.city)+", "+n._s(n.order.answers.state)+"\n                "+n._s(n.order.answers.postal)+"\n              ")])])])])],1
vendor: 4,919 bytes, line 2
2),n._v(" "),n._e()])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"tw-mt-2 tw-text-base tw-text-gray-700"},[t("p",[this._v("You haven't selected any products for your order. Please go back and select a product to continue.")])])}],!1,null,null,null).exports;var Yt=n(57194),Zt=n(81409);function Jt(){Jt=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new S(i||[]);return r(a,"_invoke",{value:_(t,n,s)}),a}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var d={};function h(){}function f(){}function p(){}var w={};l(w,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(P([])));v&&v!==e&&n.call(v,o)&&(w=v);var g=p.prototype=h.prototype=Object.create(w);function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function i(r,o,a,s){var l=c(t[r],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==ne(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return A()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function x(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=c(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,d;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:A}}function A(){return{value:void 0,done:!0}}return f.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),l(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new b(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(g),l(g,s,"Generator"),l(g,o,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=P,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(C),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:P(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function Xt(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function te(t){return function(t){if(Array.isArray(t))return ee(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return ee(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ee(t,e)}(t)||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 ee(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ne(t){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(t)}function re(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?re(Object(n),!0).forEach((function(e){oe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function oe(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==ne(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==ne(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ne(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const ae={name:"Login",components:{TermsAgreement:Yt.Z,InlineError:Zt.Z,InlineValidationField:s.Z},props:{lowestPrice:{default:null,type:String},program:{default:null,type:String},emailPrefill:{default:null,required:!1,type:String},selectedProducts:{default:null,required:!1,type:Object}},data:function(){return{isNewUser:!1,loading:!1,fieldErrors:[],formErrors:[],requestSerial:0,activeRequest:null,authenticated:!1,email:this.emailPrefill||"",password:"",firstName:"",lastName:"",phone:"",smsOptin:!1,agreementsAccepted:!1,showSignupPassword:!1,showLoginPassword:!1}},computed:{formValues:function(){return{firstName:this.firstName,lastName:this.lastName,email:this.email,phone:this.phone,password:this.password,agreementsAccepted:this.agreementsAccepted,smsOptin:this.smsOptin}}},watch:{formValues:function(t,e){var n=this;this.fieldErrors=this.fieldErrors.filter((function(e){return"server"===e.source?t[e.field]===e.value:!n.fieldPasses(e.field)})),e&&Object.keys(t).some((function(n){return t[n]!==e[n]}))&&(this.formErrors=[])}},beforeDestroy:function(){this.requestSerial+=1,this.activeRequest=null},methods:{submit:function(){if(!this.loading)return this.isNewUser?this.handleSignup():this.handleLogin()},switchToSignup:function(){this.loading||(this.isNewUser=!0,this.resetForm())},switchToLogin:function(){this.loading||(this.isNewUser=!1,this.resetForm())},resetForm:function(){this.requestSerial+=1,this.activeRequest=null,this.loading=!1,this.fieldErrors=[],this.formErrors=[],this.authenticated=!1,this.password="",this.firstName="",this.phone="",this.smsOptin=!1,this.agreementsAccepted=!1,this.showSignupPassword=!1,this.showLoginPassword=!1},inputId:function(t){return"enrollment-auth-".concat(this._uid,"-").concat(this.isNewUser?"signup":"login","-").concat(t)},errorId:function(t){return"".concat(this.inputId(t),"-error")},fieldPasses:function(t){return"agreementsAccepted"===t?!0===this.agreementsAccepted:"string"==typeof this[t]&&this[t].trim().length>0},validateFields:function(t){var e=this,n=t?{firstName:"Please enter your first name.",lastName:"Please enter your last name.",email:"Please enter your email address.",phone:"Please enter your phone number.",password:"Please enter your password."}:{email:"Please enter your email address.",password:"Please enter your password.",agreementsAccepted:"Please accept the terms and privacy policy to continue."},r=Object.keys(n).filter((function(t){return!e.fieldPasses(t)})).map((function(t){return{field:t,message:n[t],source:"client"}})),i=this.fieldErrors.filter((function(t){return"server"===t.source&&e[t.field]===t.value&&!r.some((function(e){return e.field===t.field}))}
2));return this.fieldErrors=Object.keys(n).reduce((function(t,e){return t.concat(r.filter((function(t){return t.field===e})),i.filter((function(t){return t.field===e})))}),[]),this.formErrors=[],!r.length||(this.focusFirstError(),!1)},focusFirstError:function(){var t=this;this.$nextTick((function(){var e,n=["firstName","lastName","email","phone","password","agreementsAccepted"].find((function(e){return t.fieldErrors.some((function(t){return t.field===e}))}));n?null===(e=t.$refs["".concat(n,"Field")])||void 0===e||e.focus():t.formErrors.length&&t.$refs.formError&&(t.$refs.formError.focus({preventScroll:!0}),t.$refs.formError.scrollIntoView({block:"center",behavior:"smooth"}))}))},beginRequest:function(t){var e={id:++this.requestSerial,signup:t,values:ie({},this.formValues),fields:t?["firstName","lastName","email","phone","password","smsOptin"]:["email","password","agreementsAccepted"]};return this.activeRequest=e,this.loading=!0,e},isCurrentRequest:function(t){return!this._isDestroyed&&t.id===this.requestSerial&&t.signup===this.isNewUser},matchesRequestValues:function(t){var e=this;return t.fields.every((function(n){return e[n]===t.values[n]}))},finishRequest:function(t){this.isCurrentRequest(t)&&(this.loading=!1,this.activeRequest=null)},showFormError:function(t,e){this.isCurrentRequest(e)&&this.matchesRequestValues(e)&&(this.formErrors=[t],this.focusFirstError())},signupErrors:function(t,e){var n=this;if(this.isCurrentRequest(e)){var r="There was an error creating your account.",i={first_name:"firstName",last_name:"lastName",email:"email",phone_number:"phone",password:"password"},o=null==t?void 0:t.errors,a=[],s=[],l=!1;if(o&&"object"===ne(o)&&!Array.isArray(o)&&Object.keys(o).forEach((function(t){var u=(Array.isArray(o[t])?o[t]:[o[t]]).filter((function(t){return"string"==typeof t&&t.trim().length>0})),c=i[t];if(!c||!u.length)return s.push.apply(s,te(u)),void(u.length||s.push(r));l=!0,n[c]===e.values[c]&&u.forEach((function(t){a.some((function(e){return e.field===c&&e.message===t}))||a.push({field:c,message:t,source:"server",value:e.values[c]})}))})),this.fieldErrors=a,this.formErrors=[],this.matchesRequestValues(e))if(s.length)this.formErrors=te(new Set(s));else if(!l){var u="string"==typeof(null==t?void 0:t.message)&&t.message.trim()?t.message:r;this.formErrors=[u]}(a.length||this.formErrors.length)&&this.focusFirstError()}},start:function(t){this.$emit("input",{user:t})},completeAuthentication:function(t,e){this.isCurrentRequest(e)&&!this.authenticated&&(t&&"object"===ne(t)&&!Array.isArray(t)&&t.id?(this.authenticated=!0,this.fieldErrors=[],this.formErrors=[],this.trackUserExternalCid(t),e.signup?this.trackSignUp(t):this.trackLogin(t),this.start(t)):this.showFormError(e.signup?"There was an error creating your account.":"That password didn't match our records.",e))},handleSignup:function(){var t=this;if(!this.loading&&!this.authenticated&&this.validateFields(!0)){var e=this.beginRequest(!0);return axios.post("/json/signup",{email:e.values.email,first_name:e.values.firstName,last_name:e.values.lastName,password:e.values.password,phone_number:e.values.phone,sms_optin:e.values.smsOptin}).then((function(n){var r;return t.completeAuthentication(null===(r=n.data)||void 0===r?void 0:r.data,e)})).catch((function(n){var r;return t.signupErrors(null===(r=n.response)||void 0===r?void 0:r.data,e)})).finally((function(){return t.finishRequest(e)}))}},handleLogin:function(){var t=this;if(!this.loading&&!this.authenticated&&this.validateFields(!1)){var e=this.beginRequest(!1),n="That password didn't match our records.";return fetch("/enroll/login",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","X-CSRF-TOKEN":window.Laravel.csrfToken},body:JSON.stringify({email:e.values.email,password:e.values.password})}).then(function(){var r,i=(r=Jt().mark((function r(i){var o;return Jt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,i.json();case 2:if(o=r.sent,i.ok){r.next=6;break}return t.showFormError("string"==typeof(null==o?void 0:o.error)&&o.error.trim()?o.error:n,e),r.abrupt("return");case 6:t.completeAuthentication(null==o?void 0:o.user,e);case 7:case"end":return r.stop()}}),r)})),function(){var t=this,e=arguments;return new Promise((function(n,i){var o=r.apply(t,e);function a(t){Xt(o,n,i,a,s,"next",t)}function s(t){Xt(o,n,i,a,s,"throw",t)}a(void 0)}))});return function(t){return i.apply(this,arguments)}}()).catch((function(){return t.showFormError(n,e)})).finally((function(){return t.finishRequest(e)}))}},showForgotPassword:function(){this.$bus.$emit("flash-message",{message:"Forgot password functionality will be implemented.",type:"info"})},showMagicLink:function(){this.$bus.$emit("flash-message",{message:"Magic link functionality will be implemented.",type:"info"})},trackLogin:function(t){if(void 0!==this.$posthog&&null!=t&&t.id)try{var e,n=t.email?t.email.toLowerCase().trim():"",r=t.first_name?t.first_name.toLowerCase().replace(/[^a-z\s]/g,"").trim():"",i=t.last_name?t.last_name.toLowerCase().replace(/[^a-z\s]/g,"").trim():"",o="";if(null!=t&&null!==(e=t.contact)&&void 0!==e&&e.phone){var a=t.contact.phone.replace(/\D/g,"");10===a.length?o="+1"+a:11===a.length&&a.startsWith("1")&&(o="+"+a)}this.$posthog.identify(t.id.toString(),{email:n,firstName:r,lastName:i,phone:o}),this.$posthog.capture("user_logged_in",{source:"enrollment",email:n,timestamp:(new Date).toISOString()}),console.log("[Login] PostHog user identified:",t.id)}catch(t){console.error("[Login] PostHog user identification failed:",t)}},trackUserExternalCid:function(t){var e=(0,Vt.Zk)(t);e&&(0,Vt.Rm)(e,{user:t})},trackSignUp:function(t){if(void 0!==this.$posthog&&null!=t&&t.id)try{var e,n=t.email?t.email.toLowerCase().trim():"",r=t.first_name?t.first_name.toLowerCase().replace(/[^a-z\s]/g,"").trim():"",i=t.last_name?t.last_name.toLowerCase().replace(/[^a-z\s]/g,"").trim():"",o="";if(null!=t&&null!==(e=t.contact)&&void 0!==e&&e.phone){var a=t.contact.phone.replace(/\D/g,"");10===a.length?o="+1"+a:11===a.length&&a.startsWith("1")&&(o="+"+a)}this.$posthog.identify(t.id.toString(),{email:n,firstName:r,lastName:i,phone:o,$set_once:{signup_date:(new Date).toISOString(),signup_source:"enrollment"}}),this.$posthog.capture("account_created",{registration_method:"form",source:"enrollment",has_phone:!!o,has_last_name:!!i,sms_opted_in:this.smsOptin,timestamp:(new Date).toISOString()}),console.log("[Login] PostHog user identified and account_created event captured:",t.id)}catch(t){console.error("[Login] PostHog signup tracking failed:",t)}}}};const se=(0,f.Z)(ae,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-mt-10",attrs:{"data-enrollment-submit":"authentication"},on:{"enrollment-submit":t.submit}},[t.selectedProducts&&t.selectedProducts.products?e("div",{staticClass:"tw-border tw-border-brand-brown tw-rounded-2xl tw-px-4 tw-py-2 tw-mb-8"},[e("div",{staticClass:"tw-flex tw-items-center"},[e("div",{staticClass:"tw-flex-shrink-0"},[e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-brand-brown",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),t.isNewUser?e("div",{staticClass:"tw-space-y-6"},[t._m(1),t._v(" "),e("div",{staticClass:"tw-space-y-4"},[e("div",{staticClass:"tw-flex tw-items-start tw-space-x-4 tw-w-full"}
2,[e("InlineValidationField",{ref:"firstNameField",staticClass:"tw-w-1/2 tw-min-w-0",attrs:{id:t.errorId("firstName"),errors:t.fieldErrors,field:"firstName","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-block tw-text-black tw-text-sm tw-font-medium tw-mb-2",attrs:{for:t.inputId("firstName")}},[t._v("First name *")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.firstName,expression:"firstName"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("firstName"),"aria-required":"true",name:"first_name",type:"text",placeholder:"First Name*"},domProps:{value:t.firstName},on:{input:function(e){e.target.composing||(t.firstName=e.target.value)}}})]),t._v(" "),e("InlineValidationField",{ref:"lastNameField",staticClass:"tw-w-1/2 tw-min-w-0",attrs:{id:t.errorId("lastName"),errors:t.fieldErrors,field:"lastName","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-block tw-text-black tw-text-sm tw-font-medium tw-mb-2",attrs:{for:t.inputId("lastName")}},[t._v("Last name *")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.lastName,expression:"lastName"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("lastName"),"aria-required":"true",name:"last_name",type:"text",placeholder:"Last Name*"},domProps:{value:t.lastName},on:{input:function(e){e.target.composing||(t.lastName=e.target.value)}}})])],1),t._v(" "),e("InlineValidationField",{ref:"emailField",attrs:{id:t.errorId("email"),errors:t.fieldErrors,field:"email","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-block tw-text-black tw-text-sm tw-font-medium tw-mb-2",attrs:{for:t.inputId("email")}},[t._v("Email *")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("email"),"aria-required":"true",type:"email",name:"email",autocomplete:"email",placeholder:"Email*"},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}})]),t._v(" "),e("InlineValidationField",{ref:"phoneField",attrs:{id:t.errorId("phone"),errors:t.fieldErrors,field:"phone","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-block tw-text-black tw-text-sm tw-font-medium tw-mb-2",attrs:{for:t.inputId("phone")}},[t._v("Phone *")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.phone,expression:"phone"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("phone"),"aria-required":"true",name:"phone_number",type:"tel",placeholder:"Phone*"},domProps:{value:t.phone},on:{input:function(e){e.target.composing||(t.phone=e.target.value)}}})]),t._v(" "),e("InlineValidationField",{ref:"passwordField",attrs:{id:t.errorId("password"),errors:t.fieldErrors,field:"password","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-block tw-text-black tw-text-sm tw-font-medium tw-mb-2",attrs:{for:t.inputId("password")}},[t._v("Password *")]),t._v(" "),e("div",{staticClass:"tw-relative"},["checkbox"==(t.showSignupPassword?"text":"password")?e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-pr-12 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("password"),"aria-required":"true",placeholder:"Password",name:"password",autocomplete:"new-password",type:"checkbox"},domProps:{checked:Array.isArray(t.password)?t._i(t.password,null)>-1:t.password},on:{change:function(e){var n=t.password,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.password=n.concat([null])):o>
2-1&&(t.password=n.slice(0,o).concat(n.slice(o+1)))}else t.password=i}}}):"radio"==(t.showSignupPassword?"text":"password")?e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-pr-12 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("password"),"aria-required":"true",placeholder:"Password",name:"password",autocomplete:"new-password",type:"radio"},domProps:{checked:t._q(t.password,null)},on:{change:function(e){t.password=null}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-pr-12 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("password"),"aria-required":"true",placeholder:"Password",name:"password",autocomplete:"new-password",type:t.showSignupPassword?"text":"password"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),e("button",{staticClass:"tw-absolute tw-right-4 tw-top-1/2 tw--translate-y-1/2 tw-text-gray-600 hover:tw-text-gray-900 focus:tw-outline-none",attrs:{type:"button","aria-label":t.showSignupPassword?"Hide password":"Show password"},on:{click:function(e){e.preventDefault(),t.showSignupPassword=!t.showSignupPassword}}},[t.showSignupPassword?e("svg",{staticClass:"tw-h-5 tw-w-5",attrs:{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"}},[e("path",{attrs:{d:"M17.94 17.94A10.94 10.94 0 0112 20C7 20 2.73 16.89 1 12a11.73 11.73 0 012.2-3.48"}}),t._v(" "),e("path",{attrs:{d:"M9.88 9.88A3 3 0 0012 15a3 3 0 002.12-5.12"}}),t._v(" "),e("path",{attrs:{d:"M6.1 6.1A10.94 10.94 0 0112 4c5 0 9.27 3.11 11 8a11.8 11.8 0 01-2.1 3.39"}}),t._v(" "),e("path",{attrs:{d:"M1 1l22 22"}})]):e("svg",{staticClass:"tw-h-5 tw-w-5",attrs:{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"}},[e("path",{attrs:{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z"}}),t._v(" "),e("circle",{attrs:{cx:"12",cy:"12",r:"3"}})])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-items-start tw-space-x-3 tw-pt-5"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.smsOptin,expression:"smsOptin"}],staticClass:"tw-mt-1 tw-w-4 tw-h-4 tw-text-black tw-border-black tw-rounded-full focus:tw-ring-orange-500",attrs:{id:"sms-notifications",disabled:t.loading,type:"checkbox"},domProps:{checked:Array.isArray(t.smsOptin)?t._i(t.smsOptin,null)>-1:t.smsOptin},on:{change:function(e){var n=t.smsOptin,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.smsOptin=n.concat([null])):o>-1&&(t.smsOptin=n.slice(0,o).concat(n.slice(o+1)))}else t.smsOptin=i}}}),t._v(" "),t._m(2)])],1),t._v(" "),t.formErrors.length?e("div",{ref:"formError",attrs:{tabindex:"-1"}},[e("InlineError",{staticClass:"tw-break-words",attrs:{id:t.errorId("form"),messages:t.formErrors}})],1):t._e(),t._v(" "),e("button",{staticClass:"tw-w-full tw-py-3 tw-px-4 tw-bg-brand-brown hover:tw-bg-yellow-700 tw-text-white tw-font-semibold tw-rounded-full tw-transition-colors tw-duration-200",class:{"tw-opacity-50 tw-cursor-not-allowed":t.loading},attrs:{type:"button",disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.handleSignup.apply(null,arguments)}}},[t._v("\n      "+t._s(t.loading?"Creating Account...":"Sign Up")+"\n    ")]),t._v(" "),e("div",{staticClass:"tw-text-center"},[e("button",{staticClass:"tw-text-gray-600 tw-font-medium hover:tw-text-gray-800",class:{"tw-opacity-50 tw-cursor-not-allowed":t.loading},attrs:{type:"button",disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.switchToLogin.apply(null,arguments)}}},[t._v("\n        Already have an account? "),e("span",{staticClass:"tw-text-brand-brown"},[t._v("Sign In")])])])]):e("div",{staticClass:"tw-space-y-6"},[e("div",{staticClass:"tw-text-left tw-mb-16"},[e("h1",{staticClass:"tw-text-2xl tw-font-medium tw-text-gray-900 tw-mb-1"},[t._v("\n        Check In for Your Online Visit or "),e("button",{staticClass:"!tw-text-brand-brown !tw-underline",class:{"tw-opacity-50 tw-cursor-not-allowed":t.loading},attrs:{type:"button",disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.switchToSignup.apply(null,arguments)}}},[t._v("\n          Sign Up\n        ")])]),t._v(" "),e("p",{staticClass:"tw-text-gray-600 tw-text-base"},[t._v("\n        "+t._s(t.selectedProducts?"Log in to proceed with your selected products.":"Fill out a quick form and a U.S. licensed physician will review it.")+"\n      ")])]),t._v(" "),e("div",{staticClass:"tw-space-y-4"},[e("InlineValidationField",{ref:"emailField",attrs:{id:t.errorId("email"),errors:t.fieldErrors,field:"email","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-block tw-text-black tw-font-medium tw-mb-2",attrs:{for:t.inputId("email")}},[t._v("\n          What is your email address?\n        ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("email"),"aria-required":"true",type:"email",name:"email",autocomplete:"email",placeholder:"Email address*"},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-500 tw-mt-1"})]),t._v(" "),e("InlineValidationField",{ref:"passwordField",attrs:{id:t.errorId("password"),errors:t.fieldErrors,field:"password","error-class":"tw-break-words"}},[e("label",{staticClass:"tw-block tw-text-black tw-text-sm tw-font-medium tw-mb-2",attrs:{for:t.inputId("password")}},[t._v("Password *")]),t._v(" "),e("div",{staticClass:"tw-relative"},["checkbox"==(t.showLoginPassword?"text":"password")?e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-pr-12 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("password"),"aria-required":"true",name:"password",autocomplete:"current-password",placeholder:"password*",type:"checkbox"},domProps:{checked:Array.isArray(t.password)?t._i(t.password,null)>-1:t.password},on:{change:function(e){var n=t.password,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.password=n.concat([null])):o>
2-1&&(t.password=n.slice(0,o).concat(n.slice(o+1)))}else t.password=i}}}):"radio"==(t.showLoginPassword?"text":"password")?e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-pr-12 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("password"),"aria-required":"true",name:"password",autocomplete:"current-password",placeholder:"password*",type:"radio"},domProps:{checked:t._q(t.password,null)},on:{change:function(e){t.password=null}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"tw-w-full tw-px-4 tw-py-3 tw-pr-12 tw-border tw-border-black tw-rounded-full tw-bg-white focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500 focus:tw-border-transparent",attrs:{id:t.inputId("password"),"aria-required":"true",name:"password",autocomplete:"current-password",placeholder:"password*",type:t.showLoginPassword?"text":"password"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),e("button",{staticClass:"tw-absolute tw-right-4 tw-top-1/2 tw--translate-y-1/2 tw-text-gray-600 hover:tw-text-gray-900 focus:tw-outline-none",attrs:{type:"button","aria-label":t.showLoginPassword?"Hide password":"Show password"},on:{click:function(e){e.preventDefault(),t.showLoginPassword=!t.showLoginPassword}}},[t.showLoginPassword?e("svg",{staticClass:"tw-h-5 tw-w-5",attrs:{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"}},[e("path",{attrs:{d:"M17.94 17.94A10.94 10.94 0 0112 20C7 20 2.73 16.89 1 12a11.73 11.73 0 012.2-3.48"}}),t._v(" "),e("path",{attrs:{d:"M9.88 9.88A3 3 0 0012 15a3 3 0 002.12-5.12"}}),t._v(" "),e("path",{attrs:{d:"M6.1 6.1A10.94 10.94 0 0112 4c5 0 9.27 3.11 11 8a11.8 11.8 0 01-2.1 3.39"}}),t._v(" "),e("path",{attrs:{d:"M1 1l22 22"}})]):e("svg",{staticClass:"tw-h-5 tw-w-5",attrs:{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"}},[e("path",{attrs:{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z"}}),t._v(" "),e("circle",{attrs:{cx:"12",cy:"12",r:"3"}})])])])]),t._v(" "),e("InlineValidationField",{ref:"agreementsAcceptedField",attrs:{id:t.errorId("agreementsAccepted"),errors:t.fieldErrors,field:"agreementsAccepted","error-class":"tw-break-words"}},[e("TermsAgreement",{model:{value:t.agreementsAccepted,callback:function(e){t.agreementsAccepted=e},expression:"agreementsAccepted"}})],1)],1),t._v(" "),t.formErrors.length?e("div",{ref:"formError",attrs:{tabindex:"-1"}},[e("InlineError",{staticClass:"tw-break-words",attrs:{id:t.errorId("form"),messages:t.formErrors}})],1):t._e(),t._v(" "),e("button",{staticClass:"tw-w-full tw-py-3 tw-px-4 tw-bg-brand-brown hover:tw-bg-yellow-700 tw-text-white tw-font-semibold tw-rounded-full tw-transition-colors tw-duration-200",class:{"tw-opacity-50 tw-cursor-not-allowed":t.loading},attrs:{type:"button",disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.handleLogin.apply(null,arguments)}}},[t._v("\n      "+t._s(t.loading?"Logging in...":"Login")+"\n    ")]),t._v(" "),e("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-mt-4"},[t._m(3),t._v(" "),e("div",[e("button",{staticClass:"tw-text-gray-600 tw-font-medium hover:tw-text-gray-800 tw-block",attrs:{type:"button"},on:{click:t.showForgotPassword}},[t._v("\n          Forgot password?\n        ")])])]),t._v(" "),e("div",{staticClass:"tw-text-center tw-mb-2"},[e("button",{staticClass:"tw-text-gray-600 tw-font-medium hover:tw-text-orange-800",attrs:{type:"button"},on:{click:t.showMagicLink}},[t._v("\n        Email me a "),e("span",{staticClass:"tw-text-brand-brown"},[t._v("magic link")])])]),t._v(" "),e("div",{staticClass:"tw-text-center"},[e("button",{staticClass:"tw-text-gray-600 tw-font-medium hover:tw-text-gray-800",class:{"tw-opacity-50 tw-cursor-not-allowed":t.loading},attrs:{type:"button",disabled:t.loading},on:{click:t.switchToSignup}},[t._v("\n        Don't have an account? "),e("span",{staticClass:"tw-text-brand-brown"},[t._v("Sign Up")])])]),t._v(" "),t._m(4)])])}),[function(){var t=this._self._c;return t("div",{staticClass:"tw-flex-1 tw-pl-2"},[t("div",{staticClass:"tw-text-base tw-text-brand-brown tw-leading-none"},[this._v("\n          You've selected your products. Now create an account or sign in to complete your order.\n        ")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-text-left tw-mb-16"},[e("h1",{staticClass:"tw-text-2xl tw-font-medium tw-text-gray-900 tw-mb-1"},[t._v("\n        Complete Your Order\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-600 tw-text-base"},[t._v("\n        Create an account to continue with your purchase.\n      ")])])},function(){var t=this,e=t._self._c;return e("label",{staticClass:"tw-text-sm tw-text-gray-700 tw-font-medium tw-block",attrs:{for:"sms-notifications"}},[e("div",[t._v("\n            SMS (Text) Notifications\n          ")]),t._v(" "),e("div",{staticClass:"tw-font-medium tw-pt-2"},[t._v("\n            Yes, I would like to receive SMS (text) messages at this phone number regarding order updates, marketing notifications, and doctor messages (standard rates may apply).\n          ")])])},function(){var t=this._self._c;return t("div",{staticClass:"tw-flex tw-items-center tw-justify-center tw-space-x-4"},[t("img",{staticClass:"tw-h-auto tw-w-24",attrs:{src:"/assets/img/security/ssl1.png",alt:"Secure"}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-text-center tw-text-sm tw-text-gray-500 tw-leading-tight"},[t._v("\n      All of your information is 256-bit Encrypted and always safely secured. We NEVER share your information with anyone."),e("br"),t._v("\n      All of the questions we ask are strictly related to our programs and always a part your medical profile.\n    ")])}],!1,null,null,null).exports;var le=n(24713),ue=n(30381),ce=n.n(ue),de=n(73599),he=n(12822),fe=n(10990),pe=n(7758),we=n(6612);const me={name:"RefundPolicy"};const ve=(0,f.Z)(me,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-container tw-py-24"},[e("h1",{staticClass:"tw-text-black tw-text-5xl tw-font-bold tw-text-uppercase tw-text-center"},[t._v("\n    CANCELLATION/REFUND POLICY\n  ")]),t._v(" "),e("div",{staticClass:"text-ju
2stify"},[e("div",{staticClass:"tw-mt-20"},[e("h3",{staticClass:"tw-text-2xl tw-font-bold"},[t._v("\n        Refund Policy:\n      ")]),t._v(" "),e("div",[e("ol",[e("li",{staticClass:"tw-py-2"},[e("span",{staticClass:"tw-font-bold"},[t._v("\n                              All Sales Final :\n                          ")]),t._v("\n             \n            All purchases of Nu Image Medical® treatments are final. Due to stringent pharmacy regulations governing prescription medications, which prohibit reuse once packaged for a specific patient, we are unable to accept returns or provide refunds, regardless of whether the product remains unused.\n          ")]),t._v(" "),e("li",{staticClass:"tw-py-2"},[e("span",{staticClass:"tw-font-bold"},[t._v("\n                           Defective or Damaged Products :\n                          ")]),t._v("\n             \n            While refunds are not available, Nu Image Medical® is committed to providing high-quality products. If you receive a product that is defective or damaged, we will replace it. To request a replacement, you must submit a ticket via our online form within 7 days of receiving the product, and provide proof of purchase. Replacement requests made after this period will not be honored.\n          ")]),t._v(" "),e("li",{staticClass:"tw-py-2"},[e("span",{staticClass:"tw-font-bold"},[t._v("\n                           Exchanges :\n                          ")]),t._v("\n             \n            Exchanges are permitted solely for defective or damaged items as outlined above. No exchanges will be made for any other reason. The request must follow the same process as outlined for defective or damaged products.\n          ")])])])]),t._v(" "),e("div",{staticClass:"mt-20"},[e("h3",{staticClass:"tw-text-2xl tw-font-bold"},[t._v("\n        Auto-Bill Policy :\n      ")]),t._v(" "),e("div",[e("ol",[e("li",{staticClass:"tw-py-2"},[e("span",{staticClass:"tw-font-bold"},[t._v("\n                              Automatic Renewal :\n                          ")]),t._v("\n             \n            For auto-renewing products and services, your payment method will be automatically charged at regular intervals as described during checkout. This will continue until you cancel your subscription.\n          ")]),t._v(" "),e("li",{staticClass:"tw-py-2"},[e("span",{staticClass:"tw-font-bold"},[t._v("\n                          Cancellation :\n                          ")]),t._v("\n             \n            You may cancel your auto-renewal at any time. However, cancellations must be made at least forty-eight (48) hours before the renewal processing date to avoid being charged for the next period. Cancellations can be made by logging into your account and selecting the cancel option through the Service. No cancellations will be accepted less than forty-eight (48) hours before the renewal date.\n          ")]),t._v(" "),e("li",{staticClass:"tw-py-2"},[e("span",{staticClass:"tw-font-bold"},[t._v("\n                           Acknowledgment of Policies :\n                          ")]),t._v("\n             \n            By completing a purchase with Nu Image Medical®, you acknowledge and agree to abide by the terms of our Refund and Auto-Bill Policy. This acknowledgment includes understanding that refunds are not available for any reason other than defective or damaged products and that auto-renewals will continue until properly canceled in accordance with the stated procedures.\n          ")])])])]),t._v(" "),e("div",{staticClass:"mt-20"},[e("h3",{staticClass:"tw-text-2xl tw-font-bold"},[t._v("\n        Enforcement :\n      ")]),t._v(" "),e("div",[t._v("\n\n         \n        Nu Image Medical® strictly enforces these policies. In the event of a chargeback dispute, this document will be presented to the merchant provider to demonstrate that the customer was fully informed and acknowledged our strict no-refund policy and auto-bill terms prior to purchase.\n        For further assistance, please contact our customer service team via our online form.\n      ")])])])])}],!1,null,null,null).exports;var ge=n(59217);const ye={name:"EcheckConsent"};const be=(0,f.Z)(ye,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-text-black tw-font-normal tw-my-0 tw-overflow-auto"},[e("h1",{staticClass:"tw-text-2xl tw-font-medium"},[t._v("\n    64B8-9.012 Standards for the Prescription of Drugs to Treat Obesity\n  ")]),t._v(" "),e("p",{staticClass:"tw-my-4"},[t._v("\n    The prescribing of anti-obesity drugs should only be performed by physicians qualified by training and experience to treat obesity. All licensees are expected to abide by the following guidelines and standards in the utilization of any drug, synthetic compound, nutritional supplement, or herbal treatment, for the purpose of providing medically assisted weight loss. For purposes of this rule, “anti-obesity drugs” means any drug, synthetic compound, nutritional supplement, or herbal treatment used for the purpose of providing medically assisted weight loss.\n  ")]),t._v(" "),e("div",[e("p",{staticClass:"tw-text-medium tw-my-2 tw-pl-2 tw-indent-8"},[t._v("\n      (1)\n      To justify the use of anti-obesity drugs as 
2set forth above, the patient must have an initial Body Mass Index (BMI) of 30 or above, or an initial BMI of greater than 27 with at least one comorbidity factor, or an initial measurable body fat content equal to or greater than 25% of total body weight for male patients or 30% of total body weight for women. The treating physician may also take into account other factors such as ethnicity-specific values and markers such as waist circumference when justifying the use of anti-obesity drugs. BMI is calculated by use of the formula BMI = weight(kg)/height(m2).\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-medium tw-my-2 tw-pl-2 tw-indent-8"},[t._v("\n      (2)\n      Physicians in Florida are prohibited from prescribing, ordering, dispensing, or administering any anti-obesity drug that is both a serotonergic and anorexic agent unless the drug has been approved by the Food and Drug Administration (FDA) specifically for use in weight loss management. Selective serotonin re-uptake inhibitors (SSRIs) that have not been approved by the FDA for weight loss may not be prescribed, ordered, dispensed, or administered for such purposes.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-medium tw-my-2 tw-pl-2 tw-indent-8"},[t._v("\n      (3)\n      Physicians may only prescribe anti-obesity drugs to children with an initial BMI greater than 120th percent of the 95th percentile with significant comorbidity or an initial BMI greater than 140th percent of the 95th percentile.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-medium tw-my-2 tw-pl-2 tw-indent-8"},[t._v("\n      (4)\n      An initial evaluation of the patient shall be conducted prior to the prescribing, ordering, dispensing, or administering of any drug, synthetic compound, nutritional supplement or herbal treatment and such evaluation shall include physical and complete history; tests related to medical treatment for weight loss; medical referrals as indicated by the physical examination, history, and testing; all in accordance with general medical standards of care. The initial evaluation may be delegated to physician’s assistant licensed pursuant to Chapter 458 or 459, F.S., or an advanced practice registered nurse licensed pursuant to Chapter 464, F.S.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-medium tw-my-2 tw-pl-2 tw-indent-8"},[t._v("\n      (5)\n      Prior to prescribing, ordering, dispensing, or administering anti-obesity drugs the prescribing physician must obtain written informed consent from the patient. Such consent shall discuss potential benefits versus potential risks of weight loss treatments. A copy of the signed informed consent shall be included in the patient’s medical record.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-medium tw-my-2 tw-pl-2 tw-indent-8"},[t._v("\n      (6)\n      Each physician who is prescribing, ordering, or providing anti-obesity drugs to patients must assure that such patients undergo re-evaluation at least once every 3 months. The re-evaluation shall include the elements consistent with the standard of care and an assessment of the medical effects of the treatment being provided.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-medium tw-my-2 tw-pl-2 tw-indent-8"},[t._v("\n      (7) Each physician who prescribes, orders, dispenses, or administers anti-obesity drugs for the purpose of providing medically assisted weight loss shall provide to each patient a legible copy of the Weight-Loss Consumer Bill of Rights as set forth in Sections 501.0575(1)(a) through (e)3., F.S.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-medium tw-my-2 tw-pl-2 tw-indent-8"},[t._v("\n      (8) Any physician who advertises practice relating to weight loss that includes the prescribing of anti-obesity drugs or whose services are advertised by another person or entity shall be responsible for assuring that such advertising meets the requirements of Rule 64B8-11.001, F.A.C. Advertising weight loss treatment shall be considered false, deceptive, or misleading if it contains representations that:\n    ")]),t._v(" "),e("ul",{staticClass:"tw-text-medium tw-my-2 tw-pl-4"},[e("li",[t._v("(a) Promise specific results;")]),t._v(" "),e("li",[t._v("(b) Raise unreasonable expectations;")]),t._v(" "),e("li",[t._v("(c) Claim rapid, dramatic, incredible, or safe weight loss;")]),t._v(" "),e("li",[t._v("(d) State or suggest that diets or exercise are not required, or")]),t._v(" "),e("li",[t._v("(e) Suggest that weight loss is effortless or magical.")])]),t._v(" "),e("p",{staticClass:"tw-text-small tw-italic tw-text-gray-600"},[t._v("\n      Rulemaking Authority 458.336 FS. Law Implemented 458.336 FS. History–New 12-4-97, Amended 2-17-98, 8-8-22.\n    ")])])])}],!1,null,null,null).exports;var _e=n(42092),xe=n(96110),ke=n(38347);const Ce={name:"ExistingSubscriptionNotice",components:{CardModal:lt.Z,InlineError:Zt.Z},mixins:[u.Z],props:{showActiveSubscriptionNotice:{required:!0,type:Boolean},selectedProgram:{required:!0,type:String},subscriptions:{default:null,type:Object},closable:{default:!1,type:Boolean}}
2,data:function(){return{enabled:!1,code:null,displayAffiliateCoupon:!1,couponApplied:{},hide:null,couponErrors:[],couponLoading:!1,couponCompleted:!1,couponRequest:null,couponRequestVersion:0,couponAutoDetectEnabled:"false"}},computed:{couponErrorId:function(){return"subscription-coupon-"+this._uid+"-error"},couponHelpId:function(){return"subscription-coupon-"+this._uid+"-help"},haveACoupon:function(){return this.$store.getters.coupon},subscriptionId:function(){return this.subscriptions.formula_ids[this.selectedProgram]}},watch:{code:function(){this.couponRequest&&this.couponRequest.code!==this.code&&this.cancelCouponRequest(),this.couponErrors=[],this.couponCompleted=!1},subscriptionId:function(){this.cancelCouponRequest()},selectedProgram:function(){this.cancelCouponRequest()},showActiveSubscriptionNotice:function(t){this.hide=t},hide:function(t,e){!t&&e&&this.cancelCouponRequest()}},created:function(){this.couponAutoDetectEnabled&&this.initializeCouponCheck(),this.hide=this.showActiveSubscriptionNotice},beforeDestroy:function(){this.cancelCouponRequest()},methods:{closeNotice:function(){this.cancelCouponRequest(),this.hide=!1},cancelCouponRequest:function(){this.couponRequestVersion+=1,this.couponRequest=null,this.couponLoading=!1,this.couponCompleted=!1,this.couponErrors=[]},isCurrentCouponRequest:function(t){return!this._isDestroyed&&!this._isBeingDestroyed&&this.couponRequest===t&&t.id===this.couponRequestVersion&&t.code===this.code&&t.subscriptionId===this.subscriptionId},showCouponError:function(t){var e=this;this.couponErrors=[t],this.hide=!0,this.$nextTick((function(){var t=e.$refs.couponInput;t&&!t.disabled&&(t.scrollIntoView({block:"nearest"}),t.focus())}))},restart:function(){this.$bus.$emit("restart-enrollment")},selectAnotherProgram:function(){this.closeNotice(),this.restart()},gotoAccount:function(){this.couponLoading&&!this.couponCompleted&&this.cancelCouponRequest(),this.$bus.$emit("goto-my-account",{id:this.subscriptionId})},initializeCouponCheck:function(){var t=this.urlParameter("coupon");"undefined"!=typeof Storage&&sessionStorage.getItem("coupon")&&(t=sessionStorage.getItem("coupon"),sessionStorage.removeItem("coupon")),this.couponData&&(t=this.couponData.code),t&&(this.code=t,this.validate({},!0))},validate:function(){var t=this;if(this.couponLoading||this.couponCompleted||this.haveACoupon)return!1;if(!this.code)return this.showCouponError("Please enter a coupon code."),!1;var e={id:++this.couponRequestVersion,code:this.code,subscriptionId:this.subscriptionId};return this.couponRequest=e,this.couponLoading=!0,this.couponErrors=[],axios.post("/json/subscription/".concat(e.subscriptionId,"/coupon/validate"),{code:e.code}).then((function(n){if(t.isCurrentCouponRequest(e)){var r=n&&n.data&&n.data.data;if(r&&r.valid)return t.couponCompleted=!0,t.$bus.$emit("flash-message",{message:"Coupon applied successfully!",type:"success"}),t.gotoAccount();t.showCouponError(r&&"string"==typeof r.error&&r.error.trim()?r.error:r&&!1===r.valid?"That code was invalid.":"We could not apply this coupon. Please try again.")}})).catch((function(n){if(t.isCurrentCouponRequest(e)){var r=n&&n.response,i=r&&r.data&&r.data.data;t.showCouponError(i&&"string"==typeof i.error&&i.error.trim()?i.error:r&&[404,422].includes(r.status)?"That code was invalid.":"We could not apply this coupon. Please try again.")}})).finally((function(){t.isCurrentCouponRequest(e)&&(t.couponLoading=!1,t.couponRequest=null)}))}}};const Se=(0,f.Z)(Ce,(function(){var t=this,e=t._self._c;return e("div",{},[e("CardModal",{attrs:{show:t.hide,closeable:t.closable,"show-cancel-button":t.closable},on:{hide:t.closeNotice}},[e("div",["weight_loss"===t.selectedProgram?e("h3",[t._v("\n        You already have an auto refill for WAYT-less™\n      ")]):"weight_tain"===t.selectedProgram?e("h3",[t._v("\n        You already have an auto refill for WAYT-tain™\n      ")]):e("h3",[t._v("\n        You already have an auto refill for "+t._s(t.selectedProgram.toUpperCase())+"\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker tw-mt-4"},["weight_loss"===t.selectedProgram?e("span",[t._v("\n          You already have a subscription for WAYT-less™, you will get your refill on the "+t._s(t.subscriptions.renewal_dates.weight_loss)+".\n        ")]):"weight_tain"===t.selectedProgram?e("span",[t._v("\n          You already have a subscription for WAYT-tain™, you will get your refill on the "+t._s(t.subscriptions.renewal_dates.weight_tain)+".\n        ")]):e("span",[t._v("\n          You already have a subscription for "+t._s(t.selectedProgram.toUpperCase())+", you will get your refill on the "+t._s(t.subscriptions.renewal_dates[t.selectedProgram])+".\n        ")])]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker tw-mt-3"},[t._v("\n        We are allowing you to apply your coupon for a limited time for your next refill\n      ")]),t._v(" "),e("div",{staticClass:"tw-mt-8"},[e("div",{staticClass:"tw-w-full tw-text-gray-darker tw-flex tw-flex-col md:tw-flex-row tw-space-x-5 tw-mt-1"},[e("div",{staticClass:"tw-flex-1 tw-flex tw-flex-col md:tw-flex-row tw-items-start tw-justify-center tw-w-full tw-min-w-0"},[e("div",{staticClass:"tw-w-full tw-min-w-0 md:tw-mr-5"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.code,expression:"code"}],ref:"couponInput",staticClass:"tw-input tw-w-full tw-py-2 tw-border-2 tw-rounded-full tw-border-black",attrs:{disabled:t.haveACoupon,"aria-invalid":t.couponErrors.length?"true":null,"aria-describedby":t.couponErrors.length?t.couponErrorId+" "+t.couponHelpId:t.couponHelpId,"aria-label":"Coupon code",autofocus:"",placeholder:"Coupon Code"},domProps:{value:t.code},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),e.preventDefault(),t.validate.apply(null,arguments))},input:function(e){e.target.composing||(t.code=e.target.value)}}}),t._v(" "),e("InlineError",{attrs:{id:t.couponErrorId,messages:t.couponErrors}}
2)],1),t._v(" "),e("button",{staticClass:"tw-w-full md:tw-w-auto tw-mt-2 md:tw-mt-0 tw-btn tw-bg-accent-green tw-text-gray-700 tw-shadow",attrs:{type:"button",disabled:t.couponLoading||t.couponCompleted||t.haveACoupon},on:{click:function(e){return e.preventDefault(),t.validate.apply(null,arguments)}}},[t._v("\n              Apply\n            ")])])])]),t._v(" "),e("p",{staticClass:"tw-text-gray-500",attrs:{id:t.couponHelpId}},[t._v("\n        Optional\n      ")]),t._v(" "),e("hr",{staticClass:"tw-text-gray-400 tw-my-3"}),t._v(" "),e("div",{staticClass:"tw-mt-8"},[e("p",{staticClass:"tw-text-gray-darker tw-flex tw-flex-col tw-items-center tw-justify-center md:tw-flex-row md:tw-space-x-5"},[e("button",{staticClass:"tw-btn tw-w-full tw-btn-white tw-text-black tw-font-medium tw-text-sm",attrs:{type:"button"},on:{click:t.gotoAccount}},[t._v("\n            Manage your auto refills\n          ")]),t._v(" "),e("button",{staticClass:"tw-btn tw-w-full tw-bg-accent-green tw-text-black tw-font-medium tw-text-sm",attrs:{type:"button"},on:{click:t.selectAnotherProgram}},[t._v("\n            Select another program\n          ")])])])])])],1)}),[],!1,null,"1da142d6",null).exports;var Pe=n(39585),Ae=n(57012),Oe=n(94451);const Te={props:{videoSrc:{type:String,required:!0}},mounted:function(){},methods:{onLoadedMetadata:function(){}}};var Ee=n(61245),Ie={insert:"head",singleton:!1};y()(Ee.Z,Ie);Ee.Z.locals;const Ne=(0,f.Z)(Te,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-relative tw-w-full tw-aspect-w-16 aspect-h-9"},[e("iframe",{ref:"videoElement",staticClass:"video-player",attrs:{width:"750",height:"400",src:t.videoSrc,title:"Demo Background Sample Video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""},on:{loadedmetadata:t.onLoadedMetadata}})])}),[],!1,null,"4048b9bc",null).exports,Me={components:{Notices:Ae.Z,PopUpNotices:Oe.Z,VideoPlayer:Ne},props:{question:{required:!0,type:Object},notice:{required:!1,default:null},usePopUpStyle:{type:Boolean,required:!1,default:!1}},data:function(){return{answers:[]}},mounted:function(){this.question.answer&&!this.question.answer.includes("None")&&(this.answers=this.question.answer.split(" | "))},methods:{next:function(t){this.notice?this.$emit("acknowledgeNotice"):this.$emit("input",t,this.answers.length?this.answers.join(" | "):"None")}}};const Re=(0,f.Z)(Me,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"multi-step-question tw-text-2xl tw-font-medium"},[t._v("\n    "+t._s(t.question.text)+"\n  ")]),t._v(" "),e("video-player",{attrs:{"video-src":t.question.link}}
2),t._v(" "),t._l(t.question.options,(function(n,r){return e("label",{key:r,staticClass:"tw-button-checkbox tw-leading-loose tw-font-medium tw-text-700 tw-rounded-lg"},[e("span",{domProps:{innerHTML:t._s(n)}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.answers,expression:"answers"}],staticClass:"tw-rounded",attrs:{type:"checkbox"},domProps:{value:n,checked:Array.isArray(t.answers)?t._i(t.answers,n)>-1:t.answers},on:{change:function(e){var r=t.answers,i=e.target,o=!!i.checked;if(Array.isArray(r)){var a=n,s=t._i(r,a);i.checked?s<0&&(t.answers=r.concat([a])):s>-1&&(t.answers=r.slice(0,s).concat(r.slice(s+1)))}else t.answers=o}}})])})),t._v(" "),e("Transition",{attrs:{name:"fade"}},[null!==t.notice?e("div",{staticClass:"tw-mx-auto tw-my-6"},[t.usePopUpStyle?e("PopUpNotices",{attrs:{notice:t.notice},on:{acknowledge:t.next}}):e("Notices",{attrs:{notice:t.notice},on:{acknowledge:t.next}})],1):t._e()]),t._v(" "),e("button",{staticClass:"tw-block tw-w-full tw-btn tw-bg-black tw-rounded-full tw-text-white tw-btn-lg",on:{click:function(e){return e.preventDefault(),t.next.apply(null,arguments)}}},[t._v("\n    "+t._s(t.answers.length?"Continue":"None")+"\n  ")])],2)}),[],!1,null,null,null).exports;var De=n(52388),je=n(59751),Be=n(34155);function Le(t){return Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Le(t)}function Fe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fe(Object(n),!0).forEach((function(e){Qe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qe(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Le(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Le(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const Ue={components:{CardModal:lt.Z},mixins:[u.Z],props:{wl:{required:!1,type:Object},state:{required:!1,type:String}},data:function(){return{loading:!0,error:!1,products:[],selectedProduct:this.wl,detailedProduct:null,pricingOpts:[],quarterlyPercentage:"10",quintilePercentage:"15",halfYearlyPercentage:"15",yearlyPercentage:"20",waytlessUpsalePercentage:Be.env.WEIGHTLOSS_UPSALE_PERCENTAGE,showSelectSupply:!1,showUpsale:!0,theProgram:"weight_loss"}},computed:{customProductSort:function(){var t=this;return _.sortBy(this.pricingOpts.slice().reverse(),(function(e){return"one-time"==e.frequency&&"false"===t.enableOneTimePricing?1:0})).filter((function(e){return t.showOption(e.frequency)&&!t.checkStateRegulationForSelection(e.frequency)&&"monthly"==e.frequency}))}},mounted:function(){this.getProducts(),this.updateUrlParameters(qe(qe({},this.getUrlParameters()),{},{question:"waytless"}))},methods:{getProducts:function(){var t=this;this.error=!1,this.loading=!0,axios.get("/json/products",{params:{product_id:null!=="403"?"403":403}}).then((function(e){var n=e.data.data;t.products=n.filter((function(t){return 300!==t.id&&90!==t.id})),t.pricingOpts=t.products[0].pricing_options})).catch((function(e){t.error=!0,bugsnagClient.notify(e)})).finally((function(){return t.loading=!1}))},selectProduct:function(t){this.selectedProduct=t,this.showUpsale=!1,this.showSelectSupply=!0},selectProductPricing:function(t){this.selectedProduct.pricing=t,this.showUpsale=!0,this.showSelectSupply=!1,this.$bus.$emit("updated-waytless-upsale",{wl:this.selectedProduct}),this.$emit("input",this.selectedProduct)},proceed:function(){this.$emit("input",this.selectedProduct)},removeProduct:function(){console.log("removeProduct",this.isSelected(this.selectedProduct),this.selectedProduct),this.selectedProduct={},this.$bus.$emit("updated-waytless-upsale",{wl:this.selectedProduct}),this.$emit("input",this.selectedProduct)},isSelected:function(t){return this.selectedProduct&&void 0!==this.selectedProduct.id&&this.selectedProduct.id===t.id},checkStateRegulationForSelection:function(t){var e,n,r=null;return this.user&&null!==(e=this.user)&&void 0!==e&&e.contact&&this.user.contact.state&&(r=this.user.contact.state),"FL"===(r=null!==(n=this.state)&&void 0!==n?n:r)&&"weight_loss"===this.theProgram&&("half-yearly"===t||"quintile"===t)},showOption:function(t){var e=!("one-time"===t&&"false"===this.enableOneTimePricing);return"one-time"===this.urlParameter("supply")||e}}};const Ve=(0,f.Z)(Ue,(function(){var t=this,e=t._self._c;return e("div",{}
2,[t.showUpsale?e("div",[e("h4",{staticClass:"tw-text-center multi-step-question"},[t._v("\n      Based on your answers, your BMI is greater than 27, which is considered overweight according to the National Heart, Lung, and Blood Institute.\n      Our internal patient surveys show that on average, patients who try our WAYT-less program lose 17.8 LBS in their first month.\n      Would you like to save 50% on your first month and try WAYT-less?\n    ")]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.loading?e("div",{key:"loading",staticClass:"loading loading-grey loading-lg",staticStyle:{"min-height":"200px"}}):t.error?e("div",{key:"error",staticClass:"tw-text-xl tw-text-center tw-text-gray-darker tw-py-16"},[t._v("\n        Oops! There was a problem getting the list of products.\n        "),e("button",{staticClass:"tw-text-blue hover:tw-text-blue-dark",on:{click:function(e){return e.preventDefault(),t.getProducts.apply(null,arguments)}}},[t._v("\n          Try again.\n        ")])]):e("div",{key:"products",staticClass:"lg:tw-flex tw-flex-col tw-flex-wrap tw-items-center tw-justify-center tw-mt-3"},t._l(t.products,(function(n){return e("div",{key:n.id,staticClass:"tw-w-full lg:tw-w-5/6 tw-px-3 tw-mx-auto tw-self-stretch tw-mb-12"},[e("div",[e("div",{staticClass:"tw-bg-white tw-shadow-lg tw-overflow-hidden tw-h-full"},[e("div",{staticClass:"tw-p-8 tw-flex tw-items-center tw-text-center"},[e("div",{staticClass:"tw-w-3/5"},[e("h3",{staticClass:"tw-font-semibold tw-text-base tw-mb-1 tw-mt-0 tw-text-black tw-tracking-wider",staticStyle:{"min-height":"50px"}},[t._v("\n                    "+t._s(n.display_name)+"\n                  ")]),t._v(" "),e("div",{staticClass:"tw-mb-2 tw-text-3xl tw-text-gray-darkest"},[t._v("\n                    $"+t._s(n.price)+"\n                  ")]),t._v(" "),e("button",{staticClass:"tw-text-gray-dark hover:tw-text-black tw-text-sm tw-uppercase tw-tracking-wider tw-font-bold",on:{click:function(e){e.preventDefault(),t.detailedProduct=n}}},[t._v("\n                    Learn More →\n                  ")])]),t._v(" "),e("div",{staticClass:"tw-w-2/5"},[e("img",{staticClass:"tw-mx-auto tw-block tw-mb-6",staticStyle:{"max-height":"200px"},attrs:{src:n.full_imageurl}})])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-items-center tw-mt-12"},[e("button",{staticClass:"tw-flex-1 tw-btn tw-bg-gray-light tw-text-black tw-text-sm md:tw-text-base tw-rounded-l-full",on:{click:function(e){return e.preventDefault(),t.removeProduct()}}},[t._v("\n                NO THANKS\n              ")]),t._v(" "),t.isSelected(n)?e("button",{staticClass:"tw-flex-1 tw-btn tw-bg-black tw-text-white tw-text-sm md:tw-text-base tw-rounded-r-full",on:{click:function(e){return e.preventDefault(),t.proceed()}}},[t._v("\n                YES, PLEASE\n              ")]):e("button",{staticClass:"tw-flex-1 tw-btn tw-bg-black tw-text-white tw-text-sm md:tw-text-base tw-rounded-r-full",class:{"tw-cursor-not-allowed":t.isSelected(n)},attrs:{disabled:t.isSelected(n)},on:{click:function(e){return e.preventDefault(),t.selectProduct(n)}}},[t._v("\n                YES, PLEASE\n              ")])])])])})),0)]),t._v(" "),e("CardModal",{attrs:{show:!!t.detailedProduct},on:{hide:function(e){t.detailedProduct=null}}},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.detailedProduct?e("div",[e("h2",[t._v(t._s(t.detailedProduct.display_name))]),t._v(" "),e("p",{domProps:{innerHTML:t._s(t.detailedProduct.description)}})]):t._e()])],1)],1):t.showSelectSupply?e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-full"},[t._m(0),t._v(" "),e("ul",{staticClass:"tw-space-y-5 tw-w-full md:tw-w-3/5 md:tw-mx-auto tw-mt-10 tw-text-xl tw-pl-0"},t._l(t.customProductSort,(function(n){return e("li",{key:n.id,staticClass:"tw-w-full tw-cursor-pointer tw-flex tw-flex-col tw-justify-between tw-items-center tw-bg-white tw-overflow-hidden tw-rounded-3xl tw-border hover:tw-border-accent-green tw-text-gray-700 tw-rounded-lg",class:{"tw-shadow-lg tw-border tw-border-black":n.id===t.selectedProduct.id,"tw-bg-gray-100 tw-border tw-border-gray-400 tw-cursor-not-allowed":"monthly"===n.frequency&&t.selectedProduct.quantity<=5},on:{click:function(e){return t.selectProductPricing(n)}}},[e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-w-full tw-px-6 tw-py-4"},[e("div",{staticClass:"tw-flex tw-flex-col tw-text-gray-800"},[e("span",["one-time"===n.frequency?e("span",[e("span",{staticClass:"tw-flex tw-items-center tw-font-bold tw-capitalize"},[t._v("\n                  One Time Order\n                ")]),t._v(" "),e("span",{staticClass:"tw-block tw-text-base tw-mt-1"}
2,[t._v("\n                  Get a one month supply, order when you want for\n                  "),e("span",{staticClass:"tw-text-black tw-font-bold"},["ed"===t.theProgram?e("span",{staticClass:"tw-text-gray-700"},[t._v("\n                      $"+t._s((n.price*t.selectedProduct.quantity).toFixed(2))+"\n                    ")]):e("span",{staticClass:"tw-text-gray-700"},[t._v("\n                      $"+t._s(n.price.toFixed(2))+"\n                    ")])]),t._v(".\n                ")])]):t._e(),t._v(" "),"yearly"===n.frequency?e("span",[e("span",{staticClass:"tw-flex tw-items-center tw-font-bold tw-capitalize"},[t._v("\n                  12 Month Supply\n                ")])]):t._e(),t._v(" "),"half-yearly"===n.frequency?e("span",[e("span",{staticClass:"tw-flex tw-items-center tw-font-bold tw-capitalize"},[t._v("\n                  6 Month Supply\n                  ")])]):t._e(),t._v(" "),"quintile"===n.frequency?e("span",[e("span",{staticClass:"tw-flex tw-items-center tw-font-bold tw-capitalize"},[t._v("\n                  5 Month Supply\n                  ")])]):t._e(),t._v(" "),"quarterly"===n.frequency?e("span",[e("span",{staticClass:"tw-block tw-flex tw-items-center tw-font-bold tw-capitalize"},[t._v("\n                  3 Month Supply\n                  ")])]):t._e(),t._v(" "),"monthly"===n.frequency&&"ed"==t.theProgram?e("span",[e("span",{staticClass:"tw-block tw-font-bold tw-capitalize tw-text-gray-600"},[t._v("\n                  1 month Supply\n                ")]),t._v(" "),e("span",{staticClass:"tw-block tw-text-base tw-text-gray-600"},[e("span",{staticClass:"tw-font-medium tw-block"},[t._v("\n                    Monthly shipping not available for your current\n                    selection.\n                  ")]),t._v(" "),e("span",{staticClass:"tw-mt-2 tw-block"},[t._v("\n                    Unlock additional savings and monthly shipping\n                    by\n                    "),e("a",{staticClass:"tw-text-black tw-underline tw-italics tw-cursor-pointer",on:{click:function(e){return e.stopPropagation(),t.back.apply(null,arguments)}}},[t._v("\n                      changing your quantity.\n                    ")])])])]):"monthly"===n.frequency&&"hair loss"==t.theProgram?e("span",[e("span",{staticClass:"tw-block tw-font-bold tw-capitalize tw-text-gray-600"},[t._v("\n                  1 month Supply\n                ")]),t._v(" "),t._m(1,!0)]):"monthly"===n.frequency?e("span",[e("span",{staticClass:"tw-block tw-font-bold tw-capitalize"},[t._v("\n                  1 Month Supply\n                ")])]):t._e()])]),t._v(" "),"monthly"===n.frequency&&("hair loss"==t.theProgram||"ed"==t.theProgram)||"one-time"===n.frequency&&"ed"==t.theProgram&&t.selectedProduct.quantity<=5?e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-space-y-3"},[e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-black",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z","clip-rule":"evenodd"}})])]):e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-space-y-3"},[n.id!==t.selectedProduct.id?e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-gray-700 hover:tw-text-accent-green",attrs:{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}})]):e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-black",attrs:{fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}})])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-px-6 tw-py-3 tw-text-left tw-text-gray-700 tw-w-full tw--mt-5 tw-font-semibold tw-tracking-wider tw-text-base"},[e("div",{staticClass:"tw-text-black"},["yearly"===n.frequency?e("div",["ed"===t.theProgram?e("div",[t._v("\n                $"+t._s((n.price*t.selectedProduct.quantity).toFixed(2))+"/mo\n                "),e("span",{staticClass:"tw-ml-1 tw-text-gray-700 tw-line-through"},[t._v("\n                  $"+t._s((n.price*t.selectedProduct.quantity*100/(100-t.yearlyPercentage)).toFixed(2))+"/mo\n                ")]),t._v(" "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 lg:tw-ml-2 tw-rounded-md tw-text-lg tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-no-wrap"},[t._v("\n                  You save $"+t._s((12*(n.price*t.selectedProduct.quantity*100/(100-t.yearlyPercentage)-n.price*t.selectedProduct.quantity)).toFixed(2))+"/year\n                ")])]):e("div",[t._v("\n                $"+t._s(n.price.toFixed(2))+"/mo\n                "),e("span",{staticClass:"tw-ml-1 tw-text-gray-700 tw-line-through"},[t._v("\n                  $"+t._s((100*n.price/(100-t.yearlyPercentage)).toFixed(2))+"/mo\n                ")]),t._v(" "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 lg:tw-ml-2 tw-rounded-md tw-text-lg tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-no-wrap"},[t._v("\n                  You save $"+t._s((12*(100*n.price/(100-t.yearlyPercentage)-n.price)).toFixed(2))+"/year\n                ")])])]):t._e(),t._v(" "),"half-yearly"===n.frequency?e("div",["ed"===t.theProgram?e("div",[t._v("\n                $"+t._s((n.price*t.selectedProduct.quantity).toFixed(2))+"/mo\n                "),e("span",{staticClass:"tw-ml-1 tw-text-gray-700 tw-line-through"},[t._v("\n                  $"+t._s((n.price*t.selectedProduct.quantity*100/(100-t.halfYearlyPercentage)).toFixed(2))+"/mo\n                ")]),t._v(" "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 lg:tw-ml-2 tw-rounded-md tw-text-lg tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-nowrap"},[t._v("\n                  You save $"+t._s((12*(n.price*t.selectedProduct.quantity*100/(100-t.halfYearlyPercentage)-n.price*t.selectedProduct.quantity)).toFixed(2))+"/year\n                ")])]):e("div",[t._v("\n                $"+t._s(n.price.toFixed(2))+"/mo\n                "),e("span",{staticClass:"tw-ml-1 tw-text-gray-700 tw-line-through"},[t._v("\n                  $"+t._s((100*n.price/(100-t.halfYearlyPercentage)).toFixed(2))+"/mo\n                ")]),t._v(" "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 lg:tw-ml-2 tw-rounded-md tw-text-lg tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-nowrap"},[t._v("\n                  You save $"+t._s((12*(100*n.price/(100-t.halfYearlyPercentage)-n.price)).toFixed(2))+"/year\n                ")])])]):t._e(),t._v(" "),"quintile"===n.frequency?e("div",["ed"===t.theProgram?e("div",[t._v("\n                $"+t._s((n.price*t.selectedProduct.quantity).toFixed(2))+"/mo\n                "),e("span",{staticClass:"tw-ml-1 tw-text-gray-700 tw-line-through"},[t._v("\n                  $"+t._s((n.price*t.selectedProduct.quantity*100/(100-t.quintilePercentage)).toFixed(2))+"/mo\n                ")]),t._v(" "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 lg:tw-ml-2 tw-rounded-md tw-text-lg tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-no-wrap"},[t._v("\n                  You save $"+t._s((12*(n.price*t.selectedProduct.quantity*100/(100-t.quintilePercentage)-n.price*t.selectedProduct.quantity)).toFixed(2))+"/year\n                ")])]):e("div",[t._v("\n                $"+t._s(n.price.toFixed(2))+"/mo\n                "),e("span",{staticClass:"tw-ml-1 tw-text-gray-700 tw-line-through"},[t._v("\n                  $"+t._s((100*n.price/(100-t.quintilePercentage)).toFixed(2))+"/mo\n                ")]),t._v(" "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 lg:tw-ml-2 tw-rounded-md tw-text-lg tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-no-wrap"},[t._v("\n                  You save $"+t._s((12*(100*n.price/(100-t.quintilePercentage)-n.price)).toFixed(2))+"/year\n                ")])])]):t._e(),t._v(" "),"monthly"===n.frequency&&("hair loss"==t.theProgram||t.selectedProduct.quantity>5&&"ed"==t.theProgram)?e("div",{staticClass:"tw-text-gray-800"},["ed"===t.theProgram?e("div",[t._v("\n                $"+t._s((n.price*t.selectedProduct.quantity).toFixed(2))+"/mo\n              ")]):e("div")]):"monthly"===n.frequency?e("div",{staticClass:"tw-text-black"},["ed"===t.theProgram?e("div",[t._v("\n                $"+t._s((n.price*t.selectedProduct.quantity).toFixed(2))+"/mo\n              ")]):e("div",[t._v("\n                $"+t._s(n.price.toFixed(2))+"/mo\n              ")])]):t._e(),t._v(" "),"quarterly"===n.frequency?e("div",{staticClass:"tw-text-black"},["ed"===t.theProgram?e("div",[t._v("\n                $"+t._s((n.price*t.selectedProduct.quantity).toFixed(2))+"/mo\n                "),e("span",{staticClass:"tw-ml-1 tw-text-gray-700 tw-line-through"},[t._v("\n                  $"+t._s((n.price*t.selectedProduct.quantity*100/(100-t.quarterlyPercentage)).toFixed(2))+"/mo\n                ")]),t._v(" "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 lg:tw-ml-2 tw-rounded-md tw-text-lg tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-nowrap"},[t._v("\n                  You save $"+t._s((12*(n.price*t.selectedProduct.quantity*100/(100-t.quarterlyPercentage)-n.price*t.selectedProduct.quantity)).toFixed(2))+"/year\n                ")])]):e("div",[t._v("\n                $"+t._s(n.price.toFixed(2))+"/mo\n                "),e("span",{staticClass:"tw-ml-1 tw-text-gray-700 tw-line-through"},[t._v("\n                  $"+t._s((100*n.price/(100-t.quarterlyPercentage)).toFixed(2))+"/mo\n                ")]),t._v(" "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 lg:tw-ml-2 tw-rounded-md tw-text-lg tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-nowrap"},[t._v("\n                  You save $"+t._s((12*(100*n.price/(100-t.quarterlyPercentage)-n.price)).toFixed(2))+"/year\n                ")])])]):t._e()]),t._v(" "),"quintile"!==n.frequency&&"quarterly"!==n.frequency&&"half-yearly"!==n.frequency||"wsp"!==t.theProgram?t._e():e("div",{staticClass:"tw-text-xs tw-text-gray-500"},[t._v("\n            currently unavailable\n          ")])]),t._v(" "),"one-time"!==n.frequency?e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-px-6 tw-py-3 tw-text-left tw-text-gray-700 tw-w-full tw--mt-5 tw-font-semibold tw-tracking-wider tw-text-base"},[e("div",{staticClass:"tw-w-2/3"},[t._v("\n            No commitment, cancel anytime\n          ")])]):t._e()])})),0)]):t._e()])}),[function(){var t=this,e=t._self._c;return e("div",[e("h2",{staticClass:"tw-mt-5 md:tw-mt-0 tw-text-4xl md:tw-text-6xl tw-text-black tw-font-bold tw-text-center tw-capitalize"},[t._v("\n        Your Shipping Frequency\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base md:tw-text-xl tw-font-medium tw-text-gray-700 tw-text-center tw-w-full md:tw-w-4/5 tw-mx-auto"},[t._v("\n        How often do you want your treatment to be shipped?\n      ")])])},function(){var t=this,e=t._self._c;return e("span",{staticClass:"tw-block tw-text-base tw-text-gray-600"},[e("span",{staticClass:"tw-font-medium tw-block"},[t._v("\n                    Monthly shipping not available for NuDew®.\n                  ")]),t._v(" "),e("span",{staticClass:"tw-mt-2 tw-block"},[t._v("\n                    Our hair program is only available in 3 month\n                    increments. "),e("br"),t._v("\n                    It takes at least 3 months to see the full\n                    results of NuDew®. "),e("br"),t._v("\n                    You didn’t lose it overnight, you’re not going\n                    to get it back overnight either.\n                  ")])])}],!1,null,null,null).exports;const He={props:{value:{type:String,required:!0}},data:function(){return{number:this.value}},watch:{number:function(t,e){this.$emit("input",t)}},methods:{add:function(){this.number++,this.$emit("input",this.number)},subtract:function(){this.number--,this.$emit("input",this.number)}}};const Ge=(0,f.Z)(He,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-relative tw-border tw-rounded-full tw-flex tw-mt-5 tw-justify-around tw-items-center tw-bg-white tw-px-4 tw-py-2"},[e("button",{staticClass:"tw-text-black tw-bg-brand-brown tw-px-2.5 cursor tw-rounded-full",on:{click:function(e){return e.preventDefault(),t.subtract.apply(null,arguments)}}},[t._v("\n    -\n  ")]),t._v(" "),e("div",{staticClass:"tw-font-semibold tw-text-4xl tw-text-gray-700 tw-self-end tw-flex tw-justify-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.number,expression:"number"}],staticClass:"tw-text-center tw-shadow-none tw-border-none tw-text-gray-700 tw-appearance-none",attrs:{size:"5"},domProps:{value:t.number},on:{input:function(e){e.target.composing||(t.number=e.target.value)}}})]),t._v(" "),e("button",{staticClass:"tw-text-black tw-bg-brand-brown tw-rounded-full tw-px-2.5 tw-cursor-pointer",on:{click:function(e){return e.preventDefault(),t.add.apply(null,arguments)}}},[t._v("\n    +\n  ")])])}),[],!1,null,null,null).exports;var ze=n(90747),We=n(76705);function $e(t){return $e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$e(t)}function Ke(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
vendor: 5,169 bytes, line 2
2if(!n){if(Array.isArray(t)||(n=rn(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Ye(){Ye=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new S(i||[]);return r(a,"_invoke",{value:_(t,n,s)}),a}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var d={};function h(){}function f(){}function p(){}var w={};l(w,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(P([])));v&&v!==e&&n.call(v,o)&&(w=v);var g=p.prototype=h.prototype=Object.create(w);function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function i(r,o,a,s){var l=c(t[r],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==$e(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return A()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function x(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=c(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,d;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:A}}function A(){return{value:void 0,done:!0}}return f.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),l(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new b(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(g),l(g,s,"Generator"),l(g,o,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=P,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
vendor: 5,709 bytes, line 2
2h(C),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:P(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function Ze(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function Je(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ze(o,r,i,a,s,"next",t)}function s(t){Ze(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function tn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xe(Object(n),!0).forEach((function(e){en(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function en(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==$e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==$e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===$e(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nn(t){return function(t){if(Array.isArray(t))return on(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||rn(t)||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 rn(t,e){if(t){if("string"==typeof t)return on(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?on(t,e):void 0}}function on(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var an=new WeakMap;const sn={components:{InlineValidationField:s.Z,HeightWeightBmi:ze.Z,ExternalLinkQuestion:Re,EcheckConsent:ge.Z,RefundPolicy:ve,FLWeightLossTnC:be,AshTestingConsent:_e.Z,NotificationBanner:je.Z,CCConsent:we.Z,PatientAuth:pe.Z,SelfPayConsent:fe.Z,NmiForm:de.Z,AuthorizeNetForm:he.Z,CustomSelect:le.Z,PhoneNumber:p,TextMeUpdatesConfirmation:m,EarlySubmissionConfirmation:k,CompletedProfileConfirmation:A,ChecklistQuestion:O.Z,EdRecentExamResultsQuestion:E,EdSideEffectsQuestion:N,ExpandedQuestion:M.Z,FamilyHistoryQuestion:R.Z,IdCardPhoto:ht.Z,PrimaryPhysicianQuestion:D.Z,RadioQuestion:j.Z,RangeQuestion:B.Z,YesOrNoQuestion:L.Z,CardModal:lt.Z,FacialPhotoTaker:ut.Z,FullBodyPhotoTaker:ft.Z,VideoRecorder:pt.Z,HairlossPhotos:ct.Z,SkinPhotos:dt.Z,MultiStepForm:wt.Z,PhotoUploader:mt.Z,CheckoutForm:Kt,TestosteroneBloodWork:xe.Z,EnclomipheneBloodWork:ke.Z,ExistingSubscriptionNotice:Se,UltraBurnQuestion:Pe.Z,ModalWrapper:De.Z,WaytlessQuestion:Ve,NumberInput:Ge,ProgramOptionsSelector:F.default,NubodyConsent:We.Z,Login:se},mixins:[u.Z,r.Z],directives:{"non-negative":{bind:function(t){var e=function(){t.value<0&&(t.value=0)};t._nonNegativeHandler=e,t.addEventListener("input",e)},unbind:function(t){t._nonNegativeHandler&&(t.removeEventListener("input",t._nonNegativeHandler),delete t._nonNegativeHandler)}}},props:{paymentGateway:{required:!0,type:String},orderSubtotal:{required:!0,type:Number},refillItems:{default:null,type:Array},initialStateSelected:{default:null},programs:{required:!0,type:Array},program:{required:!0,type:String},allergies:{required:!0,type:Array},medications:{required:!0,type:Array}
2,conditions:{required:!0,type:Array},user:{default:null,type:Object},shippingMethods:{required:!0,type:Object},initEnrollment:{default:null,type:Object},bannedAddresses:{required:!0,type:Array},additionalEnrollmentData:{type:Object,required:!0},currentQuestion:{default:null,type:String},showBucks:{type:String,required:!1,default:"false"},initProducts:{default:null,type:Object},cantBuyTestosterone:{default:!1,type:Boolean},states:{required:!0,type:Array},productPicked:{default:!1,type:Boolean},showLogin:{default:!1,type:Boolean},guestData:{default:function(){return{selectedProducts:null,selectedSubscription:null,answers:{}}},type:Object},emailPrefill:{default:null,type:String},lowestPrice:{default:null,type:String}},data:function(){var t,e,n,r,i,o=this;return{bp:{response:null},shouldIgnoreWatch:!1,loading:!1,downloading:!1,disablePayButton:!0,refillOrder:!1,checkoutErrors:[],checkoutDraftValues:null,earlySubmissionInFlight:!1,paymentRetryInFlight:!1,paymentRetryRequired:!1,earlyOrderUpdateInFlight:!1,collectingPayment:!1,checkoutPaymentAttempt:0,orderSubmissionInFlight:!1,orderSubmissionRequiresSupport:!1,payment_token:null,payment_card_info:null,activeQuestion:0,cardHasBeenAuthorized:null,showWaytlessUpsale:!1,questions:[].concat(nn(Y),[{name:"product",programs:["general"],dontSkipForSupplement:!0,hideContinueButton:!0,answer:{},validate:function(t){var e=t.answer;return!(!e||"{}"===JSON.stringify(e))||"Please select a product to continue."}},{name:"authentication",programs:["general"],hideContinueButton:!0,answer:{},show:function(){return!0},validate:function(t){t.answer;return!0}},{name:"checkout",programs:["general"],dontSkipForSupplement:!0,hideContinueButton:!0,answer:{},validate:function(t){t.answer;return!0}}],nn(Z.I),nn(st.P),nn(tt.f),nn(et.F),nn(ot.U),nn(X.R),nn(at.I),nn(nt.R),nn(rt.Z),nn(it.X),[{name:"program_type",programs:["hcg"],hideContinueButton:!0,show:function(){var t=o.questions.find((function(t){return"product"===t.name}));return t.answer&&"{}"!==JSON.stringify(t.answer)},answer:null,validate:function(t){return!!t.answer||"Please select your program type."}},{name:"mixing_method",programs:["hcg"],hideContinueButton:!0,show:function(){var t=o.questions.find((function(t){return"product"===t.name})),e=o.questions.find((function(t){return"program_type"===t.name}));return t.answer&&"{}"!==JSON.stringify(t.answer)&&e.answer&&"{}"!==JSON.stringify(e.answer)&&e.answer.display_name.toLowerCase().includes("inject")},answer:null,validate:function(t){return!!t.answer||"Please select your program type."}},{name:"supplements",hideForNewOrders:!0,programs:["weight_loss","ub","hcg"],answer:[],validate:function(){return!0},show:function(){return!1}},{name:"addons",programs:["weight_loss","weight_tain","hcg"],answer:null,show:function(t){t.questions,t.selectedProducts;return!1},validate:function(){return!!o.products.length||"You haven't selected any products for your enrollment. Please go back and make a selection"}}],nn(J.r)),answers:{},selectedCountry:"US",selectedUB:null!==(t=this.selectedProducts)&&void 0!==t&&t.products?this.selectedProducts.products.ultra_burn:{},selectedWL:null!==(e=null!==(n=null===(r=this.selectedProducts)||void 0===r||null===(i=r.products)||void 0===i?void 0:i.wayt_less)&&void 0!==n?n:this.waytlessAnswer)&&void 0!==e?e:{},showSelfPayAgreement:!1,showFLWeightlossAgreement:!1,agreedToSelfPay:!1,showPatientAuth:!1,agreedToPatientAuth:!1,agreedToFLTnC:!1,agreedToCardConsent:!1,agreedToEcheckConsent:!1,agreedToAshTestingConsent:!1,agreedToNubodyConsent:!1,over18ageConfirmed:null,showCCConsent:!1,showRefundPolicy:!1,showECheckConsent:!1,showAshTestingConsent:!1,showNubodyConsent:!1,maxDate:ce()().format("YYYY-MM-DD"),showInfo:!1,showIDCard:!1,removeUBDueToAllergy:!1,shippingQuestionAnswer:{},showPaymentForm:!1,showActiveSubscriptionNotice:!1,subscriptions:[],vipID:"dzx6xpzyhctrrbrf1",isVIPOrder:!1,isTestOrder:!1,testOrderEnabled:!0,shippingQuestionAnswered:!1,sampleFullBodyImage:"/assets/img/upload_guide.png",earlySubmissionSuccess:null,earlySubmissionOrderNumber:null,earlySubmissionErrorMessage:null,isEnrollmentComplete:!1,isCompletingEarlySubmissionProfile:!1,showFullBodyInfo:!0,showNotificationBanner:!1,weightlossDisallowedStates:"LA".split(","),selectedProducts:{},selectedSubscription:{},subtotal:0,nubodyInfo:null,userHasValidBloodWorkOrder:!1,hideEarlySubmissionScreen:!1,isActiveQuestionWatching:!1,activeQuestionIndex:0,patientGender:null,trackdeskTenantId:"nu-image-medical",trackdeskRevenueOriginId:"61afb250-f325-4969-b558-e1a33acd5700"}},computed:{enrollmentRequestPending:function(){return this.orderSubmissionInFlight||this.earlySubmissionInFlight||this.paymentRetryInFlight||this.earlyOrderUpdateInFlight},fieldSubmissionContext:function(){var t=this.filteredQuestions||[],e={};if(!this.isVIPOrder&&!0!==this.earlySubmissionSuccess&&t.some((function(t){return"checkout"===t.name}))){var n,r,i,o=this.checkoutDraftValues||this.customerAddress||{};if(["address","address_two","city","state","postal"].forEach((function(t){e["address.".concat(t)]=o[t]})),e.shipping=null===(n=this.shippingQuestionAnswer)||void 0===n?void 0:n.method,e.signature_waiver=null===(r=this.shippingQuestionAnswer)||void 0===r?void 0:r.signature_waiver,this.showPaymentForm)e.payment=[this.payment_token,this.payment_card_info,this.selectedPaymentMethod],e.agreedToSelfPay=this.agreedToSelfPay,"FL"===(null===(i=this.stateQuestion)||void 0===i?void 0:i.answer)&&"weight_loss"===this.program&&(e.agreedToFLTnC=this.agreedToFLTnC),["Credit-Card","Amex"].includes(this.selectedPaymentMethod)&&(e.agreedToCardConsent=this.agreedToCardConsent),this.isHomeKitBloodWorkSelected&&(e.agreedToAshTestingConsent=this.agreedToAshTestingConsent),this.isNubodySubscription&&(e.agreedToNubodyConsent=this.agreedToNubodyConsent)}return{questions:t,checkoutValues:e}},allCheckoutErrors:function(){return(0,o.fH)([].concat(nn(this.checkoutErrors),nn(this.serverValidationResult.checkoutErrors)))},checkoutValidationSignature:function(){var t;return JSON.stringify({shipping:this.shippingQuestionAnswer,answered:this.shippingQuestionAnswered,selfPay:this.agreedToSelfPay,florida:this.agreedToFLTnC,card:this.agreedToCardConsent,echeck:this.agreedToEcheckConsent,blood:this.agreedToAshTestingConsent,nubody:this.agreedToNubodyConsent,state:null===(t=this.stateQuestion)||void 0===t?void 0:t.answer,program:this.program,method:this.selectedPaymentMethod,kit:this.isHomeKitBloodWorkSelected,subscription:this.isNubodySubscription,vip:this.isVIPOrder})},checkoutOrder:function(){var t,e,n,r,i,o=(null===(t=this.answers)||void 0===t?void 0:t.address)||{},a=(null===(e=this.selectedProducts)||void 0===e||null===(n=e.products)||void 0===n?void 0:n.product)||{};return{payment_method:"Credit-Card",subtotal:this.orderSubtotal||this.subtotal||0,couponSubtotal:(null===(r=this.selectedProducts)||void 0===r?void 0:r.subtotalForCoupon)||this.subtotal||0,answers:tn(tn({},this.answers),{},{address:o.address||"",address_two:o.address_two||"",city:o.city||"",state:o.state||(null===(i=this.answers)||void 0===i?void 0:i.state)||"",postal:o.postal||"",country:o.country||"US",product:{product_id:a.product_id||a.id||null},over18ageConfirmed:this.over18ageConfirmed}),addons:this.selectedAddons||[],merchant_upcharge:null,merchant_discount:null}},videoTalkingPoints:function(){try{return this.questions&&this.program?(0,q.a)(this.questions,this.program):[]}catch(t){return console.error("Error generating video talking points:",t),[]}},waytlessAnswer:function(){var t=this.questions.findIndex((function(t){return"inner_waytless_upsale"===t.name}));return this.questions[t].answer},coupon:function(){return this.$store.getters.coupon},phoneQuestion:function(){return _.findIndex(this.filteredQuestions,(function(t){return"phone"===t.name}))},customerAddress:function(){return this.answers.address||{}},stateIndex:function(){var t,e,n,r=this;if(this.user&&null!==(t=this.user)&&void 0!==t&&t.contact&&null!==(null===(e=this.user)||void 0===e||null===(n=e.contact)||void 0===n?void 0:n.state)){var i=this.states.findIndex((function(t){var e,n;return t[1]===(null===(e=r.user)||void 0===e||null===(n=e.contact)||void 0===n?void 0:n.state)}));return-1!==i?i:null}if(null!==this.initialStateSelected){var o=this.states.findIndex((function(t){return t[1]===r.initialStateSelected[1]}));return-1!==o?o:null}if(this.initEnrollment&&null!==this.initEnrollment.questions[0].answer){var a=this.states.findIndex((function(t){return t[1]===r.initEnrollment.questions[0].answer}));return-1!==a?a:null}return null},filteredQuestions:function(){var t=this;return this.questions.filter((function(e){var n,r,i,o,a=!0;if("authentication"===e.name&&(t.user||t.initialUser))return console.log("remov
2ing auth question"),!1;if(("addons"===e.name||"inner_ultra_burn_upsale"===e.name||"inner_waytless_upsale"===e.name)&&t.isNubodySubscription)return!1;"video-introduction"===e.name&&console.log("Video question filtering:",{name:e.name,states:e.states,currentStateAnswer:null===(r=t.stateQuestion)||void 0===r?void 0:r.answer,userContactState:null===(i=t.user)||void 0===i||null===(o=i.contact)||void 0===o?void 0:o.state,valid:a});if(e.states&&e.states.length>0){var s,l,u=t.stateQuestion.answer?t.stateQuestion.answer:null===(s=t.user)||void 0===s||null===(l=s.contact)||void 0===l?void 0:l.state,c=e.states.includes(u);"video-introduction"===e.name&&console.log("State check for video:",{stateToCheck:u,requiredStates:e.states,isValid:c}),a=a&&c}if(t.refillItems.length>0){var d,h;if("function"==typeof e.hideForTrueRefills)return e.hideForTrueRefills(t.program,t.stateQuestion.answer?t.stateQuestion.answer:null===(d=t.user)||void 0===d||null===(h=d.contact)||void 0===h?void 0:h.state);if(e.hideForTrueRefills)return!1}else{var f;if(["weight_loss_side_effects","weight_loss_side_effects_expanded","weight_tain_side_effects","weight_tain_side_effects_expanded","shipping","payment_method","t_and_c"].includes(e.name))return!1;if(null!=t&&null!==(f=t.user)&&void 0!==f&&f.patient&&e.hideForRefills)return!1}if((null==t||null===(n=t.user)||void 0===n||!n.patient)&&e.hideForNewOrders)return!1;if(a=a&&e.programs.filter((function(n){var r=t.selectedProduct.product_id;return void 0!==r&&(r=r.toString()),!!t.programs.includes(n)&&("supplements"!==t.program||1==e.dontSkipForSupplement)})).length,"function"==typeof e.show&&(a=a&&e.show({questions:t.questions,selectedProducts:t.selectedProducts,program:t.program})),"expanded"===e.type){var p=t.questions.find((function(t){return t.name===e.name.split("_expanded")[0]}));a=a&&!0===p.answer}return t.gender&&(e.maleOnly||e.femaleOnly)&&(!e.maleOnly||"Male"!==t.gender&&"Male"!==t.patientGender)?!(!e.femaleOnly||"Female"!==t.gender&&"Female"!==t.patientGender)&&a:a}))},gender:function(){var t,e=this.questions.find((function(t){return"gender"===t.name})),n=null;if(null!==e.answer)n=e.answer;else if(null!==(t=this.user)&&void 0!==t&&t.patient){var r;n=null===(r=this.user)||void 0===r?void 0:r.patient.gender}else this.patientGender&&(n=this.patientGender);return console.log("computed gender",n),n},filteredShippingMethods:function(){var t,e,n;var r=null===(t=this.selectedProducts)||void 0===t||null===(e=t.products)||void 0===e||null===(n=e.product)||void 0===n?void 0:n.ship_frozen,i=[!0,1,"1"].includes(r)?"Overnight":"2-Day";return Object.values(this.shippingMethods).filter((function(t){return t.alias===i}))},selectedProduct:function(){var t=this.questions.find((function(t){return"product"===t.name}));return t&&t.answer?t.answer:{}},selectedProgramType:function(){var t=this.questions.find((function(t){return"program_type"===t.name}));return t&&t.answer?t.answer:null},selectedMixingMethod:function(){var t=this.questions.find((function(t){return"mixing_method"===t.name}));return t&&t.answer?t.answer:null},selectedBloodWorkOption:function(){var t=this.questions.find((function(t){return"blood_work_option"===t.name}));if(!t||!t.answer)return null;return t.answer.forEach((function(t){var e=t.findIndex((function(e){return e.id===t.id}));if(-1!==e)return t[e].quantity++;addons.push(tn(tn({},t),{},{quantity:1}))})),[]},selectedAddons:function(){var t=this.questions.find((function(t){return"addons"===t.name}));if(!t||!t.answer)return[];var e=[];return t.answer.forEach((function(t){var n=e.findIndex((function(e){return e.id===t.id}));if(-1!==n)return e[n].quantity++;e.push(tn(tn({},t),{},{quantity:1}))})),e},selectedSupplements:function(){var t=this.questions.find((function(t){return"supplements"===t.name}));return t&&t.answer?t.answer.map((function(t){return tn(tn({},t),{},{quantity:1})})):[]},products:function(){var t,e,n,r,i;return this.program,[null===(t=this.selectedProducts)||void 0===t||null===(e=t.products)||void 0===e?void 0:e.product,this.selectedProgramType,null!==(n=null===(r=this.selectedProducts)||void 0===r||null===(i=r.products)||void 0===i?void 0:i.blood_work_option)&&void 0!==n?n:null,this.selectedMixingMethod,this.selectedUB,this.selectedWL].concat(nn(this.selectedAddons),nn(this.selectedSupplements)).filter((function(t){return null!==t})).filter((function(t){return"{}"!==JSON.stringify(t)}))},selectedShippingMethod:function(){if(this.questions.find((function(t){return"shipping"===t.name}))){var t=this.questions.find((function(t){return"shipping"===t.name})).answer.method;return Object.values(this.shippingMethods).find((function(e){return e.alias===t}))}return null},selectedPaymentMethod:function(){return"Credit-Card"},stateQuestion:function(){return this.questions.find((function(t){return"state"===t.name}))},allInfoFilled:function(){var t=this.shippingQuestionAnswered&&this.agreedToSelfPay;return"FL"===this.stateQuestion.answer&&"weight_loss"===this.program&&(t=t&&this.agreedToFLTnC),["Credit-Card","Amex"].includes(this.selectedPaymentMethod)&&(t=t&&this.agreedToCardConsent),"E-Check"===this.selectedPaymentMethod&&(t=t&&this.agreedToEcheckConsent),this.isHomeKitBloodWorkSelected&&(t=t&&this.agreedToAshTestingConsent),this.isNubodySubscription&&(t=t&&this.agreedToNubodyConsent),t},calculateBmi:function(){if(null!==this.filteredQuestions[this.activeQuestion].answers.height&&null!==this.filteredQuestions[this.activeQuestion].answers.weight){var t=this.getHeightInMeters(),e=.453592*this.filteredQuestions[this.activeQuestion].answers.weight/(t*t);return this.filteredQuestions[this.activeQuestion].answers.bmi=Math.round(100*e)/100,this.calculateBmiForWaytlessUpsale(),Math.round(100*e)/100}return null},calculateBRI:function(){var t=this.getHeightInMeters(),e=.0254*this.filteredQuestions[this.activeQuestion].answers.waist_circumference;if(t<=0||e<=0)return 0;var n=e/(2*Math.PI),r=Math.pow(n,2)/Math.pow(t,2);if(!(r>=1)){var i=364.2-365.5*Math.sqrt(1-r);return i=parseFloat(i.toFixed(2)),this.filteredQuestions[this.activeQuestion].answers.bri=i,i}
2console.error("Invalid inputs: Waist circumference is too large relative to height.")},isHomeKitBloodWorkSelected:function(){var t,e,n;return!(null===(t=this.selectedProducts)||void 0===t||null===(e=t.products)||void 0===e||null===(n=e.blood_work_option)||void 0===n||!n.id)&&"461"===this.selectedProducts.products.blood_work_option.id.toString()},isNubodySubscription:function(){var t,e;return!(null==this||null===(t=this.selectedSubscription)||void 0===t||!t.product)||!(null==this||null===(e=this.user)||void 0===e||!e.has_nubody_membership)}},watch:{checkoutValidationSignature:function(){var t=new Set(this.checkoutErrors.map((function(t){return t.field})));this.checkoutErrors=a(this).filter((function(e){return t.has(e.field)}))},activeQuestion:{immediate:!0,handler:function(t,e){var n=this;t!==e&&(this.checkoutDraftValues=null);var r=this.determineQuestionName();if(this.$nextTick(this.checkGenders),!0!==this.shouldIgnoreWatch){if(console.log("loading masks for date questions"),setTimeout((function(){n.$refs.date&&d()({mask:"99/99/9999",greedy:!1}).mask(n.$refs.date),n.$refs.bloodPressure&&d()({mask:"99[9]/99[9]"}).mask(n.$refs.bloodPressure),n.$refs.phone&&d()({mask:"999-999-9999",greedy:!0}).mask(n.$refs.phone),n.$refs.alt_phone&&d()({mask:"999-999-9999",greedy:!0}).mask(n.$refs.alt_phone)}),500),"state"===r&&"undefined"!=typeof window&&"undefined"!=typeof mixpanel&&mixpanel.track("At State Question",{order_type:this.program}),"early-submission-confirmation"===r&&(this.setupEarlySubmissionProducts(),this.showPaymentForm=!this.isVIPOrder),"checkout"===r&&(this.showPaymentForm=!this.isVIPOrder),"state"===r&&void 0!==this.$posthog&&this.program)try{this.$posthog.capture("enrollment_questions_started",{program_type:this.program,question_name:"state",state:this.stateQuestion.answer})}catch(t){console.error("[EnrollmentForm] PostHog enrollment_questions_started failed:",t)}"notifications"===r&&(this.filteredQuestions[this.activeQuestion].hideContinueButton=!0),"video-introduction"===r&&this.updatePatientVideo()}}},selectedUB:function(t,e){var n,r=null===(n=this.questions)||void 0===n?void 0:n.find((function(t){return"inner_ultra_burn_upsale"===(null==t?void 0:t.name)}));r&&(r.answer=t)},selectedWL:function(t,e){var n,r=null===(n=this.questions)||void 0===n?void 0:n.find((function(t){return"inner_waytless_upsale"===(null==t?void 0:t.name)}));r&&(r.answer=t)},gender:{immediate:!0,handler:function(t){t&&!this.patientGender&&(this.patientGender=t,this.additionalEnrollmentData.patientGender=this.patientGender,console.log("[EnrollmentForm] Synced patientGender from computed gender:",t))}},over18ageConfirmed:function(t,e){this.additionalEnrollmentData.over18ageConfirmed=t},"user.contact.state":{handler:function(t){this.handleBlockedLocationCheck(),this.$nextTick(this.checkState)},immediate:!0},user:{handler:function(){this.$nextTick(this.checkState)},immediate:!0}},mounted:function(){console.log("question programs",this.programs),console.log("question ",this.questions),console.log("initEnrollment in enrollment form",JSON.parse(JSON.stringify(this.initEnrollment))),console.log("activeQuestion",this.determineQuestionName()),this.getNubodyMembershipInfo(),console.log("activeQuestion on mount",this.activeQuestion),console.log("activeQuestion filtered = ",this.filteredQuestions[this.activeQuestion]),console.log(this.filteredQuestions),this.initEnrollment&&this.restoreEnrollmentAnswers(),this.filteredQuestions[this.activeQuestion]||(this.activeQuestion=0)},created:function(){var t=this;return Je(Ye().mark((function e(){var n,r,i;return Ye().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.checkUserHasValidBloodWorkOrder(),!1!==t.initialStateSelected&&t.changeState(t.initialStateSelected),e.next=4,t.getSubscriptions();case 4:t.$nextTick(t.checkGenders),t.$nextTick(t.checkState),t.initializeCouponCode(),t.checkForFreeOrderParameter(),t.refillItems.length>0&&(t.refillOrder=!0),window.Bus.$on("remove-ultraburn",(function(){t.removeUBDueToAllergy=!0,t.selectedUB={},t.answers.inner_ultra_burn_upsale=null;var e=t.questions.findIndex((function(t){return"ultra_burn"===t.name}));-1!==e&&t.questions.splice(e,1,{name:"ultra_burn",programs:["weight_loss","weight_tain","hrt","hcg"],show:function(){var e=t.questions.find((function(t){return"product"===t.name}));return e.answer&&"{}"!==JSON.stringify(e.answer)},answer:null,validate:function(){return!0}})})),i=t.filteredQuestions.find((function(t){return"height_weight_bmi"===t.name})),null==i||null===(n=i.answers)||void 0===n?void 0:n.height,null==i||null===(r=i.answers)||void 0===r?void 0:r.weight;case 13:case"end":return e.stop()}}),e)})))()},methods:{medicationRowId:l.bI,medicationFieldKey:l.Ko,submitActiveStep:function(t){var e;return"authentication"===t?null===(e=this.$refs.login)||void 0===e?void 0:e.submit():"checkout"!==t||this.loading||this.disablePayButton?void 0:this.checkPayment()},handleQuestionAutoAdvancement:function(){var t,e,n=Object.keys(null!==(t=null===(e=this.selectedProducts)||void 0===e?void 0:e.products)&&void 0!==t?t:{}),r=this.determineQuestionName();n.includes(r)},userHasValidBloodWork:function(t){this.userHasValidBloodWorkOrder=t.hasValidBloodWorkOrder},checkUserHasValidBloodWorkOrder:function(){var t=this;this.user&&axios.get("/json/user/has-valid-blood-work-order").then((function(e){t.userHasValidBloodWorkOrder=e.data.hasValidBloodWorkOrder})).catch((function(t){}))},handleBlockedLocationCheck:function(){var t,e,n,r;null!==(t=this.user)&&void 0!==t&&null!==(e=t.contact)&&void 0!==e&&e.state&&null!==(n=this.additionalEnrollmentData)&&void 0!==n&&null!==(r=n.block_for_location)&&void 0!==r&&r.includes(this.user.contact.state)&&axios.get("/json/get-state-full-name/"+this.user.contact.state).then((function(t){window.Bu
2s.$emit("flash-message",{message:"We are currently not accepting "+t.data+" residents. If you have a second or vacation home in a different state, please enroll at that time. We apologize for inconvenience.",type:"error"})})).catch((function(t){}))},refreshToken:function(){var t=this;axios.post("/refresh-csrf-token").then((function(e){t.csrfToken=e.data.token,window.Laravel.csrfToken=e.data.token})).catch((function(t){}))},updateIndex:function(){if(Array.isArray(this.filteredQuestions)&&0!==this.filteredQuestions.length&&Array.isArray(this.programs))try{var t=this.filteredQuestions.findIndex((function(t){return t&&"inner_waytless_upsale"===t.name}));if(-1!==t&&t<this.filteredQuestions.length){var e=this.filteredQuestions[t],n=this.programs.includes("weight_loss"),r=!this.selectedSubscription||0===Object.keys(this.selectedSubscription).length;null!==(null==e?void 0:e.answers)&&n&&r&&t>=0&&t<this.filteredQuestions.length&&(this.activeQuestion=t)}}catch(t){}},getHeightInMeters:function(){var t,e,n=this.filteredQuestions.find((function(t){return"height_weight_bmi"===t.name})),r=null!==(t=null==n||null===(e=n.answers)||void 0===e?void 0:e.height)&&void 0!==t?t:"Thi",i=r?r.split(/([^\d])/):this.filteredQuestions[this.activeQuestion].answers.height.split(/([^\d])/);return.0254*(12*Number(i[0])+Number(i[4]))},calculateBmiForWaytlessUpsale:function(){var t,e=this.filteredQuestions.find((function(t){return"height_weight_bmi"===t.name})),n=null==e||null===(t=e.answers)||void 0===t?void 0:t.weight,r=this.getHeightInMeters(),i=.453592*n/(r*r);this.showWaytlessUpsale=i>=27},checkAllPhoneCheckboxes:function(){this.filteredQuestions[this.activeQuestion].answers.notification_settings.status.text.primary=!0,this.filteredQuestions[this.activeQuestion].answers.notification_settings.refill.text.primary=!0,this.filteredQuestions[this.activeQuestion].answers.notification_settings.details.text.primary=!0,this.filteredQuestions[this.activeQuestion].hideContinueButton=!1,this.$refs.form.nextQuestion()},determineQuestionName:function(){var t;if(!Array.isArray(this.filteredQuestions)||0===this.filteredQuestions.length||this.activeQuestion<0||this.activeQuestion>=this.filteredQuestions.length)return console.warn("[determineQuestionName] Invalid activeQuestion: ".concat(this.activeQuestion,", filteredQuestions length: ").concat(null===(t=this.filteredQuestions)||void 0===t?void 0:t.length)),null;var e=this.filteredQuestions[this.activeQuestion];return console.log("DetermineQuestion=>",(null==e?void 0:e.name)||null),(null==e?void 0:e.name)||null},uncheckAllPhoneCheckboxes:function(){this.filteredQuestions[this.activeQuestion].answers.notification_settings.status.text.primary=!1,this.filteredQuestions[this.activeQuestion].answers.notification_settings.refill.text.primary=!1,this.filteredQuestions[this.activeQuestion].answers.notification_settings.details.text.primary=!1,this.filteredQuestions[this.activeQuestion].hideContinueButton=!1},checkForFreeOrderParameter:function(){console.log("test order param check",this.urlParameter("test_order")),this.isVIPOrder=this.urlParameter("vip_id")===this.vipID,this.isTestOrder=this.testOrderEnabled&&"1"===this.urlParameter("test_order"),this.disablePayButton=this.isVIPOrder},acknowledge:function(){this.$emit("acknowledgeNotice")},checkStateMatch:function(t){var e,n,r,i;if(t!==(null===(e=this.user)||void 0===e||null===(n=e.contact)||void 0===n?void 0:n.state))return this.initialStateSelected=!1,this.$refs.form.forceRestart(),this.$refs.form.setError("Please restart the product selection process as the state (".concat(t,") you selected  before login/signup is different from your current state (").concat(null===(r=this.user)||void 0===r||null===(i=r.contact)||void 0===i?void 0:i.state,").")),!1},handleGatewayResponse:function(t){this.collectingPayment&&!this.orderSubmissionInFlight&&(this.collectingPayment=!1,this.payment_token=t.token,this.payment_card_info=t.card,this.cardHasBeenAuthorized=t.cardAuthorized,!this.cardHasBeenAuthorized&&JSON.parse("false")||(this.paymentRetryRequired?this.handleRetryPayment():this.submitOrder()))},handleCardAuthFailed:function(t){if(this.collectingPayment=!1,this.cardHasBeenAuthorized=t.cardAuthorized,0==this.cardHasBeenAuthorized||null==this.cardHasBeenAuthorized)return this.loading=!1,this.$bus.$emit("flash-message",{message:"The card you provided is either invalid or has insufficient funds, please try again by adding funds to the card or provide another card with sufficient funds.",type:"error",ignoreTimer:!0})},checkoutErrorId:function(t){return"enrollment-checkout-".concat(this._uid,"-").concat(t,"-error")},focusCheckoutErrors:function(){var t=this;this.$nextTick((function(){var e,n,r,i=null===(e=t.$refs.checkoutForm)||void 0===e?void 0:e.$refs.address;if(null!=i&&null!==(n=i.visibleFieldErrors)&&void 0!==n&&n.length)return i.focusFirstError();null===(r=t.$refs.form)||void 0===r||r.focusFirstError()}))},cancelPendingPayment:function(){var t;this.collectingPayment&&!this.orderSubmissionInFlight&&(this.collectingPayment=!1,this.checkoutPaymentAttempt+=1,null===(t=this.$refs.ccform)||void 0===t||t.cancelCollection(),this.loading=!1)},onCheckoutDraftChange:function(t){this.checkoutDraftValues=t||null},recoverFieldSubmission:function(t,e){var n,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).canNavigate,i=void 0===r?this.canNavigateFieldSubmission(e):r;if(this.storeFieldSubmissionFailure(t,e)){this.loading=!1,this.isCompletingEarlySubmissionProfile=!1,this.isEnrollmentComplete=!1;var o=this.serverValidationResult,a=o.checkoutErrors.length?this.filteredQuestions.find((function(t){return"checkout"===t.name}
2)):null,s=this.filteredQuestions.find((function(t){return t===a||o.questionErrors.some((function(e){return e.question===t}))}));null===(n=this.$refs.form)||void 0===n||n.recoverSubmission({question:i?s:null,focus:i}),i&&s===a&&this.$nextTick(this.focusCheckoutErrors)}},recoverEarlySubmission:function(t,e){if(this.isCurrentFieldSubmission(e)){var n=(0,i.H6)(t),r=this.canNavigateFieldSubmission(e);this.earlySubmissionOrderNumber=n.orderNumber||this.earlySubmissionOrderNumber,this.paymentRetryRequired=Boolean(this.earlySubmissionOrderNumber),"fields"!==n.kind&&r?(this.earlySubmissionSuccess=!1,this.earlySubmissionErrorMessage=n.formMessages.join(" "),this.loading=!1,this.isCompletingEarlySubmissionProfile=!1,this.$refs.form&&(this.$refs.form.isComplete=!0)):(this.earlySubmissionSuccess=null,this.earlySubmissionErrorMessage=null,this.showPaymentForm=!this.isVIPOrder,this.recoverFieldSubmission(t,e,{canNavigate:r}))}},handlePaymentValidationFailed:function(){var t,e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).focus,n=void 0===e||e;this.collectingPayment=!1,this.loading=!1,n&&(null===(t=this.$refs.ccform)||void 0===t||t.focusFirstInvalid())},validateCheckout:function(){var t=!this.$refs.checkoutForm||this.$refs.checkoutForm.validateAllFields();return this.checkoutErrors=a(this),!(!t||this.checkoutErrors.length)||(this.loading=!1,this.focusCheckoutErrors(),!1)},checkPayment:function(){var t=this;if(!(this.loading||this.enrollmentRequestPending||this.orderSubmissionInFlight||this.orderSubmissionRequiresSupport||this.isEnrollmentComplete)){if(this.isVIPOrder)return this.loading=!0,this.submitOrder();if(this.validateCheckout()){var e;if(this.serverValidationResult.kind&&"saved"!==this.selectedPaymentMethod)this.payment_token=null,null===(e=this.$refs.ccform)||void 0===e||e.cancelCollection();if(this.loading=!0,this.payment_token)this.paymentRetryRequired?this.handleRetryPayment():this.submitOrder();else{var n=this.$refs.ccform,r=this.checkoutPaymentAttempt=(this.checkoutPaymentAttempt||0)+1;this.collectingPayment=!0,this.$nextTick((function(){if(r===t.checkoutPaymentAttempt&&t.collectingPayment&&!t._isDestroyed)return n!==t.$refs.ccform?t.cancelPendingPayment():void(null!=n&&n.startCollect()||(t.collectingPayment=!1,t.loading=!1,n?n.focusFirstInvalid():(t.checkoutErrors=[{field:"payment",message:"Please update your payment information and try again"}],t.focusCheckoutErrors())))}))}}}},updateConversion:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null!==t?this.$emit("updateConversion",{activeQuestion:this.activeQuestion,questions:t}):this.$emit("updateConversion",{activeQuestion:this.activeQuestion,questions:this.filteredQuestions})},fillProductQuestions:function(){var t,e,n,r;this.questions.find((function(t){return"product"===t.name})).answer=tn(tn({},null===(t=this.selectedProducts)||void 0===t||null===(e=t.products)||void 0===e?void 0:e.product),{},{product_id:null===(n=this.selectedProducts)||void 0===n||null===(r=n.products)||void 0===r?void 0:r.product.id}),this.questions.find((function(t){return"coupon"===t.name})).answer=this.coupon},changeState:function(t){this.stateQuestion.answer=t[1]},updateActiveQuestion:function(t){this.$nextTick(this.checkGenders),this.$nextTick(this.checkState),console.log("updateActiveQuestion activeQuestion to =>",this.activeQuestion),console.log("updateActiveQuestion activeQuestion to value =>",t),this.activeQuestion=t,this.updateQuestionUrl(),this.updateConversion(),setTimeout((function(){try{window.scrollTo({top:0,behavior:"smooth",block:"start"})}catch(t){window.scroll(0,0),document.body.scrollTop=scrollTop,document.body.scrollLeft=scrollLeft,bugsnagClient.notify(t)}}),500)},setActiveQuestion:function(t){console.log("setActiveQuestion =>",t),t<0?(console.warn("[setActiveQuestion] Attempted to set activeQuestion to ".concat(t,", clamping to 0")),this.activeQuestion=0):this.activeQuestion=t},updateQuestionUrl:function(){this.updateUrlParameters(tn(tn({},this.getUrlParameters()),{},{question:this.filteredQuestions[this.activeQuestion].name}))},previousQuestion:function(){this.cancelPendingPayment(),this.$refs.form.previousQuestion()},completed:function(t){var e=t.complete,n=t.answers,r=tn({},this.answers);
2(an.get(this)||[]).forEach((function(t){delete r[t]})),an.set(this,Object.keys(n)),this.answers=tn(tn({},r),n),console.log("Completed answers",JSON.parse(JSON.stringify(n))),e&&(console.log("[Enrollment] All questions completed - submitting profile questions to backend"),this.isCompletingEarlySubmissionProfile=Boolean(this.earlySubmissionOrderNumber||this.earlySubmissionSuccess),this.submitOrder())},initializeCouponCode:function(){this.questions.find((function(t){return"coupon"===t.name})).answer=this.coupon},submitOrder:function(){var t,e,n,r,o,a,s,l,u,c,d,h,f,p,w,m,v,g,y=this;if(!(this.enrollmentRequestPending||this.orderSubmissionInFlight||this.orderSubmissionRequiresSupport||this.isEnrollmentComplete)){if(this.paymentRetryRequired)return this.handleRetryPayment();this.initializeCouponCode();var b=this.earlySubmissionOrderNumber||this.earlySubmissionSuccess;if(console.log("earlySubmissionOrderNumber",this.earlySubmissionOrderNumber),console.log("earlySubmissionSuccess",this.earlySubmissionSuccess),!this.isVIPOrder&&!b&&(this.coupon&&(this.answers.coupon=this.coupon),!this.payment_token))return this.loading=!1,this.checkoutErrors=[{field:"payment",message:"Please update your credit card/echeck information and try again"}],void this.focusCheckoutErrors();this.loading=!0;var _=this,x=this.answers.address||{},k=tn(tn({},this.answers),{},{order_type:this.program,product:null!==(t=this.selectedProducts)&&void 0!==t&&null!==(e=t.products)&&void 0!==e&&e.product?tn(tn({},this.selectedProducts.products.product),{},{product_id:this.selectedProducts.products.product.product_id}):null,program_type:null===(n=this.selectedProducts)||void 0===n||null===(r=n.products)||void 0===r?void 0:r.program_type,mixing_method:null,ultra_burn:null,inner_ultra_burn_upsale:null,inner_waytless_upsale:null,addons:this.selectedAddons,supplements:null===(o=this.selectedProducts)||void 0===o||null===(a=o.products)||void 0===a?void 0:a.supplements,shipping:this.shippingQuestionAnswer,payment_method:"credit-card",coupon:this.coupon,refill_items:this.refillItems,bloodWorkOption:null===(s=this.selectedProducts)||void 0===s||null===(l=s.products)||void 0===l?void 0:l.blood_work_option,nubody_subscription:null!==(u=null==this||null===(c=this.selectedSubscription)||void 0===c?void 0:c.product)&&void 0!==u?u:null,over18ageConfirmed:this.over18ageConfirmed,blood_pressure:this.answers.bp,pulse:this.answers.bpm,first_name:this.answers.first_name||(null===(d=this.user)||void 0===d?void 0:d.first_name),last_name:this.answers.last_name||(null===(h=this.user)||void 0===h?void 0:h.last_name),email:null===(f=this.user)||void 0===f?void 0:f.email,phone:this.answers.phone,alt_phone:this.answers.alt_phone,state:(null===(p=this.stateQuestion)||void 0===p?void 0:p.answer)||this.answers.state||(null===(w=this.user)||void 0===w||null===(m=w.contact)||void 0===m?void 0:m.state),gender:this.patientGender||this.gender||(null===(v=this.user)||void 0===v||null===(g=v.patient)||void 0===g?void 0:g.gender),address:null==x?void 0:x.address,address_two:null==x?void 0:x.address_two,city:null==x?void 0:x.city,postal:null==x?void 0:x.postal,country:"US",payment_token:b?null:this.payment_token,payment_card_info:b?null:this.payment_card_info,isVIPOrder:this.isVIPOrder,isTestOrder:this.isTestOrder,early_submission_order_number:b?this.earlySubmissionOrderNumber:null}),C=this.beginFieldSubmission(k);return this.orderSubmissionInFlight=!0,axios.post("/enroll",k).then((function(t){var e=t.data;if(y.isCurrentFieldSubmission(C))if("fields"!==(0,i.H6)(e).kind)if(!1!==e.success&&e.order){var n=y.canNavigateFieldSubmission(C);if(y.clearFieldSubmissionErrors(),y.loading=!1,b){var r;y.earlySubmissionOrderNumber=e.order.order_number||y.earlySubmissionOrderNumber,y.isCompletingEarlySubmissionProfile=!1,n?(y.isEnrollmentComplete=!0,y.hideEarlySubmissionScreen=!1,y.$emit("completed",!0)):null===(r=y.$refs.form)||void 0===r||r.recoverSubmission({focus:!1})}else{y.earlySubmissionOrderNumber||y.trackPostHogOrderCompleted(e),y.trackTrackdeskSale(e),y.trackImpactConversion(e),y.trackXConversion(e);if(null!=e.additional_file)y.downloading=!0,y.loading=!0,200,axios({url:"/json/download-documents/"+e.additional_file+"/"+e.order.id,method:"GET",responseType:"blob"}).then((function(t){if(!y._isDestroyed&&!y._isBeingDestroyed){y.$bus.$emit("flash-message",{message:"Downloading document, please wait!.",type:"success"});var e=window.URL.createObjectURL(new Blob([t.data])),n=document.createElement("a");n.href=e,n.setAttribute("download","blood-work-requisition.pdf"),document.body.appendChild(n),n.click(),n.remove(),y.isCurrentFieldSubmission(C)&&y.$emit("completed",!0),y.downloading=!1;_.program.replace(/%20/g,"-").replace(" ","-")}}));else{y.downloading=!1,y.$emit("completed",!0);_.program.replace(/%20/g,"-").replace(" ","-");"function"==typeof window.fbq&&window.fbq("trackCustom","ViewContentCustom",{c
2ontent_name:"Form Submission",event_label:"LeadCompleted"}),y.orionPurchase(e)}y.earlySubmissionOrderNumber=e.order.order_number,b?(y.isEnrollmentComplete=!0,y.isCompletingEarlySubmissionProfile=!1,y.hideEarlySubmissionScreen=!1):(y.earlySubmissionSuccess=!0,y.handleContinueProfile())}}else e.orderCreated||e.upsaleOrderCreated?(y.orderSubmissionRequiresSupport=!0,y.recoverFieldSubmission({message:"There was a problem submitting your order, but don't panic! We have all of the information we need. Do not submit another order. If we have any additional questions, we'll reach out to you. Thank you and sorry for the inconvenience."},C)):y.recoverFieldSubmission({message:e.message||"There was a problem submitting your order, please retry or submit a complaint."},C);else y.recoverFieldSubmission(e,C)})).catch((function(t){if(y.isCurrentFieldSubmission(C)){var e=(0,i.H6)(t);"fields"===e.kind||!e.orderNumber||b?y.recoverFieldSubmission(t,C):y.recoverEarlySubmission(t,C)}})).finally((function(){y.isCurrentFieldSubmission(C)&&(y.orderSubmissionInFlight=!1,y.loading=!1)}))}},checkGenders:function(){var t,e,n,r,i,o,a,s=this.filteredQuestions.findIndex((function(t){return"gender"===t.name}));return console.log("GenderIndex =>",s),console.log("Gender =>",this.gender),console.log("Gender from patient data =>",this.user),console.log("Gender from patient data intialuser =>",this.initialUser),(this.user&&null!==(t=this.user)&&void 0!==t&&t.patient&&("Male"===(null===(e=this.user)||void 0===e?void 0:e.patient.gender)||"female"!==(null===(n=this.gender)||void 0===n?void 0:n.toLowerCase()))||this.patientGender&&"Male"===this.patientGender)&&this.programs.includes("wsp")?this.$refs.form.setError("Sorry, we aren't able to offer women sexual performance products to males at this time. However, we would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can."):(this.user&&null!==(r=this.user)&&void 0!==r&&r.patient&&"Female"===(null===(i=this.user)||void 0===i?void 0:i.patient.gender)||this.patientGender&&"Female"===this.patientGender)&&"432"==(null===(o=this.selectedProducts)||void 0===o||null===(a=o.products)||void 0===a?void 0:a.product.product_id)?this.$refs.form.setError("NuDew Max is only available to biological males at this time. Please try NuDew Regular instead. We would love to know if there's anything we can do to help. Please leave some feedback below and we will get back to you as soon as we can."):void(this.additionalEnrollmentData.patientGender=this.patientGender)},checkState:function(){var t,e,n,r,i,o,a,s=this.questions.find((function(t){return"state"===t.name}));this.user&&null!==(t=this.user)&&void 0!==t&&t.contact&&null!==(e=this.user)&&void 0!==e&&null!==(n=e.contact)&&void 0!==n&&n.state&&!s.answer&&(s.answer=this.states.map((function(t){return t[1]})).includes(null===(r=this.user)||void 0===r||null===(i=r.contact)||void 0===i?void 0:i.state)?null===(o=this.user)||void 0===o||null===(a=o.contact)||void 0===a?void 0:a.state:null)},calculateProductQuantity:function(t){return t.quantity?t.quantity:"quarterly"===t.frequency?3:1},checkForNone:function(t,e,n){if(t.id===n&&this.filteredQuestions[this.activeQuestion].answers[e].includes(n))return this.filteredQuestions[this.activeQuestion].answers[e]=[n];this.filteredQuestions[this.activeQuestion].answers=tn(tn({},this.filteredQuestions[this.activeQuestion].answers),{},en({},e,this.filteredQuestions[this.activeQuestion].answers[e].filter((function(t){return t!==n}))))},checkOtherMedications:function(){this.filteredQuestions[this.activeQuestion].enabled?this.addOtherMedication():(this.filteredQuestions[this.activeQuestion].hideContinueButton=!0,this.showNotificationBanner=!0)},closeNotificationBanner:function(){this.showNotificationBanner=!1,this.filteredQuestions[this.activeQuestion].hideContinueButton=!1,this.filteredQuestions[this.activeQuestion].enabled||(this.filteredQuestions[this.activeQuestion].answer=[]),this.continueToNextQuestion()},addOtherMedication:function(){this.filteredQuestions[this.activeQuestion].answer.push({medication:null,strength:null,date_last_taken:null,dosage:null}),this.$nextTick((function(){d()({mask:"99/99/9999"}).mask(".date-input")}),250)},removeOtherMedication:function(t){this.filteredQuestions[this.activeQuestion].answer.splice(t,1)},recordStepStats:function(){var t={coupon:"Coupon",primary_physician:"Primary Physician",product:"Product Selection","photo-upload":"Photo Upload",address:"Address,",government_id_card_upload:"Government ID Card Upload",payment_method:"Payment Method"},e=this.determineQuestionName();Object.keys(t).includes(e)&&axios.post("/json/enrollment-step-stats",{step:t[e]}).catch((function(t){bugsnagClient.notify(t)}))},recordEnrollmentStart:function(){axios.post("/json/enrollment-conversions",{order_type:this.program}).catch((function(t){bugsnagClient.notify(t)}))},updateShippingQuestion:function(t,e){this.questions.find((function(t){return"shipping"===t.name})).answer=e,this.shippingQuestionAnswer=e,this.showPaymentForm=!this.isVIPOrder,this.disablePayButton=!1,this.shippingQuestionAnswered=!0}
2,updateEnrollmentAddress:function(t){this.answers.address=tn({},t)},updateFLWeightlossTnC:function(){this.questions.find((function(t){return"t_and_c"===t.name})).answer=!this.agreedToFLTnC},activeSubscriptionCheck:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(this.subscriptions&&this.subscriptions.programs&&this.subscriptions.programs.includes(this.program)||t&&t.programs&&t.programs.includes(this.program))&&(this.showActiveSubscriptionNotice=!0)},getSubscriptions:function(){var t=this;axios.get("/json/subscriptions").then((function(e){t.subscriptions=e.data,t.activeSubscriptionCheck(e.data)}))},restart:function(){this.$bus.$emit("restart-enrollment")},gotoAccount:function(){this.$bus.$emit("goto-my-account")},restoreEnrollmentAnswers:function(){var t=this;this.initEnrollment&&this.initEnrollment.questions&&(console.log("Restoring previous enrollment answers:",this.initEnrollment),this.initEnrollment.questions.forEach((function(e){var n=t.questions.find((function(t){return t.name===e.name}));n?(void 0!==e.answer&&(n.answer=e.answer),void 0!==e.answers&&(n.answers=e.answers)):console.log("Question not found for restoration:",e.name)})),this.initEnrollment.activeQuestion>0&&(this.activeQuestion=this.initEnrollment.activeQuestion))},updatePatientVideo:function(){var t=this;try{var e,n;if(null===(e=this.user)||void 0===e||null===(n=e.patient)||void 0===n||!n.introduction_videos)return void(this.filteredQuestions[this.activeQuestion].answer=null);var r=this.user.patient.introduction_videos.find((function(e){return e.description==="Patient video introduction (".concat(t.program,")")}));this.filteredQuestions[this.activeQuestion].answer?this.filteredQuestions[this.activeQuestion].answer=this.filteredQuestions[this.activeQuestion].answer:this.filteredQuestions[this.activeQuestion].answer=(null==r?void 0:r.filename)||null}catch(t){this.filteredQuestions[this.activeQuestion].answer=null}},rock:function(t){var e,n;(this.selectedProducts=t.products,this.selectedSubscription={},this.subtotal=t.products.subtotal,t.subscription)&&(this.selectedSubscription=t.subscription,this.subtotal+=null!==(e=null===(n=this.selectedSubscription)||void 0===n?void 0:n.price)&&void 0!==e?e:0);this.fillProductQuestions(),this.$emit("rock",t),this.earlySubmissionSuccess?(this.showPaymentForm=!1,this.updateEarlySubmissionOrder()):this.$refs.form.nextQuestion()},handleAuthentication:function(t){console.log("User authenticated in EnrollmentForm:",t),this.filteredQuestions[this.activeQuestion].answer={authenticated:!0,user:t.user},this.$emit("authenticated",t)},storePhoneNumber:function(t){this.filteredQuestions[this.activeQuestion].answers.phone=t},storeHeightWeightBmiBpBpm:function(t){this.filteredQuestions[this.activeQuestion].answers.height=t.height,this.filteredQuestions[this.activeQuestion].answers.weight=t.weight,this.filteredQuestions[this.activeQuestion].answers.bmi=t.bmi,this.filteredQuestions[this.activeQuestion].answers.bp=t.bp,this.filteredQuestions[this.activeQuestion].answers.bpm=t.bpm},getNubodyMembershipInfo:function(){var t=this;axios.get("/json/nubody/info").then((function(e){t.nubodyInfo=e.data})).catch((function(t){bugsnagClient.notify(t)}))},resetSelectedProducts:function(){this.selectedProducts={},this.subtotal=0},handleAllergyChange:function(){this.filteredQuestions[this.activeQuestion].answers.allergies=this.filteredQuestions[this.activeQuestion].answers.allergies.filter((function(t){return 11!==t}))},selectNoneAllergies:function(){this.filteredQuestions[this.activeQuestion].answers.allergies=[11],this.$refs.form.nextQuestion()},handleMedicationChange:function(){this.filteredQuestions[this.activeQuestion].answers.medications=this.filteredQuestions[this.activeQuestion].answers.medications.filter((function(t){return 16!==t}))},selectNoneMedications:function(){this.filteredQuestions[this.activeQuestion].answers.medications=[16],this.$refs.form.nextQuestion()},handleConditionChange:function(){this.filteredQuestions[this.activeQuestion].answers.conditions=this.filteredQuestions[this.activeQuestion].answers.conditions.filter((function(t){return 16!==t}))},selectNoneConditions:function(){this.filteredQuestions[this.activeQuestion].answers.conditions=[16],this.$refs.form.nextQuestion()},handleAllergyNoneChange:function(){var t=this;this.filteredQuestions[this.activeQuestion].answers.allergies=[11],this.$nextTick((function(){t.$refs.form.nextQuestion()}))},handleMedicationNoneChange:function(){var t=this;this.filteredQuestions[this.activeQuestion].answers.medications=[16],this.$nextTick((function(){t.$refs.form.nextQuestion()}))},handleConditionNoneChange:function(){var t=this;this.filteredQuestions[this.activeQuestion].answers.conditions=[16],this.$nextTick((function(){t.$refs.form.nextQuestion()}))},onGenderSelected:function(){var t=this;this.checkGenders(),this.$nextTick((function(){t.$refs.form.nextQuestion()}))},onEDOptionSelected:function(){var t=this;this.checkGenders(),this.$nextTick((function(){t.$refs.form.nextQuestion()}))},continueToNextQuestion:function(){this.$refs.form.nextQuestion()},handleYesOrNoQuestionInput:function(t){this.filteredQuestions[this.activeQuestion].answer=t.question.answer},goBackToProductSelection:function(){var t=this.filteredQuestions.findIndex((function(t){return"product"===t.name}));-1!==t&&(this.$refs.form.setActiveQuestion(t),this.$refs.form.previousQuestion())},trackTrackdeskSale:function(t){var e,n,r;if(console.log("attempting to trackdesk"),"function"==typeof window.trackdesk){var i=this.trackdeskTenantId,o=this.trackdeskRevenueOriginId,a=(null==t||null===(e=t.order)||void 0===e?void 0:e.order_number)||(null==t?void 0:t.order_number),s=null!==(n=null==t||null===(r=t.order)||void 0===r?void 0:r.amount)&&void 0!==n?n:null==t?void 0:t.amount,l=(0,Vt.Im)(this.getTrackdeskExternalCid());if(i&&o&&l&&a&&null!=s&&(0,Vt.Sv)(this.user,l))if(this.hasTrackdeskSaleBeenTracked(a))console.log("trackdesk has been tracked");else{var u=Number.parseFloat(s);if(Number.isNaN(u))console.log("trackdesk has been tracked before");else{var c={conversionType:"sale",externalCid:l,revenueOriginId:o,externalId:a.toString(),amount:{value:u.toFixed(2)}};try{window.trackdesk(i,"conversion",c),console.log("trackdesk tracking completed"),this.markTrackdeskSaleTracked(a)}catch(t){console.error("[EnrollmentForm] Trackdesk conversion failed:",t)}}}}else console.log("attempting to trackdesk not found")},orionPurchase:function(t){var e,n,r,i;if(window.fbTracker&&"function"==typeof window.fbTracker.track){var o=(null===(e=t.order)||void 0===e?void 0:e.amount)||(null===(n=this.selectedProducts)||void 0===n?void 0:n.subtotal)||0,a=this.user.email,s=this.user.id,l=this.answers.phone,u=this.answers.first_name||(null===(r=this.user)||void 0===r?void 0:r.first_name),c=this.answers.last_name||(null===(i=this.user)||void 0===i?void 0:i.last_name);window.fbTracker.track("Purchase",{content_type:"product",value:o,currency:"USD"},{em:a,ph:l,fn:u,ln:c,external_id:s})}},getTrackdeskExternalCid:function(){var t,e,n,r,i;return(null===(t=this.user)||void 0===t?void 0:t.email)||(null===(e=this.initialUser)||void 0===e?void 0:e.email)||(null===(n=this.answers)||void 0===n?void 0:n.email)||(null===(r=this.guestData)||void 0===r||null===(i=r.answers
2)||void 0===i?void 0:i.email)||this.emailPrefill||null},hasTrackdeskSaleBeenTracked:function(t){if(!t)return!1;try{var e;return"tracked"===(null===(e=window.sessionStorage)||void 0===e?void 0:e.getItem("trackdesk-sale:".concat(t)))}catch(t){return!1}},markTrackdeskSaleTracked:function(t){if(t)try{var e;null===(e=window.sessionStorage)||void 0===e||e.setItem("trackdesk-sale:".concat(t),"tracked")}catch(t){}},trackXConversion:function(t){return Je(Ye().mark((function e(){var n,r,i,o,a,s,l,u,c,d,h;return Ye().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"==typeof window.twq){e.next=2;break}return e.abrupt("return");case 2:i=[(null==t||null===(n=t.order)||void 0===n?void 0:n.order_number)||(null==t?void 0:t.order_number),null==t||null===(r=t.upsale_order)||void 0===r?void 0:r.order_number].filter(Boolean),o=Ke(i),e.prev=4,o.s();case 6:if((a=o.n()).done){e.next=31;break}if(s=a.value,l="x-conversion:".concat(s),e.prev=9,null===(u=window.sessionStorage)||void 0===u||!u.getItem(l)){e.next=12;break}return e.abrupt("continue",29);case 12:e.next=16;break;case 14:e.prev=14,e.t0=e.catch(9);case 16:return e.prev=16,e.next=19,axios.get("/json/x/conversion/".concat(s));case 19:if(null!=(d=e.sent)&&null!==(c=d.data)&&void 0!==c&&c.tracked&&d.data.payload){e.next=22;break}return e.abrupt("continue",29);case 22:window.twq("event",d.data.event_id,d.data.payload);try{null===(h=window.sessionStorage)||void 0===h||h.setItem(l,"1")}catch(t){}e.next=29;break;case 26:e.prev=26,e.t1=e.catch(16),console.error("[EnrollmentForm] X conversion failed:",e.t1);case 29:e.next=6;break;case 31:e.next=36;break;case 33:e.prev=33,e.t2=e.catch(4),o.e(e.t2);case 36:return e.prev=36,o.f(),e.finish(36);case 39:case"end":return e.stop()}}),e,null,[[4,33,36,39],[9,14],[16,26]])})))()},trackImpactConversion:function(t){return Je(Ye().mark((function e(){var n,r,i,o,a,s,l,u,c,d,h;return Ye().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"==typeof window.ire){e.next=2;break}return e.abrupt("return");case 2:i=[(null==t||null===(n=t.order)||void 0===n?void 0:n.order_number)||(null==t?void 0:t.order_number),null==t||null===(r=t.upsale_order)||void 0===r?void 0:r.order_number].filter(Boolean),o=Ke(i),e.prev=4,o.s();case 6:if((a=o.n()).done){e.next=32;break}if(s=a.value,l="impact-conversion:".concat(s),e.prev=9,null===(u=window.sessionStorage)||void 0===u||!u.getItem(l)){e.next=12;break}return e.abrupt("continue",30);case 12:e.next=16;break;case 14:e.prev=14,e.t0=e.catch(9);case 16:return e.prev=16,e.next=19,axios.get("/json/impact/conversion/".concat(s));case 19:if(null!=(d=e.sent)&&null!==(c=d.data)&&void 0!==c&&c.tracked&&d.data.payload){e.next=22;break}return e.abrupt("continue",30);case 22:d.data.identity&&window.ire("identify",d.data.identity),window.ire("trackConversion",d.data.event_id,d.data.payload,{verifySiteDefinitionMatch:!0});try{null===(h=window.sessionStorage)||void 0===h||h.setItem(l,"1")}catch(t){}e.next=30;break;case 27:e.prev=27,e.t1=e.catch(16),console.error("[EnrollmentForm] impact.com conversion failed:",e.t1);case 30:e.next=6;break;case 32:e.next=37;break;case 34:e.prev=34,e.t2=e.catch(4),o.e(e.t2);case 37:return e.prev=37,o.f(),e.finish(37);case 40:case"end":return e.stop()}}),e,null,[[4,34,37,40],[9,14],[16,27]])})))()},trackPostHogOrderCompleted:function(t){var e=this;if(void 0!==this.$posthog)try{var n,r,i,o,a,s=(null===(n=t.order)||void 0===n?void 0:n.amount)||(null===(r=this.selectedProducts)||void 0===r?void 0:r.subtotal)||0,l=[];if(this.products&&this.products.length>0&&this.products.forEach((function(t){if(t&&t.id){var n,r=e.isNubodySubscription?t.member_price||t.price||0:t.price||0;l.push({id:(null===(n=t.id)||void 0===n?void 0:n.toString())||"product",quantity:t.quantity||1,item_price:parseFloat(r),title:t.display_name||t.name||"Product",category:e.program||"medical"})}})),null!==(i=this.selectedSubscription)&&void 0!==i&&i.product)l.push({id:(null===(a=this.selectedSubscription.product.id)||void 0===a?void 0:a.toString())||"membership",quantity:1,item_price:parseFloat(this.selectedSubscription.price||0),title:this.selectedSubscription.name||"NuBody Membership",category:"membership"});var u={transaction_id:(null===(o=t.order)||void 0===o?void 0:o.order_number)||"unknown",currency:"USD",revenue:parseFloat(s),product_count:l.length,products:l.map((function(t){return{id:t.id,name:t.title,price:t.item_price,quantity:t.quantity,category:t.category}}))};this.coupon&&this.coupon.amount&&(u.coupon_code=this.coupon.code||"N/A",u.coupon_discount=this.coupon.amount),this.$posthog.capture("order_completed",u)}catch(t){console.error("[EnrollmentForm] PostHog order_completed failed:",t)}},setupEarlySubmissionProducts:function(){this.selectedProducts&&Object.keys(this.selectedProducts).length>0||(this.initProducts&&this.initProducts.selectedProducts?(this.selectedProducts=this.initProducts.selectedProducts,this.subtotal=this.initProducts.selectedProducts.subtotal||0,this.fillProductQuestions()):this.selectedProducts={products:{product:{id:null,program:this.program,display_name:"".concat(this.program," Program")},program_type:null,mixing_method:null,ultra_burn:{},addons:[],supplements:[]},subtotal:0})},handlePaymentSubmission:function(){this.showPaymentForm=!1},processEarlySubmission:function(){var t=this;return Je(Ye().mark((function e(){return Ye().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.showPaymentForm=!1,e.next=3,t.handleEarlySubmission();case 3:case"end":return e.stop()}}),e)})))()},handleEarlySubmission:function(){var t=this;return Je(Ye().mark((function e(){var n,r,o,a,s,l,u,c,d,h,f,p,w,m,v;return Ye().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.enrollmentRequestPending&&!t.earlySubmissionInFlight&&!0!==t.earlySubmissionSuccess){e.next=2;break}return e.abrupt("return");case 2:return t.earlySubmissionInFlight=!0,t.loading=!0,e.prev=4,t.setupEarlySubmissionProducts(),m=tn(tn({}
2,t.answers),{},{order_type:t.program,payment_method:"credit-card",payment_token:t.payment_token,payment_card_info:t.payment_card_info,shipping:t.shippingQuestionAnswer||{},isVIPOrder:t.isVIPOrder,isTestOrder:t.isTestOrder,product:(null===(r=t.selectedProducts)||void 0===r||null===(o=r.products)||void 0===o?void 0:o.product)||null,program_type:(null===(a=t.selectedProducts)||void 0===a||null===(s=a.products)||void 0===s?void 0:s.program_type)||null,mixing_method:(null===(l=t.selectedProducts)||void 0===l||null===(u=l.products)||void 0===u?void 0:u.mixing_method)||null,ultra_burn:(null===(c=t.selectedProducts)||void 0===c||null===(d=c.products)||void 0===d?void 0:d.ultra_burn)||{},addons:(null===(h=t.selectedProducts)||void 0===h||null===(f=h.products)||void 0===f?void 0:f.addons)||[],supplements:(null===(p=t.selectedProducts)||void 0===p||null===(w=p.products)||void 0===w?void 0:w.supplements)||[]}),n=t.beginFieldSubmission(m),e.next=10,axios.post("/enroll/early-submission",m);case 10:if(v=e.sent,t.isCurrentFieldSubmission(n)){e.next=13;break}return e.abrupt("return");case 13:if("fields"!==(0,i.H6)(v).kind){e.next=16;break}return t.recoverEarlySubmission(v,n),e.abrupt("return");case 16:v.data.success?(t.earlySubmissionSuccess=!0,t.paymentRetryRequired=!1,t.earlySubmissionOrderNumber=v.data.order_number,t.earlySubmissionErrorMessage=null,t.trackTrackdeskSale(v.data),t.handleContinueProfile()):t.recoverEarlySubmission(v,n),e.next=23;break;case 19:e.prev=19,e.t0=e.catch(4),n||(n=t.beginFieldSubmission({})),t.recoverEarlySubmission(e.t0,n);case 23:return e.prev=23,t.isCurrentFieldSubmission(n)&&(t.earlySubmissionInFlight=!1,t.loading=!1),e.finish(23);case 26:case"end":return e.stop()}}),e,null,[[4,19,23,26]])})))()},handleContinueProfile:function(){var t;null===(t=this.$refs.form)||void 0===t||t.recoverSubmission({focus:!1}),this.hideEarlySubmissionScreen=!0;var e=this.filteredQuestions.findIndex((function(t){return"gender"===t.name}));console.log("GenderIndex =>",e),-1!==e&&(this.activeQuestion=e)},handleRetryPayment:function(){var t=this;return Je(Ye().mark((function e(){var n,r,o,a;return Ye().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.earlySubmissionOrderNumber&&!t.enrollmentRequestPending&&!t.paymentRetryInFlight&&!0!==t.earlySubmissionSuccess){e.next=2;break}return e.abrupt("return");case 2:return t.paymentRetryInFlight=!0,t.loading=!0,e.prev=4,r={order_number:t.earlySubmissionOrderNumber,payment_token:t.payment_token,payment_card_info:t.payment_card_info,payment_method:"credit-card"},n=t.beginFieldSubmission(r),e.next=9,axios.post("/enroll/retry-payment",r);case 9:if(o=e.sent,t.isCurrentFieldSubmission(n)){e.next=12;break}return e.abrupt("return");case 12:if("fields"!==(0,i.H6)(o).kind){e.next=15;break}return t.recoverEarlySubmission(o,n),e.abrupt("return");case 15:o.data.success?(t.earlySubmissionSuccess=!0,t.paymentRetryRequired=!1,t.earlySubmissionOrderNumber=o.data.order_number||t.earlySubmissionOrderNumber,t.earlySubmissionErrorMessage=null,t.trackTrackdeskSale(o.data),setTimeout((function(){t.isCurrentFieldSubmission(n)&&t.handleContinueProfile()}),2e3)):t.recoverEarlySubmission(o,n),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(4),n||(n=t.beginFieldSubmission({})),t.recoverEarlySubmission(e.t0,n);case 22:return e.prev=22,t.isCurrentFieldSubmission(n)&&(t.paymentRetryInFlight=!1,t.loading=!1,null===(a=t.$refs.earlySubmissionConfirmation)||void 0===a||a.setProcessing(!1)),e.finish(22);case 25:case"end":return e.stop()}}),e,null,[[4,18,22,25]])})))()},updateEarlySubmissionOrder:function(){var t=this;return Je(Ye().mark((function e(){var n,r,o,a,s,l,u,c,d,h,f,p,w,m,v,g;return Ye().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.earlySubmissionOrderNumber&&!t.enrollmentRequestPending&&!t.earlyOrderUpdateInFlight){e.next=2;break}return e.abrupt("return");case 2:return t.earlyOrderUpdateInFlight=!0,e.prev=3,t.loading=!0,m=tn(tn({early_submission_order_number:t.earlySubmissionOrderNumber,product:(null===(r=t.selectedProducts)||void 0===r||null===(o=r.products)||void 0===o?void 0:o.product)||null,program_type:(null===(a=t.selectedProducts)||void 0===a||null===(s=a.products)||void 0===s?void 0:s.program_type)||null,mixing_method:(null===(l=t.selectedProducts)||void 0===l||null===(u=l.products)||void 0===u?void 0:u.mixing_method)||null,ultra_burn:(null===(c=t.selectedProducts)||void 0===c||null===(d=c.products)||void 0===d?void 0:d.ultra_burn)||{},addons:(null===(h=t.selectedProducts)||void 0===h||null===(f=h.products)||void 0===f?void 0:f.addons)||[],supplements:(null===(p=t.selectedProducts)||void 0===p||null===(w=p.products)||void 0===w?void 0:w.supplements)||[]}
2,t.answers),{},{shipping:t.shippingQuestionAnswer||{}}),n=t.beginFieldSubmission(m),e.next=9,axios.post("/enroll",m);case 9:if(v=e.sent,t.isCurrentFieldSubmission(n)){e.next=12;break}return e.abrupt("return");case 12:if("fields"!==(0,i.H6)(v).kind){e.next=15;break}return t.recoverFieldSubmission(v,n),e.abrupt("return");case 15:v.data&&v.data.order?(t.loading=!1,t.canNavigateFieldSubmission(n)&&(null===(g=t.$refs.form)||void 0===g||g.nextQuestion())):t.recoverFieldSubmission(v,n),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(3),n||(n=t.beginFieldSubmission({})),t.recoverFieldSubmission(e.t0,n);case 22:return e.prev=22,t.isCurrentFieldSubmission(n)&&(t.earlyOrderUpdateInFlight=!1,t.loading=!1),e.finish(22);case 25:case"end":return e.stop()}}),e,null,[[3,18,22,25]])})))()},handleGoBack:function(){var t;this.earlySubmissionSuccess=null,this.earlySubmissionErrorMessage=null,this.showPaymentForm=!this.isVIPOrder,this.payment_token=null;var e=this.filteredQuestions.find((function(t){return"checkout"===t.name}));null===(t=this.$refs.form)||void 0===t||t.recoverSubmission({question:e,focu
2s:!1})},handleCloseCompletionModal:function(){this.isEnrollmentComplete=!1}},beforeDestroy:function(){this.cancelPendingPayment(),window.Bus&&window.Bus.$off&&window.Bus.$off("remove-ultraburn"),this.$refs.date&&this.$refs.date.inputmask&&this.$refs.date.inputmask.remove(),this.$refs.bloodPressure&&this.$refs.bloodPressure.inputmask&&this.$refs.bloodPressure.inputmask.remove(),this.$refs.phone&&this.$refs.phone.inputmask&&this.$refs.phone.inputmask.remove(),this.$refs.alt_phone&&this.$refs.alt_phone.inputmask&&this.$refs.alt_phone.inputmask.remove()}};var ln=n(21089),un={insert:"head",singleton:!1};y()(ln.Z,un);ln.Z.locals;const cn=(0,f.Z)(sn,(function(){var t=this,e=t._self._c;return e("MultiStepForm",{ref:"form",attrs:{"inline-validation":"","server-question-errors":t.serverQuestionErrors,"server-form-errors":t.serverFormErrors,questions:t.questions,"filtered-questions":t.filteredQuestions,"active-question":t.activeQuestion,programs:t.programs,"selected-products":t.selectedProducts,user:t.user,states:t.states,"banned-addresses":t.bannedAddresses,"init-enrollment":t.initEnrollment,"refill-order":t.refillOrder,"additional-enrollment-data":t.additionalEnrollmentData,"over18-age-confirmed":t.over18ageConfirmed},on:{submitStep:t.submitActiveStep,updateActiveQuestion:t.updateActiveQuestion,setActiveQuestion:t.setActiveQuestion,completed:t.completed,acknowledgeNotice:t.acknowledge},scopedSlots:t._u([{key:"questions",fn:function(n){var r,i,o,a,s,l,u,c,d,h,f,p,w,m,v,g,y,b,_,x,k,C,S,P,A,O,T,E,I,N,M,R,D,j,B,L,F,q,Q,U,V,H,G,z,W,$,K,Y,Z,J,X,tt,et,nt,rt,it,ot,at,st,lt,ut,ct,dt,ht,ft,pt,wt,mt,vt,gt,yt=n.nextQuestion,bt=n.notice,_t=n.acknowledgeNotice,xt=n.validation;return[null!==t.program&&void 0!==t.subscriptions.programs?e("div",[e("ExistingSubscriptionNotice",{attrs:{subscriptions:t.subscriptions,"show-active-subscription-notice":t.showActiveSubscriptionNotice,"selected-program":t.program}})],1):t._e(),t._v(" "),t.refillItems.length>0&&"FL"===t.stateQuestion.answer&&"weight_loss"===t.program?e("div",{staticClass:"tw-max-w-2xl tw-mx-auto tw-px-4"},[e("div",{staticClass:"tw-bg-accent-green tw-p-4"},[e("div",{staticClass:"tw-flex tw-items-center"},[e("div",{staticClass:"tw-shrink-0"},[e("svg",{staticClass:"tw-h-5 tw-w-5 tw-text-gray-800",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"}})])]),t._v(" "),e("div",{staticClass:"tw-ml-3 tw-flex-1 md:tw-flex md:tw-justify-between"},[e("p",{staticClass:"tw-text-sm tw-text-gray-800 tw-m-0 tw-p-0"},[t._v("\n              Florida Resident 28 Day Weight Loss Follow Up Requirement:\n            ")])])])])]):t._e(),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.showNotificationBanner?e("div",[e("NotificationBanner",{attrs:{"show-notification-banner":t.showNotificationBanner,"show-cancel-button":!1,header:"Importance notice",message:"By choosing the option 'No' you confirm that you are presently not using any prescribed medications."},on:{"continue-enrollment":t.closeNotificationBanner}})],1):"state"===t.filteredQuestions[t.activeQuestion].name?e("div",{key:"state",staticClass:"tw-text-black"},[e("div",{},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-20 tw-leading-none"},[t._v("\n            Select your state to get the most accurate and "),e("br"),t._v("\n            personalized enrollment experience.\n          ")]),t._v(" "),null!==(r=t.user)&&void 0!==r&&r.contact&&null!==(i=t.user)&&void 0!==i&&null!==(o=i.contact)&&void 0!==o&&o.state?e("div",{staticClass:"tw-mb-5"},[e("span",{domProps:{textContent:t._s(null===(a=t.user)||void 0===a||null===(s=a.contact)||void 0===s?void 0:s.state)}}),t._v(" is currently selected. Change your state if it has changed.\n          ")]):t._e()]),t._v(" "),e("div",{},[e("div",{},[e("InlineValidationField",{attrs:{id:xt.id,errors:xt.errors}},[e("CustomSelect",{staticClass:"tw-w-full",attrs:{options:t.states,"default-index":t.stateIndex,placeholder:"Select your state name"},on:{resulted:t.changeState}})],1)],1),t._v(" "),e("div",[e("label",{staticClass:"tw-flex tw-items-center tw-gap-2 tw-mt-10 tw-text-sm tw-font-semibold"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.over18ageConfirmed,expression:"over18ageConfirmed"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-brand-brown tw-rounded-full focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{type:"radio",value:"yes"},domProps:{checked:t._q(t.over18ageConfirmed,"yes")},on:{change:function(e){t.over18ageConfirmed="yes"}}}),t._v("\n              I confirm I am 18+\n            ")])])])]):"gender"===(null===(l=t.filteredQuestions[t.activeQuestion])||void 0===l?void 0:l.name)?e("div",{key:"gender",staticClass:"question-step"},[e("div",{staticClass:"tw-mt-10"},[e("div",{},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-5"},[t._v("\n              What is your biological sex?\n            ")])]),t._v(" "),e("div",{},[e("div",{staticClass:"tw-space-y-3"},[e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"multistep_sex_male"}},[e("span",{staticClass:"tw-font-medium tw-text-base sm:tw-text-lg"},[t._v("\n                  Male\n                ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"multistep_sex_male",value:"Male",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Male")}
2,on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Male")},t.onGenderSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"multistep_sex_female"}},[e("span",{staticClass:"tw-font-medium tw-text-base sm:tw-text-lg"},[t._v("\n                  Female\n                ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"multistep_sex_female",value:"Female",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Female")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Female")},t.onGenderSelected]}})])])])])]):"dob"===(null===(u=t.filteredQuestions[t.activeQuestion])||void 0===u?void 0:u.name)?e("div",{key:"dob"},[e("div",[e("div",{},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-16"},[t._v("\n              What is your date of birth?\n            ")])]),t._v(" "),e("div",{},[e("div",{},[e("InlineValidationField",{attrs:{id:xt.id,errors:xt.errors}},[e("label",{attrs:{for:"answer"}},[e("span",{staticClass:"tw-sr-only"},[t._v("Date of birth")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],ref:"date",staticClass:"tw-input tw-rounded-full tw-py-2.5 tw-text-black",attrs:{id:"answer",name:"answer",placeholder:"MM/DD/YYYY",autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion],"answer",e.target.value)}}})])])],1)])])]):"phone"===(null===(c=t.filteredQuestions[t.activeQuestion])||void 0===c?void 0:c.name)?e("div",{key:"phone",staticClass:"question-step"},[e("div",{staticClass:"question-step__header"},[e("div",{staticClass:"question-step__title"},[t._v("\n            What is your phone number?\n          ")])]),t._v(" "),e("div",{staticClass:"question-step__content"},[e("PhoneNumber",{attrs:{"init-value":t.filteredQuestions[t.activeQuestion].answers.phone},on:{input:t.storePhoneNumber}})],1)]):"notifications"===(null===(d=t.filteredQuestions[t.activeQuestion])||void 0===d?void 0:d.name)?e("div",{key:"notifications",staticClass:"question-step"},[e("div",{staticClass:"question-step__header"},[e("div",{staticClass:"question-step__title"},[e("div",{staticClass:"tw-flex tw-flex-col tw-gap-2 tw-text-center lg:tw-text-left"},[e("small",{staticClass:"tw-text-gray-400 tw-font-thin tw-text-lg"},[t._v("A Modern Treatment Solution")]),t._v(" "),e("div",{staticClass:"tw-text-brand-green tw-font-normal tw-mt-2 tw-text-4xl"},[t._v("\n                Opt-in for SMS notifications\n              ")]),t._v(" "),e("div",{staticClass:"tw-text-white tw-font-normal tw-text-xl -tw-mt-1"},[t._v("\n                Get text messages with important updates from Nu Image Medical®\n              ")])])])]),t._v(" "),e("div",{staticClass:"question-step__content",staticStyle:{width:"100%","@media (max-width":"1024px) { width: auto"}},[e("div",{},[e("TextMeUpdatesConfirmation",{on:{textMe:t.checkAllPhoneCheckboxes,dontTextMe:t.uncheckAllPhoneCheckboxes}})],1)])]):"height_weight_bmi"===(null===(h=t.filteredQuestions[t.activeQuestion])||void 0===h?void 0:h.name)?e("div",{key:"height_weight_bmi"},[e("div",[e("div",{},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-16"},[t._v("\n              Fill the following information to calculate your BMI.\n            ")])]),t._v(" "),e("div",{},[e("div",{},[e("HeightWeightBmi",{key:xt.questionKey,attrs:{validation:xt,"init-values":t.filteredQuestions[t.activeQuestion].answers},on:{input:t.storeHeightWeightBmiBpBpm}})],1)])])]):"allergies"===(null===(f=t.filteredQuestions[t.activeQuestion])||void 0===f?void 0:f.name)?e("div",{key:"allergies",staticClass:"question-step"},[e("div",{staticClass:"tw-my-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-5"},[e("div",[t._v('\n              Select the items you are allergic to or "None" if not applicable.\n            ')])])]),t._v(" "),e("div",{},[e("div",{},[e("InlineValidationField",{staticClass:"tw-space-y-1.5",attrs:{id:"".concat(xt.id,"-allergies"),errors:xt.errors,field:"allergies"}},t._l(t.allergies.filter((function(t){return 11!==t.id})),(function(n){return e("label",{key:n.id,staticClass:"tw-flex tw-items-center tw-gap-2 tw-cursor-pointer"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answers.allergies,expression:"filteredQuestions[activeQuestion].answers.allergies"}],staticClass:"tw-w-5 tw-h-5 tw-text-brand-brown tw-border tw-border-gray-500 tw-rounded focus:tw-ring- focus:tw-ring tw-mt-0.5",attrs:{id:"allergy-".concat(n.id),type:"checkbox"},domProps:{value:n.id,checked:Array.isArray(t.filteredQuestions[t.activeQuestion].answers.allergies)?t._i(t.filteredQuestions[t.activeQuestion].answers.allergies,n.id)>-1:t.filteredQuestions[t.activeQuestion].answers.allergies},on:{change:[function(e){var r=t.filteredQuestions[t.activeQuestion].answers.allergies,i=e.target,o=!!i.checked;if(Array.isArray(r)){var a=n.id,s=t._i(r,a);i.checked?s<0&&t.$set(t.filteredQuestions[t.activeQuestion].answers,"allergies",r.concat([a])):s>-1&&t.$set(t.filteredQuestions[t.activeQuestion].answers,"allergies",r.slice(0,s).concat(r.slice(s+1)))}else t.$set(t.filteredQuestions[t.activeQuestion].answers,"allergies",o)},t.handleAllergyChange]}}),t._v(" "),e("span",{staticClass:"tw-font-medium tw-text-lg tw-text-black"},[t._v(t._s(n.name))])])})),0),t._v(" "),e("InlineValidationField",{staticClass:"tw-w-full tw-mb-6",attrs:{id:"".concat(xt.id,"-other_allergies"),errors:xt.errors,field:"other_allergies"}},[e("label",{staticClass:"tw-mt-5 tw-font-medium tw-text-lg tw-text-black",attrs:{for:"other_allergies"}},[t._v("\n                Other Allergies\n              ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answers.other_allergies,expression:"filteredQuestions[activeQuestion].answers.other_allergies"}],staticClass:"tw-w-full tw-rounded-full tw-font-medium tw-border !tw-py-2.5 tw-px-4 tw-border tw-border-black",attrs:{id:"other_allergies",placeholder:"Other allergies"},domProps:{value:t.filteredQuestions[t.activeQuestion].answers.other_allergies},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion].answers,"other_allergies",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"tw-w-full"},[e("button",{staticClass:"tw-bg-[#F7F0E4] tw-w-full tw-py-2.5 tw-rounded-full tw-text-black tw-font-semibold tw-text-center",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.handleAllergyNoneChange.apply(null,arguments)}}},[t._v("None ")])])],1)])]):"medications"===(null===(p=t.filteredQuestions[t.activeQuestion])||void 0===p?void 0:p.name)?e("div",{key:"medications",staticClass:"question-step"},[e("div",{staticClass:"tw-my-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-5"},[e("div",[t._v('\n              Do you use any of the following over-the-counter medications? Select "None" if not applicable.\n            ')])])]),t._v(" "),e("div",{},[e("div",{},[e("InlineValidationField",{staticClass:"tw-space-y-1.5",attrs:{id:"".concat(xt.id,"-medications"),errors:xt.errors,field:"medications"}},t._l(t.medications.filter((function(t){return 16!==t.id})),(function(n){return e("label",{key:n.id,staticClass:"tw-flex tw-items-center tw-gap-2 tw-cursor-pointer"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answers.medications,expression:"filteredQuestions[activeQuestion].answers.medications"}],staticClass:"tw-w-5 tw-h-5 tw-text-brand-brown tw-border tw-border-gray-500 tw-rounded focus:tw-ring- focus:tw-ring tw-mt-0.5",attrs:{id:"medication-".concat(n.id),type:"checkbox"},domProps:{value:n.id,checked:Array.isArray(t.filteredQuestions[t.activeQuestion].answers.medications)?t._i(t.filteredQuestions[t.activeQuestion].answers.medications,n.id)>-1:t.filteredQuestions[t.activeQuestion].answers.medications},on:{change:[function(e){var r=t.filteredQuestions[t.activeQuestion].answers.medications,i=e.target,o=!!i.checked;if(Array.isArray(r)){var a=n.id,s=t._i(r,a);i.checked?s<0&&t.$set(t.filteredQuestions[t.activeQuestion].answers,"medications",r.concat([a])):s>-1&&t.$set(t.filteredQuestions[t.activeQuestion].answers,"medications",r.slice(0,s).concat(r.slice(s+1)))}else t.$set(t.filteredQuestions[t.activeQuestion].answers,"medications",o)},t.handleMedicationChange]}}),t._v(" "),e("span",{staticClass:"tw-font-medium tw-text-lg tw-text-black"},[t._v(t._s(n.name))])])})),0),t._v(" "),e("InlineValidationField",{staticClass:"tw-w-full tw-mb-6",attrs:{id:"".concat(xt.id,"-other_medications"),errors:xt.errors,field:"other_medications"}},[e("label",{staticClass:"tw-mt-5 tw-font-medium tw-text-lg tw-text-black",attrs:{for:"other_medications"}},[t._v("\n                Other over-the-counter medications\n              ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answers.other_medications,expression:"filteredQuestions[activeQuestion].answers.other_medications"}],staticClass:"tw-w-full tw-rounded-full tw-font-medium tw-border !tw-py-2.5 tw-px-4 tw-border tw-border-black",attrs:{id:"other_medications",placeholder:"Other medications"},domProps:{value:t.filteredQuestions[t.activeQuestion].answers.other_medications},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion].answers,"other_medications",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"tw-w-full"},[e("button",{staticClass:"tw-bg-[#F7F0E4] tw-w-full tw-py-2.5 tw-rounded-full tw-text-black tw-font-semibold tw-text-center",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.handleMedicationNoneChange.apply(null,arguments)}}},[t._v("None ")])])],1)])]):"conditions"===(null===(w=t.filteredQuestions[t.activeQuestion])||void 0===w?void 0:w.name)?e("div",{key:"c
2onditions",staticClass:"question-step"},[e("div",{staticClass:"tw-my-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-5"},[e("div",[t._v('\n              Do you have any of the following past/present medical conditions? Select "None" if not applicable.\n            ')])])]),t._v(" "),e("div",{},[e("div",{},[e("InlineValidationField",{staticClass:"tw-space-y-1.5",attrs:{id:"".concat(xt.id,"-conditions"),errors:xt.errors,field:"conditions"}},t._l(t.conditions.filter((function(t){return 16!==t.id})),(function(n){return e("label",{key:n.id,staticClass:"tw-flex tw-items-center tw-gap-2 tw-cursor-pointer"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answers.conditions,expression:"filteredQuestions[activeQuestion].answers.conditions"}],staticClass:"tw-w-5 tw-h-5 tw-text-brand-brown tw-border tw-border-gray-500 tw-rounded focus:tw-ring- focus:tw-ring tw-mt-0.5",attrs:{id:"condition-".concat(n.id),type:"checkbox"},domProps:{value:n.id,checked:Array.isArray(t.filteredQuestions[t.activeQuestion].answers.conditions)?t._i(t.filteredQuestions[t.activeQuestion].answers.conditions,n.id)>-1:t.filteredQuestions[t.activeQuestion].answers.conditions},on:{change:[function(e){var r=t.filteredQuestions[t.activeQuestion].answers.conditions,i=e.target,o=!!i.checked;if(Array.isArray(r)){var a=n.id,s=t._i(r,a);i.checked?s<0&&t.$set(t.filteredQuestions[t.activeQuestion].answers,"conditions",r.concat([a])):s>-1&&t.$set(t.filteredQuestions[t.activeQuestion].answers,"conditions",r.slice(0,s).concat(r.slice(s+1)))}else t.$set(t.filteredQuestions[t.activeQuestion].answers,"conditions",o)},t.handleConditionChange]}}),t._v(" "),e("span",{staticClass:"tw-font-medium tw-text-lg tw-text-black"},[t._v(t._s(n.name))])])})),0),t._v(" "),e("InlineValidationField",{staticClass:"tw-w-full tw-mb-6",attrs:{id:"".concat(xt.id,"-other_conditions"),errors:xt.errors,field:"other_conditions"}},[e("label",{staticClass:"tw-mt-5 tw-font-medium tw-text-lg tw-text-black",attrs:{for:"other_conditions"}},[t._v("\n                Other conditions\n              ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answers.other_conditions,expression:"filteredQuestions[activeQuestion].answers.other_conditions"}],staticClass:"tw-w-full tw-rounded-full tw-font-medium tw-border !tw-py-2.5 tw-px-4 tw-border tw-border-black",attrs:{id:"other_conditions",placeholder:"Other conditions"},domProps:{value:t.filteredQuestions[t.activeQuestion].answers.other_conditions},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion].answers,"other_conditions",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"tw-w-full"},[e("button",{staticClass:"tw-bg-[#F7F0E4] tw-w-full tw-py-2.5 tw-rounded-full tw-text-black tw-font-semibold tw-text-center",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.handleConditionNoneChange.apply(null,arguments)}}},[t._v("None ")])])],1)])]):"current_medications"===(null===(m=t.filteredQuestions[t.activeQuestion])||void 0===m?void 0:m.name)?e("div",{key:"current_medications",staticClass:"question-step"},[e("div",{staticClass:"tw-mt-10 tw-w-full"},[e("div",{staticClass:"tw-font-medium tw-text-2xl tw-text-black tw-p-2 tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none tw-inline-block"},[t._v("\n            Are you currently taking any other medications, supplements, or vitamins?\n          ")]),t._v(" "),e("InlineValidationField",{staticClass:"tw-mt-3",attrs:{id:"".concat(xt.id,"-answer"),errors:xt.errors,field:"answer"}},[e("div",{staticClass:"tw-flex tw-items-center"},[e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-flex tw-items-center tw-px-2 tw-transition-all tw-duration-200"},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].enabled,expression:"filteredQuestions[activeQuestion].enabled"}],staticClass:"tw-w-5 tw-h-5 tw-ml-2 tw-text-orange-500 tw-border tw-border-gray-500 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{type:"radio"},domProps:{value:!0,checked:t._q(t.filteredQuestions[t.activeQuestion].enabled,!0)}
2,on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"enabled",!0)},t.checkOtherMedications]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-flex tw-items-center tw-px-2 tw-transition-all tw-duration-200"},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("No")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].enabled,expression:"filteredQuestions[activeQuestion].enabled"}],staticClass:"tw-w-5 tw-h-5 tw-ml-2 tw-text-orange-500 tw-border tw-border-gray-500 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{type:"radio"},domProps:{value:!1,checked:t._q(t.filteredQuestions[t.activeQuestion].enabled,!1)},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"enabled",!1)},t.checkOtherMedications]}})])])]),t._v(" "),e("Transition",{attrs:{name:"fade",appear:""}},[t.filteredQuestions[t.activeQuestion].enabled?e("div",{staticClass:"tw-space-y-6 tw-mt-10"},[t._l(t.filteredQuestions[t.activeQuestion].answer,(function(n,r){return e("div",{key:t.medicationRowId(n),staticClass:"tw-space-y-4"},[e("div",{staticClass:"tw-flex tw-items-end tw-justify-between"},[e("h3",{staticClass:"tw-font-bold tw-text-gray-800 tw-m-0"},[t._v("Medication "+t._s(r+1))]),t._v(" "),r>0?e("button",{staticClass:"tw-text-sm tw-underline tw-text-gray-600 hover:tw-text-gray-800",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.removeOtherMedication(r)}}},[t._v("\n                    Remove\n                  ")]):t._e()]),t._v(" "),e("InlineValidationField",{staticClass:"question-step__option-other",attrs:{id:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"medication")),errors:xt.errors,field:t.medicationFieldKey(n,"medication")}},[e("label",{staticClass:"tw-text-black tw-font-medium",attrs:{for:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"medication"),"-input")}},[t._v("Medication Name")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer[r].medication,expression:"filteredQuestions[activeQuestion].answer[index].medication"}],staticClass:"tw-w-full tw-border tw-border-black tw-py-2.5 tw-rounded-full",attrs:{id:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"medication"),"-input"),autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer[r].medication},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion].answer[r],"medication",e.target.value)}}})]),t._v(" "),e("InlineValidationField",{staticClass:"question-step__option-other",attrs:{id:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"strength")),errors:xt.errors,field:t.medicationFieldKey(n,"strength")}},[e("label",{staticClass:"tw-text-black tw-font-medium",attrs:{for:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"strength"),"-input")}},[t._v("Strength")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer[r].strength,expression:"filteredQuestions[activeQuestion].answer[index].strength"}],staticClass:"tw-w-full tw-border tw-border-black tw-py-2.5 tw-rounded-full",attrs:{id:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"strength"),"-input"),autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer[r].strength},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion].answer[r],"strength",e.target.value)}}})]),t._v(" "),e("InlineValidationField",{staticClass:"question-step__option-other",attrs:{id:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"dosage")),errors:xt.errors,field:t.medicationFieldKey(n,"dosage")}},[e("label",{staticClass:"tw-text-black tw-font-medium",attrs:{for:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"dosage"),"-input")}},[t._v("Dosage/day")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer[r].dosage,expression:"filteredQuestions[activeQuestion].answer[index].dosage"}],staticClass:"tw-w-full tw-border tw-border-black tw-py-2.5 tw-rounded-full",attrs:{id:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"dosage"),"-input"),autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer[r].dosage},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion].answer[r],"dosage",e.target.value)}}})]),t._v(" "),e("InlineValidationField",{staticClass:"question-step__option-other",attrs:{id:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"date_last_taken")),errors:xt.errors,field:t.medicationFieldKey(n,"date_last_taken")}},[e("label",{staticClass:"tw-text-black tw-font-medium",attrs:{for:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"date_last_taken"),"-input")}},[t._v("Last Consumed")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer[r].date_last_taken,expression:"filteredQuestions[activeQuestion].answer[index].date_last_taken"}],staticClass:"tw-w-full tw-border tw-border-black tw-py-2.5 tw-rounded-full",attrs:{id:"".concat(xt.id,"-").concat(t.medicationFieldKey(n,"date_last_taken"),"-input"),max:t.maxDate,type:"date",autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer[r].date_last_taken},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion].answer[r],"date_last_taken",e.target.value)}}}
2)])],1)})),t._v(" "),e("button",{staticClass:"tw-text-brand-brown hover:tw-text-brown tw-font-medium",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.addOtherMedication.apply(null,arguments)}}},[t._v("\n                Add a medication\n              ")])],2):t._e()])],1)]):"previous_attempt"===(null===(v=t.filteredQuestions[t.activeQuestion])||void 0===v?void 0:v.name)?e("div",{key:"current_medications_previous_attempt",staticClass:"question-step"},[e("div",{staticClass:"tw-my-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-5"},[t._v("\n            Have you tried to lose weight in the past year?\n          ")])]),t._v(" "),e("div",{},[e("div",{},[e("div",{},[e("label",{staticClass:"tw-button-radio tw-rounded-full tw-text-lg tw-mb-2"},[t._v("\n                Yes\n                "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-input tw-rounded-full tw-border-black",attrs:{value:"",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"")},on:{change:function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","")}}})]),t._v(" "),e("label",{staticClass:"tw-button-radio tw-rounded-full tw-text-lg tw-mb-2"},[t._v("\n                No\n                "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-input tw-rounded-full tw-border-black",attrs:{value:"No",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"No")},on:{change:function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","No")}}})])]),t._v(" "),[null,"No"].includes(t.filteredQuestions[t.activeQuestion].answer)?t._e():e("div",{staticClass:"question-step__option-other"},[e("label",{staticClass:"tw-text-black tw-font-medium tw-text-lg"},[t._v("\n                What methods and how much weight did you lose?\n              ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"question-step__input",attrs:{id:"previous_attempt"},domProps:{value:t.filteredQuestions[t.activeQuestion].answer},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion],"answer",e.target.value)}}})])])])]):"photo-upload"===(null===(g=t.filteredQuestions[t.activeQuestion])||void 0===g?void 0:g.name)?e("InlineValidationField",{key:"photo-upload",staticClass:"question-step",attrs:{id:xt.id,errors:xt.errors}},[e("div",{staticClass:"tw-mt-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium"},[["weight_loss","weight_tain","hcg"].includes(t.program)?[t._v("\n              For treatment purposes, we need a picture of your "),e("strong",[t._v("FULL BODY")]),t._v(".\n              "),e("ModalWrapper",{attrs:{show:t.showFullBodyInfo},on:{hide:function(e){t.showFullBodyInfo=!1}}},[e("div",{staticClass:"tw-mx-auto tw-rounded-lg tw-shadow-lg tw-overflow-hidden tw-relative tw-bg-white"},[e("h2",{staticClass:"tw-mb-1 tw-text-xl tw-text-black tw-font-semibold tw-text-center tw-py-5 tw-capitalize"},[t._v("\n                    Please upload a picture of your full body\n                  ")]),t._v(" "),e("div",{staticClass:"tw-h-64 tw-relative tw-z-0 tw-bg-white tw-mt-5",style:{backgroundImage:"url('".concat(t.sampleFullBodyImage,"')"),"background-size":"contain","background-repeat":"no-repeat","background-position":"50%"}},[e("div",[e("img",{staticClass:"tw-absolute tw-top-3 tw-left-3 tw-w-16 tw-h-16",attrs:{src:"/assets/img/example-seal.png",alt:"example seal"}})])]),t._v(" "),e("div",{staticClass:"tw-relative tw-p-6 tw--mt-4"},[e("ul",{staticClass:"tw-mb-6 tw-text-sm tw-w-4/5 tw-mx-auto tw-tracking-wide tw-text-small tw-text-gray-900 tw-flex tw-flex-col tw-justify-center"},[e("li",[t._v("Please use a high-resolution photo (recommends 960 x 960 pixels)")]),t._v(" "),e("li",[t._v("Photo must reflect the patient's current appearance and be taken in front of a white or off-white background")]),t._v(" "),e("li",[t._v("Expression should be neutral or a natural smile with both eyes open")]),t._v(" "),e("li",[t._v("Position face and shoulders centered and straight to the camera")]),t._v(" "),e("li",[t._v("No other person, including parents or infants, may appear in the photo")]),t._v(" "),e("li",[t._v("No hat, head covering. or sunglasses may be worn")])]),t._v(" "),e("button",{staticClass:"tw-m-10 tw-mx-auto tw-w-4/5 tw-block tw-btn tw-bg-black tw-text-white tw-btn-lg tw-rounded-full tw-py-2",attrs:{type:"button"},on:{click:function(e){t.showFullBodyInfo=!1}}},[t._v("\n                      Continue\n                    ")])])])])]:"skin"===t.program?[t._v("\n              For treatment purposes, we need a picture of "),e("strong",[t._v("your affected areas of skin")]
2),t._v(".\n              "),e("ModalWrapper",{attrs:{show:t.showFullBodyInfo},on:{hide:function(e){t.showFullBodyInfo=!1}}},[e("div",{staticClass:"tw-sm:tw-w-2/3 tw-md:tw-w-1/3 tw-mx-auto tw-rounded-lg tw-shadow-lg tw-overflow-hidden tw-relative tw-bg-gray-300"},[e("div",{staticClass:"tw-relative tw-p-6 tw--mt-4"},[e("h2",{staticClass:"tw-mb-1 tw-text-xl tw-text-gray-darker tw-font-normal"},[t._v("\n                      Please upload at least one photo of your affected areas of skin\n                    ")]),t._v(" "),e("ul",{staticClass:"tw-mb-6 tw-text-sm tw-tracking-wide tw-text-small tw-text-gray-900"},[e("li",[t._v("Please use a high-resolution photo (recommends 960 x 960 pixels)")]),t._v(" "),e("li",[t._v("Photo must reflect the patient's current appearance of affected area.")]),t._v(" "),e("li",[t._v("No other person, including parents or infants, may appear in the photo")])]),t._v(" "),e("button",{staticClass:"tw-m-10 tw-mx-auto tw-w-1/2 tw-block tw-btn tw-bg-black tw-text-white tw-btn-lg tw-rounded-full",attrs:{type:"button"},on:{click:function(e){t.showFullBodyInfo=!1}}},[t._v("\n                      Continue\n                    ")])])])])]:"hair loss"===t.program?[t.filteredQuestions[t.activeQuestion].answer?e("span",[t._v("You've already uploaded pictures.")]):e("span")]:[t._v("\n              For treatment purposes, we need a picture of yourself.\n            ")]],2)]),t._v(" "),e("div",{staticClass:"question-step__content"},[e("div",{staticClass:"question-step__photo-upload"},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.filteredQuestions[t.activeQuestion].answer&&"speak"!==t.filteredQuestions[t.activeQuestion].answer?e("div",{key:"done",staticClass:"tw-mt-3"},[e("button",{staticClass:"tw-text-brand-brown",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.filteredQuestions[t.activeQuestion].answer=null}}},[t._v("\n                  Click here to upload/take pictures again.\n                ")])]):e("div",{key:"upload",staticClass:"tw-mt-10"},["skin"===t.program?e("div",{staticClass:"tw-w-full tw-mx-auto tw-gap-2"},[e("SkinPhotos",{key:xt.questionKey,attrs:{"inline-validation":!0},on:{undoUpload:function(e){t.filteredQuestions[t.activeQuestion].answer=null},done:yt}})],1):"hair loss"!==t.program&&"skin"!==t.program?e("div",{staticClass:"md:tw-px-10 md:tw-flex tw-items-center tw-justify-center tw-gap-2"},[e("div",{staticClass:"tw-flex-1 tw-mb-1"},[e("PhotoUploader",{key:xt.questionKey,attrs:{"inline-validation":!0,program:t.program},on:{undoUpload:function(e){t.filteredQuestions[t.activeQuestion].answer=null},done:yt}})],1),t._v(" "),e("div",{staticClass:"tw-hidden sm:tw-block tw-flex-1 tw-mb-3"},[["weight_loss","weight_tain","hcg"].includes(t.program)?e("FullBodyPhotoTaker",{key:xt.questionKey,attrs:{"inline-validation":!0,"label-title":"Take a full-body photo using your camera","label-extra-info":"Recommended: vertical orientation, full-body visible."},on:{undoUpload:function(e){t.filteredQuestions[t.activeQuestion].answer=null},done:yt}}):e("FacialPhotoTaker",{key:xt.questionKey,attrs:{"inline-validation":!0},on:{undoUpload:function(e){t.filteredQuestions[t.activeQuestion].answer=null},done:yt}})],1)]):e("div",{staticClass:"tw-items-center"},[e("HairlossPhotos",{key:xt.questionKey,attrs:{"inline-validation":!0},on:{undoUpload:function(e){t.filteredQuestions[t.activeQuestion].answer=null},done:yt}})],1)])])],1)])]):"video-introduction"===(null===(y=t.filteredQuestions[t.activeQuestion])||void 0===y?void 0:y.name)?e("InlineValidationField",{key:"video-introduction",attrs:{id:xt.id,errors:xt.errors}},[e("div",{staticClass:"tw-mt-10"},[e("div",{staticClass:"tw-text-2xl tw-mt-1 tw-text-black"},[t._v("\n            Introduce Yourself.\n            "),e("div",{staticClass:"tw-text-2xl tw-mt-1 tw-text-black"},[t._v("\n              Record a short video or audio clip (up to 30 seconds) explaining why you're seeking treatment. Speak directly to your provider in a face-to-face manner, be honest and concise.\n            ")])]),t._v(" "),e("div",{staticClass:"tw-mt-10"},[e("VideoRecorder",{key:xt.questionKey,attrs:{"inline-validation":!0,"previous-video-url":t.filteredQuestions[t.activeQuestion].answer,"talking-points":t.videoTalkingPoints,"show-additional-tips":!0},on:{undoUpload:function(e){t.filteredQuestions[t.activeQuestion].answer=null},done:yt}})],1)])]):"government_id_card_upload"===(null===(b=t.filteredQuestions[t.activeQuestion])||void 0===b?void 0:b.name)?e("InlineValidationField",{key:"government_id_card_upload",staticClass:"question-step",attrs:{id:xt.id,errors:xt.errors}},[e("div",{staticClass:"tw-mt-10"},[e("div",{staticClass:"tw-text-black tw-font-medium tw-text-2xl md:tw-text-2xl tw-py-5"},[t._v("\n            Upload your government ID card\n          ")])]),t._v(" "),e("div",{},[e("div",{},[e("div",{},[t.filteredQuestions[t.activeQuestion].answer?e("div",[void 0!==(null===(_=t.user)||void 0===_?void 0:_.patient)&&null!==(null===(x=t.user)||void 0===x?void 0:x.patient)&&null!==(k=t.user)&&void 0!==k&&k.patient.id_card?e("span",[t._v("\n                  You've previously uploaded a government issued ID card.\n                  "),e("div",{staticClass:"tw-text-base tw-text-black"},[t._v("\n                    Please confirm that we have a valid government ID on file or\n                    upload a new one.\n                  ")])]):e("span",{},[t._v("\n                  You've already uploaded a government issued ID card.\n                ")])]):e("div",[e("p",{staticClass:"tw-text-start"},[t._v("\n                  It's time to prove you are who you say you are. "),e("button",{staticClass:"tw-underline tw-text-black tw-text-sm",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.showInfo=!t.showInfo}}},[t._v("(Read More)")])]),t._v(" "),e("div",{staticClass:"tw-flex tw-space-x-4 tw-items-center tw-justify-center tw-w-4/5 tw-mx-auto md:tw-w-2/5"},[e("Transition",{attrs:{name:"fade"}},[t.showInfo?e("div",{staticClass:"tw-text-base tw-text-black tw-mt-1 tw-p-2 tw-flex tw-flex-col tw-justify-center tw-space-y-3 tw-space-x-0 md:tw-space-y-0 md:tw-space-x-3"},[e("div",[e("h3",{staticClass:"tw-font-semibold tw-text-xl"},[t._v("\n                          Why do you need a photo of my ID?\n                        ")]),t._v(" "),e("p",{staticClass:"tw-mt-1 tw-text-black"},[t._v("\n                          The law requires us to verify your identity with your government issued ID. This information\n                          is\n                          stored securely and never shared with anyone.\n                        ")]),t._v(" "),e("p",{staticClass:"tw-mt-1 tw-text-black"},[t._v("\n                          We use your ID photo to verify your identity,for example your date of birth and name,\n                          Telemedicine\n                          laws require to verify this information before prescribing medication.\n                        ")])]),t._v(" "),e("div",[e("h3",{staticClass:"tw-font-semibold tw-text-xl"},[t._v("\n                          Who sees this?\n                        ")]),t._v(" "),e("p",{staticClass:"tw-mt-1 tw-text-black"},[t._v("\n                          The photo of your ID will be stored securely and will only be shared with patient support\n                          team and\n                          our identity platform.\n                        ")])])]):t._e()])],1)]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.filteredQuestions[t.activeQuestion].answer&&"null"!==t.filteredQuestions[t.activeQuestion].answer?e("div",{key:"done",staticClass:"tw-mt-3 tw-text-black"},[void 0!==(null===(C=t.user)||void 0===C?void 0:C.patient)&&null!==(null===(S=t.user)||void 0===S?void 0:S.patient)&&null!==(P=t.user)&&void 0!==P&&null!==(A=P.patient)&&void 0!==A&&A.id_card?e("div",[e("div",{staticClass:"tw-flex"},[e("button",{staticClass:"tw-bg-none tw-text-brand-brown",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.showIDCard=!t.showIDCard}}},[t._v("\n                        View ID card on file\n                      ")])])]):e("div",[e("button",{staticClass:"tw-text-brand-brown",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.filteredQuestions[t.activeQuestion].answer=null}}},[t._v("\n                      Click here to upload/take pictures again.\n                    ")])]),t._v(" "),t.showIDCard&&void 0!==(null===(O=t.user)||void 0===O?void 0:O.patient)&&null!==(null===(T=t.user)||void 0===T?void 0:T.patient)&&null!==(E=t.user)&&void 0!==E&&null!==(I=E.patient)&&void 0!==I&&I.id_card?e("div",{staticClass:"tw-mt-6 tw-flex tw-flex-col tw-justify-center tw-items-center"},[e("div",{staticClass:"tw-bg-gray-dark tw-w-full tw-object-contain tw-flex tw-justify-center"},[e("img",{staticClass:"tw-w-full md:tw-w-96 tw-h-64",attrs:{src:"/secure-files/"+t.filteredQuestions[t.activeQuestion].answer}})]),t._v(" "),e("div",{staticClass:"tw-mt-4 tw-flex tw-flex-col md:tw-flex-row tw-justify-center tw-items-center"},[e("button",{staticClass:"md:tw-ml-3 sm:tw-btn-sm tw-btn tw-bg-black tw-text-white tw-rounded-full",attrs:{type:"button"},on:{click:yt}},[t._v("\n                        I confirm that this is my current government ID card.\n                      ")]),t._v(" "),e("button",{staticClass:"tw-text-brand-brown hover:tw-text-brown-500 tw-mt-2 hover:underline",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.filteredQuestions[t.activeQuestion].answer=null,t.user.patient.id_card=null}}},[t._v("\n                        I want to submit a more recent ID card\n                      ")])])]):t._e()]):e("div",{key:"upload"},[e("IdCardPhoto",{key:xt.questionKey,attrs:{"inline-validation":!0},on:{undoUpload:function(e){t.filteredQuestions[t.activeQuestion].answer=null},done:yt}})],1)])],1)])])]):"female_last_menstrual_cycle"===(null===(N=t.filteredQuestions[t.activeQuestion])||void 0===N?void 0:N.name)?e("div",{key:"female_last_menstrual_cycle",staticClass:"question-step"},[e("div",{staticClass:"tw-mt-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-5"},[t._v("\n            When was your last menstrual cycle?\n          ")])]),t._v(" "),e("div",{},[e("div",{},[e("div",{staticClass:"tw-text-xs tw-text-gray-darkest tw-uppercase tw-tracking-wider tw-mb-1"},[t._v("\n              MM/DD/YYYY\n            ")]),t._v(" "),e("InlineValidationField",{attrs:{id:xt.id,errors:xt.errors}},[e("label",{attrs:{for:"female_last_menstrual_cycle"}},[e("span",{staticClass:"tw-sr-only"},[t._v("Last menstrual cycle")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],ref:"date",staticClass:"question-step__input tw-rounded-full tw-border-black",attrs:{id:"female_last_menstrual_cycle",type:"date",autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion],"answer",e.target.value)}}}
2)])])],1)])]):"female_form_of_birth_control"===(null===(M=t.filteredQuestions[t.activeQuestion])||void 0===M?void 0:M.name)?e("div",{key:"female_form_of_birth_control",staticClass:"question-step"},[e("div",{staticClass:"tw-mt-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-5"},[null!==(R=t.user)&&void 0!==R&&R.patient&&null!==(D=t.user)&&void 0!==D&&null!==(j=D.patient)&&void 0!==j&&j.hrt_female_patient?[t._v("\n              Has your form of birth control changed? If so, what form are you currently using?\n            ")]:[t._v("\n              Are you currently on birth control? If so, what form?\n            ")]],2)]),t._v(" "),e("div",{},[e("div",{},[e("label",{attrs:{for:"female_form_of_birth_control"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-full tw-px-4 tw-py-2 tw-border tw-rounded-full tw-border-black",attrs:{id:"female_form_of_birth_control",autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion],"answer",e.target.value)}}})])])])]):"previously_treated_dosage"===(null===(B=t.filteredQuestions[t.activeQuestion])||void 0===B?void 0:B.name)&&t.user?e("div",{key:"previously_treated_dosage",staticClass:"question-step"},[e("div",{staticClass:"question-step__header"},[e("div",{staticClass:"question-step__title"},[null!==(L=t.user)&&void 0!==L&&L.patient&&null!==(F=t.user)&&void 0!==F&&F.patient.ed_info?[t._v("\n              Has the dose of Viagra, Cialis, or Levtra changed?\n            ")]:[t._v("\n              What was the dose of the Viagra, Cialis, or Levtra?\n            ")]],2)]),t._v(" "),e("div",{staticClass:"question-step__content"},[e("div",{staticClass:"question-step__text-input"},[e("label",{attrs:{for:"previously_treated_dosage"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-full tw-px-4 tw-py-2 tw-border tw-rounded-full tw-border-black",attrs:{id:"previously_treated_dosage",autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion],"answer",e.target.value)}}})])])])]):"side_effects"===(null===(q=t.filteredQuestions[t.activeQuestion])||void 0===q?void 0:q.name)?e("EdSideEffectsQuestion",{key:null===(Q=t.filteredQuestions[t.activeQuestion])||void 0===Q?void 0:Q.name,staticClass:"tw-max-w-2xl tw-mx-auto tw-px-4",attrs:{question:t.filteredQuestions[t.activeQuestion]},on:{input:yt}}):"problems_getting_erections"===(null===(U=t.filteredQuestions[t.activeQuestion])||void 0===U?void 0:U.name)?e("div",{key:"problems_getting_erections",staticClass:"tw-mt-10"},[e("div",{},[e("div",{},[e("div",{staticClass:"tw-mb-10 tw-font-medium tw-text-2xl tw-text-black tw-px-2 tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n              Do you ever have a problem getting or maintaining an erection that is satisfying enough for sex?\n            ")])])]),t._v(" "),e("div",{staticClass:"tw-mt-6"},[e("div",{staticClass:"tw-space-y-3"},[e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"problems_getting_erections_answer_yes"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes, every time")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"problems_getting_erections_answer_yes",value:"Yes, every time",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Yes, every time")}
2,on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Yes, every time")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"problems_getting_erections_answer_more_than_half_of_time"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes, more than half of the time")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"problems_getting_erections_answer_more_than_half_of_time",value:"Yes, more than half of the time",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Yes, more than half of the time")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Yes, more than half of the time")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"problems_getting_erections_answer_occasionally"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes, on occasion")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"problems_getting_erections_answer_occasionally",value:"Yes, on occasion",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Yes, on occasion")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Yes, on occasion")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"problems_getting_erections_answer_rarely"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes, but rarely")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"problems_getting_erections_answer_rarely",value:"Yes, but rarely",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Yes, but rarely")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Yes, but rarely")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"problems_getting_erections_answer_never"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("I have never have a problem getting an erection or maintaining if for as long as I want")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"problems_getting_erections_answer_never",value:"I have never have a problem getting an erection or maintaining if for as long as I want",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"I have never have a problem getting an erection or maintaining if for as long as I want")}
2,on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","I have never have a problem getting an erection or maintaining if for as long as I want")},t.onEDOptionSelected]}})])])])]):"how_did_it_begin"===(null===(V=t.filteredQuestions[t.activeQuestion])||void 0===V?void 0:V.name)?e("div",{key:"how_did_it_begin",staticClass:"tw-mt-10"},[e("div",{},[e("div",{},[e("div",{staticClass:"tw-mb-10 tw-font-medium tw-text-2xl tw-text-black tw-px-2 tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n              How did your ED begin? Select the one that best describes your ED.\n            ")])])]),t._v(" "),e("div",{staticClass:"tw-mt-6"},[e("div",{staticClass:"tw-space-y-3"},[e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"how_did_it_begin_gradually"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Gradually but has worsened over time")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"how_did_it_begin_gradually",value:"Gradually but has worsened over time",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Gradually but has worsened over time")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Gradually but has worsened over time")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"how_did_it_begin_suddenly"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Suddenly but not with a new partner")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"how_did_it_begin_suddenly",value:"Suddenly but not with a new partner",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Suddenly but not with a new partner")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Suddenly but not with a new partner")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"how_did_it_begin_new_partner"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Suddenly with a new partner")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"how_did_it_begin_new_partner",value:"Suddenly with a new partner",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Suddenly with a new partner")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Suddenly with a new partner")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"how_did_it_begin_no_recall"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("I do not recall how it began")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"how_did_it_begin_no_recall",value:"I do not recall how it began",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"I do not recall how it began")}
2,on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","I do not recall how it began")},t.onEDOptionSelected]}})])])])]):"masturbating_stay_hard"===(null===(H=t.filteredQuestions[t.activeQuestion])||void 0===H?void 0:H.name)?e("div",{key:"masturbating_stay_hard",staticClass:"tw-mt-10"},[e("div",{},[e("div",{},[e("div",{staticClass:"tw-mb-10 tw-font-medium tw-text-2xl tw-text-black tw-px-2 tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n              When masturbating, does your erection remain hard until orgasm or as long as you would like?\n            ")])])]),t._v(" "),e("div",{staticClass:"tw-mt-6"},[e("div",{staticClass:"tw-space-y-3"},[e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"masturbating_never_remains"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("No, it starts hard but never remains hard")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"masturbating_never_remains",value:"No, it starts hard but never remains hard",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"No, it starts hard but never remains hard")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","No, it starts hard but never remains hard")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"masturbating_rarely"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes, but only rarely")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"masturbating_rarely",value:"Yes, but only rarely",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Yes, but only rarely")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Yes, but only rarely")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"masturbating_occasion"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes, on occasion")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"masturbating_occasion",value:"Yes, on occasion",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Yes, on occasion")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Yes, on occasion")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"masturbating_half_time"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes, more than half of the time")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"masturbating_half_time",value:"Yes, more than half of the time",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Yes, more than half of the time")}
2,on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Yes, more than half of the time")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"masturbating_always"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes, always")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"masturbating_always",value:"Yes, always",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Yes, always")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Yes, always")},t.onEDOptionSelected]}})])])])]):"wake_up_frequency"===(null===(G=t.filteredQuestions[t.activeQuestion])||void 0===G?void 0:G.name)?e("div",{key:"wake_up_frequency",staticClass:"tw-mt-10"},[e("div",{},[e("div",{},[e("div",{staticClass:"tw-mb-10 tw-font-medium tw-text-2xl tw-text-black tw-px-2 tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n              How often do you wake up with an erection?\n            ")])])]),t._v(" "),e("div",{staticClass:"tw-mt-6"},[e("div",{staticClass:"tw-space-y-3"},[e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"wake_up_rarely"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Rarely")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"wake_up_rarely",value:"Rarely",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Rarely")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Rarely")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"wake_up_sometimes"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Sometimes")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"wake_up_sometimes",value:"Sometimes",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Sometimes")},on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Sometimes")},t.onEDOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",attrs:{for:"wake_up_every_time"}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Every time")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{id:"wake_up_every_time",value:"Every time",type:"radio"},domProps:{checked:t._q(t.filteredQuestions[t.activeQuestion].answer,"Every time")}
2,on:{change:[function(e){return t.$set(t.filteredQuestions[t.activeQuestion],"answer","Every time")},t.onEDOptionSelected]}})])])])]):"recent_exam_results"===(null===(z=t.filteredQuestions[t.activeQuestion])||void 0===z?void 0:z.name)?e("div",{staticClass:"question-step"},[e("div",{staticClass:"tw-mt-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium"},[t._v("\n            What were your recent exam results?\n          ")])]),t._v(" "),e("div",{},[e("EdRecentExamResultsQuestion",{key:null===(W=t.filteredQuestions[t.activeQuestion])||void 0===W?void 0:W.name,attrs:{question:t.filteredQuestions[t.activeQuestion]},on:{input:yt}})],1)]):"video_checklist"===(null===($=t.filteredQuestions[t.activeQuestion])||void 0===$?void 0:$.type)?e("div",{staticClass:"question-step"},[e("div",{staticClass:"question-step__content"},[e("ExternalLinkQuestion",{key:null===(K=t.filteredQuestions[t.activeQuestion])||void 0===K?void 0:K.name,staticClass:"tw-max-w-2xl tw-mx-auto tw-px-4",attrs:{question:t.filteredQuestions[t.activeQuestion],user:t.user,notice:bt,"use-pop-up-style":null===(Y=t.filteredQuestions[t.activeQuestion])||void 0===Y?void 0:Y.pop_up_notice},on:{input:yt,acknowledgeNotice:_t}})],1)]):"checklist"===(null===(Z=t.filteredQuestions[t.activeQuestion])||void 0===Z?void 0:Z.type)?e("div",{staticClass:"question-step"},[e("div",{staticClass:"question-step__content"},[e("ChecklistQuestion",{key:xt.questionKey,attrs:{question:t.filteredQuestions[t.activeQuestion],user:t.user,notice:bt,"use-pop-up-style":null===(J=t.filteredQuestions[t.activeQuestion])||void 0===J?void 0:J.pop_up_notice},on:{input:yt,acknowledgeNotice:_t}})],1)]):"radio"===(null===(X=t.filteredQuestions[t.activeQuestion])||void 0===X?void 0:X.type)?e("div",{staticClass:"question-step"},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("RadioQuestion",{key:xt.questionKey,attrs:{question:t.filteredQuestions[t.activeQuestion],user:t.user},on:{input:yt}})],1)],1):"range"===(null===(tt=t.filteredQuestions[t.activeQuestion])||void 0===tt?void 0:tt.type)?e("div",{staticClass:"question-step"},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("RangeQuestion",{key:xt.questionKey,attrs:{question:t.filteredQuestions[t.activeQuestion],user:t.user},on:{input:yt}})],1)],1):"yes-or-no"===(null===(et=t.filteredQuestions[t.activeQuestion])||void 0===et?void 0:et.type)?e("div",{staticClass:"question-step"},[e("div",{staticClass:"question-step__content"},[e("YesOrNoQuestion",{key:xt.questionKey,attrs:{user:t.user,question:t.filteredQuestions[t.activeQuestion]},on:{input:t.handleYesOrNoQuestionInput}})],1)]):"expanded"===(null===(nt=t.filteredQuestions[t.activeQuestion])||void 0===nt?void 0:nt.type)||"ed-expanded"===(null===(rt=t.filteredQuestions[t.activeQuestion])||void 0===rt?void 0:rt.type)||"hairloss-expanded"===(null===(it=t.filteredQuestions[t.activeQuestion])||void 0===it?void 0:it.type)||"skin-expanded"===(null===(ot=t.filteredQuestions[t.activeQuestion])||void 0===ot?void 0:ot.type)?e("div",{staticClass:"question-step"},[e("ExpandedQuestion",{key:xt.questionKey,attrs:{question:t.filteredQuestions[t.activeQuestion],validation:xt,user:t.user}})],1):"family-history"===(null===(at=t.filteredQuestions[t.activeQuestion])||void 0===at?void 0:at.name)?e("div",{staticClass:"question-step"},[e("div",{staticClass:"question-step__content"},[e("FamilyHistoryQuestion",{key:null===(st=t.filteredQuestions[t.activeQuestion])||void 0===st?void 0:st.name,attrs:{user:t.user},model:{value:t.filteredQuestions[t.activeQuestion],callback:function(e){t.$set(t.filteredQuestions,t.activeQuestion,e)},expression:"filteredQuestions[activeQuestion]"}})],1)]):"have_blood_work"===(null===(lt=t.filteredQuestions[t.activeQuestion])||void 0===lt?void 0:lt.name)?e("div",{staticClass:"question-step"},[e("div",{staticClass:"question-step__content"},[e("TestosteroneBloodWork",{key:null===(ut=t.filteredQuestions[t.activeQuestion])||void 0===ut?void 0:ut.name,staticClass:"tw-max-w-2xl tw-mx-auto tw-px-4",on:{done:yt},model:{value:t.filteredQuestions[t.activeQuestion],callback:function(e){t.$set(t.filteredQuestions,t.activeQuestion,e)},expression:"filteredQuestions[activeQuestion]"}})],1)]):"enclomiphene_have_blood_work"===(null===(ct=t.filteredQuestions[t.activeQuestion])||void 0===ct?void 0:ct.name)?e("div",{staticClass:"question-step"},[e("div",{staticClass:"question-step__header"},[e("div",{staticClass:"question-step__title"})]),t._v(" "),e("div",{staticClass:"question-step__content"},[e("EnclomipheneBloodWork",{key:xt.questionKey,staticClass:"tw-max-w-2xl tw-mx-auto tw-px-4",attrs:{"inline-validation":!0,"validation-id":xt.id,"validation-errors":xt.errors},on:{done:yt},model:{value:t.filteredQuestions[t.activeQuestion].answer,callback:function(e){t.$set(t.filteredQuestions[t.activeQuestion],"answer",e)},expression:"filteredQuestions[activeQuestion].answer"}})],1)]):"kidney_creatinine_levels"===(null===(dt=t.filteredQuestions[t.activeQuestion])||void 0===dt?void 0:dt.name)?e("div",{key:"kidney_creatinine_levels",staticClass:"question-step"},[e("div",{staticClass:"tw-mt-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-5"},[t._v("\n            You mentioned that you had kidney disease, please enter your creatinine level\n          ")])]),t._v(" "),e("div",{},[e("InlineValidationField",{attrs:{id:xt.id,errors:xt.errors}},[e("label",{staticClass:"tw-sr-only",attrs:{for:"creatinine-level"}},[t._v("Creatinine level")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"},{name:"non-negative",rawName:"v-non-negative"}],staticClass:"tw-input tw-rounded-full tw-border-black tw-w-full",attrs:{id:"creatinine-level",type:"number",placeholder:"1",autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion],"answer",e.target.value)}}}
2)])],1)]):"reason_for_treatment"===(null===(ht=t.filteredQuestions[t.activeQuestion])||void 0===ht?void 0:ht.name)?e("div",{key:"reason_for_treatment",staticClass:"question-step"},[e("div",{staticClass:"tw-mt-10"},[e("div",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium tw-py-5"},[t._v("\n            What is your primary reason for seeking treatment?\n          ")])]),t._v(" "),e("div",{},[e("div",{},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.filteredQuestions[t.activeQuestion].answer,expression:"filteredQuestions[activeQuestion].answer"}],staticClass:"tw-input tw-rounded-3xl tw-w-full tw-resize-none tw-border tw-border-brand-brown",attrs:{id:"reason_for_treatment",placeholder:"e.g., fatigue, weight gain, hormone concerns",rows:"8",autofocus:""},domProps:{value:t.filteredQuestions[t.activeQuestion].answer},on:{input:function(e){e.target.composing||t.$set(t.filteredQuestions[t.activeQuestion],"answer",e.target.value)}}})])])]):"product"===(null===(ft=t.filteredQuestions[t.activeQuestion])||void 0===ft?void 0:ft.name)?e("ProgramOptionsSelector",{key:"program-option-selector",attrs:{user:t.user,program:t.program,"init-products":t.initProducts,"cant-buy-testosterone":t.cantBuyTestosterone,"initial-state-selected":t.initialStateSelected,"current-state":t.stateQuestion.answer,"nubody-info":t.nubodyInfo},on:{restart:t.previousQuestion,rock:t.rock,back:t.previousQuestion,"validate-bloodwork":t.userHasValidBloodWork}}):"authentication"!==(null===(pt=t.filteredQuestions[t.activeQuestion])||void 0===pt?void 0:pt.name)||t.user?"checkout"!==(null===(wt=t.filteredQuestions[t.activeQuestion])||void 0===wt?void 0:wt.name)||null!==t.earlySubmissionSuccess||t.isEnrollmentComplete?t._e():e("div",{staticClass:"tw-max-w-4xl tw-mx-auto sm:tw-px-4 tw-font-lato"},[e("h3",{staticClass:"tw-text-2xl tw-font-semibold tw-font-lato tw-py-10"},[t._v("\n          "+t._s(t.refillItems.length>0?"Complete Refill":"Order Confirmation")+"\n        ")]),t._v(" "),e("div",{staticClass:"tw-p-2"},[e("CheckoutForm",{ref:"checkoutForm",staticClass:"tw-max-w-4xl tw-mx-auto tw-px-4",attrs:{"inline-validation":!0,"validation-errors":t.allCheckoutErrors,user:t.user,order:t.checkoutOrder,products:t.products,subscription:t.selectedSubscription,"is-vip-order":t.isVIPOrder,coupon:t.coupon,questions:t.questions,"additional-enrollment-data":t.additionalEnrollmentData,"is-refill":t.refillItems.length>0,"selected-program":t.program,"filtered-shipping-methods":t.filteredShippingMethods,"is-nubody-subscription":t.isNubodySubscription,"show-bucks":t.showBucks},on:{"address-draft-change":t.onCheckoutDraftChange,shipping:t.updateShippingQuestion,back:t.previousQuestion,payment:t.handlePaymentSubmission,"back-to-product-selection":t.goBackToProductSelection,updateAddress:t.updateEnrollmentAddress}},[e("InlineValidationField",{attrs:{id:t.checkoutErrorId("payment"),errors:t.allCheckoutErrors,field:"payment"}},[t.showPaymentForm?e("div",{staticClass:"tw-bg-white sm:tw-px-4 tw-py-4 tw-mt-6",attrs:{"data-validation-control":"",role:"group",tabindex:"-1","aria-label":"Payment information"}},[e("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-m-0 tw-p-0 tw-mb-2 tw-text-sm tw-text-gray-800 tw-font-bold"},[e("div",{staticClass:"tw-w-1/2 tw-text-base tw-text-gray-800 tw-font-bold tw-uppercase"},[t._v("\n                  Pay With\n                ")]),t._v(" "),e("div",{staticClass:"tw-w-1/2 xl:tw-w-1/3"},[e("img",{attrs:{alt:"payment-methods",src:"/assets/img/payment/credit_card.png"}})])]),t._v(" "),0!==Object.keys(null!==(mt=null===(vt=t.selectedProducts)||void 0===vt||null===(gt=vt.products)||void 0===gt?void 0:gt.blood_work_option)&&void 0!==mt?mt:{}).length?e("div",[t._v("\n                You will be charged immediately for blood work\n              ")]):t._e(),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},["nmi"==t.paymentGateway?e("div",[e("NmiForm",{ref:"ccform",attrs:{"inline-validation":!0,"reload-disabled":t.loading||t.enrollmentRequestPending||t.orderSubmissionInFlight||t.orderSubmissionRequiresSupport||!!t.payment_token,address:t.customerAddress},on:{"validation-failed":t.handlePaymentValidationFailed,"gateway-response":t.handleGatewayResponse,"card-auth-failed":t.handleCardAuthFailed}})],1):"authorizeNet"==t.paymentGateway?e("div",[e("AuthorizeNetForm",{ref:"ccform",attrs:{"inline-validation":!0,address:t.customerAddress},on:{"validation-failed":t.handlePaymentValidationFailed,"gateway-response":t.handleGatewayResponse,"card-auth-failed":t.handleCardAuthFailed}})],1):t._e()])],1):t._e()])],1),t._v(" "),e("div",{staticClass:"tw-mt-10 tw-font-lato"},[t.showPaymentForm?e("div",["FL"===t.stateQuestion.answer&&"weight_loss"===t.program?e("InlineValidationField",{staticClass:"tw-mb-10",attrs:{id:t.checkoutErrorId("agreedToFLTnC"),errors:t.allCheckoutErrors,field:"agreedToFLTnC"}},[e("label",{staticClass:"tw-leading-none tw-flex tw-items-center tw-ml-3 tw-text-gray-800"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.agreedToFLTnC,expression:"agreedToFLTnC"}],staticClass:"tw-checkbox tw-mr-4",staticStyle:{transform:"scale(1.25)"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.agreedToFLTnC)?t._i(t.agreedToFLTnC,null)>-1:t.agreedToFLTnC},on:{click:t.updateFLWeightlossTnC,change:function(e){var n=t.agreedToFLTnC,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.agreedToFLTnC=n.concat([null])):o>
2-1&&(t.agreedToFLTnC=n.slice(0,o).concat(n.slice(o+1)))}else t.agreedToFLTnC=i}}}),t._v(" "),e("span",[t._v("\n                  I have read and agree to the\n                  "),e("a",{staticClass:"tw-text-accent-green-dark hover:tw-opacity-75 tw-underline tw-ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFLWeightlossAgreement=!0}}},[t._v("\n                    Florida obesity law 64B8-9.012.\n                  ")])])])]):t._e(),t._v(" "),e("InlineValidationField",{staticClass:"tw-mb-10",attrs:{id:t.checkoutErrorId("agreedToSelfPay"),errors:t.allCheckoutErrors,field:"agreedToSelfPay"}},[e("label",{staticClass:"tw-leading-none tw-flex tw-items-center tw-ml-3 tw-text-gray-800"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.agreedToSelfPay,expression:"agreedToSelfPay"}],staticClass:"tw-checkbox tw-mr-4",staticStyle:{transform:"scale(1.25)"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.agreedToSelfPay)?t._i(t.agreedToSelfPay,null)>-1:t.agreedToSelfPay},on:{change:function(e){var n=t.agreedToSelfPay,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.agreedToSelfPay=n.concat([null])):o>-1&&(t.agreedToSelfPay=n.slice(0,o).concat(n.slice(o+1)))}else t.agreedToSelfPay=i}}}),t._v(" "),e("span",[t._v("\n                  I have read and agree to the\n                  "),e("a",{staticClass:"tw-text-accent-green-dark hover:tw-opacity-75 tw-underline tw-ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showSelfPayAgreement=!0}}},[t._v("\n                    Agreement for Self-Payment of Services.\n                  ")])])])]),t._v(" "),e("InlineValidationField",{staticClass:"tw-mb-10",attrs:{id:t.checkoutErrorId("agreedToCardConsent"),errors:t.allCheckoutErrors,field:"agreedToCardConsent"}},[e("label",{staticClass:"tw-leading-none tw-flex tw-items-center tw-ml-3 tw-text-gray-800"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.agreedToCardConsent,expression:"agreedToCardConsent"}],staticClass:"tw-checkbox tw-mr-4",staticStyle:{transform:"scale(1.25)"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.agreedToCardConsent)?t._i(t.agreedToCardConsent,null)>-1:t.agreedToCardConsent},on:{change:function(e){var n=t.agreedToCardConsent,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.agreedToCardConsent=n.concat([null])):o>-1&&(t.agreedToCardConsent=n.slice(0,o).concat(n.slice(o+1)))}else t.agreedToCardConsent=i}}}),t._v(" "),e("span",[t._v("\n                  I have read and agree to the"),e("a",{staticClass:"tw-text-accent-green-dark hover:tw-opacity-75 tw-underline tw-ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showCCConsent=!0}}},[t._v("\n                    Credit Card Consent Agreement.\n                  ")]),t._v("&\n                  "),e("a",{staticClass:"tw-text-accent-green-dark hover:tw-opacity-75 tw-underline tw-ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showRefundPolicy=!0}}},[t._v("\n                    Nu Image's Refund Policy\n                  ")])])])]),e("InlineValidationField",{directives:[{name:"show",rawName:"v-show",value:t.isHomeKitBloodWorkSelected,expression:"isHomeKitBloodWorkSelected"}],staticClass:"tw-mb-10",attrs:{id:t.checkoutErrorId("agreedToAshTestingConsent"),errors:t.allCheckoutErrors,field:"agreedToAshTestingConsent"}},[e("label",{staticClass:"tw-leading-none tw-flex tw-items-center tw-ml-3 tw-text-gray-800"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.agreedToAshTestingConsent,expression:"agreedToAshTestingConsent"}],staticClass:"tw-checkbox tw-mr-4",staticStyle:{transform:"scale(1.25)"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.agreedToAshTestingConsent)?t._i(t.agreedToAshTestingConsent,null)>-1:t.agreedToAshTestingConsent},on:{change:function(e){var n=t.agreedToAshTestingConsent,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.agreedToAshTestingConsent=n.concat([null])):o>-1&&(t.agreedToAshTestingConsent=n.slice(0,o).concat(n.slice(o+1)))}else t.agreedToAshTestingConsent=i}}}),t._v(" "),e("span",[t._v("\n                  I have read and agree to the\n                  "),e("a",{staticClass:"tw-text-accent-green-dark hover:tw-opacity-75 tw-underline tw-ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showAshTestingConsent=!0}}},[t._v("\n                    Blood Testing Consent.\n                  ")])])])]),t._v(" "),e("InlineValidationField",{directives:[{name:"show",rawName:"v-show",value:t.isNubodySubscription,expression:"isNubodySubscription"}],staticClass:"tw-mb-10",attrs:{id:t.checkoutErrorId("agreedToNubodyConsent"),errors:t.allCheckoutErrors,field:"agreedToNubodyConsent"}},[e("label",{staticClass:"tw-leading-none tw-flex tw-items-center tw-ml-3 tw-text-gray-800"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.agreedToNubodyConsent,expression:"agreedToNubodyConsent"}],staticClass:"tw-checkbox tw-mr-4",staticStyle:{transform:"scale(1.25)"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.agreedToNubodyConsent)?t._i(t.agreedToNubodyConsent,null)>-1:t.agreedToNubodyConsent},on:{change:function(e){var n=t.agreedToNubodyConsent,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.agreedToNubodyConsent=n.concat([null])):o>
2-1&&(t.agreedToNubodyConsent=n.slice(0,o).concat(n.slice(o+1)))}else t.agreedToNubodyConsent=i}}}),t._v(" "),e("span",[t._v("\n                  I have read and agree to the\n                  "),e("a",{staticClass:"tw-text-accent-green-dark hover:tw-opacity-75 tw-underline tw-ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showNubodyConsent=!0}}},[t._v("\n                    NuBody Program Agreement.\n                  ")])])])])],1):t._e(),t._v(" "),t.loading?e("div",[e("button",{staticClass:"tw-w-full tw-items-center tw-justify-center tw-space-x-3 tw-flex-1 tw-btn tw-bg-brand-brown tw-font-medium tw-text-white tw-cursor-not-allowed tw-rounded-full",attrs:{type:"button",disabled:""}},[e("span",{staticClass:"loading tw-mr-2"}),t._v(" "),e("span",[t._v("Submitting your order, please wait...")])])]):e("div",{staticClass:"tw-flex tw-flex-col tw-w-full tw-items-center tw-gap-2"},[e("button",{staticClass:"tw-flex-1 tw-w-full tw-flex tw-items-center tw-justify-center tw-px-4 tw-py-2 tw-bg-brand-brown tw-font-medium tw-text-white tw-rounded-full",class:{loading:t.loading,"tw-cursor-not-allowed tw-opacity-75":t.disablePayButton||t.orderSubmissionRequiresSupport},attrs:{type:"button",disabled:t.loading||t.disablePayButton||t.orderSubmissionRequiresSupport},on:{mousedown:function(t){t.preventDefault()},click:function(e){return e.preventDefault(),t.checkPayment.apply(null,arguments)}}},[t.allInfoFilled?t._e():e("svg",{staticClass:"tw-w-5 tw-h-5 tw-mr-2 tw-text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[e("rect",{attrs:{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}}),t._v(" "),e("path",{attrs:{d:"M7 11V7a5 5 0 0 1 10 0v4"}}),t._v(" "),e("circle",{attrs:{cx:"12",cy:"16",r:"1"}})]),t._v(" "),e("span",{staticClass:"tw-text-sm tw-md:text-base tw-font-semibold"},[t._v(t._s(t.refillItems.length>0?"Complete Refill":"SUBMIT!"))])]),t._v(" "),e("button",{staticClass:"tw-flex-1 tw-flex tw-items-center tw-justify-center tw-px-4 tw-py-2 tw-bg-transparent tw-text-brand-brown tw-font-semibold tw-text-sm tw-md:text-base tw-w-full tw-rounded-full tw-border-2 tw-border-gray-100",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.showPaymentForm=!1,t.loading=!1,t.previousQuestion()}}},[t._v("\n                ← Go back\n              ")])]),t._v(" "),e("div",{staticClass:"tw-flex tw-items-center tw-justify-center tw-mt-4"},[e("svg",{staticClass:"tw-text-grey tw-h-4 tw-w-4",attrs:{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 448 512"}},[e("path",{attrs:{fill:"currentColor",d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zM264 392c0 22.1-17.9 40-40 40s-40-17.9-40-40v-48c0-22.1 17.9-40 40-40s40 17.9 40 40v48zm32-168H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"}})]),t._v(" "),e("div",{staticClass:"tw-text-xs tw-font-lato tw-text-gray-700 tw-m-0 tw-p-0 tw-ml-2"},[t._v("\n                256-BIT TLS SECURITY\n              ")])])]),t._v(" "),e("CardModal",{attrs:{show:t.showSelfPayAgreement},on:{hide:function(e){t.showSelfPayAgreement=!1}}},[e("SelfPayConsent")],1),t._v(" "),e("CardModal",{attrs:{show:t.showPatientAuth},on:{hide:function(e){t.showPatientAuth=!1}}},[e("PatientAuth")],1),t._v(" "),e("CardModal",{attrs:{show:t.showFLWeightlossAgreement},on:{hide:function(e){t.showFLWeightlossAgreement=!1}}},[e("FLWeightLossTnC")],1),t._v(" "),e("CardModal",{attrs:{show:t.showCCConsent},on:{hide:function(e){t.showCCConsent=!1}}},[e("CCConsent")],1),t._v(" "),e("CardModal",{attrs:{show:t.showECheckConsent},on:{hide:function(e){t.showECheckConsent=!1}}},[e("EcheckConsent")],1),t._v(" "),e("CardModal",{attrs:{show:t.showAshTestingConsent},on:{hide:function(e){t.showAshTestingConsent=!1}}},[e("AshTestingConsent")],1),t._v(" "),e("CardModal",{attrs:{show:t.showNubodyConsent},on:{hide:function(e){t.showNubodyConsent=!1}}},[e("NubodyConsent")],1)],1)]):e("Login",{key:"authentication",ref:"login",attrs:{"lowest-price":t.lowestPrice,program:t.program,"email-prefill":t.emailPrefill,"selected-products":t.guestData.selectedProducts},on:{input:t.handleAuthentication,back:t.previousQuestion}})],1)]}}])},[e("template",{slot:"completed"},[t.isEnrollmentComplete?e("CompletedProfileConfirmation",{attrs:{"order-number":t.earlySubmissionOrderNumber},on:{"close-completion-modal":t.handleCloseCompletionModal}}):t.isCompletingEarlySubmissionProfile||t.orderSubmissionInFlight?e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-py-16 tw-px-8 tw-text-center tw-max-w-2xl tw-mx-auto",attrs:{role:"status","aria-live":"polite","aria-busy":"true"}},[e("div",{staticClass:"tw-mb-8"},[e("svg",{staticClass:"tw-w-20 tw-h-20 tw-mx-auto tw-text-brand-brown tw-animate-spin",attrs:{viewBox:"0 0 24 24"}},[e("circle",{staticClass:"tw-opacity-25",attrs:{cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4",fill:"none"}}
2),t._v(" "),e("path",{staticClass:"tw-opacity-75",attrs:{fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}})])]),t._v(" "),e("h1",{staticClass:"tw-text-2xl tw-font-semibold tw-text-gray-900 tw-mb-4"},[t._v("\n        Completing your enrollment...\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-[#C59A55]"},[t._v("\n        Please wait while we update your order.\n      ")])]):!1===t.earlySubmissionSuccess||t.earlySubmissionErrorMessage?e("EarlySubmissionConfirmation",{ref:"earlySubmissionConfirmation",staticClass:"tw-max-w-2xl tw-mx-auto tw-px-4",attrs:{"is-success":t.earlySubmissionSuccess,"error-message":t.earlySubmissionErrorMessage},on:{"continue-profile":t.handleContinueProfile,"retry-payment":t.handleRetryPayment,"go-back":t.handleGoBack}}):t._e()],1)],2)}),[],!1,null,null,null).exports;const dn={name:"ProgramList",props:{programs:{required:!0,type:Array},shopLocked:{required:!0,type:Boolean}},methods:{getProgram:function(t){return this.programs&&Array.isArray(this.programs)&&this.programs.find((function(e){return e&&e.link===t}))||null},selectProgram:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t?this.shopLocked?this.$bus.$emit("flash-message",{message:"You have exceeded the amount of orders you are allowed to place per day, please try again tomorrow.",type:"error"}):this.$emit("select",t.link,e):console.warn("Program not found or not available")}}};var hn=n(36558),fn={insert:"head",singleton:!1};y()(hn.Z,fn);hn.Z.locals;const pn={components:{ExistingSubscriptionNotice:Se,ProgramList:(0,f.Z)(dn,(function(){var t=this,e=t._self._c;return e("Transition",[t.programs.length?e("section",{staticClass:"tw-pb-12 tw-pt-5 md:tw-py-5 tw-w-full tw-text-gray-900 tw-space-y-3 tw-font-lato"},[t.getProgram("weight_loss")?e("button",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-brand-brown hover:tw-text-brand-brown focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500",on:{click:function(e){t.selectProgram(t.getProgram("weight_loss"))}}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Weight Loss")]),t._v(" "),e("div",{staticClass:"tw-w-5 tw-h-5 tw-rounded-full tw-border-2 tw-border-gray-400"})]):t._e(),t._v(" "),t.getProgram("trt")?e("button",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-brand-brown hover:tw-text-brand-brown focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500",on:{click:function(e){t.selectProgram(t.getProgram("trt"))}}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Enclomiphene - Testosterone Hormone Therapy")]),t._v(" "),e("div",{staticClass:"tw-w-5 tw-h-5 tw-rounded-full tw-border-2 tw-border-gray-400"})]):t._e(),t._v(" "),t.getProgram("hrt")?e("button",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-brand-brown hover:tw-text-brand-brown focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500",on:{click:function(e){t.selectProgram(t.getProgram("hrt"))}}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Sermorelin - Growth Hormone Therapy")]),t._v(" "),e("div",{staticClass:"tw-w-5 tw-h-5 tw-rounded-full tw-border-2 tw-border-gray-400"})]):t._e(),t._v(" "),t.getProgram("ed")?e("button",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-brand-brown hover:tw-text-brand-brown focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500",on:{click:function(e){t.selectProgram(t.getProgram("ed"))}}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Erectile Dysfunction and Libido")]),t._v(" "),e("div",{staticClass:"tw-w-5 tw-h-5 tw-rounded-full tw-border-2 tw-border-gray-400"})]):t._e(),t._v(" "),t.getProgram("wsp")?e("button",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-brand-brown hover:tw-text-brand-brown focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500",on:{click:function(e){t.selectProgram(t.getProgram("wsp"))}}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Screamer Arousal Cream")]),t._v(" "),e("div",{staticClass:"tw-w-5 tw-h-5 tw-rounded-full tw-border-2 tw-border-gray-400"})]):t._e(),t._v(" "),t.getProgram("hair loss")?e("button",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-brand-brown hover:tw-text-brand-brown focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-orange-500",on:{click:function(e){t.selectProgram(t.getProgram("hair loss"))}}},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Hair Loss")]),t._v(" "),e("div",{staticClass:"tw-w-5 tw-h-5 tw-rounded-full tw-border-2 tw-border-gray-400"})]):t._e()]):t._e()])}),[],!1,null,"0b7e1172",null).exports},props:{shopLocked:{required:!0,type:Boolean},initialUser:{required:!0,type:Boolean},user:{default:null,type:Object},initialStateSelected:{default:null}},data:function(){return{programs:[],orderLimitPerDay:"4",refillableOrders:0,selectedProgram:null,subscriptions:[],showActiveSubscriptionNotice:!1}},computed:{currentUserState:function(){var t,e;return!1!==this.initialStateSelected?this.initialStateSelected[1]:null===(t=this.user)||void 0===t||null===(e=t.contact)||void 0===e?void 0:e.state}}
2,created:function(){this.getPrograms(),this.getSubscriptions()},methods:{getPrograms:function(){var t=this;axios.get("/json/programs",{params:{for_enrollment:!0,initial_user_state:this.currentUserState}}).then((function(e){t.programs=e.data.filter((function(t){return null!==t}))}))},selectProgram:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(console.log("program selected",t),this.selectedProgram=t,"undefined"!=typeof window&&"undefined"!=typeof mixpanel&&mixpanel.track("Selected A Program",{order_type:t}),void 0!==this.$posthog)try{this.$posthog.capture("program_selected",{program_type:t,timestamp:(new Date).toISOString()})}catch(t){console.error("[ProgramSelector] PostHog tracking failed:",t)}this.subscriptions&&this.subscriptions.programs&&this.subscriptions.programs.includes(t)?this.showActiveSubscriptionNotice=!0:(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"add_to_cart",program:t}),this.$emit("input",t,e))},getSubscriptions:function(){var t=this;axios.get("/json/subscriptions").then((function(e){t.subscriptions=e.data}))},restart:function(){this.$bus.$emit("restart-enrollment")},gotoAccount:function(){this.$bus.$emit("goto-my-account")}}};const wn=(0,f.Z)(pn,(function(){var t,e,n=this,r=n._self._c;return r("div",{staticClass:"tw-mt-10"},[n._m(0),n._v(" "),n.shopLocked?r("div",{staticClass:"tw-rounded-md tw-bg-red-900 tw-p-4 tw-shadow-lg tw-uppercase tw-mt-10 tw-w-full md:tw-w-4/5 md:tw-mx-auto"},[r("div",{staticClass:"tw-flex tw-items-center"},[r("div",{staticClass:"tw-shrink-0"},[r("svg",{staticClass:"tw-h-5 tw-w-5 tw-font-bold tw-text-white tw-m-0 tw-p-0",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"}})])]),n._v(" "),r("div",{staticClass:"tw-ml-3 tw-flex-1 md:tw-flex md:tw-justify-between"},[r("p",{staticClass:"tw-text-sm tw-leading-5 tw-text-white tw-p-0 tw-m-0 tw-font-bold"},[n._v("\n          You have already placed "+n._s(n.orderLimitPerDay)+" orders today out of\n          "+n._s(n.orderLimitPerDay)+" allowed orders per day. "),r("br"),n._v("\n          You may place more orders tomorrow.\n        ")])])])]):n._e(),n._v(" "),null!==n.selectedProgram&&(null===(t=n.subscriptions)||void 0===t||null===(e=t.programs)||void 0===e?void 0:e.length)>0?r("div",[r("ExistingSubscriptionNotice",{attrs:{subscriptions:n.subscriptions,"show-active-subscription-notice":n.showActiveSubscriptionNotice,"selected-program":n.selectedProgram}})],1):n._e(),n._v(" "),r("Transition",{attrs:{name:"fade",mode:"out-in"}},[r("ProgramList",{attrs:{programs:n.programs,"shop-locked":n.shopLocked},on:{select:n.selectProgram}})],1)],1)}),[function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"header"}},[e("h1",{staticClass:"tw-text-black tw-text-2xl md:tw-text-2xl tw-font-medium"},[t._v("\n      Start your online visit\n    ")]),t._v(" "),e("p",{staticClass:"tw-mt-10 tw-text-1xl tw-font-medium tw-text-black"},[t._v("\n      Select a condition to get started.\n    ")])])}],!1,null,null,null).exports;var mn=n(45663);const vn={name:"RefillItem",props:{refill:{required:!0,type:Object},selectedProducts:{default:null,type:Array}},data:function(){return{quantity:0}},created:function(){this.getQuantity()},methods:{getQuantity:function(){var t=this;[16,4].includes(this.refill.product.category_id)?axios.get("/get-refill-quantity/"+this.refill.id).then((function(e){t.quantity=e.data.quantity,t.refill.quantity=t.quantity,t.refill.product.quantity=t.quantity})):"quarterly"===this.refill.product.frequency?(this.quantity="3 mo/supply",this.refill.quantity=3):(this.quantity="1 mo/supply",this.refill.quantity=1)}}};const gn=(0,f.Z)(vn,(function(){var t=this,e=t._self._c;return t.refill.product.active?e("div",{staticClass:"tw-flex tw-bg-white tw-shadow-md tw-mb-10"},[e("div",{staticClass:"tw-w-3/4 tw-p-10 tw-flex tw-items-start"},[e("img",{staticClass:"tw-w-16 md:tw-w-32 tw-mr-10",attrs:{src:t.refill.product.full_imageurl,alt:t.refill.product.id}}),t._v(" "),e("div",{staticClass:"tw-flex-1"},[e("h3",{staticClass:"tw-text-accent-green tw-m-0 tw-p-0 tw-leading-5 tw-font-medium"},[t._v("\n        "+t._s(t.refill.product.display_name)+"\n      ")]),t._v(" "),t._m(0)])]),t._v(" "),e("div",{staticClass:"tw-w-1/4 tw-bg-accent-green tw-flex tw-items-center tw-justify-center tw-p-10"},[e("input",{staticClass:"tw-w-10 tw-h-10 tw-rounded-lg tw-border-0 tw-form-checkbox tw-text-blue-600 tw-transition tw-duration-150 tw-ease-in-out",attrs:{type:"checkbox"},domProps:{checked:t.selectedProducts.includes(t.refill)?"checked":""},on:{change:function(e){return t.$emit("addToSelected",t.refill)}}})])]):t._e()}),[function(){var t=this._self._c;return t("div",{staticClass:"tw-flex tw-item-center tw-justify-between tw-flex-1 tw-text-gray-700"},[t("h5",{staticClass:"tw-font-medium"})])}],!1,null,"4f1a59f5",null).exports;const yn={name:"Order",props:{order:{type:Object,required:!0}},data:function(){return{hide:!1}},created:function(){var t=[];
2this.order.refills.forEach((function(e){t.push(e.product)})),t.every((function(t){return 0===t.active}))&&(this.hide=!0)}};function bn(t){return bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bn(t)}function _n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function xn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_n(Object(n),!0).forEach((function(e){kn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_n(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function kn(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==bn(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==bn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===bn(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const Cn={name:"OrderSelector",components:{Order:(0,f.Z)(yn,(function(){var t=this,e=t._self._c;return t.hide?t._e():e("div",{staticClass:"tw-block focus:tw-outline-none focus:tw-bg-gray-50 tw-transition tw-duration-150 tw-ease-in-out"},[e("div",{staticClass:"tw-flex tw-items-center tw-px-4 tw-py-4 sm:tw-px-6"},[e("div",{staticClass:"tw-min-w-0 tw-flex-1 tw-flex tw-items-center"},[e("div",{staticClass:"tw-min-w-0 tw-flex-1 tw-pr-4 md:tw-grid md:tw-grid-cols-2 md:tw-gap-4"},[e("div",[e("div",{staticClass:"tw-text-base tw-leading-5 tw-font-medium tw-text-gray-700 tw-uppercase"},[t._v("\n            "+t._s(t.order.orderObject.order_number)+"\n          ")]),t._v(" "),t._l(t.order.refills,(function(n){return e("div",{key:n.id,staticClass:"tw-mt-2 tw-flex tw-items-center tw-text-sm tw-leading-5 tw-text-gray-600 tw-font-medium"},[e("svg",{staticClass:"tw-shrink-0 tw-mr-1.5 tw-h-5 tw-w-5 tw-text-gray-400",attrs:{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"}},[e("g",{staticClass:"fa-group"},[e("path",{staticClass:"tw-text-gray-200",attrs:{fill:"currentColor",d:"M32 128h320v352a32.09 32.09 0 0 1-32 32H64a32.09 32.09 0 0 1-32-32v-64h120a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8H32v-64h120a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8H32v-64h120a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8H32z"}}),t._v(" "),e("path",{staticClass:"tw-text-accent-green",attrs:{fill:"currentColor",d:"M360 0H24A24.07 24.07 0 0 0 0 24v48a24.07 24.07 0 0 0 24 24h336a24.07 24.07 0 0 0 24-24V24a24.07 24.07 0 0 0-24-24zM152 384H32v32h120a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8zm0-192H32v32h120a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8zm0 96H32v32h120a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8z"}})])]),t._v(" "),e("div",[t._v("\n              "+t._s(n.product.display_name)+"\n            ")])])}))],2),t._v(" "),e("div",{staticClass:"tw-hidden md:tw-block"},[e("div",[e("div",{staticClass:"tw-text-base tw-leading-5 tw-mt-5 tw-text-gray-900 tw-p-0 tw-m-0"},[t._v("\n              Originally placed\n              "),e("time",{attrs:{datetime:"2020-01-07"}},[t._v("\n                "+t._s(t.order.placed)+"\n              ")])])])])])]),t._v(" "),e("div",[e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-rounded-full",attrs:{type:"button"},on:{click:function(e){return t.$emit("selectedOrder",t.order)}}},[t._v("\n        Select Products\n      ")])])])])}),[],!1,null,"1cedb832",null).exports,RefillItem:gn,InlineError:Zt.Z},props:{selectedRefillableOrder:{type:Object,default:null}},data:function(){return{orders:null,selectedOrder:null,selectedProducts:[],selectedProduct:{},quarterlyPercentage:"10",halfYearlyPercentage:"15",yearlyPercentage:"20",theProgram:null,showRefillOptions:!0,questions:["refill_options","quantity","supply"],activeQuestion:0,supplySelected:!1,quantitySelected:!1,categoryOptions:[],selectedQuantity:{},fieldErrors:{quantity:[],supply:[]},formErrors:[],loadingOrders:!1,loadOrdersVersion:0,refillSubmitted:!1}},computed:{total:function(){var t=this.selectedProduct,e=this.productFrequency;this.theProgram;return this.pickedProducts.reduce((function(n,r){return t.product_id===r.id?n+parseFloat(t.price)*(t.quantity||1)*e:n+parseFloat(r.price)*e}),0)},pricingOpts:function(){return this.empty(this.selectedProduct)?[]:300===this.selectedProduct.id||300===this.selectedProduct.product_id?this.selectedProduct.pricing_options.filter((function(t){return"quintile"!==t.frequency||"half-yearly"!==t.frequency||"yearly"!==t.frequency})):this.selectedProduct.pricing_options},productFrequency:function(){var t=1;if(this.selectedProduct){if("quarterly"===this.selectedProduct.frequency)return 3;if("quintile"===this.selectedProduct.frequency)return 5;if("half-yearly"===this.selectedProduct.frequency)return 6;if("yearly"===this.selectedProduct.frequency)return 12}return t},pickedProducts:function(){return this.selectedProducts.map((function(t){return t.product}))},showQuantityQuestion:function(){return"ed"===this.theProgram||(this.next(),!1)},selectedProductsWithFreq:function(){var t=this.selectedProduct.frequency;return this.selectedProducts.map((function(e){var n=xn(xn({},e.product),{},{frequency:t});return xn(xn({},e),{},{product:n})}))}}
2,created:function(){this.selectedRefillableOrder?(this.selectedOrder=this.selectedRefillableOrder,this.theProgram=this.selectedOrder.order_type):this.getRefillableOrders()},beforeDestroy:function(){this.loadOrdersVersion+=1,this.loadingOrders=!1},methods:{errorId:function(t){return"refill-"+this._uid+"-"+t},showFieldError:function(t,e){var n=this;this.fieldErrors[t]=[e],this.$nextTick((function(){var e=n.$refs[t+"Group"];e&&(e.scrollIntoView({block:"nearest"}),e.focus())}))},changeSelected:function(t){this.loadOrdersVersion+=1,this.loadingOrders=!1,this.formErrors=[],this.selectedOrder=t,this.theProgram=this.selectedOrder.order_type,this.setSelectedProduct()},submitRefillItems:function(){this.refillSubmitted||(this.refillSubmitted=!0,this.$emit("readyForRefillOrder",{order:this.selectedOrder,products:this.selectedProductsWithFreq,product:this.selectedProduct,program:this.theProgram,subtotal:this.total}))},getRefillableOrders:function(){var t=this;if(this.loadingOrders)return!1;var e=++this.loadOrdersVersion;return this.loadingOrders=!0,this.formErrors=[],axios.get("/get-refillable-orders").then((function(n){e===t.loadOrdersVersion&&(n&&n.data&&Array.isArray(n.data.orders)?t.orders=n.data.orders:t.formErrors=["We could not load your refill options. Please try again."])})).catch((function(){e===t.loadOrdersVersion&&(t.formErrors=["We could not load your refill options. Please try again."])})).finally((function(){e===t.loadOrdersVersion&&(t.loadingOrders=!1,t.formErrors.length&&t.$nextTick((function(){t.$refs.loadError&&t.$refs.loadError.focus()})))}))},addToSelected:function(t){if(this.selectedProducts.includes(t)){var e=this.selectedProducts.findIndex((function(e){return e.product_id===t.product_id}));this.selectedProducts.splice(e,1),this.setSelectedProduct()}else{var n=t;this.selectedProducts.push(n),this.setSelectedProduct()}},changePricing:function(t){this.selectedProduct=xn(xn({},this.selectedProduct),t),this.supplySelected=!0,this.fieldErrors.supply=[]},empty:function(t){return gt().isEmpty(t)},setSelectedProduct:function(){if(this.pickedProducts.length>1){if("weight_loss"==this.theProgram){var t=this.pickedProducts.findIndex((function(t){return 403===t.id}));this.selectedProduct=this.pickedProducts[t]}}else this.selectedProduct=this.pickedProducts[0];"ed"==this.theProgram&&this.makeEdOptions(this.selectedProduct)},back:function(){this.fieldErrors={quantity:[],supply:[]},this.refillSubmitted=!1,0!==this.activeQuestion?"ed"===this.theProgram||"supply"!==this.questions[this.activeQuestion]?this.activeQuestion=this.activeQuestion-1:this.activeQuestion=this.activeQuestion-2:this.$emit("cancel")},next:function(){this.refillSubmitted||("ed"!==this.theProgram||this.quantitySelected||"quantity"!==this.questions[this.activeQuestion]?this.supplySelected||"supply"!==this.questions[this.activeQuestion]?this.supplySelected&&"supply"===this.questions[this.activeQuestion]?this.submitRefillItems():this.activeQuestion++:this.showFieldError("supply","Please select a supply before proceeding"):this.showFieldError("quantity","Please select a quantity before proceeding"))},changeQuantity:function(t){"ed"===this.theProgram&&(this.selectedProduct.quantity=t.id),this.quantitySelected=!0,this.fieldErrors.quantity=[],this.selectedQuantity=t,this.next()},makeEdOptions:function(t){t&&361===t.id?this.categoryOptions=[{id:30,name:"Daily (30X/Mo)",price:0}]:this.categoryOptions=[{id:5,name:"5 times/month",price:0},{id:10,name:"10 times/month",price:0},{id:20,name:"20 times/month",price:0}]},calculateSupply:function(t){var e=this.selectedProduct.product_id||this.selectedProduct.id,n=this.pickedProducts.filter((function(t,n){return t.id!==e})).reduce((function(t,e){return t+parseFloat(e.price)}),0),r=1;"ed"===this.theProgram&&(r=this.selectedProduct.quantity);var i=t.price*r,o=n*r;return"quarterly"===t.frequency?(i*=3,o*=3):"quintile"===t.frequency?(i*=5,o*=5):"half-yearly"===t.frequency?(i*=6,o*=6):"monthly"===t.frequency?o*="ed"!==this.theProgram?1:6:"yearly"===t.frequency&&(i*=12,o*=12),(i+o).toFixed(2)}}};const Sn=(0,f.Z)(Cn,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-container tw-py-12 md:tw-py-24 tw-relative tw-min-h-full"},[t.formErrors.length?e("div",{ref:"loadError",attrs:{role:"group",tabindex:"-1","aria-label":"Available refills","aria-describedby":t.errorId("form")}},[e("InlineError",{attrs:{id:t.errorId("form"),messages:t.formErrors}}),t._v(" "),e("button",{staticClass:"tw-mt-3 tw-underline",attrs:{type:"button",disabled:t.loadingOrders},on:{click:t.getRefillableOrders}},[t._v("\n      Try again\n    ")])],1):t._e(),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.orders&&!t.selectedOrder?e("div",[e("div",{staticClass:"tw-py-2 tw-border-b tw-border-accent-green tw-flex tw-items-center tw-justify-between"},[e("h3",{staticClass:"tw-p-0 tw-m-0 tw-text-lg tw-leading-6 tw-font-medium tw-text-black"},[t._v("\n          Available Refills\n        ")]),t._v(" "),e("span",{staticClass:"tw-inline-flex tw-space-x-3 tw-shadow-sm"},[e("button",{staticClass:"tw-inline-flex tw-items-center tw-mr-3 tw-px-2 tw-py-1 tw-border tw-border-transparent tw-text-sm tw-leading-6 tw-font-medium tw-rounded-none tw-text-white tw-bg-red-600 hover:tw-bg-red-500 focus:tw-outline-none focus:tw-border-red-700 focus:tw-shadow-outline-red active:tw-bg-red-700 tw-transition tw-ease-in-out tw-duration-150",attrs:{type:"button"},on:{click:function(e){return t.$emit("cancel")}}},[t._v("\n            Back\n\n            "),e("svg",{staticClass:"tw--ml-1 tw-mr-1 tw-h-4 tw-w-4",attrs:{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"
2currentColor"}},[e("path",{attrs:{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z"}})])])])]),t._v(" "),e("div",{staticClass:"tw-bg-white tw-shadow-md tw-overflow-hidden tw-mt-6"},[e("ul",{staticClass:"tw-list-none tw-m-0 tw-p-0"},t._l(t.orders,(function(n,r){return e("li",{key:n.id,staticClass:"tw-p-0 tw-m-0",class:{"border-t":r>0}},[e("Order",{attrs:{order:n},on:{selectedOrder:t.changeSelected}})],1)})),0)])]):t.selectedOrder?e("div",["refill_options"===t.questions[t.activeQuestion]?e("div",[t._l(t.selectedOrder.refills,(function(n){return e("RefillItem",{key:n.id,attrs:{refill:n,"selected-products":t.selectedProducts},on:{addToSelected:t.addToSelected}})})),t._v(" "),e("div",{staticClass:"tw-w-full tw-flex tw-items-center tw-mt-4"},[e("div",{staticClass:"tw-flex-1 tw-flex tw-items-center"},[e("Transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[e("button",{staticClass:"multi-step-btn tw-btn tw-bg-gray-300 tw-flex tw-rounded-full",attrs:{type:"button",tabindex:"-1"},on:{click:function(e){return e.preventDefault(),t.back.apply(null,arguments)}}},[t._v("\n                ← Back\n              ")])])],1),t._v(" "),t.selectedProducts.length?e("div",{staticClass:"tw-flex-1 tw-flex tw-items-center tw-justify-end"},[e("Transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[e("button",{staticClass:"multi-step-btn tw-btn tw-bg-accent-green tw-flex tw-shadow-lg tw-rounded-full",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.next.apply(null,arguments)}}},[t._v("\n                Next →\n              ")])])],1):t._e()])],2):e("div",[e("Transition",{attrs:{name:"fade",mode:"out-in"}},["quantity"===t.questions[t.activeQuestion]&&t.showQuantityQuestion?e("div",{key:4,ref:"quantityGroup",attrs:{role:"group",tabindex:"-1","aria-labelledby":t.errorId("quantity-title"),"aria-invalid":t.fieldErrors.quantity.length?"true":null,"aria-describedby":t.fieldErrors.quantity.length?t.errorId("quantity"):null}},[e("div",[e("h2",{staticClass:"tw-text-4xl md:tw-text-6xl tw-font-bold tw-text-center tw-text-black",attrs:{id:t.errorId("quantity-title")}},[t._v("\n                Select Preferred Quantity\n              ")]),t._v(" "),e("p",{staticClass:"tw-text-base md:tw-text-xl tw-font-medium tw-text-gray-600 tw-text-center tw-w-full md:tw-w-2/3 tw-mx-auto"},[t._v("\n                How many times do you anticipate using this medication, if prescribed?\n              ")])]),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-flex-wrap"},t._l(t.categoryOptions,(function(n){return e("ul",{key:n.id,staticClass:"tw-space-y-3 tw-w-full md:tw-w-3/5 tw-mx-auto tw-mt-5 tw-pl-0"},[e("li",{staticClass:"tw-w-full tw-cursor-pointer tw-flex tw-justify-between tw-items-center tw-bg-white tw-overflow-hidden tw-rounded-3xl tw-px-6 tw-py-4 tw-text-gray-700 tw-border hover:tw-border-accent-green",class:{"tw-shadow-lg tw-border tw-bg-accent-green":n.id===t.selectedQuantity.id},attrs:{role:"button",tabindex:"0","aria-pressed":n.id===t.selectedQuantity.id?"true":"false"},on:{click:function(e){return t.changeQuantity(n)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.target!==e.currentTarget?null:(e.preventDefault(),t.changeQuantity(n))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])||e.target!==e.currentTarget?null:(e.preventDefault(),t.changeQuantity(n))}]}},[e("div",{staticClass:"tw-flex tw-flex-col tw-text-blue-500",class:{"tw-text-gray-700":n.id===t.selectedQuantity.id}},[e("span",[t._v(t._s(n.name))]),t._v(" "),e("span",{staticClass:"tw-text-sm tw-text-blue-600",class:{"tw-text-gray-700":n.id===t.selectedQuantity.id}},[t._v("\n                      You plan to use this medication this amount of times.\n                    ")])]),t._v(" "),e("svg",{staticClass:"tw-h-10 tw-w-10 tw-text-gray-700",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}})])])])})),0),t._v(" "),e("InlineError",{staticClass:"tw-w-full md:tw-w-3/5 tw-mx-auto",attrs:{id:t.errorId("quantity"),messages:t.fieldErrors.quantity}}
2)],1):t._e()]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.empty(t.selectedProduct)||"supply"!==t.questions[t.activeQuestion]?t._e():e("div",{key:1,ref:"supplyGroup",staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-full",attrs:{role:"group",tabindex:"-1","aria-labelledby":t.errorId("supply-title"),"aria-invalid":t.fieldErrors.supply.length?"true":null,"aria-describedby":t.fieldErrors.supply.length?t.errorId("supply"):null}},[e("div",[e("h2",{staticClass:"tw-mt-5 md:tw-mt-0 tw-text-4xl md:tw-text-6xl tw-text-black tw-font-bold tw-text-center tw-capitalize",attrs:{id:t.errorId("supply-title")}},[t._v("\n                Select Preferred Supply\n              ")]),t._v(" "),e("p",{staticClass:"tw-text-base md:tw-text-xl tw-font-medium tw-text-gray-600 tw-text-center tw-w-full md:tw-w-4/5 tw-mx-auto"},[t._v("\n                We have changed how we handle refills! "),e("br"),t._v(" Order multiple months and save!\n              ")])]),t._v(" "),e("ul",{staticClass:"tw-space-y-5 tw-w-full md:tw-w-3/5 md:tw-mx-auto tw-mt-10 tw-text-xl tw-pl-0"},t._l(t.pricingOpts.slice().reverse(),(function(n){return e("li",{key:n.id,staticClass:"tw-w-full tw-cursor-pointer tw-flex tw-flex-col tw-justify-between tw-items-center tw-bg-white tw-overflow-hidden tw-rounded-3xl tw-border hover:tw-border-accent-green tw-text-gray-700 tw-rounded-lg",class:{"tw-shadow-lg tw-border tw-border-accent-green":n.id===t.selectedProduct.id},attrs:{role:"button",tabindex:"0","aria-pressed":n.id===t.selectedProduct.id?"true":"false"},on:{click:function(e){return t.changePricing(n)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.target!==e.currentTarget?null:(e.preventDefault(),t.changePricing(n))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])||e.target!==e.currentTarget?null:(e.preventDefault(),t.changePricing(n))}]}},[e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-w-full tw-px-6 tw-py-4"},[e("div",{staticClass:"tw-flex tw-flex-col tw-text-gray-800"},[e("span",["yearly"===n.frequency?e("span",[e("span",{staticClass:"tw-flex tw-items-center tw-font-bold tw-capitalize"},[t._v("\n                          Ships every 12 months\n                          "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 tw-ml-2 tw-rounded-md tw-text-sm tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-no-wrap"},[t._v("\n                            Save "+t._s(t.yearlyPercentage)+"%\n                          ")])]),t._v(" "),e("span",{staticClass:"tw-block tw-text-base tw-mt-1"},[t._v("\n                          Receive a 12 months supply for "),e("span",{staticClass:"tw-text-black tw-font-bold"},[(t.theProgram,e("span",[t._v("\n                              $"+t._s(t.calculateSupply(n))+"\n                            ")]))]),t._v(" every 12 months, cancel anytime.\n                        ")])]):t._e(),t._v(" "),"half-yearly"===n.frequency?e("span",[e("span",{staticClass:"tw-flex tw-items-center tw-font-bold tw-capitalize"},[t._v("\n                          Ships every 6 months\n                          "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 tw-ml-2 tw-rounded-md tw-text-sm tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-nowrap"},[t._v("\n                            Save "+t._s(t.halfYearlyPercentage)+"%\n                          ")])]),t._v(" "),e("span",{staticClass:"tw-block tw-text-base tw-mt-1"},[t._v("\n                          Receive a 6 months supply for "),e("span",{staticClass:"tw-text-black tw-font-bold"},[(t.theProgram,e("span",[t._v("\n                              $"+t._s(t.calculateSupply(n))+"\n                            ")]))]),t._v(" every 6 months, cancel anytime.\n                        ")])]):t._e(),t._v(" "),"quintile"===n.frequency?e("span",[e("span",{staticClass:"tw-flex tw-items-center tw-font-bold tw-capitalize"},[t._v("\n                          Ships every 5 months\n                          "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 tw-ml-2 tw-rounded-md tw-text-sm tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-no-wrap"},[t._v("\n                            Save "+t._s(t.quintilePercentage)+"%\n                          ")])]),t._v(" "),e("span",{staticClass:"tw-block tw-text-base tw-mt-1"},[t._v("\n                          Receive a 5 months supply for "),e("span",{staticClass:"tw-text-black tw-font-bold"},[(t.theProgram,e("span",[t._v("\n                              $"+t._s(t.calculateSupply(n))+"\n                            ")]))]),t._v(" every 5 months, cancel anytime.\n                        ")])]):t._e(),t._v(" "),"quarterly"===n.frequency?e("span",[e("span",{staticClass:"tw-block tw-flex tw-items-center tw-font-bold tw-capitalize"},[t._v("\n                          Ships every 3 months\n                          "),e("span",{staticClass:"tw-inline-flex tw-items-center tw-px-2.5 tw-py-0.5 tw-ml-2 tw-rounded-md tw-text-sm tw-font-semibold tw-bg-green-200 tw-text-green-900 tw-whitespace-nowrap"},[t._v("\n                            Save "+t._s(t.quarterlyPercentage)+"%\n                          ")])]),t._v(" "),e("span",{staticClass:"tw-block tw-text-base tw-mt-1"},[t._v("\n                          Receive a 3 months supply for  "),e("span",{staticClass:"tw-text-black tw-font-bold"},[(t.theProgram,e("span",[t._v("\n                              $"+t._s(t.calculateSupply(n))+"\n                            ")]))]),t._v(" every 3 months, cancel anytime.\n                        ")])]):t._e(),t._v(" "),"monthly"===n.frequency&&5===t.selectedProduct.quantity&&"ed"==t.theProgram?e("span",[e("span",{staticClass:"tw-block tw-font-bold tw-capitalize tw-text-gray-600"},[t._v("\n                          Ships every month\n                        ")]),t._v(" "),e("span",{staticClass:"tw-block tw-text-base tw-text-gray-600"},[e("span",{staticClass:"tw-font-medium tw-block"},[t._v("\n                            Monthly shipping not available for your current selection.\n                          ")]),t._v(" "),e("span",{staticClass:"tw-mt-2 tw-block"},[t._v("\n                            Unlock additional savings and monthly shipping by "),e("a",{staticClass:"tw-text-black tw-u
2nderline tw-italics tw-cursor-pointer",on:{click:function(e){return e.stopPropagation(),t.back.apply(null,arguments)}}},[t._v("\n                              changing your quantity.\n                            ")])])])]):"monthly"===n.frequency?e("span",[e("span",{staticClass:"tw-block tw-font-bold tw-capitalize"},[t._v("\n                          Ships every month\n                        ")]),t._v(" "),e("span",{staticClass:"tw-block tw-text-base"},[t._v("\n                          Receive a 1 month supply for "),e("span",{staticClass:"tw-text-black tw-font-bold"},[(t.theProgram,e("span",[t._v("\n                              $"+t._s(t.calculateSupply(n))+"\n                            ")]))]),t._v(" every month, cancel anytime.\n                        ")])]):t._e()])]),t._v(" "),"monthly"===n.frequency&&t.selectedProduct.quantity<=5?e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-space-y-3"},[e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-black",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z","clip-rule":"evenodd"}})])]):e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-space-y-3"},[n.id!==t.selectedProduct.id?e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-gray-700 hover:tw-text-accent-green",attrs:{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}})]):e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-black",attrs:{fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}})])])])])})),0),t._v(" "),e("InlineError",{staticClass:"tw-w-full md:tw-w-3/5",attrs:{id:t.errorId("supply"),messages:t.fieldErrors.supply}})],1)]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.empty(t.selectedProduct)?t._e():e("div",{staticClass:"tw-text-black"},[e("div",{staticClass:"tw-w-full tw-flex tw-items-center tw-mt-4"},[e("div",{staticClass:"tw-flex-1 tw-flex tw-items-center"},[e("Transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[e("button",{staticClass:"multi-step-btn tw-btn tw-bg-gray-300 tw-flex tw-rounded-full",attrs:{type:"button",tabindex:"-1"},on:{click:function(e){return e.preventDefault(),t.back.apply(null,arguments)}}},[t._v("\n                    ← Back\n                  ")])])],1),t._v(" "),e("div",{staticClass:"tw-flex-1 tw-flex tw-items-center tw-justify-end"},[e("Transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[t.empty(t.selectedProduct)?t._e():e("button",{staticClass:"multi-step-btn tw-btn tw-bg-black tw-text-white tw-flex tw-shadow-lg tw-rounded-full",attrs:{type:"button",disabled:t.refillSubmitted},on:{click:function(e){return e.preventDefault(),t.next.apply(null,arguments)}}},[t._v("\n                    Next →\n                  ")])])],1)])])])],1)]):t._e()])],1)}),[],!1,null,null,null).exports,Pn={methods:{updateRefillProducts:function(t){this.selectedProgram=t.order.order_type,this.refillItems=t.products;var e=[];if(t.products.forEach((function(t){e.push(t.product)})),"weight_loss"===this.selectedProgram){var n=!1;e.forEach((function(t){10===t.category_id&&(n=!0)})),n||(this.selectedProgram="ub")}this.selectedProducts={products:{product:t.product,ultra_burn:null,supplements:[]}},e.length>1?(e.shift(),this.selectedProducts.products.addons=e):this.selectedProducts.products.addons=[],this.selectedProducts.subtotal=t.subtotal,this.subtotal=t.subtotal,this.refilling=!1,this.started=!0},checkForRefill:function(){return axios.post("/check-for-refill",{})},checkForProgramRefill:function(t){return axios.post("/check-for-program-refills",{program:t})}}};var An=n(96936),On=n(21243);const Tn={props:{show:{required:!0,type:Boolean,default:!1},orderNumber:{required:!1,type:String,default:null},programName:{required:!1,type:String,default:"this program"}},data:function(){return{isNavigating:!1}},methods:{resumeEnrollment:function(){this.orderNumber?(this.isNavigating=!0,window.location.href="/enroll/".concat(this.orderNumber,"/resume")):console.error("No order number provided for resume")},selectDifferentProgram:function(){this.$emit("select-different-program")}}};var En=n(84563),In={insert:"head",singleton:!1};y()(En.Z,In);En.Z.locals;const Nn=(0,f.Z)(Tn,(function(){var t=this,e=t._self._c;return e("Transition",[t.show?e("div",[e("div",{staticClass:"tw-fi
2xed tw-z-10 tw-inset-0 tw-overflow-y-auto"},[e("div",{staticClass:"tw-flex tw-items-end tw-justify-center tw-min-h-screen tw-pt-4 tw-px-4 tw-pb-20 tw-text-center sm:tw-block sm:tw-p-0"},[e("div",{staticClass:"tw-fixed tw-inset-0 tw-transition-opacity"},[e("div",{staticClass:"tw-absolute tw-inset-0 tw-bg-gray-500 tw-opacity-75"})]),t._v(" "),e("span",{staticClass:"tw-hidden sm:tw-inline-block sm:tw-align-middle sm:tw-h-screen"}),t._v("​\n        "),e("div",{staticClass:"tw-inline-block tw-align-bottom tw-bg-white tw-rounded-2xl tw-px-4 tw-pt-5 tw-pb-4 tw-text-left tw-overflow-hidden tw-shadow-xl tw-transform tw-transition-all sm:tw-my-8 sm:tw-align-middle sm:tw-max-w-lg sm:tw-w-full sm:tw-px-6 sm:tw-py-10",attrs:{role:"dialog","aria-modal":"true","aria-labelledby":"modal-headline"}},[e("div",{staticClass:"tw-w-full"},[e("div",{staticClass:"tw-flex tw-items-center tw-justify-center"},[e("svg",{attrs:{width:"50",height:"65",viewBox:"0 0 85 85",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M42.5 84C65.4198 84 84 65.4198 84 42.5C84 19.5802 65.4198 1 42.5 1C19.5802 1 1 19.5802 1 42.5C1 65.4198 19.5802 84 42.5 84Z",stroke:"black","stroke-width":"1.5"}}),t._v(" "),e("path",{attrs:{d:"M34 30.3077C34 25.7195 37.8055 22 42.5 22C47.1945 22 51 25.7195 51 30.3077C51 31.9615 50.5057 33.5025 49.6532 34.7972C47.1129 38.6557 42.5 42.3347 42.5 46.9231V49",stroke:"black","stroke-width":"1.5","stroke-linecap":"round"}}),t._v(" "),e("path",{attrs:{d:"M42 63H43",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]),t._v(" "),e("div",{staticClass:"tw-mt-3 tw-text-center sm:tw-mt-5"},[e("h2",{staticClass:"tw-text-3xl tw-font-medium tw-mb-2 tw-text-center"},[t._v("\n                Incomplete Enrollment Found\n              ")]),t._v(" "),e("div",{staticClass:"tw-my-4"},[e("p",{staticClass:"tw-leading-none tw-text-center tw-text-xl tw-font-medium"},[t._v("\n                  You have an incomplete enrollment for "),e("strong",[t._v(t._s(t.programName))]),t._v(".\n                  "),e("br"),t._v(" "),e("span",{staticClass:"tw-mt-2 tw-inline-block"},[t._v("\n                    Please complete your previous enrollment to continue.\n                  ")])])])])]),t._v(" "),e("div",{staticClass:"tw-mt-5 sm:tw-mt-6 tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-4/6 tw-mx-auto"},[e("div",{staticClass:"tw-flex tw-w-full"},[e("button",{staticClass:"tw-cursor-pointer tw-inline-flex tw-uppercase tw-justify-center tw-w-full tw-px-4 tw-py-3 tw-text-base tw-leading-6 tw-font-semibold tw-text-white tw-shadow-sm hover:tw-text-black focus:outline-none focus:border-white focus:shadow-outline sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-bg-brand-brown tw-transition-all tw-duration-500",class:{"tw-opacity-75 tw-cursor-not-allowed":t.isNavigating},attrs:{disabled:t.isNavigating,type:"button"},on:{click:function(e){return e.preventDefault(),t.resumeEnrollment.apply(null,arguments)}}},[t._v("\n                "+t._s(t.isNavigating?"Redirecting...":"Complete Enrollment Questions")+"\n              ")])]),t._v(" "),e("div",{staticClass:"tw-mt-3 tw-flex tw-w-full"},[e("button",{staticClass:"tw-cursor-pointer tw-inline-flex tw-uppercase tw-justify-center tw-w-full tw-border tw-border-black tw-px-4 tw-py-3 tw-bg-white tw-text-base tw-leading-6 tw-font-medium tw-text-black tw-shadow-sm hover:tw-bg-gray-200 hover:tw-text-black tw-transition-all tw-duration-500 focus:tw-outline-none focus:tw-border-black sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-shadow-lg",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.selectDifferentProgram.apply(null,arguments)}}},[t._v("\n                Select a Different Program\n              ")])])])])])])]):t._e()])}),[],!1,null,"e3f0a752",null).exports;function Mn(t){return Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mn(t)}function Rn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Dn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
vendor: 4,406 bytes, line 2
2e%2?Rn(Object(n),!0).forEach((function(e){jn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function jn(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Mn(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Mn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Mn(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bn(t){return function(t){if(Array.isArray(t))return qn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Fn(t)||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 Ln(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||Fn(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fn(t,e){if(t){if("string"==typeof t)return qn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qn(t,e):void 0}}function qn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Qn(){Qn=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,i){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new S(i||[]);return r(a,"_invoke",{value:_(t,n,s)}),a}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var d={};function h(){}function f(){}function p(){}var w={};l(w,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(P([])));v&&v!==e&&n.call(v,o)&&(w=v);var g=p.prototype=h.prototype=Object.create(w);function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function i(r,o,a,s){var l=c(t[r],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Mn(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return A()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function x(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&
vendor: 4,487 bytes, line 2
2(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=c(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,d;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:A}}function A(){return{value:void 0,done:!0}}return f.prototype=p,r(g,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),l(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new b(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(g),l(g,s,"Generator"),l(g,o,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=P,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:P(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function Un(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function Vn(t){return function(){var e=this,n=arguments;
2return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Un(o,r,i,a,s,"next",t)}function s(t){Un(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Hn(t,e){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout((function(){clearTimeout(n),t.apply(void 0,i)}),e)}}const Gn={components:{ModalWrapper:De.Z,EnrollmentForm:cn,ProgramSelector:wn,HcgNews:mn.default,OrderSelector:Sn,ReporterIssuePopUp:On.Z,ReportIssueSubmitter:An.Z,IncompleteEnrollmentModal:Nn},mixins:[u.Z,_t.Z,Pn],props:{initialProgram:{type:String,default:null},paymentGateway:{required:!0,type:String},allergies:{required:!0,type:Array},medications:{required:!0,type:Array},conditions:{required:!0,type:Array},initialUser:{default:null,type:Object},shippingMethods:{required:!0,type:Object},shopLocked:{required:!0,type:Boolean},bannedAddresses:{required:!0,type:Array},additionalEnrollmentData:{type:Object,required:!0},showBucks:{type:String,required:!1,default:"false"}},data:function(){return{loaded:!1,login:!1,selectedCountry:"US",subtotal:0,started:!1,selectedProducts:null,selectedSubscription:null,weRocked:!1,programs:["weight_loss","weight_tain","ub","b12","hrt","ed","wsp","scream-cream","pct","hair loss","hair_loss","hair-loss","hair+loss","supplements","testosterone","sleep","trt"],complete:!1,showTerms:!1,user:null,lowestPrice:null,conversion:null,initProducts:null,initEnrollment:null,selectedProgram:"",tempProducts:null,showRestart:!1,HcgNewsIsEnabled:"false",refillableOrders:null,refillItems:[],refilling:!1,selectedRefillableOrder:null,showHasProgramRefillAlert:!1,showRefillAlert:!1,dontSellTestosteroneModal:!1,dontSellTestosterone:!1,testosteroneCanSell:null,initialStateSelected:!1,upsalePrograms:[],firstWLQuestion:null,isUpdatingProgram:!1,isUpdatingProducts:!1,updateQueue:[],isProcessingQueue:!1,showLogin:!1,productsPicked:!1,guestMode:!0,guestData:{selectedProducts:null,selectedSubscription:null,answers:{}},showIncompleteModal:!1,incompleteOrderNumber:null,incompleteProgramName:null}},computed:{questionPrograms:function(){return["general",this.selectedProgram]},coupon:function(){return this.$store.getters.coupon},calculateProgramName:function(){return"ub"===this.selectedProgram?"Ultra Burn":"weight_loss"===this.selectedProgram?"Weight Loss":"weight_tain"===this.selectedProgram?"Weight Tain":"ed"===this.selectedProgram?"Erectile Dysfunction":"wsp"===this.selectedProgram?"Scream Cream":"hrt"===this.selectedProgram?"Peptides":"b12"===this.selectedProgram?"B12":"hair loss"===this.selectedProgram?"Hair Loss":"supplements"===this.selectedProgram?"Supplements":"pct"===this.selectedProgram?"Post Cycle Therapy":"testosterone"===this.selectedProgram?"Testosterone":"trt"===this.selectedProgram?"Enclomiphene":""},hasWaytlessUpsale:function(){var t,e;return(null===(t=this.selectedProducts)||void 0===t||null===(e=t.products)||void 0===e?void 0:e.waytless)&&Object.keys(this.selectedProducts.products.waytless).length>0},emailPrefill:function(){return""!==this.urlParameter("email")?this.urlParameter("email"):null},isNubodySubscription:function(){return!!this.selectedSubscription},programsRequiringSubscription:function(){return["ed","weight_loss","weight_tain","ub","hrt","testosterone","trt"]}},watch:{selectedProgram:function(t,e){this.isUpdatingProgram||t===e||t&&(console.log("selected program changed watcher",t),this.getConversionData())},user:function(t,e){e&&!t&&this.productsPicked&&(console.warn("User session expired after product selection"),this.$bus.$emit("flash-message",{message:"Your session expired. Please log in to continue.",type:"warning"}),this.showLogin=!0,this.login=!0,this.started=!1)}},mounted:function(){var t=this;this.boundBeforeUnloadHandler=this.warnUserAboutDataLoss.bind(this),window.addEventListener("beforeunload",this.boundBeforeUnloadHandler),this.initializeBusHandlers(),this.initialUser?(console.log("existing user",this.initialUser),this.user=this.initialUser,this.trackAuthenticatedUserExternalCid(this.user),this.loaded=!0,this.started=!0,this.login=!1,this.guestMode=!1,this.productsPicked=!1,this.initializeSelectedProgram(),this.safeFireEverflowConversion(this.initialUser),this.selectedProgram&&(this.getConversionData(),this.$nextTick(Vn(Qn().mark((function e(){return Qn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.checkForIncompleteEnrollmentOnLoad();case 2:case"end":return e.stop()}}),e)})))))):(console.log("newly onboarded user - starting in guest mode"),this.guestMode=!0,this.login=!1,this.started=!1,this.initializeSelectedProgram(),this.loaded=!0),this.safeScrollToTop(),this.safeTrackEvent("At Program Options")},beforeDestroy:function(){this.boundBeforeUnloadHandler&&window.removeEventListener("beforeunload",this.boundBeforeUnloadHandler),this.cleanupBusHandlers(),this.updateQueue.length>0&&(this.updateQueue=[])},created:function(){this.debouncedUpdateConversionProducts=Hn(this.updateConversionProducts.bind(this),300),this.debouncedUpdateConversionEnrollment=Hn(this.updateConversionEnrollment.bind(this),300)},methods:{initializeBusHandlers:function(){var t=this,e={"restart-enrollment":this.handleRestartEnrollment,"goto-my-account":this.handleGotoMyAccount,"remove-ultraburn":this.handleRemoveUltraburn,"updated-waytless-upsale":this.handleUpdatedWaytlessUpsale,"updated-ultraburn-upsale":this.handleUpdatedUltraburnUpsale};Object.entries(e).forEach((function(e){var n=Ln(e,2),r=n[0],i=n[1];
2window.Bus.$on(r,i.bind(t))}))},cleanupBusHandlers:function(){["restart-enrollment","goto-my-account","remove-ultraburn","updated-waytless-upsale","updated-ultraburn-upsale"].forEach((function(t){window.Bus.$off(t)}))},handleRestartEnrollment:function(){try{this.restart(),window.removeEventListener("beforeunload",this.boundBeforeUnloadHandler)}catch(t){console.error("Error in restart-enrollment handler:",t)}},handleGotoMyAccount:function(t){try{this.reset(),window.location.assign("/auto-refills?fh=".concat(t.id)),window.removeEventListener("beforeunload",this.boundBeforeUnloadHandler)}catch(t){console.error("Error in goto-my-account handler:",t)}},handleRemoveUltraburn:function(){try{var t=this.hasWaytlessUpsale?1:this.productFrequency(this.selectedProducts.products.ultra_burn.frequency);this.selectedProducts.subtotal=this.subtotal=Number(this.selectedProducts.subtotal)-Number(this.isNubodySubscription?this.selectedProducts.products.ultra_burn.member_price:this.selectedProducts.products.ultra_burn.price)*t,this.selectedProducts.products.ultra_burn={},this.debouncedUpdateConversionProducts({selectedProducts:this.selectedProducts,activeQuestion:3,couponData:this.coupon})}catch(t){console.error("Error in remove-ultraburn handler:",t)}},handleUpdatedWaytlessUpsale:function(t){try{Object.keys(t.wl).length>0?this.addWaytlessProduct(t.wl):this.removeWaytlessProduct()}catch(t){console.error("Error in updated-waytless-upsale handler:",t)}},handleUpdatedUltraburnUpsale:function(t){try{Object.keys(t.ub).length>0?this.addUltraburnProduct(t.ub):this.removeUltraburnProduct()}catch(t){console.error("Error in updated-ultraburn-upsale handler:",t)}},addWaytlessProduct:function(t){var e=this,n=Number(this.isNubodySubscription?t.pricing.member_price:t.pricing.price)*this.productFrequency(t.pricing.frequency);this.selectedProducts.subtotal=this.subtotal=Number(this.selectedProducts.subtotal)+n,this.selectedProducts.products.waytless=t,this.upsalePrograms=Bn(new Set([].concat(Bn(this.upsalePrograms),["weight_loss"]))),this.initProducts&&(this.initProducts.selectedProducts.subtotal=this.subtotal,this.initProducts.selectedProducts.products.waytless=t),this.debouncedUpdateConversionProducts({selectedProducts:this.selectedProducts,activeQuestion:3,couponData:this.coupon}),setTimeout((function(){e.customError=null,e.showFlashMessage("Waytless has been added to your cart, you can continue with your enrollment.","success")}),1e3),this.firstWLQuestion="inner_waytless_upsale"},removeWaytlessProduct:function(){var t,e,n=this,r=(null==this||null===(t=this.selectedProducts)||void 0===t||null===(e=t.products)||void 0===e?void 0:e.waytless)&&Object.keys(this.selectedProducts.products.waytless).length>0,i=r?Number(this.isNubodySubscription?this.selectedProducts.products.waytless.pricing.member_price:this.selectedProducts.products.waytless.pricing.price)*this.productFrequency(this.selectedProducts.products.waytless.pricing.frequency):0;this.selectedProducts.subtotal=this.subtotal=Number(this.selectedProducts.subtotal)-i,this.selectedProducts.products.waytless={},this.upsalePrograms=this.upsalePrograms.filter((function(t){return"weight_loss"!==t})),this.initProducts&&(this.initProducts.selectedProducts.subtotal=this.subtotal,this.initProducts.selectedProducts.products.waytless={}),this.debouncedUpdateConversionProducts({selectedProducts:this.selectedProducts,activeQuestion:3,couponData:this.coupon}),r&&setTimeout((function(){n.customError=null,n.showFlashMessage("Waytless has been removed from your cart, you can continue with your enrollment.","success")}),1e3)},addUltraburnProduct:function(t){var e,n,r,i,o,a,s,l=this,u=this.hasWaytlessUpsale?1:null===(e=this.selectedProducts)||void 0===e||null===(n=e.products)||void 0===n?void 0:n.productFrequency;t.frequency=this.hasWaytlessUpsale?this.selectedProducts.products.waytless.frequency:null===(r=this.selectedProducts)||void 0===r||null===(i=r.products)||void 0===i||null===(o=i.product)||void 0===o?void 0:o.frequency,this.selectedProducts.subtotal=this.subtotal=Number(null!==(a=null===(s=this.selectedProducts)||void 0===s?void 0:s.subtotal)&&void 0!==a?a:0)+Number(this.isNubodySubscription?t.member_price:t.price)*u,this.selectedProducts.products.ultra_burn=t,this.initProducts&&(this.initProducts.selectedProducts.subtotal=this.subtotal,this.initProducts.selectedProducts.products.ultra_burn=t),this.debouncedUpdateConversionProducts({selectedProducts:this.selectedProducts,activeQuestion:3,couponData:this.coupon}),setTimeout((function(){l.customError=null,l.showFlashMessage("The product Ultra Burn, has been added to your cart, you can continue with your enrollment.","success")}),1e3)},removeUltraburnProduct:function(){var t=this,e=Object.keys(this.selectedProducts.products.ultra_burn).length>0;this.selectedProducts.subtotal=this.subtotal=Number(this.selectedProducts.subtotal)-Number(this.isNubodySubscription?this.selectedProducts.products.ultra_burn.member_price:this.selectedProducts.products.ultra_burn.price)*this.selectedProducts.products.productFrequency,this.selectedProducts.products.ultra_burn={},this.initProducts&&(this.initProducts.selectedProducts.subtotal=this.subtotal,this.initProducts.selectedProducts.products.ultra_burn={}),this.debouncedUpdateConversionProducts({selectedProducts:this.selectedProducts,activeQuestion:3,couponData:this.coupon}),e&&setTimeout((function(){t.customError=null,t.showFlashMessage("The product Ultra Burn, has been removed from your cart, you can continue with your enrollment.","success")}),1e3)},showFlashMessage:function(t,e){this.$bus&&this.$bus.$emit&&this.$bus.$emit("flash-message",{message:t,type:e})},safeScrollToTop:function(){var t=this;setTimeout((function(){try{window.scrollTo({top:0,behavior:"smooth",block:"start"})}catch(e){try{window.scroll(0,0),document.body.scrollTop=0,document.body.scrollLeft=0}catch(t){console.error("Error scrolling to top:",t)}t.safeNotifyBugsnag(e)}}),500)},safeTrackEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{"undefined"!=typeof window&&"undefined"!=typeof mixpanel&&mixpanel.track(t,e)}catch(t){console.error("Error tracking event:",t)}},safeFireEverflowConversion:function(t){try{"undefined"!=typeof window&&"undefined"!=typeof EF&&EF.conversion&&EF.conversion({offer_id:1,event_id:4,email:t.email})}catch(t){console.error("Error firing Everflow conversion:",t)}},safeNotifyBugsnag:function(t){try{"undefined"!=typeof bugsnagClient&&bugsnagClient.notify&&bugsnagClient.notify(t)}catch(t){console.error("Error notifying Bugsnag:",t)}},productFrequency:function(t){return{quarterly:3,quintile:5,"half-yearly":6,yearly:12}[t]||1},checkTestosterone:function(){var t=this;(this.initialUser||this.user)&&axios.post("/json/check-testosterone-eligibility",{user:this.initialUser?this.initialUser:this.user}).then((function(e){e.data.dont_sell&&(t.dontSellTestosteroneModal=!0,t.dontSellTestosterone=!0,t.selectedProducts=null,t.selectedProgram=null,t.testosteroneCanSell=e.data.can_buy_on_date)})).catch((function(e){console.error("Error checking testosterone eligibility:",e),t.s
2afeNotifyBugsnag(e)}))},getConversionData:function(){var t=this;return Vn(Qn().mark((function e(){var n,r,i;return Qn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("getting conversion data and auto jumping to previous answers"),n=t,console.log("selectedProgram in getConversionData:",n.selectedProgram),e.prev=3,e.next=6,axios.get("/json/conversion",{params:{order_type:n.selectedProgram}});case 6:r=e.sent,(i=r.data)?(console.log("Found/created conversion:",i),n.conversion=i,i.products&&(console.log("Restoring products from conversion:",i.products),n.initProducts=i.products,n.initEnrollment=i.enrollment,i.products.selectedProducts&&(n.selectedProducts=i.products.selectedProducts,n.subtotal=i.products.selectedProducts.subtotal||0),n.initProducts&&n.selectedProgram&&(n.showRestart=!0)),n.tempProducts&&(console.log("Posting tempProducts to newly loaded conversion:",n.tempProducts),n.debouncedUpdateConversionProducts(n.tempProducts),n.tempProducts=null)):console.log("No conversion returned from backend"),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(3),console.error("Error fetching conversion:",e.t0),n.safeNotifyBugsnag(e.t0);case 15:return e.prev=15,n.loaded=!0,e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[3,11,15,18]])})))()},createConversionPromise:function(){var t=this;return null===this.selectedProgram||null===this.user&&null===this.initialUser?(console.log("selectedProgram/user/initialUser is empty, skipping conversion promise request"),Promise.reject(new Error("selectedProgram is empty"))):axios.get("/json/conversion",{params:{order_type:this.selectedProgram}}).catch((function(e){throw t.safeNotifyBugsnag(e),e}))},setInitialState:function(t){this.initialStateSelected=t,!this.user&&this.selectedProgram&&(this.login=!0)},updateConversionProducts:function(t){var e=this;if(this.isUpdatingProducts)return this.updateQueue.push({type:"products",data:t}),void this.processUpdateQueue();this.isUpdatingProducts=!0,this.conversion?axios.post("/json/conversion/products/"+this.conversion.id,t).then((function(){console.log("Products saved to conversion:",e.conversion.id),e.isUpdatingProducts=!1,e.processUpdateQueue()})).catch((function(t){console.error("Error saving products to conversion:",t),e.safeNotifyBugsnag(t),e.isUpdatingProducts=!1,e.processUpdateQueue()})):(console.log("No conversion yet, storing products in temp buffer"),this.tempProducts=t,this.isUpdatingProducts=!1)},updateConversionEnrollment:function(t){var e=this;return Vn(Qn().mark((function n(){return Qn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.isUpdatingProducts){n.next=4;break}return e.updateQueue.push({type:"enrollment",data:t}),e.processUpdateQueue(),n.abrupt("return");case 4:if(e.isUpdatingProducts=!0,n.prev=5,e.conversion){n.next=13;break}return n.next=9,e.createConversionPromise().then((function(t){e.conversion=t.data,console.log("Conversion created for enrollment save:",e.conversion)}));case 9:if(e.conversion){n.next=13;break}return console.log("Failed to create conversion for enrollment"),e.isUpdatingProducts=!1,n.abrupt("return");case 13:return console.log("Saving enrollment to conversion:",e.conversion.id),n.next=16,axios.post("/json/conversion/enrollment/"+e.conversion.id,t);case 16:if(!e.tempProducts){n.next=21;break}return console.log("Posting tempProducts after enrollment save:",e.tempProducts),n.next=20,axios.post("/json/conversion/products/"+e.conversion.id,e.tempProducts);case 20:e.tempProducts=null;case 21:n.next=27;break;case 23:n.prev=23,n.t0=n.catch(5),console.error("Error updating conversion enrollment:",n.t0),e.safeNotifyBugsnag(n.t0);case 27:return n.prev=27,e.isUpdatingProducts=!1,e.processUpdateQueue(),n.finish(27);case 31:case"end":return n.stop()}}),n,null,[[5,23,27,31]])})))()},processUpdateQueue:function(){var t=this;this.isProcessingQueue||0===this.updateQueue.length||(this.isProcessingQueue=!0,setTimeout((function(){var e=t.updateQueue.shift();e&&("products"===e.type?t.updateConversionProducts(e.data):"enrollment"===e.type&&t.updateConversionEnrollment(e.data)),t.isProcessingQueue=!1}),100))},programSelected:function(t,e){var n=this;return Vn(Qn().mark((function r(){return Qn().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!n.isUpdatingProgram){r.next=2;break}return r.abrupt("return");case 2:if(n.isUpdatingProgram=!0,n.selectedProgram=t,console.log("program selected",t,e),n.updateUrlParameters(Dn(Dn({},n.getUrlParameters()),{},{program:t,filter:e})),!n.user&&!n.initialUser){r.next=15;break}return r.next=9,n.checkForIncompleteEnrollment(t);case 9:if(!r.sent){r.next=13;break}return n.isUpdatingProgram=!1,r.abrupt("return");case 13:console.log("fetching conversion data for authenticated user"),n.getConversionData();case 15:n.login=!1,n.started=!0,setTimeout((function(){n.isUpdatingProgram=!1}),100);case 18:case"end":return r.stop()}}),r)})))()},checkForIncompleteEnrollment:function(t){var e=this;return Vn(Qn().mark((function n(){var r,i;return Qn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,axios.post("/enroll/check-incomplete",{program:t});case 3:if(r=n.sent,!(i=r.data).hasIncomplete||!i.orderNumber){n.next=11;break}return e.showIncompleteModal=!0,e.incompleteOrderNumber=i.orderNumber,e.incompleteProgramName=i.programName,console.log("Incomplete enrollment found:",{orderNumber:i.orderNumber,programName:i.programName}),n.abrupt("return",!0);case 11:return n.abrupt("return",!1);case 14:return n.prev=14,n.t0=n.catch(0),console.error("Error checking for incomplete enrollment:",n.t0),n.abrupt("return",!1);case 18:case"end":return n.stop()}}),n,null,[[0,14]])}
2)))()},checkForIncompleteEnrollmentOnLoad:function(){var t=this;return Vn(Qn().mark((function e(){return Qn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.selectedProgram){e.next=2;break}return e.abrupt("return");case 2:return console.log("Checking for incomplete enrollment on load for program:",t.selectedProgram),e.next=5,t.checkForIncompleteEnrollment(t.selectedProgram);case 5:e.sent&&(t.selectedProgram=null,t.started=!1,console.log("Incomplete enrollment detected - showing modal and preventing program selection"));case 7:case"end":return e.stop()}}),e)})))()},handleSelectDifferentProgram:function(){console.log("User chose to select a different program"),this.showIncompleteModal=!1,this.selectedProgram=null,this.started=!1,this.login=!1,window.history.replaceState(null,null,window.location.pathname),console.log("Showing program selector")},restart:function(){(this.user||this.initialUser)&&(this.updateConversionProducts(null),this.updateConversionEnrollment(null)),this.initProducts=null,this.selectedProgram=null,this.selectedProducts=null,this.clearGuestData(),window.history.replaceState(null,null,window.location.pathname),this.showRestart&&(this.showRestart=!1)},reset:function(){(this.user||this.initialUser)&&(this.updateConversionProducts(null),this.updateConversionEnrollment(null)),this.initProducts=null,this.selectedProgram=null,this.selectedProducts=null,this.clearGuestData(),this.showRestart&&(this.showRestart=!1)},clearGuestData:function(){this.guestData={selectedProducts:null,selectedSubscription:null,answers:{}},this.productsPicked=!1,this.showLogin=!1,this.guestMode=!this.user&&!this.initialUser,console.log("Guest data cleared")},unrock:function(){this.selectedProducts=null,this.subtotal=0,this.weRocked=!1},checkForProgramChange:function(){var t,e,n;"TESTOSTERONE"===(null===(t=this.selectedProducts)||void 0===t||null===(e=t.products)||void 0===e||null===(n=e.product)||void 0===n?void 0:n.name)&&(this.selectedProgram="testosterone")},rock:function(t){var e,r;console.log("rock data method starts",t),this.showPaymentForm=!0;try{var i=(0,n(97466).v4)();"function"==typeof window.fbq&&window.fbq("track","InitiateCheckout",{content_ids:t.products.products.product.id,content_type:"product",currency:"USD",value:t.products.subtotal},{eventID:"".concat(i)}),axios.post("/json/track-fb-event/checkout",{price:t.products.subtotal,eventId:i}).catch((function(t){console.error("Error tracking FB event:",t)}))}catch(t){console.error("Error in rock method tracking:",t)}this.safeTrackEvent("Initiated Checkout",{order_type:this.selectedProgram}),"testosterone"===this.selectedProgram&&this.checkTestosterone(),this.selectedProducts=t.products,console.log("selected products",this.selectedProducts),this.selectedSubscription=t.subscription,console.log("selected subscription",this.selectedSubscription),this.checkForProgramChange(),this.selectedProducts.subtotal=this.subtotal=t.products.subtotal+(null!==(e=null===(r=t.subscription)||void 0===r?void 0:r.price)&&void 0!==e?e:0),null===this.user&&null===this.tempProducts&&null===this.initialUser?(this.tempProducts={selectedProducts:this.selectedProducts,activeQuestion:3,couponData:this.coupon},console.log("temp products",this.tempProducts)):this.debouncedUpdateConversionProducts({selectedProducts:this.selectedProducts,activeQuestion:3,couponData:this.coupon}),this.weRocked=!0,console.log("rock data method ends",this.tempProducts),this.user||this.initialUser?(this.started=!0,this.login=!1,this.productsPicked=!0,this.user=this.user||this.initialUser,console.log("Existing user - show checkout form",this.started,this.login,this.user)):(this.productsPicked=!0,this.showLogin=!0,this.login=!0,this.started=!1,this.guestData.selectedProducts=this.selectedProducts,this.guestData.selectedSubscription=this.selectedSubscription,console.log("Guest mode - products selected, showing login",{productsPicked:this.productsPicked,showLogin:this.showLogin,guestData:this.guestData}),this.safeTrackEvent("Guest Product Selection",{program:this.selectedProgram,products:this.selectedProducts,subtotal:this.subtotal,timestamp:(new Date).toISOString()}))},warnUserAboutDataLoss:function(t){if((this.selectedProgram||this.productsPicked)&&!this.complete)return t.preventDefault(),t.returnValue="",this.productsPicked&&!this.user?"You have selected products but haven't logged in. Your selection will be lost if you leave.":"Are you sure you want to leave this page? Your answers might be lost."},initializeSelectedProgram:function(){if("supplements"===this.urlParameter("program")){if("supplements"!==this.urlParameter("question"))return void this.restart();this.selectedProgram="supplements"}console.log("initial program",this.initialProgram),console.log("url program",this.urlParameter("program"));var t=this.initialProgram||this.urlParameter("program");this.urlParameter("program")&&(this.selectedProgram=this.urlParameter("program"),console.log("selectedProgram via url",this.selectedProgram)),"hcg"===t&&(t="weight_loss",this.selectedProgram="weight_loss"),console.log("selected program",t,this.selectedProgram,this.programs),t&&this.programs.includes(t.toLowerCase())?(this.selectedProgram=t.toLowerCase(),console.log("selected program",t,this.selectedProgram),"hair-loss"!==this.selectedProgram&&"hair+loss"!==this.selectedProgram&&"hair_loss"!==this.selectedProgram||(this.selectedProgram="hair loss")):(this.selectedProgram=null,console.log("No valid program category found. initialProgram:",this.initialProgram,"urlParameter(program):",this.urlParameter("program"))),this.loaded=!0,console.log("loaded set to true",this.loaded),this.login=!1,this.started=!0},start:function(t){this.loaded=!0,this.started=!0,this.login=!1,console.log("started prop set called with user",this.started),console.log("user logged in/registered",t),console.log(t),this.user=t.user,this.trackAuthenticatedUserExternalCid(this.user),console.log("user set",this.user),console.log("Login state =>",this.login)},authenticateAndContinue:function(t){var e,n=this;console.log("User authenticated after product selection",t),this.user=t.user,this.trackAuthenticatedUserExternalCid(this.user),this.showLogin=!1,this.guestMode=!1,this.started=!0,this.login=!1,this.selectedProducts=this.guestData.selectedProducts,this.selectedSubscription=this.guestData.selectedSubscription,this.subtotal=(null===(e=this.guestData.selectedProducts)||void 0===e?void 0:e.subtotal)||0,console.log("Restored products from guest mode:",this.selectedProducts),console.log("Restored subscription:",this.selectedSubscription),this.createConversionPromise().then((function(t){n.conversion=t.data,console.log("Conversion created with authenticated user:",n.conversion),n.debouncedUpdateConversionProducts({selectedProducts:n.selectedProducts,activeQuestion:3,couponData:n.coupon})})).catch((function(t){console.error("Error creating conversion after authentication:",t)})),this.safeFireEverflowConversion(this.user),this.safeTrackEvent("Authentication After Product Selection",{user_id:this.user.id,had_products:!!this.guestData.selectedProducts,program:this.selectedProgram,timestamp:(new Date).toISOString()}),console.log("Proceeding to checkout with authenticated user")},trackAuthenticatedUserExternalCid:function(t){var e=(0,Vt.Zk)(t);e&&(0,Vt.Rm)(e,{user:t})},completed:function(t){this.complete=t},goToRefills:function(){this.showRefillAlert=!1,this.refilling=!0},goToProgramRefill:function(){this.showHasProgramRefillAlert=!1,this.refilling=!0},continueWithOrder:function(){var t=this;this.showRefillAlert=!1,"testosterone"===this.selectedProgram&&this.checkTestosterone(),console.log("continue with order",this.selectedProgram,this.selectedProducts,this.tempProducts),this.selectedProgram?this.createConversionPromise().then((function(e){t.conversion=e.data,t.debouncedUpdateConversionProducts(t.tempProducts),console.log("conversion created",t.conversion),t.started=!0}
2)).catch((function(e){console.error("Error creating conversion:",e),t.started=!0})):(console.log("selectedProgram is not set, skipping conversion creation"),this.started=!0)},openReporterPopup:function(){this.$refs.ReporterIssuePopUp&&this.$refs.ReporterIssuePopUp.openPopup()}}},zn=Gn;const Wn=(0,f.Z)(zn,(function(){var t,e=this,n=e._self._c;return e.loaded?n("div",{staticClass:"tw-flex tw-flex-col tw-flex-1 tw-font-lato"},["true"!==e.HcgNewsIsEnabled||e.initProducts?e._e():n("HcgNews"),e._v(" "),n("ModalWrapper",{attrs:{show:e.showHasProgramRefillAlert&&!e.shopLocked}},[n("div",{staticClass:"tw-fixed tw-bottom-0 tw-inset-x-0 tw-px-4 tw-pb-6 sm:tw-inset-0 sm:tw-p-0 sm:tw-flex sm:tw-items-center sm:tw-justify-center"},[n("div",{staticClass:"tw-bg-white tw-px-4 tw-pt-5 tw-pb-4 tw-overflow-hidden sm:tw-max-w-lg sm:tw-w-full sm:tw-p-6"},[n("div",[n("div",{staticClass:"tw-mx-auto tw-flex tw-items-center tw-justify-center tw-h-12 tw-w-12 tw-rounded-full tw-bg-yellow"},[n("svg",{staticClass:"tw-h-12 tw-w-12 tw-text-white",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),e._v(" "),n("div",{staticClass:"tw-mt-3 tw-text-center sm:tw-mt-5"},[n("h3",{staticClass:"tw-text-2xl tw-leading-6 tw-ont-medium tw-text-gray-900"},[e._v("\n              Looks like you have a refill for this program\n            ")]),e._v(" "),n("div",{staticClass:"tw-mt-2"},[n("p",{staticClass:"tw-text-xl tw-leading-5 tw-text-gray-500"},[e._v("\n                Would you like to continue with your order or refill your\n                previous order?\n              ")])])])]),e._v(" "),n("div",{staticClass:"tw-mt-5 sm:tw-mt-6 tw-flex tw-flex-col lg:tw-flex-row"},[n("span",{staticClass:"tw-flex tw-w-full tw-rounded-md tw-shadow-sm sm:tw-col-start-2"},[n("button",{staticClass:"lg:tw-mr-4 tw-cursor-pointer tw-inline-flex tw-justify-center tw-w-full tw-border tw-border-transparent tw-px-4 tw-py-2 tw-bg-blue tw-text-base tw-leading-6 tw-font-medium tw-text-white tw-shadow-sm hover:tw-bg-blue-darker focus:tw-outline-none focus:tw-border-blue-darkest focus:tw-shadow-outline-blue sm:tw-text-sm sm:tw-leading-5",attrs:{type:"button"},on:{click:e.continueWithOrder}},[e._v("\n              Continue with a new order\n            ")])]),e._v(" "),n("span",{staticClass:"tw-mt-3 tw-flex tw-w-full tw-rounded-md tw-shadow-sm sm:tw-mt-0 sm:tw-col-start-1"},[n("button",{staticClass:"tw-cursor-pointer tw-inline-flex tw-justify-center tw-w-full tw-border tw-border-gray-light tw-px-4 tw-py-2 tw-bg-white tw-text-base tw-leading-6 tw-font-medium tw-text-gray-dark tw-shadow-sm hover:tw-text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline sm:tw-text-sm sm:tw-leading-5",attrs:{type:"button"},on:{click:e.goToProgramRefill}},[e._v("\n              Refill my previous order\n            ")])])])])])]),e._v(" "),n("ModalWrapper",{attrs:{show:e.showRefillAlert&&!e.shopLocked}},[n("div",{staticClass:"tw-fixed tw-bottom-0 tw-inset-x-0 tw-px-4 tw-pb-6 sm:tw-inset-0 sm:tw-p-0 sm:tw-flex sm:tw-items-center sm:tw-justify-center"},[n("div",{staticClass:"tw-bg-white tw-rounded-lg tw-px-4 tw-pt-5 tw-pb-4 tw-overflow-hidden tw-shadow-xl sm:tw-max-w-lg sm:tw-w-full sm:tw-p-6"},[n("div",[n("div",{staticClass:"tw-mx-auto tw-flex tw-items-center tw-justify-center tw-h-12 tw-w-12 tw-rounded-full tw-bg-yellow"},[n("svg",{staticClass:"tw-h-12 tw-w-12 tw-text-white",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),e._v(" "),n("div",{staticClass:"tw-mt-3 tw-text-center sm:tw-mt-5"},[n("h3",{staticClass:"tw-text-2xl tw-leading-6 tw-ont-medium tw-text-gray-900"},[e._v("\n              Looks like you have some refills available.\n            ")]),e._v(" "),n("div",{staticClass:"tw-mt-2"},[n("p",{staticClass:"tw-text-xl tw-leading-5 tw-text-gray-500"},[e._v("\n                Would you like to continue with your order or refill a\n                previous order?\n              ")])])])]),e._v(" "),n("div",{staticClass:"tw-mt-5 sm:tw-mt-6 tw-flex tw-flex-col lg:tw-flex-row"},[n("span",{staticClass:"tw-flex tw-w-full tw-rounded-md tw-shadow-sm sm:tw-col-start-2"},[n("button",{staticClass:"lg:tw-mr-4 tw-cursor-pointer tw-inline-flex tw-justify-center tw-w-full tw-border tw-border-transparent tw-px-4 tw-py-2 tw-bg-white tw-text-base tw-leading-6 tw-font-medium tw-text-gray-dark tw-shadow-sm hover:tw-bg-gray-500 focus:tw-outline-none focus:tw-border-blue-darkest focus:tw-shadow-outline-blue sm:tw-text-sm sm:tw-leading-5",attrs:{type:"button"},on:{click:e.continueWithOrder}}
2,[e._v("\n              Continue with a new order\n            ")])]),e._v(" "),n("span",{staticClass:"tw-mt-3 tw-flex tw-w-full tw-rounded-md tw-shadow-sm sm:tw-mt-0 sm:tw-col-start-1"},[n("button",{staticClass:"tw-cursor-pointer tw-inline-flex tw-justify-center tw-w-full tw-border tw-border-gray-light tw-px-4 tw-py-2 tw-bg-accent-green tw-text-base tw-leading-6 tw-font-medium tw-text-gray-dark tw-shadow-sm hover:tw-text-accent-green-light focus:outline-none focus:border-blue-300 focus:shadow-outline sm:tw-text-sm sm:tw-leading-5",attrs:{type:"button"},on:{click:e.goToRefills}},[e._v("\n              Refill a previous order\n            ")])])])])])]),e._v(" "),e.initProducts&&!e.shopLocked?n("ModalWrapper",{attrs:{show:e.showRestart},on:{hide:function(t){e.showRestart=!1}}},[n("div",{staticClass:"tw-fixed tw-bottom-0 tw-inset-x-0 tw-px-4 tw-pb-6 sm:tw-inset-0 sm:tw-p-0 sm:tw-flex sm:tw-items-center sm:tw-justify-center"},[n("div",{staticClass:"tw-bg-white tw-rounded-lg tw-px-4 tw-pt-5 tw-pb-4 tw-overflow-hidden tw-shadow-xl sm:tw-max-w-lg sm:tw-w-full sm:tw-p-6"},[n("div",{staticClass:"tw-w-full"},[n("div",{staticClass:"tw-flex tw-items-center tw-justify-center"},[n("svg",{attrs:{width:"65",height:"65",viewBox:"0 0 85 85",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M42.5 84C65.4198 84 84 65.4198 84 42.5C84 19.5802 65.4198 1 42.5 1C19.5802 1 1 19.5802 1 42.5C1 65.4198 19.5802 84 42.5 84Z",stroke:"black","stroke-width":"1.5"}}),e._v(" "),n("path",{attrs:{d:"M34 30.3077C34 25.7195 37.8055 22 42.5 22C47.1945 22 51 25.7195 51 30.3077C51 31.9615 50.5057 33.5025 49.6532 34.7972C47.1129 38.6557 42.5 42.3347 42.5 46.9231V49",stroke:"black","stroke-width":"1.5","stroke-linecap":"round"}}),e._v(" "),n("path",{attrs:{d:"M42 63H43",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e._v(" "),n("div",{staticClass:"tw-mt-3 tw-text-center sm:tw-mt-5"},[n("h2",{staticClass:"tw-text-3xl tw-font-medium tw-mb-2 tw-text-center"},[e._v("\n              Would you like to start over?\n            ")]),e._v(" "),n("div",{staticClass:"tw-my-4"},[n("p",{staticClass:"tw-leading-none tw-text-center tw-text-xl tw-font-thin"},[e._v("\n                You had previously started the following program:\n                "+e._s(e.calculateProgramName)+"\n              ")])])])]),e._v(" "),n("div",{staticClass:"tw-mt-5 sm:tw-mt-6 tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-4/6 tw-mx-auto"},[n("div",{staticClass:"tw-flex tw-w-full"},[n("button",{staticClass:"lg:tw-mr-4 tw-cursor-pointer tw-uppercase tw-inline-flex tw-justify-center tw-w-full tw-border tw-border-black tw-px-4 tw-py-3 tw-bg-white tw-text-base tw-leading-6 tw-font-medium tw-text-black tw-shadow-sm hover:tw-bg-gray-200 hover:tw-text-black tw-transition-all tw-duration-500 focus:tw-outline-none focus:tw-border-black sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-shadow-lg",attrs:{type:"button"},on:{click:e.restart}},[e._v("\n              Yes, select a different\n              program.\n            ")])]),e._v(" "),n("div",{staticClass:"tw-mt-2 tw-flex tw-w-full"},[n("button",{staticClass:"tw-cursor-pointer tw-inline-flex tw-uppercase tw-justify-center tw-w-full tw-px-4 tw-py-3 tw-text-base tw-leading-6 tw-font-medium tw-text-white tw-shadow-sm hover:tw-text-black focus:outline-none focus:border-white focus:shadow-outline sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-bg-brand-brown",attrs:{type:"button"},on:{click:function(t){e.showRestart=!1}}},[e._v("\n              No, continue with the same program\n            ")])])])])])]):e._e(),e._v(" "),e.dontSellTestosteroneModal?n("ModalWrapper",{attrs:{show:e.dontSellTestosteroneModal},on:{hide:function(t){e.dontSellTestosteroneModal=!1}}},[n("div",{staticClass:"tw-fixed tw-bottom-0 tw-inset-x-0 tw-px-4 tw-pb-6 sm:tw-inset-0 sm:tw-p-0 sm:tw-flex sm:tw-items-center sm:tw-justify-center"},[n("div",{staticClass:"tw-bg-white tw-rounded-lg tw-px-4 tw-pt-5 tw-pb-4 tw-overflow-hidden tw-shadow-xl sm:tw-max-w-lg sm:tw-w-full sm:tw-p-6"},[n("div",[n("div",{staticClass:"tw-mx-auto tw-flex tw-items-center tw-justify-center tw-h-12 tw-w-12 tw-rounded-full tw-bg-red-300"},[n("svg",{staticClass:"tw-h-6 tw-w-6 tw-text-red-600",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})])]),e._v(" "),n("div",{staticClass:"tw-mt-3 tw-text-center sm:tw-mt-5"},[n("h3",{staticClass:"tw-text-2xl tw-leading-6 tw-ont-medium tw-text-gray-900"},[e._v("\n              Sorry!\n            ")]),e._v(" "),n("div",{staticClass:"tw-mt-2"},[n("p",{staticClass:"tw-text-xl tw-leading-5 tw-text-gray-700"},[e._v("\n                Too Soon. You can request a refill on your Testosterone on:\n                "),n("br"),e._v("\n                "+e._s(e.testosteroneCanSell)+"\
2n              ")])])])]),e._v(" "),n("div",{staticClass:"tw-mt-5 sm:tw-mt-6 tw-flex tw-flex-col lg:tw-flex-row"},[n("span",{staticClass:"tw-mt-3 tw-flex tw-justify-center tw-w-full tw-rounded-md tw-shadow-sm sm:tw-mt-0 sm:tw-col-start-1"},[n("button",{staticClass:"tw-cursor-pointer tw-inline-flex tw-justify-center tw-w-full md:tw-w-1/3 tw-border tw-px-4 tw-py-2 tw-bg-blue tw-text-base tw-leading-6 tw-font-medium tw-text-white tw-shadow-sm focus:outline-none focus:border-blue-300 focus:shadow-outline sm:tw-text-sm sm:tw-leading-5",attrs:{type:"button"},on:{click:function(t){e.dontSellTestosteroneModal=!1}}},[e._v("\n              OK\n            ")])])])])])]):e._e(),e._v(" "),n("IncompleteEnrollmentModal",{attrs:{show:e.showIncompleteModal,"order-number":e.incompleteOrderNumber,"program-name":e.incompleteProgramName},on:{"select-different-program":e.handleSelectDifferentProgram}}),e._v(" "),n("TransitionGroup",{attrs:{name:"fade",mode:"out-in"}},[n("div",{key:"container",staticClass:"tw-mx-auto tw-py-10 md:tw-py-16 tw-px-4 sm:tw-px-6 md:tw-px-10",class:e.selectedProgram&&!e.refilling?"tw-max-w-6xl":"tw-max-w-4xl"},[n("div",{key:"logo-header tw-mb-16"},[n("img",{staticClass:"tw-w-1/4 tw-h-auto",attrs:{src:"/assets/img/logos/nuimage-logo.png"}})]),e._v(" "),e.selectedProgram||e.refilling?e.refilling?n("OrderSelector",{key:"order-selector",attrs:{"selected-refillable-order":e.selectedRefillableOrder},on:{readyForRefillOrder:e.updateRefillProducts,cancel:function(t){e.refilling=!1}}}):e.selectedProgram?n("EnrollmentForm",{key:"form",attrs:{allergies:e.allergies,medications:e.medications,conditions:e.conditions,"selected-subscription":null!==(t=e.selectedSubscription)&&void 0!==t?t:{},coupon:e.coupon,"order-subtotal":e.subtotal,"payment-gateway":e.paymentGateway,programs:e.questionPrograms,program:e.selectedProgram,user:e.initialUser?e.initialUser:e.user,states:e.states,"initial-state-selected":e.initialStateSelected,"shipping-methods":e.shippingMethods,"init-enrollment":e.initEnrollment,"banned-addresses":e.bannedAddresses,"refill-items":e.refillItems,"additional-enrollment-data":e.additionalEnrollmentData,"current-question":e.firstWLQuestion,"show-bucks":e.showBucks,"init-products":e.initProducts,"cant-buy-testosterone":e.dontSellTestosterone,"product-picked":e.productsPicked,"show-login":e.showLogin,"guest-data":e.guestData,"email-prefill":e.emailPrefill,"lowest-price":e.lowestPrice},on:{rock:e.rock,completed:e.completed,updateConversion:e.updateConversionEnrollment,authenticated:e.authenticateAndContinue}}):e._e():n("ProgramSelector",{key:"selector",attrs:{"shop-locked":e.shopLocked,"initial-user":!!e.initialUser,"initial-state-selected":e.initialStateSelected,user:e.initialUser?e.initialUser:e.user},on:{input:e.programSelected,switch:function(t){e.refilling=!0}}})],1)]),e._v(" "),n("ReporterIssuePopUp",{ref:"ReporterIssuePopUp"},[n("ReportIssueSubmitter",{attrs:{title:"Problems with the Enrollment Process?",type:"error"}},[e._v("\n      If you are experiencing any issues during the enrollment process, please provide us with some details so that we\n      can assist you better.\n    ")])],1)],1):n("div",{staticClass:"tw-flex tw-items-center tw-justify-center tw-flex-1"},[e._v("\n  Loading...\n")])}),[],!1,null,null,null).exports},90747:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"HeightWeightBmi",components:{InlineValidationField:n(21340).Z},props:{validation:{type:Object,default:null},initValues:{type:Object,default:function(){return{height:null,weight:null,bmi:null,bp:null,bpm:null}}}},data:function(){return{height:null,weight:null,bmi:null,bp:null,bpm:null}},computed:{formattedBp:{get:function(){var t=this.bp?this.bp.replace(/\D/g,"").slice(0,6):"",e=t.slice(0,3),n=t.slice(3);return 3===t.length?e+"/":t.length>3?e+"/"+n:e},set:function(t){this.bp=t}}},watch:{height:"calculateBmi",weight:"calculateBmi",bp:"emitInputs",bpm:"emitInputs"},mounted:function(){var t,e,n,r,i,o,a,s,l,u;this.height=null!==(t=null===(e=this.initValues)||void 0===e?void 0:e.height)&&void 0!==t?t:null,this.weight=null!==(n=null===(r=this.initValues)||void 0===r?void 0:r.weight)&&void 0!==n?n:null,this.bmi=null!==(i=null===(o=this.initValues)||void 0===o?void 0:o.bmi)&&void 0!==i?i:null,this.bp=null!==(a=null===(s=this.initValues)||void 0===s?void 0:s.bp)&&void 0!==a?a:null,this.bpm=null!==(l=null===(u=this.initValues)||void 0===u?void 0:u.bpm)&&void 0!==l?l:null},methods:{fieldValidation:function(t){return this.validation?{id:"".concat(this.validation.id,"-").concat(t),errors:this.validation.errors||[],field:t}:{}},controlId:function(t){return this.validation?"".concat(this.validation.id,"-").concat(t,"-input"):"bp"===t?"bloodPressure":t},getHeightInMeters:function(){var t=this.height.split(/([^\d])/);return.0254*(12*Number(t[0])+Number(t[4]))},calculateBmi:function(){if(this.validation&&(!this.height||!this.weight||this.weight>1800))this.bmi=null;else if(null!==this.height&&null!==this.weight){var t=this.getHeightInMeters(),e=.453592*this.weight/(t*t);this.bmi=Math.round(100*e)/100}else this.bmi=null;this.emitInputs()},allowOnlyDigits:function(t){"insertText"===t.inputType&&t.data&&!/^[0-9]$/.test(t.data)&&t.preventDefault()},onPasteJustNumbers:function(t){var e=t.clipboardData.getData("text");/^\d+$/.test(e)||t.preventDefault()},emitInputs:function(){var t={height:this.height,weight:this.weight,bmi:this.bmi,bp:this.bp,bpm:this.bpm};this.$emit("input",t)}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{},[e("div",{},[e("div",{},[e(t.validation?"InlineValidationField":"div",t._b({tag:"component",class:t.validation?"tw-mb-6":""},"component",t.fieldValidation("bmi"),!1),[e(t.validation?"InlineValidationField":"div",t._b({tag:"component",class:t.validation?"tw-mb-6":""},"component",t.fieldValidation("height"),!1),[e("label",{staticClass:"tw-block tw-text-lg tw-mb-2",attrs:{for:t.controlId("height")}},[t._v("\n            What is your height?\n          ")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.height,expression:"height"}],staticClass:"tw-input tw-rounded-full tw-border-black",class:t.validation?"":"tw-mb-6",attrs:{id:t.controlId("height"),name:"height",autofocus:""},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,
2(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.height=e.target.multiple?n:n[0]}}},t._l([4,5,6],(function(n){return e("optgroup",{key:n,attrs:{label:"".concat(n,"'")}},t._l(12,(function(r){return e("option",{key:r},[t._v("\n                "+t._s(n)+"' "+t._s(r-1)+'"\n              ')])})),0)})),0)]),t._v(" "),e(t.validation?"InlineValidationField":"div",t._b({tag:"component",class:t.validation?"tw-mb-6":""},"component",t.fieldValidation("weight"),!1),[e("label",{staticClass:"tw-block tw-text-lg tw-mb-2",attrs:{for:t.controlId("weight")}},[t._v("\n            What is your weight? (lbs.)\n          ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.weight,expression:"weight"}],staticClass:"tw-input tw-rounded-full tw-border-black",class:t.validation?"":"tw-mb-6",attrs:{id:t.controlId("weight"),name:"weight",type:"number",min:"0",placeholder:"",autofocus:""},domProps:{value:t.weight},on:{input:function(e){e.target.composing||(t.weight=e.target.value)}}})]),t._v(" "),e("label",{staticClass:"tw-block tw-text-lg tw-mb-2",attrs:{for:t.controlId("bmi")}},[t._v("\n          Your Calculated BMI\n        ")]),t._v(" "),e("input",{staticClass:"tw-input tw-font-semibold tw-rounded-full",class:t.validation?"":"tw-mb-6",attrs:{id:t.controlId("bmi"),readonly:"",name:"bmi",type:"number",min:"0",placeholder:"",autofocus:""},domProps:{value:t.bmi}})],1),t._v(" "),e(t.validation?"InlineValidationField":"div",t._b({tag:"component",class:t.validation?"tw-mb-6":""},"component",t.fieldValidation("bp"),!1),[e("label",{staticClass:"tw-block tw-text-lg tw-mb-2",attrs:{for:t.controlId("bp")}},[t._v("\n          What is your blood pressure reading?\n        ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.formattedBp,expression:"formattedBp"}],staticClass:"tw-input tw-rounded-full tw-border-black",class:t.validation?"":"tw-mb-6",attrs:{id:t.controlId("bp"),name:"bloodPressure",placeholder:"__/__",autofocus:""},domProps:{value:t.formattedBp}
2,on:{beforeinput:t.allowOnlyDigits,paste:t.onPasteJustNumbers,input:function(e){e.target.composing||(t.formattedBp=e.target.value)}}})]),t._v(" "),e(t.validation?"InlineValidationField":"div",t._b({tag:"component"},"component",t.fieldValidation("bpm"),!1),[e("label",{staticClass:"tw-block tw-text-lg tw-mb-2",attrs:{for:t.controlId("bpm")}},[t._v("\n          What is your pulse? (BPM)\n        ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.bpm,expression:"bpm"}],staticClass:"tw-input tw-rounded-full tw-border-black",attrs:{id:t.controlId("bpm"),type:"number",min:"0",placeholder:"80",autofocus:""},domProps:{value:t.bpm},on:{input:function(e){e.target.composing||(t.bpm=e.target.value)}}})])],1)])])}),[],!1,null,null,null).exports},82372:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var r=n(30381),i=n.n(r),o=n(17165),a=n(13974);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==s(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===s(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const d={name:"ProductProgramSummary",components:{CouponQuestion:o.Z},mixins:[a.Z],props:{products:{type:Object,required:!0},programType:{required:!0,type:String},conversionData:{default:null,type:Object},subscription:{default:null,type:Object},isNubodySubscription:{default:!1,type:Boolean}},data:function(){return{showPromotionalBannerOnUi:"false"}},computed:{coupon:function(){return this.$store.getters.coupon},selectedProduct:function(){return this.products.products.product},program:function(){var t=this.products.products.program_type;return _.isEmpty(t)?null:t},mixing:function(){var t=this.products.products.mixing_method;return _.isEmpty(t)?null:t},ub:function(){var t=this.products.products.ultra_burn;return _.isEmpty(t)?null:t.hasOwnProperty("price")?t:null},bloodwork:function(){var t=this.products.products.blood_work_option;return _.isEmpty(t)?null:t.hasOwnProperty("price")?t:null},supplements:function(){var t=this.products.products.supplements;return 0===t.length?null:t},addons:function(){var t=this.products.products.addons;if(0===t.length)return null;var e=[];return t.groupBy("id").forEach((function(t,n){var r={};r.count=t.length,r.data=t,e.push(r)})),e},theProducts:function(){return this.products.products},price:function(){var t=this.subscription?Number(this.subscription.price):0;if("ed"===this.programType&&null!==this.conversionData){var e=this.conversionData.selectedProducts.subtotal+t;return this.calcSubtotal(e)}return this.calcSubtotal(this.products.subtotal+t)},month:function(){return(new(i())).format("MMMM")},productFrequency:function(){return this.products.products.productFrequency}},mounted:function(){this.updateUrlParameters(u(u({},this.getUrlParameters()),{},{question:"program-summary"}))},methods:{removeCoupon:function(){this.$store.dispatch("removeCoupon")},addSupplementToProductList:function(t){},rock:function(){this.trackVisit(),this.$emit("rock",this.coupon),this.orionInitCheckout()},trackVisit:function(){var t=this;if(void 0!==this.$posthog)try{var e,n,r,i,o,a=[];if(this.selectedProduct)a.push({id:null===(r=this.selectedProduct.id)||void 0===r?void 0:r.toString(),name:this.selectedProduct.display_name||this.selectedProduct.name,price:parseFloat(this.isNubodySubscription?this.selectedProduct.member_price:this.selectedProduct.price),quantity:this.selectedProduct.quantity||1,frequency:this.products.products.product.frequency||"monthly",type:"primary_product"});if(this.bloodwork)a.push({id:null===(i=this.bloodwork.id)||void 0===i?void 0:i.toString(),name:this.bloodwork.display_name||this.bloodwork.name,price:parseFloat(this.isNubodySubscription?this.bloodwork.member_price:this.bloodwork.price),quantity:1,type:"bloodwork"});if(this.ub)a.push({id:null===(o=this.ub.id)||void 0===o?void 0:o.toString(),name:this.ub.display_name||this.ub.name,price:parseFloat((this.isNubodySubscription?this.ub.member_price:this.ub.price)*this.productFrequency),quantity:1,frequency:this.products.products.product.frequency||"monthly",type:"ultra_burn"});
2this.supplements&&this.supplements.forEach((function(e){var n;a.push({id:null===(n=e.id)||void 0===n?void 0:n.toString(),name:e.display_name||e.name,price:parseFloat(t.isNubodySubscription?e.member_price:e.price),quantity:1,type:"supplement"})})),this.addons&&this.addons.forEach((function(e){var n,r=e.data[0];a.push({id:null===(n=r.id)||void 0===n?void 0:n.toString(),name:r.display_name||r.name,price:parseFloat(t.priceCalc(r,e.count)),quantity:e.count,type:"addon"})})),this.$posthog.capture("product_program_summary_viewed",{program_type:this.programType,product_count:a.length,products:a,subscription:this.subscription?{name:this.subscription.name,price:parseFloat(this.subscription.price||0),frequency:this.subscription.frequency}:null,is_nubody_member:this.isNubodySubscription,has_coupon:!!this.coupon,coupon_code:(null===(e=this.coupon)||void 0===e?void 0:e.code)||null,coupon_discount:parseFloat((null===(n=this.coupon)||void 0===n?void 0:n.amount)||0),subtotal:parseFloat(this.products.subtotal||0),total_price:parseFloat(this.price),product_frequency:this.productFrequency,timestamp:(new Date).toISOString()}),console.log("[ProductProgramSummary] product_program_summary_viewed event captured")}catch(t){console.error("[ProductProgramSummary] PostHog tracking failed:",t)}},orionInitCheckout:function(){var t;if(window.fbTracker&&"function"==typeof window.fbTracker.track){var e=parseFloat(this.products.subtotal||0);window.fbTracker.track("InitiateCheckout",{content_ids:[null===(t=this.selectedProduct.id)||void 0===t?void 0:t.toString()],content_type:"product",value:e,currency:"USD"})}},priceCalc:function(t,e){return this.programType,(parseFloat(this.isNubodySubscription?t.member_price:t.price)*e).toFixed(2)},calcSubtotal:function(t){return this.coupon?t-this.coupon.amount<=0?0:t-this.coupon.amount:t},getDateOneYearFromToday:function(){var t=new Date,e=new Date(t);e.setFullYear(t.getFullYear()+1);var n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),i=e.getFullYear();return"".concat(n,"/").concat(r,"/").concat(i)},getDateOneMonthFromToday:function(){var t=new Date,e=new Date(t);e.setMonth(t.getMonth()+1);var n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),i=e.getFullYear();return"".concat(n,"/").concat(r,"/").concat(i)}}};const h=(0,n(51900).Z)(d,(function(){var t,e=this,n=e._self._c;return n("div",{staticClass:"tw-mt-10"},[n("h4",{staticClass:"tw-text-black tw-font-medium tw-text-xl tw-my-5 tw-mb-10"},[e._v("\n    Preferred Program\n  ")]),e._v(" "),n("div",{staticClass:"tw-shadow-sm tw-px-4 lg:tw-px-10 tw-py-10 tw-mt-0 tw-bg-brand-light-gray tw-text-black tw-rounded-3xl"},[n("div",{staticClass:"tw-flex lg:tw-flex-row tw-flex-col tw-items-center tw-justify-center tw-gap-5 tw-px-4"},[n("img",{staticClass:"tw-p-3 tw-w-3/5 tw-mx-auto tw-hidden lg:tw-block",attrs:{src:e.selectedProduct.full_imageurl,alt:"product bottle"}}),e._v(" "),n("div",{staticClass:"tw-mt-5 lg:tw-mt-0"},[n("h4",{staticClass:"tw-text-2xl md:tw-text-3xl tw-text-black tw-font-semibold tw-m-0 tw-px-12 lg:tw-p-0 tw-text-center lg:tw-text-left"},[e._v("\n          "+e._s(e.selectedProduct.display_name)+"\n        ")]),e._v(" "),n("div",{staticClass:"tw-text-lg md:tw-text-xl tw-text-black tw-font-semibold tw-m-0 tw-px-12 lg:tw-p-0 tw-text-center lg:tw-text-left"},[e._v("\n          "+e._s(e.selectedProduct.display_name_subtitle)+"\n        ")]),e._v(" "),n("img",{staticClass:"tw-p-3 tw-mx-auto tw-block lg:tw-hidden tw-mt-10",attrs:{src:e.selectedProduct.full_imageurl,alt:"product bottle"}})])]),e._v(" "),n("div",{staticClass:"tw-py-5 lg:tw-pt-10 tw-pb-5 sm:tw-px-4 md:tw-px-12 tw-text-black"},["supplements"!==e.programType?n("div",{staticClass:"tw-flex tw-justify-between tw-rounded-2xl tw-shadow-sm tw-p-8 tw-mb-3 tw-bg-white"},[n("div",{staticClass:"tw-w-4/5"},[n("h4",{staticClass:"tw-text-2xl md:tw-text-2xl tw-font-semibold tw-text-black tw-m-0 tw-p-0"},[e._v("\n            "+e._s(e.selectedProduct.display_name)+"\n          ")]),e._v(" "),"yearly"===e.products.products.product.frequency?n("h4",{staticClass:"tw-font-medium tw-text-xl tw-my-0 tw-p-0"},[(e.programType,n("span",[e._v("\n              $"+e._s(parseFloat(e.isNubodySubscription?e.selectedProduct.member_price:e.selectedProduct.price).toFixed(2))+"/month "),n("br"),e._v(" "),n("div",{staticClass:"tw-flex tw-items-center tw-text-base"},[e._v("\n                for 12 months\n              ")])]))]):e._e(
2),e._v(" "),"half-yearly"===e.products.products.product.frequency?n("h4",{staticClass:"tw-font-medium tw-text-xl tw-my-0 tw-p-0"},["ed"===e.programType?n("span",[n("span",{staticClass:"tw-tracking-wide tw-text-black"},[e._v("\n                $"+e._s(parseFloat(e.isNubodySubscription?e.selectedProduct.member_price:e.selectedProduct.price).toFixed(2))+"/month "),n("br")]),e._v(" "),n("div",{staticClass:"tw-flex tw-items-center tw-text-sm"},[e._v("\n                for 6 months\n              ")])]):n("span",[e._v("\n              $"+e._s(parseFloat(e.isNubodySubscription?e.selectedProduct.member_price:e.selectedProduct.price).toFixed(2))+"/month "),n("br"),e._v(" "),n("div",{staticClass:"tw-flex tw-items-center tw-text-sm"},[e._v("\n                for 6 months\n              ")])])]):e._e(),e._v(" "),"quintile"===e.products.products.product.frequency?n("h4",{staticClass:"tw-font-medium tw-text-xl tw-my-0 tw-p-0"},[(e.programType,n("span",[e._v("\n              $"+e._s(parseFloat(e.isNubodySubscription?e.selectedProduct.member_price:e.selectedProduct.price).toFixed(2))+"/month "),n("br"),e._v(" "),n("div",{staticClass:"tw-flex tw-items-center tw-text-sm"},[e._v("\n                for 5 months\n              ")])]))]):e._e(),e._v(" "),"quarterly"===e.products.products.product.frequency?n("h4",{staticClass:"tw-font-medium tw-text-xl tw-my-0 tw-p-0"},[(e.programType,n("span",[e._v("\n              $"+e._s(parseFloat(e.isNubodySubscription?e.selectedProduct.member_price:e.selectedProduct.price).toFixed(2))+"/month\n              "),n("div",{staticClass:"tw-flex tw-items-center tw-text-sm"},[e._v("\n                for 3 months\n              ")])]))]):e._e(),e._v(" "),"monthly"===e.products.products.product.frequency?n("h4",{staticClass:"tw-font-medium tw-text-xl tw-my-0 tw-p-0"},[(e.programType,n("span",[e._v("\n              $"+e._s(parseFloat(e.isNubodySubscription?e.selectedProduct.member_price:e.selectedProduct.price).toFixed(2))+"/month "),n("br"),e._v(" "),n("div",{staticClass:"tw-flex tw-items-center tw-text-sm"},[e._v("\n                for 1 month\n              ")])]))]):e._e()]),e._v(" "),n("div",{},[n("h4",{staticClass:"tw-font-semibold tw-text-brand-black tw-text-xl tw-m-0 tw-p-0"},[e.selectedProduct.quantity?n("span",[e._v("\n              $"+e._s(((e.isNubodySubscription?e.selectedProduct.member_price:e.selectedProduct.price)*e.selectedProduct.quantity).toFixed(2))+"\n            ")]):n("span",[e._v("\n              $"+e._s(((e.isNubodySubscription?e.selectedProduct.member_price:e.selectedProduct.price)*e.productFrequency).toFixed(2))+"\n            ")])])])]):e._e(),e._v(" "),e.subscription?n("div",{staticClass:"tw-flex tw-justify-between tw-bg-white tw-my-5 tw-rounded-2xl tw-shadow-sm tw-p-8 tw-mb-3"},[n("div",{staticClass:"tw-w-4/5"},[n("span",{staticClass:"tw-font-medium"},[e._v("Membership")]),n("br"),e._v(" "),n("h4",{staticClass:"tw-font-semibold tw-text-2xl md:tw-text-2xl tw-text-brand-black tw-m-0 tw-p-0"},[e._v("\n            "+e._s(null!==(t=e.subscription.name)&&void 0!==t?t:"")+"\n          ")]),e._v(" "),"yearly"===e.subscription.frequency?n("h4",{staticClass:"tw-font-medium tw-text-xl tw-my-0 tw-p-0 tw-mt-5"},[n("span",[e._v("\n              $"+e._s(e.subscription.price?Number(e.subscription.price).toFixed(2):"")+"/year "),n("br"),e._v(" "),n("div",{staticClass:"tw-flex tw-items-center tw-text-base tw-font-medium"},[e._v("\n                for 12 months\n              ")]),e._v(" "),n("div",{staticClass:"tw-flex tw-items-center tw-text-sm tw-font-medium tw-text-black"},[e._v("\n                Next payment date: "+e._s(e.getDateOneYearFromToday())+"\n              ")])])]):e._e(),e._v(" "),"monthly"===e.subscription.frequency?n("h4",{staticClass:"tw-font-medium tw-text-xl tw-my-0 tw-p-0"},[n("span",[e._v("\n              $"+e._s(e.subscription.price?Number(e.subscription.price).toFixed(2):"")+"/month "),n("br"),e._v(" "),n("div",{staticClass:"tw-flex tw-items-center tw-text-base"},[e._v("\n                for 1 month\n              ")]),e._v(" "),n("div",{staticClass:"tw-text-sm tw-text-black"},[e._v("You commit to 1 year & pay month-to-month.")]),e._v(" "),n("div",{staticClass:"tw-flex tw-items-center tw-text-sm tw-text-black"},[e._v("\n                Next payment date: "+e._s(e.getDateOneMonthFromToday())+"\n              ")])])]):e._e(
2)]),e._v(" "),n("div",[n("h4",{staticClass:"tw-font-semibold tw-text-brand-brown tw-text-xl tw-m-0 tw-p-0"},[n("span",[e._v("\n              $"+e._s(e.subscription.price?Number(e.subscription.price).toFixed(2):"")+"\n            ")])])])]):e._e(),e._v(" "),e.bloodwork?n("div",{staticClass:"tw-flex tw-justify-between bloodwork tw-bg-white tw-mt-2 tw-rounded-2xl tw-shadow-sm tw-p-8 tw-mb-3"},[n("div",{staticClass:"tw-w-4/5"},[n("h4",{staticClass:"tw-font-medium tw-text-brand-brown tw-text-2xl tw-m-0 tw-p-0"},[e._v("\n            "+e._s(e.bloodwork.display_name)+"\n          ")])]),e._v(" "),n("div",[n("h4",{staticClass:"tw-font-semibold tw-text-2xl tw-m-0 tw-p-0"},[e._v("\n            $"+e._s(e.isNubodySubscription?e.bloodwork.member_price:e.bloodwork.price)+"\n          ")])])]):e._e(),e._v(" "),e.ub?n("div",{staticClass:"tw-flex tw-justify-between ub tw-rounded-2xl tw-shadow-sm tw-p-8 tw-mb-3 tw-bg-white"},[n("div",{staticClass:"tw-w-4/5"},[n("h4",{staticClass:"tw-font-medium tw-text-brand-brown tw-text-2xl tw-m-0 tw-p-0"},[e._v("\n            "+e._s(e.ub.display_name)+"\n          ")]),e._v(" "),"yearly"===e.products.products.product.frequency?n("h4",{staticClass:"tw-font-medium tw-text-sm tw-my-0 tw-p-0"},[n("div",{staticClass:"tw-flex tw-items-center"},[e._v("\n              for 12 months\n            ")])]):e._e(),e._v(" "),"half-yearly"===e.products.products.product.frequency?n("h4",{staticClass:"tw-font-medium tw-text-sm tw-my-0 tw-p-0"},[n("div",{staticClass:"tw-flex tw-items-center"},[e._v("\n              for 6 months\n            ")])]):e._e(),e._v(" "),"quintile"===e.products.products.product.frequency?n("h4",{staticClass:"tw-font-medium tw-text-sm tw-my-0 tw-p-0"},[n("div",{staticClass:"tw-flex tw-items-center"},[e._v("\n              for 5 months\n            ")])]):e._e(),e._v(" "),"quarterly"===e.products.products.product.frequency?n("h4",{staticClass:"tw-font-medium tw-text-base tw-my-0 tw-p-0"},[n("div",{staticClass:"tw-flex tw-items-center tw-text-sm"},[e._v("\n              for 3 months\n            ")])]):e._e()]),e._v(" "),n("div",[n("h4",{staticClass:"tw-font-semibold tw-text-2xl tw-m-0 tw-p-0"},[e._v("\n            $"+e._s(((e.isNubodySubscription?e.ub.member_price:e.ub.price)*e.productFrequency).toFixed(2))+"\n          ")])])]):e._e(),e._v(" "),e.supplements?n("div",{staticClass:"tw-rounded-2xl tw-shadow-sm tw-p-8 tw-mb-3 tw-bg-white"},e._l(e.supplements,(function(t){return n("div",{key:t.id,staticClass:"tw-flex tw-justify-between supplements"},[n("div",{staticClass:"tw-w-4/5"},[n("h4",{staticClass:"tw-font-medium tw-text-black tw-text-2xl tw-m-0 tw-p-0"},[e._v("\n              "+e._s(t.display_name)+"\n            ")])]),e._v(" "),n("div",[n("h4",{staticClass:"tw-font-medium tw-text-xl tw-m-0 tw-p-0"},[e._v("\n              $"+e._s(e.isNubodySubscription?t.member_price:t.price)+"\n            ")])])])})),0):e._e(),e._v(" "),e.addons?n("div",{staticClass:"tw-rounded-2xl tw-shadow-sm tw-p-8 tw-mb-3 tw-bg-white"},e._l(e.addons,(function(t){return n("div",{key:t.id,staticClass:"tw-flex tw-justify-between addons tw-mt-10"},[n("div",{staticClass:"tw-w-4/5"},[n("h4",{staticClass:"tw-font-medium tw-text-2xl tw-m-0 tw-p-0 tw-text-black"},[e._v("\n              "+e._s(t.data[0].display_name)+" "),n("span",{staticClass:"tw-lowercase tw-text-lg"},[e._v("\n                (x"+e._s(t.count)+")\n              ")])])]),e._v(" "),n("div",[n("h4",{staticClass:"tw-font-medium tw-text-xl lg:tw-text-2xl tw-m-0 tw-p-0"},[e._v("\n              $"+e._s(e.priceCalc(t.data[0],t.count))+"\n            ")])])])})),0):e._e(),e._v(" "),e._m(0),e._v(" "),n("Transition",{attrs:{name:"fade",mode:"out-in"}},[e.coupon?n("div",{staticClass:"tw-pt-3"},[n("div",{staticClass:"tw-flex tw-justify-between"},[n("div",{staticClass:"tw-w-4/5"},[n("h4",{staticClass:"tw-font-medium tw-text-base tw-m-0 tw-p-0 tw-text-green"},[e._v("\n                Coupon Applied: "+e._s(e.coupon.code)+" "),n("span",{staticClass:"tw-text-blue-dark tw-text-xs tw-cursor-pointer",on:{click:e.removeCoupon}},[e._v("\n                  (remove)\n                ")])])]),e._v(" "),n("div",[n("h4",{staticClass:"tw-font-medium tw-text-base tw-m-0 tw-p-0 tw-text-green"},[e._v("\n                -$"+e._s(e.coupon.amount.toFixed(2))+"\n              ")])])])]):e._e(
2)]),e._v(" "),n("div",{staticClass:"tw-pb-3 tw-mt-10"},[n("div",{staticClass:"tw-flex tw-justify-between tw-rounded-2xl tw-shadow-sm tw-p-8 tw-mb-3 tw-bg-white"},[e._m(1),e._v(" "),n("div",[n("h4",{staticClass:"tw-font-semibold tw-text-2xl tw-m-0 tw-p-0 tw-text-black"},[e.coupon?n("span",{staticClass:"tw-line-through tw-text-xl"}):e._e(),e._v(" "),n("span",{staticClass:"tw-px-2"},[e._v("\n                $"+e._s(Number(e.price).toFixed(2))+"\n              ")])])])])]),e._v(" "),n("div",{},[n("button",{staticClass:"tw-btn tw-bg-brand-brown tw-text-white tw-py-2 tw-text-lg tw-shadow tw-rounded-full tw-w-full !tw-capitalize",on:{click:function(t){return t.preventDefault(),e.rock.apply(null,arguments)}}},[e._v("\n          Continue →\n        ")]),e._v(" "),n("button",{staticClass:"tw-btn tw-bg-transparent tw-rounded-full tw-text-brand-brown tw-text-lg lg:tw-px-10 tw-w-full",on:{click:function(t){return t.preventDefault(),e.$emit("back")}}},[e._v("\n          ← Back\n        ")])])],1),e._v(" "),e._m(2)])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-rounded-2xl tw-shadow-sm tw-p-8 tw-mb-3 tw-bg-white"},[e("div",{staticClass:"tw-flex tw-justify-between tw-mt-5"},[e("div",{staticClass:"tw-w-4/5"},[e("h4",{staticClass:"tw-font-normal tw-text-2xl tw-m-0 tw-p-0 tw-text-black tw-pr-4"},[t._v("\n              Provider evaluation\n            ")])]),t._v(" "),e("div",[e("h4",{staticClass:"tw-font-medium tw-text-2xl tw-m-0 tw-p-0 tw-text-black"},[t._v("\n              Included\n            ")])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-mt-2"},[e("div",{staticClass:"tw-w-4/5"},[e("h4",{staticClass:"tw-font-normal tw-text-2xl tw-m-0 tw-p-0 tw-text-black tw-pr-4"},[t._v("\n              Medication adjustments\n            ")])]),t._v(" "),e("div",[e("h4",{staticClass:"tw-font-medium tw-text-2xl tw-m-0 tw-p-0 tw-text-black"},[t._v("\n              Included\n            ")])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-mt-2 tw-mb-5"},[e("div",{staticClass:"tw-w-4/5"},[e("h4",{staticClass:"tw-font-normal tw-text-2xl tw-m-0 tw-p-0 tw-text-black tw-pr-4"},[t._v("\n              On-going check-ins\n            ")])]),t._v(" "),e("div",[e("h4",{staticClass:"tw-font-medium tw-text-2xl tw-m-0 tw-p-0 tw-text-black"},[t._v("\n              Included\n            ")])])])])},function(){var t=this._self._c;return t("div",[t("h4",{staticClass:"tw-font-semibold tw-text-2xl tw-m-0 tw-p-0 tw-text-black"},[this._v("\n              Total:\n            ")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-w-full"},[e("p",{staticClass:"tw-capitalize tw-font-medium tw-text-base md:tw-text-lg tw-leading-none tw-text-justify tw-shadow-none tw-p-4 tw-px-8 tw-text-black tw-my-5"},[t._v("\n        After answering our enrollment questions, one of our licensed providers will review your medical intake and\n        determine whether and what products are medically appropriate for you based on his/her medical evaluation\n        conducted via telemedicine. Should the prescribing provider have any questions regarding your medical history,\n        he/she will contact you through our patient portal. You can communicate with your prescribing physician at any\n        given time by going through your patient portal.\n        "),e("br"),t._v(" "),e("br"),t._v(" "),e("br"),t._v("\n        If approved by a provider, prescription drugs, and other products will be dispensed by one of our partner pharmacies. We\n        respect your right to choose your own pharmacy. Please reach us at "),e("a",{staticClass:"tw-text-black",attrs:{target:"_self",href:"mailto:[email protected]"}},[t._v("[email protected]")]),t._v(" and we will assist you with this request.\n      ")])])}],!1,null,null,null).exports},59030:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>Z});var r=n(30381),i=n.n(r),o=n(96486),a=n.n(o),s=n(39585),l=n(52388),u=n(13974),c=n(85),d=n(93379),h=n.n(d),f=n(88792),p={insert:"head",singleton:!1};h()(f.Z,p);f.Z.locals;function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?m(Object(n),!0).forEach((function(e){g(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function g(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==w(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===w(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const y={components:{ModalWrapper:l.Z,VueperSlides:c.VueperSlides,VueperSlide:c.VueperSlide},mixins:[u.Z],props:{value:{default:null,type:Array},program:{required:!0,type:String}},data:function(){return{isLoad:!1,loading:!0,error:!1,supplements:[],selectedSupplements:[],detailedSupplement:null,supplementUpsalePrice:parseFloat("2")}},computed:{slides:function(){var t,e,n;return[{title:null===(t=this.detailedSupplement)||void 0===t?void 0:t.display_name,content:null===(e=this.detailedSupplement)||void 0===e?void 0:e.description,image:null},{title:"",content:"",image:null===(n=this.detailedSupplement)||void 0===n?void 0:n.full_supplement_facts_image_url}]},isUpsale:function(){return"supplements"!==this.program&&!1},supplementFormattedUpsalePrice:function(){return this.supplementUpsalePrice.toFixed(2)}},mounted:function(){this.updateUrlParameters(v(v({},this.getUrlParameters()),{},{question:"supplements"})),this.value&&(this.selectedSupplements=this.value),this.getSupplements()},methods:{loaded:function(){this.isLoad=!0},getSupplements:function(){var t=this;this.error=!1,this.loading=!0,axios.get("/json/products",{params:{category_id:4,requesting_program:this.program}}).then((function(e){var n=e.data.data;t.supplements=n})).catch((function(e){t.error=!0,bugsnagClient.notify(e),console.error(e)})).finally((function(){return t.loading=!1}))},selectSupplement:function(t){this.selectedSupplements.push(t),this.$emit("input",this.selectedSupplements)},removeSupplement:function(t){var e=this.selectedSupplements.indexOf(t);this.selectedSupplements.splice(e,1)},isSelected:function(t){return this.selectedSupplements.find((function(e){return e.id===t.id}))},quantity:function(t){return this.selectedSupplements.filter((function(e){return e.id===t.id})).length}}};var b=n(92386),_={insert:"head",singleton:!1};h()(b.Z,_);b.Z.locals;var x=n(51900);const k=(0,x.Z)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"xl:tw-flex-1 tw-pt-20 tw-font-lato"},[e("div",{},["supplements"===t.program?e("h4",{staticClass:"tw-text-center tw-mb-6 tw-mt-5 lg:tw-mt-0 tw-uppercase tw-font-medium tw-tracking-wider tw-text-lg lg:tw-text-2xl"},[t._v("\n      Refill on all of your favorite supplements!\n    ")]):e("h4",{staticClass:"tw-text-center tw-mb-6 tw-mt-5 lg:tw-mt-0 tw-capitalize tw-font-medium tw-leading-none tw-tracking-wider tw-text-3xl lg:tw-text-4xl"},[t._v("\n      Would you like to add "),e("br",{}),t._v(" any additional supplements?\n    ")]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-center"},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.loading?e("div",{key:"loading",staticClass:"loading loading-grey loading-lg",staticStyle:{"min-height":"200px"}}):t.error?e("div",{key:"error",staticClass:"tw-text-xl tw-text-center tw-text-black tw-font-medium tw-py-16"},[t._v("\n          Oops! There was a problem getting the list of supplements.\n          "),e("button",{staticClass:"tw-text-brand-green hover:tw-text-green-700",on:{click:function(e){return e.preventDefault(),t.getSupplements.apply(null,arguments)}}},[t._v("\n            Try again.\n          ")])]):e("div",{staticClass:"tw-flex tw-flex-col tw-justify-center tw-items-center tw-w-full"},t._l(t.supplements,(function(n){return e("div",{key:n.id,staticClass:"tw-w-full tw-px-3 tw-self-stretch tw-pb-6"},[e("div",{staticClass:"tw-w-full tw-h-full tw-flex tw-flex-col tw-items-center"},[e("div",{staticClass:"tw-w-full tw-p-8 tw-flex tw-flex-col md:tw-flex-row tw-items-center tw-text-center"},[e("div",{staticClass:"tw-w-full md:tw-w-2/5"},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("img",{directives:[{name:"show",rawName:"v-show",value:t.isLoad,expression:"isLoad"}],staticClass:"tw-mx-auto tw-block tw-mb-6",staticStyle:{"max-height":"180px"},attrs:{alt:n.display_name,src:n.full_imageurl},on:{load:t.loaded}}
2)])],1),t._v(" "),e("div",{staticClass:"tw-relative tw-flex tw-flex-col tw-w-full md:tw-w-2/5"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.isLoad,expression:"!isLoad"}],staticClass:"loading",staticStyle:{height:"180px"}}),t._v(" "),e("div",{staticClass:"tw-relative tw-w-full tw-flex lg:tw-flex-row tw-flex-col tw-items-center tw-justify-center"},[e("div",{staticClass:"tw-w-full"},[e("h3",{staticClass:"tw-font-medium tw-text-2xl tw-text-center md:tw-text-left tw-mt-0 tw-text-black"},[t._v("\n                        "+t._s(n.display_name)+"\n                      ")]),t._v(" "),e("h3",{directives:[{name:"show",rawName:"v-show",value:n.short_phrase,expression:"supplement.short_phrase"}],staticClass:"tw-font-semibold tw-text-xl tw-tracking-wider tw-uppercase tw-text-black"},[t._v("\n                        "+t._s(n.short_phrase)+"\n                      ")])]),t._v(" "),e("Transition",{attrs:{name:"fade"}},[t.isSelected(n)?e("div",{staticClass:"md:tw-mt-5 tw-text-black lg:tw-flex tw-flex-col tw-items-center tw-text-lg tw-capitalize tw-tracking-wider tw-font-medium tw-hidden"},[e("div",{staticClass:"tw-font-medium tw-text-4xl"},[t._v("\n                          "+t._s(t.quantity(n))+"\n                        ")]),t._v(" "),e("div",{staticClass:"tw-text-lg tw-font-light tw-tracking-tighter"},[t._v("\n                          Quantity\n                        ")])]):t._e()])],1),t._v(" "),e("div",{staticClass:"tw-mb-2 tw-text-5xl tw-text-black md:-tw-mt-4 tw-text-center md:tw-text-left"},[t.isUpsale?e("span",[t._v("$"+t._s(t.supplementFormattedUpsalePrice))]):t._e(),t._v(" "),e("span",{class:t.isUpsale?"tw-line-through tw-text-xl":""},[t._v("$"+t._s(n.price))])]),t._v(" "),e("Transition",{attrs:{name:"fade"}},[t.isSelected(n)?e("div",{staticClass:"tw-text-black tw-mt-3 tw-flex tw-flex-col tw-items-center tw-text-lg tw-capitalize tw-tracking-wider tw-font-medium lg:tw-hidden"},[e("div",{staticClass:"tw-font-medium tw-text-4xl"},[t._v("\n                        "+t._s(t.quantity(n))+"\n                      ")]),t._v(" "),e("div",{staticClass:"tw-text-lg tw-font-light tw-tracking-tighter"},[t._v("\n                        Quantity\n                      ")])]):t._e()]),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-w-full tw-mt-5 tw-gap-5",class:t.isSelected(n)?"tw-flex-col-reverse":"xl:tw-flex-row"},[e("div",{staticClass:"tw-w-full"},[e("button",{staticClass:"tw-leading-snug tw-flex-1 tw-py-4 tw-btn tw-border tw-w-full tw-border-black tw-text-black tw-uppercase tw-rounded-full",on:{click:function(e){e.preventDefault(),t.detailedSupplement=n}}},[t._v("\n                        Learn More\n                      ")])]),t._v(" "),e("div",{staticClass:"tw-gap-2 tw-flex tw-items-center tw-w-full"},[e("button",{staticClass:"tw-leading-snug tw-flex-1 tw-py-4 tw-btn tw-whitespace-nowrap tw-bg-black tw-font-medium tw-uppercase tw-w-full tw-text-white tw-rounded-full",on:{click:function(e){return e.preventDefault(),t.selectSupplement(n)}}},[t._v("\n                        "+t._s(t.isSelected(n)?"Add More":"Select")+"\n                      ")]),t._v(" "),t.isSelected(n)?e("button",{staticClass:"tw-leading-snug tw-whitespace-nowrap tw-font-medium tw-flex-1 tw-py-4 tw-btn tw-bg-black tw-w-full tw-uppercase tw-text-white tw-rounded-full",on:{click:function(e){return e.preventDefault(),t.removeSupplement(n)}}},[t._v("\n                        Remove\n                      ")]):t._e()])])],1)])])])})),0)])],1),t._v(" "),e("ModalWrapper",{attrs:{show:!!t.detailedSupplement},on:{hide:function(e){t.detailedSupplement=null}}},[e("div",{staticClass:"tw-w-full md:tw-w-4/5 tw-bg-white tw-rounded-xl tw-absolute tw-px-12 tw-py-5"},[e("button",{staticClass:"tw-bg-black tw-text-white tw-rounded-full hover:tw-bg-gray-500 tw-absolute tw-right-0 tw-px-2 tw-z-10",on:{click:function(e){e.preventDefault(),t.detailedSupplement=null}}},[t._v("\n          ×\n        ")]),t._v(" "),e("vueper-slides",t._l(t.slides,(function(t,n){return e("vueper-slide",{key:n,attrs:{title:t.title,content:t.content,image:t.image}})})),1)],1)])],1),t._v(" "),e("div",{staticClass:"tw-w-full xl:tw-w-3/5 tw-mx-auto"},[e("div",{staticClass:"tw-w-full tw-flex tw-items-center tw-justify-center tw-gap-5 tw-mt-12 md:tw-mt-20"},[e("div",{staticClass:"tw-flex-1 tw-flex tw-items-center tw-w-full"},[e("Transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[e("button",{staticClass:"tw-rounded-full tw-bg-black tw-w-full multi-step-btn tw-btn tw-text-white tw-justify-center tw-flex tw-shadow",attrs:{tabindex:"-1"},on:{click:function(e){return e.preventDefault(),t.$emit("cancel")}}},[t._v("\n            ← Back\n          ")])])],1),t._v(" "),e("div",{staticClass:"tw-flex-1 tw-flex tw-items-center tw-justify-end tw-w-full"},[e("Transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[e("button",{staticClass:"tw-rounded-full tw-bg-black tw-w-full multi-step-btn tw-btn tw-text-white tw-justify-center tw-flex tw-shadow",on:{click:function(e){return e.preventDefault(),t.$emit("continue")}}},[t._v("\n            Continue →\n          ")])])],1)])])])}),[],!1,null,null,null).exports;var C=n(411);const S={components:{CardModal:C.Z},props:{value:{default:null,type:Array}},data:function(){return{loading:!0,error:!1,supplements:[],selectedSupplements:[],detailedSupplement:null}},mounted:function(){this.value&&(this.selectedSupplements=this.value),this.get
2Supplements()},methods:{getSupplements:function(){var t=this;this.error=!1,this.loading=!0,axios.get("/json/products",{params:{category_id:17}}).then((function(e){var n=e.data.data;t.supplements=n})).catch((function(e){t.error=!0,bugsnagClient.notify(e),console.error(e)})).finally((function(){return t.loading=!1}))},selectSupplement:function(t){this.selectedSupplements.push(t),this.$emit("input",this.selectedSupplements)},removeSupplement:function(t){var e=this.selectedSupplements.indexOf(t);this.selectedSupplements.splice(e,1)},isSelected:function(t){return this.selectedSupplements.find((function(e){return e.id===t.id}))}}};const P=(0,x.Z)(S,(function(){var t=this,e=t._self._c;return e("div",{},[e("h4",{staticClass:"tw-text-center tw-mb-6 tw-mt-5 lg:tw-mt-0 tw-uppercase tw-font-semibold tw-tracking-wider tw-text-lg lg:tw-text-2xl"},[t._v("\n    Would you like to add any additional mixing solutions?\n  ")]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.loading?e("div",{key:"loading",staticClass:"loading loading-grey loading-lg",staticStyle:{"min-height":"200px"}}):t.error?e("div",{key:"error",staticClass:"tw-text-xl tw-text-center tw-text-gray-darker tw-py-16"},[t._v("\n      Oops! There was a problem getting the list of supplements.\n      "),e("button",{staticClass:"tw-text-blue hover:tw-text-blue-dark",on:{click:function(e){return e.preventDefault(),t.getSupplements.apply(null,arguments)}}},[t._v("\n        Try again.\n      ")])]):e("div",{key:"program-types",staticClass:"lg:tw-flex tw-flex-wrap tw-items-center tw-justify-start"},t._l(t.supplements,(function(n){return e("div",{key:n.id,staticClass:"tw-w-full lg:tw-w-1/2 tw-px-3 tw-self-stretch tw-mb-12"},[e("div",{staticClass:"tw-bg-white tw-shadow-lg tw-overflow-hidden tw-h-full tw-text-center"},[e("div",{staticClass:"tw-p-8 tw-flex-1"},[e("img",{staticClass:"tw-mx-auto tw-block tw-mb-6",staticStyle:{"max-height":"200px"},attrs:{src:n.full_imageurl}}),t._v(" "),e("h3",{staticClass:"tw-font-semibold tw-text-base tw-mb-1 tw-mt-0 tw-text-gray-darker tw-tracking-wider",staticStyle:{"min-height":"50px"}},[t._v("\n              "+t._s(n.display_name)+"\n            ")]),t._v(" "),e("div",{staticClass:"tw-mb-2 tw-text-3xl tw-text-gray-darkest"},[t._v("\n              "+t._s(0==n.price?"FREE":"$".concat(n.price))+"\n            ")]),t._v(" "),e("button",{staticClass:"tw-text-gray-dark hover:tw-text-gray-darker tw-text-sm tw-uppercase tw-tracking-wider tw-font-bold",on:{click:function(e){e.preventDefault(),t.detailedSupplement=n}}},[t._v("\n              Learn More →\n            ")])]),t._v(" "),e("div",{staticClass:"tw-flex tw-items-center"},[t.isSelected(n)?e("button",{staticClass:"tw-leading-snug tw-flex-1 tw-py-4 tw-btn tw-bg-gray-light tw-text-gray-darkest hover:tw-bg-grey hover:tw-text-gray-darkest tw-shadow-lg",on:{click:function(e){return e.preventDefault(),t.removeSupplement(n)}}},[t._v("\n              Remove\n            ")]):e("button",{staticClass:"tw-leading-snug tw-flex-1 tw-py-4 tw-btn tw-btn-blue tw-shadow-lg",on:{click:function(e){return e.preventDefault(),t.selectSupplement(n)}}},[t._v("\n              Select\n            ")])])])])})),0)]),t._v(" "),e("CardModal",{attrs:{show:!!t.detailedSupplement},on:{hide:function(e){t.detailedSupplement=null}}},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.detailedSupplement?e("div",[e("h2",[t._v(t._s(t.detailedSupplement.display_name))]),t._v(" "),e("p",{domProps:{innerHTML:t._s(t.detailedSupplement.description)}})]):t._e()])],1)],1)}),[],!1,null,null,null).exports;var A=n(82372);const O={methods:{price:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=t.product,o=t.ultra_burn,a=t.supplements,s=t.addons,l=t.mixing_method,u=t.blood_work_option,c=t.program_type,d=0;if("quarterly"===i.frequency||"half-yearly"===i.frequency||"quintile"===i.frequency||"yearly"===i.frequency){if(i.price){var h=1;"quarterly"===i.frequency?h=3:"half-yearly"===i.frequency?h=6:"quintile"===i.frequency?h=5:"yearly"===i.frequency&&(h=12),d+=parseFloat(r?i.member_price:i.price)*h}}else i.price&&(d+=parseFloat(r?i.member_price:i.price));if("ed"===e){var f=1;"quarterly"===i.frequency?f=3:"half-yearly"===i.frequency?f=6:"quintile"===i.frequency?f=5:"yearly"===i.frequency&&(f=12),d=i.quantity*parseFloat(r?i.member_price:i.price)*f}return c&&c.price&&(d+=parseFloat(r?c.member_price:c.price)),l&&l.price&&(d+=parseFloat(r?l.member_price:l.price)),o&&o.price&&(d+=n.ubPrice),u&&u.price&&(d+=n.bloodWorkOptionPrice),a&&(d+=parseFloat(n.supplementsPrice)),s&&(d+=n.prescriptionAddonPrice),d.toFixed(2)}}};function T(t){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T(t)}function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?E(Object(n),!0).forEach((function(e){N(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function N(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==T(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===T(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const M={components:{NotificationBanner:n(59751).Z},mixins:[u.Z],props:{bloodWorkOption:{required:!0},stateName:{required:!1}},data:function(){return{loading:!0,error:!1,products:[],upload:null,showTooltip:!1,quest:null,labcorp:null,homeKit:null,showNotificationBanner:!1,insurancePay:null,selectedProduct:this.bloodWorkOption,detailedProduct:null}},mounted:function(){this.getProducts(),this.updateUrlParameters(I(I({},this.getUrlParameters()),{},{question:"blood-work"}))},methods:{getProducts:function(){var t=this;this.error=!1,this.loading=!0,console.log(this.stateName),axios.get("/json/products",{params:{category_id:5,initial_user_state:this.stateName,for_enrollment:!0}}).then((function(e){var n=e.data.data;for(var r in t.products=n.filter((function(t){return 300!==t.id&&90!==t.id})),t.products){var i=t.products[r];switch(i.id.toString()){case"71":t.quest=i;break;case"460":t.upload=i;break;case"465":t.insurancePay=i;break;case"461":t.homeKit=i;break;case"466":t.labcorp=i}}})).catch((function(e){t.error=!0,bugsnagClient.notify(e)})).finally((function(){t.loading=!1}))},selectProduct:function(t){this.selectedProduct=t,this.insurancePay.id!==t.id?this.$emit("input",this.selectedProduct):this.showNotificationBanner=!0},continueEnrollment:function(){this.$emit("input",this.selectedProduct)},isSelected:function(t){return this.selectedProduct&&this.selectedProduct.id===t.id}}};const R=(0,x.Z)(M,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-mt-20"},[e("h2",{staticClass:"tw-mt-10 tw-text-3xl tw-font-medium tw-text-start tw-capitalize tw-text-black !tw-leading-none"},[t._v("\n    Blood Work Testing Options\n  ")]),t._v(" "),t._m(0),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.loading?e("div",{key:"loading",staticClass:"loading loading-grey loading-lg",staticStyle:{"min-height":"200px"}}):t.error?e("div",{key:"error",staticClass:"tw-text-xl tw-text-center tw-text-gray-darker tw-py-16"},[t._v("\n      Oops! There was a problem getting the list of products.\n      "),e("button",{staticClass:"tw-text-brand-brown hover:tw-text-black",on:{click:function(e){return e.preventDefault(),t.getProducts.apply(null,arguments)}}},[t._v("\n        Try again.\n      ")])]):e("div",{key:"products",staticClass:"lg:tw-flex tw-flex-col tw-flex-wrap tw-items-center tw-justify-center tw-mt-3"},[e("div",{staticClass:"tw-flex tw-justify-center tw-flex-col tw-mt-3 tw-w-full md:tw-w-full md:tw-mx-auto"},[e("ul",{staticClass:"tw-space-y-5 tw-w-full md:tw-w-full md:tw-mx-auto tw-mt-10 tw-text-xl tw-pl-0"},[null!==t.homeKit?e("li",{staticClass:"tw-relative tw-cursor-pointer tw-overflow-hidden tw-flex tw-flex-col tw-bg-[#F7F0E4] tw-text-black tw-min-h-72 tw-w-full tw-mt-12 tw-items-center tw-justify-between tw-border tw-rounded-2xl tw-pt-5 tw-px-5 lg:tw-px-20",class:{"tw-border tw-border-brand-brown":t.isSelected(t.homeKit)},on:{click:function(e){return t.selectProduct(t.homeKit)}}},[e("div",{staticClass:"tw-absolute tw-right-0 tw-top-0 tw-py-5 tw-px-8"},[e("div",{staticClass:"tw-flex tw-items-center tw-w-full"},[e("div",{staticClass:"tw-relative"},[t.homeKit.id===t.homeKit.product_id||t.homeKit.id===t.selectedProduct.id?e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-black",attrs:{fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}})]):e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-gray-700 hover:tw-text-black",attrs:{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}})])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-w-full tw-px-6 tw-pb-10 tw-mt-5"},[e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-text-black tw-w-full md:tw-w-5/6"},[e("div",{staticClass:"tw-flex tw-flex-col md:tw-flex-row md:tw-justify-between md:tw-items-center tw-w-full"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("h5",{staticClass:"tw-font-semibold tw-text-4xl tw-text-black"},[t._v("\n                        Home Test Kit\n                      ")])])]),t._v(" "),e("div",{staticClass:"tw-relative"},[e("div",{staticClass:"tw-font-medium tw-text-4xl tw-text-black"},[t._v("\n                      $"+t._s(t.homeKit.price)+"\n                    ")])])])])])]):t._e(),t._v(" "),null!==t.labc
2orp?e("li",{staticClass:"tw-relative tw-cursor-pointer tw-overflow-hidden tw-flex tw-flex-col tw-bg-[#F7F0E4] tw-text-black tw-min-h-72 tw-w-full tw-mt-12 tw-items-center tw-justify-between tw-border tw-rounded-2xl tw-pt-5 tw-px-5 lg:tw-px-20",class:{"tw-shadow-lg tw-border tw-border-brand-brown":t.isSelected(t.labcorp)},on:{click:function(e){return t.selectProduct(t.labcorp)}}},[e("div",{staticClass:"tw-absolute tw-right-0 tw-top-0 tw-py-5 tw-px-8"},[e("div",{staticClass:"tw-flex tw-items-center tw-w-full"},[e("div",{staticClass:"tw-relative"},[t.labcorp.id===t.labcorp.product_id||t.labcorp.id===t.selectedProduct.id?e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-black",attrs:{fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}})]):e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-gray-700 hover:tw-text-black",attrs:{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}})])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-w-full tw-px-6 tw-pb-10 tw-mt-5"},[e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-text-gray-800 tw-w-full md:tw-w-5/6"},[e("div",{staticClass:"tw-flex tw-flex-col md:tw-flex-row md:tw-justify-between md:tw-items-center tw-w-full"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("h4",{staticClass:"tw-font-semibold tw-text-4xl tw-text-black"},[t._v("\n                        Visit A Labcorp Lab Locally\n                      ")])])]),t._v(" "),e("div",{staticClass:"tw-font-bold"},[e("div",{staticClass:"tw-font-medium tw-text-4xl tw-text-black"},[t._v("\n                      $"+t._s(t.labcorp.price)+"\n                    ")])])])])])]):t._e(),t._v(" "),null!==t.quest?e("li",{staticClass:"tw-relative tw-cursor-pointer tw-overflow-hidden tw-flex tw-flex-col tw-bg-[#F7F0E4] tw-text-black tw-min-h-72 tw-w-full tw-mt-12 tw-items-center tw-justify-between tw-border tw-rounded-2xl tw-pt-5 tw-px-5 lg:tw-px-20",class:{"tw-shadow-lg tw-border tw-border-brand-brown":t.isSelected(t.quest)},on:{click:function(e){return t.selectProduct(t.quest)}}},[e("div",{staticClass:"tw-absolute tw-right-0 tw-top-0 tw-py-5 tw-px-8"},[e("div",{staticClass:"tw-flex tw-items-center tw-w-full"},[e("div",{staticClass:"tw-relative"},[t.quest.id===t.quest.product_id||t.quest.id===t.selectedProduct.id?e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-black",attrs:{fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}})]):e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-gray-700 hover:tw-text-brand-brown",attrs:{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}})])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-w-full tw-px-6 tw-pb-10 tw-mt-5"},[e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-text-gray-800 tw-w-full md:tw-w-5/6"},[e("div",{staticClass:"tw-flex tw-flex-col md:tw-flex-row md:tw-justify-between md:tw-items-center tw-w-full"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("h4",{staticClass:"tw-font-semibold tw-text-4xl tw-text-black"},[t._v("\n                        Visit a Quest Diagnostics Lab/Mobile Draw\n                      ")])])]),t._v(" "),e("div",{staticClass:"tw-font-medium tw-text-4xl tw-text-black"},[t._v("\n                    $"+t._s(t.quest.price)+"\n                  ")])])])])]):t._e(),t._v(" "),null!==t.upload?e("li",{staticClass:"tw-relative tw-cursor-pointer tw-overflow-hidden tw-flex tw-flex-col tw-bg-[#F7F0E4] tw-text-black tw-min-h-72 tw-w-full tw-mt-12 tw-items-center tw-justify-between tw-border tw-rounded-xl tw-pt-8 tw-px-5 lg:tw-px-20",class:{"tw-shadow-lg tw-border tw-border-brand-brown":t.isSelected(t.upload)},on:{click:function(e){return t.selectProduct(t.upload)}}},[e("div",{staticClass:"tw-absolute tw-right-0 tw-top-0 tw-py-5 tw-px-8"},[e("div",{staticClass:"tw-flex tw-items-center tw-w-full"},[e("div",{staticClass:"tw-relative"},[t.upload.id===t.upload.product_id||t.upload.id===t.selectedProduct.id?e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-black",attrs:{fill:"
2currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}})]):e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-gray-700 hover:tw-text-brand-brown",attrs:{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}})])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-i9tems-center tw-w-full tw-px-6 tw-mt-5"},[e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-text-black tw-font-medium tw-w-full md:tw-w-5/6"},[e("div",{staticClass:"tw-flex tw-flex-col md:tw-flex-row md:tw-justify-between md:tw-items-center tw-w-full"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("h4",{staticClass:"tw-font-semibold tw-text-4xl tw-text-black"},[t._v("\n                        Upload your most recent blood work\n                      ")])])]),t._v(" "),e("div",{staticClass:"tw-font-medium tw-text-4xl tw-text-black"},[t._v("\n                    Free\n                  ")])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-px-6 tw-py-3tw-text-center tw-text-black tw-w-full tw-mb-10 tw-font-semibold tw-tracking-wider tw-text-base"},[e("div",{staticClass:"tw-text-black tw-font-medium tw-flex tw-flex-col tw-text-sm"},[e("div",{staticClass:"tw-text-left"}),t._v("\n                (Must contain Testosterone Free & Total, LH Levels and be less than 90 days old)\n              ")])])]):t._e(),t._v(" "),null!==t.insurancePay?e("li",{staticClass:"tw-relative tw-cursor-pointer tw-overflow-hidden tw-flex tw-flex-col tw-bg-[#F7F0E4] tw-text-black tw-min-h-72 tw-w-full tw-mt-12 tw-items-center tw-justify-between tw-border tw-rounded-xl tw-pt-8 tw-px-5 lg:tw-px-20",class:{"tw-shadow-lg tw-border tw-border-brand-brown":t.isSelected(t.insurancePay)},on:{click:function(e){return t.selectProduct(t.insurancePay)}}},[e("div",{staticClass:"tw-absolute tw-right-0 tw-top-0 tw-py-5 tw-px-8"},[e("div",{staticClass:"tw-flex tw-items-center tw-w-full"},[e("div",{staticClass:"tw-relative"},[t.insurancePay.id===t.insurancePay.product_id||t.insurancePay.id===t.selectedProduct.id?e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-black",attrs:{fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}})]):e("svg",{staticClass:"tw-h-8 tw-w-8 tw-text-gray-700 hover:tw-text-brand-brown",attrs:{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"}},[e("path",{attrs:{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}})])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-w-full tw-px-6 tw-mt-5"},[e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-text-white tw-font-medium tw-w-full md:tw-w-5/6 tw-py-3"},[e("div",{staticClass:"tw-flex tw-flex-col md:tw-flex-row md:tw-justify-between md:tw-items-center tw-w-full"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("div",{staticClass:"tw-flex tw-flex-col tw-h-3/5"},[e("h4",{staticClass:"tw-font-semibold tw-text-4xl tw-text-black"},[t._v("\n                        Insurance Billing\n                      ")])])]),t._v(" "),e("div",{staticClass:"tw-font-medium tw-text-4xl tw-text-black"},[e("div",[t._v("\n                      $"+t._s(t.insurancePay.price)+" "),e("br"),e("div",{staticClass:"tw-text-sm"},[t._v("\n                        Admin Fee\n                      ")])])])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-between tw-items-center tw-px-6 tw-py-3tw-text-center tw-text-gray-800 tw-w-full tw--mt-3 tw-mb-10 tw-font-semibold tw-tracking-wider tw-text-base"},[e("div",{staticClass:"tw-text-black tw-font-medium tw-flex tw-flex-col tw-text-sm"},[e("div",{staticClass:"tw-text-left"})])])]):t._e()])])])]),t._v(" "),t.showNotificationBanner?e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("NotificationBanner",{attrs:{"show-notification-banner":t.showNotificationBanner,header:"Insurance Billing",message:"Nu Image will supply the blood requisition form and proper diagnostic codes for most carriers.\n                    Nu Image does not charge for this service, however, your insurance company may bill you separately for co-pay, or uncovered services.\n                    Please contact them first if you have any questions regarding your plan and coverage.\n                    Nu Image is NOT responsible for any fee’s, invoices, or billing associated with customers insurance plans."},on:{"continue-enrollment":t.continueEnrollment}})],1):t._e()],1)}),[function(){var t=this,e=t._self._c;return e("p",{staticClass:"tw-mt-5 tw-text-base md:tw-text-xl tw-font-medium tw-text-gray-700 tw-text-start tw-w-full"},[e("strong",{staticClass:"tw-font-semibold tw-text-black tw-my-1"},[t._v("Why do I need blood work?")]),e("br"),t._v(" It is important for our practitioners to understand your current\n    health condition in order to properly diagnose and prescribe the proper treatment.\n    We have three options for testing to make your enrollment as convenient as possible.\n  ")])}],!1,null,null,null).exports;const D={name:"UpSaleBanner",components:{CardModal:C.Z}
2,props:["showUpSaleBanner"],data:function(){return{loading:!1,alwaysShow:!0}},computed:{showBanner:function(){return this.alwaysShow&&this.showUpSaleBanner}},created:function(){this.alwaysShow=!0},methods:{hide:function(){this.alwaysShow=!1,this.$emit("close-up-sale-banner")},continueOffer:function(){this.$emit("continue-with-offer")}}};const j=(0,x.Z)(D,(function(){var t=this,e=t._self._c;return e("CardModal",{attrs:{show:t.showBanner,closeable:!0,"show-cancel-button":!0},on:{hide:function(e){return t.hide()}}},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("div",{},[e("div",{staticClass:"tw-mx-auto tw-flex tw-items-center tw-justify-center tw-h-12 tw-w-12 tw-rounded-full tw-bg-yellow"},[e("svg",{staticClass:"tw-h-12 tw-w-12 tw-text-white",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),t._v(" "),e("div",[e("h2",{staticClass:"tw-text-xl tw-font-bold tw-mb-2 tw-text-center"},[t._v("\n          Weight loss guaranteed for 90 days!\n        ")]),t._v(" "),e("div",{staticClass:"tw-text-justify tw-flex tw-flex-wrap tw--mx-0 tw-text-lg tw-mb-1"},[e("div",{staticClass:"tw-w-full tw-px-2 tw-mb-4"},[e("div",{staticClass:"tw-relative tw-mt-4 tw-mx-3 tw-relative"},[e("p",[t._v("\n                Did you know we have a 90 day weight loss guarantee?\n              ")]),t._v(" "),e("p",[t._v("\n                Save almost $390 by signing up for our 3 month program instead!\n              ")])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-center tw-py-4"},[e("button",{staticClass:"tw-block tw-border-2 tw-border-black tw-w-full tw-btn tw-bg-white tw-text-black tw-rounded-full tw-btn-lg",class:{loading:t.loading},attrs:{disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.hide()}}},[t._v("\n            Continue with one time order\n          ")])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-center tw-py-2"},[e("button",{staticClass:"tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-rounded-full tw-btn-lg",class:{loading:t.loading},attrs:{disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.continueOffer()}}},[t._v("\n            Switch to 90 days Program\n          ")])])])])])],1)}),[],!1,null,"6a88f585",null).exports;const B={name:"StateRegulationBanner",components:{CardModal:C.Z},props:["showUpSaleBanner","stateName"],data:function(){return{loading:!1,alwaysShow:!0}},computed:{showBanner:function(){return this.alwaysShow&&this.showUpSaleBanner}},created:function(){this.alwaysShow=!0},methods:{hide:function(){this.alwaysShow=!1,this.$emit("closeUpSaleBanner")},continueOffer:function(){this.$emit("change-to-quarterly")}}};const L=(0,x.Z)(B,(function(){var t,e=this,n=e._self._c;return n("CardModal",{attrs:{show:e.showBanner,closeable:!0,"show-cancel-button":!0},on:{hide:function(t){return e.hide()}}},[n("Transition",{attrs:{name:"fade",mode:"out-in"}},[n("div",{},[n("div",{staticClass:"tw-mx-auto tw-flex tw-items-center tw-justify-center tw-h-12 tw-w-12 tw-rounded-full tw-bg-yellow"},[n("svg",{staticClass:"tw-h-12 tw-w-12 tw-text-white",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[n("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),e._v(" "),n("div",[n("h2",{staticClass:"tw-text-xl tw-font-bold tw-mb-2 tw-text-center"},[e._v("\n          State Regulation Notice !\n        ")]),e._v(" "),n("div",{staticClass:"tw-text-justify tw-flex tw-flex-wrap tw--mx-0 tw-text-lg tw-mb-1"},[n("div",{staticClass:"tw-w-full tw-px-2 tw-mb-4"},[n("div",{staticClass:"tw-relative tw-font-light tw-mt-4 tw-mx-3 tw-relative"},[n("p",[e._v("\n                Due to your state's regulations, it's important to note that for patients in "+e._s(null!==(t=e.stateName[0])&&void 0!==t?t:"your selected state")+", the selection is limited to a maximum\n                3-month supply. Kindly adjust your current quantity from 6 to 3 accordingly\n              ")])])])]),e._v(" "),n("div",{staticClass:"tw-flex tw-justify-center tw-py-2"},[n("button",{staticClass:"tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-rounded-full tw-btn-lg",class:{loading:e.loading},attrs:{disabled:e.loading},on:{click:function(t){return t.preventDefault(),e.continueOffer()}}},[e._v("\n            Change to 3 Month Supply\n          ")])]),e._v(" "),n("div",{staticClass:"tw-flex tw-justify-center tw-py-4"},[n("button",{staticClass:"tw-block tw-border-2 tw-border-black tw-w-full tw-btn tw-bg-white tw-text-black tw-rounded-full tw-btn-lg",class:{loading:e.loading},attrs:{disabled:e.loading},on:{click:function(t){return t.preventDefault(),e.hide()}}},[e._v("\n            Select Other Options\n          ")])])])])])],1
2)}),[],!1,null,"3fc04182",null).exports;const F={props:{show:{type:Boolean,required:!0},title:{type:String,default:""},closeable:{type:Boolean,default:!0},primaryAction:{type:Boolean,default:!1},primaryActionText:{type:String,default:"Confirm"},cancelText:{type:String,default:"Cancel"}},watch:{show:{immediate:!0,handler:function(t){t?document.body.style.setProperty("overflow","hidden"):document.body.style.removeProperty("overflow")}}},created:function(){var t=this,e=function(e){"Escape"===e.key&&t.show&&t.closeable&&t.dismiss()};document.addEventListener("keydown",e),this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e),document.body.style.removeProperty("overflow")}))},methods:{dismiss:function(){this.$emit("hide")}}};const q=(0,x.Z)(F,(function(){var t=this,e=t._self._c;return e("Portal",{attrs:{to:"modals"}},[e("Transition",{attrs:{name:"fade",appear:""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"tw-relative tw-z-10"},[e("Transition",{attrs:{"enter-class":"tw-opacity-0","enter-active-class":"tw-ease-out tw-duration-300","enter-to-class":"tw-opacity-100","leave-class":"tw-opacity-100","leave-active-class":"tw-ease-in tw-duration-200","leave-to-class":"tw-opacity-0"}},[e("div",{staticClass:"tw-fixed tw-inset-0 tw-bg-gray-600/75 tw-transition-opacity"})]),t._v(" "),e("div",{staticClass:"tw-fixed tw-inset-0 tw-z-10 tw-w-screen tw-overflow-y-auto"},[e("div",{staticClass:"tw-flex tw-min-h-full tw-items-end tw-justify-center tw-p-4 tw-text-center sm:tw-items-center sm:tw-p-0"},[e("Transition",{attrs:{"enter-class":"tw-opacity-0 tw-translate-y-4 sm:tw-translate-y-0 sm:tw-scale-95","enter-active-class":"tw-ease-out tw-duration-300","enter-to-class":"tw-opacity-100 tw-translate-y-0 sm:tw-scale-100","leave-class":"tw-opacity-100 tw-translate-y-0 sm:tw-scale-100","leave-active-class":"tw-ease-in tw-duration-200","leave-to-class":"tw-opacity-0 tw-translate-y-4 sm:tw-translate-y-0 sm:tw-scale-95"}},[e("div",{staticClass:"tw-relative tw-transform tw-overflow-hidden tw-rounded-lg tw-bg-transparent tw-text-left tw-shadow-xl tw-transition-all sm:tw-my-8 tw-w-full sm:tw-w-4/5 md:tw-w-1/2 xl:tw-w-3/5"},[e("div",{staticClass:"tw-bg-gray-300 tw-rounded-xl tw-px-4 tw-pb-4 tw-pt-5"},[t.closeable?e("div",{staticClass:"tw-absolute tw-right-0 tw-top-0 tw-pr-4 tw-pt-4"},[e("button",{staticClass:"tw-rounded-md tw-bg-gray-300 tw-text-gray-500 hover:tw-text-gray-600",on:{click:t.dismiss}},[e("span",{staticClass:"tw-sr-only"},[t._v("Close")]),t._v(" "),e("svg",{staticClass:"tw-h-6 tw-w-6",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]):t._e(),t._v(" "),t._t("default")],2)])])],1)])],1)])],1)}),[],!1,null,null,null).exports;var Q=n(92024);function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function V(t){return function(t){if(Array.isArray(t))return H(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return H(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(t,e)}(t)||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 H(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function G(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function z(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?G(Object(n),!0).forEach((function(e){W(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function W(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==U(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==U(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===U(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const $={components:{BloodWorkOption:R,UltraBurnQuestion:s.Z,PrescriptionAddonQuestion:P,SupplementsQuestion:k,ProductProgramSummary:A.default,UpSaleBanner:j,StateRegulationBanner:L,Modal:q,NubodyPaymentSelection:Q.Z},mixins:[u.Z,O],props:{program:{default:"weight_loss",type:String},user:{default:null,type:Object},initialStateSelected:{default:null},currentState:{default:null,type:String},initProducts:{default:null,type:Object},cantBuyTestosterone:{default:!1,type:Boolean},nubodyInfo:{default:null,type:Object}},data:function(){return{enableOneTimePricing:"true",showPromotionalBannerOnUi:"false",openMobile:!1,theProgram:this.program,initialFrequency:null,selectedProduct:{},selectedOption:this.initProducts?this.initProducts.selectedProducts.products.program_type:{id:0},selectedFurtherOption:this.initProducts?this.initProducts.selectedProducts.products.mixing_method:{},selectedUB:this.initProducts?this.initProducts.selectedProducts.products.ultra_burn:{},selectedBloodWorkOption:this.initProducts?this.initProducts.selectedProducts.products.blood_work_option:{},selectedSupplements:this.initProducts?this.initProducts.selectedProducts.products.addons:[],selectedPrescriptionAddons:[],productOptions:{},categoryOptions:{},furtherOptions:{},pricingType:this.initProducts?this.initProducts.selectedProducts.products.product.frequency:"quarterly",learn:{},show:!1,showNubodyInfoModal:!1,ultraBurnPrograms:[],bloodWorkPrograms:["trt"],supplementsPrograms:[],prescriptionAddonPrograms:[],noProductPrograms:["supplements"],questions:["medication","quantity","supply","blood-work","summary"],activeQuestion:0,singleProductPrograms:[],loaded:!1,couponData:this.initProducts?this.initProducts.coupon:{},hideProductsOptions:!1,dosageCategories:[],showDosageCategories:!0,showPricing:!1,nextButtonClicked:!1,tempProduct:{},pricingOptions:{},selectedProductDosageCatId:null,showShippingFrequency:!1,questionAdvanced:!1,supplySelected:!1,quantitySelected:!1,originalProductPrice:0,quarterlyPercentage:"10",quintilePercentage:"15",halfYearlyPercentage:"15",yearlyPercentage:"20",trtYearlyPercentage:"46.2",pOptions:[],showNextButton:!1,dosageStrengthSelected:!1,runOneTimeSkips:!0,showUpSaleBanner:!1,showStateRegulationBanner:!1,selectedSubscription:null,isNubodySubscription:!1,userHasValidBloodWorkOrder:!1,showPaymentSelection:!1}},computed:{showCouponText:function(){var t=this.getUrlParameters(),e=null;return"undefined"!=typeof Storage&&(e=sessionStorage.getItem("coupon")),t.hasOwnProperty("coupon")||e},products:function(){return{product:this.selectedProduct,program_type:this.selectedOption,mixing_method:this.selectedFurtherOption,ultra_burn:z(z({},this.selectedUB),{},{frequency:this.selectedProduct.frequency}),addons:this.selectedSupplements,blood_work_option:this.selectedBloodWorkOption,supplements:this.selectedPrescriptionAddons,selected_program:10===this.selectedProduct.program_id?"weight_loss":this.program,selected_pricing_type:this.pricingType,productFrequency:this.productFrequency}},prescriptionAddonPrice:function(){var t=this,e=0;return this.selectedPrescriptionAddons&&this.selectedPrescriptionAddons.forEach((function(n){e+=parseFloat(t.isNubodySubscriptio?n.member_price:n.price)})),e},supplementsPrice:function(){var t=this,e=0;return this.selectedSupplements&&(this.program,this.selectedSupplements.forEach((function(n){e+=parseFloat(t.isNubodySubscription?n.member_price:n.price)}))),e}
2,ubPrice:function(){var t=0;return this.selectedUB&&this.selectedUB.price&&(t+=parseFloat(this.isNubodySubscription?this.selectedUB.member_price:this.selectedUB.price)),t*this.productFrequency},bloodWorkOptionPrice:function(){var t=0;return this.selectedBloodWorkOption&&this.selectedBloodWorkOption.price&&(t+=parseFloat(this.isNubodySubscription?this.selectedBloodWorkOption.member_price:this.selectedBloodWorkOption.price)),t},selectedProducts:function(){var t=z({},this.products);return delete t.blood_work_option,{products:this.products,subtotal:parseFloat(this.price(this.products,this.program,{prescriptionAddonPrice:this.prescriptionAddonPrice,supplementsPrice:this.supplementsPrice,ubPrice:this.ubPrice,bloodWorkOptionPrice:this.bloodWorkOptionPrice},this.isNubodySubscription)),subtotalForCoupon:parseFloat(this.price(t,this.program,{prescriptionAddonPrice:this.prescriptionAddonPrice,supplementsPrice:this.supplementsPrice,ubPrice:this.ubPrice}))}},productFrequency:function(){var t=1;return this.selectedProduct&&("quarterly"===this.selectedProduct.frequency&&(t=3),"quintile"===this.selectedProduct.frequency&&(t=5),"half-yearly"===this.selectedProduct.frequency&&(t=6),"yearly"===this.selectedProduct.frequency&&(t=12)),t},supplements:function(){var t=this.selectedSupplements;if(0===t.length)return null;var e=a().uniqBy(t,"id");return e.forEach((function(e){e.count=t.filter((function(t){return t.id===e.id})).length})),e},showProductQuestion:function(){return!this.noProductPrograms.includes(this.theProgram)},showUBQuestion:function(){return"supplements"!==this.theProgram&&(!!this.ultraBurnPrograms.includes(this.theProgram)||(this.questionAdvanced?this.advanceQuestioning():this.back(),!1))},showBloodWorkOptions:function(){return this.shouldShowBloodWorkOptions()},showPrescriptionAddonQuestion:function(){return"supplements"!==this.theProgram&&(!!this.prescriptionAddonPrograms.includes(this.theProgram)||(this.questionAdvanced?this.advanceQuestioning():this.back(),!1))},showSupplementsQuestion:function(){return!!this.supplementsPrograms.includes(this.theProgram)||(this.questionAdvanced?this.advanceQuestioning():this.back(),!1)},showShippingFrequencyQuestion:function(){return"ed"===this.theProgram||("supplements"===this.theProgram||(this.questionAdvanced?this.advanceQuestioning():this.back()),!1)},showDosageStrengthQuestion:function(){return"supplements"!==this.theProgram&&("weight_loss"===this.theProgram||"weight_tain"===this.theProgram||"supplements"===this.theProgram||"b12"===this.theProgram||"hrt"===this.theProgram||"sleep"===this.theProgram?(this.questionAdvanced?this.advanceQuestioning():this.back(),!1):(this.theProgram,!0))},showMedicationQuestion:function(){return"supplements"!==this.theProgram},pricingOpts:function(){return this.selectedProduct.pricing_options?300===this.selectedProduct.id||300===this.selectedProduct.product_id?this.selectedProduct.pricing_options.filter((function(t){return"quintile"!==t.frequency||"half-yearly"!==t.frequency||"yearly"!==t.frequency})):this.selectedProduct.pricing_options.filter((function(t){return null!==t.frequency})):this.pricingOptions},month:function(){return(new(i())).format("MMMM")},coupon:function(){return this.$store.getters.coupon},customProductSort:function(){var t=this;return"one-time"==this.urlParameter("supply")?this.pricingOpts.filter((function(e){return"one-time"==e.frequency&&"false"===t.enableOneTimePricing&&t.showOption(product.frequency)})):a().sortBy(this.pricingOpts.slice().reverse(),(function(e){return"one-time"==e.frequency&&"false"===t.enableOneTimePricing?1:0})).filter((function(e){return t.showOption(e.frequency)&&!t.checkStateRegulationForSelection(e.frequency)}))},currentUserState:function(){var t,e;return this.currentState?this.currentState:!1!==this.initialStateSelected?this.initialStateSelected[1]:null===(t=this.user)||void 0===t||null===(e=t.contact)||void 0===e?void 0:e.state},isActiveNubodySubscription:function(){var t;return!(null==this||null===(t=this.user)||void 0===t||!t.has_nubody_membership)},showNubodyMembershipOption:function(){return!1},monthlyPrice:function(){if(!this.selectedProduct||!this.selectedProduct.pricing_options)return 0;var t=this.selectedProduct.pricing_options.find((function(t){return"monthly"===t.frequency}));return t?Number(t.price):0},monthlyMemberPrice:function(){if(!this.selectedProduct||!this.selectedProduct.pricing_options)return 0;var t=this.selectedProduct.pricing_options.find((function(t){return"monthly"===t.frequency}));return t?Number(t.member_price):0}},mounted:function(){this.checkUserHasValidBloodWorkOrder(),console.log({program:this.program,user:this.user,initialStateSelected:this.initialStateSelected,initProducts:this.initProducts,cantBuyTestosterone:this.cantBuyTestosterone}),"hair-loss"===this.program&&(this.theProgram="hair loss"),this.runOneTimeSkips=!("ed"===this.program&&"one-time"==this.urlParameter("supply")),this.getDosageCategories(),this.getProgramPricing(),this.updateUrlParameters(z(z({},this.getUrlParameters()),{},{program:this.theProgram})),this.singleProductPrograms.includes(this.theProgram)||this.updateQuestionUrl("product-selection"),this.showProductQuestion||(this.activeQuestion=5),this.selectedBloodWorkOption={},setTimeout((function(){window.scrollTo({top:0,behavior:"smooth",block:"start"})}),750)},methods:{productIdsFromEnv:function(t){return(t||"").split(",").map((function(t){return t.trim()})).filter((function(t){return t.length>0}))},bloodWorkRequiredProductIds:function(){return[].concat(V(this.productIdsFromEnv("456,457")),V(this.productIdsFromEnv("532,533,534,535")))},selectedProductId:function(){var t,e,n=(null===(t=this.selectedProducts)||void 0===t||null===(e=t.products)||void 0===e?void 0:e.product)||this.selectedProduct;return(null==n?void 0:n.product_id)||(null==n?void 0:n.id)||null},isSelectedTrtProduct:function(){return this.bloodWorkPrograms.includes(this.theProgram)},shouldShowBloodWorkOptions:function(){var t=this.selectedProductId();return this.isSelectedTrtProduct()&&this.bloodWorkRequiredProductIds().includes(String(t))&&
2!this.userHasValidBloodWorkOrder},checkUserHasValidBloodWorkOrder:function(){var t=this;this.user&&axios.get("/json/user/has-valid-blood-work-order").then((function(e){t.userHasValidBloodWorkOrder=e.data.hasValidBloodWorkOrder,t.$emit("bloodwork-validation",{userHasValidBloodWorkOrder:t.userHasValidBloodWorkOrder})})).catch((function(t){console.error("Error checking user blood work order:",t)}))},checkForTestosteroneWaitTime:function(t){9===t.program_id?this.$emit("check-testosterone"):this.cantBuyTestosterone=!1},couponApplied:function(t){this.couponData=t,this.updateConversionData()},emitRock:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;console.log("emitRock"),this.updateConversionData(),this.$emit("rock",{products:this.selectedProducts,couponData:t,subscription:this.selectedSubscription})},updateQuestionUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.updateUrlParameters(z(z({},this.getUrlParameters()),{},{question:t||this.questions[this.activeQuestion]}))},restart:function(){this.singleProductPrograms.includes(this.theProgram)||"ed"===this.theProgram||"supplements"===this.theProgram?this.$emit("restart"):this.activeQuestion=0},priceCalc:function(t,e){return(parseFloat(t.price)*e).toFixed(2)},notEmpty:function(t){return!a().isEmpty(t)},empty:function(t){return a().isEmpty(t)},nextQuestion:function(t,e){var n;this.cantBuyTestosterone?this.$emit("check-testosterone"):(null!==(n=this.user)&&void 0!==n&&n.has_nubody_membership||("ub"===this.questions[this.activeQuestion]&&(this.selectedUB=e,this.advanceQuestioning()),"addon"===this.questions[this.activeQuestion]&&(this.selectedAddon=e)),"supplement"===this.questions[this.activeQuestion]&&(this.selectedSupplement=e),"blood-work"===this.questions[this.activeQuestion]&&(this.selectedBloodWorkOption=e,console.log("Blood work selected")),console.log("Next question"),console.log(this.activeQuestion))},back:function(){0===this.activeQuestion||"supplements"===this.theProgram?this.$emit("restart"):(this.activeQuestion=this.activeQuestion-1,"blood-work"!==this.questions[this.activeQuestion]||this.shouldShowBloodWorkOptions()||(this.activeQuestion=Math.max(this.activeQuestion-1,0)),this.updateConversionData(),window.scrollTo({top:0,behavior:"smooth",block:"start"})),this.questionAdvanced=!1},advanceQuestioning:function(){var t,e;if((console.log("AdvanceQuestioning"),console.log(this.activeQuestion),console.log(this.questions[this.activeQuestion]),console.log(!this.bloodWorkPrograms.includes(this.theProgram)),5===this.activeQuestion&&"supplements"===this.theProgram)&&(null==this||null===(t=this.selectedProducts)||void 0===t||null===(e=t.products)||void 0===e?void 0:e.addons.length)<1)return this.emitError("You must select at least one supplement to proceed.");if(this.cantBuyTestosterone)this.$emit("check-testosterone");else{if("dosage-strength"===this.questions[this.activeQuestion]&&!this.dosageStrengthSelected)return this.emitError("You must select a dosage strength to proceed.");if("quantity"===this.questions[this.activeQuestion]&&!this.quantitySelected&&"ed"===this.theProgram)return this.emitError("You must select a quantity to proceed.");if("supply"===this.questions[this.activeQuestion]&&!this.supplySelected)return this.emitError("You must select a supply amount to proceed.");if("blood-work"===this.questions[this.activeQuestion]&&this.shouldShowBloodWorkOptions()&&0===Object.keys(this.selectedBloodWorkOption).length&&this.bloodWorkRequiredProductIds().includes(String(this.selectedProductId())))return this.emitError("You must select one out of the following blood work options.");if(this.activeQuestion<this.questions.length-1){if("medication"===this.questions[this.activeQuestion])this.validate(this.theProgram)&&("blood-work"!==this.questions[this.activeQuestion+1]||this.shouldShowBloodWorkOptions()||this.activeQuestion++,this.activeQuestion++,window.scrollTo({top:0,behavior:"smooth",block:"start"}));else console.log("user has valid bloodwork order",this.userHasValidBloodWorkOrder),"blood-work"!==this.questions[this.activeQuestion+1]||this.shouldShowBloodWorkOptions()||this.activeQuestion++,this.activeQuestion++,setTimeout((function(){window.scrollTo({top:0,behavior:"smooth",block:"start"})}),750);this.updateConversionData()}else this.emitRock();this.questionAdvanced=!0}},updateConversionData:function(){this.$emit("updateConversion",{selectedProducts:this.selectedProducts,activeQuestion:this.activeQuestion,couponData:this.couponData})},learnMore:function(t){this.learn=t,this.show=!0},getPOptionsIndex:function(){return 0},selectProductOption:function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;
2console.log(this.activeQuestion),this.selectDosageCategory(t),console.log("dosage strength"),console.log(this.pOptions),this.pricingType=e.frequency,this.pricingOptions=this.selectedProduct.pricing_options,this.notEmpty(this.tempProduct)&&this.tempProduct.id===this.selectedProduct.id||(this.tempProduct=this.selectedProduct),this.selectedProduct=z(z({},this.selectedProduct),e),console.log("selected product before quantity check",this.selectedProduct);var i=1;if("quarterly"===this.selectedProduct.frequency?i=3:"quintile"===this.selectedProduct.frequency?i=5:"half-yearly"===this.selectedProduct.frequency?i=6:"yearly"===this.selectedProduct.frequency&&(i=12),"ed"===this.theProgram&&this.selectedProduct.quantity||(this.selectedProduct.quantity=i),console.log("selected product after quantity check",this.selectedProduct),this.supplySelected=!0,this.removeCoupon(),void 0!==this.$posthog)try{var o,a,s,l=parseFloat(e.price||e.amount||0),u=null===(o=this.selectedProduct)||void 0===o?void 0:o.id,c=(null===(a=this.selectedProduct)||void 0===a?void 0:a.display_name)||(null===(s=this.selectedProduct)||void 0===s?void 0:s.name);u&&l>0&&c&&(this.$posthog.capture("product_added",{product_id:u.toString(),product_name:c,product_category:e.category||this.selectedProgram||"medical",price:l,currency:"USD",quantity:1}),console.log("[ProgramOptionsSelector] PostHog product_added event sent"))}catch(t){console.error("[ProgramOptionsSelector] PostHog tracking failed:",t)}if(this.isNubodySubscription=["annual","month","subscriber","member"].includes(r),this.selectedSubscription=null,null==this||null===(n=this.user)||void 0===n||!n.has_nubody_membership)if("annual"==r)this.selectedSubscription={name:this.nubodyInfo.annual.description,description:this.nubodyInfo.annual.description,price:this.nubodyInfo.annual.price,frequency:"yearly",product:this.nubodyInfo.annual.product};else if("month"==r)this.selectedSubscription={name:this.nubodyInfo.month.description,price:this.nubodyInfo.month.price,frequency:"monthly",product:this.nubodyInfo.month.product};else if("member"==r&&this.showNubodyMembershipOption)return this.showPaymentSelection=!0,void this.advanceQuestioning();this.advanceQuestioning()},changePricing:function(t){if(console.log("changePricing",t),!("ed"===this.theProgram&&"monthly"===t.frequency&&this.selectedProduct.quantity<=5||"monthly"===t.frequency&&("hair loss"==this.theProgram||"ed"==this.theProgram&&this.selectedOption&&this.selectedOption.id<20)||"one-time"===t.frequency&&"ed"==this.theProgram&&this.selectedProduct.quantity<=5)){this.pricingType=t.frequency,this.pricingOptions=this.selectedProduct.pricing_options,this.notEmpty(this.tempProduct)&&this.tempProduct.id===this.selectedProduct.id||(this.tempProduct=this.selectedProduct),this.selectedProduct=z(z({},this.selectedProduct),t),console.log("selected product after merge",this.selectedProduct),console.log("calculating quantity based on frequency");var e=1;"quarterly"===this.selectedProduct.frequency?e=3:"quintile"===this.selectedProduct.frequency?e=5:"half-yearly"===this.selectedProduct.frequency?e=6:"yearly"===this.selectedProduct.frequency&&(e=12),"ed"===this.theProgram&&this.selectedProduct.quantity||(this.selectedProduct.quantity=e),console.log("selected product after quantity check",this.selectedProduct),this.supplySelected=!0,this.removeCoupon(),this.advanceQuestioning()}},removeCoupon:function(){this.coupon&&this.$store.dispatch("removeCoupon")},rock:function(){this.activeQuestion=3},sendCartEventToFacebook:function(t){var e=(0,n(97466).v4)();"function"==typeof window.fbq&&window.fbq("track","AddToCart",{content_ids:t.id,content_name:t.display_name,currency:"USD",content_type:"product",value:t.price},{eventID:"".concat(e)}),this.sendCartEventToFBCAPI(t,e)},sendCartEventToFBCAPI:function(t,e){axios.post("/json/track-fb-event/addtocart",{price:t.price,display_name:t.display_name,eventId:e})},orionAddToCart:function(t){if(window.fbTracker&&"function"==typeof window.fbTracker.track){t.price;var e=[String(t.id)];window.fbTracker.track("AddToCart",{content_ids:[e],content_type:"product",value:t.price,currency:"USD"})}},selectDosageCategory:function(t){console.log(["selectDosageCategory",t,this.productOptions]),t.available&&(t.hide_for_state[this.currentUserState]||(this.pOptions=this.productOptions.filter((function(e){return e.product_dosage_category_id===t.id})),this.selectedProductDosageCatId=t.id,this.originalProductPrice
2=t.price,"hrt"!==this.theProgram&&"weight_loss"!==this.theProgram&&"weight_tain"!==this.theProgram&&"b12"!==this.theProgram&&"sleep"!==this.theProgram||this.pOptions.length>0&&this.changeProduct(this.pOptions[0],!1)))},changeProduct:function(t){console.log("changeProduct"),this.sendCartEventToFacebook(t),this.checkForTestosteroneWaitTime(t),this.orionAddToCart(t),this.selectedProduct=t;var e=1;"quarterly"===this.selectedProduct.frequency?e=3:"quintile"===this.selectedProduct.frequency?e=5:"half-yearly"===this.selectedProduct.frequency?e=6:"yearly"===this.selectedProduct.frequency&&(e=12),"ed"===this.theProgram&&this.selectedProduct.quantity||(this.selectedProduct.quantity=e),this.dosageStrengthSelected=!0,"ed"===this.theProgram&&this.makeEdOptions(t)},changeQuantity:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];console.log("changeQuantity"),"ed"===this.theProgram&&(this.selectedProduct.quantity=t.id),this.selectedOption=t,this.selectedFurtherOption={},3===t.id&&this.getFurtherOptions(3),this.quantitySelected=!0,e&&this.advanceQuestioning()},changeOptionAgain:function(t){console.log("changeOptionAgain"),t.id!==this.selectedFurtherOption.id&&(this.selectedFurtherOption=t)},switchTo90Days:function(){console.log("switchTo90Days");var t=this.customProductSort.filter((function(t){return"quarterly"==t.frequency}));this.showUpSaleBanner=!1,this.changePricing(t[0])},getProgramPricing:function(){var t=this;console.log("getProgramPricing"),"supplements"===this.theProgram?(this.selectedProduct={full_imageurl:"/assets/img/programs/supplements.png",display_name:"Supplements",description:"Get approved supplements and vitamins at great prices",short_description:"Get approved supplements and vitamins at great prices.",price:0,quantity:1},this.loaded=!0):axios.get("/json/products",{params:{program:this.theProgram,for_enrollment:!0,initial_user_state:this.currentUserState}}).then((function(e){var n=e.data.data.sort((function(t,e){return Number(e.price)-Number(t.price)}));if(n.length&&(t.productOptions=n,t.loaded=!0),"one-time"==t.urlParameter("supply")&&t.runOneTimeSkips){var r=t.dosageCategories.filter((function(e){return e.id==t.urlParameter("dosage-category")}));t.selectDosageCategory(r[0]);var i=t.urlParameter("dosage-strength");if(null!=i){var o=t.pOptions.filter((function(t){return t.id==i}));t.dosageStrengthSelected=!0,t.changeProduct(o[0],!0)}var a=t.pricingOpts.filter((function(e){return e.frequency==t.urlParameter("supply")}));t.changeQuantity(t.categoryOptions),t.changePricing(a[0]),t.advanceQuestioning()}})).catch((function(t){console.error(t)}))},showOption:function(t){return"one-time"!==t&&!("one-time"===t&&"false"===this.enableOneTimePricing)},getDosageCategories:function(){var t=this;axios.get("/json/dosage-categories",{params:{program:this.theProgram,for_enrollment:!0,initial_user_state:this.currentUserState,show_all:!0}}).then((function(e){var n=e.data.data;null!=t.urlParameter("filter")?t.filterDosageCategory(n,t.urlParameter("filter")):t.dosageCategories=n})).catch((function(t){console.error(t)}))},getProductOptions:function(t){var e,n=this;"ed"===this.theProgram?this.makeEdOptions():(1===t&&(e=2),axios.get("/json/products?category_id="+e).then((function(t){n.categoryOptions=t.data.data})).catch((function(t){console.error(t)})))},makeEdOptions:function(t){t&&361===t.id?this.categoryOptions=[{id:30,name:"Daily (30X/Mo)",price:0}]:this.categoryOptions=[{id:6,name:"6 times/month",price:0},{id:10,name:"10 times/month",price:0},{id:20,name:"20 times/month",price:0}]},generateCategoryOptions:function(){this.categoryOptions=[{id:6,name:"6 times/month",price:0},{id:10,name:"10 times/month",price:0},{id:20,name:"20 times/month",price:0}]},getFurtherOptions:function(t){var e=this;axios.get("/json/products?category_id="+t).then((function(t){e.furtherOptions=t.data.data})).catch((function(t){console.error(t)}))},validate:function(t){return!0},emitError:function(t){this.$bus.$emit("flash-message",{message:t,type:"error"})},showDosageStrength:function(){return!this.hideProductsOptions&&!this.showDosageCategories&&!this.showPricing},enableNextButton:function(){this.showNextButton=!1},filterDosageCategory:function(t,e){switch(console.log({dosageCategory:t,productCat:e}
2),e){case"enclomiphene":this.dosageCategories=t.filter((function(t){var e;return(null!==(e="456,457")?e:"").includes(t.id.toString())}));break;case"semorelin":this.dosageCategories=t.filter((function(t){return 11===t.id||12===t.id}));break;default:this.dosageCategories=t,console.log("load all categories",this.dosageCategories)}},checkStateRegulationForSelection:function(t){var e,n=null;return this.user&&null!==(e=this.user)&&void 0!==e&&e.contact&&this.user.contact.state&&(n=this.user.contact.state),"FL"===(n=this.initialStateSelected[1]?this.initialStateSelected[1]:n)&&"weight_loss"===this.theProgram&&("half-yearly"===t||"quintile"===t)},getLowestPrice:function(t){var e=t.pricing_options,n=1/0;return e.forEach((function(t){t.price<n&&(n=t.price)})),n},calculateAnnualSavings:function(t){if("yearly"===t.frequency&&475===t.product_id)return"2400";"yearly"===t.frequency||"half-yearly"===t.frequency||t.frequency;var e=this.isActiveNubodySubscription?this.monthlyMemberPrice:this.monthlyPrice,n=this.isActiveNubodySubscription?t.member_price:t.price,r=12*("ed"===this.theProgram&&this.selectedProduct.quantity?e*this.selectedProduct.quantity:e)-12*("ed"===this.theProgram&&this.selectedProduct.quantity?n*this.selectedProduct.quantity:n);return r>0?r.toFixed(2):"0.00"},getDosagesForCategory:function(t){var e=this.getDosageCategoryOptions(t).find((function(t){return"monthly"===t.frequency}));return e?e.dosages.map((function(t){return z(z({},t),{},{monthlyPricing:e})})):[]},getDosageCategoryOptions:function(t){var e=this,n=this.productOptions.find((function(e){return e.product_dosage_category_id===t}));if(!n||!n.pricing_options)return[];var r=n.pricing_options.find((function(t){return"monthly"===t.frequency})),i=r?Number(r.price):0,o=r?Number(r.member_price):0,a=n.pricing_options.filter((function(t){return t.id>0})).map((function(n){var r,a,s,l,u=0,c=function(t){switch(t){case"quarterly":return 3;case"quintile":return 5;case"half-yearly":return 6;case"yearly":return 12;default:return 1}}(n.frequency);"monthly"!==n.frequency?u=e.isActiveNubodySubscription?o*c-Number(n.member_price):i*c-Number(n.price):"monthly"===n.frequency&&n.price&&n.member_price&&(u=Number(n.price-n.member_price));return{price:Number(n.price).toFixed(2),member_price:Number(n.member_price).toFixed(2),save:u.toFixed(2),membership_price:{annual:Number(null!==(r=e.nubodyInfo)&&void 0!==r&&null!==(a=r.annual)&&void 0!==a&&a.price?e.nubodyInfo.annual.price:0).toFixed(2),month:Number(null!==(s=e.nubodyInfo)&&void 0!==s&&null!==(l=s.month)&&void 0!==l&&l.price?e.nubodyInfo.month.price:0).toFixed(2)},frequency:n.frequency,short_description:n.short_description||"",dosages:e.productOptions.filter((function(e){return e.product_dosage_category_id===t}))}}));return console.log("Pricing options"),console.log(a),a},selectProduct:function(t,e,n,r){this.changeProduct(n),this.selectProductOption(t,e,r)},selectProductFromGrid:function(t){var e=this.getDosagesForCategory(t.id);if(!e||0===e.length)return this.selectDosageCategory(t),void this.advanceQuestioning();var n=e[0],r=n.monthlyPricing,i=this.isActiveNubodySubscription?"subscriber":null;this.selectProduct(t,r,n,i)},handlePaymentSelection:function(t){if("annual"===t?this.selectedSubscription={name:this.nubodyInfo.annual.description,description:this.nubodyInfo.annual.description,price:this.nubodyInfo.annual.price,frequency:"yearly",product:this.nubodyInfo.annual.product}:"month"===t&&(this.selectedSubscription={name:this.nubodyInfo.month.description,price:this.nubodyInfo.month.price,frequency:"monthly",product:this.nubodyInfo.month.product}),void 0!==this.$posthog&&this.selectedSubscription)try{var e=parseFloat(this.selectedSubscription.price||0);this.$posthog.capture("membership_selected",{membership_type:t,membership_name:this.selectedSubscription.name||"NuBody Membership",price:e,currency:"USD",frequency:this.selectedSubscription.frequency}),console.log("[ProgramOptionsSelector] PostHog membership_selected event sent")}catch(t){console.error("[ProgramOptionsSelector] PostHog membership tracking failed:",t)}this.showPaymentSelection=!1,this.advanceQuestioning()},handlePaymentBack:function(){this.showPaymentSelection=!1,this.$emit("back")}}};var K=n(90458),Y={insert:"head",singleton:!1};h()(K.Z,Y);K.Z.locals;const Z=(0,x.Z)($,(function(){var t,e,n=this,r=n._self._c;return r("div",{staticClass:"tw-font-lato"},[n.loaded&&n.dosageCategories.length>0?r("div",{staticClass:"tw-mx-auto tw-w-full tw-text-lg lg:tw-text-2xl tw-px-4 sm:tw-px-6 tw-mb-32"},[r("div",{staticClass:"tw-relative"},[r("Modal",{staticClass:"tw-w-full tw-mx-auto tw-max-w-3xl",attrs:{show:n.show,closeable:!0},on:{hide:function(t){n.show=!1}}},[r("div",{staticClass:"tw-flex tw-flex-col-reverse xl:tw-flex-row tw-items-center tw-justify-center tw-bg-gradient-to-br tw-from-gray-900 tw-to-black tw-text-white tw-rounded-2xl tw-font-lato tw-p-6 md:tw-p-12 tw-shadow-2xl"},[r("div",{staticClass:"tw-flex tw-flex-col"},[r("div",{staticClass:"tw-w-full xl:tw-w-4/5"},[r("div",{staticClass:"lg:tw-mx-0 tw-flex tw-flex-col md:tw-items-center xl:tw-items-start tw-mb-10"},[r("img",{staticClass:"tw-w-1/3 tw-mx-auto lg:tw-mx-0 tw-opacity-90",attrs:{src:"/assets/img/home/weight_loss/v1/nuimage_logo.png"}})]),n._v(" "),r("h1",{staticClass:"tw-font-light tw-text-3xl md:tw-text-5xl tw-text-brand-brown tw-capitalize tw-break-words tw-mt-1 tw-text-center xl:tw-text-left tw-leading-tight tw-tracking-tight"},[n._v("\n                "+n._s("SEMAGLUTIDE - RDT"===n.learn.display_name||"SEMAGLUTIDE - RDT"===n.learn.name?"Semaglutide - RDT":(null===(t=n.learn.display_name)||void 0===t?void 0:t.toLowerCase())||(null===(e=n.learn.name)||void 0===e?void 0:e.toLowerCase()))+"\n              ")])]),n._v(" "),r("div",{staticClass:"tw-text-gray-100 tw-w-full tw-px-6 lg:tw-px-0 tw-mt-8"},[r("p",{staticClass:"tw-font-light tw-text-lg sm:tw-text-xl tw-text-center xl:tw-text-left tw-leading-relaxed tw-opacity-90",domProps:{innerHTML:n._s(n.learn.long_description||n.learn.description)}})])])])]),n._v(" "),r("Modal",{key:"nubodyModal",staticClass:"tw-w-full tw-mx-auto tw-max-w-4xl",attrs:{show:n.showNubodyInfoModal&&n.showNubodyMembershipOption,closeable:!0},on:{hide:function(t){n.showNubodyInfoModal=!1}}},[r("div",{staticClass:"tw-bg-gradient-to-br tw-from-gray-50 tw-to-white tw-rounded-2xl tw-shadow-2xl tw-p-8 md:tw-p-12"},[r("div",{staticClass:"tw-text-center tw-mb-8"},[r("img",{staticClass:"tw-h-32 tw-w-auto tw-mx-auto tw-mb-6",attrs:{src:"/assets/img/nubody_program.png",alt:"Nu Body Program"}}),n._v(" "),r("h2",{staticClass:"tw-text-3xl md:tw-text-4xl tw-font-bold tw-text-gray-900 tw-mb-2"},[n._v("\n              Nu Body Program\n            ")]),n._v(" "),r("div",{staticClass:"tw-w-32 tw-h-1.5 tw-bg-brand-brown tw-mx-auto tw-rounded-full"})]),n._v(" "),r("div",{staticClass:"tw-grid md:tw-grid-cols-2 tw-gap-8 tw-mt-12"},[r("div",{staticClass:"tw-bg-white tw-rounded-xl tw-p-6 tw-shadow-xl tw-border-2 tw-border-gray-100 hover:tw-border-brand-brown tw-transition-all tw-duration-300"},[r("div",{staticClass:"tw-flex tw-items-center tw-mb-4"},[r("div",{staticClass:"tw-p-3 tw-bg-amber-100 tw-rounded-full tw-mr
2-4"},[r("svg",{staticClass:"tw-w-6 tw-h-6 tw-text-brand-brown",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),n._v(" "),r("h3",{staticClass:"tw-text-xl tw-font-bold tw-text-gray-900"},[n._v("\n                  Member Savings\n                ")])]),n._v(" "),r("p",{staticClass:"tw-text-gray-600 tw-leading-relaxed tw-text-justify"},[n._v("\n                Exclusive member pricing on all products with significant monthly savings\n              ")])]),n._v(" "),r("div",{staticClass:"tw-bg-white tw-rounded-xl tw-p-6 tw-shadow-xl tw-border-2 tw-border-gray-100 hover:tw-border-brand-brown tw-transition-all tw-duration-300"},[r("div",{staticClass:"tw-flex tw-items-center tw-mb-4"},[r("div",{staticClass:"tw-p-3 tw-bg-amber-100 tw-rounded-full tw-mr-4"},[r("svg",{staticClass:"tw-w-6 tw-h-6 tw-text-brand-brown",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"}})])]),n._v(" "),r("h3",{staticClass:"tw-text-xl tw-font-bold tw-text-gray-900"},[n._v("\n                  Priority Care\n                ")])]),n._v(" "),r("p",{staticClass:"tw-text-gray-600 tw-leading-relaxed tw-text-justify"},[n._v("\n                Priority support and care with regular health check-ins and consultations\n              ")])]),n._v(" "),r("div",{staticClass:"tw-bg-white tw-rounded-xl tw-p-6 tw-shadow-xl tw-border-2 tw-border-gray-100 hover:tw-border-brand-brown tw-transition-all tw-duration-300"},[r("div",{staticClass:"tw-flex tw-items-center tw-mb-4"},[r("div",{staticClass:"tw-p-3 tw-bg-amber-100 tw-rounded-full tw-mr-4"},[r("svg",{staticClass:"tw-w-6 tw-h-6 tw-text-brand-brown",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),n._v(" "),r("h3",{staticClass:"tw-text-xl tw-font-bold tw-text-gray-900"},[n._v("\n                  Early Access\n                ")])]),n._v(" "),r("p",{staticClass:"tw-text-gray-600 tw-leading-relaxed tw-text-justify"},[n._v("\n                Special promotions and early access to new products before general release\n              ")])]),n._v(" "),r("div",{staticClass:"tw-bg-white tw-rounded-xl tw-p-6 tw-shadow-xl tw-border-2 tw-border-gray-100 hover:tw-border-brand-brown tw-transition-all tw-duration-300"},[r("div",{staticClass:"tw-flex tw-items-center tw-mb-4"},[r("div",{staticClass:"tw-p-3 tw-bg-amber-100 tw-rounded-full tw-mr-4"},[r("svg",{staticClass:"tw-w-6 tw-h-6 tw-text-brand-brown",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"}})])]),n._v(" "),r("h3",{staticClass:"tw-text-xl tw-font-bold tw-text-gray-900"},[n._v("\n                  Wellness Journey\n                ")])]),n._v(" "),r("p",{staticClass:"tw-text-gray-600 tw-leading-relaxed tw-text-justify"},[n._v("\n                Comprehensive support to help you achieve your health and wellness goals\n              ")])])]),n._v(" "),r("div",{staticClass:"tw-mt-10 tw-text-center"},[r("button",{staticClass:"tw-bg-brand-brown tw-text-white tw-px-10 tw-py-4 tw-rounded-full tw-font-bold tw-text-lg tw-shadow-xl hover:tw-shadow-2xl tw-transform hover:tw--translate-y-0.5 tw-transition-all tw-duration-300",on:{click:function(t){n.showNubodyInfoModal=!1}}},[n._v("\n              Start Your Journey\n            ")])])])]),n._v(" "),r("Transition",{attrs:{name:"slide-down",mode:"out-in"}},[r("StateRegulationBanner",{attrs:{"show-up-sale-banner":n.showStateRegulationBanner,"state-name":n.initialStateSelected},on:{"close-state-regulation-banner":function(t){n.showStateRegulationBanner=!1},"change-to-quarterly":function(t){return n.switchTo90Days()}}}
2)],1),n._v(" "),r("Transition",{attrs:{name:"fade-scale",mode:"out-in"}},["summary"===n.questions[n.activeQuestion]?r("ProductProgramSummary",{attrs:{"program-type":n.theProgram,products:n.selectedProducts,"conversion-data":n.initProducts,subscription:n.selectedSubscription,"is-nubody-subscription":n.isNubodySubscription},on:{back:n.back,cancel:n.restart,rock:n.emitRock,couponApplied:n.couponApplied}}):n.showPaymentSelection&&n.showNubodyMembershipOption?r("NubodyPaymentSelection",{attrs:{"nubody-info":n.nubodyInfo},on:{"payment-selected":n.handlePaymentSelection,back:n.handlePaymentBack}}):r("div",{},[r("div",{staticClass:"tw-max-w-7xl tw-mx-auto"},[r("Transition",{attrs:{name:"fade-scale",mode:"out-in"}},["medication"===n.questions[n.activeQuestion]&&n.showMedicationQuestion?r("div",{key:2},[r("div",{staticClass:"tw-my-12"},[r("div",{staticClass:"tw-text-start tw-animate-fade-in"},[r("h1",{staticClass:"tw-text-gray-900 tw-text-4xl md:tw-text-5xl lg:tw-text-6xl tw-font-medium tw-tracking-tight tw-leading-tight"},[n._v("\n                      Based On Our Analysis\n                    ")]),n._v(" "),r("p",{staticClass:"tw-text-2xl tw-text-brand-brown tw-font-semibold tw-mt-3"},[n._v("\n                      We Recommend the Following\n                    ")]),n._v(" "),r("div",{staticClass:"tw-w-32 tw-h-1.5 tw-bg-brand-brown tw-mr-auto tw-mt-6 tw-rounded-full"}),n._v(" "),r("p",{staticClass:"tw-my-8 tw-text-lg tw-font-normal tw-text-gray-600 tw-leading-tight tw-text-justify"},[n._v("\n                      Upon completing your digital health visit with one of our licensed providers, they will review your\n                      medical history and clinical information to determine what treatment plans are medically appropriate\n                      for you.\n                    ")])])]),n._v(" "),r("div",{staticClass:"tw-max-w-7xl tw-mx-auto tw-w-full"},[n.dosageCategories.some((function(t){return 1===t.id}))?r("div",{staticClass:"tw-mb-8"},[r("p",{staticClass:"tw-text-base tw-uppercase tw-tracking-widest tw-font-bold tw-text-gray-600 tw-text-center"},[n._v("\n                      Specially Compounded • Not Available in Retail Pharmacies\n                    ")])]):n._e(),n._v(" "),r("div",{staticClass:"tw-grid tw-grid-cols-1 md:tw-grid-cols-2 lg:tw-grid-cols-3 tw-gap-6"},n._l(n.dosageCategories,(function(t,e){return r("div",{key:t.id,staticClass:"tw-animate-fade-in-up tw-flex tw-flex-col",style:"animation-delay: ".concat(100*e,"ms")},[r("div",{staticClass:"tw-relative tw-bg-white tw-rounded-2xl tw-shadow-lg hover:tw-shadow-2xl tw-transition-all tw-duration-300 tw-border-2 tw-border-gray-100 hover:tw-border-brand-brown tw-overflow-hidden tw-flex tw-flex-col tw-h-full"},[t.most_popular?r("div",{staticClass:"tw-bg-gradient-to-r tw-from-brand-brown tw-to-amber-700 tw-text-white tw-text-center tw-py-2 tw-font-bold tw-text-xs tw-tracking-wide tw-uppercase tw-shadow-lg tw-flex tw-items-center tw-justify-center tw-gap-2"},[r("svg",{staticClass:"tw-w-4 tw-h-4",attrs:{fill:"currentColor",viewBox:"0 0 20 20"}},[r("path",{attrs:{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}})]),n._v(" "),r("span",[n._v("Most Popular")])]):n._e(),n._v(" "),r("div",{staticClass:"tw-p-6 tw-flex tw-flex-col tw-flex-1"},[r("div",{staticClass:"tw-mb-4"},[r("div",{staticClass:"tw-relative tw-group/img"},[r("div",{staticClass:"tw-absolute tw-inset-0 tw-bg-gradient-to-br tw-from-gray-100 tw-to-gray-200 tw-rounded-xl tw-blur-lg tw-opacity-40 group-hover/img:tw-opacity-60 tw-transition-opacity tw-duration-300"}),n._v(" "),r("div",{staticClass:"tw-relative tw-bg-gradient-to-br tw-from-gray-50 tw-to-gray-100 tw-p-4 tw-rounded-xl tw-flex tw-items-center tw-justify-center",staticStyle:{"min-height":"160px"}},[r("img",{staticClass:"tw-max-w-full tw-max-h-40 tw-object-contain tw-mx-auto",attrs:{src:t.full_image_url,alt:t.display_name}})])])]),n._v(" "),r("div",{staticClass:"tw-text-center tw-mb-4 tw-flex-1"},[r("h2",{staticClass:"tw-text-2xl tw-font-bold tw-text-gray-900 tw-leading-tight tw-mb-2",domProps:{innerHTML:n._s(t.display_name||t.name)}
2}),n._v(" "),t.display_name_subtitle?r("p",{staticClass:"tw-text-sm tw-text-brand-brown tw-font-semibold tw-mb-2"},[n._v("\n                              "+n._s(t.display_name_subtitle)+"\n                            ")]):n._e(),n._v(" "),r("p",{staticClass:"tw-text-gray-600 tw-text-sm tw-leading-relaxed tw-mb-3",staticStyle:{display:"-webkit-box","-webkit-line-clamp":"3","-webkit-box-orient":"vertical",overflow:"hidden"}},[n._v("\n                              "+n._s(t.description)+"\n                            ")]),n._v(" "),r("button",{staticClass:"tw-inline-flex tw-items-center tw-gap-1.5 tw-text-brand-brown hover:tw-text-amber-700 tw-font-semibold tw-text-sm tw-group/btn tw-transition-colors tw-duration-300",on:{click:function(e){return e.preventDefault(),n.learnMore(t)}}},[r("span",{staticClass:"tw-border-b tw-border-brand-brown group-hover/btn:tw-border-amber-700"},[n._v("Learn More")]),n._v(" "),r("svg",{staticClass:"tw-w-4 tw-h-4 tw-transform group-hover/btn:tw-translate-x-0.5 tw-transition-transform tw-duration-300",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})])])]),n._v(" "),r("div",{staticClass:"tw-mt-auto tw-border-t tw-border-gray-100 tw--mx-6 tw--mb-6"},[t.hide_for_state[n.currentUserState]?r("div",{staticClass:"tw-p-6 tw-text-center tw-bg-gray-50"},[r("div",{staticClass:"tw-inline-flex tw-items-center tw-justify-center tw-w-12 tw-h-12 tw-bg-white tw-rounded-full tw-shadow-md tw-mb-3"},[r("svg",{staticClass:"tw-w-6 tw-h-6 tw-text-gray-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})])]),n._v(" "),r("p",{staticClass:"tw-text-sm tw-font-bold tw-text-gray-900 tw-mb-1"},[n._v("\n                                Not Available\n                              ")]),n._v(" "),r("p",{staticClass:"tw-text-xs tw-text-gray-600"},[n._v("\n                                In your state\n                              ")])]):t.available?r("div",{staticClass:"tw-p-6"},[n.showNubodyMembershipOption?r("div",{staticClass:"tw-bg-gradient-to-br tw-from-amber-50 tw-to-orange-50 tw-rounded-lg tw-p-3 tw-mb-4 tw-text-center tw-relative"},[r("div",{staticClass:"tw-absolute tw--top-2 tw-left-1/2 tw--translate-x-1/2"},[r("span",{staticClass:"tw-bg-brand-brown tw-text-white tw-px-3 tw-py-0.5 tw-rounded-full tw-text-xs tw-font-bold tw-shadow-lg"},[n._v("Best Value")])]),n._v(" "),r("div",{staticClass:"tw-flex tw-items-center tw-justify-center tw-mb-1 tw-mt-2"},[r("img",{staticClass:"tw-h-4",attrs:{src:"/assets/img/nubody-logo-brown.png"}})]),n._v(" "),r("p",{staticClass:"tw-text-xs tw-text-gray-700 tw-font-semibold"},[n._v("\n                                  Member pricing available\n                                ")])]):n._e(),n._v(" "),r("button",{staticClass:"tw-w-full tw-bg-brand-brown tw-text-white tw-px-4 tw-py-3 tw-rounded-lg tw-font-bold tw-text-sm tw-shadow-lg hover:tw-shadow-xl hover:tw-bg-gray-900 tw-transition-all tw-duration-300",on:{click:function(e){return e.preventDefault(),n.selectProductFromGrid(t)}}},[n._v("\n                                View Pricing Options\n                              ")]),n._v(" "),n.showNubodyMembershipOption?r("p",{staticClass:"tw-text-center tw-text-xs tw-text-gray-600 tw-mt-3"},[r("a",{staticClass:"tw-underline hover:tw-text-brand-brown tw-cursor-pointer",on:{click:function(t){if(t.target!==t.currentTarget)return null;t.stopPropagation(),n.showNubodyInfoModal=!0}}},[n._v("View membership benefits")])]):n._e()]):r("div",{staticClass:"tw-p-6 tw-text-center tw-bg-gray-50"},[r("div",{staticClass:"tw-inline-flex tw-items-center tw-justify-center tw-w-12 tw-h-12 tw-bg-white tw-rounded-full tw-shadow-md tw-mb-3"},[r("svg",{staticClass:"tw-w-6 tw-h-6 tw-text-gray-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),n._v(" "),r("p",{staticClass:"tw-text-sm tw-font-bold tw-text-gray-900 tw-mb-1"},[n._v("\n                                Sold Out\n                              ")]),n._v(" "),r("p",{staticClass:"tw-text-xs tw-text-gray-600"},[n._v("\n                                Check back soon\n                              ")])])])])])])})),0)])]):"dosage-strength"===n.questions[n.activeQuestion]&&n.showDosageStrengthQuestion?r("div",{key:3},[r("div",{staticClass:"tw-text-center tw-my-12 tw-animate-fade-in"},[r("h1",{staticClass:"tw-text-gray-900 tw-text-4xl md:tw-text-5xl lg:tw-text-5xl tw-font-medium tw-tracking-tight tw-leading-tight"},[n._v("\n                    Choose Your Dosage Strength\n                  ")]),n._v(" "),r("div",{staticClass:"tw-w-32 tw-h-1.5 tw-bg-brand-brown tw-mx-auto tw-mt-6 tw-mb-8 tw-rounded-full"}),n._v(" "),r("p",{staticClass:"tw-text-xl tw-font-normal tw-text-gray-600 tw-leading-relaxed tw-max-w-2xl tw-mx-auto"},[n._v("\n                    We recommend the dosage below if you are just starting out on this medication\n                  ")])]),n._v(" "),r("div",{staticClass:"tw-max-w-4xl tw-mx-auto"},[r("ul",{staticClass:"tw-space-y-6"},n._l(n.pOptions,(function(t,e){return r("li",{key:t.id,staticClass:"tw-relative tw-animate-fade-in-up",style:"animation-delay: ".concat(100*e,"ms")},[r("div",{staticClass:"tw-bg-white tw-rounded-2xl tw-shadow-2xl hover:tw-shadow-[0_20px_50px_rgba(0,0,0,0.15)] tw-transition-all tw-duration-300 tw-overflow-hidden tw-cursor-pointer tw-group tw-border tw-border-gray-200 hover:tw-border-brand-brown",class:{"tw-ring-1 tw-ring-brand-brown tw-bg-gradient-to-r tw-from-amber-50 tw-to-orange-50 tw-border-brand-brown":t.id===n.selectedProduct.product_id||t.id===n.selectedProduct.id},on:{click:function(e){return n.changeProduct(t)}}},[r("div",{staticClass:"tw-bg-white tw-rounded-2xl tw-shadow-2xl hover:tw-shadow-[0_20px_50px_rgba(0,0,0,0.15)] tw-transition-all tw-duration-300 tw-overflow-hidden tw-cursor-pointer tw-group tw-border tw-border-gray-200 hover:tw-border-brand-brown",class:{"tw-ring-1 tw-ring-brand-brown tw-bg-gradient-to-r tw-from-amber-50 tw-to-orange-50 tw-border-brand-brown":t.id===n.selectedProduct.product_id||t.id===n.selectedProduct.id},on:{click:function(e){return n.changeProduct(t)}}},[r("div",{staticClass:"tw-absolute tw-right-8 tw-top-8 tw-z-10"},[r("div",{staticClass:"tw-flex tw-items-center tw-space-x-3"},[r("span",{staticClass:"tw-text-base tw-font-bold tw-transition-colors",class:t.id===n.selectedProduct.product_id||t.id===n.selectedProduct.id?"tw-text-brand-brown":"tw-text-gray-700 group-hover:tw-text-gray-900"},[n._v("\n                                "+n._s(t.id===n.selectedProduct.product_id||t.id===n.selectedProduct.id?"SELECTED":"SELECT")+"\n                              ")]),n._v(" "),r("div",{staticClass:"tw-w-8 tw-h-8 tw-rounded-full tw-border-3 tw-flex tw-items-center tw-justify-center tw-transition-all tw-duration-300",class:t.id===n.selectedProduct.product_id||t.id===n.selectedProduct.id?"tw-bg-brand-brown tw-border-brand-brown tw-shadow-lg":"tw-border-gray-400 group-hover:tw-border-gray-600"},[t.id===n.selectedProduct.product_id||t.id===n.selectedProduct.id?r("svg",{staticClass:"tw-w-5 tw-h-5 tw-text-white",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M5 13l4 4L19 7"}})]):n._e()])])]),n._v(" "),r("div",{staticClass:"tw-p-10"},[r("div",{staticClass:"tw-flex tw-flex-col md:tw-flex-row md:tw-items-center md:tw-justify-between"},[r("div",{staticClass:"tw-flex-1"},[1===t.product_dosage_category_id?r("h3",{staticClass:"tw-text-3xl tw-font-bold tw-text-brand-brown tw-mb-3"},[n._v("\n                                  "+n._s(367===t.id?"Mt. Everest Max":"Mt. Everest")+"\n                                ")]):7===t.product_dosage_category_id?r("h3",{staticClass:"tw-text-3xl tw-font-bold tw-text-brand-brown tw-mb-3"},[n._v("\n                                  "+n._s(432!==t.id?"NuDew Regular":"NuDew Max")+"\n                                ")]):n._e(),n._v(" "),r("p",{staticClass:"tw-text-4xl tw-font-bold tw-text-gray-900"},[n._v("\n                                  "+n._s(t.dosage)+"\n                                ")]),n._v(" "),t.short_description?r("div",{staticClass:"tw-mt-6 tw-text-gray-600 tw-leading-relaxed tw-text-lg tw-text-justify",domProps:{innerHTML:n._s(t.short_description)}}):n._e()]),n._v(" "),r("div",{staticClass:"tw-mt-8 md:tw-mt-0 md:tw-ml-10 tw-text-center md:tw-text-right"},[r("p",{staticClass:"tw-text-4xl tw-font-bold tw-text-brand-brown"},[n._v("\n                                  $"+n._s(t.price)+"\n                                ")]),n._v(" "),r("p",{staticClass:"tw-text-gray-600 tw-text-lg tw-font-medium"},[n._v("\n                                  "+n._s("ed"===n.program?"Per pill":"Per month")+"\n                                ")]),n._v(" "),1===t.product_dosage_category_id||6===t.product_dosage_category_id||4===t.product_dosage_category_id||7===t.product_dosage_category_id?r("button",{staticClass:"tw-mt-5 tw-text-base tw-text-brand-brown hover:tw-text-amber-700 tw-font-bold tw-underline tw-transition-colors",on:{click:function(e){return e.stopPropagation(),n.learnMore(t)}}},[n._v("\n                                  Learn more\n                                ")]):n._e()])])])])])])})),0)])]):"quantity"===n.questions[n.activeQuestion]&&n.showShippingFrequencyQuestion?r("div",{key:4},[r("div",{staticClass:"tw-text-center tw-my-12 tw-animate-fade-in"},[r("h1",{staticClass:"tw-text-gray-900 tw-text-4xl md:tw-text-5xl lg:tw-text-5xl tw-font-medium tw-tracking-tight tw-leading-tight"},[n._v("\n                    Select Your Preferred Quantity\n                  ")]),n._v(" "),r("div",{staticClass:"tw-w-32 tw-h-1.5 tw-bg-brand-brown tw-mx-auto tw-mt-6 tw-mb-8 tw-rounded-full"}),n._v(" "),r("p",{staticClass:"tw-text-xl tw-font-normal tw-text-gray-600 tw-leading-relaxed tw-max-w-2xl tw-mx-auto tw-text-justify"},[n._v("\n                    How many times do you anticipate using this medication, if prescribed?\n                  ")])]),n._v(" "),r("div",{staticClass:"tw-max-w-4xl tw-mx-auto"},[r("ul",{staticClass:"tw-space-y-6"},n._l(n.categoryOptions,(function(t,e){var i,o,a,s,l,u,c;return r("li",{key:t.id,staticClass:"tw-animate-fade-in-up tw-list-none",style:"animation-delay: ".concat(100*e,"ms")},[r("div",{staticClass:"tw-bg-white tw-rounded-2xl tw-shadow-2xl hover:tw-shadow-[0_20px_50px_rgba(0,0,0,0.15)] tw-transition-all tw-duration-300 tw-overflow-hidden tw-cursor-pointer tw-group tw-border-2",class:t.id===(null===(i=n.selectedOption)||void 0===i?void 0:i.id)?"tw-bg-gradient-to-r tw-from-brand-brown tw-to-amber-700 tw-border-brand-brown":"tw-border-gray-200 hover:tw-border-brand-brown",on:{click:function(e){return n.changeQuantity(t)}}},[r("div",{staticClass:"tw-p-10 tw-flex tw-items-center tw-justify-between"},[r("div",{staticClass:"tw-flex-1"},[r("h3",{staticClass:"tw-text-3xl tw-font-bold tw-mb-3",class:t.id===(null===(o=n.selectedOption)||void 0===o?void 0:o.id)?"t
2w-text-white":"tw-text-gray-900"},[n._v("\n                              "+n._s(t.name)+"\n                            ")]),n._v(" "),r("p",{staticClass:"tw-text-lg",class:t.id===(null===(a=n.selectedOption)||void 0===a?void 0:a.id)?"tw-text-gray-100":"tw-text-gray-600"},[n._v("\n                              You plan to use this medication this amount of times\n                            ")])]),n._v(" "),r("div",{staticClass:"tw-flex tw-items-center tw-space-x-3"},[r("span",{staticClass:"tw-text-base tw-font-bold",class:t.id===(null===(s=n.selectedOption)||void 0===s?void 0:s.id)?"tw-text-white":"tw-text-gray-700 group-hover:tw-text-gray-900"},[n._v("\n                              "+n._s(t.id===(null===(l=n.selectedOption)||void 0===l?void 0:l.id)?"SELECTED":"SELECT")+"\n                            ")]),n._v(" "),r("div",{staticClass:"tw-w-8 tw-h-8 tw-rounded-full tw-border-3 tw-flex tw-items-center tw-justify-center tw-transition-all tw-duration-300",class:t.id===(null===(u=n.selectedOption)||void 0===u?void 0:u.id)?"tw-bg-white tw-border-white tw-shadow-lg":"tw-border-gray-400 group-hover:tw-border-gray-600"},[t.id===(null===(c=n.selectedOption)||void 0===c?void 0:c.id)?r("svg",{staticClass:"tw-w-5 tw-h-5 tw-text-brand-brown",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M5 13l4 4L19 7"}})]):n._e()])])])])])})),0)])]):"supply"===n.questions[n.activeQuestion]?r("div",{key:1},[r("div",{staticClass:"tw-text-center tw-my-12 tw-animate-fade-in"},[r("h1",{staticClass:"tw-text-gray-900 tw-text-4xl md:tw-text-5xl lg:tw-text-5xl tw-font-medium tw-tracking-tight tw-leading-tight"},[n._v("\n                    Your Shipping Frequency\n                  ")]),n._v(" "),r("div",{staticClass:"tw-w-32 tw-h-1.5 tw-bg-brand-brown tw-mx-auto tw-mt-6 tw-mb-8 tw-rounded-full"}),n._v(" "),r("p",{staticClass:"tw-text-xl tw-font-normal tw-text-gray-600 tw-leading-relaxed tw-max-w-2xl tw-mx-auto"},[n._v("\n                    How often would you like your treatment to be shipped?\n                  ")])]),n._v(" "),r("ul",{staticClass:"tw-space-y-6 tw-max-w-4xl tw-mx-auto"},n._l(n.customProductSort,(function(t,e){return r("li",{key:t.id,staticClass:"tw-animate-fade-in-up tw-list-none",style:"animation-delay: ".concat(100*e,"ms")},[r("div",{staticClass:"tw-bg-white tw-rounded-3xl tw-shadow-2xl hover:tw-shadow-[0_20px_50px_rgba(0,0,0,0.15)] tw-transition-all tw-duration-300 tw-overflow-hidden tw-cursor-pointer tw-border",class:{"tw-ring-1 tw-ring-brand-brown tw-bg-gradient-to-r tw-from-amber-50 tw-to-orange-50 tw-border-brand-brown":t.id===n.selectedProduct.id,"tw-opacity-50 tw-cursor-not-allowed tw-border-gray-200":"ed"===n.theProgram&&"monthly"===t.frequency&&n.selectedProduct.quantity<=5,"tw-border-gray-200 hover:tw-border-brand-brown":t.id!==n.selectedProduct.id},on:{click:function(e){return n.changePricing(t)}}},[r("div",{staticClass:"tw-px-10 tw-py-6"},[r("div",{staticClass:"tw-flex tw-flex-col md:tw-flex-row md:tw-items-center md:tw-justify-between"},[r("div",{staticClass:"tw-flex-1"},["one-time"===t.frequency?r("h3",{staticClass:"tw-text-3xl tw-font-bold tw-mb-3",class:t.id===n.selectedProduct.id?"tw-text-brand-brown":"tw-text-gray-900"},[n._v("\n                              One Time Order\n                            ")]):"yearly"===t.frequency?r("h3",{staticClass:"tw-text-3xl tw-font-bold tw-mb-3",class:t.id===n.selectedProduct.id?"tw-text-brand-brown":"tw-text-gray-900"},[n._v("\n                              12 Month Supply\n                            ")]):"half-yearly"===t.frequency?r("h3",{staticClass:"tw-text-3xl tw-font-bold tw-mb-3",class:t.id===n.selectedProduct.id?"tw-text-brand-brown":"tw-text-gray-900"},[n._v("\n                              6 Month Supply\n                            ")]):"quintile"===t.frequency?r("h3",{staticClass:"tw-text-3xl tw-font-bold tw-mb-3",class:t.id===n.selectedProduct.id?"tw-text-brand-brown":"tw-text-gray-900"},[n._v("\n                              5 Month Supply\n                            ")]):"quarterly"===t.frequency?r("h3",{staticClass:"tw-text-3xl tw-font-bold tw-mb-3",class:t.id===n.selectedProduct.id?"tw-text-brand-brown":"tw-text-gray-900"},[n._v("\n                              3 Month Supply\n                            ")]):"monthly"===t.frequency?r("h3",{staticClass:"tw-text-3xl tw-font-bold tw-mb-3",class:t.id===n.selectedProduct.id?"tw-text-brand-brown":"tw-text-gray-900"},[n._v("\n                              1 Month Supply\n                            ")]):n._e(),n._v(" "),"one-time"===t.frequency?r("p",{staticClass:"tw-text-gray-600 tw-text-lg"}
2,[n._v("\n                              Get a one month supply, order when you want for\n                              "),r("span",{staticClass:"tw-font-bold tw-text-gray-900 tw-text-xl"},[n._v("\n                                $"+n._s("ed"===n.theProgram?(t.price*n.selectedProduct.quantity).toFixed(2):t.price.toFixed(2))+"\n                              ")])]):"monthly"===t.frequency&&"ed"===n.theProgram&&n.selectedOption&&n.selectedOption.id<20?r("div",{staticClass:"tw-mt-5 tw-py-4 tw-text-base"},[r("p",{staticClass:"tw-font-bold tw-text-brown tw-mb-0"},[n._v("\n                                Monthly shipping not available for your current selection.\n                              ")]),n._v(" "),r("p",{staticClass:"tw-mb-3"},[n._v("\n                                Unlock additional savings and monthly shipping by\n                                "),r("button",{staticClass:"tw-underline tw-font-bold tw-text-brand-brown hover:tw-text-amber-900",on:{click:function(t){return t.stopPropagation(),n.back.apply(null,arguments)}}},[n._v("\n                                  changing your quantity\n                                ")])])]):"monthly"===t.frequency&&"hair loss"==n.theProgram?r("div",{staticClass:"tw-py-4 tw-text-base"},[r("p",{staticClass:"tw-font-bold tw-text-brown tw-mb-0"},[n._v("\n                                Monthly shipping not available for NuDew®.\n                              ")]),n._v(" "),r("p",{staticClass:"tw-mb-3"},[n._v("\n                                Our hair program requires 3 month increments - it takes at least 3 months to see full results.\n                              ")])]):n._e(),n._v(" "),"monthly"===t.frequency&&("hair loss"==n.theProgram||"ed"==n.theProgram&&n.selectedOption&&n.selectedOption.id<20)||"one-time"===t.frequency&&"ed"==n.theProgram&&n.selectedProduct.quantity<=5?n._e():r("div",{staticClass:"tw-mt-6"},[r("p",{staticClass:"tw-text-4xl tw-font-bold",class:(t.id,n.selectedProduct.id,"tw-text-gray-900")},["yearly"===t.frequency||"half-yearly"===t.frequency||"quintile"===t.frequency||"quarterly"===t.frequency?r("span",[n._v("\n                                  $"+n._s("ed"===n.theProgram?(t.price*n.selectedProduct.quantity).toFixed(2):t.price.toFixed(2))+"/mo\n                                  "),r("span",{staticClass:"tw-line-through tw-text-gray-400 tw-text-2xl tw-ml-3"},[n._v("\n                                    $"+n._s("ed"===n.theProgram?(n.monthlyPrice*n.selectedProduct.quantity).toFixed(2):n.monthlyPrice.toFixed(2))+"/mo\n                                  ")])]):r("span",[n._v("\n                                  $"+n._s("ed"===n.theProgram?(t.price*n.selectedProduct.quantity).toFixed(2):t.price.toFixed(2))+"/mo\n                                ")])]),n._v(" "),"yearly"===t.frequency||"half-yearly"===t.frequency||"quintile"===t.frequency||"quarterly"===t.frequency?r("div",{staticClass:"tw-mt-4"},[r("span",{staticClass:"tw-inline-flex tw-items-center tw-bg-gradient-to-r tw-from-green-500 tw-to-green-600 tw-text-white tw-px-5 tw-py-2 tw-rounded-full tw-font-bold tw-shadow-lg"},[r("svg",{staticClass:"tw-w-5 tw-h-5 tw-mr-2",attrs:{fill:"currentColor",viewBox:"0 0 20 20"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z","clip-rule":"evenodd"}})]),n._v("\n                                  YOU SAVE\n                                  $"+n._s(n.calculateAnnualSavings(t))+"/YEAR\n                                ")])]):n._e(),n._v(" "),"one-time"!==t.frequency?r("p",{staticClass:"tw-mt-6 tw-text-base tw-text-gray-600 tw-font-medium"},[n._v("\n                                No commitment, cancel anytime\n                              ")]):n._e()])]),n._v(" "),r("div",{staticClass:"tw-mt-8 md:tw-mt-0 md:tw-ml-10"},["monthly"===t.frequency&&("hair loss"==n.theProgram||"ed"==n.theProgram&&n.selectedOption&&n.selectedOption.id<20)||"one-time"===t.frequency&&"ed"==n.theProgram&&n.selectedProduct.quantity<=5?r("div",{staticClass:"tw-w-20 tw-h-20 tw-bg-gray-200 tw-rounded-full tw-flex tw-items-center tw-justify-center"},[r("svg",{staticClass:"tw-w-10 tw-h-10 tw-text-gray-500",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"}})])]):r("div",{staticClass:"tw-flex tw-flex-col tw-items-center"},[r("span",{staticClass:"tw-text-base tw-font-bold tw-mb-3",class:t.id===n.selectedProduct.id?"tw-text-brand-brown":"tw-text-gray-700"},[n._v("\n                                "+n._s(t.id===n.selectedProduct.id?"SELECTED":"SELECT NOW")+"\n                              ")]),n._v(" "),r("div",{staticClass:"tw-w-14 tw-h-14 tw-rounded-full tw-border-3 tw-flex tw-items-center tw-justify-center tw-transition-all tw-duration-300",class:t.id===n.selectedProduct.id?"tw-bg-brand-brown tw-border-brand-brown tw-shadow-lg":"tw-border-gray-400 hover:tw-border-brand-brown"},[t.id===n.selectedProduct.id?r("svg",{staticClass:"tw-w-8 tw-h-8 tw-text-white",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3",d:"M5 13l4 4L19 7"}})]):r("svg",{staticClass:"tw-w-8 tw-h-8 tw-text-gray-500",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"}})])])])])])])])])})),0)]):"ub"===n.questions[n.activeQuestion]&&n.showUBQuestion?r("UltraBurnQuestion",{staticClass:"tw-max-w-4xl tw-mx-auto",attrs:{ub:n.selectedUB},on:{input:n.advanceQuestioning},model:{value:n.selectedUB,callback:function(t){n.selectedUB=t},expression:"selectedUB"}}):"prescriptionAddon"===n.questions[n.activeQuestion]&&n.showPrescriptionAddonQuestion?r("PrescriptionAddonQuestion",{staticClass:"tw-max-w-4xl tw-mx-auto",attrs:{program:n.theProgram},on:{input:n.advanceQuestioning},model:{value:n.selectedPrescriptionAddons,callback:function(t){n.selectedPrescriptionAddons=t},expression:"selectedPrescriptionAddons"}}):"blood-work"===n.questions[n.activeQuestion]&&n.showBloodWorkOptions?r("BloodWorkOption",{attrs:{"blood-work-option":n.selectedBloodWorkOption,"state-name":n.initialStateSelected[1]},on:{input:n.advanceQuestioning},model:{value:n.selectedBloodWorkOption,callback:function(t){n.selectedBloodWorkOption=t},expression:"selectedBloodWorkOption"}}):n._e()],1),n._v(" "),"medication"!==n.questions[n.activeQuestion]?r("div",{staticClass:"tw-max-w-md tw-mx-auto tw-mt-16"},[r("div",{staticClass:"tw-flex tw-items-center tw-gap-4"},[r("Transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[r("button",{staticClass:"tw-group tw-flex tw-items-center tw-justify-center tw-text-gray-700 hover:tw-text-black tw-font-bold tw-transition-colors tw-duration-300 tw-flex-1 tw-text-lg",attrs:{tabindex:"-1"},on:{click:function(t){return t.preventDefault(),n.back.apply(null,arguments)}}},[r("svg",{staticClass:"tw-w-6 tw-h-6 tw-mr-3 tw-transform group-hover:tw--translate-x-1 tw-transition-transform tw-duration-300",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"}})]),n._v("\n                    Back\n                  ")])])],1)]):n._e()],1)])],1)],1)]):r("div",{staticClass:"tw-mx-auto tw-w-full tw-text-lg lg:tw-text-2xl tw-px-4 sm:tw-px-6 tw-mb-32 tw-max-w-6xl"},[n.loaded?r("div",{staticClass:"tw-text-center tw-py-20"},[r("div",{staticClass:"tw-bg-white tw-rounded-3xl tw-shadow-2xl tw-p-16 tw-max-w-2xl tw-mx-auto tw-border-2 tw-border-gray-100"},[r("svg",{staticClass:"tw-w-24 tw-h-24 tw-text-red-400 tw-mx-auto tw-mb-8",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})]),n._v(" "),r("h2",{staticClass:"tw-text-4xl tw-font-bold tw-text-gray-900 tw-mb-4"},[n._v("\n          Product Unavailable in Your State\n        ")]),n._v(" "),r("p",{staticClass:"tw-text-xl tw-text-gray-600 tw-leading-relaxed tw-mb-10"},[n._v("\n          We sincerely apologize, but the program/product you're interested in is currently unavailable in your state.\n        ")]),n._v(" "),r("a",{staticClass:"tw-inline-flex tw-items-center tw-bg-brand-brown tw-text-white tw-px-8 tw-py-4 tw-rounded-full tw-font-bold tw-text-xl tw-shadow-xl hover:tw-shadow-2xl tw-transform hover:tw--translate-y-0.5 tw-transition-all tw-duration-300",attrs:{href:"/enroll"}},[n._v("\n          Browse Available Programs\n          "),r("svg",{staticClass:"tw-w-6 tw-h-6 tw-ml-3",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 8l4 4m0 0l-4 4m4-4H3"}})])])])]):r("div",{staticClass:"tw-flex tw-flex-col tw-items-center tw-justify-center tw-py-20"},[r("div",{staticClass:"tw-w-20 tw-h-20 tw-rounded-full tw-animate-spin tw-border-4 tw-border-solid tw-border-gray-200 tw-border-t-brand-brown tw-shadow-xl"}),n._v(" "),r("p",{staticClass:"tw-mt-6 tw-text-gray-700 tw-text-xl tw-font-medium"},[n._v("\n        Loading your options...\n      ")])])])])}),[],!1,null,"8b05bf36",null).exports},21243:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"ReporterIssuePopUp",data:function(){return{showPopup:!1}},methods:{openPopup:function(){this.showPopup=!0},closePopup:function(){this.showPopup=!1}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;
2return t.showPopup?e("div",{staticClass:"tw-fixed tw-inset-0 tw-flex tw-items-center tw-justify-center tw-bg-black tw-bg-opacity-50 tw-z-50",on:{close:function(e){t.showPopup=!1}}},[e("div",{staticClass:"tw-relative tw-bg-white tw-z-50 tw-overflow-hidden tw-max-w-5xl tw-mx-auto tw-rounded-2xl"},[e("div",{staticClass:"tw-mx-auto tw-py-10 tw-px-10 md:tw-px-24"},[e("button",{staticClass:"tw-m-4 tw-absolute tw-top-0 tw-right-0 tw-text-gray-500 hover:tw-text-gray-700 tw-focus:outline-none",attrs:{"aria-label":"Close"},on:{click:t.closePopup}},[e("div",{staticClass:"tw-w-8 tw-h-8 tw-flex tw-items-center tw-justify-center tw-bg-black tw-rounded-full"},[e("svg",{staticClass:"tw-h-6 tw-w-6 tw-text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#000",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),t._v(" "),t._t("default")],2)])]):t._e()}),[],!1,null,null,null).exports},42092:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"AshTestingConsent"};const i=(0,n(51900).Z)(r,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",[e("h3",[t._v("Blood Testing Consent")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    I authorize specimen collection with a dried blood spot collection. I further understand, agree, certify,\n    and authorize the following:\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    This test involves a dried blood spot card which will require a capillary sample extracted via a lancet. It\n    may be uncomfortable, painful, or potentially cause mild abrasion or bleeding. No long-lasting side effects\n    from testing are expected.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    Nu Image Medical, Inc. has contracted with Ash Wellness, Inc. and their partner labs for laboratory analysis and\n    report of my specimen.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    I understand that I am not entering into a doctor-patient relationship with Ash Wellness, Inc and that any\n    questions or required follow up shall be my responsibility to arrange with my own provider.\n  ")])])}],!1,null,null,null).exports},6612:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"CCConsent"};const i=(0,n(51900).Z)(r,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",[e("h3",[t._v("Authorization for Credit Card, Debit Card or ACH Payment")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    You (“Patient”) have requested that Nu Image Medical, Inc. or one of its partner pharmacies (“Nu Image”)  accept payment for your prescription via one of the following payment methods (each, a “Payment Method”)”: (i) personal check; (ii) credit or debit card that you have presented for payment; or (iii) a [single/recurring/subsequent] ACH/electronic debit entry to an account owned by you that you have identified to Nu Image. While Nu Image Medical® is happy to accept your chosen Payment Method, it is essential that you recognize that we are required to follow certain procedures with regard to the payment and any requested refund/charge back. It is also essential that you acknowledge that although a prescription for medication as issued by a Nu Image physician was written and issued based upon your history, presentation and evaluation there is absolutely NO G
2UARANTEE that any prescribed medication will produce the desired result. Nu Image creates the prescribed medication based upon your specific history, presentation, and evaluation, but it cannot guarantee that the medication will have the same level of effectiveness for each Patient.  There are strict FDA guidelines prohibiting the reuse of the prescribed medication in any manner. Therefore, Patient agrees to accept and pay for the prescribed medication while acknowledging there is no representation or warranty of the effectiveness of the medication/product by Nu Image or the prescribing physician. For auto renewing products and services, your payment device will be automatically charged at regular intervals as described for that product or service during the checkout process until you cancel your subscription. You may cancel your auto refills at any time up to forty-eight (48) hours before the applicable renewal processing date of your auto refill through the Service, by emailing [email protected]  or logging into your account and selecting the option to cancel.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    When you provide a check as payment, you authorize Nu Image either to use information from your check to make a one-time electronic fund transfer from your account or to process the payment as a check transaction.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    In addition, Nu Image must follow certain procedures and protocols in communicating with the financial institutions and internet service providers providing the merchant account through which a Patient’s fees will be paid. As a result of these communications, Nu Image will need to disclose limited protected health information, such as the fact that the Patient is receiving services from Nu Image and the prescription ordered. Patient hereby agrees to this disclosure for purposes of the Payment Method, collection efforts and disputes involving the same. The Patient’s failure to initial this section does not prohibit Nu Image from making any disclosures otherwise permitted by law without Patient consent.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    Consent for disclosure of limited protected health information may be necessary for the resolution of payment disputes under Patient’s cardholder agreement or other applicable law. In responding to any such dispute, it may be necessary for Nu Image to share certain protected health information with the card issuer and/or the merchant account financial institution. Under applicable state and federal laws, including, but not limited to the Health Insurance Portability and Accountability Act (“HIPAA”), Nu Image may disclose protected health information for Nu Image’s payment purposes. By initialing this paragraph and executing this Agreement you are providing your explicit consent for such disclosure. The Patient’s failure to initial this section does not prohibit Nu Image from making any disclosures otherwise permitted by law without Patient consent.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    There may be fees associated with disputes, including, but not limited to attorney and paralegal fees. In the event of a fee dispute that results in Nu Image prevailing and ultimately receiving payment for the medicine/prescribed product and/or in those instances where there is an allegation or finding that the Patient committed fraud in obtaining the product, Nu Image will be entitled to recover all fees and costs associated with the dispute, including, but not limited to, attorney’s fees ($850.00/hour) from Patient.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    Patient agrees that its election to make payment to Nu Image through the Payment Method shall not affect the terms of any other agreement Patient has with Nu Image. To the extent that any of the terms herein otherwise conflict with any such other terms, the terms of this Agreement shall control.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    This Authorization for Credit Card, Debit Card or ACH Payment (the “Agreement”) shall be governed by, construed and enforced in accordance with the laws of the State of Florida, without regard to the conflict of laws provisions thereof. The parties hereby consent to personal jurisdiction and venue in any action permitted to be brought in court pursuant to this Agreement in the State of Florida, Hillsborough County. Patient expressly waives any right they may have to a jury trial of any dispute arising out of or in any way related to this Agreement or any breach thereof.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    This Agreement may be executed and transmitted by electronic means (e.g., by scanned copy of the signed document, by an electronic or digital signature or by other electronic medium demonstrating assent) and such electronic signature and/or transmission shall constitute effective execution and delivery and may be used in lieu of an original for all purposes.  This Agreement shall bind each of the parties and their respective successors and permitted assignees.  This Agreement has been drafted and negotiated jointly by the Parties, and this Agreement will be construed neither against nor in favor of either Party."),e("br"),e("br"),t._v("\n    MY ACT OF CLICKING “I have read and agree to the Credit Card Consent Agreement.” SHALL CONSTITUTE AND IS MY ELECTRONIC SIGNATURE.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    ACTIVE 11962666.1\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    A covered entity, or its business associate, may contact persons other than the individual as necessary to\n    obtain payment for health care services. See 45 CFR 164.506(c) and the definition of “payment” at 45 CFR\n    164.501.\n  ")])])}],!1,null,null,null).exports},59217:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"EcheckConsent"};const i=(0,n(51900).Z)(r,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",[e("h3",[t._v("E-Check Payment")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    By authorizing this transaction, customer agrees that company named above may convert this into an Electronic Funds Transfer (EFT) transaction to send via ACH debit to the bank account for the amount as indicated above.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    To revoke this authorization contact Customer Support at [email protected] or (813) 999-2755 within 48 hours prior to the Payment Effective Date.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    Processing times may not allow for revocation of this authorization.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-dark tw-text-sm"},[t._v("\n    Additionally, in the event this ACH is returned unpaid, a service fee in the amount of $25.00 (or maximum allowable by law) will be charged to the bank account indicated via ACH.\n  ")])])}],!1,null,null,null).exports},76705:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"NubodyConsent"};const i=(0,n(51900).Z)(r,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",[e("h3",[t._v("NuBody Program Agreement")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    By enrolling in the NuBody Program, you acknowledge and agree to the following terms and conditions:\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[e("strong",[t._v("Program Overview:")]),t._v(" The NuBody Program is a comprehensive health and wellness subscription service that provides access to discounted pricing on medical products and services, exclusive member benefits, and ongoing support for your health journey.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[e("strong",[t._v("Subscription Terms:")]),t._v(" Your NuBody membership will automatically renew at the selected interval (monthly or annually) until cancelled. You may cancel your membership at any time by logging into your account or contacting customer service. Cancellation will take effect at the end of your current billing period.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[e("strong",[t._v("Billing:")]),t._v(" You authorize Nu Image Medical to charge your designated payment method for the membership fee and any applicable taxes. Charges will occur on the renewal date of your subscription. If payment fails, your membership benefits may be suspended until payment is received.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[e("strong",[t._v("Member Benefits:")]),t._v(" As a NuBody member, you will receive discounted pricing on eligible products and services. Member pricing is subject to change with notice. Not all products or services may be eligible for member discounts.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[e("strong",[t._v("Medical Services:")]),t._v(" The NuBody Program provides access to medical consultations and prescription services. All medical decisions and prescriptions are made by licensed healthcare providers based on your individual health asse
2ssment. Nu Image Medical does not guarantee specific medical outcomes.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[e("strong",[t._v("Privacy:")]),t._v(" Your health information will be handled in accordance with our Privacy Policy and applicable HIPAA regulations. By enrolling, you consent to the collection, use, and disclosure of your information as described in our Privacy Policy.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[e("strong",[t._v("Limitation of Liability:")]),t._v(" Nu Image Medical's liability is limited to the amount paid for your membership. We are not liable for any indirect, incidental, or consequential damages arising from your use of the NuBody Program.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[e("strong",[t._v("Changes to Program:")]),t._v(" We reserve the right to modify the NuBody Program, including benefits, pricing, and terms, with reasonable notice to members. Continued use of the program after changes constitutes acceptance of the new terms.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[e("strong",[t._v("Governing Law:")]),t._v(" This agreement is governed by the laws of the State of Florida. Any disputes will be resolved through binding arbitration in accordance with our Terms and Conditions.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v('\n    By clicking "I have read and agree to the NuBody Program Agreement," you acknowledge that you have read, understood, and agree to be bound by these terms and conditions. This constitutes your electronic signature and consent to these terms.\n  ')])])}],!1,null,null,null).exports},7758:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"PatientAuth"};const i=(0,n(51900).Z)(r,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",[e("h3",[t._v("Patient Authorization Agreement")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    I HEREBY DECLARE that, to the best of my knowledge and believe, the information given in these answers to Nu Image Medical is correctly recorded, complete and true and I agree that Nu Image Medical, believing them to be true, shall rely and act upon them accordingly. This agreement is subject to Nu Image Medical's Terms and Conditions effective on the date the enrollment is received. The Terms and Conditions are available at https://nuimagemedical.com/terms-conditions, and will be sent by mail or fax to you upon request.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    Nu Image Medical limits acceptance to these Terms and Conditions and it objects or rejects to any other additional or different terms.\n  ")])])}],!1,null,null,null).exports},10990:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"SelfPayConsent"};const i=(0,n(51900).Z)(r,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",[e("h3",[t._v("Agreement for Self-Payment of Services")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    Wellness Provider Group is committed to providing the best quality healthcare services.  We do not participate in any insurance plans, including Medicare or Medicaid, and we do not accept any health insurance whatsoever.  Our services are 100% self-pay by our patients.  By signing this form, you acknowledge that: 1) you do not have any health insurance through a PPO, HMO, Medicaid or Medicare or any other insurance plan; or 2) you have health insurance but you do not want to use any insurance benefit for these services, acknowledging that  Wellness Provider Group does not accept any health insurance.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    Your insurance policy is a contract between you and your insurance company.  It is your responsibility to know your benefits, and how they will apply to your benefit payments, and we take no responsibility to understand or be bound by the terms and conditions of such insurance.  By signing this form, you are electing to purchase services that may or may not be covered by your insurance if you obtained those services from a different provider.  You have selected services for purchase from us on a self-pay basis.  In other words, you have directed us to treat your purchase of these services as if you are an uninsured patient and 
2you agree to be 100% responsible for full payment of the listed price of the services.  There is no guarantee your insurance company will make any payment on the cost of the services you have purchased.\n  ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n    Wellness Provider Group has provided you with the charges, in advance, for the services you have requested.  By signing below, you agree to pay these charges in full as a self-pay patient, electing not to use an insurance policy benefit.  You have been given a choice of different services, along with their costs.  You have selected the services and are willing to accept full financial responsibility for payment.\n  ")])])}],!1,null,null,null).exports},72717:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(57012),i=n(94451);const o={components:{Notices:r.Z,PopUpNotices:i.Z},props:{question:{required:!0,type:Object},notice:{required:!1,default:null},usePopUpStyle:{type:Boolean,required:!1,default:!1}},data:function(){return{answers:[]}},mounted:function(){this.question.answer&&("None"===this.question.answer?this.answers=["None"]:this.question.answer.includes("None")||(this.answers=this.question.answer.split(" | ")))},methods:{handleOptionChange:function(){this.answers.includes("None")&&(this.answers=this.answers.filter((function(t){return"None"!==t}))),this.question.answer=this.answers.length?this.answers.join(" | "):null},handleNoneChange:function(){var t=this;this.answers=["None"],this.question.answer="None",this.$nextTick((function(){t.$emit("input",null,"None")}))},acknowledgeNotice:function(){this.$emit("acknowledgeNotice")},reset:function(){this.notice=null,this.question.answer=null,this.answers=[]}}};var a=n(93379),s=n.n(a),l=n(42353),u={insert:"head",singleton:!1};s()(l.Z,u);l.Z.locals;const c=(0,n(51900).Z)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-w-full tw-mt-10"},[e("div",{staticClass:"tw-font-medium tw-text-2xl tw-text-black tw-mb-10 tw-text-left tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n    "+t._s(t.question.text)+"\n  ")]),t._v(" "),e("div",{staticClass:"tw-mt-10M"},[e("div",{staticClass:"tw-space-y-1.5"}
2,[t._l(t.question.options,(function(n,r){return e("label",{key:r,staticClass:"tw-flex tw-items-center tw-gap-2 tw-cursor-pointer"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.answers,expression:"answers"}],staticClass:"tw-w-5 tw-h-5 tw-text-brand-brown tw-border tw-border-gray-500 tw-rounded focus:tw-ring- focus:tw-ring tw-mt-0.5",attrs:{type:"checkbox"},domProps:{value:n,checked:Array.isArray(t.answers)?t._i(t.answers,n)>-1:t.answers},on:{change:[function(e){var r=t.answers,i=e.target,o=!!i.checked;if(Array.isArray(r)){var a=n,s=t._i(r,a);i.checked?s<0&&(t.answers=r.concat([a])):s>-1&&(t.answers=r.slice(0,s).concat(r.slice(s+1)))}else t.answers=o},t.handleOptionChange]}}),t._v(" "),e("span",{staticClass:"tw-font-medium tw-text-lg tw-text-black",domProps:{innerHTML:t._s(n)}})])})),t._v(" "),e("div",{staticClass:"tw-w-full"},[e("button",{staticClass:"tw-mt-10 tw-bg-[#F7F0E4] tw-w-full tw-py-2.5 tw-rounded-full tw-text-black tw-font-semibold tw-text-center",on:{click:function(e){return e.preventDefault(),t.handleNoneChange.apply(null,arguments)}}},[t._v("\n          None\n        ")])])],2)]),t._v(" "),e("Transition",{attrs:{name:"fade"}},[null!==t.notice?e("div",{staticClass:"tw-mx-auto tw-my-6"},[t.usePopUpStyle?e("PopUpNotices",{attrs:{notice:t.notice},on:{reset:t.reset,acknowledge:t.acknowledgeNotice}}):e("Notices",{attrs:{notice:t.notice},on:{acknowledge:t.acknowledgeNotice}})],1):t._e()])],1)}),[],!1,null,"5343f630",null).exports},17165:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(21340),i=n(13974);const o={components:{InlineValidationField:r.Z},mixins:[i.Z],props:{inlineValidation:{type:Boolean,default:!1},products:{required:!0,type:Array},subtotal:{required:!0,type:Number},couponData:{default:null},selectedPricingType:{required:!1,default:null},textCss:{type:String,default:"tw-text-black tw-border-black placeholder:tw-text-black"}},data:function(){return{couponErrors:[],couponAttempt:0,couponLoading:!1,couponRequestCode:null,couponErrorCode:null,couponDisposed:!1,enabled:!1,code:null,displayAffiliateCoupon:!1,couponApplied:{},freeProduct:null}},computed:{couponErrorId:function(){return"enrollment-coupon-".concat(this._uid,"-error")},haveACoupon:function(){return this.$store.getters.coupon}},watch:{code:function(){this.couponErrorCode!==this.code&&(this.couponErrors=[]),this.couponLoading&&this.couponRequestCode!==this.code&&(this.couponAttempt++,this.couponLoading=!1)},haveACoupon:function(){this.couponAttempt++,this.couponLoading=!1,this.couponErrors=[]}},beforeDestroy:function(){this.couponDisposed=!0,this.couponAttempt++},created:function(){this.initializeCouponCheck()},methods:{submit:function(){this.haveACoupon||this.validate()},initializeCouponCheck:function(){var t=this.urlParameter("coupon");"undefined"!=typeof Storage&&sessionStorage.getItem("coupon")&&(t=sessionStorage.getItem("coupon"),sessionStorage.removeItem("coupon")),this.couponData&&(t=this.couponData.code),t&&(this.code=t,this.validate({},!0))},getProducts:function(t){var e=this;this.error=!1,this.loading=!0,axios.get("/json/products",{params:{product_id:t}}).then((function(t){var n=t.data.data;e.freeProduct=n.filter((function(t){return 300!==t.id&&90!==t.id}))[0]})).catch((function(t){e.error=!0,bugsnagClient.notify(t)})).finally((function(){return e.loading=!1}))},validate:function(){var t=this;if(!this.couponLoading){if(this.haveACoupon)return this.showCouponError("Please remove the existing coupon before applying a new one.");if(!this.code)return this.showCouponError("Please enter a coupon code.");var e=++this.couponAttempt,n=this.couponPayload();this.couponErrors=[],this.couponLoading=!0,this.couponRequestCode=this.code;var r=function(){return!t.couponDisposed&&e===t.couponAttempt&&!t.haveACoupon&&JSON.stringify(n)===JSON.stringify(t.couponPayload())};return axios.post("/json/coupons/validate",n).then((function(e){var n=e.data.data;r()&&(n.valid?(t.$bus.$emit("flash-message",{message:"Coupon applied successfully!",type:"success"}),n.free_product_id&&(t.getProducts(n.free_product_id),t.$bus.$emit("flash-message",{message:"Additional free gift added to your Order!!",type:"success"})),t.$store.dispatch("addCoupon",n)):t.inlineValidation&&t.showCouponError("string"==typeof n.error?n.error:"That code was invali
2d."))})).catch((function(e){var n,i,o;if(r()){var a=422===(null==e||null===(n=e.response)||void 0===n?void 0:n.status)?null===(i=e.response.data)||void 0===i||null===(o=i.data)||void 0===o?void 0:o.error:null;t.showCouponError("string"==typeof a&&a?a:"That code was invalid.")}})).finally((function(){e===t.couponAttempt&&(t.couponLoading=!1)}))}},couponPayload:function(){var t,e;return{code:this.code,subtotal:this.subtotal,supply_frequency:null!==(t=this.selectedPricingType)&&void 0!==t?t:null===(e=this.products[0])||void 0===e?void 0:e.selected_pricing_type,products:Object.values(this.products[0]).filter((function(t){return null!=t})).map((function(t){return t.product_id}))}},showCouponError:function(t){var e=this;if(!this.inlineValidation)return this.$bus.$emit("flash-message",{message:t,type:"error"});this.couponErrors=[{field:"answer",message:t}],this.couponErrorCode=this.code,this.$emit("validation-error"),this.$nextTick((function(){var t=e.$el.querySelector("input:not(:disabled)");null==t||t.focus({preventScroll:!0}),null==t||t.scrollIntoView({block:"center",behavior:"smooth"})}))}}};const a=(0,n(51900).Z)(o,(function(){var t=this,e=t._self._c;return e("InlineValidationField",{attrs:{id:t.couponErrorId,errors:t.couponErrors}},[e("div",{staticClass:"tw-flex tw-flex-col md:tw-flex-row tw-items-center tw-justify-center",attrs:{"data-enrollment-submit":"coupon"},on:{"enrollment-submit":t.submit}},[e("label",{staticClass:"tw-sr-only",attrs:{for:"".concat(t.couponErrorId,"-input")}},[t._v("Coupon Code")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.code,expression:"code"}],staticClass:"tw-mr-0 md:tw-mr-5 tw-py-2 tw-px-4 tw-border tw-border-black tw-w-full tw-shadow-none tw-uppercase placeholder:tw-uppercase placeholder:tw-text-base placeholder:tw-text-black tw-bg-transparent tw-rounded-full lg:tw-rounded-l-full",class:t.textCss,attrs:{id:"".concat(t.couponErrorId,"-input"),disabled:t.haveACoupon,autofocus:"",placeholder:"Coupon Code"},domProps:{value:t.code},on:{input:function(e){e.target.composing||(t.code=e.target.value)}}}),t._v(" "),e("button",{staticClass:"tw-w-full md:tw-w-auto tw-mt-5 md:tw-mt-0 tw-btn hover:tw-bg-brown-500 hover:tw-text-black tw-bg-brand-brown tw-px-10 tw-py-2 tw-text-white tw-rounded-full lg:tw-rounded-r-full",class:{"tw-opacity-50 tw-cursor-not-allowed":t.haveACoupon},attrs:{type:"button",disabled:t.haveACoupon||t.couponLoading},on:{click:function(e){return e.preventDefault(),t.validate.apply(null,arguments)}}},[t._v("\n      Apply\n    ")])])])}),[],!1,null,null,null).exports},38347:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(21340),i=1,o=2;const a={name:"EnclomipheneBloodWork",components:{InlineValidationField:r.Z},props:{value:{type:[String,Object],default:null},inlineValidation:{type:Boolean,default:!1},validationId:{type:String,default:""},validationErrors:{type:Array,default:function(){return[]}}},data:function(){return{hasHadWork:!1,currentStatus:this.inlineValidation&&this.value?o:0,uploadError:null,filename:this.inlineValidation?this.value:null,requiredError:!1}},computed:{errorId:function(){return this.validationId||"enrollment-bloodwork-".concat(this._uid,"-error")},fieldErrors:function(){if(!this.inlineValidation)return[];var t=this.validationErrors.filter((function(t){return"answer"===t.field}));return this.requiredError&&t.push({field:"answer",message:"you need to upload your blood work to continue"}),t.filter((function(e,n){return t.findIndex((function(t){return t.message===e.message}))===n}))},isInitial:function(){return 0===this.currentStatus},isSaving:function(){return this.currentStatus===i},isSuccess:function(){return this.currentStatus===o},isFailed:function(){return 3===this.currentStatus}},watch:{hasHadWork:{deep:!0,handler:"changeHadWork"}},methods:{reset:function(){this.currentStatus=0,this.uploadedFiles=[],this.uploadError=null},changeHadWork:function(t){},interceptClick:function(){(this.inlineValidation?this.isSaving:[i,o].includes(this.currentStatus))||this.$refs.bloodwork_input.click()},wait:function(t){return function(e){return new Promise((function(n){return setTimeout((function(){return n(e)}),t)}))}},uploadBloodWork:function(t,e){var n=this;if(e.length){this.currentStatus=i,this.inlineValidation&&(this.filename=null,this.$emit("input",null));var r=new FormData;Array.from(Array(e.length).keys()).map((function(n){r.append(t,e[n],e[n].name)})),axios.post("/json/testosterone-blood-work",r).then((function(t){n.inlineValidation&&(n._isDestroyed||n._isBeingDestroyed)||(n.uploadedFiles=[].concat(t.data),n.currentStatus=o,n.filename=t.data,n.requiredError=!1,n.inlineValidation&&n.$emit("input",n.filename))})).catch((function(t){var e;n.inlineValidation&&(n._isDestroyed||n._isBeingDestroyed)||(n.uploadError=null===(e=t.response)||void 0===e?void 0:e.message,n.currentStatus=3)}))}},next:function(t){var e=this;
2if(this.inlineValidation?!this.filename:null==this.filename)return this.inlineValidation&&(this.requiredError=!0,this.$nextTick((function(){var t,n;!e._isDestroyed&&e.requiredError&&(null===(t=e.$refs.bloodworkControl)||void 0===t||t.focus({preventScroll:!0}),null===(n=e.$refs.bloodworkControl)||void 0===n||n.scrollIntoView({block:"center",behavior:"smooth"}))}))),!1;this.$emit("done",t,this.filename)}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("div",[e("h3",{staticClass:"multi-step-question"},[t._v("\n    Upload  blood work done in the last 90 days that include the following panels\n  ")]),t._v(" "),e("ul",{staticClass:"tw-space-y-4"},[e("li",{staticClass:"tw-flex tw-items-center"},[e("svg",{staticClass:"tw-text-red-darker tw-h-6 tw-w-6 tw-flex-none tw-stroke-black tw-stroke-2",attrs:{"stroke-linecap":"round","stroke-linejoin":"round",fill:"white",stroke:"black"}},[e("circle",{attrs:{cx:"12",cy:"12",r:"11"}}),t._v(" "),e("path",{attrs:{d:"m8 13 2.165 2.165a1 1 0 0 0 1.521-.126L16 9",fill:"none"}})]),t._v(" "),t._m(0)]),t._v(" "),e("li",{staticClass:"tw-flex tw-items-center"},[e("svg",{staticClass:"tw-text-red-darker tw-h-6 tw-w-6 tw-flex-none tw-stroke-black tw-stroke-2",attrs:{"stroke-linecap":"round","stroke-linejoin":"round",fill:"white",stroke:"black"}},[e("circle",{attrs:{cx:"12",cy:"12",r:"11"}}),t._v(" "),e("path",{attrs:{d:"m8 13 2.165 2.165a1 1 0 0 0 1.521-.126L16 9",fill:"none"}})]),t._v(" "),e("p",{staticClass:"tw-ml-4"},[t._v("\n        LH\n      ")])])]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("div",{staticClass:"tw-my-10"},[t.inlineValidation||t.isInitial||t.isSaving?e("form",{attrs:{enctype:"multipart/form-data",novalidate:""}},[e("input",{ref:"bloodwork_input",staticClass:"tw-hidden",attrs:{name:"bloodwork_input",type:"file",accept:".pdf"},on:{change:function(e){return t.uploadBloodWork(e.target.name,e.target.files)}}})]):t._e(),t._v(" "),e("InlineValidationField",{attrs:{id:t.errorId,errors:t.fieldErrors}},[e("div",{ref:"bloodworkControl",staticClass:"tw-my-5 tw-border-2 tw-border-blue tw-border-dashed tw-rounded-lg tw-flex tw-flex-col tw-items-center tw-justify-center tw-p-10 tw-text-center tw-cursor-pointer",attrs:{role:t.inlineValidation?"button":null,tabindex:t.inlineValidation?0:null,"data-validation-control":t.inlineValidation?"":null,"aria-label":t.inlineValidation?"Upload blood work PDF":null},on:{click:t.interceptClick,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.target!==e.currentTarget?null:(e.preventDefault(),e.stopPropagation(),t.interceptClick.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])||e.target!==e.currentTarget?null:(e.preventDefault(),e.stopPropagation(),t.interceptClick.apply(null,arguments))}]}},[e("svg",{staticClass:"tw-h-32 tw-w-32 tw-text-gray-light",attrs:{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"}},[e("g",{staticClass:"fa-group"},[e("path",{staticClass:"tw-text-gray-lighter",attrs:{fill:"currentColor",d:"M537.6 226.6A96.11 96.11 0 0 0 448 96a95.51 95.51 0 0 0-53.3 16.2A160 160 0 0 0 96 192c0 2.7.1 5.4.2 8.1A144 144 0 0 0 144 480h368a128 128 0 0 0 25.6-253.4zm-139.9 63.7l-10.8 10.8a24.09 24.09 0 0 1-34.5-.5L320 266.1V392a23.94 23.94 0 0 1-24 24h-16a23.94 23.94 0 0 1-24-24V266.1l-32.4 34.5a24 24 0 0 1-34.5.5l-10.8-10.8a23.9 23.9 0 0 1 0-33.9l92.7-92.7a23.9 23.9 0 0 1 33.9 0l92.7 92.7a24 24 0 0 1 .1 33.9z"}}),t._v(" "),e("path",{staticClass:"tw-text-grey",attrs:{fill:"currentColor",d:"M397.7 290.3l-10.8 10.8a24.09 24.09 0 0 1-34.5-.5L320 266.1V392a23.94 23.94 0 0 1-24 24h-16a23.94 23.94 0 0 1-24-24V266.1l-32.4 34.5a24 24 0 0 1-34.5.5l-10.8-10.8a23.9 23.9 0 0 1 0-33.9l92.7-92.7a23.9 23.9 0 0 1 33.9 0l92.7 92.7a24 24 0 0 1 .1 33.9z"}})])]),t._v(" "),t.isInitial?e("h4",{staticClass:"tw-text-gray-dark"},[t._v("\n            Click here to upload a PDF containing these panels for our doctors to review.\n          ")]):t._e(),t._v(" "),t.isSaving?e("h4",{staticClass:"tw-text-gray-dark"},[t._v("\n            Uploading files...\n          ")]):t._e(),t._v(" "),t.isSuccess?e("h4",{staticClass:"tw-text-green"},[t._v("\n            File stored successfully!\n          ")]):t._e(),t._v(" "),t.isFailed?e("h4",{staticClass:"tw-text-red"},[t._v("\n            There was an error storing your file, "+t._s(t.uploadError)+" please "),e("button",{staticClass:"tw-text-blue",attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.reset.apply(null,arguments)}}},[t._v("\n              try again.\n            ")])]):t._e()])])],1
2)]),t._v(" "),e("button",{staticClass:"tw-rounded-full tw-block tw-w-full tw-btn tw-text-white tw-bg-black tw tw-btn-lg",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.next.apply(null,arguments)}}},[t._v("\n    Continue →\n  ")])],1)}),[function(){var t=this,e=t._self._c;return e("p",{staticClass:"tw-ml-4"},[t._v("\n        TESTOSTERONE, FREE (DIALYSIS) AND TOTAL, MS "),e("code",{staticClass:"tw-text-sm tw-font-bold tw-text-gray-900"},[t._v("[SERUM]")])])}],!1,null,null,null).exports},55965:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});const r={components:{InlineValidationField:n(21340).Z},model:{prop:"question",event:"input"},props:{validation:{type:Object,default:null},question:{required:!0,type:Object}},computed:{errorId:function(){var t;return(null===(t=this.validation)||void 0===t?void 0:t.id)||"expanded-".concat(this._uid,"-error")}}};var i=n(93379),o=n.n(i),a=n(855),s={insert:"head",singleton:!1};o()(a.Z,s);a.Z.locals;const l=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-w-full"},[e("div",{staticClass:"tw-text-black tw-font-medium tw-text-2xl"},[e("div",{},[t._v("\n      "+t._s(t.question.text)+"\n    ")])]),t._v(" "),e("div",{},[e("div",{},[e("InlineValidationField",{attrs:{id:t.errorId,errors:t.validation?t.validation.errors:[]}},[e("label",{attrs:{for:"".concat(t.errorId,"-input")}},[e("span",{staticClass:"tw-sr-only"},[t._v(t._s(t.question.text))]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.question.answer,expression:"question.answer"}],staticClass:"tw-input tw-rounded-3xl tw-border-brand-brown",attrs:{id:"".concat(t.errorId,"-input"),rows:"8",autofocus:""},domProps:{value:t.question.answer},on:{input:function(e){e.target.composing||t.$set(t.question,"answer",e.target.value)}}})])])],1)])])}),[],!1,null,"5139ba17",null).exports},14720:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}const s={model:{prop:"question",event:"input"},props:{question:{required:!0,type:Object},user:{required:!0,type:Object}},data:function(){return{illnesses:[{key:"heart_disease",label:"Heart Disease"},{key:"high_blood_pressure",label:"High Blood Pressure"},{key:"diabetes",label:"Diabetes"},{key:"arthritis",label:"Arthritis"},{key:"skin_disorders",label:"Skin Disorders"},{key:"cancer",label:"Cancer"}],illnessesDefaultState:[{heart_disease:!1,heart_disease_relationship:null},{high_blood_pressure:!1,high_blood_pressure_relationship:null},{diabetes:!1,diabetes_relationship:null},{arthritis:!1,arthritis_relationship:null},{skin_disorders:!1,skin_disorders_relationship:null},{cancer:!1,cancer_relationship:null}]}},mounted:function(){this.autofill()},methods:{autofill:function(){var t,e;if(null!==(t=this.user)&&void 0!==t&&t.patient&&null!==(e=this.user)&&void 0!==e&&e.patient.family_medical_history){var n,r=null===(n=this.user)||void 0===n?void 0:n.patient.family_medical_history,a=!1,s=null,l=this.illnessesDefaultState.map((function(t){var e,n=o(Object.keys(t),2),l=n[0],u=n[1];
2return"high_blood_pressure"===l?(a=r[l],s=r.hbp_relationship):(a=r[l],s=r[u]),i(e={},l,a),i(e,u,s),e}));this.question.answers.family_medical_history=l}},clearSelectedIllnesses:function(){this.question.answers.family_medical_history=this.illnessesDefaultState}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-max-w-md tw-mx-auto tw-px-4"},[e("div",{staticClass:"multi-step-question"},[t._v("\n    Does anyone in your family have a history of :\n  ")]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.question.answers.none?t._e():e("div",[t._l(t.illnesses,(function(n,r){return e("div",{key:r},[e("label",{staticClass:"tw-button-checkbox tw-rounded-full"},[t._v("\n          "+t._s(n.label)+"\n          "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.question.answers.family_medical_history[r][n.key],expression:"question.answers.family_medical_history[index][illness.key]\n          "}],staticClass:"tw-rounded",attrs:{type:"checkbox"},domProps:{value:n.key,checked:Array.isArray(t.question.answers.family_medical_history[r][n.key])?t._i(t.question.answers.family_medical_history[r][n.key],n.key)>-1:t.question.answers.family_medical_history[r][n.key]},on:{change:function(e){var i=t.question.answers.family_medical_history[r][n.key],o=e.target,a=!!o.checked;if(Array.isArray(i)){var s=n.key,l=t._i(i,s);o.checked?l<0&&t.$set(t.question.answers.family_medical_history[r],n.key,i.concat([s])):l>-1&&t.$set(t.question.answers.family_medical_history[r],n.key,i.slice(0,l).concat(i.slice(l+1)))}else t.$set(t.question.answers.family_medical_history[r],n.key,a)}}})]),t._v(" "),t.question.answers.family_medical_history[r][n.key]?e("label",{staticClass:"tw-my-3 tw-py-4"},[t._v("\n          Who?\n          "),e("span",{staticClass:"tw-text-xs tw-font-semibold"},[t._v("\n            (Indicate affected family member)\n          ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.question.answers.family_medical_history[r][n.key+"_relationship"],expression:"question.answers.family_medical_history[index][\n                   illness.key + '_relationship'\n                 ]\n                 "}],staticClass:"tw-bg-white focus:tw-outline-none focus:tw-shadow-outline tw-border tw-border-gray-dark tw-mb-4 tw-py-2 tw-px-4 tw-leading-normal tw-appearance-none tw-w-full",attrs:{type:"text",placeholder:"Mother,Father",autofocus:""},domProps:{value:t.question.answers.family_medical_history[r][n.key+"_relationship"]},on:{input:function(e){e.target.composing||t.$set(t.question.answers.family_medical_history[r],n.key+"_relationship",e.target.value)}}})]):t._e()])})),t._v(" "),e("label",{staticClass:"tw-label tw-block tw-mt-3 tw-mb-1",attrs:{for:"other_family_history"}},[t._v("\n        Other family history\n      ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.question.answers.other_family_history,expression:"question.answers.other_family_history"}],staticClass:"tw-input tw-mb-6 tw-rounded-full tw-border-black",attrs:{id:"other_family_history",autofocus:""},domProps:{value:t.question.answers.other_family_history},on:{input:function(e){e.target.composing||t.$set(t.question.answers,"other_family_history",e.target.value)}}})],2)]),t._v(" "),e("label",{staticClass:"tw-button-checkbox tw-rounded-full"},[t._v("\n    No Disease History\n    "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.question.answers.none,expression:"question.answers.none"}],staticClass:"tw-rounded-full",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.question.answers.none)?t._i(t.question.answers.none,null)>-1:t.question.answers.none},on:{click:function(e){return t.clearSelectedIllnesses()},change:function(e){var n=t.question.answers.none,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&t.$set(t.question.answers,"none",n.concat([null])):o>-1&&t.$set(t.question.answers,"none",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(t.question.answers,"none",i)}}})])],1)}),[],!1,null,null,null).exports},92024:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"NubodyPaymentSelection",props:{nubodyInfo:{type:Object,required:!0}},methods:{selectPayment:function(t){this.$emit("payment-selected",t)},calculateAnnualSavings:function(){var t,e,n,r;return null!==(t=this.nubodyInfo)&&void 0!==t&&null!==(e=t.month)&&void 0!==e&&e.price&&null!==(n=this.nubodyInfo)&&void 0!==n&&null!==(r=n.annual)&&void 0!==r&&r.price?(12*this.nubodyInfo.month.price-this.nubodyInfo.annual.price).toFixed(0):0}}};const i=(0,n(51900).Z)(r,(function(){var t,e,n,r,i=this,o=i._self._c;return o("div",[i._m(0),i._v(" "),i._m(1),i._v(" "),o("div",{staticClass:"tw-flex tw-justify-center tw-flex-col tw-mt-3 tw-w-full"}
2,[o("div",{staticClass:"tw-grid tw-grid-cols-1 md:tw-grid-cols-2 tw-gap-3 md:tw-gap-5 tw-w-full"},[o("div",{staticClass:"tw-cursor-pointer tw-rounded-3xl tw-px-1 tw-py-6 md:tw-px-5 tw-flex tw-flex-col tw-justify-between tw-bg-[#eeeeee] tw-text-black",on:{click:function(t){return t.preventDefault(),i.selectPayment("month")}}},[o("div",{staticClass:"tw-align-middle tw-items-center tw-text-center"},[i._m(2),i._v(" "),o("div",{staticClass:"tw-rounded-xl tw-p-4 tw-text-center"},[o("p",{staticClass:"tw-text-lg md:tw-text-xl tw-mb-0 tw-text-black"},[i._v("\n              Monthly Membership\n            ")]),i._v(" "),o("p",{staticClass:"tw-text-4xl sm:tw-text-3xl lg:tw-text-5xl xl:tw-text-4xl tw-font-bold tw-text-black tw-mb-2"},[i._v("\n              $"+i._s(null===(t=i.nubodyInfo)||void 0===t||null===(e=t.month)||void 0===e?void 0:e.price)+"/mo\n            ")])]),i._v(" "),i._m(3)]),i._v(" "),i._m(4)]),i._v(" "),o("div",{staticClass:"tw-cursor-pointer tw-rounded-3xl tw-px-1 tw-py-6 md:tw-px-5 tw-flex tw-flex-col tw-justify-between tw-bg-[#eeeeee] tw-text-black",on:{click:function(t){return t.preventDefault(),i.selectPayment("annual")}}},[o("div",{staticClass:"tw-align-middle tw-items-center tw-text-center"},[i._m(5),i._v(" "),o("div",{staticClass:"tw-rounded-xl tw-p-4 tw-text-center"},[o("p",{staticClass:"tw-text-lg md:tw-text-xl tw-mb-0 tw-text-black"},[i._v("\n              Annual Membership\n            ")]),i._v(" "),o("p",{staticClass:"tw-text-4xl sm:tw-text-3xl lg:tw-text-5xl xl:tw-text-4xl tw-font-bold tw-text-black tw-mb-2"},[i._v("\n              $"+i._s(null===(n=i.nubodyInfo)||void 0===n||null===(r=n.annual)||void 0===r?void 0:r.price)+"/yr\n            ")]),i._v(" "),o("p",{staticClass:"tw-text-sm tw-text-brand-brown tw-font-medium tw-mb-0"},[i._v("\n              Save $"+i._s(i.calculateAnnualSavings())+" per year\n            ")])]),i._v(" "),i._m(6)]),i._v(" "),i._m(7)])]),i._v(" "),o("div",{staticClass:"tw-mt-8 tw-text-center"},[o("button",{staticClass:"tw-text-brand-brown tw-bg-transparent tw-border-none tw-font-medium tw-px-4 md:tw-px-6 tw-py-2 tw-rounded-full hover:tw-bg-brand-brown hover:tw-text-white tw-text-sm md:tw-text-base",on:{click:function(t){return t.preventDefault(),i.$emit("back")}}},[i._v("\n        ← Back to options\n      ")])])])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-mt-10 tw-mb-16 tw-flex tw-flex-col tw-items-center tw-justify-center"},[e("h1",{staticClass:"tw-text-2xl md:tw-text-4xl tw-font-bold tw-text-center tw-mb-4 tw-text-black !tw-leading-none"},[t._v("\n      Unlock personalized care and exclusive savings — "),e("span",{staticClass:"tw-font-bold"},[t._v("your")])]),t._v(" "),e("div",{staticClass:"tw-mt-2"},[e("img",{staticClass:"tw-h-24 md:tw-h-32 tw-mx-auto",attrs:{src:"/assets/img/nubody-logo-brown.png",alt:"NuBody Logo"}})]),t._v(" "),e("h2",{staticClass:"tw-text-2xl md:tw-text-3xl tw-font-semibold tw-text-center tw-mb-2 tw-mt-1 tw-text-brand-brown !tw-leading-none"},[t._v("\n      journey starts here.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-xl lg:tw-text-2xl tw-text-center !tw-leading-none tw-font-medium tw-text-gray-700 tw-mt-3 tw-mb-4 tw-w-full md:tw-w-3/5 tw-mx-auto"},[t._v("\n      Enjoy personalized support, exclusive pricing, and simplified refills — all "),e("br",{staticClass:"tw-hidden lg:tw-block"}),t._v(" designed to keep your NuBody™ journey on track.\n    ")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-my-10"},[e("h2",{staticClass:"tw-text-2xl md:tw-text-3xl tw-font-semibold tw-text-center tw-mb-2 tw-text-black !tw-leading-none"},[t._v("\n      Choose your NuBody™ Membership and select "),e("br",{staticClass:"tw-hidden lg:tw-block"}),t._v(" your preferred payment option below.\n    ")])])},function(){var t=this._self._c;return t("div",{staticClass:"tw-h-[50px] tw-align-middle"},[t("img",{staticClass:"tw-h-[35px]",attrs:{src:"/assets/img/nubody-logo-brown.png"}})])},function(){var t=this._self._c;return t("p",{staticClass:"tw-text-center tw-text-lg tw-text-black"},[t("span",{staticClass:"tw-text-brand-brown"},[this._v("Monthly NuBody Program")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-px-4 lg:tw-px-0 tw-w-4/5 tw-mx-auto"},[e("button",{staticClass:"tw-bg-brand-brown tw-text-white tw-font-bold tw-w-full tw-py-2 tw-rounded-full tw-text-sm md:tw-text-base"},[t._v("\n            Select Monthly\n          ")]),t._v(" "),e("p",{staticClass:"tw-text-xs tw-text-center tw-mt-2 tw-mb-0 tw-h-3 tw-text-black"},[t._v("\n            Billed monthly\n          ")])])},function(){var t=this._self._c;return t("div",{staticClass:"tw-h-[50px] tw-align-middle"},[t("img",{staticClass:"tw-h-[35px]",attrs:{src:"/assets/img/nubody-logo-brown.png"}})])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"tw-text-center tw-text-lg tw-text-black"},[e("span",{staticClass:"tw-text-brand-brown"},[t._v("Annual")]),t._v(" NuBody Program Membership\n          ")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-px-4 lg:tw-px-0 tw-w-4/5 tw-mx-auto"},[e("button",{staticClass:"tw-bg-brand-brown tw-text-white tw-font-bold tw-w-full tw-py-2 tw-rounded-full tw-text-sm md:tw-text-base"},[t._v("\n            Select Annual\n          ")]),t._v(" "),e("p",{staticClass:"tw-text-xs tw-text-center tw-mt-2 tw-mb-0 tw-h-3 tw-text-black"},[t._v("\n            Billed annually, best value\n          ")])])}],!1,null,null,null).exports},12833:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{question:{required:!0,type:Object},user:{required:!0,type:Object}},data:function(){return{showInputs:!1,physician_name:null,physician_phone:null}},mounted:function(){this.question.answers&&this.question.answers.physician_name&&(this.physician_name=this.question.answers.physician_name,this.physician_phone=this.question.answers.physician_phone,this.showInputs=!0)},methods:{next:function(t){this.$emit("input",t,{physician_name:this.physician_name,physician_phone:this.physician_phone})}}};const i=(0,n(51900).Z)(r,(function(){var t,e=this,n=e._self._c;return n("div",[n("Transition",{attrs:{name:"fade",mode:"out-in"}},[e.showInputs?n("div",{key:"step-two"},[n("div",{staticClass:"multi-step-question"}
2,[e._v("\n        Please enter their name and phone number.\n      ")]),e._v(" "),n("div",{staticClass:"tw-label tw-block tw-mb-1"},[e._v("\n        Physician's Name\n      ")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.physician_name,expression:"physician_name"}],staticClass:"tw-input tw-mb-6 tw-rounded-full tw-border-black",attrs:{placeholder:"Physician name",autofocus:""},domProps:{value:e.physician_name},on:{input:function(t){t.target.composing||(e.physician_name=t.target.value)}}}),e._v(" "),n("div",{staticClass:"tw-label tw-block tw-mb-1"},[e._v("\n        Physician's Phone Number\n      ")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.physician_phone,expression:"physician_phone"}],ref:"phone",staticClass:"tw-input tw-rounded-full tw-border-black",attrs:{autofocus:""},domProps:{value:e.physician_phone},on:{input:function(t){t.target.composing||(e.physician_phone=t.target.value)}}}),e._v(" "),n("button",{staticClass:"tw-mt-10 tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-btn-lg",on:{click:function(t){return t.preventDefault(),e.next.apply(null,arguments)}}},[e._v("\n        Continue →\n      ")])]):n("div",{key:"step-one"},[null!==(t=e.user)&&void 0!==t&&t.patient?n("div",{staticClass:"multi-step-question"},[e._v("\n        Has your primary care physician changed?\n      ")]):n("div",{staticClass:"multi-step-question"},[e._v("\n        Do you have a primary care physician?\n      ")]),e._v(" "),n("div",{staticClass:"md:tw-flex tw-items-center md:tw--mx-2"},[n("button",{staticClass:"tw-mx-2 tw-flex-1 tw-btn tw-rounded-full tw-bg-black tw-text-white tw-btn-lg",on:{click:function(t){t.preventDefault(),e.showInputs=!0}}},[e._v("\n          Yes\n        ")]),e._v(" "),n("button",{staticClass:"tw-mx-2 tw-flex-1 tw-btn tw-btn-blue tw-rounded-full tw-bg-accent-green tw-text-gray-700 tw-btn-lg",on:{click:function(t){return t.preventDefault(),e.next.apply(null,arguments)}}},[e._v("\n          No\n        ")])])])])],1)}),[],!1,null,null,null).exports},2943:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{question:{required:!0,type:Object}},data:function(){return{answer:null}},mounted:function(){void 0!==this.question.answer&&null!==this.question.answer&&(this.answer=this.question.answer)},methods:{onOptionSelected:function(){this.$emit("input",null,this.answer)}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-mt-10"},[e("div",{},[e("div",{},[e("div",{staticClass:"tw-mb-10 tw-font-medium tw-text-2xl tw-text-black tw-px-2 tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n        "+t._s(t.question.text)+"\n      ")])])]),t._v(" "),e("div",{staticClass:"tw-mt-6"},[e("div",{staticClass:"tw-space-y-3"}
2,t._l(t.question.options,(function(n,r){return e("label",{key:r,staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-w-full tw-flex tw-items-center tw-justify-between tw-rounded-full tw-border tw-border-gray-400 tw-px-6 tw-py-3 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500"},[e("span",{staticClass:"tw-font-medium tw-text-base sm:tw-text-lg"},[t._v(t._s(n))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],staticClass:"tw-w-5 tw-h-5 tw-text-orange-500 tw-border-2 tw-border-gray-400 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{name:"choice-".concat(t._uid),type:"radio"},domProps:{value:n,checked:t._q(t.answer,n)},on:{change:[function(e){t.answer=n},t.onOptionSelected]}})])})),0)])])}),[],!1,null,null,null).exports},83033:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{question:{required:!0,type:Object}},data:function(){return{answer:null}},mounted:function(){void 0!==this.question.answer&&null!==this.question.answer&&(this.answer=this.question.answer)},methods:{onOptionSelected:function(){this.$emit("input",null,this.answer)}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-mt-10"},[e("div",{},[e("div",{},[e("div",{staticClass:"tw-mb-10 tw-font-medium tw-text-2xl tw-text-black tw-px-2 tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n        "+t._s(t.question.text)+"\n      ")])])]),t._v(" "),e("div",{staticClass:"tw-mt-6"},[e("div",{staticClass:"tw-grid tw-grid-cols-5 tw-gap-3"}
vendor: 5,691 bytes, line 2
2,t._l(t.question.options,(function(n,r){return e("label",{key:r,staticClass:"tw-cursor-pointer tw-bg-white tw-flex tw-items-center tw-justify-center tw-rounded-lg tw-border tw-px-4 tw-py-4 tw-transition-all tw-duration-200 hover:tw-border-gray-600 focus-within:tw-ring-2 focus-within:tw-ring-orange-500",class:t.answer===n?"tw-text-brand-brown tw-border-brand-brown tw-font-bold":"tw-text-black tw-border-black"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],staticClass:"tw-sr-only",attrs:{name:"choice-".concat(t._uid),type:"radio"},domProps:{value:n,checked:t._q(t.answer,n)},on:{change:[function(e){t.answer=n},t.onOptionSelected]}}),t._v(" "),e("span",{staticClass:"tw-font-bold tw-text-xl"},[t._v(t._s(n))])])})),0)])])}),[],!1,null,null,null).exports},96204:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(){i=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:k(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function w(){}function m(){}var v={};c(v,s,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(O([])));y&&y!==e&&n.call(y,s)&&(v=y);var b=m.prototype=p.prototype=Object.create(v);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function i(o,a,s,l){var u=h(t[o],t,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,s,l)}),(function(t){i("throw",t,s,l)})):e.resolve(d).then((function(t){c.value=t,s(c)}),(function(t){return i("throw",t,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return T()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=h(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function C(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=h(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function O(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:T}}function T(){return{value:void 0,done:!0}}return w.prototype=m,o(b,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:w,configurable:!0}),w.displayName=c(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,u,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},_(x.prototype),c(x.prototype,l,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new x(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(b),c(b,u,"Generator"),c(b,s,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=O,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(P),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function o(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}const a={props:{question:{required:!0,type:Object},user:{required:!0,type:Object},state:{required:!1,type:String,default:""},enforceDeliverySignature:{required:!0,default:!1,type:Boolean},enforcementType:{required:!1,default:function(){return[]},type:Array}},data:function(){return{isSigning:!0,signatureFee:"5",signatureRequired:!0}},computed:{fee:function(){return"$"+parseInt(this.signatureFee).toFixed(2)},enforceDeliveryOptionForState:function(){return this.enforceDeliverySignature&&(this.signatureRequired=!0),this.enforceDeliverySignature},generatedSignature:function(){if(!this.user)return"";var t=this.user.first_name||"",e=this.user.last_name||"";return"".concat(t," ").concat(e).trim()||"Electronic Signature"}},mounted:function(){if(this.question.answer&&1==this.question.answer.signature_waiver.required&&(this.isSigning=!0,this.signatureRequired=this.question.answer.signature_waiver.required,this.enforceDeliverySignature)){var t=function(){var t,e=(t=i().mark((function t(){var e,n,r,o,a,s,l;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.enforceDeliverySignature){t.next=20;break}if(e=this.enforcementType,n=e.includes("product"),r=e.includes("state"),o=n?"The selected product":"",a="",!r){t.next=17;break}return t.prev=7,t.next=10,axios.get("/json/get-state-full-name/"+this.state);case 10:s=t.sent,a=s.data+" law",t.next=17;break;case 14:t.prev=14,t.t0=t.catch(7),console.error("Error fetching state full name:",t.t0);case 17:l="".concat(o).concat(a," requires a customer signature on all medication deliveries. The option has automatically been selected."),window.Bus.$emit("flash-message",{message:l,type:"info",ignoreTimer:!0}),this.$emit("signed",null,{method:this.question.answer.method,signature_waiver:{signature:null,required:!0}});case 20:case"end":return t.stop()}}),t,this,[[7,14]])})),function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,l,"next",t)}function l(t){o(a,r,i,s,l,"throw",t)}s(void 0)}))});return function(){return e.apply(this,arguments)}}();t.call(this)}},methods:{adjustView:function(){this.isSigning||setTimeout((function(){window.scrollTo({top:document.body.scrollHeight,behavior:"smooth",block:"start"})}),300)},handleSignatureChange:function(t){},saveSignatureChoice:function(){if(this.signatureRequired)return this.$emit("signed",null,{method:this.question.answer.method,signature_waiver:{signature:null,required:!0}});this.generateElectronicSignatureAndProceed(null)},generateElectronicSignatureAndProceed:function(t){var e=this.createElectronicSignatureData();this.$emit("signed",t,{method:this.question.answer.method,signature_waiver:{signature:e,required:!1,electronic_signature:!0,signed_name:this.generatedSignature}})},createElectronicSignatureData:function(){var t=document.createElement("canvas");t.width=400,t.height=100;var e=t.getContext("2d");return e.fillStyle="white",e.fillRect(0,0,t.width,t.height),e.fillStyle="black",e.font="24px cursive",e.textAlign="center",e.fillText(this.generatedSignature,t.width/2,t.height/2+8),t.toDataURL()}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-border-t tw-border-dashed tw-border-black tw-my-2"},[e("div",{staticClass:"tw-mt-3 tw-my-3"},[e("div",{staticClass:"tw-pt-5"},[e("div",{staticClass:"tw-flex tw-items-start tw-space-x-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.signatureRequired,expression:"signatureRequired"}],staticClass:"tw-mt-1 tw-w-5 tw-h-5 tw-text-brand-brown tw-border-black tw-rounded focus:tw-ring-brand-brown",attrs:{id:"signature-required",type:"checkbox",disabled:t.enforceDeliveryOptionForState},domProps:{checked:Array.isArray(t.signatureRequired)?t._i(t.signatureRequired,null)>-1:t.signatureRequired},on:{change:[function(e){var n=t.signatureRequired,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.signatureRequired=n.concat([null])):o>
2-1&&(t.signatureRequired=n.slice(0,o).concat(n.slice(o+1)))}else t.signatureRequired=i},t.handleSignatureChange]}}),t._v(" "),e("label",{staticClass:"tw-text-base tw-text-gray-900 tw-font-medium tw-block tw-cursor-pointer",attrs:{for:"signature-required"}},[e("div",{staticClass:"tw-text-lg tw-font-semibold tw-text-black"},[t._v("\n            Require signature delivery for my package "),e("span",{staticClass:"tw-text-brand-brown"},[t._v("(+"+t._s(t.fee)+")")])]),t._v(" "),e("div",{staticClass:"tw-text-sm tw-text-gray-600 tw-mt-1"},[t._v("\n            This ensures that your package(s) are signed before collection.\n          ")])])]),t._v(" "),t.signatureRequired?t._e():e("div",{staticClass:"tw-mt-4 tw-ml-8 tw-p-4 tw-bg-white tw-border tw-border-brand-brown tw-rounded-lg"},[e("p",{staticClass:"tw-text-sm tw-mb-0 tw-text-gray-700 tw-leading-relaxed"},[t._v("\n          By unchecking this box, you agree to waive physical signature requirements. Your package will be pre-signed using an electronic signature generated from your full name: "),e("span",{staticClass:"tw-font-semibold tw-text-black"},[t._v(t._s(t.generatedSignature))])])]),t._v(" "),e("div",{staticClass:"tw-mt-10"},[e("button",{staticClass:"tw-w-full tw-py-3 tw-px-4 tw-bg-brand-brown hover:tw-bg-yellow-700 tw-text-white tw-font-semibold tw-rounded-full tw-transition-colors tw-duration-200",on:{click:function(e){return e.preventDefault(),t.saveSignatureChoice.apply(null,arguments)}}},[t._v("\n          Save\n        ")])])])])])}),[],!1,null,null,null).exports},96110:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=1,i=2;const o={name:"TestosteroneBloodWork",props:{value:{type:Object,default:null}},data:function(){var t,e,n;return{hasHadWork:Boolean(null===(t=this.value)||void 0===t?void 0:t.answer),currentStatus:null!==(e=this.value)&&void 0!==e&&e.answer?i:0,uploadError:null,filename:(null===(n=this.value)||void 0===n?void 0:n.answer)||null}},computed:{isInitial:function(){return 0===this.currentStatus},isSaving:function(){return this.currentStatus===r},isSuccess:function(){return this.currentStatus===i},isFailed:function(){return 3===this.currentStatus}},watch:{hasHadWork:{deep:!0,handler:"changeHadWork"}},methods:{reset:function(){this.currentStatus=0,this.uploadedFiles=[],this.uploadError=null},changeHadWork:function(t){},interceptClick:function(){[r,i].includes(this.currentStatus)||this.$refs.bloodwork_input.click()},wait:function(t){return function(e){return new Promise((function(n){return setTimeout((function(){return n(e)}),t)}))}},uploadBloodWork:function(t,e){var n=this;this.currentStatus=r;var o=new FormData;e.length&&(Array.from(Array(e.length).keys()).map((function(n){o.append(t,e[n],e[n].name)})),axios.post("/json/testosterone-blood-work",o).then((function(t){n._isDestroyed||n._isBeingDestroyed||(n.uploadedFiles=[].concat(t.data),n.currentStatus=i,n.filename=t.data,n.$emit("uploaded",t.data))})).catch((function(t){var e;n.uploadError=null===(e=t.response)||void 0===e?void 0:e.message,n.currentStatus=3})))},next:function(t){this.$emit("done",t,this.filename)}}};const a=(0,n(51900).Z)(o,(function(){var t=this,e=t._self._c;return e("div",[e("h3",{staticClass:"multi-step-question"},[t._v("\n    Have you had blood work done in the last 90 days that include the following panels?\n  ")]),t._v(" "),e("ul",{staticClass:"tw-space-y-4"},[e("li",{staticClass:"tw-flex tw-items-center"},[e("svg",{staticClass:"tw-text-red-darker tw-h-6 tw-w-6 tw-flex-none tw-stroke-black tw-stroke-2",attrs:{"stroke-linecap":"round","stroke-linejoin":"round",fill:"white",stroke:"black"}},[e("circle",{attrs:{cx:"12",cy:"12",r:"11"}}),t._v(" "),e("path",{attrs:{d:"m8 13 2.165 2.165a1 1 0 0 0 1.521-.126L16 9",fill:"none"}})]),t._v(" "),t._m(0)]),t._v(" "),e("li",{staticClass:"tw-flex tw-items-center"},[e("svg",{staticClass:"tw-text-red-darker tw-h-6 tw-w-6 tw-flex-none tw-stroke-black tw-stroke-2",attrs:{"stroke-linecap":"round","stroke-linejoin":"round",fill:"white",stroke:"black"}},[e("circle",{attrs:{cx:"12",cy:"12",r:"11"}}),t._v(" "),e("path",{attrs:{d:"m8 13 2.165 2.165a1 1 0 0 0 1.521-.126L16 9",fill:"none"}})]),t._v(" "),t._m(1)]),t._v(" "),e("li",{staticClass:"tw-flex tw-items-center"},[e("svg",{staticClass:"tw-text-red-darker tw-h-6 tw-w-6 tw-flex-none tw-stroke-black tw-stroke-2",attrs:{"stroke-linecap":"round","stroke-linejoin":"round",fill:"white",stroke:"black"}},[e("circle",{attrs:{cx:"12",cy:"12",r:"11"}}),t._v(" "),e("path",{attrs:{d:"m8 13 2.165 2.165a1 1 0 0 0 1.521-.126L16 9",fill:"none"}})]),t._v(" "),t._m(2)]),t._v(" "),e("li",{staticClass:"tw-flex tw-items-center"},[e("svg",{staticClass:"tw-text-red-darker tw-h-6 tw-w-6 tw-flex-none tw-stroke-black tw-stroke-2",attrs:{"stroke-linecap":"round","stroke-linejoin":"round",fill:"white",stroke:"black"}},[e("circle",{attrs:{cx:"12",cy:"12",r:"11"}}),t._v(" "),e("path",{attrs:{d:"m8 13 2.165 2.165a1 1 0 0 0 1.521-.126L16 9",fill:"none"}})]),t._v(" "),t._m(3)]),t._v(" "),e("li",{staticClass:"tw-flex tw-items-center"},[e("svg",{staticClass:"tw-text-red-darker tw-h-6 tw-w-6 tw-flex-none tw-stroke-black tw-stroke-2",attrs:{"stroke-linecap":"round","stroke-linejoin":"round",fill:"white",stroke:"black"}},[e("circle",{attrs:{cx:"12",cy:"12",r:"11"}}),t._v(" "),e("path",{attrs:{d:"m8 13 2.165 2.165a1 1 0 0 0 1.521-.126L16 9",fill:"none"}})]),t._v(" "),t._m(4)]),t._v(" "),e("li",{staticClass:"tw-flex tw-items-center"},[e("svg",{staticClass:"tw-text-red-darker tw-h-6 tw-w-6 tw-flex-none tw-stroke-black tw-stroke-2",attrs:{"stroke-linecap":"round","stroke-linejoin":"round",fill:"white",stroke:"black"}},[e("circle",{attrs:{cx:"12",cy:"12",r:"11"}}),t._v(" "),e("path",{attrs:{d:"m8 13 2.165 2.165a1 1 0 0 0 1.521-.126L16 9",fill:"none"}})]),t._v(" "),e("p",{staticClass:"tw-ml-4"},[t._v("\n        LH\n      ")])])]),t._v(" "),e("label",{staticClass:"tw-button-radio tw-rounded-full"},[t._v("\n    Yes\n    "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.hasHadWork,expression:"hasHadWork"}],attrs:{type:"radio"},domProps:{value:!0,checked:t._q(t.hasHadWork,!0)},on:{change:function(e){t.hasHadWork=!0}}})]),t._v(" "),e("label",{staticClass:"tw-button-radio tw-rounded-full"},[t._v("\n    No\n    "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.hasHadWork,expression:"hasHadWork"}],attrs:{type:"radio"},domProps:{value:!1,checked:t._q(t.hasHadWork,!1)},on:{change:function(e){t.hasHadWork=!1}}})]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.hasHadWork?e("div",{staticClass:"tw-my-10"},[t.isInitial||t.isSaving?e("form",{attrs:{enctype:"multipart/form-data",novalidate:""}},[e("input",{ref:"bloodwork_input",staticClass:"tw-hidden",attrs:{name:"bloodwork_input",type:"file",accept:".pdf"},on:{change:function(e){return t.uploadBloodWork(e.target.name,e.target.files)}}})]):t._e(),t._v(" "),e("div",{staticClass:"tw-my-5 tw-border-2 tw-border-blue tw-border-dashed tw-rounded-lg tw-flex tw-flex-col tw-items-center tw-justify-center tw-p-10 tw-text-center tw-cursor-pointer",on:{click:t.interceptClick}},[e("svg",{staticClass:"tw-h-32 tw-w-32 tw-text-gray-light",attrs:{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"}},[e("g",{staticClass:"fa-group"}
2,[e("path",{staticClass:"tw-text-gray-lighter",attrs:{fill:"currentColor",d:"M537.6 226.6A96.11 96.11 0 0 0 448 96a95.51 95.51 0 0 0-53.3 16.2A160 160 0 0 0 96 192c0 2.7.1 5.4.2 8.1A144 144 0 0 0 144 480h368a128 128 0 0 0 25.6-253.4zm-139.9 63.7l-10.8 10.8a24.09 24.09 0 0 1-34.5-.5L320 266.1V392a23.94 23.94 0 0 1-24 24h-16a23.94 23.94 0 0 1-24-24V266.1l-32.4 34.5a24 24 0 0 1-34.5.5l-10.8-10.8a23.9 23.9 0 0 1 0-33.9l92.7-92.7a23.9 23.9 0 0 1 33.9 0l92.7 92.7a24 24 0 0 1 .1 33.9z"}}),t._v(" "),e("path",{staticClass:"tw-text-grey",attrs:{fill:"currentColor",d:"M397.7 290.3l-10.8 10.8a24.09 24.09 0 0 1-34.5-.5L320 266.1V392a23.94 23.94 0 0 1-24 24h-16a23.94 23.94 0 0 1-24-24V266.1l-32.4 34.5a24 24 0 0 1-34.5.5l-10.8-10.8a23.9 23.9 0 0 1 0-33.9l92.7-92.7a23.9 23.9 0 0 1 33.9 0l92.7 92.7a24 24 0 0 1 .1 33.9z"}})])]),t._v(" "),t.isInitial?e("h4",{staticClass:"tw-text-gray-dark"},[t._v("\n          Click here to upload a PDF containing these panels for our doctors to review.\n        ")]):t._e(),t._v(" "),t.isSaving?e("h4",{staticClass:"tw-text-gray-dark"},[t._v("\n          Uploading files...\n        ")]):t._e(),t._v(" "),t.isSuccess?e("h4",{staticClass:"tw-text-green"},[t._v("\n          File stored successfully!\n        ")]):t._e(),t._v(" "),t.isFailed?e("h4",{staticClass:"tw-text-red"},[t._v("\n          There was an error storing your file, "+t._s(t.uploadError)+" please "),e("button",{staticClass:"tw-text-blue",on:{click:t.reset}},[t._v("\n            try again.\n          ")])]):t._e()])]):t._e()]),t._v(" "),e("button",{staticClass:"tw-block tw-w-full tw-btn tw-bg-black tw-btn-lg tw-text-white",on:{click:function(e){return e.preventDefault(),t.next.apply(null,arguments)}}},[t._v("\n    Continue →\n  ")])],1)}),[function(){var t=this,e=t._self._c;return e("p",{staticClass:"tw-ml-4"},[t._v("\n        ESTRADIOL "),e("code",{staticClass:"tw-text-sm tw-font-bold tw-text-gray-900"},[t._v("[SERUM]")])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"tw-ml-4"},[t._v("\n        CBC (INCLUDES DIFFERENTIAL AND PLATELETS) "),e("code",{staticClass:"tw-text-sm tw-font-bold tw-text-gray-900"},[t._v("[SERUM]")])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"tw-ml-4"},[t._v("\n        COMPREHENSIVE METABOLIC PANEL  "),e("code",{staticClass:"tw-text-sm tw-font-bold tw-text-gray-900"},[t._v("[SERUM]")])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"tw-ml-4"},[t._v("\n        TESTOSTERONE, FREE (DIALYSIS) AND TOTAL, MS  "),e("code",{staticClass:"tw-text-sm tw-font-bold tw-text-gray-900"},[t._v("[SERUM]")])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"tw-ml-4"},[t._v("\n        LIPID PANEL, CARDIO IQ(R) "),e("code",{staticClass:"tw-text-sm tw-font-bold tw-text-gray-900"},[t._v("[SERUM]")])])}],!1,null,null,null).exports},39585:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(411),i=n(13974);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const u={components:{CardModal:r.Z},mixins:[i.Z],props:{ub:{required:!0,type:Object}},data:function(){return{loading:!0,error:!1,products:[],selectedProduct:this.ub,detailedProduct:null}},mounted:function(){this.getProducts(),this.updateUrlParameters(s(s({},this.getUrlParameters()),{},{question:"ultra-burn"}))},methods:{getProducts:function(){var t=this;this.error=!1,this.loading=!0,axios.get("/json/products",{params:{product_id:425}}).then((function(e){var n=e.data.data;t.products=n.filter((function(t){return 300!==t.id&&90!==t.id}))})).catch((function(e){t.error=!0,bugsnagClient.notify(e)})).finally((function(){return t.loading=!1}))},selectProduct:function(t){this.isSelected(t)||(this.selectedProduct=t,this.$bus.$emit("updated-ultraburn-upsale",{ub:this.selectedProduct}),this.$emit("input",this.selectedProduct))},proceed:function(){this.$emit("input",this.selectedProduct)},removeProduct:function(){this.isSelected(this.selectedProduct)?(this.selectedProduct={},this.$bus.$emit("updated-ultraburn-upsale",{ub:this.selectedProduct}),this.$emit("input",this.selectedProduct)):this.$emit("input")},isSelected:function(t){return this.selectedProduct&&void 0!==this.selectedProduct.id&&this.selectedProduct.id===t.id}}};const c=(0,n(51900).Z)(u,(function(){var t=this,e=t._self._c;return e("div",{},[e("h4",{staticClass:"tw-text-center tw-mb-6 tw-mt-5 lg:tw-mt-0 tw-uppercase tw-font-semibold tw-tracking-wider tw-text-lg lg:tw-text-2xl"},[t._v("\n    Would you like to add Ultra Burn to your program?\n  ")]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.loading?e("div",{key:"loading",staticClass:"loading loading-grey loading-lg",staticStyle:{"min-height":"200px"}}):t.error?e("div",{key:"error",staticClass:"tw-text-xl tw-text-center tw-text-gray-darker tw-py-16"},[t._v("\n      Oops! There was a problem getting the list of products.\n      "),e("button",{staticClass:"tw-text-blue hover:tw-text-blue-dark",on:{click:function(e){return e.preventDefault(),t.getProducts.apply(null,arguments)}}},[t._v("\n        Try again.\n      ")])]):e("div",{key:"products",staticClass:"lg:tw-flex tw-flex-col tw-flex-wrap tw-items-center tw-justify-center tw-mt-3"},t._l(t.products,(function(n){return e("div",{key:n.id,staticClass:"tw-w-full lg:tw-w-5/6 tw-px-3 tw-mx-auto tw-self-stretch tw-mb-12"},[e("div",{staticClass:"tw-bg-white tw-shadow-lg tw-overflow-hidden tw-h-full"},[e("div",{staticClass:"tw-p-8 tw-flex tw-items-center tw-text-center"},[e("div",{staticClass:"tw-w-3/5"},[e("h3",{staticClass:"tw-font-semibold tw-text-base tw-mb-1 tw-mt-0 tw-text-black tw-tracking-wider",staticStyle:{"min-height":"50px"}},[t._v("\n                "+t._s(n.display_name)+"\n              ")]),t._v(" "),e("div",{staticClass:"tw-mb-2 tw-text-3xl tw-text-gray-darkest"},[t._v("\n                $"+t._s(n.price)+"\n              ")]),t._v(" "),e("button",{staticClass:"tw-text-gray-dark hover:tw-text-black tw-text-sm tw-uppercase tw-tracking-wider tw-font-bold",on:{click:function(e){e.preventDefault(),t.detailedProduct=n}}},[t._v("\n                Learn More →\n              ")])]),t._v(" "),e("div",{staticClass:"tw-w-2/5"},[e("img",{staticClass:"tw-mx-auto tw-block tw-mb-6",staticStyle:{"max-height":"200px"},attrs:{src:n.full_imageurl}})])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-items-center tw-mt-12"},[e("button",{staticClass:"tw-flex-1 tw-btn tw-bg-gray-light tw-text-black tw-text-sm md:tw-text-base tw-rounded-l-full",on:{click:function(e){return e.preventDefault(),t.removeProduct()}}},[t._v("\n            NO THANKS\n          ")]),t._v(" "),t.isSelected(n)?e("button",{staticClass:"tw-flex-1 tw-btn tw-bg-black tw-text-white tw-text-sm md:tw-text-base tw-rounded-r-full",on:{click:function(e){return e.preventDefault(),t.proceed()}}},[t._v("\n            YES, PLEASE\n          ")]):e("button",{staticClass:"tw-flex-1 tw-btn tw-bg-black tw-text-white tw-text-sm md:tw-text-base tw-rounded-r-full",class:{"tw-cursor-not-allowed":t.isSelected(n)},attrs:{disabled:t.isSelected(n)},on:{click:function(e){return e.preventDefault(),t.selectProduct(n)}}},[t._v("\n            YES, PLEASE\n          ")])])])})),0)]),t._v(" "),e("CardModal",{attrs:{show:!!t.detailedProduct},on:{hide:function(e){t.detailedProduct=null}}},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.detailedProduct?e("div",[e("h2",[t._v(t._s(t.detailedProduct.display_name))]),t._v(" "),e("p",{domProps:{innerHTML:t._s(t.detailedProduct.description)}})]):t._e()])],1)],1)}),[],!1,null,null,null).exports},74263:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={model:{prop:"question",event:"input"},props:{question:{required:!0,type:Object}},computed:{radioGroupName:function(){return"yes-no-".concat(this.question.name||this._uid)}},methods:{onOptionSelected:function(){this.$emit("input",{question:this.question})}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"tw-mt-10 tw-w-full"},[e("div",{staticClass:"tw-font-medium tw-text-2xl tw-text-black tw-p-2 tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n      "+t._s(t.question.text)+"\n    ")]),t._v(" "),e("div",{staticClass:"tw-mt-3"},[e("div",{staticClass:"tw-flex tw-items-center"},[e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-flex tw-items-center tw-px-2 tw-transition-all tw-duration-200"},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("Yes")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.question.answer,expression:"question.answer"}],staticClass:"tw-w-5 tw-h-5 tw-ml-2 tw-text-orange-500 tw-border tw-border-gray-500 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{name:t.radioGroupName,type:"radio"},domProps:{value:!0,checked:t._q(t.question.answer,!0)}
2,on:{change:[function(e){return t.$set(t.question,"answer",!0)},t.onOptionSelected]}})]),t._v(" "),e("label",{staticClass:"tw-cursor-pointer tw-bg-white tw-text-black tw-flex tw-items-center tw-px-2 tw-transition-all tw-duration-200"},[e("span",{staticClass:"tw-font-medium tw-text-lg"},[t._v("No")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.question.answer,expression:"question.answer"}],staticClass:"tw-w-5 tw-h-5 tw-ml-2 tw-text-orange-500 tw-border tw-border-gray-500 focus:tw-ring-orange-500 focus:tw-ring-2",attrs:{name:t.radioGroupName,type:"radio"},domProps:{value:!1,checked:t._q(t.question.answer,!1)},on:{change:[function(e){return t.$set(t.question,"answer",!1)},t.onOptionSelected]}})])])])])])}),[],!1,null,null,null).exports},12822:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var r=n(40379),i=n(54090),o=n.n(i),a=n(28620),s=n(81409);function l(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t)||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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var c={card_number:"Card number must be 13-19 digits and a recognizable card format",card_expiration:"Invalid Card Expiration Date",card_cvv:"Invalid CVV"},d="Payment information could not be collected. Please try again.",h={E_WC_05:"card_number",E_WC_06:"card_expiration",E_WC_07:"card_expiration",E_WC_08:"card_expiration",E_WC_15:"card_cvv"};Vue.use(a.ZP);const f={name:"AuthorizeNetForm",components:{InlineError:s.Z},props:{inlineValidation:{type:Boolean,default:!1},address:{required:!0,type:Object}},data:function(){return{errors:[],providerErrors:[],collectionPending:!1,authorizationPending:!1,collectionVersion:0,paymentType:"cc",token:null,dataValue:null,dataDescriptor:null,card_number:"",card_expiration:"",card_cvv:"",authorizationAttempted:null,authorizeNetClientKey:"66KVV28ysKqcCAWX8D634864zg4ht7mEj3UMsPM8dwV7HatKTCYqzFq3TABWe3cV",authorizeNetLoginId:"4y9c7W4U335",cardAuthorized:null,delivery_signature_fee:"5",is_card_authorization_enabled:JSON.parse("false")}},watch:{card_number:function(){this.clearPaymentError("card_number")},card_expiration:function(){this.clearPaymentError("card_expiration")},card_cvv:function(){this.clearPaymentError("card_cvv")}},mounted:function(){o()({mask:"(9999 9999 9999 9999)|(9999 999999 99999)",showMaskOnHover:!1,showMaskOnFocus:!1}).mask(this.$refs.ccnumber),o()({mask:"99/9{2,4}"}).mask(this.$refs.ccexp),o()({mask:"9{3,4}"}).mask(this.$refs.cvv)},beforeDestroy:function(){this.cancelCollection()},methods:{cancelCollection:function(){this.inlineValidation&&(this.collectionVersion+=1,this.collectionPending=!1,this.authorizationPending=!1)},errorId:function(t){return"authorizenet-"+this._uid+"-"+t+"-error"},fieldMessages:function(t){var e=this.$v[t]&&this.$v[t].$error?[c[t]]:[];return l(new Set([].concat(e,l(this.providerErrors.filter((function(e){return e.field===t})).map((function(t){return t.message}))))))},clearPaymentError:function(t){this.inlineValidation&&!this.collectionPending&&(this.providerErrors=this.providerErrors.filter((function(e){return e.field!==t})),this.errors=[])},focusFirstInvalid:function(){var t=this,e={card_number:"ccnumber",card_expiration:"ccexp",card_cvv:"cvv"},n=Object.keys(e).find((function(e){return t.fieldMessages(e).length})),r=n?this.$refs[e[n]]:this.$refs.paymentGroup;r&&(r.scrollIntoView({block:"nearest"}),r.focus())},startCollect:function(){var t=this;if(this.inlineValidation&&this.collectionPending)return!0;
2if(this.$v.$touch(),this.$v.$invalid)return!1;if(this.inlineValidation){if(this.errors=[],this.providerErrors=[],"undefined"==typeof Accept||!Accept||"function"!=typeof Accept.dispatchData)return this.errors=[d],!1;this.collectionVersion+=1,this.collectionPending=!0}var e={};e.cardNumber=""+o().unmask(this.card_number,{mask:"(9999 9999 9999 9999)|(9999 999999 99999)"}),e.month=""+this.card_expiration.split("/")[0],e.year=""+this.card_expiration.split("/")[1],e.cardCode=""+this.card_cvv;var n={};n.clientKey=this.authorizeNetClientKey,n.apiLoginID=this.authorizeNetLoginId;var r={};if(r.authData=n,r.cardData=e,this.inlineValidation){var i=this.collectionVersion;try{Accept.dispatchData(r,(function(e){i===t.collectionVersion&&t.collectionPending&&t.authorizeResponseHandler(e)}))}catch(t){return this.collectionPending=!1,this.errors=[d],!1}}else Accept.dispatchData(r,this.authorizeResponseHandler);return!0},authorizeResponseHandler:function(t){var e=this;if(!this.inlineValidation||!this.authorizationPending)try{if("Ok"!==t.messages.resultCode){this.collectionPending=!1,this.inlineValidation?(this.errors=[],this.providerErrors=[],t.messages.message.forEach((function(t){if("string"==typeof t.text&&t.text.trim()){var n=h[t.code];n?e.providerErrors.push({field:n,message:t.text}):e.errors.push(t.text)}})),this.errors.length||this.providerErrors.length||(this.errors=[d])):this.errors.push(t.messages.message[0].text);for(var n=0;n<t.messages.message.length;)console.log(t.messages.message[n].code+": "+t.messages.message[n].text),n+=1;this.inlineValidation?this.$emit("validation-failed"):this.$emit("card-auth-failed",{cardAuthorized:this.cardAuthorized})}else{this.dataValue=t.opaqueData.dataValue,this.dataDescriptor=t.opaqueData.dataDescriptor;var r=o().unmask(this.card_number,{mask:"(9999 9999 9999 9999)|(9999 999999 99999)"}),i={hash:null,type:"--",bin:r.substring(0,6),number:r.substring(0,6)+"******"+r.slice(-4),exp:this.card_expiration.split("/")[0]+this.card_expiration.split("/")[1]};this.authorizeCard(i,t.opaqueData)}}catch(t){return this.inlineValidation&&(this.collectionPending=!1,this.errors=[d],this.$emit("validation-failed")),!1}},authorizeCard:function(t,e){var n=this,r=this.collectionVersion;this.authorizationPending=!0,console.log("begin card authorization"),axios.post("/json/authorize-card",{payment_card_info:t,payment_token:e,address:this.address}).then((function(e){var i=e.data;n.inlineValidation&&r!==n.collectionVersion||(n.collectionPending=!1,n.authorizationPending=!1,n.authorizationAttempted=!0,n.cardAuthorized=i.cardAuthorized,!1===n.cardAuthorized&&(n.authorizationAttempted=!1,setTimeout((function(){window.scrollTo({top:"1000",behavior:"smooth",block:"start"})}),200),n.$emit("card-auth-failed",{cardAuthorized:n.cardAuthorized})),n.cardAuthorized&&n.$emit("gateway-response",{card:t,token:i.transactionRef,cardAuthorized:n.cardAuthorized}))})).catch((function(t){n.inlineValidation&&r!==n.collectionVersion||(n.collectionPending=!1,n.authorizationPending=!1,bugsnagClient.notify(t),n.inlineValidation&&(n.errors=[d],n.$emit("card-auth-failed",{cardAuthorized:!1})))}))}},validations:{card_number:{required:r.C1,checkLength:function(t){return t.split("_").join("").split(" ").join("").length>=12}},card_expiration:{required:r.C1},card_cvv:{required:r.C1}}};const p=(0,n(51900).Z)(f,(function(){var t=this,e=t._self._c;return e("div",[e(t.inlineValidation?"div":"form",{ref:"paymentGroup",tag:"component",staticClass:"tw-mb-4 tw-block",attrs:{id:"paymentForm",method:"post",role:t.inlineValidation?"group":null,tabindex:t.inlineValidation?-1:null,"aria-label":t.inlineValidation?"Payment information":null,"aria-invalid":t.inlineValidation&&t.errors.length?"true":null,"aria-describedby":t.inlineValidation&&t.errors.length?t.errorId("payment"):null},on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-mb-4"},[e("div",{staticClass:"tw-text-sm tw-text-gray-800"},[t._v("\n        Credit or Debit Card\n      ")]),t._v(" "),e("svg",{staticClass:"tw-text-grey tw-h-4 tw-w-4",attrs:{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 448 512"}}
2,[e("path",{attrs:{fill:"currentColor",d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zM264 392c0 22.1-17.9 40-40 40s-40-17.9-40-40v-48c0-22.1 17.9-40 40-40s40 17.9 40 40v48zm32-168H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"}})])]),t._v(" "),0==t.cardAuthorized?e("div",{staticClass:"tw-flex tw-items-start tw-my-3 tw-text-red-800 tw-bg-red-100 tw-text-sm tw-py-2 tw-px-3"},[e("div",{staticClass:"tw-shrink-0"},[e("svg",{staticClass:"tw-h-5 tw-w-5 tw-text-red-500 tw-mr-3",attrs:{viewBox:"0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"}})])]),t._v(" "),e("div",{staticClass:"tw-font-medium",attrs:{id:"card-error"}},[t._v("\n        The card you provided has insufficient funds, please try again by adding funds to the card or by providing\n        another card with sufficient funds.\n      ")])]):t._e(),t._v(" "),e("div",{},[!t.inlineValidation&&t.$v.card_expiration.$error?e("p",{staticClass:"tw-text-xs tw-font-semibold tw-text-red tw-p-0 twp-m-0 tw-mb-1"},[t._v("\n        Invalid Card Expiration Date\n      ")]):t._e(),t._v(" "),!t.inlineValidation&&t.$v.card_cvv.$error?e("p",{staticClass:"tw-text-xs tw-font-semibold tw-text-red tw-p-0 twp-m-0 tw-mb-1"},[t._v("\n        Invalid CVV\n      ")]):t._e(),t._v(" "),e("div",{staticClass:"tw-mt-1 tw-relative tw-rounded-md tw-shadow-sm"},[!t.inlineValidation&&t.$v.card_number.$error?e("p",{staticClass:"tw-text-xs tw-font-normal tw-text-red tw-p-0 twp-m-0 tw-mb-1"},[t._v("\n          Card\n          number must be 13-19 digits and a recognizable card format\n        ")]):t._e(),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.card_number,expression:"card_number"}],ref:"ccnumber",staticClass:"tw-rounded-full tw-border-2 tw-border-black tw-w-full tw-p-2",attrs:{id:"card_number_masked",name:"card_number","aria-label":t.inlineValidation?"Card number":null,"aria-invalid":t.inlineValidation&&t.fieldMessages("card_number").length?"true":null,"aria-describedby":t.inlineValidation&&t.fieldMessages("card_number").length?t.errorId("card_number"):null,type:"text",placeholder:"1234 1234 1234 1234"},domProps:{value:t.card_number},on:{blur:t.$v.card_number.$touch,keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.$v.card_number.$touch.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$v.card_number.$touch.apply(null,arguments)}],input:function(e){e.target.composing||(t.card_number=e.target.value)}}}),t._v(" "),t.inlineValidation?e("InlineError",{attrs:{id:t.errorId("card_number"),messages:t.fieldMessages("card_number")}}):t._e()],1)]),t._v(" "),e("div",{staticClass:"tw-mt-4 tw-flex"},[e("div",{staticClass:"tw-mt-1 tw-relative tw-rounded-md tw-w-1/2 tw-min-w-0 tw-shadow-sm tw-pr-1"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.card_expiration,expression:"card_expiration"}],ref:"ccexp",staticClass:"tw-rounded-full tw-border-2 tw-border-black tw-w-full tw-p-2",attrs:{id:"expMonth",name:"expMonth",placeholder:"MM/YY","aria-label":t.inlineValidation?"Card expiration date":null,"aria-invalid":t.inlineValidation&&t.fieldMessages("card_expiration").length?"true":null,"aria-describedby":t.inlineValidation&&t.fieldMessages("card_expiration").length?t.errorId("card_expiration"):null,type:"text"},domProps:{value:t.card_expiration},on:{input:function(e){e.target.composing||(t.card_expiration=e.target.value)}}}),t._v(" "),t.inlineValidation?e("InlineError",{attrs:{id:t.errorId("card_expiration"),messages:t.fieldMessages("card_expiration")}}):t._e()],1),t._v(" "),e("div",{staticClass:"tw-mt-1 tw-relative tw-rounded-md tw-w-1/2 tw-min-w-0 tw-shadow-sm tw-pl-1"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.card_cvv,expression:"card_cvv"}],ref:"cvv",staticClass:"tw-rounded-full tw-border-2 tw-border-black tw-w-full tw-p-2",attrs:{id:"cardCode",name:"cardCode",type:"text","aria-label":t.inlineValidation?"Card security code":null,"aria-invalid":t.inlineValidation&&t.fieldMessages("card_cvv").length?"true":null,"aria-describedby":t.inlineValidation&&t.fieldMessages("card_cvv").length?t.errorId("card_cvv"):null,placeholder:"CVC"},domProps:{value:t.card_cvv},on:{input:function(e){e.target.composing||(t.card_cvv=e.target.value)}}}),t._v(" "),t.inlineValidation?e("InlineError",{attrs:{id:t.errorId("card_cvv"),messages:t.fieldMessages("card_cvv")}}):t._e()],1)]),t._v(" "),t.inlineValidation?e("InlineError",{attrs:{id:t.errorId("payment"),messages:t.errors}}):t._e()],1)],1)}),[],!1,null,null,null).exports},55767:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={components:{PhotoTaker:n(26708).Z},inheritAttrs:!1,props:{inlineValidation:{type:Boolean,default:!1}},methods:{pushToParent:function(t,e){this.$emit("done",t,e)}}};const i=(0,n(51900).Z)(r,(function(){var t=this;return(0,t._self._c)("PhotoTaker",t._b({attrs:{"inline-validation":t.inlineValidation},on:{done:t.pushToParent}},"PhotoTaker",t.$attrs,!1))}),[],!1,null,null,null).exports},43630:(t,e,n)=>{"use strict";n.d(e,{Z:()=>d});var r=n(411),i=n(81409),o=n(7912);const a={components:{CardModal:r.Z,InlineError:i.Z},mixins:[o.ZP,o._y],props:{labelTitle:{type:String,default:"Upload a clear Photo"},labelExtraInfo:{type:String,default:"Format: JPG or PNG | Max size: 2MB"}},methods:{keepPhoto:function(){this.keepCapturedPhoto(null)}}};var s=n(93379),l=n.n(s),u=n(8595),c={insert:"head",singleton:!1};l()(u.Z,c);u.Z.locals;const d=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-relative tw-flex tw-flex-col tw-flex-1 tw-min-w-0 tw-w-4/5 tw-mx-auto md:tw-w-full"},[e("button",{ref:"mediaControl",staticClass:"tw-text-center tw-bg-white tw-w-full tw-shadow-sm tw-rounded-2xl tw-flex tw-flex-col tw-items-center tw-px-5 tw-py-5 tw-border tw-cursor-pointer",attrs:{type:"button","data-media-control":"","aria-describedby":t.mediaDescription,"aria-invalid":t.mediaDescription?"true":null},on:{click:function(e){return e.preventDefault(),t.toggle.apply(null,arguments)}}},[e("img",{attrs:{src:"/assets/img/icon_camera.png"}}),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-col"},[e("div",{staticClass:"tw-rounded-full tw-bg-brand-brown tw-text-white tw-px-6 tw-py-2"},[t._v("\n        Take the photo\n      ")]),t._v(" "),e("div",{staticClass:"tw-my-3 tw-text-black"},[e("div",{staticClass:"tw-text-black tw-text-sm tw-font-medium"},[t._v("\n          "+t._s(t.labelTitle)+"\n        ")]),t._v(" "),e("div",{staticClass:"tw-text-xs"},[t._v("\n          "+t._s(t.labelExtraInfo)+"\n        ")])])])]),t._v(" "),e("InlineError",{attrs:{id:t.mediaErrorId,messages:t.mediaErrorMessages}}),t._v(" "),e("Transition",{attrs:{name:"fade"}},[e("CardModal",{attrs:{show:t.showModal},on:{hide:function(e){t.showModal=!1}}},[e("div",{class:{"loading loading-grey":!t.showImage&&!t.showVideo},staticStyle:{"min-height":"240px"}},[e("TransitionGroup",{attrs:{name:"fade",mode:"out-in",appear:""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showImage,expression:"showImage"}],key:"img"},[e("p",{staticClass:"tw-text-base md:tw-text-xl tw-text-center"},[t._v("\n              Make sure the image contains a clear depiction of your face. You can choose to keep the image or try taking it again.\n            ")]),t._v(" "),e("div",{staticClass:"ratio-16-9-container tw-mb-3 tw-rounded-lg"},[e("img",{ref:"image",staticClass:"ratio-16-9"})]),t._v(" "),e("div",{staticClass:"tw-flex tw-items-center"},[e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-rounded-full tw-flex-1 tw-mr-1",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.keepPhoto.apply(null,arguments)}}},[t._v("\n                Keep\n              ")]),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-gray-300 tw-rounded-full tw-text-red tw-flex-1 tw-ml-1",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.clearPhoto.apply(null,arguments)}}},[t._v("\n                Try Again\n              ")])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showVideo,expression:"showVideo"}],key:"video",staticClass:"tw-relative"},[t._v("\n            We'll use your webcam to take a picture of you. Make sure the image contains a clear depiction of your "),e("strong",[t._v("FULL BODY")]),t._v('. When you click "Take Picture", you will have 5 seconds to get into position.\n            '),e("div",{staticClass:"ratio-16-9-container tw-bg-black tw-my-3"},[e("video",{ref:"video",staticClass:"ratio-16-9",attrs:{autoplay:"",playsinline:"",muted:"muted"},domProps:{muted:!0}
2},[t._v("\n                The video stream could not be started.\n              ")]),t._v(" "),t.count?e("div",{staticClass:"tw-h-full tw-w-full tw-flex tw-items-center tw-justify-center tw-absolute tw-top-0 tw-inset-x-0 tw-text-gray-800 tw-text-6xl tw-font-bold"},[t._v("\n                "+t._s(t.count)+"\n              ")]):t._e()]),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-rounded-full tw-block tw-w-full",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.startTimer.apply(null,arguments)}}},[t._v("\n              Take Picture\n            ")])])])],1)])],1),t._v(" "),e("canvas",{ref:"canvas",staticClass:"tw-hidden",attrs:{width:"1280",height:"720"}})],1)}),[],!1,null,"cbd59c50",null).exports},49290:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var r=n(88880),i=n(81409),o=n(7912),a=n(55767);const s={components:{PhotoUploader:r.Z,FacialPhotoTaker:a.Z,InlineError:i.Z},mixins:[o.ZP],data:function(){return{showContinue:!1,images:{front:"",top:"",side:""},angle:"front"}},computed:{isFront:function(){return"front"==this.angle},isTop:function(){return"top"==this.angle},isSide:function(){return"side"==this.angle}},watch:{images:{handler:function(t){var e=Object.values(t).every((function(t){return""!==t}));this.showContinue=e,e&&(this.mediaError="")},deep:!0}},methods:{removePhoto:function(t){this.images[t]="",this.$emit("undoUpload")},continueEnrollment:function(){if(this.inlineValidation&&!Object.values(this.images).every((function(t){return""!==t})))return this.reportMediaError("Please provide all three photo angles before continuing.");this.$emit("done",this.images,JSON.stringify(this.images))},receivedFront:function(t,e){this.images.front=e},receivedTop:function(t,e){this.images.top=e},receivedSide:function(t,e){this.images.side=e}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",{ref:"mediaControl",attrs:{"data-media-control":"",role:"group",tabindex:"-1","aria-label":"Photo angles","aria-describedby":t.mediaDescription,"aria-invalid":t.mediaDescription?"true":null}},[e("div",{staticClass:"tw-font-medium tw-text-2xl tw-pt-5 tw-text-black tw-px-2 tw-text-start lg:tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n    Kindly upload the following photos of your hair loss:\n  ")]),t._v(" "),t.isFront?e("div",{staticClass:"tw-mb-8 tw-text-center sm:tw-text-left"},[e("div",{staticClass:"tw-font-medium tw-text-2xl tw-pb-5 tw-text-black tw-px-2 tw-text-center lg:tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n      Provide Photo: Facing forward\n    ")]),t._v(" "),e("Transition",{attrs:{mode:"out-in",name:"fade"}},[""===t.images.front?e("div",{staticClass:"tw-flex tw-items-center tw-justify-center sm:tw-justify-start tw-overflow-x-scroll"},[e("PhotoUploader",{attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedFront}}),t._v(" "),e("h3",{staticClass:"tw-px-4 tw-hidden sm:tw-block"},[t._v("\n          OR\n        ")]),t._v(" "),e("FacialPhotoTaker",{staticClass:"tw-hidden sm:tw-block",attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedFront}})],1):e("div",{staticClass:"tw-flex tw-items-center tw-flex-1 tw-px-6"},[e("div",{staticClass:"tw-w-3/5 tw-mr-auto tw-h-64 tw-bg-cover tw-bg-center tw-rounded-xl tw-shadow",staticStyle:{transform:"scaleX(-1)"},style:{backgroundImage:"url('".concat(t.images.front,"')")}}),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-btn-lg tw-h-16 tw-rounded-lg",attrs:{type:"button"},on:{click:function(e){return t.removePhoto("front")}}},[t._v("\n          Retake Photo\n        ")])])])],1):t._e(),t._v(" "),t.isSide?e("div",{staticClass:"tw-mb-8 tw-text-center sm:tw-text-left"},[e("div",{staticClass:"tw-font-medium tw-text-2xl tw-py-5 tw-text-black tw-px-2 tw-text-center lg:tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n      Provide Photo: A picture of profile (side)\n    ")]),t._v(" "),e("Transition",{attrs:{mode:"out-in",name:"fade"}},[""===t.images.side?e("div",{staticClass:"tw-flex tw-items-center tw-justify-center sm:tw-justify-start tw-overflow-x-scroll"},[e("PhotoUploader",{attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedSide}}),t._v(" "),e("h3",{staticClass:"tw-px-4 tw-hidden sm:tw-block"},[t._v("\n          OR\n        ")]),t._v(" "),e("FacialPhotoTaker",{staticClass:"tw-hidden sm:tw-block",attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedSide}})],1):e("div",{staticClass:"tw-flex tw-items-center tw-flex-1 tw-px-6"},[e("div",{staticClass:"tw-w-3/5 tw-mr-auto tw-h-64 tw-bg-cover tw-bg-center tw-rounded-xl tw-shadow",staticStyle:{transform:"scaleX(-1)"},style:{backgroundImage:"url('".concat(t.images.side,"')")}}),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-btn-lg tw-h-16 tw-rounded-lg",attrs:{type:"button"},on:{click:function(e){return t.removePhoto("side")}}}
2,[t._v("\n          Retake Photo\n        ")])])])],1):t._e(),t._v(" "),t.isTop?e("div",{staticClass:"tw-mb-8 tw-text-center sm:tw-text-left"},[e("div",{staticClass:"tw-font-medium tw-text-2xl tw-py-5 tw-text-black tw-px-2 tw-text-center lg:tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n      Provide Photo: Top of your head\n    ")]),t._v(" "),e("Transition",{attrs:{mode:"out-in",name:"fade"}},[""===t.images.top?e("div",{staticClass:"tw-flex tw-items-center tw-justify-center sm:tw-justify-start tw-overflow-x-scroll"},[e("PhotoUploader",{attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedTop}}),t._v(" "),e("h3",{staticClass:"tw-px-4 tw-hidden sm:tw-block"},[t._v("\n          OR\n        ")]),t._v(" "),e("FacialPhotoTaker",{staticClass:"tw-hidden sm:tw-block",attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedTop}})],1):e("div",{staticClass:"tw-flex tw-items-center tw-flex-1 tw-px-6"},[e("div",{staticClass:"tw-w-3/5 tw-mr-auto tw-h-64 tw-bg-cover tw-bg-center tw-rounded-xl tw-shadow",staticStyle:{transform:"scaleX(-1)"},style:{backgroundImage:"url('".concat(t.images.top,"')")}}),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-btn-lg tw-h-16 tw-rounded-lg",attrs:{type:"button"},on:{click:function(e){return t.removePhoto("top")}}},[t._v("\n          Retake Photo\n        ")])])])],1):t._e(),t._v(" "),e("InlineError",{attrs:{id:t.mediaErrorId,messages:t.mediaErrorMessages}}),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.showContinue?e("button",{staticClass:"tw-mt-10 tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-rounded-full tw-btn-lg",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.continueEnrollment.apply(null,arguments)}}},[t._v("\n      Continue →\n    ")]):t._e()]),t._v(" "),e("div",{staticClass:"tw-px-6"},[t.isFront&&t.images.front.length>0?e("button",{staticClass:"tw-mt-10 tw-block tw-w-full tw-bg-black tw-text-white tw-btn-lg tw-rounded-full",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.angle="side"}}},[t._v("\n      Continue\n    ")]):t._e(),t._v(" "),t.isSide&&t.images.side.length>0?e("button",{staticClass:"tw-mt-10 tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-btn-lg tw-rounded-full",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.angle="top"}}},[t._v("\n      Continue\n    ")]):t._e()])],1)}),[],!1,null,"4db5a7b6",null).exports},17007:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var r=n(88880),i=n(26708),o=n(52388),a=n(81409),s=n(7912);const l={components:{InlineError:a.Z,PhotoUploader:r.Z,PhotoTaker:i.Z,ModalWrapper:o.Z},mixins:[s.ZP],data:function(){return{image:null,showContinueBtn:!1,imageSource:null,attempts:0,loading:!1,showInfo:!1}},computed:{allowManualReview:function(){return this.attempts>0}},methods:{continueEnrollment:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.loading){if(!this.image)return this.reportMediaError("Please upload a photo of your ID.");var n=this.beginMediaAttempt(),r=this.image;if(this.showInfo=!0,this.loading=!0,e)return this.loading=!1,this.showInfo=!1,void this.$emit("done",null,r);axios.post("/json/verify-id",{image:r}).then((function(e){t.isCurrentMediaAttempt(n)&&(t.loading=!1,t.showInfo=!1,t.$emit("done",null,r))})).catch((function(e){var r;t.isCurrentMediaAttempt(n)&&(t.loading=!1,t.showInfo=!1,t.reportMediaError(t.inlineValidation&&![400,422].includes(null===(r=e.response)||void 0===r?void 0:r.status)?"We were unable to verify your ID. Please try again or request a manual review.":"Your document is not recognised as a valid ID"),t.attempts++)}))}},getImage:function(t,e){this.beginMediaAttempt(),this.loading=!1,this.showInfo=!1,this.image=e,this.showContinueBtn=!0,this.imageSource=t},retakePhoto:function(){this.cancelMediaAttempt(),this.mediaError="",this.loading=!1,this.showInfo=!1,this.image=null,this.imageSource=null,this.showContinueBtn=!1,this.$emit("undoUpload")}}};var u=n(93379),c=n.n(u),d=n(94114),h={insert:"head",singleton:!1};c()(d.Z,h);d.Z.locals;const f=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{ref:"mediaControl",attrs:{"data-media-control":"",role:"group",tabindex:"-1","aria-label":"Government ID photo","aria-describedby":t.mediaDescription,"aria-invalid":t.mediaDescription?"true":null}},[t.image?e("ModalWrapper",{attrs:{show:t.showInfo},on:{hide:function(e){t.showInfo=!t.showInfo}}},[e("div",{staticClass:"tw-mx-auto tw-text-black tw-rounded-lg tw-shadow-md tw-overflow-hidden tw-flex tw-flex-col tw-items-center tw-justify-center tw-bg-white tw-w-full md:tw-w-1/2 lg:tw-w-2/5 tw-px-10 tw-py-5 tw-text-center"},[e("h3",{staticClass:"tw-text-black"},[t._v("\n        Hang tight! we're checking your ID\n      ")]),t._v(" "),e("div",{staticClass:"tw-py-5"},[e("img",{staticClass:"tw-inline-block",attrs:{src:t.image}})]),t._v(" "),e("div",{staticClass:"tw-py-5 tw-text-center"},[e("span",{staticClass:"tw-text-sm tw-text-black tw-font-medium"},[t._v("This will only will take a moment, please wait while we verify your ID...")])]),t._v(" "),e("div",{staticClass:"tw-py-5 tw-font-semibold"},[t._v("\n        If your ID is not automatically approved, "),e("br"),t._v(" you can request a manual review.\n      ")])])]):t._e(),t._v(" "),e("h3",{staticClass:"tw-text-center tw-mt-10 xl:tw-text-2xl"},[t._v("\n    Please upload a valid govt ID\n  ")]),t._v(" "),t.image?e("div",[e("Transition",{attrs:{mode:"out-in",name:"fade"}},[e("div",{staticClass:"tw-mt-12 tw-flex tw-flex-col tw-items-center"},[e("div",{staticClass:"tw-z-0 tw-p-32 md:tw-p-10 tw-flex tw-flex-col md:tw-flex-row md:tw-items-center",staticStyle:{background:"url('/assets/img/idcard_holder.png') no-repeat","background-position":"center","background-size":"contain"}},[e("div",{staticClass:"tw-z-20 tw-w-96 tw-h-64 tw-bg-cover tw-bg-center md:tw-mr-5 tw-rounded-sm tw-mb-3",style:{backgroundImage:"url('".concat(t.image,"')")}})]),t._v(" "),e("button",{staticClass:"tw-py-5 hover:tw-underline",attrs:{type:"button"},on:{click:t.retakePhoto}},[e("img",{staticClass:"tw-inline-block tw-w-10 tw-cursor-pointer",attrs:{src:"/assets/img/icon_camera.png"}}),t._v(" "),e("p",{staticClass:"tw-text-black"}
2,[t._v("\n            Retake Photo\n          ")])])])])],1):e("div",[e("Transition",{attrs:{mode:"out-in",name:"fade"}},[e("div",[e("div",{staticClass:"tw-flex tw-justify-center"},[e("img",{staticClass:"tw-w-3/5 tw-mx-auto",attrs:{src:"/assets/img/govt_card_id.png",alt:"id card sample"}})]),t._v(" "),e("div",{staticClass:"tw-full md:tw-w-4/5 tw-mx-auto md:tw-flex md:tw-items-center tw-flex-justify-center tw-py-5 tw-mt-10"},[e("div",{staticClass:"tw-flex-1 tw-mb-3"},[e("PhotoUploader",{attrs:{"inline-validation":t.inlineValidation,"label-title":"Upload a clear photo of your ID"},on:{done:t.getImage}})],1),t._v(" "),e("div",{staticClass:"tw-hidden sm:tw-block tw-flex-1 tw-mb-3 tw-ml-3"},[e("PhotoTaker",{attrs:{"inline-validation":t.inlineValidation,type:"id-card","label-title":"Use your camera to capture your ID","label-extra-info":"Ensure all details are visible and readable."},on:{done:t.getImage}})],1)])])])],1),t._v(" "),e("InlineError",{attrs:{id:t.mediaErrorId,messages:t.mediaErrorMessages}}),t._v(" "),e("div",{staticClass:"tw-text-sm md:tw-text-base tw-py-10 tw-text-center tw-font-semibold"},[t._v("\n    Your order will not be reviewed, and further delays will occur if your id is not valid.\n  ")]),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("div",{staticClass:"tw-w-full tw-flex tw-flex-col md:tw-flex-row tw-justify-center tw-items-center tw-gap-3"},[t.allowManualReview?e("div",{staticClass:"tw-w-full md:tw-w-1/2"},[e("button",{staticClass:"tw-my-5 tw-w-full tw-rounded-full tw-bg-black tw-btn-sm tw-text-white",attrs:{type:"button",disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.continueEnrollment(!0)}}},[t._v("\n          This is a real ID, request manual review\n        ")])]):t._e(),t._v(" "),t.showContinueBtn?e("div",{staticClass:"tw-w-full md:tw-w-1/2"},[e("button",{staticClass:"tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-btn-sm tw-rounded-full tw-py-2",class:{loading:t.loading},attrs:{type:"button",disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.continueEnrollment(!1)}}},[t._v("\n          Continue →\n        ")])]):t._e()])])],1)}),[],!1,null,"38ba287c",null).exports},81409:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{id:{type:String,required:!0},messages:{type:Array,default:function(){return[]}}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return t.messages.length?e("div",{staticClass:"tw-mt-1 tw-text-sm tw-leading-5 tw-text-red-700",attrs:{id:t.id,"data-inline-error":"",role:"alert"}},t._l(t.messages,(function(n,r){return e("div",{key:r},[t._v("\n    "+t._s(n)+"\n  ")])})),0):t._e()}),[],!1,null,null,null).exports},21340:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var r=n(81409);function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var a=new WeakMap;const s={components:{InlineError:r.Z},props:{id:{type:String,required:!0},errors:{type:Array,default:function(){return[]}},field:{type:String,default:"answer"},errorClass:{type:String,default:""}},computed:{messages:function(){var t=this;return this.errors.filter((function(e){return e.field===t.field})).map((function(t){return t.message}))}},mounted:function(){this.annotatedControls=new Map,this.associateControls()},updated:function(){this.associateControls()},beforeDestroy:function(){this.restoreControls()},methods:{restoreControls:function(){var t=this;
2this.annotatedControls&&(this.annotatedControls.forEach((function(e,n){var r=a.get(n);if(r){r.owners.delete(t);var o=i(r.owners.values()),s=(n.getAttribute("aria-describedby")||"").split(/\s+/).filter((function(t){return t&&(t!==e||o.includes(e))}));s.length?n.setAttribute("aria-describedby",s.join(" ")):n.removeAttribute("aria-describedby"),r.owners.size?n.setAttribute("aria-invalid","true"):(null==r.invalid?n.removeAttribute("aria-invalid"):n.setAttribute("aria-invalid",r.invalid),a.delete(n))}})),this.annotatedControls.clear())},associateControls:function(){var t=this;this.restoreControls(),this.messages.length&&this.$el.querySelectorAll('input:not([type="hidden"]), select, textarea, [role="combobox"], [data-media-control], [data-validation-control]').forEach((function(e){var n=a.get(e);n||(n={invalid:e.getAttribute("aria-invalid"),owners:new Map},a.set(e,n)),n.owners.set(t,t.id),t.annotatedControls.set(e,t.id);var r=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean);e.setAttribute("aria-describedby",i(new Set([].concat(i(r),[t.id]))).join(" ")),e.setAttribute("aria-invalid","true")}))},focus:function(){var t=this.$el.querySelector('input:not([type="hidden"]):not(:disabled):not([readonly]), select:not(:disabled), textarea:not(:disabled):not([readonly]), [role="combobox"], [data-media-control]:not(:disabled), [data-validation-control]:not(:disabled)')||this.$el.querySelector("button:not(:disabled)");t&&(t.focus({preventScroll:!0}),(t.closest("label")||t).scrollIntoView({block:"center",behavior:"smooth"}))}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",[t._t("default"),t._v(" "),e("InlineError",{class:t.errorClass,attrs:{id:t.id,messages:t.messages}})],2)}),[],!1,null,null,null).exports},64751:(t,e,n)=>{"use strict";n.d(e,{Z:()=>P});var r=n(81409),i=n(21340),o=n(31676),a=n(27361),s=n.n(a),l=n(36968),u=n.n(l),c=n(56273),d=n(57012);const h={props:{customError:{required:!0,type:Error},selectedProducts:{required:!0,type:Object}},data:function(){return{disableAllergyBtns:!1}},methods:{restartEnrollment:function(){this.disableAllergyBtns=!0,this.$emit("restart-enrollment")},removeUB:function(){this.disableAllergyBtns=!0,this.$emit("remove-ultraburn")}}};var f=n(51900);const p=(0,f.Z)(h,(function(){var t=this,e=t._self._c;return e("Transition",["sulfa-UB-allergy"===t.customError.type?e("div",[e("div",{staticClass:"tw-fixed tw-z-10 tw-inset-0 tw-overflow-y-auto"},[e("div",{staticClass:"tw-flex tw-items-end tw-justify-center tw-min-h-screen tw-pt-4 tw-px-4 tw-pb-20 tw-text-center sm:tw-block sm:tw-p-0"},[e("div",{staticClass:"tw-fixed tw-inset-0 tw-transition-opacity"},[e("div",{staticClass:"tw-absolute tw-inset-0 tw-bg-gray-500 tw-opacity-75"})]),t._v(" "),e("span",{staticClass:"tw-hidden sm:tw-inline-block sm:tw-align-middle sm:tw-h-screen"}),t._v("​\n        "),e("div",{staticClass:"tw-inline-block tw-align-bottom tw-bg-white tw-rounded-lg tw-px-4 tw-pt-5 tw-pb-4 tw-text-left tw-overflow-hidden tw-shadow-xl tw-transform tw-transition-all sm:tw-my-8 sm:tw-align-middle sm:tw-max-w-lg sm:tw-w-full sm:tw-p-6",attrs:{role:"dialog","aria-modal":"true","aria-labelledby":"modal-headline"}},[e("div",[e("div",{staticClass:"tw-mx-auto tw-flex tw-items-center tw-justify-center tw-h-12 tw-w-12 tw-rounded-full tw-bg-red-100"},[e("svg",{staticClass:"tw-h-6 tw-w-6 tw-text-red-600",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})])]),t._v(" "),e("div",{staticClass:"tw-text-lg tw-mt-3 tw-text-center sm:tw-mt-5"},[e("h3",{staticClass:"tw-text-lg tw-leading-6 tw-font-bold tw-text-gray-900",attrs:{id:"modal-headline"}},[t._v("\n                "+t._s(t.customError.title)+"\n              ")]),t._v(" "),e("div",{staticClass:"tw-mt-2"},[e("p",{staticClass:"tw-text-base tw-leading-5 tw-text-gray-600",domProps:{innerHTML:t._s(t.customError.message)}})])])]),t._v(" "),e("div",{staticClass:"tw-mt-5 sm:tw-mt-6 tw-flex tw-flex-col md:tw-flex-row tw-space-x-2"},[e("span",{staticClass:"tw-flex tw-w-full tw-rounded-md"},[e("button",{staticClass:"tw-inline-flex tw-justify-center tw-items-center tw-w-full tw-rounded-full tw-border tw-border-transparent tw-px-4 tw-py-2 tw-bg-black tw-uppercase tw-text-base tw-leading-6 tw-font-medium tw-text-white tw-shadow-sm hover:tw-bg-gray-700 focus:tw-outline-none focus:tw-border-indigo-700 focus:tw-shadow-outline-indigo tw-transition tw-ease-in-out tw-duration-150 sm:tw-text-sm sm:tw-leading-5",attrs:{disable:t.disableAllergyBtns,type:"button"},on:{click:function(e){return e.preventDefault(),t.restartEnrollment.apply(null,arguments)}}},[t._v("\n                Restart Enrollment With different product\n              ")])]),t._v(" "),"ub"!==t.selectedProducts.products.selected_program?e("span",{staticClass:"tw-mt-3 tw-flex tw-w-full sm:tw-mt-0"},[e("button",{staticClass:"ttw-inline-flex tw-justify-center tw-items-center tw-w-full tw-rounded-full tw-border tw-border-gray-300 hover:tw-border-red-500 tw-px-4 tw-py-2 tw-bg-white tw-text-base tw-uppercase tw-leading-6 tw-font-medium tw-text-red-700 hover:tw-text-red-500 focus:tw-outline-none focus:tw-border-red-300 focus:tw-shadow-outline-red tw-transition tw-ease-in-out tw-duration-150 sm:tw-text-sm sm:tw-leading-5",class:{"loading loading-grey":t.disableAllergyBtns},attrs:{disable:t.disableAllergyBtns,type:"button"},on:{click:t.removeUB}},[t._v("\n                Remove Ultra Burn\n              ")])]):t._e()])])])])]):t._e()])}),[],!1,null,null,null).exports;var w=n(21243),m=n(96936);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}
2finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||y(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t){return function(t){if(Array.isArray(t))return b(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||y(t)||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 y(t,e){if(t){if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(t,e):void 0}}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}const _={components:{InlineError:r.Z,InlineValidationField:i.Z,SulfaAllergyHandler:p,FeedbackSubmitter:c.default,Notices:d.Z,ReporterIssuePopUp:w.Z,ReportIssueSubmitter:m.Z},props:{inlineValidation:{type:Boolean,default:!1},validationClass:{type:String,default:""},serverQuestionErrors:{type:Array,default:function(){return[]}},serverFormErrors:{type:Array,default:function(){return[]}},filteredQuestions:{required:!0,type:Array},questions:{required:!0,type:Array},activeQuestion:{required:!0,type:Number,default:0},programs:{required:!0,type:Array},user:{default:null,type:Object},states:{required:!0,type:Array},initEnrollment:{default:null,type:Object},additionalEnrollmentData:{type:Object,required:!0},over18AgeConfirmed:{type:String,default:null},bannedAddresses:{required:!0,type:Array},selectedProducts:{required:!0,type:Object},refillOrder:{type:Boolean,default:!1}},data:function(){return{isComplete:!1,fieldErrors:[],clearChoiceErrorOnAnswer:!1,validationAttempt:null,validationTimer:null,error:null,restart:!1,feedback:null,notice:null,customError:null}},computed:{currentQuestion:function(){return this.filteredQuestions[this.activeQuestion]},questionKey:function(){return"".concat(JSON.stringify(this.programs),":").concat((0,o.FI)(this.currentQuestion))},currentAnswerSignature:function(){return(0,o.Pk)(this.currentQuestion)},mergedFieldErrors:function(){if(!this.inlineValidation)return[];var t=this.currentQuestion,e=this.serverQuestionErrors.filter((function(e){return t&&(null==e?void 0:e.question)===t&&e.questionId===(0,o.FI)(t)&&Array.isArray(e.errors)})).reduce((function(t,e){return t.concat(e.errors)}),[]);return(0,o.fH)([].concat(g(this.fieldErrors),g(e)))},serverFormMessages:function(){return this.inlineValidation?g(new Set(this.serverFormErrors.filter((function(t){return"string"==typeof t&&t.trim()})).map((function(t){return t.trim()})))):[]},choiceErrors:function(){return this.inlineValidation&&(0,o.gt)(this.currentQuestion)?this.mergedFieldErrors:[]},validation:function(){return{errors:this.mergedFieldErrors,id:"enrollment-".concat(this._uid,"-").concat((0,o.FI)(this.currentQuestion),"-error"),questionKey:this.questionKey}},gender:function(){var t,e,n=this.questions.find((function(t){return"gender"===t.name}));return null!==n.answer?n.answer:null!==(t=this.user)&&void 0!==t&&t.patient?null===(e=this.user)||void 0===e?void 0:e.patient.gender:null},testing:function(){return"production"!==window.Laravel.env},progressBarStyles:function(){if(this.isComplete)return"width: 110%";if(0===this.activeQuestion)return"width: 5%;";var t=100/this.filteredQuestions.length*this.activeQuestion+2;return"width: ".concat(t,"%;")},answers:function(){var t={allergies:11,medications:16,conditions:16};return this.filteredQuestions.reduce((function(e,n){if(n.answers){Object.keys(n.answers).forEach((function(t){e[t]=n.answers[t]}));var r=n.name,i=e[r],o=e["other_"+r];return t[r]&&(null==i||""===i||Array.isArray(i)&&0===i.length)&&"string"==typeof o&&""!==o.trim()&&(e[r]=[t[r]]),e}return e[n.name]=n.answer,e}),{})},isContinueButtonDisabled:function(){var t=this.filteredQuestions[this.activeQuestion];return!(!t||"state"!==t.name)&&(!t.answer||"yes"!==this.over18AgeConfirmed)},shouldHideContinueButton:function(){var t=this.filteredQuestions[this.activeQuestion];if(!t)return!1;if(t.hideContinueButton)return!0;
2if("product"===t.name){var e=t.answer;if(!e||"{}"===JSON.stringify(e)||!e.id)return!0}return!1}},watch:{questionKey:function(){this.resetValidation()},currentAnswerSignature:function(){this.inlineValidation&&(this.notice&&(this.notice=null),this.validationAttempt&&this.validationAttempt.answer!==this.currentAnswerSignature&&this.cancelValidation(),this.clearChoiceErrorOnAnswer&&(0,o.pQ)(this.currentQuestion)&&(this.fieldErrors=[],this.clearChoiceErrorOnAnswer=!1),this.revalidateFields())},initEnrollment:{handler:function(t,e){console.log("initEnrollment in multi step form",t),console.log("initEnrollment in multi step form",this.activeQuestion),this.autofillEnrollmentData()}}},beforeDestroy:function(){this.cancelValidation()},mounted:function(){var t,e;this.user&&(null!==(t=this.user)&&void 0!==t&&t.patient||null!==(null===(e=this.user)||void 0===e?void 0:e.contact))&&(console.log("Auto-filling patient data for user:",this.user),this.autoFillPatientData()),this.initEnrollment&&(console.log("Autofilling enrollment data on mount:",this.initEnrollment),this.autofillEnrollmentData())},methods:{validationContext:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.currentQuestion;return{answer:void 0===t.answer?t.answers:t.answer,enabled:t.enabled,programs:this.programs,questions:this.filteredQuestions,states:this.states,bannedAddresses:this.bannedAddresses,user:this.user,additionalEnrollmentData:this.additionalEnrollmentData,selectedProducts:this.selectedProducts}},revalidateFields:function(){var t;if(this.fieldErrors.length&&"function"==typeof(null===(t=this.currentQuestion)||void 0===t?void 0:t.validateFields)){var e=new Set(this.fieldErrors.map((function(t){return t.field}))),n=(0,o.fH)(this.currentQuestion.validateFields(this.validationContext())).filter((function(t){return e.has(t.field)}));JSON.stringify(n)!==JSON.stringify(this.fieldErrors)&&(this.fieldErrors=n)}},focusFirstError:function(){var t,e=null===(t=this.$refs.form)||void 0===t?void 0:t.querySelector('[aria-invalid="true"]:not(:disabled):not([readonly]):not([type="hidden"])');if(!e){var n,r,i=this.inlineValidation&&this.serverFormMessages.length?null===(n=this.$refs.serverFormError)||void 0===n?void 0:n.$el:null;return i?(i.focus({preventScroll:!0}),void i.scrollIntoView({block:"center",behavior:"smooth"})):null===(r=this.$refs.choiceField)||void 0===r?void 0:r.focus()}e.focus({preventScroll:!0}),(e.closest("label")||e).scrollIntoView({block:"center",behavior:"smooth"})},recoverSubmission:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.question,r=void 0===n?null:n,i=e.focus,o=void 0===i||i;if(this.inlineValidation){this.cancelValidation(),this.isComplete=!1,this.error=null,this.customError=null,this.notice=null;var a=r?this.filteredQuestions.indexOf(r):-1;a>=0&&a!==this.activeQuestion&&this.$emit("updateActiveQuestion",a),o&&this.$nextTick((function(){t._isDestroyed||t._isBeingDestroyed||t.focusFirstError()}))}},cancelValidation:function(){clearTimeout(this.validationTimer),this.validationTimer=null,this.validationAttempt=null},resetValidation:function(){this.cancelValidation(),this.inlineValidation&&(this.notice=null),this.fieldErrors=[],this.clearChoiceErrorOnAnswer=!1},handleEnter:function(t){!this.inlineValidation||t.defaultPrevented||t.isComposing||"INPUT"!==t.target.tagName||["file","button","submit","reset"].includes(t.target.type)||(t.preventDefault(),this.submitForm(t))},submitForm:function(t){if(this.inlineValidation){var e,n,r=(null==t?void 0:t.submitter)||("keydown"===(null==t?void 0:t.type)?t.target:document.activeElement),i=null==r||null===(e=r.closest)||void 0===e?void 0:e.call(r,"[data-enrollment-submit]");if(i&&this.$refs.form.contains(i))return void i.dispatchEvent(new CustomEvent("enrollment-submit"));if(["authentication","checkout","address","coupon"].includes(null===(n=this.currentQuestion)||void 0===n?void 0:n.name))return void this.$emit("submitStep",this.currentQuestion.name);if(this.isContinueButtonDisabled||this.shouldHideContinueButton)return}this.nextQuestion(t)},skipPrefilledQuestions:function(){var t=this.filteredQuestions[this.activeQuestion];if(["state","phone","notifications"].includes(null==t?void 0:t.name)){var e,n=null!==(e=t.answer)&&void 0!==e?e:t.answers;if(null!=n&&""!==n&&(!Array.isArray(n)||0!==n.length))return this.$emit("updateActiveQuestion",this.activeQuestion+1),!0}return!1},autofillEnrollmentData:function(){if(console.log("Autofilling enrollment data:",this.initEnrollment),this.initEnrollment&&this.initEnrollment.questions){var t,e=new Map(this.questions.map((function(t){return[t.name,t]}))),n=new Set,r=["product","program_type","mixing_method","ultra_burn","waytless","supplements","addons","subscription"],i=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
2if(!n){if(Array.isArray(t)||(n=y(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(g(this.initEnrollment.questions).sort((function(t,e){var n=r.indexOf(t.name),i=r.indexOf(e.name);return-1===n&&-1===i?0:-1===n?1:-1===i?-1:n-i})).entries());try{for(i.s();!(t=i.n()).done;){var o=v(t.value,2),a=o[0],s=o[1];if(s.name){var l=e.get(s.name);if(l)try{if(r.includes(s.name)){if("product"===s.name&&s.answer){if(!s.answer.id||!s.answer.name||!s.answer.price){console.warn("Invalid product data:",s.answer);continue}s.answer.product_id=s.answer.id}if("subscription"===s.name&&s.answer&&(!s.answer.id||!s.answer.price||!s.answer.frequency)){console.warn("Invalid subscription data:",s.answer);continue}this.$set(l,"answer",s.answer),n.add(s.name),a,console.log("Set ".concat(s.name," answer:"),s.answer)}else{var u;if(s.hasOwnProperty("answers"))this.$set(l,"answers",s.answers||{});else this.$set(l,"answer",null!==(u=s.answer)&&void 0!==u?u:null);n.add(s.name),a}}catch(t){console.error("Error setting answer for ".concat(s.name,":"),t)}else console.warn('Question "'.concat(s.name,'" not found in current questions'))}else console.warn("Question missing name:",s)}}catch(t){i.e(t)}finally{i.f()}this.$emit("setActiveQuestion",0)}else console.warn("No enrollment data or questions found to autofill")},autoFillPatientData:function(){var t=this;this.questions.forEach((function(e){var n=e.autoFillProperty||e.autoFillProperties;if(n)return"patient.prescribed_meds"===n?(t.autoFillSingleAnswerQuestion(e,n),e.enabled=Boolean(e.answer&&e.answer.length)):void 0!==e.answer?t.autoFillSingleAnswerQuestion(e,n):void t.autoFillMultipleAnswerQuestion(e,n)}))},autoFillSingleAnswerQuestion:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"answer",r=s()(this.user,e);if(null!=r)return"date"===t.autoFillPropertyType?t.answer=new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"2-digit",day:"2-digit"}):0===r||1===r?u()(t,n,Boolean(r)):["patient.allergies","patient.medications","patient.conditions"].includes(e)?u()(t,n,r.map((function(t){return t.id}))):void u()(t,n,r)},autoFillMultipleAnswerQuestion:function(t,e){var n=this;Object.keys(e).forEach((function(e){n.autoFillSingleAnswerQuestion(t,t.autoFillProperties[e],"answers."+e)}))},autoFillAnswers:function(){var t=this;this.filteredQuestions.forEach((function(e){var n,r;"gender"==e.name&&t.user&&null!==(n=t.user)&&void 0!==n&&n.patient||e.autoFillProperty&&t.user&&null!==(r=t.user)&&void 0!==r&&r.patient||(void 0!==e.validAnswer&&(e.answer=e.validAnswer),void 0!==e.validAnswers&&(e.answers=e.validAnswers))}))},skipQuestions:function(){var t=this.filteredQuestions.findIndex((function(t){return"product"===t.name}));if(this.activeQuestion!=t)return this.activeQuestion<t?this.$emit("updateActiveQuestion",t):void this.$emit("updateActiveQuestion",this.filteredQuestions.length-2)},nextQuestion:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(this.activeQuestion<0)return this.setActiveQuestion(0);var n=this.currentQuestion,r=void 0===(null==n?void 0:n.answer)?null==n?void 0:n.answers:n.answer;if(this.inlineValidation&&this.notice&&void 0!==e&&JSON.stringify(e)!==JSON.stringify(r)&&(this.notice=null,this.cancelValidation()),this.notice)return this.acknowledgeNotice();this.activeQuestion<this.filteredQuestions.length&&this.validateActiveQuestion(e)},validateActiveQuestion:function(){var t,e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=this.currentQuestion;if(r&&!this.isComplete){void 0!==n&&(void 0!==r.answer&&(r.answer=n),void 0!==r.answers&&(r.answers=n));var i={question:r,key:this.questionKey,index:this.activeQuestion,answer:this.currentAnswerSignature};(null===(t=this.validationAttempt)||void 0===t?void 0:t.key)===i.key&&this.validationAttempt.answer===i.answer||(this.cancelValidation(),this.validationAttempt=i,this.validationTimer=setTimeout((function(){if(e.validationAttempt===i){
2if(i.key!==e.questionKey||i.index!==e.activeQuestion||i.answer!==e.currentAnswerSignature)return e.cancelValidation();var t,n=e.validationContext(r),a=[];try{e.inlineValidation&&"function"==typeof r.validateFields&&(a=(0,o.fH)(r.validateFields(n))),t=a.length?a:r.validate(n)}catch(t){return e.cancelValidation(),bugsnagClient.notify(t),void("EnrollmentError"===(null==t?void 0:t.name)?e.customError=t:e.error=t)}if(!0===t)return e.fieldErrors=[],void(e.displayNotice()||(i.index<e.filteredQuestions.length-1?e.$emit("updateActiveQuestion",i.index+1):(e.$emit("completed",{complete:!0,answers:e.answers}),e.isComplete=!0)));if(e.cancelValidation(),e.inlineValidation&&((0,o.gt)(r)||"function"==typeof r.validateFields))return e.fieldErrors=(0,o.fH)(t),e.clearChoiceErrorOnAnswer=(0,o.gt)(r)&&!(0,o.pQ)(r),void e.$nextTick((function(){e.questionKey===i.key&&e.fieldErrors.length&&e.focusFirstError()}));e.$bus.$emit("flash-message",{message:t,type:"error"})}}),200))}},displayNotice:function(){if(void 0!==this.filteredQuestions[this.activeQuestion].displayNotice&&"function"==typeof this.filteredQuestions[this.activeQuestion].displayNotice){var t=void 0===this.filteredQuestions[this.activeQuestion].answer?this.filteredQuestions[this.activeQuestion].answers:this.filteredQuestions[this.activeQuestion].answer;return this.notice=this.filteredQuestions[this.activeQuestion].displayNotice({answer:t}),null!==this.notice}return!1},acknowledgeNotice:function(){if(this.cancelValidation(),this.notice=null,this.activeQuestion<this.filteredQuestions.length-1)return this.$emit("updateActiveQuestion",this.activeQuestion+1);this.$emit("completed",{complete:!0,answers:this.answers}),this.isComplete=!0},previousQuestion:function(){if(this.resetValidation(),this.notice=null,this.error=null,this.customError=null,!(this.activeQuestion<=0))return this.isComplete?(this.$emit("completed",{complete:!1,answers:this.answers}),this.isComplete=!1):void this.$emit("updateActiveQuestion",this.activeQuestion-1)},setError:function(t){this.error=t},forceRestart:function(){this.restart=!0},restartEnrollment:function(){this.resetValidation(),this.$bus.$emit("restart-enrollment"),window.location.reload()},removeUB:function(){var t=this;this.$bus.$emit("remove-ultraburn"),this.selectedProducts.products.ultra_burn={},setTimeout((function(){t.customError=null,t.$bus.$emit("flash-message",{message:"The product Ultra Burn, has been removed from your cart, you can continue with your enrollment.",type:"success"})}),1500)},openReporterPopup:function(){this.$refs.ReporterIssuePopUp.openPopup()},setActiveQuestion:function(t){this.resetValidation(),this.$emit("setActiveQuestion",t)}}};var x=n(93379),k=n.n(x),C=n(54225),S={insert:"head",singleton:!1};k()(C.Z,S);C.Z.locals;const P=(0,f.Z)(_,(function(){var t,e,n=this,r=n._self._c;return r("div",{staticClass:"tw-relative"},[r("form",{ref:"form",staticClass:"transition tw-mx-auto tw-mb-10",on:{submit:function(t){return t.preventDefault(),n.submitForm.apply(null,arguments)},keydown:function(t){return!t.type.indexOf("key")&&n._k(t.keyCode,"enter",13,t.key,"Enter")?null:n.handleEnter.apply(null,arguments)}}},[n.serverFormMessages.length?r("InlineError",{ref:"serverFormError",staticClass:"tw-max-w-2xl tw-mx-auto tw-mb-4 tw-break-words",attrs:{id:"enrollment-".concat(n._uid,"-form-error"),messages:n.serverFormMessages,tabindex:"-1"}}):n._e(),n._v(" "),r("TransitionGroup",{attrs:{name:"fade",mode:"out-in",appear:""}},[n.error?r("div",{key:"error",staticClass:"tw-mt-10"},[r("FeedbackSubmitter",{attrs:{"show-rating":!1,title:"Alert!",type:"error"}},[n._v("\n          "+n._s(n.error)+"\n        ")]),n._v(" "),"Male"===n.gender&&n.programs.includes("wsp")||n.restart?r("button",{staticClass:"hover:tw-text-brand-brown tw-block tw-mx-auto tw-my-4 tw-text-gray-dark tw-tracking-wider tw-uppercase",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),n.restartEnrollment.apply(null,arguments)}}},[n._v("\n          Please choose a different program or restart the enrollment process.\n        ")]):r("button",{staticClass:"hover:tw-text-brand-brown tw-block tw-mx-auto tw-my-4 tw-text-black tw-tracking-wider tw-uppercase",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),n.error=null}}},[n._v("\n          Change my answers\n        ")])],1):n.customError?r("SulfaAllergyHandler",{key:"allergy-error",attrs:{"custom-error":n.customError,"selected-products":n.selectedProducts},on:{"restart-enrollment":n.restartEnrollment,"remove-ultraburn":n.removeUB}}
2):n.isComplete?r("div",{key:"complete"},[n._t("completed",null,{nextQuestion:n.nextQuestion})],2):r("div",{key:"questions"},[n.inlineValidation?r("InlineValidationField",{key:n.questionKey,ref:"choiceField",attrs:{id:n.validation.id,errors:n.choiceErrors,"error-class":n.validationClass}},[n._t("questions",null,{previousQuestion:n.previousQuestion,nextQuestion:n.nextQuestion,notice:n.notice,acknowledgeNotice:n.acknowledgeNotice,validation:n.validation})],2):n._t("questions",null,{previousQuestion:n.previousQuestion,nextQuestion:n.nextQuestion,notice:n.notice,acknowledgeNotice:n.acknowledgeNotice}),n._v(" "),r("Transition",{attrs:{name:"fade"}},[null===n.notice||n.filteredQuestions[n.activeQuestion].hideContinueButton?n._e():r("div",{staticClass:"tw-max-w-2xl tw-mx-auto tw-my-6"},[r("div",{staticClass:"tw-mx-4"},[r("Notices",{attrs:{notice:n.notice},on:{acknowledge:n.acknowledgeNotice}})],1)])])],2)],1)],1),n._v(" "),n.isComplete||n.error?n._e():r("div",{staticClass:"tw-flex tw-flex-col"},[r("div",{staticClass:"tw-w-full"},[n.shouldHideContinueButton?n._e():r("div",{},["state"===(null===(t=n.filteredQuestions[n.activeQuestion])||void 0===t?void 0:t.name)?r("div",{staticClass:"tw-mb-5"},[r("p",{staticClass:"tw-text-gray-600 tw-text-sm"},[n._v('\n            By clicking "Continue", you agree that Nu Image Medical may use your responses to personalize your experience and for other purposes as\n            described in our Privacy Policy.\n          ')])]):n._e(),n._v(" "),r("div",{staticClass:"tw-w-full tw-flex-1 tw-flex-col tw-items-center tw-justify-end"},[r("Transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[n.activeQuestion<=n.filteredQuestions.length?r("button",{staticClass:"multi-step-btn tw-w-full tw-rounded-full tw-flex tw-text-center tw-items-center tw-justify-center tw-btn tw-p-0 tw-text-white tw-font-semibold tw-text-sm sm:tw-text-base tw-bg-brand-brown active:tw-text-white tw-py-3 tw-capitalize hover:tw-text-back disabled:tw-cursor-not-allowed disabled:tw-opacity-50",attrs:{type:"button",disabled:n.isContinueButtonDisabled,"aria-disabled":n.isContinueButtonDisabled?"true":"false",title:"next","aria-label":"nextButton"},on:{click:n.nextQuestion}},[r("span",{staticClass:"tw-inline"},[n._v(" Continue ")])]):n._e()])],1),n._v(" "),"gender"!==(null===(e=n.filteredQuestions[n.activeQuestion])||void 0===e?void 0:e.name)?r("div",{staticClass:"tw-w-full tw-flex tw-items-center tw-mt-5"},[r("Transition",{attrs:{name:"fade",mode:"out-in",appear:""}},[n.activeQuestion>0?r("button",{staticClass:"multi-step-btn tw-w-full tw-flex tw-items-center tw-justify-center tw-rounded-full tw-btn tw-p-0 tw-text-brand-brown tw-bg-none tw-text-center tw-font-medium tw-text-sm sm:tw-text-base tw-border-none active:tw-text-brand-brown tw-capitalize",attrs:{type:"button",title:"previous","aria-label":"previousButton",tabindex:"-1"},on:{click:n.previousQuestion}},[r("span",{staticClass:"tw-inline"},[n._v(" ← Back ")])]):n._e()])],1):n._e()])]),n._v(" "),n.testing?r("div",{staticClass:"tw-w-full tw-flex tw-justify-center tw-mt-10"},[r("button",{staticClass:"tw-text-black tw-p-3 tw-uppercase tw-tracking-wider tw-text-sm tw-font-bold",attrs:{type:"button",tabindex:"-1"},on:{click:function(t){return t.preventDefault(),n.autoFillAnswers.apply(null,arguments)}}},[n._v("\n        Auto-fill answers\n      ")]),n._v(" "),r("button",{staticClass:"tw-text-black tw-p-3 tw-uppercase tw-tracking-wider tw-text-sm tw-font-bold",attrs:{type:"button",tabindex:"-1"},on:{click:function(t){return t.preventDefault(),n.skipQuestions.apply(null,arguments)}}},[n._v("\n        Skip questions\n      ")]),n._v(" "),r("button",{staticClass:"tw-text-red-500 tw-p-3 tw-uppercase tw-tracking-wider tw-text-sm tw-font-bold tw-cursor-pointer",attrs:{type:"button",tabindex:"-1"},on:{click:function(t){return t.preventDefault(),n.openReporterPopup()}}},[n._v("\n        Report an issue\n      ")])]):n._e()]),n._v(" "),r("ReporterIssuePopUp",{ref:"ReporterIssuePopUp"},[r("ReportIssueSubmitter",{attrs:{title:"Problems with the Enrollment Process?",type:"error"}},[n._v("\n      If you are experiencing any issues during the enrollment process, please provide us with some details so that we\n      can assist you better.\n    ")])],1)],1)}),[],!1,null,null,null).exports},73599:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var r=n(81409),i={ccnumber:"Please enter a valid card number.",ccexp:"Please enter a valid card expiration date.",cvv:"Please enter a valid card security code."},o="Payment information could not be collected. Please try again.";const a={name:"NmiForm",components:{InlineError:r.Z},props:{inlineValidation:{type:Boolean,default:!1},reloadDisabled:{type:Boolean,default:!1},address:{required:!0,type:Object}},data:function(){return{errors:[],fieldErrors:{ccnumber:[],ccexp:[],cvv:[]}
2,collectionPending:!1,authorizationPending:!1,cancelledCollectionPending:!1,collectionVersion:0,collectionStartedAt:0,configurationVersion:0,paymentType:"cc",token:null,valid:{ccnumber:!1,ccexp:!1,cvv:!1},authorizationAttempted:null,cardAuthorized:null,delivery_signature_fee:"5",is_card_authorization_enabled:JSON.parse("false"),isLoading:!0,fieldsLoaded:!1,formKey:0}},computed:{canReloadCardFields:function(){return!(this.reloadDisabled||this.collectionPending||this.authorizationPending||this.cancelledCollectionPending||this.token)}},mounted:function(){this.loadNMIForm()},beforeDestroy:function(){this.inlineValidation&&(this.cancelCollection(),this.configurationVersion+=1)},methods:{reloadCardFields:function(){return!(!this.inlineValidation||!this.canReloadCardFields)&&(this.resetCardForm(),!0)},cancelCollection:function(){this.inlineValidation&&(this.collectionPending&&!this.authorizationPending&&(this.cancelledCollectionPending=!0),(this.collectionPending||this.authorizationPending)&&(this.authorizationAttempted=null,this.cardAuthorized=null),this.collectionVersion+=1,this.collectionPending=!1,this.authorizationPending=!1)},errorId:function(t){return"nmi-"+this._uid+"-"+t+"-error"},focusFirstInvalid:function(){var t=this,e=Object.keys(i).find((function(e){return t.fieldErrors[e].length})),n=e?this.$refs[e]:this.$refs.paymentGroup;n&&(n.scrollIntoView({block:"nearest"}),n.focus())},loadNMIForm:function(){var t=this;this.fieldsLoaded=!1;var e=++this.configurationVersion,n=function(){return!t.inlineValidation||e===t.configurationVersion};if(this.inlineValidation&&(!window.CollectJS||"function"!=typeof window.CollectJS.configure))return this.errors=[o],this.isLoading=!1,!1;window.CollectJS.configure({paymentSelector:"#customPayButton",variant:"inline",styleSniffer:!0,invalidCss:{color:"#FC8181"},validCss:{color:"#81e6d9"},customCss:{"border-color":"#ffffff","border-style":"none","border-radius":"9999px"},placeholderCss:{color:"#8795a1","background-color":"#ffffff"},focusCss:{color:"#8795a1","background-color":"#ffffff"},fields:{ccnumber:{selector:"#ccnumber",placeholder:"1234 1234 1234 1234"},ccexp:{selector:"#ccexp",placeholder:"MM/YY"},cvv:{selector:"#cvv",placeholder:"CVC"}},timeoutDuration:3e4,timeoutCallback:function(){n()&&(t.inlineValidation&&t.authorizationPending||(!t.inlineValidation||t.collectionPending||t.cancelledCollectionPending||t.isLoading)&&(t.inlineValidation&&t.collectionPending&&Date.now()-t.collectionStartedAt<3e4||(t.cancelledCollectionPending=!1,t.inlineValidation&&t.collectionPending&&(t.collectionVersion+=1,t.collectionPending=!1,t.authorizationPending=!1,t.authorizationAttempted=null,t.cardAuthorized=null,t.errors=[o],t.$emit("validation-failed")),t.loadNMIForm())))},fieldsAvailableCallback:function(){n()&&(t.fieldsLoaded=!0,t.isLoading=!1)},callback:function(e){if(n()){if(t.inlineValidation){if(t.cancelledCollectionPending)return void(t.cancelledCollectionPending=!1);if(!t.collectionPending||t.authorizationPending)return;if(!e||!e.token)return t.collectionPending=!1,t.errors=[o],void t.$emit("validation-failed")}t.token=e.token,t.card=e.card,t.is_card_authorization_enabled?t.authorizationAttempted?(t.collectionPending=!1,t.$emit("gateway-response",{card:t.card,token:t.token,cardAuthorized:t.cardAuthorized})):t.authorizeCard(t.card,t.token):(t.collectionPending=!1,t.$emit("gateway-response",{card:t.card,token:t.token,cardAuthorized:t.cardAuthorized}))}},validationCallback:function(e,r,a){n()&&(t.inlineValidation?Object.prototype.hasOwnProperty.call(i,e)?(t.valid[e]=!!r,t.fieldErrors[e]=r?[]:[a||i[e]]):r||(t.errors=[a||o]):(t.errors=[],r?t.valid[e]=!0:(t.valid[e]=!1,t.errors.push(a))))}})},startCollect:function(){var t=this;if(this.inlineValidation&&this.cancelledCollectionPending)return this.errors=["Please wait for the previous payment request to finish, then try again."],!1;if(this.inlineValidation&&this.collectionPending)return!0;
2if(this.inlineValidation&&Object.keys(i).forEach((function(e){t.valid[e]||t.fieldErrors[e].length||(t.fieldErrors[e]=[i[e]])})),this.valid.ccnumber&&this.valid.ccexp&&this.valid.cvv){if(this.inlineValidation){if(this.errors=[],!window.CollectJS||"function"!=typeof window.CollectJS.startPaymentRequest)return this.errors=[o],!1;this.collectionVersion+=1,this.collectionStartedAt=Date.now(),this.collectionPending=!0;try{window.CollectJS.startPaymentRequest()}catch(t){return this.collectionPending=!1,this.errors=[o],!1}return!0}return window.CollectJS.startPaymentRequest(),!0}return!1},resetCardForm:function(){var t=this;this.errors=[],this.fieldErrors={ccnumber:[],ccexp:[],cvv:[]},this.collectionPending=!1,this.authorizationPending=!1,this.cancelledCollectionPending=!1,this.collectionVersion+=1,this.configurationVersion+=1,this.token=null,this.card=null,this.valid={ccnumber:!1,ccexp:!1,cvv:!1},this.authorizationAttempted=null,this.cardAuthorized=null,this.isLoading=!0,this.formKey+=1,this.$nextTick((function(){t.loadNMIForm()}))},authorizeCard:function(t,e){var n=this,r=this.collectionVersion;this.authorizationPending=!0,axios.post("/json/authorize-card",{payment_card_info:t,payment_token:e}).then((function(t){var e=t.data;n.inlineValidation&&r!==n.collectionVersion||(n.authorizationPending=!1,n.authorizationAttempted=!0,n.cardAuthorized=e.cardAuthorized,0==n.cardAuthorized&&(n.authorizationAttempted=!1,setTimeout((function(){window.scrollTo({top:"1000",behavior:"smooth",block:"start"})}),200),n.$emit("card-auth-failed",{cardAuthorized:n.cardAuthorized}),n.resetCardForm()),n.cardAuthorized&&(n.collectionPending=!1,!n.startCollect()&&n.inlineValidation&&n.$emit("validation-failed")))})).catch((function(t){n.inlineValidation&&r!==n.collectionVersion||(n.authorizationPending=!1,bugsnagClient.notify(t),n.$emit("card-auth-failed",{cardAuthorized:!1}),n.resetCardForm())}))}}};const s=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("div",{ref:"paymentGroup",staticClass:"tw-mb-4 tw-block tw-font-lato",attrs:{role:t.inlineValidation?"group":null,tabindex:t.inlineValidation?-1:null,"aria-label":t.inlineValidation?"Payment information":null,"aria-invalid":t.inlineValidation&&t.errors.length?"true":null,"aria-describedby":t.inlineValidation&&t.errors.length?t.errorId("payment"):null}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],staticClass:"tw-m-12 tw-inline-block tw-h-8 tw-w-8 tw-animate-spin tw-rounded-full tw-border-4 tw-border-solid tw-border-current tw-border-r-transparent tw-align-[-0.125em] tw-motion-reduce:animate-[spin_1.5s_linear_infinite]",attrs:{role:"status"}},[e("span",{staticClass:"!tw-absolute !-tw-m-px !tw-h-px !tw-w-px !tw-overflow-hidden !tw-whitespace-nowrap !tw-border-0 !tw-p-0 ![tw-clip:rect(0,0,0,0)]"},[t._v("Loading...")])]),t._v(" "),e("div",{key:t.formKey},[e("div",{staticClass:"tw-flex tw-items-center tw-justify-between tw-mb-4"},[e("div",{staticClass:"tw-text-sm tw-text-gray-800 tw-font-medium"},[t._v("\n        Credit or Debit Card\n      ")]),t._v(" "),e("svg",{staticClass:"tw-text-grey tw-h-4 tw-w-4",attrs:{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 448 512"}},[e("path",{attrs:{fill:"currentColor",d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zM264 392c0 22.1-17.9 40-40 40s-40-17.9-40-40v-48c0-22.1 17.9-40 40-40s40 17.9 40 40v48zm32-168H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"}})])]),t._v(" "),0==t.cardAuthorized?e("div",{staticClass:"tw-flex tw-items-start tw-my-3 tw-text-red-800 tw-bg-red-100 tw-text-sm tw-py-2 tw-px-3"},[e("div",{staticClass:"tw-shrink-0"},[e("svg",{staticClass:"tw-h-5 tw-w-5 tw-text-red-500 tw-mr-3",attrs:{viewBox:"0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"}})])]),t._v(" "),e("div",{staticClass:"tw-font-medium",attrs:{id:"card-error"}},[t._v("\n        The card you provided has insufficient funds, please try again by adding funds to the card or by providing another card with sufficient funds.\n      ")])]):t._e(),t._v(" "),e("div",{},[!t.inlineValidation&&t.errors.length?e("div",t._l(t.errors,(function(n){return e("p",{key:n,staticClass:"tw-text-xs tw-font-semibold tw-text-red tw-p-0 tw-m-0 tw-mb-1"},[t._v("\n          "+t._s(n)+"\n        ")])})),0):t._e(),t._v(" "),e("div",{staticClass:"tw-mt-1 tw-relative tw-rounded-md tw-w-full tw-shadow-sm"},[e("div",{ref:"ccnumber",staticClass:"tw-border tw-border-gray-600 tw-rounded-full tw-w-full tw-p-0",attrs:{id:"ccnumber",role:t.inlineValidation?"group":null,tabindex:t.inlineValidation?-1:null,"aria-label":t.inlineValidation?"Card number":null,"aria-invalid":t.inlineValidation&&t.fieldErrors.ccnumber.length?"true":null,"aria-describedby":t.inlineValidation&&t.fieldErrors.ccnumber.length?t.errorId("ccnumber"):null}}),t._v(" "),t.inlineValidation?e("InlineError",{attrs:{id:t.errorId("ccnumber"),messages:t.fieldErrors.ccnumber}}):t._e()],1)]),t._v(" "),e("div",{staticClass:"tw-mt-4 tw-flex tw-w-full"},[e("div",{staticClass:"tw-mt-1 tw-relative tw-rounded-md tw-w-1/2 tw-min-w-0 tw-shadow-sm tw-pr-1"},[e("div",{ref:"ccexp",staticClass:"tw-border tw-border-gray-600 tw-rounded-full tw-w-full tw-p-0",attrs:{id:"ccexp",role:t.inlineValidation?"group":null,tabindex:t.inlineValidation?-1:null,"aria-label":t.inlineValidation?"Card expiration date":null,"aria-invalid":t.inlineValidation&&t.fieldErrors.ccexp.length?"true":null,"aria-describedby":t.inlineValidation&&t.fieldErrors.ccexp.length?t.errorId("ccexp"):null}}),t._v(" "),t.inlineValidation?e("InlineError",{attrs:{id:t.errorId("ccexp"),messages:t.fieldErrors.ccexp}}):t._e()],1),t._v(" "),e("div",{staticClass:"tw-mt-1 tw-relative tw-rounded-md tw-w-1/2 tw-min-w-0 tw-shadow-sm tw-pl-1"},[e("div",{ref:"cvv",staticClass:"tw-border tw-border-gray-600 tw-rounded-full tw-w-full tw-p-0",attrs:{id:"cvv",role:t.inlineValidation?"group":null,tabindex:t.inlineValidation?-1:null,"aria-label":t.inlineValidation?"Card security code":null,"aria-invalid":t.inlineValidation&&t.fieldErrors.cvv.length?"true":null,"aria-describedby":t.inlineValidation&&t.fieldErrors.cvv.length?t.errorId("cvv"):null}}),t._v(" "),t.inlineValidation?e("InlineError",{attrs:{id:t.errorId("cvv"),messages:t.fieldErrors.cvv}}):t._e()],1)]),t._v(" "),t.inlineValidation?e("InlineError",{attrs:{id:t.errorId("payment"),messages:t.errors}}):t._e()],1),t._v(" "),t.inlineValidation&&!t.fieldsLoaded?e("div",{staticClass:"tw-mt-4 tw-text-sm tw-text-gray-800"},[t._v("\n    Card fields not loading?\n    "),e("button",{staticClass:"tw-text-brand-brown tw-underline disabled:tw-opacity-50 disabled:tw-cursor-not-allowed",attrs:{type:"button",disabled:!t.canReloadCardFields},on:{click:t.reloadCardFields}},[t._v("\n      Reload card fields\n    ")]),t._v(" "),e("p",{staticClass:"tw-mt-1 tw-mb-0 tw-text-xs"},[t._v("\n      Your answers will be kept. Please re-enter any card details after reloading.\n    ")])]):t._e()])}),[],!1,null,null,null).exports},57012:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"Notices",props:["notice"],computed:{arrayNotices:function(){return Array.isArray(this.notice)}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-bg-white tw-p-4"},[t.arrayNotices?e("div",t._l(t.notice,(function(n,r){return e("div",{key:r,staticClass:"tw-flex tw-items-start"},[e("div",{staticClass:"tw-shrink-0"},[e("svg",{staticClass:"tw-h-5 tw-w-5 tw-text-red-500",attrs:{viewBox:"0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"}})])]),t._v(" "),e("div",{staticClass:"tw-ml-3 tw-flex-1 md:tw-flex md:tw-justify-between md:tw-items-center"},[e("p",{staticClass:"tw-p-0 tw-m-0 tw-text-red-500"},[t._v("\n          "+t._s(n)+"\n        ")])])])})),0):e("div",[e("div",{staticClass:"tw-flex tw-items-center"},[e("div",{staticClass:"tw-shrink-0"},[e("svg",{staticClass:"tw-h-5 tw-w-5 tw-text-red-500",attrs:{viewBox:"0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"}})])]),t._v(" "),e("div",{staticClass:"tw-ml-3 tw-flex-1 md:tw-flex md:tw-justify-between md:tw-items-center tw-text-red-500"},[t._v("\n        "+t._s(t.notice)+"\n      ")])])])])}),[],!1,null,"242abf75",null).exports},59751:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"NotificationBanner",components:{CardModal:n(411).Z},props:{showNotificationBanner:{type:Boolean,required:!0,default:!1},showCancelButton:{type:Boolean,required:!1,default:!0},header:{type:String,required:!0,default:""},message:{type:String,required:!0,default:""}},data:function(){return{loading:!1,alwaysShow:!0}
2},computed:{showBanner:function(){return this.alwaysShow&&this.showNotificationBanner}},created:function(){this.alwaysShow=!0},methods:{hide:function(){this.alwaysShow=!1,this.$emit("continue-enrollment")},continueEnrollment:function(){this.$emit("continue-enrollment")}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("CardModal",{attrs:{"custom-width":"lg:tw-max-w-2xl",show:t.showBanner,closeable:!0,"show-cancel-button":t.showCancelButton},on:{hide:function(e){return t.hide()}}},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("div",{},[e("div",{staticClass:"tw-flex tw-items-center tw-justify-center"},[e("svg",{attrs:{width:"85",height:"85",viewBox:"0 0 85 85",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M42.5 84C65.4198 84 84 65.4198 84 42.5C84 19.5802 65.4198 1 42.5 1C19.5802 1 1 19.5802 1 42.5C1 65.4198 19.5802 84 42.5 84Z",stroke:"black","stroke-width":"1.5"}}),t._v(" "),e("path",{attrs:{d:"M34 30.3077C34 25.7195 37.8055 22 42.5 22C47.1945 22 51 25.7195 51 30.3077C51 31.9615 50.5057 33.5025 49.6532 34.7972C47.1129 38.6557 42.5 42.3347 42.5 46.9231V49",stroke:"black","stroke-width":"1.5","stroke-linecap":"round"}}),t._v(" "),e("path",{attrs:{d:"M42 63H43",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]),t._v(" "),e("div",[e("h2",{staticClass:"tw-text-3xl tw-font-medium tw-mb-2 tw-text-center"},[t._v("\n          "+t._s(t.header)+"\n        ")]),t._v(" "),e("div",{staticClass:"tw-text-justify tw-flex tw-flex-wrap tw--mx-0 tw-text-lg tw-mb-1"},[e("div",{staticClass:"tw-w-full tw-px-1 tw-mb-4"},[e("div",{staticClass:"tw-relative tw-mt-4 tw-mx-3"},[e("p",{staticClass:"tw-leading-none tw-text-center tw-text-xl tw-font-light"},[t._v("\n                "+t._s(t.message)+"\n              ")])])])]),t._v(" "),e("div",{staticClass:"tw-flex tw-justify-center tw-py-2"},[e("button",{staticClass:"tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-rounded-full tw-btn-lg",class:{loading:t.loading},attrs:{disabled:t.loading},on:{click:function(e){return e.preventDefault(),t.continueEnrollment()}}},[t._v("\n            Continue\n          ")])])])])])],1)}),[],!1,null,"d4243fa2",null).exports},26708:(t,e,n)=>{"use strict";n.d(e,{Z:()=>d});var r=n(411),i=n(81409),o=n(7912);const a={components:{CardModal:r.Z,InlineError:i.Z},mixins:[o.ZP,o._y],props:{type:{type:String,default:"face"},labelTitle:{type:String,default:"Upload a clear Photo"},labelExtraInfo:{type:String,default:"Format: JPG or PNG | Max size: 2MB"}},methods:{keepPhoto:function(){this.keepCapturedPhoto("photo-taken")}}};var s=n(93379),l=n.n(s),u=n(93423),c={insert:"head",singleton:!1};l()(u.Z,c);u.Z.locals;const d=(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-relative tw-flex tw-flex-col tw-flex-1 tw-min-w-0 tw-w-4/5 tw-mx-auto md:tw-w-full"},[e("button",{ref:"mediaControl",staticClass:"tw-text-center tw-bg-white tw-w-full tw-shadow-sm tw-rounded-2xl tw-flex tw-flex-col tw-items-center tw-px-5 tw-py-5 tw-border tw-cursor-pointer",attrs:{type:"button","data-media-control":"","aria-describedby":t.mediaDescription,"aria-invalid":t.mediaDescription?"true":null},on:{click:function(e){return e.preventDefault(),t.toggle.apply(null,arguments)}}},[e("img",{attrs:{src:"/assets/img/icon_camera.png"}}),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-col"},[e("div",{staticClass:"tw-rounded-full tw-bg-brand-brown tw-text-white tw-px-6 tw-py-2"},[t._v("\n        Take the photo\n      ")]),t._v(" "),e("div",{staticClass:"tw-my-3 tw-text-sm tw-text-black"},[e("div",[t._v("\n          "+t._s(t.labelTitle)+"\n        ")]),t._v(" "),e("div",{staticClass:"tw-text-xs"},[t._v("\n          "+t._s(t.labelExtraInfo)+"\n        ")])])])]),t._v(" "),e("InlineError",{attrs:{id:t.mediaErrorId,messages:t.mediaErrorMessages}}),t._v(" "),e("Transition",{attrs:{name:"fade"}},[e("CardModal",{attrs:{show:t.showModal},on:{hide:function(e){t.showModal=!1}}},[e("div",{class:{"loading loading-grey":!t.showImage&&!t.showVideo},staticStyle:{"min-height":"240px"}},[e("TransitionGroup",{attrs:{name:"fade",mode:"out-in",appear:""}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showImage,expression:"showImage"}],key:"img"},["id-card"===t.type?e("p",{staticClass:"tw-text-base md:tw-text-xl tw-text-center"},[t._v("\n              Make sure the image contains a clear depiction of your government issued identity card. You can choose to keep the image or try taking it again.\n            ")]):e("p",{staticClass:"tw-text-base md:tw-text-xl tw-text-center"},[t._v("\n              Make sure the image contains a clear depiction of your face. You can choose to keep the image or try taking it again.\n            ")]),t._v(" "),e("div",{staticClass:"ratio-16-9-container tw-mb-3 tw-rounded-lg"}
2,[e("img",{ref:"image",staticClass:"ratio-16-9",class:{"img-face":"id-card"!==t.type}})]),t._v(" "),e("div",{staticClass:"tw-flex tw-items-center"},[e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-rounded-full tw-flex-1 tw-mr-1",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.keepPhoto.apply(null,arguments)}}},[t._v("\n                Keep\n              ")]),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-gray-300 tw-rounded-full tw-text-red tw-flex-1 tw-ml-1",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.clearPhoto.apply(null,arguments)}}},[t._v("\n                Try Again\n              ")])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showVideo,expression:"showVideo"}],key:"video",staticClass:"tw-relative"},["id-card"===t.type?e("p",{staticClass:"tw-text-base md:tw-text-xl tw-text-center"},[t._v("\n              We'll use your webcam to take a picture of your government issued id card. "),e("br"),t._v("\n              Please place the card within the green rectangle. "),e("br"),t._v("\n              Ensure the image taken contains a clear depiction of your id card.\n            ")]):e("p",{staticClass:"tw-text-base md:tw-text-xl tw-text-center"},[t._v("\n              We'll use your webcam to take a picture of you. Make sure the image contains a clear depiction of your face.\n            ")]),t._v(" "),e("div",{staticClass:"ratio-16-9-container tw-bg-black tw-mb-3"},[e("video",{ref:"video",staticClass:"ratio-16-9",attrs:{autoplay:"",playsinline:"",muted:"muted"},domProps:{muted:!0}},[t._v("\n                The video stream could not be started.\n              ")]),t._v(" "),"id-card"===t.type?e("svg",{staticClass:"tw-w-full tw-block tw-absolute tw-top-0 tw-inset-x-0",attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1280 720"}},[e("rect",{staticStyle:{stroke:"#009900","stroke-width":"3","stroke-dasharray":"10 5",fill:"none"},attrs:{x:"17.5%",y:"16%",width:"810",height:"510",rx:"10"}})]):e("svg",{staticClass:"tw-w-full tw-block tw-absolute tw-top-0 tw-inset-x-0",attrs:{viewBox:"0 0 1280 720",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e("clipPath",{attrs:{id:"a"}},[e("path",{attrs:{d:"m0 0h1280v720h-1280z"}})]),t._v(" "),e("g",{attrs:{"clip-path":"url(#a)"}},[e("path",{attrs:{d:"m0 0v720h1280v-720zm644.041 608.386c-116.697 0-211.301-111.147-211.301-248.252s94.602-248.249 211.301-248.249c116.7 0 211.302 111.146 211.302 248.25 0 137.105-94.603 248.251-211.302 248.251z",fill:"#000",opacity:".4"}}),e("path",{attrs:{d:"m644.15 612.638h-.109c-5.109 0-10.279-.21-15.366-.623l.465-5.631c4.931.399 9.943.604 14.899.604zm15.487-.642-.475-5.63c4.976-.411 9.989-1.034 14.902-1.852l.94 5.572c-5.067.841-10.239 1.484-15.367 1.91zm-46.332-1.874c-5.069-.835-10.176-1.897-15.18-3.15l1.394-5.477c4.853 1.218 9.806 2.246 14.721 3.054zm76.859-3.203-1.401-5.475c4.819-1.214 9.659-2.643 14.39-4.252l1.843 5.344c-4.876 1.659-9.868 3.133-14.832 4.383zm-106.898-4.32c-4.843-1.64-9.702-3.507-14.44-5.543l2.264-5.183c4.601 1.979 9.315 3.789 14.017 5.383zm136.164-5.618-2.269-5.179c4.561-1.967 9.121-4.147 13.554-6.482l2.668 4.991c-4.562 2.401-9.257 4.644-13.953 6.67zm-164.548-6.577c-4.511-2.37-9.014-4.956-13.378-7.684l3.032-4.779c4.245 2.654 8.621 5.166 13.007 7.469zm191.898-7.81-3.038-4.775c4.205-2.635 8.392-5.48 12.439-8.45l3.386 4.546c-4.161 3.05-8.462 5.971-12.787 8.679zm-218.054-8.53c-4.112-3.004-8.188-6.215-12.115-9.538l3.693-4.3c3.826 3.239 7.797 6.365 11.8 9.292zm242.942-9.701-3.698-4.296c3.781-3.202 7.52-6.602 11.115-10.096l3.983 4.034c-3.686 3.584-7.52 7.07-11.4 10.358zm-266.471-10.182c-3.65-3.541-7.246-7.266-10.686-11.078l4.242-3.771c3.356 3.719 6.867 7.356 10.424 10.808zm288.547-11.266-4.243-3.768c3.318-3.679 6.578-7.541 9.689-11.469l4.478 3.49c-3.187 4.024-6.526 7.976-9.924 11.747zm-309.167-11.549c-3.156-3.979-6.242-8.129-9.168-12.332l4.681-3.209c2.863 4.105 5.877 8.159 8.959 12.046zm328.245-12.538-4.686-3.207c2.833-4.077 5.589-8.31 8.19-12.582l4.875 2.923c-2.662 4.366-5.481 8.695-8.379 12.866zm-345.804-12.652c-2.646-4.335-5.202-8.817-7.602-13.331l5.034-2.635c2.346 4.413 4.848 8.802 7.437 13.04zm361.769-13.553-5.036-2.632c2.327-4.387 4.564-8.914 6.647-13.455l5.184 2.338c-2.132 4.641-4.416 9.268-6.795 13.749zm-376.176-13.518c-2.119-4.607-4.138-9.352-6.004-14.101l5.302-2.055c1.828 4.654 3.807 9.296 5.879 13.808zm388.96-14.337-5.304-2.048c1.814-4.629 3.522-9.381 5.082-14.12l5.412 1.75c-1.592 4.842-3.338 9.691-5.19 14.418zm-400.166-14.175c-1.592-4.817-3.069-9.752-4.399-14.669l5.502-1.463c1.298 4.817 2.75 9.654 4.305 14.376zm409.739-14.911-5.502-1.458c1.291-4.803 2.471-9.708 3.505-14.589l5.571 1.166c-1.053 4.974-2.257 9.983-3.574 14.881zm-417.727-14.636c-1.054-4.951-1.991-10.012-2.787-15.046l5.623-.877c.781 4.937 1.701 9.904 2.733 14.754zm424.076-15.296-5.622-.869c.769-4.914 1.421-9.917 1.933-14.878l5.666.578c-.525 5.057-1.19 10.16-1.977 15.169zm-428.849-14.92c-.527-5.04-.926-10.169-1.191-15.247l5.686-.289c.259 4.978.652 10.012 1.169 14.955zm432.002-15.5-5.685-.286c.254-4.964.383-10.011.383-15.001v-.494h5.693v.485c0 5.096-.132 10.241-.391 15.296zm-427.906-15.039h-5.693v-.248c0-5 .129-10.061.378-15.035l5.
2686.282c-.244 4.883-.371 9.848-.371 14.753zm422.194-15.738c-.262-4.981-.659-10.013-1.183-14.956l5.665-.588c.53 5.04.934 10.17 1.204 15.247zm-420.68-14.222-5.664-.573c.518-5.059 1.18-10.163 1.961-15.171l5.625.864c-.765 4.911-1.41 9.917-1.922 14.88zm417.539-15.609c-.785-4.934-1.708-9.897-2.747-14.75l5.569-1.174c1.059 4.951 2 10.012 2.801 15.044zm-412.908-14.028-5.572-1.158c1.05-4.979 2.25-9.987 3.563-14.886l5.503 1.453c-1.288 4.8-2.464 9.711-3.494 14.591zm406.629-15.305c-1.306-4.816-2.76-9.65-4.322-14.37l5.409-1.762c1.594 4.815 3.078 9.75 4.409 14.664zm-398.854-13.668-5.412-1.748c1.586-4.84 3.329-9.692 5.174-14.418l5.306 2.042c-1.808 4.63-3.513 9.382-5.068 14.124zm389.425-14.81c-1.832-4.65-3.816-9.294-5.893-13.803l5.178-2.35c2.123 4.604 4.147 9.348 6.02 14.094zm-378.499-13.133-5.186-2.335c2.128-4.647 4.406-9.274 6.78-13.755l5.036 2.626c-2.317 4.386-4.55 8.917-6.63 13.464zm365.933-14.116c-2.351-4.411-4.858-8.795-7.451-13.032l4.869-2.931c2.649 4.331 5.211 8.814 7.614 13.323zm-351.888-12.402-4.876-2.916c2.658-4.374 5.471-8.707 8.361-12.876l4.69 3.203c-2.823 4.075-5.578 8.311-8.175 12.589zm336.224-13.196c-2.865-4.103-5.883-8.153-8.973-12.039l4.469-3.499c3.162 3.978 6.251 8.124 9.183 12.321zm-319.111-11.461-4.481-3.485c3.177-4.021 6.511-7.977 9.91-11.758l4.246 3.761c-3.319 3.692-6.575 7.555-9.675 11.482zm300.425-12.03c-3.365-3.719-6.877-7.351-10.437-10.796l3.978-4.044c3.65 3.533 7.248 7.255 10.695 11.066zm-280.346-10.282-3.988-4.03c3.681-3.586 7.513-7.075 11.39-10.371l3.703 4.292c-3.779 3.21-7.515 6.61-11.105 10.109zm258.771-10.588c-3.832-3.235-7.806-6.355-11.81-9.277l3.373-4.551c4.113 3.001 8.193 6.205 12.125 9.524zm-235.889-8.84-3.39-4.539c4.153-3.054 8.454-5.98 12.776-8.695l3.043 4.773c-4.203 2.64-8.387 5.486-12.429 8.461zm211.634-8.844c-4.247-2.649-8.625-5.156-13.017-7.455l2.657-4.997c4.517 2.364 9.022 4.944 13.39 7.669zm-186.188-7.135-2.672-4.988c4.563-2.41 9.254-4.66 13.942-6.687l2.276 5.177c-4.553 1.971-9.11 4.157-13.546 6.498zm159.618-6.763c-4.602-1.972-9.32-3.777-14.024-5.363l1.832-5.349c4.847 1.637 9.709 3.495 14.448 5.526zm-132.068-5.148-1.852-5.341c4.871-1.664 9.859-3.145 14.827-4.403l1.408 5.475c-4.82 1.219-9.657 2.656-14.383 4.269zm103.627-4.439c-4.853-1.211-9.807-2.232-14.725-3.036l.925-5.574c5.072.83 10.182 1.883 15.184 3.13zm-74.548-2.92-.949-5.57c5.074-.85 10.246-1.501 15.366-1.93l.48 5.629c-4.966.416-9.978 1.046-14.897 1.871zm44.917-1.929c-4.843-.389-9.774-.584-14.656-.584h-.358v-5.65h.343c5.049 0 10.135.204 15.129.603z",fill:"#fff"}})])])]),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-rounded-full tw-block tw-w-full",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.takePhoto.apply(null,arguments)}}},[t._v("\n              Take Picture\n            ")])])])],1)])],1),t._v(" "),e("canvas",{ref:"canvas",staticClass:"tw-hidden",attrs:{width:"1280",height:"720"}})],1)}),[],!1,null,"3eac0d8b",null).exports},88880:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(81409),i=n(7912);const o={components:{InlineError:r.Z},mixins:[i.ZP],props:{labelTitle:{required:!1,type:String,default:"Upload a clear Photo"},labelExtraInfo:{required:!1,type:String,default:"Format: JPG or PNG | Max size: 2MB"}},data:function(){return{id:null,success:!1}},mounted:function(){this.id=this._uid},methods:{remove:function(){this.cancelMediaAttempt(),this.mediaError="",this.success=!1,this.$emit("undoUpload")},handlePhotoUpload:function(t){var e,n=this,r=null===(e=t.target.files)||void 0===e?void 0:e[0];if(r){var i=this.beginMediaAttempt();this.success=!1;var o=new FileReader;o.addEventListener("load",(function(){n.isCurrentMediaAttempt(i)&&n.convertImage(o.result,n.resizeImage,i)})),o.addEventListener("error",(function(){return n.failPhotoRead(i)}));try{o.readAsDataURL(r)}catch(t){this.failPhotoRead(i)}}},failPhotoRead:function(t){this.isCurrentMediaAttempt(t)&&(this.$refs.input.value=null,this.reportMediaError("We were unable to read this photo. Please choose the photo again or try another image."))},convertImage:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.mediaAttempt,i=new Image;i.addEventListener("load",(function(){if(n.isCurrentMediaAttempt(r)){var t=i.width,o=i.height;if(t>o&&t>=640)o*=640/t,t=640;else{if(!(o>=360))return n.$refs.input.value=null,n.reportMediaError("The uploaded image size is too small, please upload an image with dimensions that's at least 640 x 360px (width by height).");t*=360/o,o=360}e(i,t,o,r)}})),i.addEventListener("error",(function(){return n.failPhotoRead(r)})),i.src=t},resizeImage:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.mediaAttempt;if(this.isCurrentMediaAttempt(r))try{var i=document.createElement("canvas");i.width=e,i.height=n,i.getContext("2d").drawImage(t,0,0,e,n);var o=i.toDataURL("image/png");this.mediaError="",this.success=!0,this.$emit("done","photo-uploaded",o)}catch(t){this.failPhotoRead(r)}}}};const a=(0,n(51900).Z)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-relative tw-flex tw-flex-col tw-flex-1 tw-min-w-0 tw-w-4/5 tw-mx-auto md:tw-w-full"},[e("label",{ref:"mediaControl",staticClass:"tw-text-center tw-bg-white tw-w-full tw-shadow-sm tw-rounded-2xl tw-flex tw-flex-col tw-items-center tw-px-5 tw-py-5 tw-cursor-pointer tw-border focus:tw-ring-2 focus:tw-ring-orange-500",attrs:{for:t.id,"data-media-control":"",role:"button",tabindex:"0","aria-describedby":t.mediaDescription,"aria-invalid":t.mediaDescription?"true":null},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$refs.input.click())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.$refs.input.click())}]}},[t._m(0),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-col"},[t._m(1),t._v(" "),e("div",{staticClass:"tw-my-3 tw-text-sm tw-text-black"},[e("div",[t._v("\n          "+t._s(t.labelTitle)+"\n        ")]),t._v(" "),e("div",{staticClass:"tw-text-xs"},[t._v("\n          "+t._s(t.labelExtraInfo)+"\n        ")])])])]),t._v(" "),e("input",{ref:"input",staticClass:"tw-hidden",attrs:{id:t.id,type:"file",accept:"image/*"},on:{change:t.handlePhotoUpload}}),t._v(" "),e("InlineError",{attrs:{id:t.mediaErrorId,messages:t.mediaErrorMessages}}
2)],1)}),[function(){var t=this._self._c;return t("div",{},[t("img",{attrs:{src:"/assets/img/upload_icon.png"}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-rounded-full tw-bg-brand-brown tw-text-white tw-px-6 tw-py-2"},[e("span",{staticClass:"sm:tw-hidden"},[t._v("\n          Take /\n        ")]),t._v("Upload Photo\n      ")])}],!1,null,null,null).exports},94451:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={name:"Notices",components:{CardModal:n(411).Z},props:["notice"],data:function(){return{displayPopUpNotice:!0}},computed:{arrayNotices:function(){return Array.isArray(this.notice)&&this.displayPopUpNotice}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-bg-white tw-p-4"},[e("CardModal",{attrs:{show:t.arrayNotices,closeable:!1,"show-cancel-button":!1}},[e("Transition",{attrs:{name:"fade",mode:"out-in"}},[e("div",{},[e("div",{staticClass:"tw-mx-auto tw-flex tw-items-center tw-justify-center tw-h-12 tw-w-12 tw-rounded-full tw-bg-yellow"},[e("svg",{staticClass:"tw-h-12 tw-w-12 tw-text-white",attrs:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}})])]),t._v(" "),e("div",[e("div",{staticClass:"tw-mt-3 tw-text-center sm:tw-mt-5"},[e("h3",{staticClass:"tw-text-xl tw-leading-6 tw-ont-medium tw-text-black tw-mb-3"},[t._v("\n              You selected the "+t._s(t.notice.length>1?"following are they ":"below option, is this ")+" correct ?\n            ")]),t._v(" "),e("div",{staticClass:"tw-mt-2 overflow-auto"},[t.arrayNotices?e("div",t._l(t.notice,(function(n,r){return e("div",{key:r,staticClass:"tw-flex tw-items-start tw-mb-3"},[e("div",{staticClass:"tw-shrink-0"},[e("svg",{staticClass:"tw-h-5 tw-w-5 tw-text-red-500",attrs:{viewBox:"0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"}})])]),t._v(" "),e("div",{staticClass:"tw-ml-3 tw-flex-1 md:tw-flex md:tw-justify-between md:tw-items-center"},[e("p",{staticClass:"tw-ml-3 tw-flex-1 md:tw-flex md:tw-justify-between md:tw-items-center tw-text-left tw-text-sm tw-text-red"},[t._v("\n                      "+t._s(n)+"\n                    ")])])])})),0):t._e()])])]),t._v(" "),e("div",{staticClass:"tw-mt-5 sm:tw-mt-6 tw-flex tw-flex-col lg:tw-flex-row"},[e("span",{staticClass:"tw-flex tw-w-full sm:tw-col-start-2 tw-py-2 lg:tw-py-0"},[e("button",{staticClass:"lg:tw-mr-4 tw-cursor-pointer tw-inline-flex tw-justify-center tw-w-full tw-border tw-border-transparent tw-px-4 tw-py-2 tw-bg-white tw-text-base tw-leading-6 tw-font-medium tw-text-black tw-shadow-sm hover:tw-bg-gray-200 hover:tw-text-black tw-transition-all tw-duration-500 focus:tw-outline-none focus:tw-border-black sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-shadow-lg",attrs:{type:"button"},on:{click:function(e){t.displayPopUpNotice=!1,t.$emit("reset")}}},[t._v("\n              No\n            ")])]),t._v(" "),e("span",{staticClass:"tw-mt-3 tw-flex tw-w-full sm:tw-mt-0 sm:tw-col-start-1"},[e("button",{staticClass:"tw-cursor-pointer tw-inline-flex tw-justify-center tw-w-full tw-border tw-border-gray-light tw-px-4 tw-py-2 tw-text-base tw-leading-6 tw-font-medium tw-text-white tw-shadow-sm hover:tw-text-gray-500 focus:outline-none focus:border-white focus:shadow-outline sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-shadow-lg !tw-bg-black",attrs:{type:"button"},on:{click:function(e){return t.$emit("acknowledge")}}},[t._v("\n              Yes\n            ")])])])])])],1)],1)}),[],!1,null,"1e453cf6",null).exports},18298:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var r=n(88880),i=n(81409),o=n(7912),a=n(55767);const s={components:{PhotoUploader:r.Z,FacialPhotoTaker:a.Z,InlineError:i.Z},mixins:[o.ZP],data:function(){return{showContinue:!1,images:{front:"",top:"",side:""},angle:"front"}},computed:{isFront:function(){return"front"==this.angle},isTop:function(){return"top"==this.angle},isSide:function(){return"side"==this.angle}},watch:{images:{handler:function(t){var e=Object.values(t).every((function(t){return""!==t}));this.showContinue=e,e&&(this.mediaError="")},deep:!0}},methods:{removePhoto:function(t){this.images[t]="",this.$emit("undoUpload")}
2,continueEnrollment:function(){if(this.inlineValidation&&!Object.values(this.images).every((function(t){return""!==t})))return this.reportMediaError("Please provide all three photo angles before continuing.");this.$emit("done",this.images,JSON.stringify(this.images))},receivedFront:function(t,e){this.images.front=e},receivedTop:function(t,e){this.images.top=e},receivedSide:function(t,e){this.images.side=e}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",{ref:"mediaControl",staticClass:"tw-mb-64",attrs:{"data-media-control":"",role:"group",tabindex:"-1","aria-label":"Photo angles","aria-describedby":t.mediaDescription,"aria-invalid":t.mediaDescription?"true":null}},[t.isFront?e("div",{staticClass:"tw-mb-8 tw-text-center sm:tw-text-left"},[e("div",{staticClass:"tw-font-medium tw-text-3xl md:tw-text-4xl tw-py-5 tw-text-white tw-px-2 -tw-mt-24 tw-text-center lg:tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n      Provide Photo:  front angle of affected areas of skin\n    ")]),t._v(" "),e("Transition",{attrs:{mode:"out-in",name:"fade"}},[""===t.images.front?e("div",{staticClass:"tw-flex tw-flex-1 tw-w-full tw-items-center tw-justify-center sm:tw-justify-center tw-overflow-x-scroll"},[e("PhotoUploader",{attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedFront}}),t._v(" "),e("h3",{staticClass:"tw-px-4 tw-hidden sm:tw-block"},[t._v("\n          OR\n        ")]),t._v(" "),e("FacialPhotoTaker",{staticClass:"tw-hidden sm:tw-block",attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedFront}})],1):e("div",{staticClass:"tw-flex tw-items-center tw-flex-1 tw-px-6"},[e("div",{staticClass:"tw-w-3/5 tw-mr-auto tw-h-64 tw-bg-cover tw-bg-center tw-rounded-xl tw-shadow",staticStyle:{transform:"scaleX(-1)"},style:{backgroundImage:"url('".concat(t.images.front,"')")}}),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-btn-lg tw-h-16 tw-rounded-lg",attrs:{type:"button"},on:{click:function(e){return t.removePhoto("front")}}},[t._v("\n          Retake Photo\n        ")])])])],1):t._e(),t._v(" "),t.isSide?e("div",{staticClass:"tw-mb-8 tw-text-center sm:tw-text-left"},[e("div",{staticClass:"tw-font-medium tw-text-3xl md:tw-text-4xl tw-py-5 tw-text-white tw-px-2 -tw-mt-24 tw-text-center lg:tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n      Provide Additional Photo: side angle of the affected areas of skin\n    ")]),t._v(" "),e("Transition",{attrs:{mode:"out-in",name:"fade"}},[""===t.images.side?e("div",{staticClass:"tw-flex tw-items-center tw-justify-center sm:tw-justify-start tw-overflow-x-scroll"},[e("PhotoUploader",{attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedSide}}),t._v(" "),e("h3",{staticClass:"tw-px-4 tw-hidden sm:tw-block"},[t._v("\n          OR\n        ")]),t._v(" "),e("FacialPhotoTaker",{staticClass:"tw-hidden sm:tw-block",attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedSide}})],1):e("div",{staticClass:"tw-flex tw-items-center tw-flex-1 tw-px-6"},[e("div",{staticClass:"tw-w-3/5 tw-mr-auto tw-h-64 tw-bg-cover tw-bg-center tw-rounded-xl tw-shadow",staticStyle:{transform:"scaleX(-1)"},style:{backgroundImage:"url('".concat(t.images.side,"')")}}),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-text-white tw-btn-lg tw-h-16 tw-rounded-lg",attrs:{type:"button"},on:{click:function(e){return t.removePhoto("side")}}},[t._v("\n          Retake Photo\n        ")])])])],1):t._e(),t._v(" "),t.isTop?e("div",{staticClass:"tw-mb-8 tw-text-center sm:tw-text-left"},[e("div",{staticClass:"tw-font-medium tw-text-3xl md:tw-text-4xl tw-py-5 tw-text-white tw-px-2 -tw-mt-24 tw-text-center lg:tw-text-left lg:tw-w-full tw-break-words lg:tw-whitespace-normal tw-leading-none"},[t._v("\n      Provide Additional Photo: top angle affected areas of skin\n    ")]),t._v(" "),e("Transition",{attrs:{mode:"out-in",name:"fade"}},[""===t.images.top?e("div",{staticClass:"tw-flex tw-items-center tw-justify-center sm:tw-justify-start tw-overflow-x-scroll"},[e("PhotoUploader",{attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedTop}}),t._v(" "),e("h3",{staticClass:"tw-px-4 tw-hidden sm:tw-block"},[t._v("\n          OR\n        ")]),t._v(" "),e("FacialPhotoTaker",{staticClass:"tw-hidden sm:tw-block",attrs:{"inline-validation":t.inlineValidation},on:{done:t.receivedTop}})],1):e("div",{staticClass:"tw-flex tw-items-center tw-flex-1 tw-px-6"},[e("div",{staticClass:"tw-w-3/5 tw-mr-auto tw-h-64 tw-bg-cover tw-bg-center tw-rounded-xl tw-shadow",staticStyle:{transform:"scaleX(-1)"},style:{backgroundImage:"url('".concat(t.images.top,"')")}}),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-btn-lg tw-h-16 tw-rounded-lg",attrs:{type:"button"},on:{click:function(e){return t.removePhoto("top")}}}
2,[t._v("\n          Retake Photo\n        ")])])])],1):t._e(),t._v(" "),e("InlineError",{attrs:{id:t.mediaErrorId,messages:t.mediaErrorMessages}}),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.showContinue?e("button",{staticClass:"tw-mt-10 tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-rounded-full tw-btn-lg",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.continueEnrollment.apply(null,arguments)}}},[t._v("\n      Continue →\n    ")]):t._e()]),t._v(" "),e("div",{staticClass:"tw-px-6"},[t.isFront&&t.images.front.length>0?e("button",{staticClass:"tw-mt-10 tw-block tw-w-full tw-bg-black tw-text-white tw-btn-lg tw-rounded-full",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.angle="side"}}},[t._v("\n      Continue\n    ")]):t._e(),t._v(" "),t.isSide&&t.images.side.length>0?e("button",{staticClass:"tw-mt-10 tw-block tw-w-full tw-btn tw-bg-black tw-text-white tw-btn-lg tw-rounded-full",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.angle="top"}}},[t._v("\n      Continue\n    ")]):t._e()])],1)}),[],!1,null,"49c33e87",null).exports},57194:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={components:{CardModal:n(411).Z},props:{value:{required:!0,type:Boolean}},data:function(){return{showTerms:!1,showPrivacyPolicy:!1,showTelehealth:!1,showNpp:!1,agreedToTerms:!1,agreedToNpp:!1}},methods:{update:function(){if(this.agreedToTerms&&this.agreedToNpp)return this.$emit("input",!0);this.$emit("input",!1)}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"relative tw-pt-10"},[e("label",{staticClass:"tw-leading-none tw-text-gray-700 tw-text-lg tw-flex tw-items-center tw-mb-4 tw-ml-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.agreedToTerms,expression:"agreedToTerms"}],staticClass:"tw-w-4 tw-h-4 tw-text-brand-brown tw-bg-white tw-border tw-border-black tw-rounded-full tw-mr-2",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.agreedToTerms)?t._i(t.agreedToTerms,null)>-1:t.agreedToTerms},on:{change:[function(e){var n=t.agreedToTerms,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.agreedToTerms=n.concat([null])):o>-1&&(t.agreedToTerms=n.slice(0,o).concat(n.slice(o+1)))}else t.agreedToTerms=i},t.update]}}),t._v(" "),t._m(0)]),t._v(" "),e("label",{staticClass:"tw-leading-none tw-text-gray-700 tw-text-lg tw-flex tw-items-center tw-mb-10 tw-ml-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.agreedToNpp,expression:"agreedToNpp"}],staticClass:"tw-w-4 tw-h-4 tw-text-brand-brown tw-bg-white tw-border tw-border-black tw-rounded-full tw-mr-2",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.agreedToNpp)?t._i(t.agreedToNpp,null)>-1:t.agreedToNpp},on:{change:[function(e){var n=t.agreedToNpp,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.agreedToNpp=n.concat([null])):o>-1&&(t.agreedToNpp=n.slice(0,o).concat(n.slice(o+1)))}else t.agreedToNpp=i},t.update]}}),t._v(" "),t._m(1)]),t._v(" "),e("CardModal",{attrs:{show:t.showTerms},on:{hide:function(e){t.showTerms=!1}}},[e("div",{staticClass:"tw-container tw-py-24 tw-text-justify"},[e("h1",{staticClass:"tw-text-black tw-text-5xl tw-font-bold tw-uppercase tw-text-center"},[t._v("\n        Nu Image Website Terms of Use\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-black"},[t._v("\n        Last revised July 27th, 2026\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-gray-darker"},[t._v("\n        These terms and conditions of use (“Terms of Use”) govern your use of online interfaces and properties (e.g., websites) owned and controlled by Nu Image Medical®, Inc., including the www.nuimagemedical.com website (the “Site”), as well as the services (“Services”) and products (“Products”) available to users through the Site. Nu Image Medical®, Inc. (“Nu Image”, “we,” “us,” and “our”) contracts with P.A. (“MD Integrations”) and the Wellness Provider Group regarding online telehealth medical consultations and secure messaging between and the Wellness Provider Group physicians and other healthcare professionals (individually the “Provider” and collectively the “Providers”) and their patients. (See Section 20 for supplemental terms applicable to Providers.) The professional medical services (which are provided by and the Wellness Provider Group) and the non-clinical Site services (which are provided by Nu Image) are collectively referred to in this Terms of Use as the “Services”. The terms “you” and “your” means you, your dependent(s) if any, and any other person accessing your Nu Image Account.\n      ")]),t._v(" "),e("p",[e("strong",[t._v("Please read these Terms of Use Carefully before accessing our Services. ")])]),t._v(" "),e("p",{staticClass:"tw-font-bold"},[t._v("\n        Your acceptance of, and compliance with, these Terms of Use is a condition to your use of the Site and Services and purchase of Products. By accessing and using the Site, you acknowledge that you have read, understand, and accept all terms and conditions contained within these Terms of Use, the Notice of "),e("a",{attrs:{title:"Privacy Practices",href:"/notice-
2of-privacy-practices",target:"__blank"}},[t._v("Privacy Practices")]),t._v(" provided to you by the and the Wellness Provider Group, and our "),e("a",{attrs:{title:"Privacy Policy",href:"/privacy-policy",target:"__blank"}},[t._v("Privacy Policy")]),t._v(". If you do not agree to be bound by these terms, you are not authorized to access or use this Site or Services; promptly exit this Site.\n      ")]),t._v(" "),e("p",{staticClass:"tw-font-bold"},[t._v("\n        We may amend these Terms of Use by posting the amended versions on our Site. By continuing to access or use our Services after we post amended versions, you confirm your agreement to the Terms of Use, as amended. If you do not agree with any of the changes, you must immediately stop accessing our Services, and your license to use our Services will immediately terminate.\n      ")]),t._v(" "),e("p",[e("strong",[t._v("Binding Arbitration; Class Action Waiver.")]),t._v(" These Terms of Use provide that all disputes between you and Nu Image that in any way relate to these Terms of Use or your use of the Site will be resolved by BINDING ARBITRATION. ACCORDINGLY, YOU AGREE TO GIVE UP YOUR RIGHT TO GO TO COURT (INCLUDING IN A CLASS ACTION PROCEEDING) to assert or defend your rights under these Terms of Use. Your rights will be determined by a NEUTRAL ARBITRATOR and NOT a judge or jury and your claims cannot be brought as a class action. Please review the Section below entitled Dispute Resolution; Arbitration Agreement for the details regarding your agreement to arbitrate any disputes with Nu Image.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        1. Privacy Practices\n      ")]),t._v(" "),e("p",[t._v("\n        You agree that information provided by or collected from you in connection with the Services and Site shall be governed by the Nu Image\n        "),e("a",{attrs:{title:"Privacy Policy",href:"/privacy-policy",target:"__blank"}},[t._v("Privacy Policy")]),t._v(", available here, as well as the relevant privacy policies of our Providers, which are hereby incorporated by reference into these Terms.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        2. Services Provided – No Medical Care or Advice by Nu Image\n      ")]),t._v(" "),e("p",[t._v("We offer an online communication platform for Providers and their patients to connect via the Site through the use of synchronous and asynchronous telecommunications technologies. The Site facilitates communication between patients and Providers.")]),t._v(" "),e("p",[e("strong",[e("span",{staticClass:"tw-underline"},[t._v("\n            Nu Image does not provide medical advice or medical care.\n          ")])]),t._v(" Nu Image contracts with an independent, physician-owned medical group with a network of United States based Providers who provide clinical telehealth services. MD Integrations Providers deliver clinical services via the Nu Image platform to their patients. Providers are independently contracted or employed by MD Integrations. Providers are not contracted or employed by Nu Image. The Providers, and not Nu Image, are responsible for the quality and appropriateness of the care they render to you.\n      ")]),t._v(" "),e("p",[t._v("\n        The Providers are independent of Nu Image and are merely using the Site as a way to communicate with you. Any information or advice received from a Provider comes from them alone, and not from Nu Image. Your interactions with the providers via the Site are not intended to take the place of your relationship with your regular health care practitioners or primary care physician. Neither Nu Image, nor any of its subsidiaries or affiliates or any third party who may promote the Site or Service or provide a link to the Service, shall be liable for any professional advice obtained from a Provider via the Site or Service, nor any information obtained on the Site. Nu Image does not recommend or endorse any specific Providers, tests, physicians, medications, products, or procedures. You acknowledge that your reliance on any Providers or information delivered by the Providers via the Site or Service is solely at your own risk and you assume full responsibility for all risks associated herewith.\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image does not make any representations or warranties about the training or skill of any Providers who deliver services via the Site or Services. You will be provided with available Providers based solely on the information you submit to the Site. You are ultimately responsible for choosing a Provider.\n      ")]),t._v(" "),e("p",[t._v("\n        The content of the Site and the Services, including without limitation, text, copy, audio, video, photographs, illustrations, graphics, and other visual
2s, is for informational purposes only and does not constitute professional medical advice, diagnosis, treatment, or recommendations of any kind by Nu Image. You should always seek the advice of your qualified health care professionals with any questions or concerns you may have regarding your individual needs and any medical conditions. All information provided by Nu Image, or in connection with any communications supported by Nu Image, is intended to be for general information purposes only, and is in no way intended to create a provider-patient relationship as defined by state or federal law. While Nu Image facilitates your selection of, and communications with, Providers, Nu Image does not provide medical services, and the physician-patient relationship is between you and the Provider you select.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Not for Emergencies\n      ")]),t._v(" "),e("p",{staticClass:"tw-font-bold"},[t._v("\n        IF YOU ARE EXPERIENCING A MEDICAL EMERGENCY, YOU SHOULD DIAL“911” IMMEDIATELY.\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image’s Site and Services are not for medical emergencies or urgent situations. You should not disregard or delay to seek medical advice based on anything that appears or does not appear on the Site. If you believe you have an emergency, call 9-1-1 immediately.\n      ")]),t._v(" "),e("p",[t._v("\n        You should seek emergency help or follow up care when recommended by a Provider or when otherwise needed. You should continue to consult with your primary provider and other healthcare professionals as recommended. Always seek the advice of a physician or other qualified healthcare provider concerning questions you have regarding a medical condition and before stopping, starting, or modifying any treatment or modification.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Risks of Telehealth Services\n      ")]),t._v(" "),e("p",[t._v("\n        By using the Services, you acknowledge the potential risks associated with telehealth services. These include but are not limited to the following: information transmitted may not be sufficient (e.g. poor resolution of images) to allow for appropriate medical or health care decision making by the Provider; delays in evaluation or treatment could occur due to failures of electronic equipment; a lack of access to your medical records may result in adverse drug interactions or allergic reactions or other judgment errors; although the electronic systems we use incorporate network and software security protocols to protect the privacy and security of health information, those protocols could fail causing a breach of privacy of your health information.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Prescription Policy\n      ")]),t._v(" "),e("p",[t._v("\n        Neither Nu Image nor Providers endorse any specific medication, pharmacy, or pharmacologic product. If a Provider prescribes a medication, he/she will limit supply based upon state regulations and will only prescribe a medication determined in his/her own discretion and professional judgment. There is no guarantee a prescription will be written. Providers do not prescribe DEA controlled substances or scheduled medications, or certain other drugs which may be harmful because of their potential for abuse. Providers reserve the right to deny care for actual or potential misuse of the Services.\n      ")]),t._v(" "),e("p",[t._v("\n        You agree that any prescriptions that you acquire from a Provider will be solely for your personal use. You agree to fully and carefully read all provided product information and labels and to contact a physician or pharmacist if you have any questions regarding the prescription. We provide access to prescription fulfillment services offered by the following pharmacies: Absolute Pharmacy, LLC, Belmar Pharma Solutions, The Pharmacy Hub, and TMC Acquisition, LLC dba Tailor Made Compounding. Nu Image and Providers fully honor patient freedom of choice and, if you receive a prescription for a medication, you always have the option to instruct Providers to transmit that prescription to the pharmacy of your choice.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Not an Insurance Product\n      ")]),t._v(" "),e("p",[t._v("\n        Neither Nu Image nor Providers are insurers. The Services are not insurance products, and the amounts you pay to Nu Image and Providers are not insurance premiums. If you desire any type of health or other insurance, you will need to purchase such insurance separately.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        3. Availability of Services\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image and Providers operate subject to state and federal regulations, and the Services may not be available in your state. You represent that you are not a person barred from enrolling for and/or receiving the Services under the laws of the United States or other applicable jurisdictions in which you may be located. Access to and use of the Site and/or the Services is limited exclusively to users located in States within the United States where the Services are available. Services are not available to users located outside the United States. Accessing the Site or Services from jurisdictions where content is illegal, or where we do not offer Services, is prohibited.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        4. Ordering and Purchasing of Services or Products\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Order Acceptance and Shipment\n      ")]),t._v(" "),e("p",[t._v("\n        Your placement of an order does not necessarily ensure that we will accept your order. We may require additional information regarding your order if you have not provided all the information required by us to completed. Once a properly completed order and authorization of your form of payment is received, we will process your order and Product for shipment. If, for some reason, we determined that we cannot ship your Product(s) within thirty (30) days following our receipt of a properly completed order, we will cancel your order and advise you of such action. We do not accept orders from dealers, wholesalers, or other customers who intend to resell items offered on our Site.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Typographical Errors and Incorrect Pricing\n      ")]),t._v(" "),e("p",[t._v("\n        In the event a Product or Service is listed at an incorrect price due to typographical error or error in pricing information received from a third party, we shall have the right to refuse or cancel any orders placed for the Products and/or Service(s) listed at the incorrect price. We shall have the right to refuse or cancel any such orders whether or not the order has been confirmed and your credit or debit card charged. If your credit or debit card has already been charged for the purchase and your order is canceled, we will promptly issue a credit to your credit or debit card account in the amount of the charge.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Risk of Loss\n      ")]),t._v(" "),e("p",[t._v("All Products purchased from our Site are delivered to shipment carriers. The risk of loss and title for such Products pass to you when they are delivered to the carrier.")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Return Policy\n      ")]),t._v(" "),e("p",[t._v("You may return Products in accordance with our "),e("a",{attrs:{title:"Refund Policy",href:"/cancellation-refund",target:"__blank"}},[t._v("Returns Policy")]),t._v(" posted on our Site.")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Online Payments\n      ")]),t._v(" "),e("p",[t._v("\n        You can purchase Services on the Site. We accept many credit and debit cards issued by U.S. banks. If a credit card account is being used for a transaction, Nu Image may obtain preapproval for an amount up to the amount of the payment. If you enroll to make recurring payments automatically, all charges and fees will be billed to the credit card you designate during the setup process. If you want to de
2signate a different credit card or if there is a change in your credit card, you must change your information online. This may temporarily delay your ability to make online payments while we verify your new payment information. For auto renewing products and services, your payment device will be automatically charged at regular intervals as described for that product or service during the checkout process until you cancel your subscription. You may cancel your auto refills at any time up to forty-eight (48) hours before the applicable renewal processing date of your auto refill through the Service, by emailing [email protected] or logging into your account and selecting the option to cancel.\n      ")]),t._v(" "),e("p",[t._v("\n        You represent and warrant that if you are making online payments that (a) any credit card, debit card and bank account information you supply is true, correct, and complete, (b) charges incurred by you will be honored by your credit/debit card company or bank, (c) you will pay the charges incurred by you in the amounts posted, including, without limitation, any applicable taxes, and (d) you are the person in whose name the card was issued and you are authorized to make a purchase or other transaction with the relevant credit card and credit card information.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        5. Eligibility; Site Access, Security and Restrictions; Passwords\n      ")]),t._v(" "),e("p",[t._v("\n        In order to access the Site and the Services, you represent and warrant that you are older than 18 years old. You agree to fully, accurately, and truthfully create your Nu Image Account (“Account”), including but not limited to your name, mailing address, phone number, email address, and password, which become your Nu Image ID and credentials. The Nu Image ID and/or credentials are personal to you, and you are solely responsible for maintaining the confidentiality of your Nu Image ID and/or credentials, and for all activities that occur under such Nu Image ID and/or credentials. You agree to prohibit anyone else from using your Nu Image ID and/or credentials and agree to immediately notify Nu Image of any actual or suspected unauthorized use of your Nu Image ID and/or credentials or other security concerns of which you become aware. Your access to the Site may be revoked by Nu Image at any time with or without cause.\n      ")]),t._v(" "),e("p",[t._v("\n        You are prohibited from violating or attempting to violate the security of the Site, including, without limitation: (a) accessing data not intended for such user or logging onto a server or an account which the user is not authorized to access; (b) attempting to probe, scan, or test the vulnerability of a system or network or to breach security or authentication measures without proper authorization; or (c) accessing or using the Site or any portion thereof without authorization, in violation of these Terms of Use or in violation of applicable law.\n      ")]),t._v(" "),e("p",[t._v("\n        You may not use any scraper, crawler, spider, robot, or other automated means of any kind to access or copy data on the Site, deep-link to any feature or content on the Site, bypass our robot exclusion headers, or other measures we may use to prevent or restrict access to the Site. Violations of system or network security may result in civil or criminal liability. Nu Image will investigate occurrences that may involve such violations and may involve, and cooperate with, law enforcement authorities in prosecuting users who are involved in such violations. You agree not to use any device, software, or routine to interfere or attempt to interfere with the proper working of this Site or any activity being conducted on this Site.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        6. Electronic Communications\n      ")]),t._v(" "),e("p",[t._v("\n        When you use the Site or Services, or send e-mails, messages, and other communications from your desktop or mobile device to us, you are communicating with us electronically. You consent to receive communications from us electronically. You agree that (a) all agreements and consents can be signed electronically and (b) all notices, disclosures, and other communications that we provide to you electronically satisfy any legal requirement that such notices and other communications be in writing. Nu Image and Providers may contact you by telephone, mail, or email to verify your Account information. Nu Image and Providers may request further information from you and you agree to provide such further information to ensure that you have not fraudulently created your Account. If you do not provide this information in the manner requested within fourteen (14) days of the request, we reserve the right to suspend, discontinue, or deny your access to and use of the Site and the Services until you provide the information to us as requested.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        7. Consent to Receive Calls/SMS\n      ")]),t._v(" "),e("p",[t._v("\n        By providing your phone number, you are agreeing to be contacted by or on behalf of Nu Image and Providers at the number you have provided, including via automated and recurring calls and text messages, to re
2ceive informational, Services related (e.g., progress tracking, prescription fulfillment, appointment reminders, etc.) and communications relating to the Site and Services. You can opt-out of receiving further calls and text messages from us by texting STOP. For Help, you can text HELP. You can contact us. Message and data rates may apply. Please note, that by withdrawing your consent, some Site features and certain Services may no longer be available to you.\n      ")]),t._v(" "),e("p",[t._v("\n        If you have opted into receiving promotional messages, you are agreeing to receive, at the mobile number provided, automated and recurring calls and/or text messages from or on behalf of Nu Image Medical,   and the Wellness Provider Group, about offers, products, and promotions. You are not required to consent or provide your consent as a condition of any purchase. You can opt-out of receiving further calls and text messages from us by texting STOP. For Help, you can text HELP. You can also "),e("a",{staticClass:"tw-text-blue-600 hover:tw-text-blue-900",attrs:{title:"Contact Us",target:"_self",href:"/contact"}},[t._v("contact us")]),t._v(". Message and data rates may apply.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        8. Ownership of The Site and Related Materials; Additional Restrictions\n      ")]),t._v(" "),e("p",[t._v("\n        All pages within this Site and any material made available for download are the property of Nu Image, or its licensors or suppliers, as applicable. The Site is protected by United States and international copyright and trademark laws.\n      ")]),t._v(" "),e("p",[t._v('\n        Subject to these Terms of Use and the payment of all applicable fees, Nu Image grants you a revocable, nontransferable (except as provided below), personal, nonexclusive license to make noncommerical use of the Site. All rights not expressly granted to you in these Terms of Use are reserved and retained by Nu Image or its licensors, suppliers, publishers, rights holders, or other content providers. Neither the Site and Services, nor any part of the Site and Services, may be reproduced, duplicated, copied, sold, resold, visited, or otherwise exploited for any commercial purpose without express written consent of Nu Image. You may not frame or utilize framing techniques to enclose any trademark, logo, or other proprietary information (including images, text, page layout, or form) of Nu Image without express written consent. You may not use any meta tags or any other "hidden text" utilizing Nu Image’s name or trademarks without the express written consent of Nu Image. You may not misuse the Site or Services. You may use the Site and Services only as permitted by law. The content of the Site, including without limitation the files, documents, text, photographs, images, audio, and video, and any materials accessed through or made available for use or download through this Site may not be copied, distributed, modified, reproduced, published, or used, in whole or in part, except for purposes authorized or approved in writing by Nu Image.\n      ')]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        9. No Users Under 18 Years Old\n      ")]),t._v(" "),e("p",[t._v("The Site and Services are only for users of the age of 18. If you are under the age of 18, please do not attempt to register with us at this Site or provide any personal information about yourself to us. If we learn that we have collected personal information from someone under the age of 18, we will promptly delete that information. If you believe we have collected personal information from someone under the age of 18, please "),e("a",{staticClass:"tw-text-blue-600 hover:tw-text-blue-900",attrs:{title:"Contact Us",target:"_self",href:"/contact"}},[t._v("contact us")]),t._v(".")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        10. Accuracy of Information; Functionality\n      ")]),t._v(" "),e("p",[t._v("Although Nu Image attempts to ensure the integrity and accurateness of the Site and Service descriptions, it makes no representations, warranties, or guarantees whatsoever as to the correctness or accuracy of the Site, Service descriptions and other content on the Site. It is possible that the Site could include typographical errors, inaccuracies or other errors, and that unauthorized additions, deleti
2ons, and alterations could be made to the Site by third parties. In the event that an inaccuracy arises, please inform Nu Image so that it can be corrected. Information contained on the Site may be changed or updated without notice. Additionally, Nu Image shall have no responsibility or liability for information or content posted to the Site from any non-Nu Image affiliated third-party.")]),t._v(" "),e("p",[t._v("\n        Nu Image reserves complete and sole discretion with respect to the operation of the Site and the Services. We may withdraw, suspend, or discontinue any functionality or feature of the Site or the Services among other things. We are not responsible for transmission errors, corruption, or compromise of information carried over local or interchange telecommunications carrier. We are not responsible for maintaining information arising from use of the Site or with respect to the Services. We reserve the right to maintain, delete, or destroy all communications or information posted or uploaded to the Site or the Services in accordance with our internal record retention and/or destruction policies.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        11. Links to Other Sites\n      ")]),t._v(" "),e("p",[t._v("Nu Image makes no representations whatsoever about any other website that you may access through this Site. When you access a non-Nu Image site, please understand that it is independent from Nu Image, and that Nu Image has no control over the content on that website. In addition, a link to a non-Nu Image website does not mean that Nu Image endorses or accepts any responsibility for the content, or the use, of the linked site. It is up to you to take precautions to ensure that whatever you select for your use or download is free of such items as viruses, worms, Trojan horses, and other items of a destructive nature. If you decide to access any of the third-party sites linked to this Site, you do this entirely at your own risk.")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        12. User Information\n      ")]),t._v(" "),e("p",[t._v("\n        If you submit, upload, post, or transmit any health information, medical history, conditions, problems, symptoms, personal information, consent forms, agreements, requests, comments, ideas, suggestions, information, files, videos, images, or other materials (“User Information”) to us or our Site, you agree not to provide any User Information that (a) is false, inaccurate, defamatory, abusive, libelous, unlawful, obscene, threatening, harassing, fraudulent, pornographic, or harmful, or that could encourage criminal or unethical behavior, (b) violates or infringes the privacy, copyright, trademark, trade dress, trade secrets, or intellectual property rights of any person or entity, or (c) contains or transmits a virus or any other harmful component. You agree not to contact other Site users through unsolicited e-mail, telephone calls, mailings, or any other method of communication. You represent and warrant to Nu Image and Providers that you have the legal right and authorization to provide all User Information to Nu Image and Providers for use as set forth herein and required by Nu Image and Providers.\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image and Providers may de-identify your information such that it is no longer considered protected health information or personally identifiable information. Nu Image and Providers may disclose, aggregate, sell, or otherwise use such de-identified information to third parties for analytics, research, or other purposes.\n      ")]),t._v(" "),e("p",[t._v("\n        You agree not to: (i) access the Site or use the Services in any unlawful way or for any unlawful purpose; (ii) post or transmit (1) a message under a false name, or (2) any data, materials, content, or information (including, without limitation, advice, and recommendations) (collectively “Information”) which is (A) libelous, defamatory, obscene, fraudulent, false, or contrary to the ownership or intellectual property rights of any other person, or (B) contains or promotes any virus, worm, Trojan horse, time bomb, malware, or other computer programing or code that is designed or intended to damage, destroy, intercept, download, interfere, manipulate, or otherwise interrupt or expropriate the Site or the Services, personal information, software, equipment, servers, or Information or facilitate or promote hacking or similar conduct; (iii) impersonate or misrepresent your identity or falsely state or misrepresent your affiliation with a person or entity; (iv) tamper, hack, spoof, copy, modify, or otherwise corrupt the administration, security, or proper function of the Site or the Services; (v) use robots or scripts with the Site; (vi) attempt to reverse engine, reverse assemble, reverse compile, decompile, disassemble, translate, or otherwise alter, defraud, or create false results from any executable code, information on, or received by this Site; (vii) to have any antivirus or antispyware software running that is set to override the internet browser’s cookies setting; (viii) incorrectly identify the sender of any message transmitted to Nu Image; (ix) alter the attribution or origin of electronic mail, messages, or posting; (x) harvest or collect personal health information about any other individual who uses the Site or the Services; and (xi) infringe or facilitate infringement on any copyright, patent, trademark, trade secret, or other proprietary, publicity, or privacy rights of any party, including but not limited to, such rights of third parties.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        13. Claims of Copyright Infringement\n      ")]),t._v(" "),e("p",[t._v("\n        We disclaim any responsibility or liability for copyrighted materials posted on our Site. If you believe that your work has been copied in a manner that c
2onstitutes copyright infringement, please follow the procedures set forth below.\n      ")]),t._v(" "),e("p",[t._v('\n        Nu Image respects the intellectual property rights of others and expects its users to do the same. In accordance with the Digital Millennium Copyright Act ("DMCA"), we will respond promptly to notices of alleged infringement that are reported to Nu Image’s Designated Copyright Agent, identified below.\n      ')]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Notices of Alleged Infringement for Content Made Available on the Site\n      ")]),t._v(" "),e("p",[t._v('\n        If you are a copyright owner, authorized to act on behalf of one, or authorized to act under any exclusive right under copyright, please report alleged copyright infringements taking place on or through our Site by sending us a notice ("Copyright Notice") complying with the following requirements.\n      ')]),t._v(" "),e("ol",{staticClass:"tw-ml-4"},[e("li",{staticClass:"tw-list-decimal"},[t._v("\n          Identify the copyrighted works that you claim have been infringed.\n        ")]),t._v(" "),e("li",{staticClass:"tw-list-decimal"}
vendor: 5,856 bytes, line 2
2,[t._v("\n          Identify the material or link you claim is infringing (or the subject of infringing activity) and that access to which is to be disabled, including at a minimum, if applicable, the URL of the link shown on the Site where such material may be found.\n        ")]),t._v(" "),e("li",{staticClass:"tw-list-decimal"},[t._v("\n          Provide your mailing address, telephone number, and, if available, email address.\n        ")]),t._v(" "),e("li",{staticClass:"tw-list-decimal"},[e("div",[t._v("Include both of the following statements in the body of the Copyright Notice:")]),t._v(" "),e("p",{staticClass:"tw-pl-3"},[t._v('\n            "I hereby state that I have a good faith belief that the disputed use of the copyrighted material is not authorized by the copyright owner, its agent, or the law (e.g., as a fair use)" AND "I hereby state that the information in this Copyright Notice is accurate and, under penalty of perjury, that I am the owner, or authorized to act on behalf of the owner, of the copyright or of an exclusive right under the copyright that is allegedly infringed."\n          ')])]),t._v(" "),e("li",{staticClass:"tw-list-decimal"},[t._v("\n          Provide your full legal name and your electronic or physical signature.\n        ")])]),t._v(" "),e("p",[t._v("Deliver this Notice, with all items completed, to our Copyright Agent: ")]),t._v(" "),e("ul",{staticClass:"tw-list-none tw-text-blacker tw-pl-0"},[e("li",[t._v("NU IMAGE MEDICAL®, INC.")]),t._v(" "),e("li",[t._v("Shyamie Dixit, Esq.")]),t._v(" "),e("li",[t._v("\n          5401 W. Kennedy Blvd,\n          Suite #100 "),e("br"),t._v("\n          Tampa, FL 33609\n        ")]),t._v(" "),e("li",[e("a",{staticClass:"tw-text-blue-600 hover:tw-text-blue-900",attrs:{title:"Contact Us",target:"_self",href:"/contact"}},[t._v("contact us")])])]),t._v(" "),e("p",[t._v("\n        If you believe material that you have posted to the Services has been improperly taken down, you may file a written counter-notice with our DMCA Agent. Please include the following details:\n      ")]),t._v(" "),e("ol",{staticClass:"tw-ml-4"},[e("li",{staticClass:"tw-list-decimal"},[t._v("\n          Identification of the material that has been removed or to which access has been disabled and the location at which it appeared before it was removed or disabled.\n        ")]),t._v(" "),e("li",{staticClass:"tw-list-decimal"},[t._v("\n          A statement, under penalty of perjury, that you have a good faith belief that the material was removed or disabled as a result of mistake or misidentification.\n        ")]),t._v(" "),e("li",{staticClass:"tw-list-decimal"},[t._v("\n          Your name, address, telephone number, and, if available, email address.\n        ")]),t._v(" "),e("li",{staticClass:"tw-list-decimal"},[t._v("\n          A statement that you consent to the jurisdiction of the Federal District Court for the judicial district in which your address is located or, if your address is outside the US, for any judicial district in which Nu Image may be found, and that you will accept service of process from the person who submitted a notice in compliance with the DMCA, as described above.\n        ")]),t._v(" "),e("li",{staticClass:"tw-list-decimal"},[t._v("\n          Your physical or electronic signature.\n        ")])]),t._v(" "),e("p",[t._v("\n        Please note that under Section 512(f) of the Copyright Act, any person who knowingly materially misrepresents that material or activity is infringing, or that material or activity was removed or disabled by mistake, may be subject to liability. NON-DMCA INQUIRIES DIRECTED TO NU IMAGE’S DMCA AGENT WILL NOT BE ANSWERED. MISUSE OF THE DMCA PROCESS CAN SUBJECT YOU TO LIABILITY.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        14. Intellectual Property\n      ")]),t._v(" "),e("p",[t._v("\n        With the exception of your electronic medical record, Nu Image and Providers, as applicable, retain all right, title, and interest in and to the Site, the Services and any information, products, documentation, software, or other materials on the Site, and any patent, copyright, trade secret, trademark, service mark, or other intellectual property, or proprietary right in any of the foregoing, except for information on the Site licensed by Nu Image and Providers (in that case, the license provider retains all right, title, and interest therein). The information available through the Site and the Services is the property of Nu Image and Provider, as applicable. You agree not to store, copy, modify, reproduce, retransmit, distribute, disseminate, rent, lease, loan, sell, publish, broadcast, display, or circulate such information to anyone. Use, reproduction, copying, or redistribution of Nu Image’s and Providers’ trademarks, service marks, and logos are strictly prohibited without the prior written permission of Nu Image and Providers, as applicable. The immediately foregoing sentence also applies to any third-party trademarks, service marks, and logos posted on the Site. Nothing contained on the Site should be construed as granting, by implication, estoppel, waiver, or otherwise, any license or right to use any trademarks, service marks, or logos displayed on the Site without the written grant thereof by Nu Image and Providers, or the third-party owner of such trademarks, service marks, and/or logos. The Site may contain other proprietary notices and copyright information, the terms of which you agree to follow.\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image may delete any information provided by you that it deems in its sole discretion fraudulent, abusive, defamatory, obscene, or in violation of copyright, trademark, or other intellectual property or ownership right of any other person or entity.\
2n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        15. CAN-SPAM Act and Telephone Consumer Protection Act Compliance\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image, and the Wellness Provider Group, are committed to being compliant with the Controlling the Assault of Non-Solicited Pornography and Marketing Act (“CAM-SPAM ACT”) and the Telephone Consumer Protection Act (“TCPA”). You consent to receive text messages from us as set forth in Section 7, above (Consent to Receive Calls and Text Messages). Emails, newsletters, and text messages received from us are intended to fully comply with the CAM-SPAM ACT and the TCPA. In the event you receive an email or text message from us which you do not believe is fully compliant with the CAN-SPAM ACT or the TCPA, please contact us immediately at the address listed below under the section “How to Contact Us.”\n      ")]),t._v(" "),e("p",[t._v("\n        You shall not use or permit any of your employees, agents, or affiliates to market, promote, or solicit Nu Image products or services in ways that would violate the CAN-SPAM ACT, the TCPA or any other laws. You shall not: (a) infringe on the rights of others; distribute chain letters or unsolicited bulk electronic mail (“spamming”); (b) propagate computer worms or viruses; (c) use a false identity; (d) attempt to gain unauthorized entry to any site or network; or (e) infringe copyrights, trademarks, or other intellectual property rights.\n      ")]),t._v(" "),e("p",[t._v("\n        You further agree to comply with U.S. export laws concerning the transmission of technical data and regulated materials via the Internet. You agree to indemnify and hold Nu Image and its affiliates harmless for any and all acts found or suspected to be in violation hereof. You shall indemnify and hold Nu Image and its affiliates harmless against and from losses, damages, costs, and reasonable attorney fees incurred in defending or resolving any suits brought against Nu Image or any of its affiliates by anyone arising out of any alleged violation of any anti-spamming rules, regulations, laws, statutes. Your Account will be terminated for any of the above infractions.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        16. Disclaimer of Warranties\n      ")]),t._v(" "),e("p",[t._v('\n        NU IMAGE DOES NOT WARRANT THAT ACCESS TO OR USE OF THE SITE WILL BE UNINTERRUPTED OR ERROR-FREE OR THAT DEFECTS IN THE SITE WILL BE CORRECTED. THIS SITE, INCLUDING ANY CONTENT OR INFORMATION CONTAINED WITHIN IT OR ANY SITE-RELATED SERVICE, IS PROVIDED "AS IS," WITH ALL FAULTS, WITH NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUALITY OF INFORMATION, QUIET ENJOYMENT, AND TITLE/NON-INFRINGEMENT. NU IMAGE DOES NOT WARRANT THE ACCURACY, COMPLETENESS, OR TIMELINESS OF THE INFORMATION OBTAINED THROUGH THE SITE.\n        YOU ASSUME TOTAL RESPONSIBILITY AND RISK FOR YOUR USE OF THIS SITE, SITE-RELATED SERVICES, AND LINKED WEBSITES. NU IMAGE DOES NOT WARRANT THAT FILES AVAILABLE FOR DOWNLOAD WILL BE FREE OF VIRUSES, WORMS, TROJAN HORSES, OR OTHER DESTRUCTIVE PROGRAMMING. YOU ARE RESPONSIBLE FOR IMPLEMENTING PROCEDURES SUFFICIENT TO SATISFY YOUR NEEDS FOR DATA BACK UP AND SECURITY.\n        WARRANTIES RELATING TO PRODUCTS OR SERVICES OFFERED, SOLD, AND DISTRIBUTED BY NU IMAGE ARE SUBJECT TO SEPARATE WARRANTY TERMS AND CONDITIONS, IF ANY, PROVIDED BY NU IMAGE OR THIRD PARTIES WITH OR IN CONNECTION WITH THE APPLICABLE PRODUCTS OR SERVICES. NU IMAGE DOES NOT GUARANTEE THAT THROUGH USE OF OUR SERVICES ANY PRESCRIPTIONS WILL BE WRITTEN FOR YOU. NU IMAGE MEDICAL PROVIDERS DO NOT PRESCRIBE DEA CONTROLLED SUBSTANCES, SUCH AS THOSE CONTAINING OPIOIDS OR AMPHETAMINES. YOU ACKNOWLEDGE AND UNDERSTAND THAT THE USE OR MISUSE OF THE PRODUCTS OBTAINED THROUGH OUR SITE MAY RESULT IN UNDESIRABLE OR UNEXPECTED CONSEQUENCES. NU IMAGE DOES NOT ACCEPT ANY LIABILITY FOR THE CONSEQUENCES ARISING FROM THE APPLICATION, USE, OR MISUSE OF ANY PRODUCTS OR SERVICES CONTAINED ON OR MADE AVAILABLE THROUGH THE SERVICE, INCLUDING ANY INJURY OR DAMAGE TO ANY PERSON OR PROPERTY AS A MATTER OF NEGLIGENCE, OR OTHERWISE, INCLUDING YOUR FAILURE TO COMPLY WITH ANY WARNING LABELS ATTACHED TO THE PRODUCTS.\n      ')]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        17. Limitation of Liability Regarding Use of Site\n      ")]),t._v(" "),e("p",[t._v("EXCEPT AS PROVIDED BY LAW, AN
2D WITHOUT LIMITATION: ")]),t._v(" "),e("p",[t._v("\n        NU IMAGE SHALL NOT BE LIABLE FOR THE ACTS OR OMISSIONS OF NU IMAGE MEDICAL OR THE PROVIDERS. NU IMAGE AND ANY THIRD PARTIES MENTIONED ON THIS SITE ARE NEITHER RESPONSIBLE NOR LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, EXEMPLARY, PUNITIVE, OR OTHER DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, THOSE RESULTING FROM LOST PROFITS, LOST DATA, OR BUSINESS INTERRUPTION) ARISING OUT OF OR RELATING IN ANY WAY TO THE SITE, SITE-RELATED SERVICES, CONTENT OR INFORMATION CONTAINED WITHIN THE SITE, AND/OR ANY LINKED WEBSITE, WHETHER BASED ON WARRANTY, CONTRACT, TORT, OR ANY OTHER LEGAL THEORY AND WHETHER OR NOT ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. YOUR SOLE REMEDY FOR DISSATISFACTION WITH THE SITE, SITE-RELATED SERVICES, AND/OR LINKED WEBSITES IS TO STOP USING THE SITE AND/OR THOSE SERVICES. TO THE EXTENT ANY ASPECTS OF THE FOREGOING LIMITATIONS OF LIABILITY ARE NOT ENFORCEABLE, THE MAXIMUM LIABILITY OF NU IMAGE TO YOU WITH RESPECT TO YOUR USE OF THIS SITE IS $500 (FIVE HUNDRED DOLLARS). YOU HEREBY AGREE TO WAIVE, TO THE FULLEST EXTENT PERMITTED BY LAW, ALL LAWS THAT LIMIT THE EFFICACY OF SUCH INDEMNIFICATIONS OR RELEASES.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        18. No Third-Party Rights\n      ")]),t._v(" "),e("p",[t._v("\n        Unless expressly stated in the Terms of Use to the contrary, nothing herein is intended to confer any rights or remedies on any persons other than you, Nu Image and Providers and their affiliates. Nothing in the Terms of Use is intended to relieve or discharge the obligation or liability of any third persons to you, Nu Image, the Providers and their affiliates, nor shall any provision give any third parties any right of subrogation or action over against you, Nu Image, the Providers and their affiliates.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        19. Assignment\n      ")]),t._v(" "),e("p",[t._v("\n        You may not assign, transfer, or delegate the Terms of Use or any part thereof without Nu Image’s prior written consent. Nu Image may freely transfer, assign, or delegate all or any part of the Terms of Use, and any rights or duties hereunder or thereunder. The Terms of Use will be binding upon and inure to the benefit of the heirs, successors, and permitted assignees of the parties.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        20. Supplemental Terms Applicable to Providers\n      ")]),t._v(" "),e("p",[t._v("\n        These supplemental terms apply to Providers in addition the other provisions of these Terms of Use. In the event of a conflict between the supplemental terms and any other terms herein, the supplemental terms shall prevail.\n      ")]),t._v(" "),e("p",[t._v("\n        To be a healthcare provider using the Site (for purposes of this Section 20, “Provider” or “you”) you must be a licensed physician, nurse practitioner, or healthcare professional contracted or employed by and must agree to comply with all laws, medical board rules, and other rules and regulations applicable to you as a Provider or otherwise. Your relationship with the Nu Image users (including, but not limited to, and the Wellness Provider Group patients) is directly between you and the patient. The patient will never have a physician-patient relationship with Nu Image. Nu Image does not practice medicine and offers no medical services. As set forth more fully below, Provider is solely responsible for all agreements, consents, notices, and other interactions with patients and other consumers. Without limiting the generality of the foregoing, Provider, or and the Wellness Provider Group are solely responsible for all billings and collections from patients and other consumers, and Nu Image shall have no liability whatsoever to Provider with respect to any amounts owed by any patient or other consumer to Provider.\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image does not provide any medical advice, legal advice, or representations in any way regarding any legal or medical issues associated with Provider, goods, or services offered by Provider, including but not limited to any compliance obligations or steps 
2necessary to comply with any state or federal laws and regulations. Provider should seek legal counsel regarding any legal and compliance issues and should not rely on any materials or content associated with the Services in determining Provider’s compliance obligations under law. Provider and Nu Image agree that Nu Image is not providing, to Customer or anyone else, medical advice or legal advice.\n      ")]),t._v(" "),e("p",[t._v("\n        Provider will use the Site and Services only in accordance with applicable standards of good medical practice. While software products such as the Site and Services can facilitate and improve the quality of service that Provider can offer patients, many factors, including but not limited to the provider/patient relationship can affect a patient outcome, and with intricate and interdependent technologies and complex decision-making it is often difficult or impossible to accurately determine what the factors were and in what proportion they affected an outcome. Provider shall be solely responsible for its use of the Site and Services, and the provision of medical services to Provider’s patients. In this regard, Provider releases Nu Image and waives any and all potential claims against Nu Image as a result of Provider’s use of the Site and Services, and the provision of services to Provider’s patients.\n      ")]),t._v(" "),e("p",[t._v("\n        As a result of the complexities and uncertainties inherent in the patient care process, Provider agrees to defend, indemnify and hold Nu Image harmless from any claim by or on behalf of any patient of Provider, or by or on behalf of any other third party or person claiming damage by virtue of a familial or financial relationship with such a patient, which is brought against Nu Image, regardless of the cause if such claim arises for any reason whatsoever, out of Provider’s use or operation of the Site and Services. To the extent applicable, Provider will obtain Nu Image’s prior written consent to any settlement or judgment in which Provider agrees to any finding of fault of Nu Image or defect in the Site or Services. Nu Image will promptly notify Provider in writing of any claim subject to this indemnification, promptly provide Provider with the information reasonably required for the defense of the same, and grant to Provider exclusive control over its defense and settlement.\n      ")]),t._v(" "),e("p",[t._v("\n        If you submit, upload, transmit, or post any consents, notices, advice, recommendations, comments, files, videos, images, or other materials to us or our Site (“Provider Content”) or provide any Provider Content to patients or other consumers, you agree not to provide any Provider Content that (a) is defamatory, abusive, libelous, unlawful, obscene, threatening, harassing, fraudulent, pornographic, or harmful, or that could encourage criminal or unethical behavior, (b) violates or infringes the privacy, copyright, trademark, trade dress, trade secrets, or intellectual property rights of any person or entity, or (c) contains or transmits a virus or any other harmful component. Provider is solely responsible for obtaining all necessary agreements and consents from, and providing all required notices to, patients and other consumers. You agree not to contact other users through unsolicited e-mail, telephone calls, mailings, or any other method of communication. You represent and warrant to Nu Image that you have the legal right and authorization to upload all Provider Content at the Site. Nu Image shall have a royalty-free, irrevocable, transferable right and license to use the Provider Content however Nu Image desires, including without limitation, to copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell and/or distribute such Provider Content and/or incorporate such Provider Content into any form, medium, or technology throughout the world. Nu Image is and shall be under no obligation: (i) to maintain any Provider Content in confidence; (ii) to pay to you any compensation for any Provider Content; or (iii) to respond to any Provider Content.\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image does not regularly review Provider Content but does reserve the right (but not the obligation) to monitor and edit or remove any Provider Content submitted to the Site. You grant Nu Image the right to use the name that you submit in connection with any Provider Content. You agree not to use a false email address, impersonate any person or entity, or otherwise mislead as to the origin of any Provider Content. You are and shall remain solely responsible for the content of any Provider Content you post to the Site or provide to patients or other consumers. Nu Image and its affiliates take no responsibility and assume no liability for any Provider Content submitted by you or any third party.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        21. Dispute Resolution; Arbitration Agreement\n      ")]),t._v(" "),e("p",[t._v("\n        We will try work in good faith to resolve any issue you have with Site, including without limitation, Products and Services ordered or purchased through the Site, if you bring that issue to the attention of our customer service department. However, we realize that there may be rare cases where we may 
2not be able to resolve an issue to a customer's satisfaction.\n      ")]),t._v(" "),e("p",[t._v("\n        You and Nu Image agree that any dispute, claim, or controversy arising out of or relating in any way to these Terms of Use or your use of the Site, including without limitation, Products and Services ordered or purchased through the Site, shall be determined by binding arbitration instead of in courts of general jurisdiction. Arbitration is more informal than bringing a lawsuit in court. Arbitration uses a neutral arbitrator instead of a judge or jury, and is subject to very limited review by courts. Arbitration allows for more limited discovery than in court, however, we agree to cooperate with each other to agree to reasonable discovery in light of the issues involved and amount of the claim. Arbitrators can award the same damages and relief that a court can award, but in so doing, the arbitrator shall apply substantive law regarding damages as if the matter had been brought in court, including without limitation, the law on punitive damages as applied by the United States Supreme Court. You agree that, by agreeing to these Terms of Use, the U.S. Federal Arbitration Act governs the interpretation and enforcement of this provision, and that you and Nu Image are each waiving the right to a trial by jury or to participate in a class action. This arbitration provision shall survive termination of these Terms of Use and any other contractual relationship between you and Nu Image.\n      ")]),t._v(" "),e("p",[t._v('\n        If you desire to assert a claim against Nu Image, and you therefore elect to seek arbitration, you must first send to Nu Image, by certified mail, a written notice of your claim ("Notice"). The Notice to Nu Image should be addressed to: Nu Image Medical®, Inc., Attn: Legal Dept., 5401 W. Kennedy Blvd, Suite 100, Tampa, FL 33609 ("Notice Address"). If Nu Image desires to assert a claim against you and therefore elects to seek arbitration, it will send, by certified mail, a written Notice to the most recent address we have on file or otherwise in our records for you. A Notice, whether sent by you or by Nu Image, must (a) describe the nature and basis of the claim or dispute, and (b) set forth the specific relief sought ("Demand"). If Nu Image and you do not reach an agreement to resolve the claim within 30 days after the Notice is received, you or Nu Image may commence an arbitration proceeding or file a claim in small claims court. During the arbitration, the amount of any settlement offer made by Nu Image or you shall not be disclosed to the arbitrator. You may download or copy a form Notice and a form to initiate arbitration from the American Arbitration Association at www.adr.org. If you are required to pay a filing fee, after Nu Image receives notice at the Notice Address that you have commenced arbitration, it will promptly reimburse you for your payment of the filing fee, unless your claim is for more than US $10,000.\n      ')]),t._v(" "),e("p",[t._v('\n        The arbitration will be governed by the Commercial Arbitration Rules and the Supplementary Procedures for Consumer Related Disputes (collectively, "AAA Rules") of the American Arbitration Association ("AAA"), as modified by these Terms of Use, and will be administered by the AAA. The AAA Rules and Forms are available online at www.adr.org, by calling the AAA at 1-800-778-7879, or by requesting them from us by writing to us at the Notice Address. The arbitrator is bound by the terms of these Terms of Use. All issues are for the arbitrator to decide, including, but not limited to, issues relating to the scope and enforceability of these Terms of Use, including, but not limited to, this arbitration agreement. Unless Nu Image and you agree otherwise, any arbitration hearings will take place in Tampa, FL. (If you reside outside of the United States, any arbitration hearings will take place in your country of residence at a location reasonably convenient to you, but will remain subject to the AAA Rules including, but not limited to, the AAA rules regarding the selection of an arbitrator). If your claim is for US $10,000 or less, we agree that you may choose whether the arbitration will be conducted solely on the basis of documents submitted to the arbitrator, through a telephonic hearing, or by an in-person hearing as established by the AAA Rules. If your claim exceeds US $10,000, the right to a hearing will be determined by the AAA Rules. Regardless of the manner in which the arbitration is conducted, the arbitrator shall issue a reasoned written decision sufficient to explain the essential findings and conclusions on which the award is based. If the arbitrator issues you an award that is greater than the value of Nu Image’s last written settlement offer made before an arbitrator was selected (or if Nu Image did n
2ot make a settlement offer before an arbitrator was selected), then Nu Image will pay you the amount of the award or US $1,000, whichever is greater. Except as expressly set forth herein, the payment of all filing, administration, and arbitrator fees will be governed by the AAA Rules. Each party shall pay for its own costs and attorneys\' fees, if any. However, if any party prevails on a statutory claim that affords the prevailing party attorneys\' fees, or if there is a written agreement providing for payment or recovery attorneys’ fees, the arbitrator may award reasonable fees to the prevailing party, under the standards for fee shifting provided by law.\n      ')]),t._v(" "),e("p",[t._v("\n        YOU AND NU IMAGE AGREE THAT EACH MAY BRING CLAIMS AGAINST THE OTHER ONLY IN YOUR OR ITS INDIVIDUAL CAPACITY, AND NOT AS A PLAINTIFF OR CLASS MEMBER IN ANY PURPORTED CLASS OR REPRESENTATIVE PROCEEDING. Further, unless both you and Nu Image agree otherwise, the arbitrator may not consolidate more than one person's claims with your claims, and may not otherwise preside over any form of a representative or class proceeding. The arbitrator may award declaratory or injunctive relief only in favor of the individual party seeking relief and only to the extent necessary to provide relief warranted by that party's individual claim.\n      ")]),t._v(" "),e("p",[t._v("\n        If the arbitration terms and conditions of this Section 21 are found to be unenforceable, then (i) the entirety of this arbitration provision shall be null and void, but the remaining provisions of these Terms of Use shall remain in full force and effect, and (ii) exclusive jurisdiction and venue for any claims will be in state or federal courts located in and for Palm Beach County, Florida.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        22. Force Majeure\n      ")]),t._v(" "),e("p",[t._v("\n        We will not be deemed to be in breach of these terms or liable for any breach of these Terms of Use or our Privacy Policy due to any event or occurrence beyond our reasonable control, including without limitation, acts of God, terrorism, war, invasion, failures of any public networks, electrical shortages, riots, embargoes, acts of civil or military authorities, shortages of transportation facilities, fuel, energy, labor, or materials, pandemic, accidents, earthquakes or floods, civil disorder, strikes, fire, or other disaster.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        23. Indemnification\n      ")]),t._v(" "),e("p",[t._v("\n        You agree to defend, indemnify, and hold harmless Nu Image, Providers, and any of their affiliated companies, officers, directors, contractors, employees, agents, suppliers, licensors, and partners from and against any and all rights, demands, losses, liabilities, damages, claims, causes of action, actions, and suits (no matter whether at law or equity), fees, costs, and attorney’s fees of any kind whatsoever arising directly or indirectly out of or in connection with: (i) your use or misuse of the Site, Products, Services or any information posted on the Site; (ii) your breach of the Terms of Use or Privacy Policy; (iii) the content or subject matter of any information or materials, including User Information, that you provide to Nu Image, Providers, or customer service agents; and/or (iv) any negligent or wrongful act or omission by you in your use or misuse of the Site, Products, Services, or any information on the Site, including without limitation, infringement of third party intellectual property rights, privacy rights, or negligent or wrongful conduct.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        24. Revisions; General\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image reserves the right, in its sole discretion, to terminate your access to all or part of this Site, with or without cause, and with or without notice. Nu Image reserves the right to modify these Terms of Use at any time, effective upon posting. Any use of this website after such changes will be deemed an acceptance of those changes. You agree to review the Terms of Use each time you access this website so that you may be aware of any changes to these Terms. In the event that any of the Terms of Use are held by a court or other tribunal of competent jurisdiction to be unenforceable, such provisions shall be limited or eliminated to the minimum extent necessary so that these Terms of Use shall otherwise remain in full force and effect. These Terms of Use constitute the entire agreement between Nu Image and you pertaining to the subject matter hereof. In its sole discretion, Nu Image may from time-to-time revise these Terms of Use by updating this posting. You should, therefore, periodically visit this page to review the current Terms of Use, so you are aware of any such revisions to which you are bound. Certain provisions of these Terms of Use may be superseded by expressly designated legal notices or terms located on particular pages within this Site. You agree that the provisions in this paragraph will survive any termination of your Account.\n      ")]),t._v(" "),e("p",[t._v("\n        Copyright/Trademark Information. Copyright ©2024 Nu Image Medical, Inc. All rights reserved. All trademarks, logos, and service marks (“Marks”) displayed on the Site are our property or the property of other third parties. You are not permitted to use these Marks without our prior written consent or the consent of such third party which may own the Marks.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        How to Contact Us:\n      ")]),t._v(" "),e("ul",{staticClass:"tw-list-none tw-text-gray-darker tw-pl-0"},[e("li",[t._v("NU IMAGE MEDICAL, INC.")]),t._v(" "),e("li",[t._v("5401 W. Kennedy Blvd "),e("br"),t._v(" Suite #100 "),e("br"),t._v(" Tampa, FL 33609")]),t._v(" "),e("li",[t._v("Tel: 888.520.3438")]),t._v(" "),e("li",[t._v("\n          Email: "),e("a",{attrs:{href:"mailto:[email protected]"}},[t._v("\n            [email protected]\n          ")])])])])]),t._v(" "),e("CardModal",{attrs:{show:t.showPrivacyPolicy},on:{hide:function(e){t.showPrivacyPolicy=!1}}},[e("section",{attrs:{id:"header"}},[e("h1",{staticClass:"tw-text-black tw-text-5xl tw-font-bold tw-text-uppercase tw-text-center"},[t._v("\n        Nu Image Privacy Policy\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-black"},[t._v("\n        Last modified: February 19, 2024\n      ")])]),t._v(" "),e("section",{attrs:{id:"1"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Introduction\n      ")]),t._v(" "),e("p",[t._v("\n        Nu Image Medical®, Inc. (“Nu Image,” or “we,” “our,” or “us”) respects your privacy, and we are committed to protecting it through our compliance with this Privacy Policy.\n      ")]),t._v(" "),e("p",[t._v("\n        This Privacy Policy (our “Privacy Policy”) describes the types of information we may collect from you or that you may provide when you visit the website www.nuimagemedical.com (our “Website”), and our practices for collecting, using, maintaining, protecting, and disclosing that information.\n      ")]),t._v(" "),e("p",[t._v("\n        This Privacy Policy applies to information we collect:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          on our Website;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          in email, text, and other electronic messages between you and our Website\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          our advertising and applications on third party websites and services, if those applications or advertising include links to this Privacy Policy\n        ")])]),t._v(" "),e("p",[t._v("\n        It does not apply to information collected by:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          us offline or through any other means, including on any other website operated by Nu Image or any third party;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          any third party, including through any application or content (including advertising) that may link to or be accessible from or on the Website, or any third party website or application that may redirect you to our Website\n        ")])]),t._v(" "),e("p",[t._v("\n        Note, Nu Image is not a medical group and is not a “covered entity” as defined by the Health Insurance Portability and Accountability Act of 1996, Public Law 104-191, and its implementing regulations (collectively, “HIPAA”). Any telemedicine consults obtained through our Website are provided by independent medical practitioners including, but not limited to, Wellness Provider Group, P.A. (“ Wellness Provider Group”) an independent medical group with a network of United States based health care providers (each, a “Provider”). Wellness Provider Group (or your own medical provider if you do not use a Wellness Provider Group Provider) is responsible for providing you with a Notice of Privacy Practices describing its collection and use of your health information, not Nu Image. If you do not agree to be bound by those terms, you are not authorized to access or use our Website, and you must promptly exit our Website.\n      ")]),t._v(" "),e("p",[t._v("\n        Please read this Privacy Policy carefully to understand our policies and practices regarding your information and how we will treat it. If you do not agree with our policies and practices, your choice is not to use our Website. By accessing or using our Website, you agree to this Privacy Policy. This Privacy Policy may change from time to time see Changes to Our Privacy Policy. Your continued use of our Website after we make changes is deemed to be acceptance of those changes, so please check this Privacy Policy periodically for updates.\
2n      ")])]),t._v(" "),e("section",{attrs:{id:"2"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Children Under the Age of 18\n      ")]),t._v(" "),e("p",[t._v("\n        Our Website is not intended for children under 18 years of age. No one under age 18 may provide any information to or through the Website.\n        We do not knowingly collect Personal Data from children under 18.\n        If you are under 18, do not use or provide any information on our Website or on or through any of their features, including your name, address, telephone number, email address, or any screen name or user name you may use. If we learn we have collected or received Personal Data from a child under 18 without verification of parental consent, we will delete that information.\n        If you believe we might have any information from a child under 18, please contact us at 888-520-3438.\n      ")])]),t._v(" "),e("section",{attrs:{id:"3"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Information We Collect About You and How We Collect It\n      ")]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-text-xl tw-font-bold tw-mt-4"},[t._v("\n        Generally\n      ")]),t._v(" "),e("p",[t._v("We collect several types of information from and about users of our Website, specifically information:")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          by which you may be personally identified, such as name, postal address, billing address, shipping address, e-mail address, mobile telephone numbers, driver’s license number (or other government identification number), date of birth, financial account numbers, bank account numbers, credit or debit card numbers (bank, credit, debit, and other financial account numbers are collected for payment purposes only), your medical history, biometrics (including fingerprints), and health information (“Personal Data”);\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          that is about you but individually does not identify you, such as traffic data, location data, logs, referring/exit pages, date and time of your visit to our Website, error information, clickstream data, and other communication data and the resources that you access and use on the Website; or\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          about your Internet connection, the equipment you use to access our Website and usage details.\n        ")])]),t._v(" "),e("p",[t._v("\n        We collect this information:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          directly from you when you provide it to us;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          automatically as you navigate through the Website. Information collected automatically may include usage details, IP addresses, and information collected through cookies and other tracking technologies; and\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          From third parties, for example, from the Providers.\n        ")])]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Information You Provide to Us\n      ")]),t._v(" "),e("p",[t._v("\n        The information we collect on or through our Website is:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          information that you provide by filling in forms on our Website. This includes information provided at the time of registering to use our Website, using our physician consultation services, purchasing products, or requesting further services. We may also ask you for information when you report a problem with our Website;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          information that you provide by filling in forms on our Website. This includes information provided at the time of registering to use our Website, using our physician consultation services, purchasing products, or requesting further services. We may al
2so ask you for information when you report a problem with our Website;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          records and copies of your correspondence (including email addresses), if you contact us or a Provider;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          records and copies of your correspondence (including email addresses), if you contact us or a Provider;\n        ")])]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n        Information We Collect Through Automatic Data Collection Technologies\n      ")]),t._v(" "),e("p",[t._v("\n        As you navigate through and interact with our Website, we may use automatic data collection technologies to collect certain information about your equipment, browsing actions, and patterns, specifically:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          details of your visits to our Website, such as traffic data, location data, logs, referring/exit pages, date and time of your visit to our Website, error information, clickstream data, and other communication data and the resources that you access and use on the Website; and\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          information about your computer, mobile device, and Internet connection, specifically your IP address, operating system, and browser type.\n        ")])]),t._v(" "),e("p",[t._v("\n        The information we collect automatically may include Personal Data or we may maintain it or associate it with Personal Data we collect in other ways or receive from third parties. It helps us to improve our Website and to deliver a better and more personalized service by enabling us to:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          estimate our audience size and usage patterns;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          store information about your preferences, allowing us to customize our Website according to your individual interests;\n        ")]),t._v(" "),e("li",[t._v("\n          recognize you when you return to our Website.\n        ")])]),t._v(" "),e("h4",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl",attrs:{id:"cookie-policy"}},[t._v("\n        Cookies and Other Similar Technologies Used on Our Websites\n      ")]),t._v(" "),e("p",[t._v("\n        The technologies we use for this automatic data collection may include:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[e("span",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n            Cookies (or browser cookies).\n          ")]),t._v("\n          A “cookie” is a small file placed on the hard drive of your computer or mobile device. On your computer, you may refuse to accept browser cookies by activating the appropriate setting on your browser, and you may have similar capabilities on your mobile device in the preferences for your operating system or browser. However, if you select this setting you may be unable to access certain parts of our Website. Unless you have adjusted your browser or operating system setting so that it will refuse cookies, our system will issue cookies when you direct your browser to our Website.\n          Our use of cookies is governed by this Privacy Policy. You can find more information about cookies at "),e("a",{attrs:{title:"All About Cooies",target:"_self",href:"https://www.allaboutcookies.org"}},[t._v("https://www.allaboutcookies.org")])]),t._v(" "),e("li",{staticClass:"tw-py-1"},[e("span",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("Flash Cookies.")]),t._v(" Certain features of our Websites may use local stored objects (or Flash cookies) to collect and\n          store information about your preferences and navigation to, from, and on our Websites.\n          Flash cookies are not managed by the same browser settings as are used for browser cookies.\n          To learn how you can manage your Flash cookie settings, visit the Flash player settings page on Adobe’s "),e("a",{attrs:{target:"_blank",href:"http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html"}},[t._v("website.\n          ")])]),t._v(" "),e("li",{staticClass:"tw-py-1"},[e("span",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n            Web Beacons.\n          ")]),t._v(" Pages of our Websites and our e-mails may contain small electronic files known as web beacons\n          (also referred to as clear gifs, pixel tags, and single-pixel gifs) that permit Nu Image, for\n          example, to count users who have visited those pages or opened an email and for other related\n          website statistics (for example, recording the popularity of certain website content and verifying\n          system and server integrity).\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[e("span",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n            Third Party Cookies.\n          ")]),t._v(" Some content or applications on our Website are served by third-parties, including advertisers,\n          ad networks and servers, content providers, application providers, and social media sites. With your\n          consent, these third parties may use cookies (alone or in conjunction with web beacons or other\n          tracking technologies) to collect information about you when you access our Website. The information\n          they collect may be associated with your Personal Data or they may collect information, including\n          Personal data, about your online activities over time and across different websites and other online\n          services. They may use this information to provide you with interest-based (behavioral) advertising\n          and other targeted content. We do not control these third parties’ tracking technologies or how they\n          may be used. If you have any questions about advertisement or other targeted content, you should\n          contact the responsible provider directly. Examples of the analytic tools and services which we\n          might use include Google Analytics and Google Ads. We may al
2so use other third-party analytic tools\n          and services.\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1 tw-ml-10 marker:tw-text-white"},[e("span",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-lg"},[t._v("\n            Google Analytics.\n          ")]),t._v(" We use Google Analytics, a web analytics service provided by Google, Inc. (“Google”) to collect\n          certain information relating to your use of the Website. Google Analytics uses “cookies” to help the\n          Website analyze how users use the site. You can find out more about how Google uses data when you\n          visit our Website by visiting “How Google uses data when you use our partners' sites or apps”,\n          (located at "),e("a",{staticClass:"tw-text-blue-600 hover:tw-text-blue-900",attrs:{title:"google partner",target:"_self",href:"www.google.com/policies/privacy/partners/"}},[t._v(" www.google.com/policies/privacy/partners/ ")]),t._v(" ). For more information regarding Google\n          Analytics please visit Google's website, and pages that describe Google Analytics, such as\n          "),e("a",{staticClass:"tw-text-blue-600 hover:tw-text-blue-900",attrs:{title:"google privacy",target:"_self",href:"www.google.com/analytics/learn/privacy.html"}},[t._v(" www.google.com/analytics/learn/privacy.html. ")])]),t._v(" "),e("li",{staticClass:"tw-py-1 tw-ml-10 marker:tw-text-white"},[e("span",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-lg"},[t._v("\n            Pixel tags (also called beacons or pixels).\n          ")]),t._v("\n          Pages of our Website may use pixel tags which are blocks of code installed on (or called by) a web page, app or advertisement which can retrieve certain information about your device and browser, including device type, operating system, browser type and version, website visited, time of visit, referring website, IP address, and other similar information (including the small text file (the cookie) that uniquely identifies the device). Pixels provide the means by which third parties can set and read browser cookies from a domain that they do not themselves operate and collect information about visitors to that domain, typically with the permission of the domain owner.\n        ")])])]),t._v(" "),e("section",{attrs:{id:"4"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        How We Use Your Information\n      ")]),t._v(" "),e("p",[t._v("\n        We use information that we collect about you or that you provide to us, including any Personal Data:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          to present our Website and its contents to you;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to provide you with information, products, or services that you request from us;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to process, fulfill, and administer transactions and orders for products and services ordered by\n          you;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to provide you with notices about your Nu Image Account;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to contact you in response to a request;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to administer quizzes, surveys, sweepstakes, promotions, and contests;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to fulfill any other purpose for which you provide it;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to carry out our obligations and enforce our rights arising from any contracts entered into between\n          you and us, including for billing and collection;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to notify you about changes to our Website or any products or services we offer or provide though\n          them;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          for internal testing, research, analysis, and product development, including to develop and improve the\n          Website or our services, and monitor and analyze the effectiveness of content on the Websites;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          in any other way we may describe when you provide the information; and\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          for any other purpose with your consent.\n        ")])]),t._v(" "),e("p",[t._v("\n        We may al
2so use your information to contact you about goods and services that may be of interest to you,\n        including through newsletters. If you wish to opt-out of receiving such communications, you may do so at\n        any time by clicking unsubscribe at the bottom of these communications or by visiting your Account\n        Preferences page.\n      ")])]),t._v(" "),e("section",{attrs:{id:"5"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Disclosure of Your Information\n      ")]),t._v(" "),e("p",[t._v("\n        We do not share, sell, or otherwise disclose your Personal Data for purposes other than those outlined in this Privacy Policy. However, we may disclose aggregated information about our users, and information that does not identify any individual, without restriction.\n      ")]),t._v(" "),e("p",[t._v("\n        We may disclose Personal Data that we collect or you provide as described in this Privacy Policy:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          to a buyer or other successor in the event of a merger, divestiture, restructuring, reorganization, dissolution, or other sale or transfer of some or all of our assets, whether as a going concern or as part of bankruptcy, liquidation, or similar proceeding, in which Personal Data held by Nu Image about our Website users are among the assets transferred;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to fulfill the purpose for which you provide it. For example, we may disclose your personal information to a Provider;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          for any other purpose disclosed by us when you provide the information;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          with your consent.\n        ")])]),t._v(" "),e("p",[t._v("\n        We may also disclose your Personal Data:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[t._v("\n          to comply with any court order, law, or legal process, including to respond to any government or\n          regulatory request;\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          to enforce or apply our "),e("a",{attrs:{title:"Term Of Use",target:"_self",href:"/terms-conditions"}},[t._v("Terms of Use")]),t._v(" and other agreements, including for billing and collection\n          purposes; and\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[t._v("\n          if we believe disclosure is necessary or appropriate to protect the rights, property, or safety\n          of Nu Image, our customers, or others. This includes exchanging information with other companies\n          and organizations for the purposes of fraud protection and credit risk reduction.\n        ")])])]),t._v(" "),e("section",{attrs:{id:"6.1"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Choices About How We Use and Disclose Your Information\n      ")]),t._v(" "),e("p",[t._v("\n        We do not control the collection and use of your information collected by third parties described\n        above in Disclosure of Your Information. These third parties may aggregate the information they\n        collect with information from their other customers for their own purposes.\n      ")]),t._v(" "),e("p",[t._v("\n        In addition, we strive to provide you with choices regarding the Personal Data you provide to us. We\n        have created mechanisms to provide you with control over your Personal Data:\n      ")]),t._v(" "),e("ul",{staticClass:"marker:tw-text-black tw-list-outside tw-list-disc tw-ml-6"},[e("li",{staticClass:"tw-py-1"},[e("span",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n            Tracking Technologies and Advertising.\n          ")]),t._v("\n          You can set your browser or operating to refuse all or some cookies, or to alert you when co
2okies are being sent. If you disable or refuse cookies, please note that some parts of our Website may then be inaccessible or not function properly. To learn more about your opt-out rights from third parties that directed you to our Website, please visit and review the applicable third party’s website and privacy policy.\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[e("span",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n            Promotional Offers from Nu Image.\n          ")]),t._v(" If you do not wish to have your email address used by Nu Image to promote our own products and services, you can opt-out at any time by clicking the unsubscribe link at the bottom of any email or other marketing communications you receive from us. This opt out does not apply to information provided to Nu Image as a result of a product purchase, or your use of our services\n        ")]),t._v(" "),e("li",{staticClass:"tw-py-1"},[e("span",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-xl"},[t._v("\n            Targeted Advertising.\n          ")]),t._v(" To learn more about interest-based advertisements and your opt-out rights and options, visit the Digital Advertising Alliance and the Network Advertising Initiative websites (www.aboutads.info and www.networkadvertising.org). Please note that if you choose to opt out, you will continue to see ads, but they will not be based on your online activity. We do not control third parties’ collection or use of your information to serve interest-based advertising. However, these third parties may provide you with ways to choose not to have your information collected or used in this way. You can also opt-out of receiving targeted ads from members of the NAI on its website.\n        ")])])]),t._v(" "),e("section",{attrs:{id:"6.2"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Applicability of HIPAA\n      ")]),t._v(" "),e("p",[t._v("\n        As described above, you understand that Nu Image is not a covered entity as defined by HIPAA. In some cases, Nu Image may be considered a business associate of a covered entity. If Nu Image is deemed a business associate, we will be subject to additional protections of your protected health information (“PHI”) as defined under HIPAA. If we are operating as a business associate to a covered entity PHI will be used and disclosed only in accordance with such applicable laws, regulations, and contractual protections.\n      ")]),t._v(" "),e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Your Choices\n      ")]),t._v(" "),e("p",[t._v("\n        We respect your right to make choices about the ways we collect, use, and disclose the information you provide on or through our Website. We strive to provide choices to you at a meaningful time and in a meaningful place. For example, if you don’t want information about your visit to our Website sent to Google Analytics, you may download an Opt-out Browser Add-on by\n        "),e("a",{staticClass:"tw-text-blue-600 hover:tw-text-blue-900 tw-underline tw-italic",attrs:{href:"http://tools.google.com/dlpage/gaoptout?hl=en%253e"}},[t._v("\n          clicking here.\n        ")]),t._v("\n        Please note that the Add-on does not prevent information from being sent to us or in other ways to web analytics services.\n      ")]),t._v(" "),e("p",[t._v("\n        In addition, if you would like to opt out of having participating entities collect your online behavior for advertising purposes when you are browsing our Website,\n        "),e("a",{staticClass:"tw-text-blue-600 hover:tw-text-blue-900 tw-underline tw-italic",attrs:{href:"http://www.aboutads.info/choices/"}},[t._v("\n          click here\n        ")]),t._v("\n        for a “Website Opt Out.” You will be directed to an industry-developed website that allows you to choose whether each listed entity may collect and use data for interest-based advertising purposes. It may be that some of the third parties that collect interest-based information on our Website do not participate in the Website Opt Out, in which case the best way to avoid third-party tracking of your online behaviors may be through your browser settings and deletion of cookies.\n      ")]),t._v(" "),e("p",[t._v("\n        The Website Opt Out described above works only on websites. To opt out of having participating entities track y
2our behaviors for advertising purposes when you are using a mobile app, download and use the Digital Advertising Alliance’s “App Choices” app. As with the Website Opt Out, the “Mobile App Opt Out” prevents tracking only by participating entities.\n      ")]),t._v(" "),e("p",[t._v("\n        Please note that the Website Opt Out and Mobile App Opt Out are device-specific and the Website Opt Out is browser-specific. If you wish to opt-out from having interest-based information collected by participating entities across all devices and browsers, you need to take the steps outlined above from each device and browser.\n      ")]),t._v(" "),e("p",[e("span",{staticClass:"tw-italic"},[t._v("\n          Previously Expressed Preferences.\n        ")]),t._v(" You may change previously expressed preferences regarding how we use information you provide on or through our Website. For example, if you have provided your contact information and receive periodic emails from us, you may decide to stop receiving those emails by clicking the “unsubscribe” link in an email’s footer. You may be able to change other preferences through an account you create on our Site. Otherwise, please contact us using the information provided below.\n      ")])]),t._v(" "),e("section",{attrs:{id:"7"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Your Rights Regarding Your Information and Accessing and Correcting Your Information\n      ")]),t._v(" "),e("p",[t._v("\n        You can review and change your Personal Data by logging into our Website and visiting your profile\n        section of our Website. We may ask you to verify your identity before we display or allow any\n        changes to your Personal Data. You may also notify us through the "),e("a",{attrs:{title:"Contact Us",target:"_self",href:"#contact"}},[t._v("Contact Information")]),t._v(" below of any\n        changes or errors in any Personal Data we have about you to ensure that it is complete, accurate,\n        and as current as possible or to delete your profile. In most cases, we will provide access and correct or delete any inaccurate information you discover. In some cases, however, we may limit or deny your request if the law permits or requires us to do so or if we are unable to verify your identity. If you seek deletion of information that you provided when you were a minor, please contact us using the information provided below.\n      ")])]),t._v(" "),e("section",{attrs:{id:"8"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Do Not Track Signals\n      ")]),t._v(" "),e("p",[t._v("\n        Some web browsers permit you to broadcast a signal to websites and online services indicating a\n        preference that they “do not track” your online activities. At this time, we do not honor such\n        signals, but we currently do not use automated data collection technologies to collect information\n        about your online activities over time and across third party websites or other online services\n        (behavioral tracking).\n      ")])]),t._v(" "),e("section",{attrs:{id:"9"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Data Security\n      ")]),t._v(" "),e("p",[t._v("\n        We have implemented measures designed to secure your Personal Data from accidental loss and from unauthorized access, use, alteration, and disclosure. We use encryption technology for information sent and received by us. The safety and security of your information also depends on you. Where you have chosen a password for the use of our Website, you are responsible for keeping this password confidential. We ask you not to share your password with anyone. Unfortunately, the transmission of information via the Internet is not completely secure. Although we do our best to protect your Personal Data, we cannot guarantee the security of your Personal Data transmitted to our Website. Any transmission of Personal Data is at your own risk. We are not responsible for circumvention of any privacy settings or security measures contained on the Website or in your operating system.\n      ")])]),t._v(" "),e("section",{attrs:{id:"10"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        California’s Shine the Light Law\n      ")]),t._v(" "),e("p",[t._v("\n        California Civil Code Section 1798.83 (California’s “Shine the Light” law) permits users of our\n        Websites and/or our services that are California residents and who provide Personal Information in\n        obtaining products and services for personal, family, or household use to request certain\n        information regarding our disclosure of Personal Information to third parties for their own direct\n        marketing purposes. If applicable, this information would include the categories of Personal\n        Information and the names and addresses of those businesses with which we shared your Personal\n        Information with for the immediately prior calendar year (e.g., requests made in 2022 will receive\n        information regarding such activities in 2021). You may request this information once per calendar\n        year. To make such a request, please "),e("a",{attrs:{title:"Contact Us",target:"_self",href:"#contact"}},[t._v("Contact Us ")]),t._v("using the information below.\n      ")])]),t._v(" "),e("section",{attrs:{id:"11"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Changes to Our Privacy Policy\n      ")]),t._v(" "),e("p",[t._v("\n        We may change this Privacy Policy at any time. It is our policy to post any changes we make to our\n        Privacy Policy on this page with a notice that the Privacy Policy has been updated on the Website’s\n        home page. If we make material changes to how we treat our users’ Personal Data, we will notify you\n        by email to the email address specified in your profile and/or through a notice on the Website’s\n        home page. The date this Privacy Policy was last revised is identified at the top of the page. You\n        are responsible for ensuring we have an up-to-date active and deliverable email address for you, and\n        for periodically visiting our Website and reviewing this Privacy Policy to check for any\n        changes.\n      ")])]),t._v(" "),e("section",{attrs:{id:"12"}},[e("h3",{staticClass:"tw-text-black tw-font-bold tw-mt-6 tw-text-3xl"},[t._v("\n        Contact Information\n      ")]),t._v(" "),e("p",[t._v("\n        If you have any questions, concerns, complaints or suggestions regarding our Privacy Policy or\n        otherwise need to contact us, you may contact us at the contact information below or through the\n        contact information displayed on our Website.\n      ")])]),t._v(" "),e("h5",{staticClass:"tw-my-2 tw-font-bold"},[t._v("\n      How to Contact Us:\n    ")]),t._v(" "),e("ul",{staticClass:"tw-list-reset tw-text-base tw-mb-8"},[e("li",[t._v("\n        Nu Image Medical, Inc.\n      ")]),t._v(" "),e("li",[t._v("\n        5401 W. Kennedy Blvd\n        Suite #100\n      ")]),t._v(" "),e("li",[t._v("\n        Tampa, Florida 33609\n      ")]),t._v(" "),e("li",[t._v("\n        United States\n      ")]),t._v(" "),e("li",[t._v("\n        Email: "),e("a",{attrs:{href:"mailto:[email protected]"}},[t._v("\n          [email protected]\n        ")])]),t._v(" "),e("li",[t._v("\n        Telephone: "),e("a",{attrs:{href:"tel:18885203438"}},[t._v("\n          888-520-3438\n        ")])])])]),t._v(" "),e("CardModal",{attrs:{show:t.showTelehealth},on:{hide:function(e){t.showTelehealth=!1}}},[e("h1",{staticClass:"tw-text-2xl tw-text-black"},[t._v("\n      Nu Image Medical’s Consent to Participate in Telemedicine Health Services\n    ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n      Purpose\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      The purpose of this form is to provide you with information about telemedicine and to obtain your informed consent to participate in Nu Image Medical, Inc.’s telemedicine health service as part of your medical care.\n    ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n      Nature of Telemedicine\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      Telemedicine involves the use of electronic communications to enable a health care provider and a patient at different locations to share medical information for the purpose of evaluation, diagnosis, c
2onsultation, or treatment of the patient. The delivery of healthcare via telemedicine allows the patient and provider to establish a relationship, like they would during a traditional face-to-face appointment. For example, your telemedicine encounter may include interaction through and with the use of the internet, recorded audio communications, physical examinations, medical imaging, medical tests, and diagnoses, as well as related technologies known as “store-and- forward.”\n    ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n      Benefits\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      The benefits of telemedicine include improved access to medical services and care, including the expertise of specialists and consultants that may not otherwise be available to you. Telemedicine also permits increased efficiency in evaluations, diagnoses, consultations, and treatment.\n    ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n      Potential Risks\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      The potential risks associated with the use of telemedicine are rare but include delays in medical evaluation and treatment due to equipment failures or information transmission deficiencies (such as poor image resolution); breach of privacy of protected health information due to security breaches or failures; and adverse drug interactions, allergic reactions, complications, or other errors due to patient’s failure to provide complete medical information or records.\n    ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n      Indemnification\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      YOU AGREE TO INDEMNIFY AND HOLD HARMLESS NU IMAGE MEDICAL INC., ITS EMPLOYEES, AGENTS, DIRECTORS, MEMBERS, MANAGERS, SHAREHOLDERS, OFFICERS, REPRESENTATIVES, ASSIGNS, PARENTS, PREDECESSORS, AND SUCCESSORS FROM AND AGAINST ANY AND ALL LOSS, DAMAGE, EXPENSE, LIABILITY, CLAIM, OR DEMAND WHATSOEVER, ARISING OUT OF OR RELATED TO ANY FAILURE OF TECHNOLOGY OR EQUIPMENT IN CONNECTION WITH THE PROVISION OF TELEMEDICINE WHETHER OR NOT ANY SUCH LOSS, DAMAGE, EXPENSE, LIABILITY, CLAIM, OR DEMAND ARISES FROM OR RELATES TO NU IMAGE MEDICAL INC.’S NEGLIGENCE.\n    ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n      Alternatives\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      Alternative methods of care may be available to you, such as in-person services. Your provider will explain any such options to you, and you may choose an alternative at any time.\n    ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n      Follow-up Care; Emergency Situations\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      In some situations, telemedicine is not an appropriate method of care. If there is an urgent situation, if you have an adverse reaction, if a technical failure prevents you from communicating with your telemedicine provider, or if you believe telemedicine will not provide sufficient safety and quality, you should contact Nu Image Medical Inc.\n      ("),e("a",{staticClass:"tw-text-blue",attrs:{title:"Contact Us",href:"https://nuimagemedical.com/contact",target:"_blank"}},[t._v("\n        https://nuimagemedical.com/contact\n      ")]),t._v("). Otherwise, you must seek care at an emergency room facility or other provider equipped to deliver urgent or emergent care. If the situation is an emergency, call 911.\n    ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n      Your Privacy Rights\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      Nu Image Medical Inc. uses network and software security protocols to protect the confidentiality of your patient health information, including for example your medical record, EMR, imaging, and personal financial data. These protocols are designed to safeguard the data and to ensure its integrity against corruption. Personal information that identifies you or contains protected health information will not be disclosed to any third party without your consent, except as authorized by law for the purposes of consultation, treatment, payment/billing, and certain administrative purposes, or as otherwise set forth in Nu Image Medical Inc.’s Privacy Polices located at\n      "),e("a",{staticClass:"tw-text-blue",attrs:{href:"https://nuimagemedical.com/privacy-policy",target:"_blank"}},[t._v("\n        https://nuimagemedical.com/privacy-policy\n      ")]),t._v(" and\n      "),e("a",{staticClass:"tw-text-blue",attrs:{href:"https://nuimagemedical.com/notice-
2of-privacy-practices.",target:"_blank"}},[t._v("\n        https://nuimagemedical.com/notice-of-privacy-practices.\n      ")])]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      You may withhold or withdraw your consent to the telemedicine health service at any time before or during the consult without affecting the right to future care or treatment. You may also withdraw consent to extra personnel participating in telemedicine health services. You may also revoke your consent to allow Nu Image Medical Inc. to store and use the video images and audio recordings. The request to revoke consent must be in writing and received by Nu Image Medical Inc. If you revoke your consent, the video images and audio recordings will be destroyed and no longer used by Nu Image Medical Inc. Any uses of the video made with your permission prior to Nu Image Medical Inc.’s receipt of your revocation cannot be changed or undone. To revoke your consent to Nu Image Medical Inc.’s storage and use of video images and audio recordings of your telemedicine health service, please send a written statement to Nu Image Medical Inc.\n      ("),e("a",{staticClass:"tw-text-blue",attrs:{title:"Contact Us",href:"https://nuimagemedical.com/contact",target:"_blank"}},[t._v("\n        https://nuimagemedical.com/contact\n      ")]),t._v(")\n      and state that you are revoking your consent for Nu Image Medical Inc. to store and use video images and audio recordings of your telemedicine health service.\n    ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n      Disputes\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      The parties agree that any dispute arriving from the telemedicine consult will be resolved in Florida, and that Florida law shall apply to all disputes.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      BY SIGNING THIS FORM, YOU AGREE TO AND UNDERSTAND THE FOLLOWING:\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      Telemedicine is the use of electronic information and communication technologies by a health care provider to deliver services to an individual when he/she is located at a different site than the provider. I understand that I need to provide a full and accurate medical history, including any pre-existing conditions, to my telemedicine provider so that my provider can accurately determine what services I need. I further understand that my provider will determine whether telemedicine is appropriate for me at this time, based on the condition being diagnosed and/or treated. I understand that I may benefit from telemedicine, but that results cannot be guaranteed. My provider will inform me who will be present at the provider’s location during the telemedicine service and I have the right to exclude anyone from being present, if I so choose. I further understand that I have the right to object to the use of a telemedicine service without prejudice to any future care or treatment and without risking the loss or withdrawal of any health benefits to which I am entitled. If there are costs to me associated with my telemedicine encounter, a health care professional will discuss those costs with me prior to the start of my session. Further, I understand and agree that I must pay the full amount of the costs associated with this telemedicine service, including any prescription I may receive, and I will not attempt to submit a claim to Medicare, any other federal payor, or any state or private insurer. I understand that the laws that protect privacy and the confidentiality of medical information also apply to telemedicine and I agree that Nu Image Medical, Inc. may provide my confidential personal health information to other medical providers who may be located in other areas, including on rare occasions to providers outside the State, as necessary. I have the right to inspect and obtain copies of all information received and recorded during any telemedicine session, subject to the policies of the physicians, physician assistants, nurse practitioners and facilities involved in my care. I may be charged a fee for copies of my records in accordance with applicable State rules. I have read and understand the information above and all of my questions have been answered to my satisfaction.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker"},[t._v("\n      I consent to a physician, physician assistant, or nurse practitioner to provide services to me via telemedicine.\n    ")]),t._v(" "),e("p",{staticClass:"tw-text-sm tw-text-gray-darker tw-mb-12"},[t._v("\n      By clicking or signing “I Agree” below, I understand and consent to the foregoing acknowledgements and disclosures, including but not limited to Nu Image Medical Inc.’s Terms and Conditions, located at\n      "),e("a",{staticClass:"tw-text-blue",attrs:{href:"https://nuimagemedical.com/terms-conditions",target:"_blank"}},[t._v("\n        https://nuimagemedical.com/terms-conditions\n      ")]),t._v("\n      and which are incorporated herein by reference. Nu Image Medical, Inc. has a financial relationship with the Provider. You are, however, free to obtain your medical examination from another healthcare provider that is not associated with in Nu Image Medical, Inc. Nu Image Medical, Inc. will use its pharmacy partner to fulfill your order directly to your door. You are, however, free to obtain your prescription from any pharmacy of your choice by contacting Nu Image Medical, Inc. Further, for purposes of this informed consent, MY ACT OF CLICKING “I Agree” SHALL CONSTITUTE AND IS MY ELECTRONIC SIGNATURE.\n    ")])]),t._v(" "),e("CardModal",{attrs:{show:t.showNpp},on:{hide:function(e){t.showNpp=!1}}},[e("div",[e("h3",[t._v("AFFILIATED COVERED ENTITY")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        THIS NOTICE DESCRIBES HOW MEDICAL INFORMATION ABOUT YOU MAY BE USED AND DISCLOSED AND HOW YOU CAN GET ACCESS TO THIS INFORMATION. PLEASE REVIEW IT CAREFULLY.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        This Notice of Privacy Practices (the “Notice”) describes how Wellness Provider Group, P.A. and the members of its Affiliated Covered Entity (collectively “we” or “our”) may use and disclose your protected health information to carry out treatment, payment or business operations and for other purposes that are permitted or required by law. It also describes your rights to access and control your protected health information. An Affiliated Covered Entity is a group of health care providers under common ownership or control that designates itself as a single entity for purposes of compliance with the Health Insurance Portability and Accountability Act (“HIPAA”). The members of the Wellness Provider Group Affiliated Covered Entity will share protected health information with each other for the treatment, payment, and health care operations of the Wellness Provider Group Affiliated Covered Entity and as permitted by HIPAA and this Notice of Privacy Practices. For a complete list of the members of the Wellness Provider Group Affiliated Covered Entity, please contact the Wellness Provider Group, P.A. Privacy Office.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        “Protected health information” or “PHI” is information about you, including demographic information, that may identify you and that relates to your past, present or future physical health or condition, treatment or payment for health care services. This Notice also describes your rights to access and control your protected health information.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        USES AND DISCLOSURES OF PROTECTED HEALTH INFORMATION:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        Your protected health information may be used and disclosed by our health care providers, our staff, and others outside of our office that are involved in your care and treatment for the purpose of providing healthcare services to you, to supp
2ort our business operations, to obtain payment for your care, and any other use authorized or required by law.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        TREATMENT:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        We will use and disclose your protected health information to provide, coordinate, or manage your healthcare and any related services. This includes the coordination or management of your health care with a third party. For example, your protected health information may be provided to a health care provider to whom you have been referred to ensure the necessary information is accessible to diagnose or treat you.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        PAYMENT:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        Your protected health information may be used and disclosed to bill or obtain payment for your health care services. This may include certain activities that your health insurance plan may undertake before it approves or pays for your services, such as: making a determination of eligibility or coverage for insurance benefits and reviewing services provided to you for medical necessity.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        HEALTH CARE OPERATIONS:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        We may use or disclose, as needed, your protected health information in order to support the business activities of this office. These activities include, but are not limited to, improving quality of care, providing information about treatment alternatives or other health-related benefits and services, development or maintaining and supporting computer systems, legal services, and conducting audits and compliance programs, including fraud, waste and abuse investigations.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        BUSINESS ASSOCIATES:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        We may share your protected health information with third party “business associates” that perform various activities (for example, billing or transcription services) for our business. Whenever an arrangement between our office and a business associate involves the use or disclosure of your protected health information, we will have a written contract that contains terms that will protect the privacy of your protected health information.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        CERTAIN MARKETING ACTIVITIES:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        We may use or disclose your protected health information, as necessary, to provide you with information about treatment alternatives or other health-related benefits and services that may be of interest to you. You may contact our Privacy Officer to request that these materials not be sent to you.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        USES AND DISCLOSURES THAT DO NOT REQUIRE YOUR AUTHORIZATION:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        We may use or disclose your protected health information in the following situations without your authorization: as required by law; for public health purposes; for health care oversight purposes; for abuse or neglect reporting; pursuant to Food and Drug Administration requirements; in connection with legal proceedings; for law enforcement purposes; to coroners, funeral directors and organ donation agencies; for certain research purposes; for certain criminal investigations; to avert an imminent threat to health or safety; for certain military activity and national security purposes; for workers’ compensation reporting; relating to certain inmate reporting; and other required uses and disclosures. Under the law, we must make certain disclosures to you upon your request, and when required by the Secretary of the Department of Health and Human Services to investigate or determine our compliance with the requirements of the Health Insurance Portability and Accountability Act (HIPAA). State laws may further restrict these disclosures.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        USES AND DISCLOSURES THAT REQUIRE YOUR AUTHORIZATION:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        Other permitted and required uses and disclosures will be made only with your consent, authorization or opportunity to object unless permitted or required by law. Without your authorization, we are expressly prohibited from using or disclosing your protected health information for marketing purposes. We may not sell your protected health information without your authorization. Your protected health information will not be used for fundraising. If you provide us with an authorization for certain uses and disclosures of your information, you may revoke such authorization, at any time, in writing, except to the extent that we have taken an action in reliance on the use or disclosure indicated in the authorization.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        YOUR RIGHTS WITH RESPECT TO YOUR PROTECTED HEALTH INFORMATION:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        You have the right to inspect and copy your protected health information. This means you may inspect and obtain a copy of protected health information about you for so long as we maintain the protected health information. You may obtain your medical record that contains medical and billing records and any other records that your physician and the practice uses for making decisions about you. As permitted by federal or state law, we may charge you a reasonable copy fee for a copy of your records.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"}
2,[t._v("\n        Under federal law, however, you may not inspect or copy the following records: psychotherapy notes; information compiled in reasonable anticipation of, or use in, a civil, criminal, or administrative action or proceeding; and laboratory results that are subject to law that prohibits access to protected health information. Depending on the circumstances, a decision to deny access may be reviewable. In some circumstances, you may have a right to have this decision reviewed. Please contact us if you have questions about access to your medical record.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        You may request access to or an amendment of your protected health information.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        You have the right to request a restriction on the use or disclosure of your protected health/personal information. This means you may ask us not to use or disclose any part of your protected health information for the purposes of treatment, payment or health care operations. You may also request that any part of your protected health information not be disclosed to family members or friends who may be involved in your care or for notification purposes as described in this Notice of Privacy Practices. Your request must be in writing and state the specific restriction requested and to whom you want the restriction to apply. We are not required to agree to a restriction that you may request, except if the requested restriction is on a disclosure to a health plan for a payment or health care operations purpose regarding a service that has been paid in full out-of-pocket.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        You have the right to request to receive confidential communications from us by alternative means or at an alternate location. We will comply with all reasonable requests submitted in writing which specify how or where you wish to receive these communications.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        You have the right to request an amendment of your projected health information. If we deny your request for amendment, you have the right to file a statement of disagreement with us. We may prepare a rebuttal to our statement and we will provide you with a copy of any such rebuttal.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        You have the right to receive an accounting of certain disclosures of your protected health information that we have made, paper or electronic, except for certain disclosures which were pursuant to an authorization, for purposes of treatment, payment, healthcare operations (unless the information is maintained in an electronic health record); or for certain other purposes.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        You have the right to obtain a paper copy of this Notice, upon request, even if you have previously requested its receipt electronically by e-mail.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        REVISIONS TO THIS NOTICE:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        We reserve the right to revise this Notice and to make the revised Notice effective for protected health information we already have about you as well as any information we receive in the future. You are entitled to a copy of the Notice currently in effect. Any significant changes to this Notice will be posted on our web site. You then have the right to object or withdraw as provided in this Notice.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        BREACH OF HEALTH INFORMATION:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        We will notify you if a reportable breach of your unsecured protected health information is discovered. Notification will be made to you no later than 60 days from the breach discovery and will include a brief description of how the breach occurred, the protected health information involved and contact information for you to ask questions.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        COMPLAINTS:\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        Complaints about this Notice or how we handle your protected health information should be directed to our HIPAA Privacy Officer. If you are not satisfied with the manner in which a complaint is handled you may submit a formal complaint to the U.S. Department of Health and Human Services, Office for Civil Rights by sending a letter to 200 Independence Avenue, S.W., Washington, D.C. 20201, calling 1-877-696-6775, or visiting "),e("a",{staticClass:"tw-text-blue-600 hover:tw-text-blue-900",attrs:{title:"hsa hippa",target:"_self",href:"www.hhs.gov/ocr/privacy/hipaa/complaints/"}},[t._v(" www.hhs.gov/ocr/privacy/hipaa/complaints/ ")]),t._v(". We will not retaliate against you for filing a complaint.\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        We must follow the duties and privacy practices described 
2in this Notice. We will maintain the privacy of your protected health information and to notify affected individuals following a breach of unsecured protected health information. If you have any questions about this Notice, please contact us and ask to speak with our HIPAA Privacy Officer.\n      ")]),t._v(" "),e("h4",{staticClass:"tw-mt-4 tw-mb-2"},[t._v("\n        ACKNOWLEDGEMENT OF RECEIPT OF NOTICE OF PRIVACY PRACTICES\n      ")]),t._v(" "),e("p",{staticClass:"tw-text-base tw-text-gray-darker"},[t._v("\n        By clicking and typing your name in the boxes below, you acknowledge that you have received or been given an opportunity to receive the Wellness Provider Group Affiliated Covered Entity’s Notice of Privacy Practices.\n      ")]),t._v(" "),e("h5",{staticClass:"tw-my-2 tw-font-bold"},[t._v("\n        How to Contact Us:\n      ")]),t._v(" "),e("ul",{staticClass:"tw-list-reset tw-text-base tw-mb-8"},[e("li",[t._v("\n          Nu Image Medical, Inc.\n        ")]),t._v(" "),e("li",[t._v("\n          5401 W. Kennedy Blvd\n          Suite #100\n        ")]),t._v(" "),e("li",[t._v("\n          Tampa, Florida 33609\n        ")]),t._v(" "),e("li",[t._v("\n          United States\n        ")]),t._v(" "),e("li",[t._v("\n          Email: "),e("a",{attrs:{href:"mailto:[email protected]"}},[t._v("\n            [email protected]\n          ")])]),t._v(" "),e("li",[t._v("\n          Telephone: "),e("a",{attrs:{href:"tel:18885203438"}},[t._v("\n            888-520-3438\n          ")])])])])])],1)}),[function(){var t=this,e=t._self._c;return e("span",{staticClass:"tw-text-base"},[t._v("\n      I agree to\n      "),e("a",{staticClass:"hover:tw-opacity-75 tw-underline tw-text-brand-brown",attrs:{href:"/terms-conditions",target:"_blank"}},[t._v("\n        Terms of Use\n      ")]),t._v(",\n      "),e("a",{staticClass:"hover:tw-opacity-75 tw-underline tw-text-brand-brown",attrs:{href:"/privacy-policy",target:"_blank"}},[t._v("\n        Privacy Policy\n      ")]),t._v(", and consent to\n      "),e("a",{staticClass:"hover:tw-opacity-75 tw-underline tw-text-brand-brown",attrs:{href:"/telehealth-notice",target:"_blank"}},[t._v("\n        Telehealth\n      ")])])},function(){var t=this,e=t._self._c;return e("span",{staticClass:"tw-text-base"},[t._v("\n      I agree & consent to "),e("a",{staticClass:"tw-text-brand-brown hover:tw-opacity-75 tw-underline tw-ml-1",attrs:{href:"/notice-of-privacy-practices",target:"_blank"}},[t._v("\n        Notice of Privacy Practices\n      ")])])}],!1,null,null,null).exports},31113:(t,e,n)=>{"use strict";n.d(e,{Z:()=>h});var r=n(75212),i=n.n(r),o=n(81409),a=n(7912);const s={name:"VideoRecorder",components:{InlineError:o.Z},mixins:[a.ZP],props:{maxSeconds:{required:!1,type:Number,default:30},previousVideoUrl:{required:!1,type:String,default:null},isAutomaticUpload:{required:!1,type:Boolean,default:!1},talkingPoints:{required:!1,type:Array,default:function(){return[]}},showAdditionalTips:{required:!1,type:Boolean,default:!0}},data:function(){return{recorder:null,cameraStream:null,recording:!1,countdown:0,countdownInterval:null,remainingTime:this.maxSeconds,remainingTimeInterval:null,recordedBlob:null,saving:!1,videoUrl:null,showInitialUI:!0,tipsExpanded:!1}},computed:{isBrowserSupported:function(){return!(!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia)}},mounted:function(){null!=this.previousVideoUrl&&(this.showInitialUI=!0,this.videoUrl="/secure-files/".concat(this.previousVideoUrl),this.setVideo())},beforeDestroy:function(){var t;this.releaseRecording(),null!==(t=this.videoUrl)&&void 0!==t&&t.startsWith("blob:")&&URL.revokeObjectURL(this.videoUrl)},methods:{releaseRecording:function(){clearInterval(this.countdownInterval),clearInterval(this.remainingTimeInterval),this.countdownInterval=null,this.remainingTimeInterval=null,this.countdown=0,this.recording=!1,(0,a.fv)(this.cameraStream),this.cameraStream=null,this.recorder&&(this.recorder.destroy(),this.recorder=null)},startRecording:function(){var t=this;if(!this.recording&&!this.saving){this.releaseRecording();var e=this.beginMediaAttempt();this.showInitialUI=!1,this.recording=!0,this.captureCamera((function(n){t.cameraStream
2=n,t.countdown=5,t.countdownInterval=setInterval((function(){t.isCurrentMediaAttempt(e)&&(t.countdown-=1,0===t.countdown&&t.record())}),1e3)}),e)}},record:function(){var t=this;if(clearInterval(this.countdownInterval),this.countdownInterval=null,this.countdown=0,this.cameraStream&&!this.mediaDisposed)try{var e=this.$refs.video;e.muted=!0,e.volume=0,e.srcObject=this.cameraStream,this.recorder=i()(this.cameraStream,{type:"video",mimeType:"video/webm;codecs=vp9",videoBitsPerSecond:512e3}),this.recorder.startRecording(),this.recordedBlob=null,this.remainingTime=this.maxSeconds;var n=this.mediaAttempt;this.remainingTimeInterval=setInterval((function(){t.isCurrentMediaAttempt(n)&&(t.remainingTime-=1,0===t.remainingTime&&t.stopRecording())}),1e3),this.recording=!0}catch(t){this.releaseRecording(),this.showInitialUI=!0,this.reportMediaError("We were unable to start recording. Please try again.")}},stopRecording:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.recorder;if(n){var r=this.mediaAttempt;this.recording=!1,clearInterval(this.remainingTimeInterval),this.remainingTimeInterval=null,this.remainingTime=this.maxSeconds;try{n.stopRecording((function(){if(t.isCurrentMediaAttempt(r))try{var i;t.recordedBlob=n.getBlob(),t.releaseRecording(),null!==(i=t.videoUrl)&&void 0!==i&&i.startsWith("blob:")&&URL.revokeObjectURL(t.videoUrl),t.videoUrl=URL.createObjectURL(t.recordedBlob),t.setVideo(),(e||t.isAutomaticUpload)&&t.saveVideo()}catch(e){t.releaseRecording(),t.showInitialUI=!0,t.reportMediaError("We were unable to finish recording. Please try again.")}}))}catch(t){this.releaseRecording(),this.showInitialUI=!0,this.reportMediaError("We were unable to finish recording. Please try again.")}}},stopAndSaveVideo:function(){if(!this.saving)return this.recording&&this.recorder?this.stopRecording(!0):null!=this.recordedBlob?this.saveVideo():void(this.inlineValidation&&this.reportMediaError("Please finish recording your video before saving."))},captureCamera:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.mediaAttempt;Promise.resolve().then((function(){return navigator.mediaDevices.getUserMedia({audio:!0,video:!0})})).then((function(r){if(!e.isCurrentMediaAttempt(n))return(0,a.fv)(r);t(r)})).catch((function(t){e.isCurrentMediaAttempt(n)&&(e.releaseRecording(),e.showInitialUI=!0,e.reportMediaError("We were unable to access your camera. Please contact support.",!0),bugsnagClient.notify(t))}))},setVideo:function(){var t=this;this.$nextTick((function(){var e=t.$refs.video;!t.mediaDisposed&&e&&null!=t.videoUrl&&(e.srcObject=null,e.muted=!1,e.volume=1,e.src=t.videoUrl)}))},saveVideo:function(){var t=this;if(null!=this.recordedBlob&&!this.saving){var e=this.beginMediaAttempt();this.saving=!0;var n=this.getUniqueFileName(),r=new FormData;r.append("video",this.recordedBlob,"".concat(n,".webm")),axios.post("/json/upload-video",r).then((function(n){if(t.isCurrentMediaAttempt(e)){if(t.saving=!1,t.inlineValidation&&!n.data)return t.reportMediaError("Error saving the video. Please try saving again.");t.$emit("done",null,n.data)}})).catch((function(n){t.isCurrentMediaAttempt(e)&&(t.saving=!1,t.reportMediaError("Error saving the video. Please try saving again."))}))}},getUniqueFileName:function(){var t=(new Date).getTime(),e=Math.floor(1e3*Math.random());return"".concat(t,"_").concat(e)}}};var l=n(93379),u=n.n(l),c=n(14179),d={insert:"head",singleton:!1};u()(c.Z,d);c.Z.locals;const h=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-container tw-text-center tw-items-center"},[t.isBrowserSupported?t._e():e("div",{staticClass:"tw-bg-yellow-100 tw-border tw-border-yellow-400 tw-text-yellow-700 tw-px-4 tw-py-3 tw-rounded tw-mb-4"},[t._m(0)]),t._v(" "),t.showInitialUI?e("div",{staticClass:"tw-w-full tw-rounded-2xl tw-bg-[#eeeeee] tw-flex tw-flex-col tw-items-center tw-justify-center tw-py-16 tw-px-10 tw-min-h-[400px]"},[t._m(1),t._v(" "),t.talkingPoints&&t.talkingPoints.length>0?e("div",{staticClass:"tw-w-full tw-max-w-md tw-mb-8 tw-bg-white tw-rounded-xl tw-p-6 tw-shadow-sm tw-text-left"},[e("h3",{staticClass:"tw-text-lg tw-font-semibold tw-text-gray-800 tw-mb-4 tw-flex tw-items-center"},[e("svg",{staticClass:"tw-w-5 tw-h-5 tw-mr-2 tw-text-brand-brown",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"}})]),t._v("\n        What to mention in your video:\n      ")]),t._v(" "),e("ul",{staticClass:"tw-space-y-2 tw-text-sm tw-text-gray-700"},t._l(t.talkingPoints,(function(n,r){return e("li",{key:r,staticClass:"tw-flex tw-items-start"},[e("span",{staticClass:"tw-text-brand-brown tw-mr-2 tw-mt-0.5"},[t._v("•")]),t._v(" "),e("span",{domProps:{innerHTML:t._s(n)}})])})),0),t._v(" "),t.showAdditionalTips?e("div",{staticClass:"tw-mt-4 tw-pt-4 tw-border-t tw-border-gray-200"},[e("button",{staticClass:"tw-flex tw-items-center tw-text-sm tw-text-gray-600 hover:tw-text-gray-800 tw-transition-colors",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.tipsExpanded=!t.tipsExpanded}}},[e("svg",{staticClass:"tw-w-4 tw-h-4 tw-mr-1 tw-transition-transform",class:{"tw-rotate-90":t.tipsExpanded},attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})]),t._v("\n          General tips\n        ")]),t._v(" "),t.tipsExpanded?e("div",{staticClass:"tw-mt-3 tw-text-sm tw-text-gray-600 tw-space-y-1"},[e("p",[t._v("• Speak clearly and at a normal pace")]),t._v(" "),e("p",[t._v("• Look directly at the camera")]),t._v(" "),e("p",[t._v("• Be honest and specific about your symptoms")]),t._v(" "),e("p",[t._v("• Mention how long you've experienced issues")])]):t._e()]):t._e()]):t._e(),t._v(" "),e("button",{ref:"mediaControl",staticClass:"tw-bg-brand-brown hover:tw-bg-brand-brown/90 tw-text-white tw-font-semibold tw-rounded-full tw-py-2 tw-px-6 tw-text-lg tw-min-w-[200px] tw-mb-6 tw-transition-colors tw-duration-200 disabled:tw-bg-gray-300 disabled:tw-cursor-not-allowed",attrs:{id:"btn-start-recording",type:"button","data-media-control":"","aria-describedby":t.mediaDescription,"aria-invalid":t.mediaDescription?"true":null,disabled:t.recording},on:{click:function(e){return e.preventDefault(),t.startRecording.apply(null,arguments)}}},[t._v("\n      Start Recording\n    ")]),t._v(" "),t._m(2)]):t._e(),t._v(" "),t.showInitialUI?t._e():e("div",{ref:"mediaControl",attrs:{"data-media-control":"",role:"group",tabindex:"-1","aria-label":"Video recording","aria-describedby":t.mediaDescription,"aria-invalid":t.mediaDescription?"true":null}},[t.recording||t.saving||null!==t.recordedBlob?t._e():e("button",{staticClass:"tw-rounded-full tw-btn tw-bg-black tw-text-white hover:tw-text-gray tw-my-5",attrs:{id:"btn-start-recording",type:"button",disabled:t.recording},on:{click:function(e){return e.preventDefault(),t.startRecording.apply(null,arguments)}}},[t._v("\n      Start Recording\n    ")]),t._v(" "),t.recording&&0===t.countdown?e("div",{staticClass:"tw-w-full tw-text-center red-glow"},[t._v("\n      Recording. "+t._s(t.remainingTime)+" seconds remaining.\n    ")]):t._e(),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"tw-relative tw-w-full tw-flex tw-justify-center tw-items-center"},[e("video",{ref:"video",staticClass:"tw-mb-8 tw-w-full tw-max-h-[400px] aspect-video tw-bg-black tw-rounded-xl",attrs:{controls:!t.recording,auto
2play:"",playsinline:""}}),t._v(" "),t.countdown>0?e("div",{staticClass:"tw-absolute tw-inset-0 tw-flex tw-items-center tw-justify-center tw-z-40 tw-text-white tw-text-10xl"},[t._v("\n        "+t._s(t.countdown)+"\n      ")]):t._e()]),t._v(" "),t.saving?t._e():e("button",{staticClass:"tw-rounded-full tw-btn tw-bg-green tw-text-white hover:tw-text-gray tw-mb-5",attrs:{id:"btn-save-recording",type:"button"},on:{click:function(e){return e.preventDefault(),t.stopAndSaveVideo.apply(null,arguments)}}},[t._v("\n      Save Video\n    ")]),t._v(" "),t.saving?e("div",{staticClass:"tw-text-center",attrs:{role:"status"}},[e("svg",{staticClass:"tw-w-8 tw-h-8 tw-mr-2 tw-text-gray-200 tw-animate-spin tw-dark:text-gray-600 tw-fill-blue-600",attrs:{"aria-hidden":"true",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}}),t._v(" "),e("path",{attrs:{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"}})]),t._v(" "),e("span",{staticClass:"tw-sr-only"},[t._v("Loading...")])]):t._e()]),t._v(" "),e("InlineError",{attrs:{id:t.mediaErrorId,messages:t.mediaErrorMessages}})],1)}),[function(){var t=this,e=t._self._c;return e("p",{staticClass:"tw-text-sm"},[e("strong",[t._v("Browser Not Supported")]),e("br"),t._v("\n      Your browser may be outdated or doesn't support video recording. Please use "),e("b",[t._v("Chrome")]),t._v(" or "),e("b",[t._v("Safari")]),t._v(" instead.\n    ")])},function(){var t=this._self._c;return t("div",{staticClass:"tw-mb-10"},[t("img",{staticClass:"tw-w-20 tw-h-20",attrs:{src:"/assets/img/camera_icon.png"}})])},function(){var t=this._self._c;return t("div",{staticClass:"tw-text-center tw-text-gray-800"},[t("div",{staticClass:"tw-text-lg tw-font-medium tw-mb-2"},[this._v("\n        Keep it under 30 seconds\n      ")])])}],!1,null,"09b3567d",null).exports},45663:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const r={components:{CardModal:n(411).Z},data:function(){return{show:!1}},created:function(){void 0===Cookies.get("accepted-hcg-enroll")&&(this.show=!0)},methods:{accept:function(){Cookies.set("accepted-hcg-enroll","true",{expires:14,path:"/"}),this.show=!1}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("CardModal",{staticClass:"tw-w-2/5",attrs:{show:t.show,"show-cancel-button":!1}},[e("div",{staticClass:"tw-bg-white tw-relative tw-rounded"},[e("div",[e("div",{staticClass:"tw-mx-auto tw-flex tw-items-center tw-justify-center",attrs:{id:"icon"}},[e("div",{staticClass:"tw-flex tw-items-center tw-justify-center tw-h-12 tw-w-12 tw-rounded-full tw-bg-red-lightest"},[e("svg",{staticClass:"tw-h-6 tw-w-6 tw-text-red-darker tw-fill-current",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fal","data-icon":"megaphone",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"}},[e("path",{attrs:{fill:"currentColor",d:"M568 32h-16c-4.42 0-8 3.58-8 8v19.33L32 179.8V168c0-4.42-3.58-8-8-8H8c-4.42 0-8 3.58-8 8v176c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-11.8l130.58 30.72c-1.56 6.8-2.58 13.8-2.58 21.07 0 53.02 42.98 96 96 96 45.13 0 82.45-31.3 92.64-73.29L544 452.67V472c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8V40c0-4.42-3.58-8-8-8zM256 448c-35.29 0-64-28.71-64-64 0-4.75.72-9.31 1.76-13.74l124.13 29.21C310.92 427.27 285.93 448 256 448zM32 299.33v-86.66L544 92.2v327.6L32 299.33z"}})])])]),t._v(" "),e("div",{staticClass:"tw-mt-3 tw-text-center sm:tw-mt-5"},[e("h3",{staticClass:"tw-text-2xl tw-leading-6 tw-font-bold tw-text-gray-darkest tw-uppercase",attrs:{id:"modal-headline"}},[t._v("\n          Hcg compounding notice\n        ")]),t._v(" "),e("div",{staticClass:"tw-mt-5"},[e("div",{staticClass:"tw-text-xl tw-text-left tw-leading-5 tw-text-gray-500 tw-text-justify"},[e("p",[t._v("\n              Due to an FDA law change, after March 23rd, 2020, our partner pharmacies can no longer compound HCG. You\n              can read our blog about it "),e("a",{staticClass:"tw-text-blue",attrs:{href:"https://nuimagemedical.com/hcg-diet/hcg-news-march-2020",target:"_blank"}},[t._v("\n                here\n              ")]),t._v(" or read the FDA statement "),e("a",{attrs:{href:"https://www.fda.gov/media/119229/download",target:"_blank"}},[t._v("\n                here\n              ")]),t._v(".\n            ")]),t._v(" "),e("hr",{staticClass:"tw-mt-4 tw-border tw-border-dashed tw-border-2"}),t._v(" "),e("p",{staticClass:"tw-mt-4"},[t._v("\n              As of right now the availability of HCG is as follows:\n            ")]),t._v(" "),e("div",{staticClass:"tw-flex tw-flex-col tw-justify-center tw-items-center"},[e("div",{staticClass:"tw-flex tw-justify-center tw-items-center"},[e("div",{staticClass:"tw-font-semibold"},[e("span",{staticClass:"tw-text-gray-500 tw-font-medium"},[t._v("\n                    * Our 46 day program is GONE!\n                  ")])])]),t._v(" "),e("div",{staticClass:"tw-mt-4 tw-flex tw-justify-center tw-items-center"},[e("div",{staticClass:"tw-font-semibold"},[e("span",{staticClass:"tw-text-gray-500 tw-font-medium"},[t._v("\n                    * Our 26 day program will not be available after August 10th. Due to short dated expiration dates\n                    of last inventory.\n                  ")])])]),t._v(" "),e("div",{staticClass:"tw-mt-4 tw-flex tw-justify-center tw-items-center"},[e("div",{staticClass:"tw-font-semibold"},[e("span",{staticClass:"tw-text-gray-500 tw-font-medium"},[t._v("\n                    * Due to short dated expiration dates, all HCG being sold is for immediate use only.\n                  ")])])])]),t._v(" "),e("p",{staticClass:"tw-font-black tw-mt-3 tw-text-center"},[t._v("\n              If you want to buy HCG, BUY IT NOW - DON’T WAIT.\n            ")])])])])]),t._v(" "),e("div",{staticClass:"tw-mt-5 sm:tw-mt-6"},[e("span",{staticClass:"tw-flex"},[e("button",{staticClass:"tw-mx-auto tw-w-full tw-shadow-md tw-rounded-full tw-bg-black tw-px-12 tw-py-4 tw-shadow-2xl tw-text-lg tw-font-semibold tw-text-white tw-mb-2 hover:tw-bg-white hover:tw-text-black",attrs:{type:"button"},on:{click:t.accept}},[t._v("\n          I understand\n        ")])])])])])}),[],!1,null,null,null).exports},71952:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var r=n(86455),i=n.n(r),o=n(47907);const a={components:{Multiselect:n.n(o)()},props:{bucks:{type:Array,default:function(){return[]},required:!1},availableBucks:{type:Number,required:!1},redirect:{type:Boolean,required:!1,default:!0},customStyling:{type:Object,required:!1,default:function(){return{proceed:"md:tw-px-5 tw-cursor-pointer tw-inline-flex tw-justify-center tw-border tw-border-transparent tw-px-4 tw-py-2 tw-bg-accent-green tw-text-black tw-leading-6 tw-font-medium tw-text-black tw-shadow-sm hover:tw-bg-accent-green tw-transition-all tw-duration-500 focus:tw-outline-none sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-shadow-lg",back:"md:tw-px-5 tw-cursor-pointer tw-inline-flex tw-justify-center tw-border tw-border-gray-light tw-px-4 tw-py-2 tw-text-base tw-leading-6 tw-font-medium tw-text-white tw-shadow-sm hover:tw-text-gray-500 focus:outline-none focus:border-white focus:shadow-outline sm:tw-text-sm sm:tw-leading-5 tw-rounded-full tw-shadow-lg tw-bg-black"}}},showBucks:{type:String,required:!1,default:"false"}},data:function(){return{modalVisible:!1,buckIds:[],ratio:"0.01",redeemableBucksTotal:0,showRedeemButton:this.showBucks}},computed:{options:function(){var t,e;return null!==(t=null===(e=this.bucks)||void 0===e?void 0:e.map((function(t){return{id:t.id,name:"".concat(t.amount," Nu Bucks")}}
2)))&&void 0!==t?t:[]},value:{get:function(){return this.buckIds},set:function(t){this.buckIds=t.map((function(t){return t.id}))}}},mounted:function(){var t=this;void 0===this.availableBucks?axios.get("json/get-available-bucks").then((function(e){t.redeemableBucksTotal=e.data.availableEarnings})).catch((function(t){console.error("Error:",t)})):this.redeemableBucksTotal=this.availableBucks},methods:{openModal:function(){this.modalVisible=!0},submitForm:function(){var t=this;axios.post("/redeem-bucks",{buckIds:this.buckIds.map((function(t){return t.id})),_token:window.Laravel.csrfToken}).then((function(e){t.modalVisible=!1,t.$emit("redeemed"),i().fire({title:"Success!",text:e.data.message,icon:"success",confirmButtonText:"Ok"}).then((function(e){e.value&&t.redirect&&window.location.reload(),t.showRedeemButton=!1,t.$bvModal.hide("redeem-modal")}))})).catch((function(t){i().fire({title:"Error!",text:t.response.data.message,icon:"error",confirmButtonText:"Ok"})}))}}};var s=n(93379),l=n.n(s),u=n(98880),c={insert:"head",singleton:!1};l()(u.Z,c);u.Z.locals;var d=n(11555),h={insert:"head",singleton:!1};l()(d.Z,h);d.Z.locals;const f=(0,n(51900).Z)(a,(function(){var t,e=this,n=e._self._c;return n("div",[e.showRedeemButton?n("button",{class:e.customStyling.proceed,attrs:{id:"show-btn"},on:{click:function(t){return t.preventDefault(),e.$bvModal.show("redeem-bucks-modal")}}},[e._v("\n    Redeem Nu Bucks\n  ")]):e._e(),e._v(" "),n("b-modal",{attrs:{id:"redeem-bucks-modal","hide-footer":""},scopedSlots:e._u([{key:"modal-title",fn:function(){return[e._v("\n      Convert Nu Bucks to Cash\n    ")]},proxy:!0}])},[e._v(" "),n("div",{staticClass:"d-block"},[n("div",{staticClass:"tw-text-center tw-font-bold"},[e._v("\n        Conversion rate: 1 NuBuck = $ "+e._s(e.ratio)+"\n      ")]),e._v(" "),n("div",{staticClass:"tw-text-center"},[n("p",[n("span",{staticClass:"tw-text-3xl"},[e._v(" "+e._s(null!==(t=e.availableBucks)&&void 0!==t?t:0)+" ")]),e._v(" Nu Bucks")]),e._v(" "),n("br"),e._v(" "),n("div",[e._v("equals")]),e._v(" "),n("hr"),e._v(" "),e.availableBucks?n("span",{staticClass:"tw-font-bold tw-text-xl"},[e._v("\n          $ "+e._s(Math.round(e.availableBucks*e.ratio*100)/100)+"\n        ")]):e._e()]),e._v(" "),n("p",[e._v("By clicking redeem you will receive the cash  equivalent of your Nu Bucks in your Nu Image credits to be used on your next order")]),e._v(" "),n("form",{on:{submit:function(t){return t.preventDefault(),e.submitForm.apply(null,arguments)}}},[e.options.length>0?n("div",[n("label",{staticClass:"block text-sm font-medium leading-6 text-gray-900",attrs:{for:"price"}},[e._v("Select One or more Nu Bucks to redeem")]),e._v(" "),n("div",{staticClass:"relative mt-2 rounded-md shadow-sm"},[n("div",{staticClass:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"}),e._v(" "),n("multiselect",{attrs:{options:e.options,multiple:!0,"close-on-select":!1,"clear-on-select":!1,"preserve-search":!0,placeholder:"Pick some",label:"name","track-by":"name","preselect-first":!0},model:{value:e.buckIds,callback:function(t){e.buckIds=t},expression:"buckIds"}})],1)]):e._e(),e._v(" "),n("div",{staticClass:"tw-mt-3"},[n("button",{staticClass:"tw-float-right",class:e.customStyling.proceed,attrs:{type:"submit"}},[e._v("\n            Redeem\n          ")]),e._v(" "),n("button",{staticClass:"tw-p-2 tw-bg-black tw-text-white tw-rounded",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),e.$bvModal.hide("redeem-bucks-modal")}}},[e._v("\n            Close\n          ")])])])])])],1)}),[],!1,null,null,null).exports},52997:(t,e,n)=>{"use strict";var r=n(13311),i=n.n(r);const o={props:{classes:{default:"tw-input",required:!1,type:String},defaultAddress:{required:!0,type:String}},data:function(){return{street_number:"",route:"",city:"",state:"",county:"",country:"",postal_code:"",address:"",full_address:"",latitude:"",longitude:""}},mounted:function(){var t=this;this.autocomplete=new google.maps.places.Autocomplete(this.$refs.autocomplete,{types:["geocode"],componentRestrictions:{country:"us"}}),this.autocomplete.addListener("place_changed",(function(){var e=t.autocomplete.getPlace();t.street_number=t.get_address_value("street_number",e),t.route=t.get_address_value("route",e),t.city=t.get_address_value("locality",e),t.state=t.get_address_value("administrative_area_level_1",e,"short_name"),t.county=t.get_address_value("administrative_area_level_2",e),t.country=t.get_address_value("country",e,"short_name"),t.postal_code=t.get_address_value("postal_code",e),t.address=t.street_number+" "+t.route,t.full_address=e.formatted_address,t.latitude=t.get_geometry_value("lat",e),t.longitude=t.get_geometry_value("lng",e),t.city||(t.city=t.get_address_value("neighborhood",e)),t.city||(t.city=t.get_address_value("administrative_area_level_3",e)),t.$refs.autocomplete.value=t.address,t.$emit("addressinfo",{street_number:t.street_number,route:t.route,city:t.city,state:t.state,county:t.county,country:t.country,postal_code:t.postal_code,latitude:t.latitude,longitude:t.longitude,address:t.address,full_address:t.full_address})}
2))},methods:{get_address_value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"long_name",r=i()(e.address_components,function(e){return e.types[0]==t}.bind(t));return r?r[n]:"locality"===t?this.get_address_value("sublocality_level_1",e,n):""},get_geometry_value:function(t,e){return i()(e.geometry.location,function(e,n){return n==t}.bind(t))()}}},a=o;(0,n(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("div",[e("input",{ref:"autocomplete",class:t.classes,attrs:{placeholder:"Enter address",type:"text",autofocus:""},domProps:{value:t.defaultAddress}})])}),[],!1,null,null,null).exports},56273:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i});const r={props:{showRating:{default:!0,type:Boolean},title:{required:!0,type:String},orderId:{default:null,type:Number},type:{default:null,type:String}},data:function(){return{loading:!1,success:!1,rating:5,comments:null}},methods:{submit:function(){var t=this;this.loading=!0,axios.post("/json/feedback",{comments:this.comments,rating:"error"===this.type?0:this.rating,order_id:this.orderId,type:this.t
2ype}).then((function(e){t.success=!0})).catch((function(t){return console.error})).finally((function(){return t.loading=!1}))}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",[e("h1",{staticClass:"tw-text-orange-500 tw-mt-0"},[t._v("\n    "+t._s(t.title)+"\n  ")]),t._v(" "),e("div",{staticClass:"tw-text-dark tw-text-xl tw-mb-6"},[t._t("default")],2),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.success?e("div",{staticClass:"tw-text-gray-darker tw-text-xl tw-mb-6"},[t._v("\n      Thank you for your feedback!\n    ")]):e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[t.showRating?e("div",{staticClass:"tw-flex tw-items-center tw-justify-center tw-mb-6"},t._l(5,(function(n){return e("button",{key:n,staticClass:"tw-block tw-mx-2 tw-p-0 tw-rounded",on:{click:function(e){e.preventDefault(),t.rating=n}}},[e("svg",{staticClass:"tw-block tw-w-10 tw-h-10 md:tw-w-12 md:tw-h-12 tw-fill-current tw-text-grey",class:{"tw-text-yellow":t.rating>=n},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M10 15l-5.878 3.09 1.123-6.545L.489 6.91l6.572-.955L10 0l2.939 5.955 6.572.955-4.756 4.635 1.123 6.545z"}})])])})),0):t._e(),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.comments,expression:"comments"}],staticClass:"tw-input tw-block tw-mb-3 tw-border-gray-lighter",attrs:{rows:"8",placeholder:"Comments..."},domProps:{value:t.comments},on:{input:function(e){e.target.composing||(t.comments=e.target.value)}}}),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-rounded-full tw-text-white tw-btn-lg tw-w-full",class:{"loading tw-rounded-full":t.loading}},[t._v("\n        Submit Feedback\n      ")])])])],1)}),[],!1,null,null,null).exports},96936:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const r={props:{title:{required:!0,type:String}},data:function(){return{loading:!1,success:!1,current_url:null,email:null,description:null}},mounted:function(){this.current_url=window.location.href},methods:{submit:function(){var t=this;this.loading=!0,axios.post("/json/report-issue",{email:this.email,current_url:this.current_url,description:this.description}).then((function(e){t.success=!0})).catch((function(t){return console.error})).finally((function(){return t.loading=!1}))}}};const i=(0,n(51900).Z)(r,(function(){var t=this,e=t._self._c;return e("div",[e("h1",{staticClass:"tw-text-black tw-font-medium tw-mt-0"},[t._v("\n    "+t._s(t.title)+"\n  ")]),t._v(" "),e("div",{staticClass:"tw-text-dark tw-text-xl tw-mb-6"},[t._t("default")],2),t._v(" "),e("Transition",{attrs:{name:"fade",mode:"out-in"}},[t.success?e("div",{staticClass:"tw-text-gray-darker tw-text-xl tw-mb-6"},[e("p",[t._v("Thank you for letting us know. One of our support specialists will review your submission and if necessary we’ll be in touch shortly.")]),t._v(" "),e("p",[t._v("If you are able to continue and submit your enrollment, we recommend that you do so.")]),t._v(" "),e("p",[t._v("Have a great day!")])]):e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.current_url,expression:"current_url"}],attrs:{type:"hidden"},domProps:{value:t.current_url},on:{input:function(e){e.target.composing||(t.current_url=e.target.value)}}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"tw-input tw-rounded-full tw-px-4 tw-block tw-mb-3 tw-border-gray-lighter",attrs:{required:"",type:"email",placeholder:"Email"},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"tw-input tw-block tw-rounded-2xl tw-mb-3 tw-border-gray-lighter",attrs:{required:"",rows:"8",placeholder:"Comments..."},domProps:{value:t.description},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),e("button",{staticClass:"tw-btn tw-bg-black tw-rounded-full tw-text-white tw-btn-lg tw-py-2 tw-w-full",class:{"loading tw-rounded-full":t.loading}}
2,[t._v("\n        Report Issue\n      ")])])])],1)}),[],!1,null,null,null).exports},47907:function(t){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=89)}([function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(35),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(t){return function(){return o.apply(t,arguments)}}},function(t,e,n){var r=n(59),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},function(t,e,n){var r=n(4),i=n(43).f,o=n(30),a=n(11),s=n(33),l=n(95),u=n(66);t.exports=function(t,e){var n,c,d,h,f,p=t.target,w=t.global,m=t.stat;if(n=w?r:m?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in e){if(h=e[c],d=t.dontCallGetSet?(f=i(n,c))&&f.value:n[c],!u(w?c:p+(m?".":"#")+c,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),a(n,c,h,t)}}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(e,n(139))},function(t,e,n){var r=n(0);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(8),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},function(t,e,n){var r=n(1),i=n(14),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},function(t,e,n){var r=n(2),i=n(59),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}
vendor: 5,016 bytes, line 2
2},function(t,e,n){var r=n(4),i=n(47),o=n(7),a=n(75),s=n(72),l=n(76),u=i("wks"),c=r.Symbol,d=c&&c.for,h=l?c:c&&c.withoutSetter||a;t.exports=function(t){if(!o(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&o(c,t)?u[t]=c[t]:u[t]=l&&d?d(e):h(e)}return u[t]}},function(t,e,n){var r=n(123);t.exports=function(t){return r(t.length)}},function(t,e,n){var r=n(2),i=n(13),o=n(104),a=n(33);t.exports=function(t,e,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&o(n,u,s),s.global)l?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},function(t,e,n){var r=n(35),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},function(t,e,n){var r=n(5),i=n(62),o=n(77),a=n(6),s=n(50),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor;e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var r=c(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(24),i=Object;t.exports=function(t){return i(r(t))}},function(t,e,n){var r=n(1),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},function(t,e,n){var r=n(0),i=n(9),o=n(23),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(4),i=n(2),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(15);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(39),i=n(24);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(29),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e,n){var r=n(100),i=n(1),o=n(39),a=n(14),s=n(10),l=n(28),u=i([].push),c=function(t){var e=1==t,n=2==t,i=3==t,c=4==t,d=6==t,h=7==t,f=5==t||d;return function(p,w,m,v){for(var g,y,b=a(p),_=o(b),x=r(w,m),k=s(_),C=0,S=v||l,P=e?S(p,k):n||h?S(p,0):void 0;k>C;C++)if((f||C in _)&&(y=x(g=_[C],C,b),t))if(e)P[C]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return C;case 2:u(P,g)}else switch(t){case 4:return!1;case 7:u(P,g)}return d?-1:i||c?c:P}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},function(t,e){var n=TypeError;t.exports=function(t){if(t>9007199254740991)throw n("Maximum allowed index exceeded");return t}},function(t,e,n){var r,i,o=n(4),a=n(97),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},function(t,e,n){var r=n(40),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},function(t,e,n){var r=n(2),i=n(74),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},function(t,e,n){"use strict";var r=n(5),i=n(18),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},function(t,e,n){var r=n(94);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e,n){var r=n(51),i=n(2),o=n(15),a=n(9)("toStringTag"),s=Object,l="Arguments"==o(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(t){}};t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=u(e=s(t),a))?n:l?o(e):"Object"==(r=o(e))&&i(e.callee)?"Arguments":r}},function(t,e,n){var r=n(5),i=n(13),o=n(31);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(50),i=n(13),o=n(31);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},function(t,e,n){var r=n(4),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
2ing","toString","valueOf"]},function(t,e,n){var r=n(0);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e,n){var r=n(5),i=n(7),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},function(t,e,n){var r=n(15),i=n(1);t.exports=function(t){if("Function"===r(t))return i(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(1),i=n(0),o=n(15),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},function(t,e){t.exports=function(t){return null==t}},function(t,e,n){var r=n(17),i=n(2),o=n(44),a=n(76),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},function(t,e,n){var r,i=n(6),o=n(107),a=n(34),s=n(38),l=n(101),u=n(60),c=n(70)("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},f=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){var t,e=u("iframe");return e.style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F},w=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}w="undefined"!=typeof document?document.domain&&r?f(r):p():f(r);for(var t=a.length;t--;)delete w.prototype[a[t]];return w()};s[c]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d.prototype=i(t),n=new d,d.prototype=null,n[c]=t):n=w(),void 0===e?n:o.f(n,e)}},function(t,e,n){var r=n(5),i=n(12),o=n(110),a=n(31),s=n(19),l=n(50),u=n(7),c=n(62),d=Object.getOwnPropertyDescriptor;e.f=r?d:function(t,e){if(t=s(t),e=l(e),c)try{return d(t,e)}catch(t){}if(u(t,e))return a(!i(o.f,t,e),t[e])}},function(t,e,n){var r=n(1);t.exports=r({}.isPrototypeOf)},function(t,e,n){"use strict";var r=n(12),i=n(1),o=n(20),a=n(69),s=n(117),l=n(47),u=n(42),c=n(64).get,d=n(118),h=n(119),f=l("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,w=p,m=i("".charAt),v=i("".indexOf),g=i("".replace),y=i("".slice),b=function(){var t=/a/,e=/b*/g;return r(p,t,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),_=s.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];(b||x||_||d||h)&&(w=function(t){var e,n,i,s,l,d,h,k=this,C=c(k),S=o(t),P=C.raw;if(P)return P.lastIndex=k.lastIndex,e=r(w,P,S),k.lastIndex=P.lastIndex,e;var A=C.groups,O=_&&k.sticky,T=r(a,k),E=k.source,I=0,N=S;if(O&&(T=g(T,"y",""),-1===v(T,"g")&&(T+="g"),N=y(S,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==m(S,k.lastIndex-1))&&(E="(?: "+E+")",N=" "+N,I++),n=new RegExp("^(?:"+E+")",T)),x&&(n=new RegExp("^"+E+"$(?!\\s)",T)),b&&(i=k.lastIndex),s=r(p,O?n:k,N),O?s?(s.input=y(s.input,I),s[0]=y(s[0],I),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:b&&s&&(k.lastIndex=k.global?s.index+s[0].length:i),x&&s&&s.length>1&&r(f,s[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)})),s&&A)for(s.groups=d=u(null),l=0;l<A.length;l++)d[(h=A[l])[0]]=s[h[1]];return s}),t.exports=w},function(t,e,n){var r=n(4),i=n(33),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},function(t,e,n){var r=n(103),i=n(46);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){var r=n(49),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},function(t,e,n){var r=n(105);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},function(t,e,n){var r=n(73),i=n(41);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},function(t,e,n){var r={};r[n(9)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){"use strict";var r=n(5),i=n(4),o=n(1),a=n(66),s=n(11),l=n(7),u=n(102),c=n(44),d=n(41),h=n(73),f=n(0),p=n(67).f,w=n(43).f,m=n(13).f,v=n(122),g=n(71).trim,y=i.Number,b=y.prototype,_=i.TypeError,x=o("".slice),k=o("".charCodeAt),C=function(t){var e=h(t,"number");return"bigint"==typeof e?e:S(e)},S=function(t){var e,n,r,i,o,a,s,l,u=h(t,"number");if(d(u))throw _("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=g(u),43===(e=k(u,0))||45===e){if(88===(n=k(u,2))||120===n)return NaN}else if(48===e){switch(k(u,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=x(u,2)).length,s=0;s<a;s++)if((l=k(o,s))<48||l>i)return NaN;return parseInt(o,r)}return+u};if(a("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var P,A=function(t){var e=arguments.length<1?0:y(C(t)),n=this;return c(b,n)&&f((function(){v(n)}))?u(Object(e),n,A):e},O=r?p(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),T=0;O.length>T;T++)l(y,P=O[T])&&!l(A,P)&&m(A,P,w(y,P));A.prototype=b,b.constructor=A,s(i,"Number",A,{constructor:!0})}},function(t,e,n){"use strict";var r=n(3),i=n(45);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(t,e,n){"use strict";function r(t){return!(0===t||(!Array.isArray(t)||0!==t.length)&&t)}function i(t){return function(){return!t.apply(void 0,arguments)}}function o(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}function a(t,e,n,r){return t.filter((function(t){return o(r(t,n),e)}))}function s(t){return t.filter((function(t){return!t.$isLabel}))}function l(t,e){return function(n){return n.reduce((function(n,r){return r[t]&&r[t].length?(n.push({$groupLabel:r[e],$isLabel:!0}),n.concat(r[t])):n}),[])}}function u(t,e,r,i,o){return function(s){return s.map((function(s){var l;if(!s[r])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var u=a(s[r],t,e,o);return u.length?(l={},n.i(d.a)(l,i,s[i]),n.i(d.a)(l,r,u),l):[]}))}}var c=n(88),d=n(87),h=n(129),f=(n.n(h),n(82)),p=(n.n(f),n(81)),w=(n.n(p),n(83)),m=(n.n(w),n(84)),v=(n.n(m),n(128)),g=(n.n(v),n(135)),y=(n.n(g),n(127)),b=(n.n(y),n(132)),_=(n.n(b),n(131)
vendor: 8,800 bytes, line 2
2),x=(n.n(_),n(125)),k=(n.n(x),n(130)),C=(n.n(k),n(52)),S=(n.n(C),n(53)),P=(n.n(S),n(85)),A=(n.n(P),n(134)),O=(n.n(A),n(80)),T=(n.n(O),n(79)),E=(n.n(T),n(133)),I=(n.n(E),n(126)),N=(n.n(I),function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}});e.a={data:function(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(t,e){return r(t)?"":e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:function(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted:function(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue:function(){return this.value||0===this.value?Array.isArray(this.value)?this.value:[this.value]:[]},filteredOptions:function(){var t=this.search||"",e=t.toLowerCase().trim(),n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,e,this.label):a(n,e,this.label,this.customLabel):this.groupValues?l(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(i(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys:function(){var t=this;return this.trackBy?this.internalValue.map((function(e){return e[t.trackBy]})):this.internalValue},optionKeys:function(){var t=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map((function(e){return t.customLabel(e,t.label).toString().toLowerCase()}))},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("input",this.multiple?[]:null))},search:function(){this.$emit("search-change",this.search,this.id)}},methods:{getValue:function(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat:function(t,e,n){return N(u(e,n,this.groupValues,this.groupLabel,this.customLabel),l(this.groupValues,this.groupLabel))(t)},flatAndStrip:function(t){return N(l(this.groupValues,this.groupLabel),s)(t)},updateSearch:function(t){this.search=t},isExistingOption:function(t){return!!this.options&&this.optionKeys.indexOf(t)>-1},isSelected:function(t){var e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:function(t){return!!t.$isDisabled},getOptionLabel:function(t){if(r(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;var e=this.customLabel(t,this.label);return r(e)?"":e},select:function(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.multiple?this.$emit("input",this.internalValue.concat([t]),this.id):this.$emit("input",t,this.id),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(t){var e=this,n=this.options.find((function(n){return n[e.groupLabel]===t.$groupLabel}));if(n){if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var r=this.internalValue.filter((function(t){return-1===n[e.groupValues].indexOf(t)}));this.$emit("input",r,this.id)}else{var i=n[this.groupValues].filter((function(t){return!(e.isOptionDisabled(t)||e.isSelected(t))}));this.max&&i.splice(this.max-this.internalValue.length),this.$emit("select",i,this.id),this.$emit("input",this.internalValue.concat(i),this.id)}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected:function(t){var e=this;return t[this.groupValues].every((function(t){return e.isSelected(t)||e.isOptionDisabled(t)}))},wholeGroupDisabled:function(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!t.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var r="object"===n.i(c.a)(t)?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){var i=this.internalValue.slice(0,r).concat(this.internalValue.slice(r+1));this.$emit("input",i,this.id)}else this.$emit("input",null,this.id);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var t=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick((function(){return t.$refs.search&&t.$refs.search.focus()}))):this.preventAutofocus||void 0!==this.$el&&this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?null!==this.$refs.search&&void 0!==this.$refs.search&&this.$refs.search.blur():void 0!==this.$el&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}}}},function(t,e,n){"use strict";var r=n(52),i=(n.n(r),n(53)),o=(n.n(i),n(85)),a=(n.n(o),n(82)),s=(n.n(a),n(81)),l=(n.n(s),n(83)),u=(n.n(l),n(84)),c=(n.n(u),n(79));n.n(c),e.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1},pointer:function(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight:function(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight:function(t,e){var n=this;if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":e.$isLabel}];var r=this.options.find((function(t){return t[n.groupLabel]===e.$groupLabel}));return r&&!this.wholeGroupDisabled(r)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(r)}]:"multiselect__option--disabled"},addPointerElement:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter").key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerRe
2set()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(t){this.pointer=t,this.pointerDirty=!0}}}},function(t,e,n){"use strict";var r=n(52),i=(n.n(r),n(80)),o=(n.n(i),n(54)),a=n(55);e.a={name:"vue-multiselect",mixins:[o.a,a.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(t){return"and ".concat(t," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup:function(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){return this.searchable||this.multiple&&this.value&&this.value.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(t,e,n){var r=n(19),i=n(48),o=n(10),a=function(t){return function(e,n,a){var s,l=r(e),u=o(l),c=i(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){"use strict";var r=n(74),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw i("Cannot delete property "+r(e)+" of "+r(t))}},function(t,e){var n="object"==typeof document&&document.all,r=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},function(t,e,n){var r=n(4),i=n(8),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var r=n(25),i=n(40);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},function(t,e,n){var r=n(5),i=n(0),o=n(60);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(1),i=n(2),o=n(46),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},function(t,e,n){var r,i,o,a=n(124),s=n(4),l=n(8),u=n(30),c=n(7),d=n(46),h=n(70),f=n(38),p=s.TypeError,w=s.WeakMap,m=function(t){return o(t)?i(t):r(t,{})},v=function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw p("Incompatible receiver, "+t+" required");return n}};if(a||d.state){var g=d.state||(d.state=new w);g.get=g.get,g.has=g.has,g.set=g.set,r=function(t,e){if(g.has(t))throw p("Object already initialized");return e.facade=t,g.set(t,e),e},i=function(t){return g.get(t)||{}},o=function(t){return g.has(t)}}else{var y=h("state");f[y]=!0,r=function(t,e){if(c(t,y))throw p("Object already initialized");return e.facade=t,u(t,y,e),e},i=function(t){return c(t,y)?t[y]:{}},o=function(t){return c(t,y)}}t.exports={set:r,get:i,has:o,enforce:m,getterFor:v}},function(t,e,n){var r=n(1),i=n(0),o=n(2),a=n(29),s=n(17),l=n(63),u=function(){},c=[],d=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=r(h.exec),p=!h.exec(u),w=function(t){if(!o(t))return!1;try{return d(u,c,t),!0}catch(t){return!1}},m=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,l(t))}catch(t){return!0}};
vendor: 4,321 bytes, line 2
2m.sham=!0,t.exports=!d||i((function(){var t;return w(w.call)||!w(Object)||!w((function(){t=!0}))||t}))?m:w},function(t,e,n){var r=n(0),i=n(2),o=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n==c||n!=u&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},function(t,e,n){var r=n(68),i=n(34).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(1),i=n(7),o=n(19),a=n(57).indexOf,s=n(38),l=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&l(c,n);for(;e.length>u;)i(r,n=e[u++])&&(~a(c,n)||l(c,n));return c}},function(t,e,n){"use strict";var r=n(6);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(47),i=n(75),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,n){var r=n(1),i=n(24),o=n(20),a=n(78),s=r("".replace),l="["+a+"]",u=RegExp("^"+l+l+"*"),c=RegExp(l+l+"*$"),d=function(t){return function(e){var n=o(i(e));return 1&t&&(n=s(n,u,"")),2&t&&(n=s(n,c,"")),n}};t.exports={start:d(1),end:d(2),trim:d(3)}},function(t,e,n){var r=n(23),i=n(0);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e,n){var r=n(12),i=n(8),o=n(41),a=n(61),s=n(113),l=n(9),u=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,l=a(t,c);if(l){if(void 0===e&&(e="default"),n=r(l,t,e),!i(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},function(t,e,n){var r=n(1),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},function(t,e,n){var r=n(72);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(5),i=n(0);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,n){"use strict";var r=n(3),i=n(21).find,o=n(91),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},function(t,e,n){"use strict";var r=n(3),i=n(18),o=n(65),a=n(8),s=n(48),l=n(10),u=n(19),c=n(32),d=n(9),h=n(16),f=n(93),p=h("slice"),w=d("species"),m=Array,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,r,d,h=u(this),p=l(h),g=s(t,p),y=s(void 0===e?p:e,p);if(i(h)&&(n=h.constructor,(o(n)&&(n===m||i(n.prototype))||a(n)&&null===(n=n[w]))&&(n=void 0),n===m||void 0===n))return f(h,g,y);for(r=new(void 0===n?m:n)(v(y-g,0)),d=0;g<y;g++,d++)g in h&&c(r,d,h[g]);return r.length=d,r}})},function(t,e,n){var r=n(1),i=n(11),o=Date.prototype,a=r(o.toString),s=r(o.getTime);"Invalid Date"!=String(new Date(NaN))&&i(o,"toString",(function(){var t=s(this);return t==t?a(this):"Invalid Date"}))},function(t,e,n){var r=n(11),i=n(98),o=Error.prototype;o.toString!==i&&r(o,"toString",i)},function(t,e,n){var r=n(51),i=n(11),o=n(112);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";var r=n(36).PROPER,i=n(11),o=n(6),a=n(20),s=n(0),l=n(116),u=RegExp.prototype.toString,c=s((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),d=r&&"toString"!=u.name;(c||d)&&i(RegExp.prototype,"toString",(function(){var t=o(this);return"/"+a(t.source)+"/"+a(l(t))}),{unsafe:!0})},function(t,e,n){"use strict";var r=n(12),i=n(99),o=n(6),a=n(40),s=n(24),l=n(120),u=n(20),c=n(61),d=n(115);i("search",(function(t,e,n){return[function(e){var n=s(this),i=a(e)?void 0:c(e,t);return i?r(i,e,n):new RegExp(e)[t](u(n))},function(t){var r=o(this),i=u(t),a=n(e,r,i);if(a.done)return a.value;var s=r.lastIndex;l(s,0)||(r.lastIndex=0);var c=d(r,i);return l(r.lastIndex,s)||(r.lastIndex=s),null===c?-1:c.index}]}))},function(t,e,n){"use strict";function r(t){n(136)}
2var i=n(56),o=n(138),a=r,s=n(137)(i.a,o.a,!1,a,null,null);e.a=s.exports},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.a=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.a=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(86),i=n(54),o=n(55);n.d(e,"Multiselect",(function(){return r.a})),n.d(e,"multiselectMixin",(function(){return i.a})),n.d(e,"pointerMixin",(function(){return o.a})),e.default=r.a},function(t,e,n){var r=n(2),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},function(t,e,n){var r=n(9),i=n(42),o=n(13).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e,n){var r=n(25),i=n(14),o=n(39),a=n(10),s=TypeError,l=function(t){return function(e,n,l,u){r(n);var c=i(e),d=o(c),h=a(c),f=t?h-1:0,p=t?-1:1;if(l<2)for(;;){if(f in d){u=d[f],f+=p;break}if(f+=p,t?f<0:h<=f)throw s("Reduce of empty array with no initial value")}for(;t?f>=0:h>f;f+=p)f in d&&(u=n(u,d[f],f,c));return u}};t.exports={left:l(!1),right:l(!0)}},function(t,e,n){var r=n(1);t.exports=r([].slice)},function(t,e,n){var r=n(18),i=n(65),o=n(8),a=n(9)("species"),s=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(i(e)&&(e===s||r(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},function(t,e,n){var r=n(7),i=n(114),o=n(43),a=n(13);t.exports=function(t,e,n){for(var s=i(e),l=a.f,u=o.f,c=0;c<s.length;c++){var d=s[c];r(t,d)||n&&r(n,d)||l(t,d,u(e,d))}}},function(t,e,n){var r=n(15),i=n(4);t.exports="process"==r(i.process)},function(t,e,n){var r=n(17);t.exports=r("navigator","userAgent")||""},function(t,e,n){"use strict";var r=n(5),i=n(0),o=n(6),a=n(42),s=n(106),l=Error.prototype.toString,u=i((function(){if(r){var t=a(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==l.call(t))return!0}return"2: 1"!==l.call({message:1,name:2})||"Error"!==l.call({})}));t.exports=u?function(){var t=o(this),e=s(t.name,"Error"),n=s(t.message);return e?n?e+": "+n:e:n}:l},function(t,e,n){"use strict";n(53);var r=n(37),i=n(11),o=n(45),a=n(0),s=n(9),l=n(30),u=s("species"),c=RegExp.prototype;t.exports=function(t,e,n,d){var h=s(t),f=!a((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=f&&!a((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!f||!p||n){var w=r(/./[h]),m=e(h,""[t],(function(t,e,n,i,a){var s=r(t),l=e.exec;return l===o||l===c.exec?f&&!a?{done:!0,value:w(e,n,i)}:{done:!0,value:s(n,e,i)}:{done:!1}}));i(String.prototype,t,m[0]),i(c,h,m[1])}d&&l(c[h],"sham",!0)}},function(t,e,n){var r=n(37),i=n(25),o=n(35),a=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(17);t.exports=r("document","documentElement")},function(t,e,n){var r=n(2),i=n(8),o=n(111);t.exports=function(t,e,n){var a,s;return o&&r(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},function(t,e){t.exports=!1},function(t,e,n){var r=n(0),i=n(2),o=n(7),a=n(5),s=n(36).CONFIGURABLE,l=n(63),u=n(64),c=u.enforce,d=u.get,h=Object.defineProperty,f=a&&!r((function(){return 8!==h((function(){}),"length",{value:8}).length})),p=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(a?h(t,"name",{value:e,configurable:!0}):t.name=e),f&&n&&o(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=c(t);return o(r,"source")||(r.source=p.join("string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&d(this).source||l(this)}),"toString")},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},function(t,e,n){var r=n(20);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},function(t,e,n){var r=n(5),i=n(77),o=n(13),a=n(6),s=n(19),l=n(109);e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=l(e),u=i.length,c=0;u>c;)o.f(t,n=i[c++],r[n]);return t}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(68),i=n(34);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(1),i=n(6),o=n(90);
2t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){"use strict";var r=n(51),i=n(29);t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(t,e,n){var r=n(12),i=n(2),o=n(8),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},function(t,e,n){var r=n(17),i=n(1),o=n(67),a=n(108),s=n(6),l=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?l(e,n(t)):e}},function(t,e,n){var r=n(12),i=n(6),o=n(2),a=n(15),s=n(45),l=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var u=r(n,t,e);return null!==u&&i(u),u}if("RegExp"===a(t))return r(s,t,e);throw l("RegExp#exec called on incompatible receiver")}},function(t,e,n){var r=n(12),i=n(7),o=n(44),a=n(69),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},function(t,e,n){var r=n(0),i=n(4).RegExp,o=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},function(t,e,n){var r=n(0),i=n(4).RegExp;t.exports=r((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,e,n){var r=n(0),i=n(4).RegExp;t.exports=r((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(36).PROPER,i=n(0),o=n(78),a="​…᠎";t.exports=function(t){return i((function(){return!!o[t]()||a[t]()!==a||r&&o[t].name!==t}))}},function(t,e,n){var r=n(1);t.exports=r(1..valueOf)},function(t,e,n){var r=n(49),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(4),i=n(2),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},function(t,e,n){"use strict";var r=n(3),i=n(0),o=n(18),a=n(8),s=n(14),l=n(10),u=n(22),c=n(32),d=n(28),h=n(16),f=n(9),p=n(23),w=f("isConcatSpreadable"),m=p>=51||!i((function(){var t=[];return t[w]=!1,t.concat()[0]!==t})),v=h("concat"),g=function(t){if(!a(t))return!1;var e=t[w];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,arity:1,forced:!m||!v},{concat:function(t){var e,n,r,i,o,a=s(this),h=d(a,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(g(o=-1===e?a:arguments[e]))for(i=l(o),u(f+i),n=0;n<i;n++,f++)n in o&&c(h,f,o[n]);else u(f+1),c(h,f++,o);return h.length=f,h}})},function(t,e,n){"use strict";var r=n(3),i=n(21).every;r({target:"Array",proto:!0,forced:!n(26)("every")},{every:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(3),i=n(21).filter;r({target:"Array",proto:!0,forced:!n(16)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(3),i=n(37),o=n(57).indexOf,a=n(26),s=i([].indexOf),l=!!s&&1/s([1],1,-0)<0,u=a("indexOf");r({target:"Array",proto:!0,forced:l||!u},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return l?s(this,t,e)||0:o(this,t,e)}})},function(t,e,n){n(3)({target:"Array",stat:!0},{isArray:n(18)})},function(t,e,n){"use strict";var r=n(3),i=n(21).map;r({target:"Array",proto:!0,forced:!n(16)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(3),i=n(14),o=n(10),a=n(27),s=n(22),l=n(0)((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:l||u},{push:function(t){var e=i(this),n=o(e),r=arguments.length;s(n+r);for(var l=0;l<r;l++)e[n]=arguments[l],n++;return a(e,n),n}})},function(t,e,n){"use strict";var r=n(3),i=n(92).left,o=n(26),a=n(23),s=n(96);r({target:"Array",proto:!0,forced:!o("reduce")||!s&&a>79&&a<83},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(3),i=n(14),o=n(48),a=n(49),s=n(10),l=n(27),u=n(22),c=n(28),d=n(32),h=n(58),f=n(16)("splice"),p=Math.max,w=Math.min;r({target:"Array",proto:!0,forced:!f},{splice:function(t,e){var n,r,f,m,v,g,y=i(this),b=s(y),_=o(t,b),x=arguments.length;for(0===x?n=r=0:1===x?(n=0,r=b-_):(n=x-2,r=w(p(a(e),0),b-_)),u(b+n-r),f=c(y,r),m=0;m<r;m++)(v=_+m)in y&&d(f,m,y[v]);if(f.length=r,n<r){for(m=_;m<b-r;m++)g=m+n,(v=m+r)in y?y[g]=y[v]:h(y,g);for(m=b;m>b-r+n;m--)h(y,m-1)}else if(n>r)for(m=b-r;m>_;m--)g=m+n-1,(v=m+r-1)in y?y[g]=y[v]:h(y,g);for(m=0;m<n;m++)y[m+_]=arguments[m+2];return l(y,b-r+n),f}})},function(t,e,n){"use strict";var r=n(3),i=n(14),o=n(10),a=n(27),s=n(58),l=n(22),u=1!==[].unshift(0),c=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:u||c},{unshift:function(t){var e=i(this),n=o(e),r=arguments.length;if(r){l(n+r);for(var u=n;u--;){var c=u+r;u in e?e[c]=e[u]:s(e,c)}for(var d=0;d<r;d++)e[d]=arguments[d]}return a(e,n+r)}})},function(t,e,n){"use strict";var r=n(3),i=n(71).trim;r({target:"String",proto:!0,forced:n(121)("trim")},{trim:function(){return i(this)}})},function(t,e){},function(t,e){t.exports=function(t,e,n,r,i,o){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var u,c="function"==typeof s?s.options:s;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=u):r&&(u=r),u){var d=c.functional,h=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(t,e){return u.call(e),h(t,e)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"multiselect",class:{"multiselect--active":t.isOpen,"multiselect--disabled":t.disabled,"multiselect--above":t.isAbove,"multiselect--has-options-group":t.hasOptionGroup},attrs:{tabindex:t.searchable?-1:t.tabindex,role:"combobox","aria-owns":"listbox-"+t.id},on:{focus:function(e){return t.activate()},blur:function(e){!t.searchable&&t.deactivate()},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])||e.target!==e.currentTarget?null:(e.preventDefault(),t.pointerForward())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])||e.target!==e.currentTarget?null:(e.preventDefault(),t.pointerBackward())}],keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:(e.stopPropagation(),e.target!==e.currentTarget?null:t.addPointerElement(e))},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.deactivate()}}},[t._t("caret",(function(){return[n("div",{staticClass:"multiselect__select",on:{mousedown:function(e){return e.preventDefault(),e.stopPropagation(),t.toggle(
2)}}})]}),{toggle:t.toggle}),t._v(" "),t._t("clear",null,{search:t.search}),t._v(" "),n("div",{ref:"tags",staticClass:"multiselect__tags"},[t._t("selection",(function(){return[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visibleValues.length>0,expression:"visibleValues.length > 0"}],staticClass:"multiselect__tags-wrap"},[t._l(t.visibleValues,(function(e,r){return[t._t("tag",(function(){return[n("span",{key:r,staticClass:"multiselect__tag"},[n("span",{domProps:{textContent:t._s(t.getOptionLabel(e))}}),t._v(" "),n("i",{staticClass:"multiselect__tag-icon",attrs:{tabindex:"1"},on:{keypress:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),t.removeElement(e))},mousedown:function(n){return n.preventDefault(),t.removeElement(e)}}})])]}),{option:e,search:t.search,remove:t.removeElement})]}))],2),t._v(" "),t.internalValue&&t.internalValue.length>t.limit?[t._t("limit",(function(){return[n("strong",{staticClass:"multiselect__strong",domProps:{textContent:t._s(t.limitText(t.internalValue.length-t.limit))}})]}))]:t._e()]}),{search:t.search,remove:t.removeElement,values:t.visibleValues,isOpen:t.isOpen}),t._v(" "),n("transition",{attrs:{name:"multiselect__loading"}},[t._t("loading",(function(){return[n("div",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"multiselect__spinner"})]}))],2),t._v(" "),t.searchable?n("input",{ref:"search",staticClass:"multiselect__input",style:t.inputStyle,attrs:{name:t.name,id:t.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:t.placeholder,disabled:t.disabled,tabindex:t.tabindex,"aria-controls":"listbox-"+t.id},domProps:{value:t.search},on:{input:function(e){return t.updateSearch(e.target.value)},focus:function(e){return e.preventDefault(),t.activate()},blur:function(e){return e.preventDefault(),t.deactivate()},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.deactivate()},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.pointerForward())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.pointerBackward())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:(e.stopPropagation(),t.removeLastElement())}],keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),e.stopPropagation(),e.target!==e.currentTarget?null:t.addPointerElement(e))}}}):t._e(),t._v(" "),t.isSingleLabelVisible?n("span",{staticClass:"multiselect__single",on:{mousedown:function(e){return e.preventDefault(),t.toggle.apply(null,arguments)}}},[t._t("singleLabel",(function(){return[[t._v(t._s(t.currentOptionLabel))]]}),{option:t.singleValue})],2):t._e(),t._v(" "),t.isPlaceholderVisible?n("span",{staticClass:"multiselect__placeholder",on:{mousedown:function(e){return e.preventDefault(),t.toggle.apply(null,arguments)}}},[t._t("placeholder",(function(){return[t._v("\n          "+t._s(t.placeholder)+"\n        ")]}))],2):t._e()],2),t._v(" "),n("transition",{attrs:{name:"multiselect"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:t.optimizedHeight+"px"},attrs:{tabindex:"-1"},on:{focus:t.activate,mousedown:function(t){t.preventDefault()}}},[n("ul",{staticClass:"multiselect__content",style:t.contentStyle,attrs:{role:"listbox",id:"listbox-"+t.id}},[t._t("beforeList"),t._v(" "),t.multiple&&t.max===t.internalValue.length?n("li",[n("span",{staticClass:"multiselect__option"},[t._t("maxElements",(function(){return[t._v("Maximum of "+t._s(t.max)+" options selected. First remove a selected option to select another.")]}))],2)]):t._e(),t._v(" "),!t.max||t.internalValue.length<t.max?t._l(t.filteredOptions,(function(e,r){return n("li",{key:r,staticClass:"multiselect__element",attrs:{id:t.id+"-"+r,role:e&&(e.$isLabel||e.$isDisabled)?null:"option"}},[e&&(e.$isLabel||e.$isDisabled)?t._e():n("span",{staticClass:"multiselect__option",class:t.optionHighlight(r,e),attrs:{"data-select":e&&e.isTag?t.tagPlaceholder:t.selectLabelText,"data-selected":t.selectedLabelText,"data-deselect":t.de
2selectLabelText},on:{click:function(n){return n.stopPropagation(),t.select(e)},mouseenter:function(e){return e.target!==e.currentTarget?null:t.pointerSet(r)}}},[t._t("option",(function(){return[n("span",[t._v(t._s(t.getOptionLabel(e)))])]}),{option:e,search:t.search,index:r})],2),t._v(" "),e&&(e.$isLabel||e.$isDisabled)?n("span",{staticClass:"multiselect__option",class:t.groupHighlight(r,e),attrs:{"data-select":t.groupSelect&&t.selectGroupLabelText,"data-deselect":t.groupSelect&&t.deselectGroupLabelText},on:{mouseenter:function(e){if(e.target!==e.currentTarget)return null;t.groupSelect&&t.pointerSet(r)},mousedown:function(n){return n.preventDefault(),t.selectGroup(e)}}},[t._t("option",(function(){return[n("span",[t._v(t._s(t.getOptionLabel(e)))])]}),{option:e,search:t.search,index:r})],2):t._e()])})):t._e(),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNoResults&&0===t.filteredOptions.length&&t.search&&!t.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[t._t("noResult",(function(){return[t._v("No elements found. Consider changing the search query.")]}),{search:t.search})],2)]),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNoOptions&&(0===t.options.length||!0===t.hasOptionGroup&&0===t.filteredOptions.length)&&!t.search&&!t.loading,expression:"showNoOptions && ((options.length === 0 || (hasOptionGroup === true && filteredOptions.length === 0)) && !search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[t._t("noOptions",(function(){return[t._v("List is empty.")]}))],2)]),t._v(" "),t._t("afterList")],2)])])],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n}])},28620:(t,e,n)=>{"use strict";e.ZP=void 0;var r=n(22584),i=n(98413);function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t)||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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}var d=function(){return null},h=function(t,e,n){return t.reduce((function(t,r){return t[n?n(r):r]=e(r),t}),{})};function f(t){return"function"==typeof t}function p(t){return null!==t&&("object"===c(t)||f(t))}var w=function(t,e,n,r){if("function"==typeof n)return n.call(t,e,r);n=Array.isArray(n)?n:n.split(".");for(var i=0;i<n.length;i++){if(!e||"object"!==c(e))return r;e=e[n[i]]}return void 0===e?r:e},m="__isVuelidateAsyncVm";var v={$invalid:function(){var t=this,e=this.proxy;return this.nestedKeys.some((function(e){return t.refProxy(e).$invalid}))||this.ruleKeys.some((function(t){return!e[t]}))},$dirty:function(){var t=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.every((function(e){return t.refProxy(e).$dirty}))},$anyDirty:function(){var t=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.some((function(e){return t.refProxy(e).$anyDirty}))},$error:function(){return this.$dirty&&!this.$pending&&this.$invalid},$anyError:function(){var t=this;return!!this.$error||this.nestedKeys.some((function(e){return t.refProxy(e).$anyError}))},$pending:function(){var t=this;return this.ruleKeys.some((function(e){return t.getRef(e).$pending}))||this.nestedKeys.some((function(e){return t.refProxy(e).$pending}))},$params:function(){var t=this,e=this.validations;return l(l({},h(this.nestedKeys,(function(t){return e[t]&&e[t].$params||null}))),h(this.ruleKeys,(function(e){return t.getRef(e).$params})))}};function g(t){this.dirty=t;var e=this.proxy,n=t?"$touch":"$reset";this.nestedKeys.forEach((function(t){e[t][n]()}))}var y={$touch:function(){g.call(this,!0)},$reset:function(){g.call(this,!1)},$flattenParams:function(){var t=this.proxy,e=[];for(var n in this.$params)if(this.isNested(n)){for(var r=t[n].$flattenParams(),i=0;i<r.length;i++)r[i].path.unshift(n);e=e.concat(r)}else e.push({path:[],name:n,params:this.$params[n]});return e}},b=Object.keys(v),_=Object.keys(y),x=null,k=function(t){if(x)return x;var e=t.extend({computed:{refs:function(){var t=this._vval;this._vval=this.children,(0,r.patchChildren)(t,this._vval);var e={};return this._vval.forEach((function(t){e[t.key]=t.vm})),e}},beforeCreate:function(){this._vval=null},beforeDestroy:function(){this._vval&&((0,r.patchChildren)(this._vval),this._vval=null)},methods:{getModel:function(){return this.lazyModel?this.lazyModel(this.prop):this.model},getModelKey:function(t){var e=this.getModel();if(e)return e[t]},hasIter:function(){return!1}}}),n=e.extend({data:function(){return{rule:null,lazyModel:null,model:null,lazyParentModel:null,rootModel:null}},methods:{runRule:function(e){var n=this.getModel();(0,i.pushParams)();var r,o=this.rule.call(this.rootModel,n,e),a=p(r=o)&&f(r.then)?function(t,e){var n=new t({data:{p:!0,v:!1}});return e.then((function(t){n.p=!1,n.v=t}),(function(t){throw n.p=!1,n.v=!1,t})),n[m]=!0,n}(t,o):o,s=(0,i.popParams)();return{output:a,params:s&&s.$sub?s.$sub.length>1?s:s.$sub[0]:null}}},computed:{run:function(){var t=this,e=this.lazyParentModel();if(Array.isArray(e)&&e.__ob__){var n=e.__ob__.dep;n.depend();var r=n.constructor.target;if(!this._indirectWatcher){var i=r.constructor;this._indirectWatcher=new i(this,(function(){return t.runRule(e)}),null,{lazy:!0})}var o=this.getModel();if(!this._indirectWatcher.dirty&&this._lastModel===o)return this._indirectWatcher.depen
vendor: 4,666 bytes, line 2
2d(),r.value;this._lastModel=o,this._indirectWatcher.evaluate(),this._indirectWatcher.depend()}else this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null);return this._indirectWatcher?this._indirectWatcher.value:this.runRule(e)},$params:function(){return this.run.params},proxy:function(){var t=this.run.output;return t[m]?!!t.v:!!t},$pending:function(){var t=this.run.output;return!!t[m]&&t.p}},destroyed:function(){this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null)}}),a=e.extend({data:function(){return{dirty:!1,validations:null,lazyModel:null,model:null,prop:null,lazyParentModel:null,rootModel:null}},methods:l(l({},y),{},{refProxy:function(t){return this.getRef(t).proxy},getRef:function(t){return this.refs[t]},isNested:function(t){return"function"!=typeof this.validations[t]}}),computed:l(l({},v),{},{nestedKeys:function(){return this.keys.filter(this.isNested)},ruleKeys:function(){var t=this;return this.keys.filter((function(e){return!t.isNested(e)}))},keys:function(){return Object.keys(this.validations).filter((function(t){return"$params"!==t}))},proxy:function(){var t=this,e=h(this.keys,(function(e){return{enumerable:!0,configurable:!0,get:function(){return t.refProxy(e)}}})),n=h(b,(function(e){return{enumerable:!0,configurable:!0,get:function(){return t[e]}}})),r=h(_,(function(e){return{enumerable:!1,configurable:!0,get:function(){return t[e]}}})),i=this.hasIter()?{$iter:{enumerable:!0,value:Object.defineProperties({},l({},e))}}:{};return Object.defineProperties({},l(l(l(l({},e),i),{},{$model:{enumerable:!0,get:function(){var e=t.lazyParentModel();return null!=e?e[t.prop]:null},set:function(e){var n=t.lazyParentModel();null!=n&&(n[t.prop]=e,t.$touch())}}},n),r))},children:function(){var t=this;return[].concat(o(this.nestedKeys.map((function(e){return c(t,e)}))),o(this.ruleKeys.map((function(e){return g(t,e)})))).filter(Boolean)}})}),s=a.extend({methods:{isNested:function(t){return void 0!==this.validations[t]()},getRef:function(t){var e=this;return{get proxy(){return e.validations[t]()||!1}}}}}),u=a.extend({computed:{keys:function(){var t=this.getModel();return p(t)?Object.keys(t):[]},tracker:function(){var t=this,e=this.validations.$trackBy;return e?function(n){return"".concat(w(t.rootModel,t.getModelKey(n),e))}:function(t){return"".concat(t)}},getModelLazy:function(){var t=this;return function(){return t.getModel()}},children:function(){var t=this,e=this.validations,n=this.getModel(),i=l({},e);delete i.$trackBy;var o={};return this.keys.map((function(e){var s=t.tracker(e);return o.hasOwnProperty(s)?null:(o[s]=!0,(0,r.h)(a,s,{validations:i,prop:e,lazyParentModel:t.getModelLazy,model:n[e],rootModel:t.rootModel}))})).filter(Boolean)}},methods:{isNested:function(){return!0},getRef:function(t){return this.refs[this.tracker(t)]},hasIter:function(){return!0}}}),c=function(t,e){if("$each"===e)return(0,r.h)(u,e,{validations:t.validations[e],lazyParentModel:t.lazyParentModel,prop:e,lazyModel:t.getModel,rootModel:t.rootModel});var n=t.validations[e];if(Array.isArray(n)){var i=t.rootModel,o=h(n,(function(t){return function(){return w(i,i.$v,t)}}),(function(t){return Array.isArray(t)?t.join("."):t}));return(0,r.h)(s,e,{validations:o,lazyParentModel:d,prop:e,lazyModel:d,rootModel:i})}return(0,r.h)(a,e,{validations:n,lazyParentModel:t.getModel,prop:e,lazyModel:t.getModelKey,rootModel:t.rootModel})},g=function(t,e){return(0,r.h)(n,e,{rule:t.validations[e],lazyParentModel:t.lazyParentModel,lazyModel:t.getModel,rootModel:t.rootModel})};return x={VBase:e,Validation:a}},C=null;var S=function(t,e){var n=function(t){if(C)return C;for(var e=t.constructor;e.super;)e=e.super;return C=e,e}(t),i=k(n),o=i.Validation;return new(0,i.VBase)({computed:{children:function(){var n="function"==typeof e?e.call(t):e;return[(0,r.h)(o,"$v",{validations:n,lazyParentModel:d,prop:"$v",model:t,rootModel:t})]}}})},P={data:function(){var t=this.$options.validations;return t&&(this._vuelidate=S(this,t)),{}},beforeCreate:function(){var t=this.$options;t.validations&&(t.computed||(t.computed={}),t.computed.$v||(t.computed.$v=function(){return this._vuelidate?this._vuelidate.refs.$v.proxy:null}))},beforeDestroy:function(){this._vuelidate&&(this._vuelidate.$destroy(),this._vuelidate=null)}};function A(t){t.mixin(P)}var O=A;e.ZP=O},98413:(t,e)=>{"use strict";function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function r(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}Object.defineProperty(e,"__esModule",{value:!0}),e._setTarget=void 0,e.popParams=u,e.pushParams=l,e.target=void 0,e.withParams=function(t,e){if("object"===o(t)&&void 0!==e)return n=t,r=e,d((function(t){return function(){t(n);for(var e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];return r.apply(this,i)}}));var n,r;return d(t)};var a=[],s=null;e.target=s;function l(){null!==s&&a.push(s),e.target=s={}}function u(){var t=s,n=e.target=s=a.pop()||null;return n&&(Array.isArray(n.$sub)||(n.$sub=[]),n.$sub.push(t)),t}function c(t){if("object"!==o(t)||Array.isArray(t))throw new Error("params must be an object");e.target=s=r(r({},s),t)}function d(t){var e=t(c);return function(){l();try{for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(this,n)}finally{u()}}}e._setTarget=function(t){e.target=s=t}},6408:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=(0,n(6681).regex)("alpha",/^[a-zA-Z]*$/);e.default=r},66195:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=(0,n(6681).regex)("alphaNum",/^[a-zA-Z0-9]*$/);e.default=r},75573:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,r.withParams)({type:"and"},(function(){for(var t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.length>0&&e.reduce((function(e,n){return e&&n.apply(t,r)}),!0)}))}},57884:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(t,e){return(0,r.withParams)({type:"between",min:t,max:e},(function(n){return!(0,r.req)(n)||(!/\s/.test(n)||n instanceof Date)&&+t<=+n&&+e>=+n}))}},6681:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.req=e.regex=e.ref=e.len=void 0,Object.defineProperty(e,"withParams",{enumerable:!0,get:function(){return i.default}});var r,i=(r=n(58085))&&r.__esModule?r:{default:r};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var a=function(t){if(Array.isArray(t))return!!t.length;if(null==t)return!1;if(!1===t)return!0;if(t instanceof Date)return!isNaN(t.getTime());if("object"===o(t)){for(var e in t)return!0;return!1}return!!String(t).length};e.req=a;e.len=function(t){return Array.isArray(t)?t.length:"object"===o(t)?Object.keys(t).length:String(t).length};e.ref=function(t,e,n){return"function"==typeof t?t.call(e,n):n[t]};e.regex=function(t,e){return(0,i.default)({type:t},(function(t){return!a(t)||e.test(t)}))}},34078:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=(0,n(6681).regex)("decimal",/^[-]?\d*(\.\d+)?$/);e.default=r},78107:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=(0,n(6681).regex)("email",/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);e.default=r},40379:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}Object.defineProperty(e,"Do",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Ei",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"C1",{enumerable:!0,get:function(){return f.default}});var i=P(n(6408)),o=P(n(66195)),a=P(n(75669)),s=P(n(57884)),l=P(n(78107)),u=P(n(9103)),c=P(n(17340)),d=P(n(75287)),h=P(n(23091)),f=P(n(12419)),p=P(n(52941)),w=P(n(28300)),m=P(n(70918)),v=P(n(83213)),g=P(n(15832)),y=P(n(75573)),b=P(n(52500)),_=P(n(42628)),x=P(n(301)),k=P(n(46673)),C=P(n(34078));function S(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(S=function(t){return t?n:e})(t)}function P(t){return t&&t.__esModule?t:{default:t}}(function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=S(e);if(n&&n.has(t))return n.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=t[a]}i.default=t,n&&n.set(t,i)})(n(6681))},46673:(t,e,n)=>{"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=(0,n(6681).regex)("integer",/(^[0-9]*$)|(^-[0-9]+$)/);e.default=r},9103:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"ipAddress"},(function(t){if(!(0,r.req)(t))return!0;if("string"!=typeof t)return!1;var e=t.split(".");return 4===e.length&&e.every(o)}));e.default=i;var o=function(t){if(t.length>3||0===t.length)return!1;if("0"===t[0]&&"0"!==t)return!1;if(!t.match(/^\d+$/))return!1;var e=0|+t;return e>=0&&e<=255}},17340:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":";return(0,r.withParams)({type:"macAddress"},(function(e){if(!(0,r.req)(e))return!0;if("string"!=typeof e)return!1;var n="string"==typeof t&&""!==t?e.split(t):12===e.length||16===e.length?e.match(/.{2}/g):null;return null!==n&&(6===n.length||8===n.length)&&n.every(i)}))};var i=function(t){return t.toLowerCase().match(/^[0-9a-f]{2}$/)}},75287:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(t){return(0,r.withParams)({type:"maxLength",max:t},(function(e){return!(0,r.req)(e)||(0,r.len)(e)<=t}))}},301:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(t){return(0,r.withParams)({type:"maxValue",max:t},(function(e){return!(0,r.req)(e)||(!/\s/.test(e)||e instanceof Date)&&+e<=+t}))}},23091:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(t){return(0,r.withParams)({type:"minLength",min:t},(function(e){return!(0,r.req)(e)||(0,r.len)(e)>=t}))}},42628:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(t){return(0,r.withParams)({type:"minValue",min:t},(function(e){return!(0,r.req)(e)||(!/\s/.test(e)||e instanceof Date)&&+e>=+t}))}},52500:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(t){return(0,r.withParams)({type:"not"},(function(e,n){return!(0,r.req)(e)||!t.call(this,e,n)}))}},75669:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=(0,n(6681).regex)("numeric",/^[0-9]*$/);e.default=r},15832:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,r.withParams)({type:"or"},(function(){for(var t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.length>0&&e.reduce((function(e,n){return e||n.apply(t,r)}),!1)}))}},12419:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681),i=(0,r.withParams)({type:"required"},(function(t){return"string"==typeof t?(0,r.req)(t.trim()):(0,r.req)(t)}));e.default=i},52941:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(t){return(0,r.withParams)({type:"requiredIf",prop:t},(function(e,n){return!(0,r.ref)(t,this,n)||(0,r.req)(e)}))}},28300:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(t){return(0,r.withParams)({type:"requiredUnless",prop:t},(function(e,n){return!!(0,r.ref)(t,this,n)||(0,r.req)(e)}))}},70918:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6681);e.default=function(t){return(0,r.withParams)({type:"sameAs",eq:t},(function(e,n){return e===(0,r.ref)(t,this,n)}))}},83213:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=(0,n(6681).regex)("url",/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i);e.default=r},22584:(t,e)=>{"use strict";function n(t){return null==t}function r(t){return null!=t}function i(t,e){return e.tag===t.tag&&e.key===t.key}function o(t){var e=t.tag;t.vm=new e({data:t.args})}function a(t,e,n){var i,o,a={};for(i=e;i<=n;++i)r(o=t[i].key)&&(a[o]=i);return a}function s(t,e,n){for(;e<=n;++e)o(t[e])}function l(t,e,n){for(;e<=n;++e){var i=t[e];r(i)&&(i.vm.$destroy(),i.vm=null)}}function u(t,e){t!==e&&(e.vm=t.vm,function(t){for(var e=Object.keys(t.args),n=0;n<e.length;n++)e.forEach((function(e){t.vm[e]=t.args[e]}))}(e))}
2Object.defineProperty(e,"__esModule",{value:!0}),e.h=function(t,e,n){return{tag:t,key:e,args:n}},e.patchChildren=function(t,e){r(t)&&r(e)?t!==e&&function(t,e){var c,d,h,f=0,p=0,w=t.length-1,m=t[0],v=t[w],g=e.length-1,y=e[0],b=e[g];for(;f<=w&&p<=g;)n(m)?m=t[++f]:n(v)?v=t[--w]:i(m,y)?(u(m,y),m=t[++f],y=e[++p]):i(v,b)?(u(v,b),v=t[--w],b=e[--g]):i(m,b)?(u(m,b),m=t[++f],b=e[--g]):i(v,y)?(u(v,y),v=t[--w],y=e[++p]):(n(c)&&(c=a(t,f,w)),n(d=r(y.key)?c[y.key]:null)?(o(y),y=e[++p]):i(h=t[d],y)?(u(h,y),t[d]=void 0,y=e[++p]):(o(y),y=e[++p]));f>w?s(e,p,g):p>g&&l(t,f,w)}(t,e):r(e)?s(e,0,e.length-1):r(t)&&l(t,0,t.length-1)}},58085:(t,e,n)=>{"use strict";var r=n(34155);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i="web"===r.env.BUILD?n(90016).R:n(98413).withParams;e.default=i},90016:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}e.R=void 0;var i="undefined"!=typeof window?window:void 0!==n.g?n.g:{},o=i.vuelidate?i.vuelidate.withParams:function(t,e){return"object"===r(t)&&void 0!==e?e:t((function(){}))};e.R=o},85:t=>{t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"00ee":function(t,e,n){var r={};r[n("b622")("toStringTag")]="z",t.exports="[object z]"===String(r)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"04d1":function(t,e,n){var r=n("342f").match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},"057f":function(t,e,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),u=n("0cfb"),c=Object.getOwnPropertyDescriptor;e.f=r?c:function(t,e){if(t=a(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(l(t,e))return o(!i.f.call(t,e),t[e])}},"07ac":function(t,e,n){var r=n("23e7"),i=n("6f53").values;r({target:"Object",stat:!0},{values:function(t){return i(t)}})},"0b32":function(t,e,n){},"0cb2":function(t,e,n){var r=n("7b0b"),i=Math.floor,o="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,l,u,c){var d=n+t.length,h=l.length,f=s;return void 0!==u&&(u=r(u),f=a),o.call(c,f,(function(r,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(d);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>h){var c=i(s/10);return 0===c?r:c<=h?void 0===l[c-1]?o.charAt(1):l[c-1]+o.charAt(1):r}a=l[s-1]}return void 0===a?"":a}))}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"107c":function(t,e,n){var r=n("d039");t.exports=r((function(){var t=RegExp("(?<a>b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},"14c3":function(t,e,n){var r=n("c6b6"),i=n("9263");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"159b":function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),a=n("9112");for(var s in i){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(t){u.forEach=o}}},"17c2":function(t,e,n){"use strict";
vendor: 4,537 bytes, line 2
2var r=n("b727").forEach,i=n("a640")("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},"1c94":function(t,e,n){"use strict";n("4192")},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},"1d80":function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var r=n("825a"),i=n("e95a"),o=n("50c4"),a=n("0366"),s=n("35a1"),l=n("2a62"),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var c,d,h,f,p,w,m,v=n&&n.that,g=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),_=a(e,v,1+g+b),x=function(t){return c&&l(c),new u(!0,t)},k=function(t){return g?(r(t),b?_(t[0],t[1],x):_(t[0],t[1])):b?_(t,x):_(t)};if(y)c=t;else{if("function"!=typeof(d=s(t)))throw TypeError("Target is not iterable");if(i(d)){for(h=0,f=o(t.length);f>h;h++)if((p=k(t[h]))&&p instanceof u)return p;return new u(!1)}c=d.call(t)}for(w=c.next;!(m=w.call(c)).done;){try{p=k(m.value)}catch(t){throw l(c),t}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),u=n("94ca");t.exports=function(t,e){var n,c,d,h,f,p=t.target,w=t.global,m=t.stat;if(n=w?r:m?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in e){if(h=e[c],d=t.noTargetGet?(f=i(n,c))&&f.value:n[c],!u(w?c:p+(m?".":"#")+c,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),a(n,c,h,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},2532:function(t,e,n){"use strict";var r=n("23e7"),i=n("5a34"),o=n("1d80");r({target:"String",proto:!0,forced:!n("ab13")("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},"2a62":function(t,e,n){var r=n("825a");t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},"2cf4":function(t,e,n){var r,i,o,a=n("da84"),s=n("d039"),l=n("0366"),u=n("1be4"),c=n("cc12"),d=n("1cdc"),h=n("605d"),f=a.location,p=a.setImmediate,w=a.clearImmediate,m=a.process,v=a.MessageChannel,g=a.Dispatch,y=0,b={},_="onreadystatechange",x=function(t){if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},k=function(t){return function(){x(t)}},C=function(t){x(t.data)},S=function(t){a.postMessage(t+"",f.protocol+"//"+f.host)};p&&w||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(y),y},w=function(t){delete b[t]},h?r=function(t){m.nextTick(k(t))}:g&&g.now?r=function(t){g.now(k(t))}:v&&!d?(o=(i=new v).port2,i.port1.onmessage=C,r=l(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&f&&"file:"!==f.protocol&&!s(S)?(r=S,a.addEventListener("message",C,!1)):r=_ in c("script")?function(t){u.appendChild(c("script"))[_]=function(){u.removeChild(this),x(t)}}:function(t){setTimeout(k(t),0)}),t.exports={set:p,clear:w}},"2d00":function(t,e,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=s&&s.versions,u=l&&l.v8;u?i=(r=u.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>
2=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),i=n("3f8c"),o=n("b622")("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,l=0;s>l;)i.f(t,n=r[l++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),a="String Iterator",s=i.set,l=i.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},4192:function(t,e,n){},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var r=n("861d"),i=n("c6b6"),o=n("b622")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},4840:function(t,e,n){var r=n("825a"),i=n("1c0b"),o=n("b622")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},4930:function(t,e,n){var r=n("2d00"),i=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4d64":function(t,e,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(t){return function(e,n,a){var s,l=r(e),u=i(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").filter;r({target:"Array",proto:!0,forced:!n("1dde")("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),i=n("7b0b"),o=n("9bdd"),a=n("e95a"),s=n("50c4"),l=n("8418"),u=n("35a1");t.exports=function(t){var e,n,c,d,h,f,p=i(t),w="function"==typeof this?this:Array,m=arguments.length,v=m>1?arguments[1]:void 0,g=void 0!==v,y=u(p),b=0;if(g&&(v=r(v,m>2?arguments[2]:void 0,2)),null==y||w==Array&&a(y))for(n=new w(e=s(p.length));e>b;b++)f=g?v(p[b],b):p[b],l(n,b,f);else for(h=(d=y.call(p)).next,n=new w;!(c=h.call(d)).done;b++)f=g?o(d,v,[c.value,b],!0):c.value,l(n,b,f);return n.length=b,n}},"4e82":function(t,e,n){"use strict";var r=n("23e7"),i=n("1c0b"),o=n("7b0b"),a=n("50c4"),s=n("d039"),l=n("addb"),u=n("a640"),c=n("04d1"),d=n("d998"),h=n("2d00"),f=n("512c"),p=[],w=p.sort,m=s((function(){p.sort(void 0)})),v=s((function(){p.sort(null)})),g=u("sort"),y=!s((function(){if(h)return h<70;if(!(c&&c>3)){if(d)return!0;if(f)return f<603;var t,e,n,r,i="";for(t=65;t<76;
2t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)p.push({k:e+r,v:n})}for(p.sort((function(t,e){return e.v-t.v})),r=0;r<p.length;r++)e=p[r].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:m||!v||!g||!y},{sort:function(t){void 0!==t&&i(t);var e=o(this);if(y)return void 0===t?w.call(e):w.call(e,t);var n,r,s=[],u=a(e.length);for(r=0;r<u;r++)r in e&&s.push(e[r]);for(s=l(s,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:String(e)>String(n)?1:-1}}(t)),n=s.length,r=0;r<n;)e[r]=s[r++];for(;r<u;)delete e[r++];return e}})},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"512c":function(t,e,n){var r=n("342f").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},5135:function(t,e,n){var r=n("7b0b"),i={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return i.call(r(t),e)}},5319:function(t,e,n){"use strict";var r=n("d784"),i=n("d039"),o=n("825a"),a=n("50c4"),s=n("a691"),l=n("1d80"),u=n("8aa5"),c=n("0cb2"),d=n("14c3"),h=n("b622")("replace"),f=Math.max,p=Math.min,w="$0"==="a".replace(/./,"$0"),m=!!/./[h]&&""===/./[h]("a","$0");r("replace",(function(t,e,n){var r=m?"$":"$0";return[function(t,n){var r=l(this),i=null==t?void 0:t[h];return void 0!==i?i.call(t,r,n):e.call(String(r),t,n)},function(t,i){if("string"==typeof i&&-1===i.indexOf(r)&&-1===i.indexOf("$<")){var l=n(e,this,t,i);if(l.done)return l.value}var h=o(this),w=String(t),m="function"==typeof i;m||(i=String(i));var v=h.global;if(v){var g=h.unicode;h.lastIndex=0}for(var y=[];;){var b=d(h,w);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(h.lastIndex=u(w,a(h.lastIndex),g))}for(var _,x="",k=0,C=0;C<y.length;C++){b=y[C];for(var S=String(b[0]),P=f(p(s(b.index),w.length),0),A=[],O=1;O<b.length;O++)A.push(void 0===(_=b[O])?_:String(_));var T=b.groups;if(m){var E=[S].concat(A,P,w);void 0!==T&&E.push(T);var I=String(i.apply(void 0,E))}else I=c(S,w,P,A,T,i);P>=k&&(x+=w.slice(k,P)+I,k=P+S.length)}return x+w.slice(k)}]}),!!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!w||m)},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.15.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),i=n("241c"),o=n("7418"),a=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),i="["+n("5899")+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},"5a34":function(t,e,n){var r=n("44e7");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"605d":function(t,e,n){var r=n("c6b6"),i=n("da84");t.exports="process"==r(i.process)},6069:function(t,e){t.exports="object"==typeof window},"60da":function(t,e,n){"use strict";var r=n("83ab"),i=n("d039"),o=n("df75"),a=n("7418"),s=n("d1e7"),l=n("7b0b"),u=n("44ad"),c=Object.assign,d=Object.defineProperty;t.exports=!c||i((function(){if(r&&1!==c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||o(c({},e)).join("")!=i}))?function(t,e){for(var n=l(t),i=arguments.length,c=1,d=a.f,h=s.f;i>c;)for(var f,p=u(arguments[c++]),w=d?o(p).concat(d(p)):o(p),m=w.length,v=0;m>v;)f=w[v++],r&&!h.call(p,f)||(n[f]=p[f]);return n}:c},6547:function(t,e,n){var r=n("a691"),i=n("1d80"),o=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622")("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"682b":function(t,e,n){"use strict";n("fe3f")},"69f3":function(t,e,n){var r,i,o,a=n("7f9a"),s=n("da84"),l=n("861d"),u=n("9112"),c=n("5135"),d=n("c6cd"),h=n("f772"),f=n("d012"),p="Object already initialized",w=s.WeakMap;if(a||d.state){var m=d.state||(d.state=new w),v=m.get,g=m.has,y=m.set;r=function(t,e){if(g.call(m,t))throw new TypeError(p);return e.facade=t,y.call(m,t,e),e},i=function(t){return v.call(m,t)||{}},o=function(t){return g.call(m,t)}}else{var b=h("state");f[b]=!0,r=function(t,e){if(c(t,b))throw new TypeError(p);return e.facade=t,u(t,b,e),e},i=function(t){return c(t,b)?t[b]:{}},o=function(t){return c(t,b)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"6eeb":function(t,e,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),u=l.get,c=l.enforce,d=String(String).split("String");(t.exports=function(t,e,n,s){var l,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),(l=c(n)).source||(l.source=d.join("string"==typeof e?e:""))),t!==r?(u?!f&&t[e]&&(h=!0):delete t[e],h?t[e]=n:i(t,e,n)):h?t[e]=n:a(e,n
2)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},"6f53":function(t,e,n){var r=n("83ab"),i=n("df75"),o=n("fc6a"),a=n("d1e7").f,s=function(t){return function(e){for(var n,s=o(e),l=i(s),u=l.length,c=0,d=[];u>c;)n=l[c++],r&&!a.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}};t.exports={entries:s(!0),values:s(!1)}},7156:function(t,e,n){var r=n("861d"),i=n("d2bb");t.exports=function(t,e,n){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(t,a),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),i=n("5135"),o=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),d="prototype",h="script",f=c("IE_PROTO"),p=function(){},w=function(t){return"<"+h+">"+t+"</"+h+">"},m=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e,n;m=r?function(t){t.write(w("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):(e=u("iframe"),n="java"+h+":",e.style.display="none",l.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(w("document.F=Object")),t.close(),t.F);for(var i=a.length;i--;)delete m[d][a[i]];return m()};s[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p[d]=i(t),n=new p,p[d]=null,n[f]=t):n=m(),void 0===e?n:o(n,e)}},"7db0":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").find,o=n("44d2"),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),i=n("9ed3"),o=n("e163"),a=n("d2bb"),s=n("d44e"),l=n("9112"),u=n("6eeb"),c=n("b622"),d=n("c430"),h=n("3f8c"),f=n("ae93"),p=f.IteratorPrototype,w=f.BUGGY_SAFARI_ITERATORS,m=c("iterator"),v="keys",g="values",y="entries",b=function(){return this};t.exports=function(t,e,n,c,f,_,x){i(n,e,c);var k,C,S,P=function(t){if(t===f&&I)return I;if(!w&&t in T)return T[t];switch(t){case v:case g:case y:return function(){return new n(this,t)}}return function(){return new n(this)}},A=e+" Iterator",O=!1,T=t.prototype,E=T[m]||T["@@iterator"]||f&&T[f],I=!w&&E||P(f),N="Array"==e&&T.entries||E;if(N&&(k=o(N.call(new t)),p!==Object.prototype&&k.next&&(d||o(k)===p||(a?a(k,p):"function"!=typeof k[m]&&l(k,m,b)),s(k,A,!0,!0),d&&(h[A]=b))),f==g&&E&&E.name!==g&&(O=!0,I=function(){return E.call(this)}),d&&!x||T[m]===I||l(T,m,I),h[e]=I,f)if(C={values:P(g),keys:_?I:P(v),entries:P(y)},x)for(S in C)(w||O||!(S in T))&&u(T,S,C[S]);else r({target:e,proto:!0,forced:w||O},C);return C}},"7f9a":function(t,e,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},"81d5":function(t,e,n){"use strict";var r=n("7b0b"),i=n("23cb"),o=n("50c4");t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);u>s;)e[s++]=t;return e}},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("c04e"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},"857a":function(t,e,n){var r=n("1d80"),i=/"/g;t.exports=function(t,e,n,o){var a=String(r(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(o).replace(i,"&quot;")+'"'),s+">"+a+"</"+e+">"}},"861d":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},8875:function(t,e,n){var r,i,o;"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");
2if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(t){var n,r,i,o=/@([^@]*):(\d+):(\d+)\s*$/gi,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(t.stack)||o.exec(t.stack),s=a&&a[1]||!1,l=a&&a[2]||!1,u=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");s===u&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var d=0;d<c.length;d++){if("interactive"===c[d].readyState)return c[d];if(c[d].src===s)return c[d];if(s===u&&c[d].innerHTML&&c[d].innerHTML.trim()===i)return c[d]}return null}}return t})?r.apply(e,i):r)||(t.exports=o)},8925:function(t,e,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var r,i,o=n("ad6d"),a=n("9f7f"),s=n("5692"),l=n("7c73"),u=n("69f3").get,c=n("fce3"),d=n("107c"),h=RegExp.prototype.exec,f=s("native-string-replace",String.prototype.replace),p=h,w=(r=/a/,i=/b*/g,h.call(r,"a"),h.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),m=a.UNSUPPORTED_Y||a.BROKEN_CARET,v=void 0!==/()??/.exec("")[1];(w||v||m||c||d)&&(p=function(t){var e,n,r,i,a,s,c,d=this,g=u(d),y=g.raw;if(y)return y.lastIndex=d.lastIndex,e=p.call(y,t),d.lastIndex=y.lastIndex,e;var b=g.groups,_=m&&d.sticky,x=o.call(d),k=d.source,C=0,S=t;if(_&&(-1===(x=x.replace("y","")).indexOf("g")&&(x+="g"),S=String(t).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==t[d.lastIndex-1])&&(k="(?: "+k+")",S=" "+S,C++),n=new RegExp("^(?:"+k+")",x)),v&&(n=new RegExp("^"+k+"$(?!\\s)",x)),w&&(r=d.lastIndex),i=h.call(_?n:d,S),_?i?(i.input=i.input.slice(C),i[0]=i[0].slice(C),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:w&&i&&(d.lastIndex=d.global?i.index+i[0].length:r),v&&i&&i.length>1&&f.call(i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&b)for(i.groups=s=l(null),a=0;a<b.length;a++)s[(c=b[a])[0]]=i[c[1]];return i}),t.exports=p},"94ca":function(t,e,n){var r=n("d039"),i=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==u||n!=l&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},9911:function(t,e,n){"use strict";var r=n("23e7"),i=n("857a");r({target:"String",proto:!0,forced:n("af03")("link")},{link:function(t){return i(this,"a","href",t)}})},"99af":function(t,e,n){"use strict";var r=n("23e7"),i=n("d039"),o=n("e8b5"),a=n("861d"),s=n("7b0b"),l=n("50c4"),u=n("8418"),c=n("65f0"),d=n("1dde"),h=n("b622"),f=n("2d00"),p=h("isConcatSpreadable"),w=9007199254740991,m="Maximum allowed index exceeded",v=f>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),g=d("concat"),y=function(t){if(!a(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(t){var e,n,r,i,o,a=s(this),d=c(a,0),h=0;for(e=-1,r=arguments.length;e<r;e++)if(y(o=-1===e?a:arguments[e])){if(h+(i=l(o.length))>w)throw TypeError(m);for(n=0;n<i;n++,h++)n in o&&u(d,h,o[n])}else{if(h>=w)throw TypeError(m);u(d,h++,o)}return d.length=h,d}})},"9bdd":function(t,e,n){var r=n("825a"),i=n("2a62");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){throw i(t),e}}},"9bf2":function(t,e,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,i=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),a(t,u,!1,!0),s[u]=l,t}},"9f7f":function(t,e,n){var r=n("d039"),i=function(t,e){return RegExp(t,e)};e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a434:function(t,e,n){"use strict";var r=n("23e7"),i=n("23cb"),o=n("a691"),a=n("50c4"),s=n("7b0b"),l=n("65f0"),u=n("8418"),c=n("1dde")("splice"),d=Math.max,h=Math.min;r({target:"Array",proto:!0,forced:!c}
vendor: 17,504 bytes, line 2
2,{splice:function(t,e){var n,r,c,f,p,w,m=s(this),v=a(m.length),g=i(t,v),y=arguments.length;if(0===y?n=r=0:1===y?(n=0,r=v-g):(n=y-2,r=h(d(o(e),0),v-g)),v+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(m,r),f=0;f<r;f++)(p=g+f)in m&&u(c,f,m[p]);if(c.length=r,n<r){for(f=g;f<v-r;f++)w=f+n,(p=f+r)in m?m[w]=m[p]:delete m[w];for(f=v;f>v-r+n;f--)delete m[f-1]}else if(n>r)for(f=v-r;f>g;f--)w=f+n-1,(p=f+r-1)in m?m[w]=m[p]:delete m[w];for(f=0;f<n;f++)m[f+g]=arguments[f+2];return m.length=v-r+n,c}})},a4b4:function(t,e,n){var r=n("342f");t.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("d066"),a=n("c430"),s=n("83ab"),l=n("4930"),u=n("fdbf"),c=n("d039"),d=n("5135"),h=n("e8b5"),f=n("861d"),p=n("825a"),w=n("7b0b"),m=n("fc6a"),v=n("c04e"),g=n("5c6c"),y=n("7c73"),b=n("df75"),_=n("241c"),x=n("057f"),k=n("7418"),C=n("06cf"),S=n("9bf2"),P=n("d1e7"),A=n("9112"),O=n("6eeb"),T=n("5692"),E=n("f772"),I=n("d012"),N=n("90e3"),M=n("b622"),R=n("e538"),D=n("746f"),j=n("d44e"),B=n("69f3"),L=n("b727").forEach,F=E("hidden"),q="Symbol",Q="prototype",U=M("toPrimitive"),V=B.set,H=B.getterFor(q),G=Object[Q],z=i.Symbol,W=o("JSON","stringify"),$=C.f,K=S.f,Y=x.f,Z=P.f,J=T("symbols"),X=T("op-symbols"),tt=T("string-to-symbol-registry"),et=T("symbol-to-string-registry"),nt=T("wks"),rt=i.QObject,it=!rt||!rt[Q]||!rt[Q].findChild,ot=s&&c((function(){return 7!=y(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=$(G,e);r&&delete G[e],K(t,e,n),r&&t!==G&&K(G,e,r)}:K,at=function(t,e){var n=J[t]=y(z[Q]);return V(n,{type:q,tag:t,description:e}),s||(n.description=e),n},st=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof z},lt=function(t,e,n){t===G&&lt(X,e,n),p(t);var r=v(e,!0);return p(n),d(J,r)?(n.enumerable?(d(t,F)&&t[F][r]&&(t[F][r]=!1),n=y(n,{enumerable:g(0,!1)})):(d(t,F)||K(t,F,g(1,{})),t[F][r]=!0),ot(t,r,n)):K(t,r,n)},ut=function(t,e){p(t);var n=m(e),r=b(n).concat(ft(n));return L(r,(function(e){s&&!ct.call(n,e)||lt(t,e,n[e])})),t},ct=function(t){var e=v(t,!0),n=Z.call(this,e);return!(this===G&&d(J,e)&&!d(X,e))&&(!(n||!d(this,e)||!d(J,e)||d(this,F)&&this[F][e])||n)},dt=function(t,e){var n=m(t),r=v(e,!0);if(n!==G||!d(J,r)||d(X,r)){var i=$(n,r);return!i||!d(J,r)||d(n,F)&&n[F][r]||(i.enumerable=!0),i}},ht=function(t){var e=Y(m(t)),n=[];return L(e,(function(t){d(J,t)||d(I,t)||n.push(t)})),n},ft=function(t){var e=t===G,n=Y(e?X:m(t)),r=[];return L(n,(function(t){!d(J,t)||e&&!d(G,t)||r.push(J[t])})),r};(l||(z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=N(t),n=function(t){this===G&&n.call(X,t),d(this,F)&&d(this[F],e)&&(this[F][e]=!1),ot(this,e,g(1,t))};return s&&it&&ot(G,e,{configurable:!0,set:n}),at(e,t)},O(z[Q],"toString",(function(){return H(this).tag})),O(z,"withoutSetter",(function(t){return at(N(t),t)})),P.f=ct,S.f=lt,C.f=dt,_.f=x.f=ht,k.f=ft,R.f=function(t){return at(M(t),t)},s&&(K(z[Q],"description",{configurable:!0,get:function(){return H(this).description}}),a||O(G,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:z}),L(b(nt),(function(t){D(t)})),r({target:q,stat:!0,forced:!l},{for:function(t){var e=String(t);if(d(tt,e))return tt[e];var n=z(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!st(t))throw TypeError(t+" is not a symbol");if(d(et,t))return et[t]},useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(t,e){return void 0===e?y(t):ut(y(t),e)},defineProperty:lt,defineProperties:ut,getOwnPropertyDescriptor:dt}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ht,getOwnPropertySymbols:ft}),r({target:"Object",stat:!0,forced:c((function(){k.f(1)}))},{getOwnPropertySymbols:function(t){return k.f(w(t))}}),W)&&r({target:"JSON",stat:!0,forced:!l||c((function(){var t=z();return"[null]"!=W([t])||"{}"!=W({a:t})||"{}"!=W(Object(t))}))},{stringify:function(t,e,n){for(var r,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=e,(f(e)||void 0!==t)&&!st(t))return h(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!st(e))return e}),i[1]=e,W.apply(null,i)}});z[Q][U]||A(z[Q],U,z[Q].valueOf),j(z,q),I[F]=!0},a630:function(t,e,n){var r=n("23e7"),i=n("4df4");r({target:"Array",stat:!0,forced:!n("1c7e")((function(t){Array.from(t)}))},{from:i})},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a9e3:function(t,e,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("94ca"),a=n("6eeb"),s=n("5135"),l=n("c6b6"),u=n("7156"),c=n("c04e"),d=n("d039"),h=n("7c73"),f=n("241c").f,p=n("06cf").f,w=n("9bf2").f,m=n("58a8").trim,v="Number",g=i[v],y=g.prototype,b=l(h(y))==v,_=function(t){var e,n,r,i,o,a,s,l,u=c(t,!1);if("string"==typeof u&&u.length>2)if(43===(e=(u=m(u)).charCodeAt(0))||45===e){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=u.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||l>i)return NaN;return parseInt(o,r)}return+u};if(o(v,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var x,k=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof k&&(b?d((function(){y.valueOf.call(n)})):l(n)!=v)?u(new g(_(e)),n,k):_(e)},C=r?f(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),S=0;C.length>S;S++)s(g,x=C[S])&&!s(k,x)&&w(k,x,p(g,x));k.prototype=y,y.constructor=k,a(i,v,k)}},ab13:function(t,e,n){var r=n("b622")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},addb:function(t,e){var n=Math.floor,r=function(t,e){var a=t.length,s=n(a/2);return a<8?i(t,e):o(r(t.slice(0,s),e),r(t.slice(s),e),e)},i=function(t,e){for(var n,r,i=t.length,o=1;o<i;){for(r=o,n=t[o];r&&e(t[r-1],n)>0;)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},o=function(t,e,n){for(var r=t.length,i=e.length,o=0,a=0,s=[];o<r||a<i;)o<r&&a<i?s.push(n(t[o],e[a])<=0?t[o++]:e[a++]):s.push(o<r?t[o++]:e[a++]);return s};t.exports=r},ae93:function(t,e,n){"use strict";var r,i,o,a=n("d039"),s=n("e163"),l=n("9112"),u=n("5135"),c=n("b622"),d=n("c430"),h=c("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(r=i):f=!0);var p=null==r||a((function(){var t={};return r[h].call(t)!==t}));p&&(r={}),d&&!p||u(r,h)||l(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},af03:function(t,e,n){var r=n("d039");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},b041:function(t,e,n){"use strict";var r=n("00ee"),i=n("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),i=n("9bf2").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in o)&&i(o,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},b575:function(t,e,n){var r,i,o,a,s,l,u,c,d=n("da84"),h=n("06cf").f,f=n("2cf4").set,p=n("1cdc"),w=n("a4b4"),m=n("605d"),v=d.MutationObserver||d.WebKitMutationObserver,g=d.document,y=d.process,b=d.Promise,_=h(d,"queueMicrotask"),x=_&&_.value;x||(r=function(){var t,e;for(m&&(t=y.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},p||m||w||!v||!g?b&&b.resolve?((u=b.resolve(void 0)).constructor=b,c=u.then,a=function(){c.call(u,r)}):a=m?function(){y.nextTick(r)}:function(){f.call(d,r)}:(s=!0,l=g.createTextNode(""),new v(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),t.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),u=i("wks"),c=r.Symbol,d=l?c:c&&c.withoutSetter||a;t.exports=function(t){return o(u,t)&&(s||"string"==typeof u[t])||(s&&o(c,t)?u[t]=c[t]:u[t]=d("Symbol."+t)),u[t]}},b64b:function(t,e,n){var r=n("23e7"),i=n("7b0b"),o=n("df75");r({target:"Object",stat:!0,forced:n("d039")((function(){o(1)}))},{keys:function(t){return o(i(t))}})},b727:function(t,e,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),l=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,c=4==t,d=6==t,h=7==t,f=5==t||d;return function(p,w,m,v){for(var g,y,b=o(p),_=i(b),x=r(w,m,3),k=a(_.length),C=0,S=v||s,P=e?S(p,k):n||h?S(p,0):void 0;k>C;C++)if((f||C in _)&&(y=x(g=_[C],C,b),t))if(e)P[C]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return C;case 2:l.call(P,g)}else switch(t){case 4:return!1;case 7:l.call(P,g)}return d?-1:u||c?c:P}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},c740:function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").findIndex,o=n("44d2"),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,a=n("d012");t.exports=function(t,e){var n,s=i(t),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},caad:function(t,e,n){"use strict";var r=n("23e7"),i=n("4d64").includes,o=n("44d2");r({target:"Array",proto:!0},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cb29:function(t,e,n){var r=n("23e7"),i=n("81d5"),o=n("44d2");r({target:"Array",proto:!0},{fill:i}),o("fill")},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cca6:function(t,e,n){var r=n("23e7"),i=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},cdf9:function(t,e,n){var r=n("825a"),i=n("861d"),o=n("f069");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},ce4e:function(t,e,n){var r=n("da84"),i=n("9112");t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},d066:function(t,e,n){var r=n("428f"),i=n("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d28b:function(t,e,n){n("746f")("iterator")},d2bb:function(t,e,n){var r=n("825a"),i=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,i=n("5135"),o=n("b622")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},d784:function(t,e,n){"use strict";n("ac1f");var r=n("6eeb"),i=n("9263"),o=n("d039"),a=n("b622"),s=n("9112"),l=a("species"),u=RegExp.prototype;t.exports=function(t,e,n,c){var d=a(t),h=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),f=h&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!h||!f||n){var p=/./[d],w=e(d,""[t],(function(t,e,n,r,o){var a=e.exec;return a===i||a===u.exec?h&&!o?{done:!0,value:p.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,w[0]),r(u,d,w[1])}c&&s(u[d],"sham",!0)}},d81d:function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").map;r({target:"Array",proto:!0,forced:!n("1dde")("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},d998:function(t,e,n){var r=n("342f");t.exports=/MSIE|Trident/.test(r)},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dbb4:function(t,e,n){var r=n("23e7"),i=n("83ab"),o=n("56ef"),a=n("fc6a"),s=n("06cf"),l=n("8418");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),i=s.f,u=o(r),c={},d=0;u.length>d;)void 0!==(n=i(r,e=u[d++]))&&l(c,e,n);return c}})},ddb0:function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("e260"),a=n("9112"),s=n("b622"),l=s("iterator"),u=s("toStringTag"),c=o.values;for(var d in i){var h=r[d],f=h&&h.prototype;if(f){if(f[l]!==c)try{a(f,l,c)}catch(t){f[l]=c}if(f[u]||a(f,u,d),i[d])for(var p in o)if(f[p]!==o[p])try{a(f,p,o[p])}catch(t){f[p]=o[p]}}}},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},e01a:function(t,e,n){"use strict";var r=n("23e7"),i=n("83ab"),o=n("da84"),a=n("5135"),s=n("861d"),l=n("9bf2").f,u=n("e893"),c=o.Symbol;if(i&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var d={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new c(t):void 0===t?c():c(t);return""===t&&(d[e]=!0),e};u(h,c);var f=h.prototype=c.prototype;f.constructor=h;var p=f.toString,w="Symbol(test)"==String(c("test")),m=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(a(d,t))return"";var n=w?e.slice(7,-1):e.replace(m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},e163:function(t,e,n){var r=n("5135"),i=n("7b0b"),o=n("f772"),a=n("e177"),s=o("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),i=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("7dd0"),l="Array Iterator",u=a.set,c=a.getterFor(l);t.exports=s(Array,"Array",(function(t,e){u(this,{type:l,target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e439:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("fc6a"),a=n("06cf").f,s=n("83ab"),l=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},e6cf:function(t,e,n){"use strict";var r,i,o,a,s=n("23e7"),l=n("c430"),u=n("da84"),c=n("d066"),d=n("fea9"),h=n("6eeb"),f=n("e2cc"),p=n("d2bb"),w=n("d44e"),m=n("2626"),v=n("861d"),g=n("1c0b"),y=n("19aa"),b=n("8925"),_=n("2266"),x=n("1c7e"),k=n("4840"),C=n("2cf4").set,S=n("b575"),P=n("cdf9"),A=n("44de"),O=n("f069"),T=n("e667"),E=n("69f3"),I=n("94ca"),N=n("b622"),M=n("6069"),R=n("605d"),D=n("2d00"),j=N("species"),B="Promise",L=E.get,F=E.set,q=E.getterFor(B),Q=d&&d.prototype,U=d,V=Q,H=u.TypeError,G=u.document,z=u.process,W=O.f,$=W,K=!!(G&&G.createEvent&&u.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,Z="unhandledrejection",J=!1,X=I(B,(function(){var t=b(U)!==String(U);if(!t&&66===D)return!0;
vendor: 4,388 bytes, line 2
2if(l&&!V.finally)return!0;if(D>=51&&/native code/.test(U))return!1;var e=new U((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[j]=n,!(J=e.then((function(){}))instanceof n)||!t&&M&&!Y})),tt=X||!x((function(t){U.all(t).catch((function(){}))})),et=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},nt=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;S((function(){for(var r=t.value,i=1==t.state,o=0;n.length>o;){var a,s,l,u=n[o++],c=i?u.ok:u.fail,d=u.resolve,h=u.reject,f=u.domain;try{c?(i||(2===t.rejection&&at(t),t.rejection=1),!0===c?a=r:(f&&f.enter(),a=c(r),f&&(f.exit(),l=!0)),a===u.promise?h(H("Promise-chain cycle")):(s=et(a))?s.call(a,d,h):d(a)):h(r)}catch(t){f&&!l&&f.exit(),h(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&it(t)}))}},rt=function(t,e,n){var r,i;K?((r=G.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},!Y&&(i=u["on"+t])?i(r):t===Z&&A("Unhandled promise rejection",n)},it=function(t){C.call(u,(function(){var e,n=t.facade,r=t.value;if(ot(t)&&(e=T((function(){R?z.emit("unhandledRejection",r,n):rt(Z,n,r)})),t.rejection=R||ot(t)?2:1,e.error))throw e.value}))},ot=function(t){return 1!==t.rejection&&!t.parent},at=function(t){C.call(u,(function(){var e=t.facade;R?z.emit("rejectionHandled",e):rt("rejectionhandled",e,t.value)}))},st=function(t,e,n){return function(r){t(e,r,n)}},lt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,nt(t,!0))},ut=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw H("Promise can't be resolved itself");var r=et(e);r?S((function(){var n={done:!1};try{r.call(e,st(ut,n,t),st(lt,n,t))}catch(e){lt(n,e,t)}})):(t.value=e,t.state=1,nt(t,!1))}catch(e){lt({done:!1},e,t)}}};if(X&&(V=(U=function(t){y(this,U,B),g(t),r.call(this);var e=L(this);try{t(st(ut,e),st(lt,e))}catch(t){lt(e,t)}}).prototype,(r=function(t){F(this,{type:B,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(V,{then:function(t,e){var n=q(this),r=W(k(this,U));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=R?z.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&nt(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=L(t);this.promise=t,this.resolve=st(ut,e),this.reject=st(lt,e)},O.f=W=function(t){return t===U||t===o?new i(t):$(t)},!l&&"function"==typeof d&&Q!==Object.prototype)){a=Q.then,J||(h(Q,"then",(function(t,e){var n=this;return new U((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),h(Q,"catch",V.catch,{unsafe:!0}));try{delete Q.constructor}catch(t){}p&&p(Q,V)}s({global:!0,wrap:!0,forced:X},{Promise:U}),w(U,B,!1,!0),m(B),o=c(B),s({target:B,stat:!0,forced:X},{reject:function(t){var e=W(this);return e.reject.call(void 0,t),e.promise}}),s({target:B,stat:!0,forced:l||X},{resolve:function(t){return P(l&&this===o?U:this,t)}}),s({target:B,stat:!0,forced:tt},{all:function(t){var e=this,n=W(e),r=n.resolve,i=n.reject,o=T((function(){var n=g(e.resolve),o=[],a=0,s=1;_(t,(function(t){var l=a++,u=!1;o.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,o[l]=t,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=W(e),r=n.reject,i=T((function(){var i=g(e.resolve);_(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},e893:function(t,e,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=i(e),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];r(t,c)||s(t,c,l(e,c))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},e95a:function(t,e,n){var r=n("b622"),i=n("3f8c"),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},f069:function(t,e,n){"use strict";var r=n("1c0b"),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},f5df:function(t,e,n){var r=n("00ee"),i=n("c6b6"),o=n("b622")("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}
2(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fae3:function(t,e,n){"use strict";if(n.r(e),n.d(e,"VueperSlides",(function(){return v})),n.d(e,"VueperSlide",(function(){return p})),"undefined"!=typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),n("a630");n("fb6a"),n("b0c0");function s(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t)||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.")}()}n("b64b"),n("4de4"),n("e439"),n("159b"),n("dbb4");function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n("a9e3"),n("ac1f"),n("5319"),n("d81d"),n("cb29"),n("9911"),n("4e82"),n("99af"),n("caad"),n("2532"),n("7db0"),n("cca6"),n("c740"),n("a434");function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}n("e6cf"),n("07ac");var h={inject:["slides","touch","updateSlide","addClone","addSlide","removeSlide"],props:{clone:{type:Boolean},image:{type:String,default:""},video:{type:[String,Object],default:""},title:{type:String,default:""},content:{type:String,default:""},link:{type:String,default:""},duration:{type:Number,default:0},lazyloaded:{type:Boolean},openInNew:{type:[Boolean,String]}},emits:["mouse-enter","mouse-leave"],data:function(){return{imageSrc:"",loading:!1,loaded:!1}},computed:{conf:function(){return this.$parent.conf},slideClasses:function(){return{"vueperslide--active":this.slides.activeId===this._uid,"vueperslide--previous-slide":this.isPreviousSlide,"vueperslide--next-slide":this.isNextSlide,"vueperslide--visible":this.isSlideVisible,"vueperslide--loading":this.conf.lazy&&!this.loaded,"vueperslide--has-video":this.videoObj,"vueperslide--has-image-inside":this.conf.slideImageInside,"vueperslide--no-pointer-events":this.videoObj&&!1===this.videoObj.pointerEvents}},slideStyles:function(){var t=this.conf,e=t.visibleSlides,n=t.fade,r=t.slideImageInside,i=t.gap,o=t.gapPx;return c(c(c(c({},!r&&this.imageSrc&&{backgroundImage:'url("'.concat(this.imageSrc,'")')}),e>1&&{width:(100-(i?i*(e-1):0))/e+"%"}),e>1&&n&&l({},this.conf.rtl?"right":"left",this.slideIndex%e/e*100+"%")),i&&l({},this.conf.rtl?"marginLeft":"marginRight",i+(o?"px":"%")))},videoObj:function(){if(!this.video)return null;var t={url:"",alt:"",props:{controls:!0}};return"object"===d(this.video)?t=Object.assign(t,this.video):"string"==typeof this.video&&(t.url=this.video),t},youtubeVideo:function(){return/youtube\.|youtu\.be/.test(this.videoObj.url)},imageStyles:function(){return c({},this.conf.slideImageInside&&this.imageSrc&&{backgroundImage:'url("'.concat(this.imageSrc,'")')})},slideFace3d:function(){if(!this.conf["3d"])return!1;var t=["front","right","back","left"],e=(this.slides.current-1+this.slidesCount)%this.slidesCount,n=(this.slides.current+1)%this.slidesCount,r="front";return this.slideIndex===e?r=t[(4+this.slides.current-1)%4]:this.slideIndex===n&&(r=t[(this.slides.current+1)%4]),r=t[this.slideIndex%4],this.conf.rtl&&"left"===r?r="right":this.conf.rtl&&"right"===r&&(r="left"),r},isPreviousSlide:function(){if(!this.conf["3d"])return!1;var t=(this.slides.current-1+this.slidesCount)%this.slidesCount;return this._uid===this.slides.list[t].id},isNextSlide:function(){if(!this.conf["3d"])return!1;var t=(this.slides.current+1)%this.slidesCount;return this._uid===this.slides.list[t].id}
2,isSlideVisible:function(){return this.slideIndex>=this.slides.firstVisible&&this.slideIndex<this.slides.firstVisible+this.conf.visibleSlides},slidesList:function(){return this.slides.list.map((function(t){return t.id}))},slidesCount:function(){return this.slidesList.length},slideIndex:function(){return this.slidesList.indexOf(this._uid)},justDragged:function(){return this.touch.justDragged},shouldSkipUpdate:function(){return this.clone||!this.conf.infinite||!this.conf.slideContentOutside&&!this.conf.alwaysRefreshClones}},methods:{updateThisSlide:function(t){this.updateSlide(this._uid,t)},loadImage:function(){var t=this;if(!this.loading&&!this.loaded)return this.loading=!0,new Promise((function(e,n){var r=document.createElement("img");r.onload=function(){t.imageSrc=t.image,t.loading=!1,t.loaded=!0,t.$nextTick((function(){e({image:t.imageSrc,style:((t.$el.attributes||{}).style||{}).value})}))},r.onerror=(t.loading=!1)||n,r.src=t.image}))},playVideo:function(){this.videoObj&&(this.videoObj.url?this.$el.querySelector("iframe").contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):this.$el.querySelector("video").play())},pauseVideo:function(){this.videoObj&&(this.videoObj.url?this.$el.querySelector("iframe").contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*"):this.$el.querySelector("video").pause())}},created:function(){if(this.imageSrc=this.conf.lazy?"":this.image,this.clone)return this.addClone();this.addSlide({id:this._uid,image:this.imageSrc,video:this.videoObj&&c(c({},this.videoObj),{},{play:this.playVideo,pause:this.pauseVideo}),title:this.title,content:this.content,contentSlot:this.$slots.content,loaderSlot:this.$slots.loader,link:this.link,style:"",loadImage:this.loadImage,duration:this.duration})},mounted:function(){this.clone||this.updateThisSlide({contentSlot:this.$slots.content,loaderSlot:this.$slots.loader,style:((this.$el.attributes||{}).style||{}).value})},beforeUpdate:function(){!this.shouldSkipUpdate&&Object.values(this.$slots).length&&this.updateThisSlide({contentSlot:this.$slots.content,loaderSlot:this.$slots.loader,style:((this.$el.attributes||{}).style||{}).value})},destroyed:function(){this.clone||this.removeSlide(this._uid)},watch:{image:function(){this.imageSrc=this.conf.lazy&&!this.isSlideVisible?"":this.image,this.clone||this.updateThisSlide(c({image:this.imageSrc},!this.conf.slideImageInside&&{style:this.slideStyles}))},title:function(){this.clone||this.updateThisSlide({title:this.title})},content:function(){this.clone||this.updateThisSlide({content:this.content})},link:function(){this.clone||this.updateThisSlide({link:this.link})},lazyloaded:function(){this.clone&&(this.loaded=this.lazyloaded)}}};n("1c94");function f(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}var p=f(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.link?"a":"div",{tag:"component",staticClass:"vueperslide",class:t.slideClasses,style:t.slideStyles,attrs:{href:!(!t.link||t.justDragged)&&t.link,target:t.link&&t.openInNew?"boolean"==typeof t.openInNew?"_blank":t.openInNew:"_self",face:t.slideFace3d,"aria-hidden":t.slides.activeId===t._uid||t.isSlideVisible?"false":"true"},on:{mouseenter:function(e){return t.$emit("mouse-enter",{slideIndex:t.slideIndex,title:t.title,content:t.content,image:t.image,link:t.link},t.$el)},mouseleave:function(e){return t.$emit("mouse-leave")}}},[t.videoObj?[t.videoObj.webm||t.videoObj.mp4?n("video",t._b({staticClass:"vueperslide__video",attrs:{width:"100%",height:"100%"}},"video",t.videoObj.props||{},!1),[t.videoObj.webm?n("source",{attrs:{src:t.videoObj.webm,type:"video/webm"}}):t._e(),t.videoObj.mp4?n("source",{attrs:{src:t.videoObj.mp4,type:"video/mp4"}}):t._e(),t.videoObj.ogv?n("source",{attrs:{src:t.videoObj.ogv,type:"video/ogg"}}):t._e(),t.videoObj.avi?n("source",{attrs:{src:t.videoObj.avi,type:"video/avi"}}):t._e(),t._v(t._s(t.videoObj.alt||"Sorry, your browser doesn't support embedded videos."))]):t.videoObj.url?n("iframe",t._b({staticClass:"vueperslide__video",attrs:{src:t.videoObj.url,type:"text/html",frameborder:"0",width:"100%",height:"100%"}},"iframe",t.videoObj.props||{},!1)):t._e()]:t._e(),t.imageSrc&&t.conf.slideImageInside?n("div",{staticClass:"vueperslide__image",style:t.imageStyles}):t._e(),t.conf.slideContentOutside?n("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[t._t("content",(function(){return[n("div",{staticClass:"vueperslide__content-wrapper"},[t.title?n("div",{staticClass:"vueperslide__title",domProps:{innerHTML:t._s(t.title)}}):t._e(),t.content?n("div",{staticClass:"vueperslide__content",domProps:{innerHTML:t._s(t.content)}}):t._e()])]}))],2):t._t("content",(function(){return[n("div",{staticClass:"vueperslide__content-wrapper"},[t.title?n("div",{staticClass:"vueperslide__title",domProps:{innerHTML:t._s(t.title)}}):t._e(),t.content?n("div",{staticClass:"vueperslide__content",domProps:{innerHTML:t._s(t.content)}}):t._e()])]})),t.conf.lazy&&!t.loaded?n("div",{staticClass:"vueperslide__loader"},[t._t("loader")],2):t._e()],2)}),[],!1,null,null,null).exports,w=(n("0b32"),{name:"vueper-slides",components:{VueperSlide:p,vnodes:{functional:!0,render:function(t,e){return e.props.vnodes}}},provide:function(){return{conf:this.conf,slides:this.slides,touch:this.touch,updateSlide:this.updateSlide,addClone
2:this.addClone,addSlide:this.addSlide,removeSlide:this.removeSlide}},props:{alwaysRefreshClones:{type:Boolean,default:!1},arrows:{type:Boolean,default:!0},arrowsOutside:{type:Boolean,default:null},autoplay:{type:Boolean,default:!1},breakpoints:{type:Object,default:function(){return{}}},bullets:{type:Boolean,default:!0},bulletsOutside:{type:Boolean,default:null},disable:{type:Boolean,default:!1},disableArrowsOnEdges:{type:[Boolean,String],default:!1},draggingDistance:{type:Number,default:null},duration:{type:[Number,String],default:4e3},infinite:{type:Boolean,default:!0},fade:{type:Boolean,default:!1},fixedHeight:{type:[Boolean,String],default:!1},fractions:{type:Boolean,default:!1},gap:{type:Number,default:0},initSlide:{type:Number,default:1},lazy:{type:Boolean,default:!1},lazyLoadOnDrag:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!0},pauseOnTouch:{type:Boolean,default:!0},parallax:{type:[Boolean,Number],default:!1},pageScrollingElement:{type:String,default:""},parallaxFixedContent:{type:Boolean,default:!1},preventYScroll:{type:Boolean,default:!1},progress:{type:Boolean,default:!1},rtl:{type:Boolean,default:!1},slideContentOutside:{type:[Boolean,String],default:!1},slideContentOutsideClass:{type:String,default:""},slideImageInside:{type:Boolean,default:!1},slideMultiple:{type:[Boolean,Number],default:!1},slideRatio:{type:Number,default:1/3},touchable:{type:Boolean,default:!0},transitionSpeed:{type:[Number,String],default:600},visibleSlides:{type:Number,default:1},"3d":{type:Boolean,default:!1}},emits:["ready","next","previous","autoplay-pause","autoplay-resume","before-slide","slide","image-loaded","image-failed"],data:function(){return{isReady:!1,isPaused:!1,container:null,slides:{list:[],activeId:null,current:0,focus:0,firstVisible:0},mouseDown:!1,mouseOver:!1,touch:{enabled:!0,dragging:!1,lazyloadTriggered:!1,justDragged:!1,dragStartX:0,dragNowX:0,dragAmount:0},transition:{currentTranslation:0,speed:0,animated:!1},autoplayTimer:null,nextSlideIsClone:!1,breakpointsData:{list:[],current:null},parallaxData:{translation:0,slideshowOffsetTop:null,isVisible:!1}}},computed:{conf:function(){var t=c(c({},this.$props),this.$props.breakpoints&&this.$props.breakpoints[this.breakpointsData.current]||{});return t.slideMultiple=t.slideMultiple?t.visibleSlides:1,t.gap=this.gap&&parseInt(this.gap)||0,t.visibleSlides>1&&(t["3d"]=!1),(t.fade||t.disableArrowsOnEdges||t.visibleSlides>1||t["3d"])&&(t.infinite=!1),t.visibleSlides>1&&null===t.arrowsOutside&&(t.arrowsOutside=!0),t.visibleSlides>1&&null===t.bulletsOutside&&(t.bulletsOutside=!0),this.touch.enabled!==t.touchable&&this.toggleTouchableOption(t.touchable),t.parallax&&t.parallaxFixedContent&&(t.slideContentOutside="top",t.slideContentOutsideClass="parallax-fixed-content"),t},slidesCount:function(){return this.slides.list.length},gapsCount:function(){var t=this.conf,e=t.fade,n=t["3d"],r=t.slideMultiple;if(!t.gap||e||n)return 0;if(this.multipleSlides1by1&&this.slides.current<this.preferredPosition)return 0;if(!this.slides.current&&this.nextSlideIsClone)return this.slidesCount;if(0===this.nextSlideIsClone)return-1;var i=this.slides.current/r-this.preferredPosition;return this.multipleSlides1by1&&this.slidePosAfterPreferred>0&&(i-=this.slidePosAfterPreferred),i},slidesAfterCurrent:function(){return this.slidesCount-(this.slides.current+1)},preferredPosition:function(){return this.multipleSlides1by1?Math.ceil(this.conf.visibleSlides/2)-1:0},slidePosAfterPreferred:function(){return this.conf.visibleSlides-this.preferredPosition-this.slidesAfterCurrent-1},multipleSlides1by1:function(){return this.conf.visibleSlides>1&&1===this.conf.slideMultiple},touchEnabled:{get:function(){return this.slidesCount>1&&this.touch.enabled},set:function(t){this.touch.enabled=t}},canSlide:function(){return this.slidesCount/this.conf.visibleSlides>1},firstSlide:function(){var t=this.slidesCount?this.slides.list[0]:{};return t.style&&"string"==typeof t.style&&(t.style=t.style.replace(/width: ?\d+.*?;?/,"")),t},lastSlide:function(){var t=this.slidesCount?this.slides.list[this.slidesCount-1]:{};return t.style&&"string"==typeof t.style&&(t.style=t.style.replace(/width: ?\d+.*?;?/,"")),t},currentSlide:function(){var t=this.slidesCount&&this.slides.list[this.slides.current]||{};return this.slides.current<this.slidesCount&&t.id!==this.slides.activeId&&this.goToSlide(this.slides.current,{animation:!1,autoPlaying:!0}),t},vueperslidesClasses:function(){return{"vueperslides--ready":this.isReady,"vueperslides--rtl":this.conf.rtl,"vueperslides--fade":this.conf.fade,"vueperslides--parallax":this.conf.parallax,"vueperslides--slide-image-inside":this.conf.slideImageInside,"vueperslides--touchable":this.touchEnabled&&!this.disable,"vueperslides--fixed-height":this.conf.fixedHeight,"vueperslides--3d":this.conf["3d"],"vueperslides--slide-multiple":this.conf.slideMultiple>1,"vueperslides--bullets-outside":this.conf.bulletsOutside,"vueperslides--animated":this.transition.animated,"vueperslides--no-animation":!this.isReady}},vueperslidesStyles:function(){return/^-?\d/.test(this.conf.fixedHeight)?"height: ".concat(this.conf.fixedHeight):null},trackStyles:function(){var t={};return this.conf.parallax&&(t.transform="translate3d(0, ".concat(this.parallaxData.translation,"%, 0)"),t.willChange=this.parallaxData.isVisible?"transform":"auto"),t},trackInnerStyles:function(){var t={},e=this.conf,n=e.fade,r=e["3d"];if(t.transitionDuration="".concat(this.transition.speed,"ms"),r){var i=90*this.transition.currentTranslation/100;t.transform="rotateY(-90deg) translateX(-50%) rotateY(90deg) rotateY(".concat(i,"deg)")}else n||(t.transform="translate3d(".concat(this.transition.currentTranslation,"%, 0, 0)"),t.willChange=this.touch.dragging||this.transition.animated?"transform":"auto");return t},bulletIndexes:function(){var t=this;return Array(Math.ceil(this.slidesCount/this.conf.slideMultiple)).fill().map((function(e,n){return n*t.conf.slideMultiple}))},arrowPrevDisabled:function(){return!this.slides.current&&this.conf.disableArrowsOnEdges},arrowNextDisabled:function(){var t=this.conf,e=t.disableArrowsOnEdges,n=t.visibleSlides,r=t.slideMultiple;return this.slides.current+(r>1&&n>1?n-1:0)===this.slidesCount-1&&e}},methods:{init:function(){var t=this;this.container=this.$refs.vueperslides,this.touchEnabled=this.conf.touchable,this.transition.speed=this.conf.transitionSpeed,Object.keys(this.breakpoints).length&&(this.setBreakpointsList(),this.setBreakpointConfig(this.getCurrentBreakpoint()));var e={animation:!1,autoPlaying:this.conf.autoplay};this.goToSlide(this.conf.initSlide-1,e),this.bindEvents(),this.$nextTick((function(){t.isReady=!0,t.emit("ready")}))},emit:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=null;if((e||"number"==typeof n)&&(r={},e&&this.slides.activeId&&this.slidesCount&&(r.currentSlide=this.getSlideData(this.slides.current)),"number"==typeof n&&this.slidesCount)){var i=this.getSlideInRange(n).nextSlide;r.nextSlide=this.getSlideData(i)}this.$emit.apply(this,s(r?[t,r]:[t]))},getSlideData:function(t){var e=this.slides.list[t],n={};return e&&(n={index:t,title:e.title,content:e.content,contentSlot:e.contentSlot,image:e.image,link:e.link}),n},setBreakpointsList:function(){this.breakpointsData.list=[99999].
2concat(s(Object.keys(this.breakpoints))).map((function(t){return parseInt(t)})).sort((function(t,e){return parseInt(e)-parseInt(t)}))},getCurrentBreakpoint:function(){var t=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,e=[t].concat(s(this.breakpointsData.list)).sort((function(t,e){return parseInt(e)-parseInt(t)}));return this.breakpointsData.list[e.indexOf(t)-1]},hasBreakpointChanged:function(t){return this.breakpointsData.current!==parseInt(t)},setBreakpointConfig:function(t){var e=this.breakpoints&&this.breakpoints[t]||{},n=e.slideMultiple&&e.slideMultiple!==this.conf.slideMultiple,r=e.visibleSlides&&e.visibleSlides!==this.conf.visibleSlides;this.breakpointsData.current=t,this.slides.current=this.getFirstVisibleSlide(this.slides.focus),n||r?this.goToSlide(this.slides.current,{breakpointChange:!0}):this.updateTrackTranslation()},bindEvents:function(){var t=this,e="ontouchstart"in window;this.touchEnabled&&this.toggleTouchableOption(!0),this.conf.autoplay&&(this.conf.pauseOnHover&&!e?(this.container.addEventListener("mouseenter",this.onMouseEnter),this.container.addEventListener("mouseleave",this.onMouseLeave)):this.conf.pauseOnTouch&&e&&document.addEventListener("touchstart",(function(e){t[t.$el.contains(e.target)?"onSlideshowTouch":"onOustideTouch"]()}))),(this.breakpointsData.list.length||this.conf.parallax)&&window.addEventListener("resize",this.onResize),this.conf.parallax&&this.enableParallax()},getSlideshowOffsetTop:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(null===this.parallaxData.slideshowOffsetTop||t){for(var e=this.container,n=e.offsetTop;e=e.offsetParent;)n+=e.offsetTop;this.parallaxData.slideshowOffsetTop=n}return this.parallaxData.slideshowOffsetTop},enableParallax:function(){this.refreshParallax(),this.pageScrollingElement?(this.parallaxData.scrollingEl=document.querySelector(this.pageScrollingElement),this.parallaxData.scrollingEl.addEventListener("scroll",this.onScroll)):document.addEventListener("scroll",this.onScroll)},disableParallax:function(){(this.pageScrollingElement?document.querySelector(this.pageScrollingElement):document).removeEventListener("scroll",this.onScroll),this.parallaxData.scrollingEl=null,this.parallaxData.isVisible=!1,this.parallaxData.translation=0,this.parallaxData.slideshowOffsetTop=null},onScroll:function(){var t=this.parallaxData.scrollingEl,e=document.documentElement,n=0;n=t?t.scrollTop:(window.pageYOffset||e.scrollTop)-(e.clientTop||0);var r=window.innerHeight||e.clientHeight||document.body.clientHeight,i=this.container.clientHeight,o=this.getSlideshowOffsetTop(),a=o+i-n,s=r+n-o;if(this.parallaxData.isVisible=a>0&&s>0,this.parallaxData.isVisible){var l=100*a/(r+i),u=-1===this.conf.parallax?100-l:l;this.parallaxData.translation=-u/2}},onResize:function(){if(this.breakpointsData.list.length){var t=this.getCurrentBreakpoint();this.hasBreakpointChanged(t)&&this.setBreakpointConfig(t)}this.conf.parallax&&this.getSlideshowOffsetTop(!0)},onMouseEnter:function(){this.mouseOver=!0,this.conf.pauseOnHover&&this.conf.autoplay&&(this.isPaused=!0)},onMouseLeave:function(){this.mouseOver=!1,this.conf.pauseOnHover&&this.conf.autoplay&&(this.isPaused=!1)},onMouseDown:function(t){this.touchEnabled&&!this.disable&&(!t.touches&&this.preventYScroll&&t.preventDefault(),this.mouseDown=!0,this.touch.dragStartX=this.getCurrentMouseX(t),this.conf.draggingDistance||this.updateTrackTranslation(this.touch.dragStartX))},onMouseMove:function(t){if(this.mouseDown||this.touch.dragging)if(this.conf.autoplay&&(this.isPaused=!0),this.preventYScroll&&t.preventDefault(),this.mouseDown=!1,this.touch.dragging=!0,this.touch.dragNowX=this.getCurrentMouseX(t),this.conf.draggingDistance){this.touch.dragAmount=this.touch.dragNowX-this.touch.dragStartX;var e=this.touch.dragAmount/this.container.clientWidth;this.updateTrackTranslation(),this.transition.currentTranslation+=100*e}else this.updateTrackTranslation(this.touch.dragNowX)},onMouseUp:function(t){var e=this;if(this.mouseDown=!1,!this.touch.dragging)return this.cancelSlideChange();this.conf.autoplay&&(("ontouchstart"in window||this.mouseOver)&&this.conf.pauseOnTouch||(this.isPaused=!1)),this.touch.dragging=!1;var n=this.conf.draggingDistance?-this.touch.dragAmount:0,r=100*(((this.touch.dragStartX-this.container.offsetLeft)/this.container.clientWidth<.5?0:1)-(this.touch.dragNowX-this.container.offsetLeft)/this.container.clientWidth),i=(n||r)>0;if(this.conf.rtl&&(i=!i),[Math.abs(n)<this.conf.draggingDistance,!this.conf.draggingDistance&&Math.abs(r)<50,this.arrowPrevDisabled&&!this.slides.current&&!i,this.arrowNextDisabled&&this.slides.current===this.slidesCount-1&&i].includes(!0))this.cancelSlideChange();else{var o=this.slides.current+this.conf.slideMultiple*(i?1:-1);
2this.emit(i?"next":"previous"),this.goToSlide(o)}this.touch.dragStartX=null,this.touch.dragNowX=null,this.touch.dragAmount=null,this.touch.justDragged=!0,setTimeout((function(){return e.touch.justDragged=!1}),50),this.touch.lazyloadTriggered=!1},onSlideshowTouch:function(){this.isPaused=!0},onOustideTouch:function(){this.isPaused=!1},justDragged:function(){return this.touch.justDragged},cancelSlideChange:function(){this.conf.fade||this.updateTrackTranslation()},getCurrentMouseX:function(t){return"ontouchstart"in window?t.touches[0].clientX:t.clientX},getBasicTranslation:function(){return this.slides.current/this.conf.visibleSlides},updateTrackTranslation:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.getBasicTranslation(),n=this.conf,r=n.infinite,i=n.visibleSlides,o=n.slideMultiple,a=n.gap,s=n["3d"],l=n.lazy,u=n.lazyLoadOnDrag;if(r&&!1!==this.nextSlideIsClone&&(e=(this.nextSlideIsClone?this.slidesCount:-1)/i),a&&(e+=this.gapsCount/(i/o)*a/100),r&&!1!==this.nextSlideIsClone);else if(this.touch.dragStartX&&t){var c,d=(this.touch.dragStartX-this.container.offsetLeft)/this.container.clientWidth,h=(t-this.container.offsetLeft)/this.container.clientWidth;if(s){var f=Math.round(d)?[0,2]:[-1,1];h=Math.min(Math.max(h,f[0]),f[1])}if(e+=(c=(d<.5?0:1)-h)*(this.conf.rtl?-1:1),l&&u&&!this.touch.lazyloadTriggered){this.touch.lazyloadTriggered=!0;var p=this.slides.current+(c>0?1:-1)*i;r&&-1===p?p=this.slidesCount-1:r&&p===this.slidesCount&&(p=0);for(var w=0;w<i;w++){var m=this.slides.list[p+w];m&&!m.loaded&&this.loadSlide(m,p+w)}}}if(this.multipleSlides1by1&&!r){var v=this.slidePosAfterPreferred>0,g=Math.min(this.preferredPosition,this.slides.current);v&&(g+=this.slidePosAfterPreferred),e-=g/i}this.transition.currentTranslation=100*-e*(this.conf.rtl?-1:1)},pauseAutoplay:function(){this.isPaused=!0,clearTimeout(this.autoplayTimer),this.autoplayTimer=0,this.emit("autoplay-pause")},resumeAutoplay:function(){this.isPaused=!1,this.doAutoplay(),this.emit("autoplay-resume")},doAutoplay:function(){var t=this;clearTimeout(this.autoplayTimer),this.autoplayTimer=setTimeout((function(){t.goToSlide(t.slides.current+t.conf.slideMultiple,{autoPlaying:!0})}),this.currentSlide.duration||this.conf.duration)},previous:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.emit("previous"),this.goToSlide(this.slides.current-this.conf.slideMultiple)},next:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.emit("next"),this.goToSlide(this.slides.current+this.conf.slideMultiple)},refreshParallax:function(){var t=this;setTimeout((function(){t.onResize(),t.onScroll()}),100)},getFirstVisibleSlide:function(t){var e=this.conf,n=e.slideMultiple,r=e.visibleSlides,i=this.slides.current;return r>1&&n===r?i=Math.floor(t/r)*r:this.multipleSlides1by1&&(i=t-Math.min(t,this.preferredPosition)-Math.max(this.slidePosAfterPreferred,0)),i},getSlideInRange:function(t,e){var n=!1;this.conf.infinite&&-1===t?n=0:this.conf.infinite&&t===this.slidesCount&&(n=1);var r=(t+this.slidesCount)%this.slidesCount;if(this.conf.slideMultiple>1){var i=this.slidesCount%this.conf.slideMultiple||this.conf.slideMultiple,o=this.conf.slideMultiple-i;r+=t<0?o:0,r=this.getFirstVisibleSlide(r)}return this.conf.disableArrowsOnEdges&&(t<0||t>this.slidesCount-1)&&!e&&(r=this.slides.current),{nextSlide:r,clone:n}},goToSlide:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.animation,i=void 0===r||r,o=n.autoPlaying,a=void 0!==o&&o,s=n.jumping,l=void 0!==s&&s,u=n.breakpointChange,c=void 0!==u&&u,d=n.emit,h=void 0===d||d;if(this.slidesCount&&!this.disable){!this.conf.autoplay||a||this.isPaused||(this.isPaused=!0,this.$nextTick((function(){return e.isPaused=!1}))),this.transition.animated=i,setTimeout((function(){return e.transition.animated=!1}),this.transitionSpeed);var f=this.getSlideInRange(t,a),p=f.nextSlide,w=f.clone;if(this.nextSlideIsClone=w,this.slides.list[p]){if(this.conf.lazy)for(var m=0;m<this.conf.visibleSlides;m++){var v=this.slides.list[p+m];v&&!v.loaded&&this.loadSlide(v,p+m)}
2this.isReady&&!l&&h&&this.emit("before-slide",!0,p);var g=this.slides.list[p];if(this.isReady&&g.video){var y=this.slides.list[this.slides.current];y.video&&y.video.pause(),g.video.play()}if(!1!==w&&setTimeout((function(){var n=-1===t&&e.slides.current!==e.slidesCount-1,r=t===e.slidesCount&&0!==e.slides.current;n||r||(e.transition.speed=0,e.goToSlide(w?0:e.slidesCount-1,{animation:!1,jumping:!0}),setTimeout((function(){return e.transition.speed=e.conf.transitionSpeed}),50))}),this.transition.speed-50),this.slides.current=p,this.slides.firstVisible=this.getFirstVisibleSlide(p),c||(this.slides.focus=p),this.conf.fade||this.updateTrackTranslation(),this.slides.activeId=this.slides.list[this.slides.current].id,this.conf.autoplay&&a&&!this.isPaused&&this.doAutoplay(),this.slidesCount&&(this.$slots.default[this.slides.current]&&this.isReady&&!l&&h&&this.emit("slide"),this.isReady&&this.conf.bullets&&!a&&!l&&this.$refs.bullets)){var b=this.$refs.bullets.children,_=b&&b[this.slides.current/this.conf.slideMultiple];if(_&&"button"===_.nodeName.toLowerCase()){var x=document.documentElement;this.pageScrollingElement&&(x=document.querySelector(this.pageScrollingElement));var k=x.scrollTop;_.focus({preventScroll:!0}),x.scrollTop=k}}}}},addSlide:function(t){return this.slides.list.push(t),this.isReady&&1===this.slidesCount&&this.conf.autoplay&&this.isPaused&&(this.isPaused=!1),this.slidesCount},addClone:function(){return this.updateTrackTranslation(),this.slidesCount},updateSlide:function(t,e){var n=this.slides.list.find((function(e){return e.id===t}));n&&(n=Object.assign(n,e))},removeSlide:function(t){var e=this.slides.list.findIndex((function(e){return e.id===t}));e>-1&&(this.slides.list.splice(e,1),this.slidesCount&&t===this.slides.activeId&&this.goToSlide(e-1,{autoPlaying:!0})),this.slides.current>=this.slidesCount&&this.goToSlide(0,{autoPlaying:!0})},loadSlide:function(t,e){var n=this;t.loadImage().then((function(r){var i=r.image,o=r.style;t.loaded=!0,t.image=i,t.style=o,n.$emit("image-loaded",n.getSlideData(e))}),(function(){t.loaded=!1,n.$emit("image-failed",n.getSlideData(e))}))},toggleTouchableOption:function(t){if(this.$refs.track){this.touchEnabled=t;var e="ontouchstart"in window;t?(this.$refs.track.addEventListener(e?"touchstart":"mousedown",this.onMouseDown,{passive:!this.preventYScroll}),document.addEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!this.preventYScroll}),document.addEventListener(e?"touchend":"mouseup",this.onMouseUp,{passive:!0})):this.removeEventListeners()}},removeEventListeners:function(){var t="ontouchstart"in window;this.$refs.track.removeEventListener(t?"touchstart":"mousedown",this.onMouseDown,{passive:!this.preventYScroll}),document.removeEventListener(t?"touchmove":"mousemove",this.onMouseMove,{passive:!this.preventYScroll}),document.removeEventListener(t?"touchend":"mouseup",this.onMouseUp,{passive:!0})}},watch:{isPaused:function(t){this[t?"pauseAutoplay":"resumeAutoplay"]()},parallax:function(t){this[t?"enableParallax":"disableParallax"]()}},mounted:function(){this.init()},beforeDestroy:function(){var t=this;this.removeEventListeners(),this.conf.parallax&&this.disableParallax(),window.removeEventListener("resize",this.onResize),document.removeEventListener("touchstart",(function(e){t[t.$el.contains(e.target)?"onSlideshowTouch":"onOustideTouch"]()})),this.container.removeEventListener("mouseenter",this.onMouseEnter),this.container.removeEventListener("mouseleave",this.onMouseLeave)}}),m=w,v=(n("682b"),f(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"vueperslides",staticClass:"vueperslides",class:t.vueperslidesClasses,style:t.vueperslidesStyles,attrs:{"aria-label":"Slideshow"}},[t.slidesCount&&"top"===t.conf.slideContentOutside?n("div",{staticClass:"vueperslide__content-wrapper vueperslide__content-wrapper--outside-top",class:t.conf.slideContentOutsideClass},[t.currentSlide.contentSlot?n("vnodes",{attrs:{vnodes:t.currentSlide.contentSlot}}):[t.currentSlide.title?n("div",{staticClass:"vueperslide__title",domProps:{innerHTML:t._s(t.currentSlide.title)}}):t._e(),t.currentSlide.content?n("div",{staticClass:"vueperslide__content",domProps:{innerHTML:t._s(t.currentSlide.content)}}):t._e()]],2):t._e(),n("div",{staticClass:"vueperslides__inner"},[n("div",{staticClass:"vueperslides__parallax-wrapper",style:"padding-bottom: "+100*t.conf.slideRatio+"%",attrs:{"aria-live":"polite"}},[n("div",{ref:"track",staticClass:"vueperslides__track",class:{"vueperslides__track--dragging":t.touch.dragging,"vueperslides__track--mousedown":t.mouseDown},style:t.trackStyles},[n("div",{staticClass:"vueperslides__track-inner",style:t.trackInnerStyles},[t._t("default"),t.isReady&&t.conf.infinite&&t.canSlide&&t.lastSlide?n("vueper-slide",{staticClass:"vueperslide--clone vueperslide--clone-1",style:t.lastSlide.style,attrs:{clone:"",title:t.lastSlide.title,content:t.lastSlide.content,image:t.lastSlide.image,link:t.lastSlide.link,lazyloaded:t.lastSlide.loaded,"aria-hidden":"true"}},[t.lastSlide.contentSlot?n("template",{slot:"content"},[n("vnodes",{attrs:{vnodes:t.lastSlide.contentSlot}})],1):t._e(),t.conf.lazy&&!t.lastSlide.loaded?n("template",{slot:"loader"},[n("vnodes",{attrs:{vnodes:t.lastSlide.loaderSlot}})],1):t._e()],2):t._e(),t.isReady&&t.conf.infinite&&t.canSlide&&t.firstSlide?n("vueper-slide",{staticClass:"vueperslide--clone vueperslide--clone-2",style:t.firstSlide.style,attrs:{clone:"",title:t.firstSlide.title,content:t.firstSlide.content,image:t.firstSlide.image,link:t.firstSlide.link,lazyloaded:t.firstSlide.loaded,"aria-hidden":"true"}},[t.firstSlide.contentSlot?n("template",{slot:"content"},[n("vnodes",{attrs:{vnodes:t.firstSlide.contentSlot}})],1):t._e(),t.conf.lazy&&!t.firstSlide.loaded?n("template",{slot:"loader"},[n("vnodes",{attrs:{vnodes:t.firstSlide.loaderSlot}})],1):t._e()],2):t._e()],2)])]),(t.conf.pauseOnHover||t.conf.pauseOnTouch)&&t.$slots.pause?n("div",{staticClass:"vueperslides__paused"},[t._t("pause")],2):t._e(),t.conf.progress?n("div",{staticClass:"vueperslides__progress"},[t._t("progress",(function(){return[n("div",{style:"width: "+100*(t.slides.current+1)/t.slidesCount+"%"})]}),{current:t.slides.current+1,total:t.slidesCount})],2):t._e(),t.conf.fractions?n("div",{staticClass:"vueperslides__fractions"},[t._t("fraction",(function(){return[t._v(t._s(t.slides.current+1+" / "+t.slidesCount))]}
2),{current:t.slides.current+1,total:t.slidesCount})],2):t._e(),t.conf.arrows&&t.canSlide&&!t.disable?n("div",{staticClass:"vueperslides__arrows",class:{"vueperslides__arrows--outside":t.conf.arrowsOutside}},[n("button",{directives:[{name:"show",rawName:"v-show",value:!t.arrowPrevDisabled,expression:"!arrowPrevDisabled"}],staticClass:"vueperslides__arrow vueperslides__arrow--prev",attrs:{type:"button","aria-label":"Previous"},on:{click:function(e){return t.previous()},keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:void(t.conf.rtl?t.next():t.previous())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:void(t.conf.rtl?t.previous():t.next())}]}},[t._t("arrow-"+(t.conf.rtl?"right":"left"),(function(){return[n("svg",{attrs:{viewBox:"0 0 9 18"}},[n("path",{attrs:{"stroke-linecap":"round",d:t.conf.rtl?"m1 1 l7 8 -7 8":"m8 1 l-7 8 7 8"}})])]}))],2),n("button",{directives:[{name:"show",rawName:"v-show",value:!t.arrowNextDisabled,expression:"!arrowNextDisabled"}],staticClass:"vueperslides__arrow vueperslides__arrow--next",attrs:{type:"button","aria-label":"Next"},on:{click:function(e){return t.next()},keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:void(t.conf.rtl?t.next():t.previous())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:void(t.conf.rtl?t.previous():t.next())}]}},[t._t("arrow-"+(t.conf.rtl?"left":"right"),(function(){return[n("svg",{attrs:{viewBox:"0 0 9 18"}},[n("path",{attrs:{"stroke-linecap":"round",d:t.conf.rtl?"m8 1 l-7 8 7 8":"m1 1 l7 8 -7 8"}})])]}))],2)]):t._e(),t.conf.bullets&&t.canSlide&&!t.disable&&!t.conf.bulletsOutside?n("div",{ref:"bullets",staticClass:"vueperslides__bullets",attrs:{role:"tablist","aria-label":"Slideshow navigation"}},[t._t("bullets",(function(){return t._l(t.bulletIndexes,(function(e,r){return n("button",{key:r,staticClass:"vueperslides__bullet",class:{"vueperslides__bullet--active":t.slides.current===e},attrs:{type:"button",role:"tab","aria-label":"Slide "+(r+1)},on:{click:function(n){return t.goToSlide(e)},keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:void(t.conf.rtl?t.next():t.previous())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:void(t.conf.rtl?t.previous():t.next())}]}},[t._t("bullet",(function(){return[n("div",{staticClass:"default"},[n("span",[t._v(t._s(r+1))])])]}),{active:t.slides.current===e,slideIndex:e,index:r+1})],2)}))}),{currentSlide:t.slides.current,bulletIndexes:t.bulletIndexes,goToSlide:t.goToSlide,previous:t.previous,next:t.next})],2):t._e()]),t.conf.bullets&&t.canSlide&&!t.disable&&t.conf.bulletsOutside?n("div",{ref:"bullets",staticClass:"vueperslides__bullets vueperslides__bullets--outside",attrs:{role:"tablist","aria-label":"Slideshow navigation"}},[t._t("bullets",(function(){return t._l(t.bulletIndexes,(function(e,r){return n("button",{key:r,staticClass:"vueperslides__bullet",class:{"vueperslides__bullet--active":t.slides.current===e},attrs:{type:"button",role:"tab","aria-label":"Slide "+(r+1)},on:{click:function(n){return t.goToSlide(e)},keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:void(t.conf.rtl?t.next():t.previous())},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:void(t.conf.rtl?t.previous():t.next())}]}},[t._t("bullet",(function(){return[n("div",{staticClass:"default"},[n("span",[t._v(t._s(r+1))])])]}),{active:t.slides.current===e,slideIndex:e,index:r+1})],2)}))}),{currentSlide:t.slides.current,bulletIndexes:t.bulletIndexes,goToSlide:t.goToSlide,previous:t.previous,next:t.next})],2):t._e(),t.slidesCount&&"bottom"===t.conf.slideContentOutside?n("div",{staticClass:"vueperslide__content-wrapper vueperslide__content-wrapper--outside-bottom",class:t.conf.slideContentOutsideClass},[t.currentSlide.contentSlot?n("vnodes",{attrs:{vnodes:t.currentSlide.contentSlot}}):[t.currentSlide.title?n("div",{staticClass:"vueperslide__title",domProps:{innerHTML:t._s(t.currentSlide.title)}}):t._e(),t.currentSlide.content?n("div",{staticClass:"vueperslide__content",domProps:{innerHTML:t._s(t.currentSlide.content)}}):t._e()]],2):t._e()])}
2),[],!1,null,null,null).exports)},fb6a:function(t,e,n){"use strict";var r=n("23e7"),i=n("861d"),o=n("e8b5"),a=n("23cb"),s=n("50c4"),l=n("fc6a"),u=n("8418"),c=n("b622"),d=n("1dde")("slice"),h=c("species"),f=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var n,r,c,d=l(this),w=s(d.length),m=a(t,w),v=a(void 0===e?w:e,w);if(o(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[h])&&(n=void 0):n=void 0,n===Array||void 0===n))return f.call(d,m,v);for(r=new(void 0===n?Array:n)(p(v-m,0)),c=0;m<v;m++,c++)m in d&&u(r,c,d[m]);return r.length=c,r}})},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fce3:function(t,e,n){var r=n("d039");t.exports=r((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fe3f:function(t,e,n){},fea9:function(t,e,n){var r=n("da84");t.exports=r.Promise}})}}]);

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.