1(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["main"],{98255:function(e){function t(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}t.keys=function(){return[]},t.resolve=t,t.id=98255,e.exports=t},45087:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});const r=[{name:"Acorns",route:"/blogs/categories/acorns/all"},{name:"Cable",route:"/blogs/categories/cable/all"},{name:"Cell Phone Bills",route:"/blogs/categories/cell-phone-bills/all"},{name:"College Tuition",route:"/blogs/categories/college-tuition/all"},{name:"Company News",route:"/blogs/categories/company-news/all"},{name:"Credit",route:"/blogs/categories/credit/all"},{name:"Customer Service",route:"/blogs/categories/customer-service/all"},{name:"Debt",route:"/blogs/categories/debt/all"},{name:"Entertainment",route:"/blogs/categories/entertainment/all"},{name:"Financial Advice",route:"/blogs/categories/financial-advice/all"},{name:"Financial Security",route:"/blogs/categories/financial-security/all"},{name:"Home Budgeting & Finance",route:"/blogs/categories/home-budgeting-finance/all"},{name:"Insurance",route:"/blogs/categories/insurance/all"},{name:"Internet",route:"/blogs/categories/internet/all"},{name:"Internet Speed Test",route:"/blogs/categories/internet-speed-test/all"},{name:"Investing",route:"/blogs/categories/investing/all"},{name:"Lifestyle",route:"/blogs/categories/lifestyle/all"},{name:"Loans",route:"/blogs/categories/loans/all"},{name:"Mobile",route:"/blogs/categories/mobile/all"},{name:"Mobile Apps",route:"/blogs/categories/mobile-apps/all"},{name:"NerdWallet",route:"/blogs/categories/nerdwallet/all"},{name:"News",route:"/blogs/categories/news/all"},{name:"Politics",route:"/blogs/categories/politics/all"},{name:"Press",route:"/blogs/categories/press/all"},{name:"Real Estate",route:"/blogs/categories/real-estate/all"},{name:"Retirement",route:"/blogs/categories/retirement/all"},{name:"Savings Tips",route:"/blogs/categories/savings-tips/all"},{name:"Shark Tank",route:"/blogs/categories/shark-tank/all"},{name:"Sharks",route:"/blogs/categories/sharks/all"},{name:"Shopping",route:"/blogs/categories/shopping/all"},{name:"Social Media",route:"/blogs/categories/social-media/all"},{name:"Subscription Services",route:"/blogs/categories/subscription-services/all"},{name:"Taxes",route:"/blogs/categories/taxes/all"},{name:"Technology",route:"/blogs/categories/technology/all"},{name:"Television",route:"/blogs/categories/television/all"},{name:"Travel Tips",route:"/blogs/categories/travel-tips/all"},{name:"Uncategorized",route:"/blogs/categories/uncategorized/all"},{name:"Wedding",route:"/blogs/categories/wedding/all"},{name:"Wireless",route:"/blogs/categories/wireless/all"}]},97245:function(e,t,n){"use strict";n.d(t,{$M:function(){return p},Yu:function(){return g},L6:function(){return _},az:function(){return f},lw:function(){return b},yI:function(){return v},Sc:function(){return S},FM:function(){return y},bQ:function(){return E},Fb:function(){return w},dk:function(){return C},$U:function(){return P},e2:function(){return T},Hb:function(){return I},UA:function(){return O},p_:function(){return x},wL:function(){return A},I5:function(){return M},bW:function(){return R},Jw:function(){return N},T4:function(){return F},y$:function(){return B},bl:function(){return U},Jd:function(){return H},gZ:function(){return j},X3:function(){return q},kx:function(){return V},V0:function(){return G},rg:function(){return $},m1:function(){return z},z$:function(){return W},RZ:function(){return K},aQ:function(){return Y},_f:function(){return J}});var r,i,s,o,a,l,c,d,u=n(97268),h=n(27712),m=n.n(h),p=(()=>{return(e=p||(p={})).NEGOTIATION="Negotiation",e.CANCELLATION="Cancellation",e.SWITCH="Switch",p;var e})();const g={INSURANCE:(new u.N).deserialize({category_id:"cat_154222724936SpV7SCob89K2mTwu",category_name:"Insurance"}),HOME:(new u.N).deserialize({category_id:"cat_154222743147aBTxu73St9CYAIKD",category_name:"Home"}),AUTO:(new u.N).deserialize({category_id:"cat_154222744777ZwyEunSx8l0NZnpO",category_name:"Auto"}),AUTO_HOME:(new u.N).deserialize({category_id:"cat_15777222664180292SLlKCbJSIZn",category_name:"Auto+Home"})},_={LOGIN_ERRORS_INLINE:!0,PASSWORD_ENCRYPTION:"rsa",RATE_LIMIT_BANNER:!0,PAYMENT_INTENDS:!0,DIGITAL_WALLET:!1,STRIPE_PAYMENT_ELEMENT:("undefined"!=typeof document&&(["https://retail40.billshark.com"].includes(null===(r=null==document?void 0:document.location)||void 0===r?void 0:r.origin)||["https://dev.billshark.com"].includes(null===(i=null==document?void 0:document.location)||void 0===i?void 0:i.origin)||["https://dev-1.billshark.com"].includes(null===(s=null==document?void 0:document.location)||void 0===s?void 0:s.origin)||["http://localhost:4200"].includes(null===(o=null==document?void 0:document.location)||void 0===o?void 0:o.origin)),!1),CART_ITEMS_LIMIT:10,SAVED:0,CUSTOMERS:0,GOOGLE_RATING:4.9,GOOGLE_REVIEWS_COUNT:"8,638",TEL:"877-627-6111",EMAILS:{SUPPORT:"[email protected]",HELP:"[email protected]",HR:"[email protected]"},WINDOW_LOADED:!1,DEFAULT_GABY_INSURANCE_REFERRAL_URL:"https://gabipartners.go2cloud.org/aff_c?offer_id=1&aff_id=1192"},f={GENERAL:{title:"Saving Calculator",subtitle:"See how much you could save!"},NEGOTIATION:{title:"Estimate savings on your bills...",subtitle:"Estimate your savings on internet, wireless, cable, and more!"},CANCELLATION:{title:"Cancel my subscription",subtitle:"Estimate savings & sign up"}},b={MENU:!1,SIDEBAR:!1},v=["/negotiate-bills","/cancel-subscriptions","/referrals","/landing","/confirmation-page","/account","/login","/login?logout=true","/forgot-password-confirmation","/confirm-email","/create-password","/forgot-password","/resend-email","/resend-email-confirmation","/reset-password","/sign-in-without-password","/sign-in-without-password-confirmation","/secure/missing","/secure/payment/setting-card","/secure/confirmation-page","/secure/payment/split-it","/secure/payment/split-it-confirmation","/secure/payment/setting-card-confirmation","/negotiate-bills","/rewards","not-found"],S={HOME:"banner-home",FAQ:"banner-faq",REVIEWS:"banner-reviews",SETTING:"banner-setting",DASHBOARD:"banner-dashboard",BILLSHARK:"banner-billshark",REFERRAL:"banner-referral",LANDING:"banner-landing",NEW_HOME:"banner-new-home",ACCOUNT:"banner-account"},y={CAREERS:{video:"https://cdn.billshark.com/www/static/video/billshark_company_culture_new_360.mp4",poster:"https://cdn.billshark.com/www/static/image/billshark_company_culture_poster.webp",width:"602px",height:"338px",name:"/careers",subtitles:"./../../../../assets/subtitles/billshark_company_culture_new_360.vtt"},BRAND:{video:"https://cdn.billshark.com/www3.0/static/video/billshark_brand_video_720p_web.mp4",poster:"https://cdn.billshark.com/www3.0/static/video/billshark_brand_video_poster.webp",width:"602px",height:"338px",name:"default",subtitles:"./../../../../assets/subtitles/billshark_brand_video_720p_web.vtt"},NEGOTIATION:{video:"https://cdn.billshark.com/www3.0/static/video/billshark_negotiable_30s_720p_web.mp4",poster:"https://cdn.billshark.com/www3.0/static/video/billshark_negotiation_poster.webp",width:"602px",height:"338px",name:"lower-bills",subtitles:"./../../../../assets/subtitles/billshark_negotiable_30s_720p_web.vtt"},CANCELLATION:{video:"https://cdn.billshark.com/www3.0/static/video/billshark_cancel_30s_720p_web.mp4",poster:"https://cdn.billshark.com/www3.0/static/video/billshark_cancel_poster.webp",width:"602px",height:"338px",name:"cancel-subscriptions",subtitles:"./../../../../assets/subtitles/billshark_cancel_30s_720p_web.vtt"}},E={NEGOTIATION:{image:{css:"bs-images-ideas"},title:"Lower Your Bills",text:"Lock in the lowest rate on your Internet, Wireless and TV bills.",link:"lower-bills"},CANCELLATION:{image:{css:"bs-images-select-icon"},title:"Cancel Subscriptions",text:"Easily cancel subscriptions: Hulu, Spotify, Birchbox and 100+ others",link:"cancel-subscriptions"},INSURANCE:{image:{css:"bs-images-doc-seal"},title:"Insurance",text:"Shop dozens of home and auto insurance providers without the hassle of filling out online applications and receiving telemarketing calls.",link:"check-insurance-rates"}};var w=(()=>{return(e=w||(w={}))[e.ACCOUNT=0]="ACCOUNT",e[e.UPLOAD=1]="UPLOAD",e[e.CHECKOUT=2]="CHECKOUT",e[e.CONFIRMATION=3]="CONFIRMATION",w;var e})(),C=(()=>{return(e=C||(C={})).PORTRAIT="portrait",e.LANDSCAPE="landscape",C;var e})();const P=[{label:"Create your account",url:"/account",hideable:!0},{label:"Your request",url:"/upload"},{label:"Checkout",url:"/payment"},{label:"Confirmation",url:"/confirmation-page"}];var T=(()=>{return(e=T||(T={})).MENU="MENU",e.IMG_UPLOAD="IMG_UPLOAD",e.CREDENTIALS="CREDENTIALS",e.BILL_INFO="BILL_INFO",T;var e})();const I={NEGOTIATION:{START:T.BILL_INFO,MENU:{prev:null,curr:T.MENU,next:null},IMG_UPLOAD:{prev:T.MENU,curr:T.IMG_UPLOAD,next:null},CREDENTIALS:{prev:T.MENU,curr:T.CREDENTIALS,next:null},BILL_INFO:{prev:T.MENU,curr:T.BILL_INFO,next:null}},CANCELLATION:{START:T.BILL_INFO,BILL_INFO:{prev:null,curr:T.BILL_INFO,next:null}},SWITCH:{START:T.BILL_INFO,BILL_INFO:{prev:null,curr:T.BILL_INFO,next:null}}},O={MFA_QUESTION:"question",MFA_CAPTCHA:"captcha",MFA_OTP:"otp",MFA_CONFIRM:"confirm",MFA_RECAPTCHA:"reCaptcha"},x={STRIPE:{src:"https://js.stripe.com/v3/",code:"",loaded:!1,async:!1,id:"",data:{}},BIRD_EYE:{src:"https://birdeye.com/embed/v7/152217457889803/3/9876543213321835",code:"",loaded:!1,async:!0,id:"",data:{}},JAZZ:{src:"",code:"function resizeResumatorIframe(height,nojump){\n if(nojump== 0){window.scrollTo(0,0);}document.getElementById(\u201cresumator-job-frame\u201d).height = parseInt(height)+20;\n }",loaded:!1,async:!1,id:"",data:{}},SOM:{src:"https://speedof.me/api/api.js",code:"",loaded:!1,async:!1,id:"",data:{}},APPLE:{src:"https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",code:"",loaded:!1,async:!1,id:"",data:{}},GOOGLE:{src:"https://apis.google.com/js/platform.js",code:"",loaded:!1,async:!0,id:"",data:{}},GOOGLE2:{src:"accounts.google.com/gsi/client",code:"",loaded:!1,async:!0,defer:!0,id:"",data:{}},INDIVIDEO:{src:"https://d2ur3inljr7jwd.cloudfront.net/individeo/prod/v22/js/smartEmbed.js",code:"",loaded:!1,async:!1,id:"",data:{"data-bp-individeo-data":'{"total_estimate_savings":25,"current_bill_amount":115,"provider_name":"AT&T"}',"data-bp-attachment-code":"Uwb4xmcQ3mU6nMT5TXJA-644","data-bp-embed-smart-tracking":"true","data-bp-lang":"en-US"}},BOOTSTRAP_TOAST:{src:"assets/vendor/bootstrap/toast.js",code:"",loaded:!1,async:!0,id:"bootstrap-toast-runtime",data:{}},BOOTSTRAP_CAROUSEL:{src:"assets/vendor/bootstrap/carousel.js",code:"",loaded:!1,async:!0,id:"bootstrap-carousel-runtime",data:{}},BOOTSTRAP_TOOLTIP:{src:"assets/vendor/bootstrap/tooltip.js",code:"",loaded:!1,async:!0,id:"bootstrap-tooltip-runtime",data:{}},BOOTSTRAP_MODAL:{src:"assets/vendor/bootstrap/modal.js",code:"",loaded:!1,async:!0,id:"bootstrap-modal-runtime",data:{}},BOOTSTRAP_UTIL:{src:"assets/vendor/bootstrap/util.js",code:"",loaded:!1,async:!0,id:"bootstrap-util-runtime",data:{}},POPPER:{src:"assets/vendor/bootstrap/popper.min.js",code:"",loaded:!1,async:!0,id:"bootstrap-p
1opper-runtime",data:{}},JQUERY:{src:"assets/vendor/bootstrap/jquery.min.js",code:"",loaded:!1,async:!0,id:"jquery-runtime",data:{}},BOOTSTRAP_COLLAPSE:{src:"assets/vendor/bootstrap/collapse.js",code:"",loaded:!1,async:!0,id:"bootstrap-collapse-runtime",data:{}},BOOTSTRAP_DROPDOWN:{src:"assets/vendor/bootstrap/dropdown.js",code:"",loaded:!1,async:!0,id:"bootstrap-dropdown-runtime",data:{}},GROWSURF:{src:"",code:"window.windowgrsfConfig = {\n email: \"[email protected]\",\n hash: \"HASH_VALUE\"\n };\n (function(g,r,s,f){g.grsfSettings={campaignId:\"9888xm\",version:\"2.0.0\"};\n s=r.getElementsByTagName(\"head\")[0];f=r.createElement(\"script\");f.async=1;\n f.src=\"https://app.growsurf.com/growsurf.js\"+\"?v=\"+g.grsfSettings.version;\n f.setAttribute(\"grsf-campaign\", g.grsfSettings.campaignId);\n !g.grsfInit?s.appendChild(f):\"\";})\n (window,document);\n setTimeout(()=>{const grsf_btn=document.querySelector('#grsf-widget');if(grsf_btn){\n grsf_btn.addEventListener('click',()=>{document.querySelector('.grsf-window-header img')\n .setAttribute('alt','Billshark image for referral program');document.querySelectorAll\n ('#grsf-window .grsf-signup-fields label').forEach(l=>l.setAttribute('for','_'+l\n .getAttribute('for')));document.querySelectorAll('#grsf-window .grsf-signup-fields input')\n .forEach(i=>i.setAttribute('id','_'+i.getAttribute('id')));});document.querySelector\n ('.grsf-window-header img').setAttribute('alt','Billshark image for referral program');\n document.querySelectorAll('#grsf-window .grsf-signup-fields label').forEach(l=>l.\n setAttribute('for','_'+l.getAttribute('for')));document.querySelectorAll\n ('#grsf-window .grsf-signup-fields input').forEach(i=>i.setAttribute('id',\n '_'+i.getAttribute('id')));}},1000);",loaded:!1,async:!0,id:"auto-generate",data:{}},GROWSURF2:{src:"https://growsurf.com/growsurf.js?v=2.0.0",code:"",loaded:!1,async:!0,id:"auto-generate",data:{"grsf-campaign":"30qhau"}}},A="845836923809-dsa8b1hmnicdulqoq48dbhguspsmm3gb.apps.googleusercontent.com";var M=(()=>{return(e=M||(M={})).GET="GET",e.POST="POST",e.PATCH="PATCH",e.DELETE="DELETE",e.PUT="PUT",M;var e})(),R=(()=>{return(e=R||(R={})).NONE="NONE",e.BEHIND_THE_SCENE="BEHIND_THE_SCENE",e.FRONT_FACING="FRONT_FACING",R;var e})();const N={TRANSACTION_ID:"{transaction_id}",TICKET_ID:"{ticket_id}",BILL_ID:"{bill_id}",BILL_ID_VALUE:"",CREDENTIAL_TRANSACTION_ID:"{credential_transaction_id}",PROVIDER_NAME:"{provider_name}",CARD_ID:"{payment_id}",SLUG_NAME:"{slug_name}",SLUG_NAME_VALUE:"{slug_name}",LANDING_SLUG_NAME:"{page_path}",HASH:"{hash}",PAYMENT_ID:"{payment_id}",BILLER_ID:"{biller_id}",JOB_ID:"{job_id}"},k="undefined"!=typeof document&&(null===(a=null==document?void 0:document.location)||void 0===a?void 0:a.origin)||"",L=/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?$/.test(k),D="undefined"!=typeof document&&(["https://retail40.billshark.com"].includes(null===(l=null==document?void 0:document.location)||void 0===l?void 0:l.origin)||["https://dev-1.billshark.com"].includes(null===(c=null==document?void 0:document.location)||void 0===c?void 0:c.origin)||L)?{BASE_URL_V3:"https://gateway.billshark.com/dev-retail-v3",KEY_ENV:"dev",STRIPE_PUBLISHED_KEY:"pk_test_7KEWw6w1ta2h4UmTFMqwkb5L"}:"undefined"!=typeof document&&["https://staging.billshark.com"].includes(null===(d=null==document?void 0:document.location)||void 0===d?void 0:d.origin)?{BASE_URL_V3:"https://gateway-ohio.billshark.com/retail-v3",KEY_ENV:"prod",STRIPE_PUBLISHED_KEY:"pk_live_esfkjkKCO1s3oAPGQ0giZuU9"}:{BASE_URL_V3:"https://gateway.billshark.com/retail-v3",KEY_ENV:"prod",STRIPE_PUBLISHED_KEY:"pk_live_esfkjkKCO1s3oAPGQ0giZuU9"},F=[167,59,17,208,94,130],B=[100,249,44,7,155,64],U={BASE_URL_V3:D.BASE_URL_V3,KEY_ENV:D.KEY_ENV,STRIPE_PUBLISHED_KEY:D.STRIPE_PUBLISHED_KEY,SEGMENT_KEY:"7viYuCc6OwfPFUGdxwxn9f58hnDtnr2X",PROCESSING_ATTEMPTS_TIME:4e3,API_ENDPOINTS:{CSRF_TOKEN:"/csrf",RECAPTCHA:"/recaptcha",PROVIDERS:"/billers",PROBABILITY:"/billers/"+N.BILLER_ID+"/probabilities",VERIFY_CREDENTIALS:"/verify-credentials",CHECK_VERIFY_CREDENTIALS:"/verify-credentials/"+N.CREDENTIAL_TRANSACTION_ID,SUBMIT_MFA:"/verify-credentias/"+N.CREDENTIAL_TRANSACTION_ID+"/mfa",CUSTOMER:"/customers",CUSTOMER_LEAD:"/customers/leads",BS_LOGIN:"/customers/login",BS_LOGOUT:"/customers/"+N.TRANSACTION_ID+"/logout",SOCIAL_LOGIN:"/customers/login/social",VALIDATE_EMAIL:"/email-validation",RESEND_MAIL:"/customers/email/resend",CONFIRM_EMAIL:"/customers/email/confirm",REQUEST_PSW:"/customers/password/forgot",RESET_PSW:"/customers/password/reset",CHANGE_PSW:"/customers/"+N.TRANSACTION_ID+"/password",CUSTOMER_DATA:"/customers/"+N.TRANSACTION_ID,ACTIVITY_FEED:"/customers/"+N.TRANSACTION_ID+"/activities",MARKETPLACE:"/customers/"+N.TRANSACTION_ID+"/marketplace",ORDER_TIMELINE:"/customers/"+N.TRANSACTION_ID+"/service-requests/"+N.BILL_ID+"/timeline",SUBMIT_BILL:"/customers/"+N.TRANSACTION_ID+"/service-requests",SUBMIT_BILL_IMAGE:"/customers/"+N.TRANSACTION_ID+"/service-requests/upload-url",REQUEST_GABY_INSURANCE_REFERRAL_URL:"/partner/insurance/referral_url",SUBMIT_MI:"/customers/"+N.TRANSACTION_ID+"/service-requests/"+N.BILL_ID+"/missing",UPDATE_BILL:"/customers/"+N.TRANSACTION_ID+"/service-requests/"+N.BILL_ID,PAYMENT:"/customers/"+N.TRANSACTION_ID+"/payment-methods",CREDIT_CARD_PAYMENT:"/secure/payments",PAYMENT_INTENDS:"/customers/payment-intent",SECURE_PAYMENT_INTENDS:"/secure/payments/intent",CUSTOMER_PAYMENT_INTENDS:"/customers/"+N.TRANSACTION_ID+"/payments/intent",MISSING:"/secure/missing",PAYMENT_REQUIRED:"/customers/payment-required",REMOVE_PAYMENT:"/customers/"+N.TRANSACTION_ID+"/payment-methods/"+N.PAYMENT_ID,SECURE_CREDIT_CARD_PAYMENT:"/secure/payments/"+N.PAYMENT_ID,TICKETS:"/customers/"+N.TRANSACTION_ID+"/tickets",TICKETS_NOTES:"/customers/"+N.TRANSACTION_ID+"/tickets/"+N.TICKET_ID+"/notes",REFER_FRIEND:"/customers/"+N.TRANSACTION_ID+"/referral",REDEEM_GIFT_CARD:"/customers/"+N.TRANSACTION_ID+"/referrals/redeem",REDEEM_REWARDS:"/secure/redeem",REDEEMED_GIFT_CARD:"/secure/redeem",FAQ:"/support/faq",BIZ_TICKET:"/business",MEDIAPRESS_TICKET:"/media/inquiries",PARTNER_TICKET:"/partner/lead",REVIEW_US:"/support/review-u
1s",REVIEWS:"/support/reviews",CAREERS:"/careers",CAREERS_APPLY:"/careers/"+N.JOB_ID,CONTACT_SUPPORT:"/support/contact",NOTIFICATIONS:"/browser/notification",GLOBALS:"/global",BLOGS:"/blogs",BLOG:"/blogs/"+N.SLUG_NAME,LANDING_PAGE:"/page/"+N.LANDING_SLUG_NAME,UNSUBSCRIBE:"/customers/email/unsubscribe",SPLIT:"/secure/split-it",LUCKY_ORANGE:"/customers/sessions"},API_RESULT:{UNKNOWN:0,SUCCESS:1,FAILURE:2,PARTIAL_SUCCESS:3,NODATA:4,PROCESSING:5},API_RESULT_ERROR_CODE:{ERROR_ALL_READY_SET:"invalid_request",ERROR_CODE_SERVICE_FAILED:"service_failed",ERROR_CODE_INVALID_EMAIL:"invalid_email",ERROR_CODE_UNAUTHORIZED:"not_authorized",ERROR_CODE_CUSTOMER_EXIST:"record_exists",ERROR_CODE_INVALID_CREDENTIALS:"invalid_credentials",ERROR_CODE_INVALID_TOKEN:"invalid_temporary_token",ERROR_CODE_EMAIL_NOT_VERIFIED:"email_not_verified",ERROR_CODE_PAYMENT_METHOD_REQUIRED:"no_payment_on_record",ERROR_CODE_ACCESS_TEMPORARILY_LOCKED:"access_temporarily_locked",ERROR_CODE_TOO_MANY_REQUESTS:"too_many_requests",ERROR_CODE_DUPLICATE_REQUEST:"duplicate_request"}},H={phone_number:"bill_service_number",customer_ssn_last4:"customer_ssn_last4",customer_dob:"customer_dob",passcode:"provider_passcode",account_number:"provider_account_number","biller_account.username":"provider_account_user_id","address.street":"bill_service_address_street","address.street_2":"bill_service_address_street_2","address.city":"bill_service_address_city","address.state":"bill_service_address_state","address.zip_code":"bill_service_address_zip",payment_on_file_last4:"payment_on_file_last4"},j={bill_service_number:"phone_number",customer_ssn_last4:"customer_ssn_last4",customer_dob:"customer_dob",provider_passcode:"passcode",provider_account_number:"account_number",provider_account_user_id:"biller_account.username",bill_service_address_street:"address.street",bill_service_address_street_2:"address.street_2",bill_service_address_city:"address.city",bill_service_address_state:"address.state",bill_service_address_zip:"address.zip_code",payment_on_file_last4:"payment_on_file_last4"},q={MESSAGE_TIMEOUT:1e4,ERR_CONNECTION_ERROR:"We're sorry, we weren't able to complete your request. Please check your connection and try again.",ERR_TIMEOUT:"Sorry, the request has taken longer than expected. Please check the connection and try again.",ERR_REQUEST_ERROR:`We're sorry, we weren't able to complete your request. Please try again;\n if the problem persists, please contact us at: ${_.EMAILS.HELP}`,ERR_ACTION_DENIED:"Your session has expired. Please login again.",ERR_TOKEN_EXPIRED:"Your session has expired. Please login again.",ERR_INCOMPLETE_FORM:"Please complete all required fields.",ERR_SIGN_UP:`Something went wrong, please check the required fields and click "Save Now" again; if the problem persists,\n please contact us at: ${_.EMAILS.HELP}`,ERR_SIGN_UP_ACCOUNT:`Something went wrong, please click "Next" again; if the problem persists,\n please contact us at: ${_.EMAILS.HELP}
1`,ERR_LOGIN:"Something went wrong.",ERR_BS_LOGIN:`Something went wrong logging in. Please try again; if the problem persists, contact us at: ${_.EMAILS.HELP}`,ERR_SOCIAL_LOGIN:`Something went wrong when trying to log in using a social login. Please try again.\n If the problem persists, please contact us at: ${_.EMAILS.HELP}`,ERR_EMAIL_NOT_FOUND:"The user or password provided cannot be found in our system.",ERR_INVALID_CREDENTIALS:"The information you provided does not match in our system.",ERR_EMAIL_NOT_VERIFIED:"Something went wrong, please check your email address to get more information.",ERR_INVALID_TEMPORARY_TOKEN:"The link expired or was already used.",ERR_UNAUTHORIZED:"Unauthorized: Access denied.",ERR_SESSION_EXPIRED:"Your session has expired. Please login again.",ERR_INVALID_CARD:"Invalid card",ERR_SH_CARD:"Something went wrong adding your credit card. Please wait a minute and try again.",ERR_ONLY_10_IMAGES:"Sorry, only 10 files can be uploaded per bill!",ERR_TEXT:"Characters no allowed!",ERR_PAYPAL:`Something went wrong when trying to set a paypal pay latter plan. Please try again.\n If the problem persists, please contact us at: ${_.EMAILS.HELP}`,ERR_LOGIN_ACCESS_TEMPORARILY_LOCKED:"Access temporarily locked. Please try again later.",ERR_TOO_MANY_REQUESTS:"Too many requests. Please try again later.",SUC_RESET_PSW:"Success! You should be able to login with your new password.",SUC_MI_SUBMITTED:"Success! Your information has been submitted.",SUC_CANCEL_BILL:"Your request to cancel was successful.",SUC_OPT_OUT:"Your request to opt out of future negotiations was successful.",SUC_CARD_ADD:"Your new card has been added.",SUC_CHG_PSW:"Your password has been changed.",SUC_RMV_CARD:"Your card has been removed successfully",SUC_CHG_CARD:"Your card has been updated successfully",SUC_REFER_FRIEND:"Success! The invitation has been submitted successfully.",SUC_UNSUB_OPT_OUT:"OPT-OUT Preferences Updated!!!",NG_SELECT_LOADING:"Loading...",NG_SELECT_ITEMS_NOTFOUND:"No items found",NG_SELECT_PENDING_SERVICE_TYPE:"Please select your service type above",NG_SELECT_PENDING_INSURANCE_TYPE:"Please select your Insurance type above",BS_COMPONENT_LOADING:"Loading something amazing here\u2026",MESSAGE_MI:"Everything is good so far.",MESSAGE_BILL_EMPTY:"At this moment you don't have any bill",MESSAGE_ORDER_TIMELINE_EMPTY:"We\u2019re processing your bill. More details will appear here once we start working on it.",MESSAGE_TICKET_EMPTY:"At this moment you don't have any ticket",MESSAGE_REQUEST_PSW:"Please check your email for instructions on resetting your password.",BS_NEW_TERMS:'I\u2019ve read and accept the\n <a class="btn-link" target="_self" href="/terms" style="color:#004181!important">TOS</a> &\n <a class="btn-link" target="_self" href="/privacy" style="color:#004181!important">Privacy Policy</a>\n and understand that I am entering into a binding agreement for these services, and represent that I have legal capacity and authority to do so.\n I consent to my payment method being charged for the services received.\n I understand Billshark will place a $1.00 temporary authorization hold on my payment method which should be released by the bank within 3-7 business days.<sup style="font-size:18px!important;color:#ef4444!important">*</sup>',BS_NEW_TERMS_WITHOUT_CC:'I\u2019ve read and accept the\n <a class="btn-link" target="_self" href="/terms">TOS</a> &\n <a class="btn-link" target="_self" href="/privacy">Privacy Policy</a>\n and understand that I am entering into a binding agreement for these services, and represent that I have legal capacity and authority to do so.\n I consent to my payment method being charged for the services received.',BS_TERMS:'Billshark will not sell my data to any third party. I agree to the\n <a class="btn-link" target="_self" href="/privacy">Privacy Policy</a> &\n <a class="btn-link" target="_self" href="/terms">TOS</a>.',INSURANCE_INFO:"Our Partners at Gabi will shop their nation-wide network to give you options with comparable coverage at potentially better rates. There are NO fees to us this rate check and quote service.",INSURANCE_TERMS:'By checking this box and clicking "Next" you are providing express written consent authorizing us to share this information with our non-affiliated partner Gabi Insurance.',INSURANCE_TERMS_BS_FEE:"<b>*Billshark fees are not applicable to these services, meaning if Answer Financial\xae Inc. is able to find\n you savings on your insurance coverage, you are not subject to pay Billshark any percentage of the savings realized.</b>",INSURANCE_TERMS_APPENDIX:'Answer Financial\xae Inc. offers insurance products and services through its insurance agency licensed affiliate\n Insurance Answer Center, LLC (California License # 0B99714); in New York as Insurance Answer Center, LLC, an Insurance Agency; in\n Michigan as Insurance Answer Center, LLC, an Insurance Agency; and in Missouri as Answer Financial. Answer Financial affiliated agencies\n are not insurance companies, but act as agents for certain insurance companies. Answer Financial\u2019s affiliate Right Answer Insurance\n Agency, LLC (CA License #0H52358) operates as an insurance broker in California and an agent in all other states. Answer Financial\n is paid commissions and may receive other performance-based compensation for its services. The compensation received by Answer Financial\n and its employees may vary by insurance company. Not all insurance products and services are available in all states. Rates are subject\n to change. <a class="btn-link" target="_blank" title="opens in a new window" rel="noopener noreferrer" href="https://www.answerfinancial.com/General/Privacy?a=retail">\n Click here</a> to view Answer Financial\u2019s Privacy Policy.'},V={401:{message:q.ERR_EMAIL_NOT_FOUND,treatment:"alert",scope:"login"},403:{message:q.ERR_UNAUTHORIZED,treatment:"alert",scope:"login"},423:{message:q.ERR_LOGIN_ACCESS_TEMPORARILY_LOCKED,treatment:"alert",scope:"global"},429:{message:q.ERR_TOO_MANY_REQUESTS,treatment:"notice",scope:"global"}},G="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu6P78faUSxCBmB5RXIqjHUdDJncS93a8L5Xl7N9VAM4RYfLMnxG0h38WTRhmVaRC+kZnZjPhefETgiexabaIn96ALULAaOm8uI9ZfB0CkqDtzO9wEkER2RVTKbnoPocqACHTy090rgv3PLWqRITzjsJKSAUr0bhHU9cHhl+eUmJWF8SHMA5PBltAFim/8mQrvXJVC/USE0v85TzXItAQuxehqk2mHr0UHijFiX4sq7OkPO45+bo86lxEVSmy2cB4/JY4XkSQGOzq3gRF8aQQsia8BLRa8cAKqAAnISW6QuIu8y6iambFxETqWlUO8JWKhqdzTUGfnAwzAgZ/L69EAQIDAQAB",$={BS_FEE_NEGOTIATION:"Billshark charges a one-time fee of 40% of any savings. We guarantee savings, or there are no fees. It\u2019s a win-win!",BS_FEE_CANCELLATION:"Each cancelled subscription costs $5. Billshark\u2019s team of experts will cancel\n subscriptions you no longer want or need. We may even get refunds for unused services.",BS_FEE_SWITCH:"Pending quote. There is no fee for this service.",BS_FEE_SWITCH_PENDING_QUOTE:"There is no cost to check your rate and receive a quote. Our partners at Answer Financial will shop their\n nation-wide network to give you options with comparable coverage at potentially better rates. AND whether you decide to\n switch now or not, their free Rate Tracker program will monitor market rates and notify you of better options around\n your policy renew
1al month. There are NO fees associated with this service.",TOTAL_ESTIMATED_SAVINGS:"Actual savings may be higher or lower than\n the estimated savings based on variables specific to your bill.\n This is normal. You will be billed based on actual savings.",PAYMENT_INFORMATION:"Billshark charges a one-time fee of just 40% of savings negotiated, capped at 2 years. No savings, no fee. No risk, all reward!",PAYMENT_PLANS_AVAILABLE:"Pending",provider_passcode:"Your PIN is used to access your provider account to negotiate on your behalf.",customer_dob:"Date of Birth is used to identify potential savings.",customer_ssn_last4:"The last 4 digits of your Social Security Number is used to access your provider account to negotiate on your behalf.",payment_on_file_last4:"The last 4 digits of the credit card you have on file for this account is used to access your account to\n negotiate on your behalf.",REFERRAL_STATUS:"<div class='p-2 mt-2 text-left'>\n <p>\n <strong>Sent</strong>\n - means your invitiation has been sent. Invites sent through social media links won't appear until your friend signs up.\n </p><p>\n <strong>Signed Up</strong>\n - means your friend has enrolled and BILLSHARK is verifying the enrollment.\n </p><p>\n <strong>Completed</strong>\n - means we have verified the enrollment and your referral is eligible for a $10 Amazon Reward.\n </p><p>\n <strong>Redeemed</strong>\n - means this referral has been redeemed by you for a $10 Amazon Gift Card.\n </p><p>\n <strong>Unsuccessful</strong>\n - means your friend did not send all of the informaiton or a bill we don't negotiate.\n </p></div>"},z={NONE:{inputmode:"text",mask:!1},AMOUNT:{inputmode:"decimal",mask:m()({prefix:"$ ",suffix:"",allowDecimal:!0,decimalLimit:2,integerLimit:4}),guide:!1,unmask:{searchValue:/[^\d.]/g,replaceValue:"",checkValue:e=>!e||e&&"."!==e.toString().substr(-1),parse:e=>isNaN(parseFloat(e))?null:parseFloat(e)},keyup:(e,t)=>{const n=e.which?e.which:e.keyCode,r=null==t?void 0:t.value.toString(),i={selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd};7===r.length&&!r.includes(".")&&190!==n&&"."!==e.key&&isFinite(e.key)&&(e.preventDefault(),t.value=r+".00",Object.assign(t,i))}},phone:{inputmode:"tel",mask:["(",/[1-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/],unmask:{searchValue:/[^\d.]/g,replaceValue:""}},last4:{inputmode:"numeric",mask:[/\d/,/\d/,/\d/,/\d/],focus:(e,t)=>{(null==t?void 0:t.value)&&(t.value=t.value.replace(/[^\d.]/g,""))}},zip:{inputmode:"numeric",mask:[/[A-Z0-9]/i,/[A-Z0-9]/i,/[A-Z0-9]/i,/[A-Z0-9\-\ ]/i,/[A-Z0-9]/i,/[A-Z0-9\-\ ]/i,/[A-Z0-9]/i,/[A-Z0-9]/i,/[A-Z0-9]/i,/[A-Z0-9]/i],guide:!1,pipe:function(e){return e.toUpperCase()}},date:{inputmode:"numeric",mask:[/\d/,/\d/,"/",/\d/,/\d/,"/",/\d/,/\d/,/\d/,/\d/]},dob:{inputmode:"numeric",mask:[/\d/,/\d/,"/",/\d/,/\d/,"/",/\d/,/\d/,/\d/,/\d/]},password:{inputmode:"text",mask:!1,validation:[{key:"lowercase",regex:/(?=.*[a-z])/,msg:"1 lowercase"},{key:"uppercase",regex:/(?=.*[A-Z])/,msg:"1 uppercase"},{key:"numeric",regex:/(?=.*[0-9])/,msg:"1 number"},{key:"length",regex:/(?=.{8,})/,msg:"8 characters"}]}},W={init_paginator:{total_pages:56,total_blogs:498,current_page:1},next:{limit:9,page_id:"1",category:""}},K={MANDATORY_FIELD_MESSAGE:"This is a mandatory field",MANDATORY_FIELD:"You need to complete the form fields"},Y={_common:{required:"This is a mandatory field",max:"This field cannot be greater than $_max",minLength:"This field must be at least bs_minLength characters long",maxLength:"This field cannot be more than bs_maxLength characters long",maxlength:"This field cannot be more than $_requiredLength characters long",email:"Invalid email",password_do_not_match:"The password and confirmation password do not match.",password:"Password does not meet the security requirements",phone:"Invalid phone number",date:"Invalid date",dob:"Invalid date of birth",zip:"Invalid zip code",text:"Invalid string",promo_code:"Invalid promo code",pin:"Invalid PIN",special:"Invalid string",ssn4:"Enter the last 4 digits of the SSN",bill_info:"Please complete the missing information in the bill",bill_image:"Please upload your bill",bill_policy:"Please upload your policy",address:"The address is not a valid address",address_city:"Please select an address from the list to confirm",address_state:"Please select an address from the list to confirm",payment_method:"Invalid credit card information",verify_credentials:N.PROVIDER_NAME+" account did not connect and bills will not retrieved"},customer_email:{pattern:"Enter a valid email",customer_exists:"We could not complete your registration. Please try again or use an alternative email address.",check_email:"Please check your email to continue."},terms_and_condition:{required:"Please check the box above to indicate that you have read and agree to the terms and conditions agreement"}},J={contact_name:{copy_from_contact:["customer_first_name","customer_last_name"]},contact_email:{copy_from_contact:"customer_email"},provider_passcode:{placeholder:"Provider PIN",type:"pin",class:["w-100"],ga:"ga_tooltip_provider_pin"},service_provider:{placeholder:"Service Provider",type:"text"},biller_if_other:{placeholder:"Service Provider (if other)",type:"text"},provider_account_number:{placeholder:"Account number",type:"text",ga:"ga_input_account_number"},customer_dob:{placeholder:"Date of birth",type:"dob",ga:"ga_input_dob"},bill_service_number:{placeholder:"Phone # on account",type:"phone",ga:"ga_input_service_phone"},customer_ssn_last4:{placeholder:"Last 4 of SSN",type:"last4",ga:"ga_input_ssn4"},payment_on_file_last4:{placeholder:"Last 4 of the CC on file",type:"last4"},bill_service_address_street:{placeholder:"Service address",type:"address",autocomplete:"off"},bill_service_address_street_2:{placeholder:"Apt / Suite / Other",type:"text",autocomplete:"off"},bill_service_address_city:{placeholder:"Service address city",type:"text",autocomplete:"off"},bill_service_address_state:{placeholder:"Service address state",type:"text",autocomplete:"off"},bill_service_address_zip:{placeholder:"Service address zip",type:"zip",autocomplete:"off"},provider_account_user_id:{placeholder:"User ID",type:"text"},provider_account_user_email:{placeholder:"Email on Account",type:"email",autocomplete:!0},account_holder_first_name:{placeholder:"Account holder first name",type:"text"},account_holder_last_name:{placeholder:"Account holder last name",type:"text"},secondary_email:{placeholder:"Contact Email",type:"email"},secondary_phone:{placeholder:"Contact Phone",type:"phone",autocomplete:!0},best_time_to_contact:{placeholder:"Best time to reach you with questions?",comments:"If we need to contact you, we'll keep it quick - just want to be sure we get you the best rates.",disableable:"No preferences",type:"times_picker",fields:[{name:"days",placeholder:"Any specific day(s)?",type:"checkbox",options:[{label:"S",value:"Sunday"},{label:"M",value:"Monday"},{label:"T",value:"Tuesday"},{label:"W",value:"Wednesday"},{label:"T",value:"Thursday"},{label:"F",value:"Friday"},{label:"S",value:"Saturday"}]},{name:"time",placeholder:"AM/PM?",type:"checkbox",options:[{label:"AM",value:"AM"},{label:"PM",value:"PM"}]},{name:"details",placeholder:"Any special instructions?",type:"text",ga:"ga_input_special_instructions",autocomplete:!1}]},accident_in_past_3_years:{placeholder:"Have you had any accidents or violations in past 3 years?",type:"radio",options:[{label:"Yes",value:!0},{label:"No",value:!1}],invalid_values:{true:"Unfortunately, you do not qualify for an insurance quote at this time."}},willing_to_change_insurance_carriers:{placeholder:"With the right savings, are you willing to change Insurance carriers?",type:"radio",options:[{label:"Yes",value:!0},{label:"No",value:!1}],invalid_values:{false:"Unfortunately, Insurance rates are not negotiable. Switching carriers is required for this service."}},own_or_rent_a_home:{placeholder:"Do you own or rent a home?",type:"radio",options:[{label:"Rent",value:"Rent"},{label:"Own",value:"Own"}]},special_instructions:{placeholder:"Any special instructions?",type:"text",ga:"ga_input_special_instructions",autocomplete:!1}}},53904:function(e,t,n){"use strict";n.d(t,{I:function(){return l}});var r=n(12057),i=n(45787),s=n(16156),o=n(63325),a=n(74788);let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=a.\u0275\u0275defineInjector({providers:[i.F,r.H9,r.JJ],imports:[[r.ez,s.C,o.x],s.C,o.x]}),e})()},36323:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92599),i=n(34689),s=n(74788);let o=(()=>{class e{constructor(e,t,n){this._router=e,this._el=t,this._renderer=n,this._sub=null}ngOnInit(){this._update(),this._sub=this._router.events.pipe((0,i.h)(e=>e instanceof r.m2)).subscribe(()=>this._update())}ngAfterViewInit(){this._update()}
1_update(){const e=this._normalize(this._el.nativeElement.getAttribute("href")||""),t=this._normalize(this._router.url);e&&e===t?this._renderer.setAttribute(this._el.nativeElement,"aria-current","page"):this._renderer.removeAttribute(this._el.nativeElement,"aria-current")}_normalize(e){let t=e.split("?")[0].split("#")[0];return t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t}ngOnDestroy(){var e;null===(e=this._sub)||void 0===e||e.unsubscribe(),this._sub=null}}return e.\u0275fac=function(t){return new(t||e)(s.\u0275\u0275directiveInject(r.F0),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.Renderer2))},e.\u0275dir=s.\u0275\u0275defineDirective({type:e,selectors:[["a","routerLink","","bsAriaCurrent",""]]}),e})()},93349:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var r=n(74788),i=n(52726);let s=(()=>{class e{constructor(e,t,n,i){this._el=e,this._cdr=t,this._ngZone=n,this._utilService=i,this.opened=!1,this.showBsModal=new r.EventEmitter,this.shownBsModal=new r.EventEmitter,this.hideBsModal=new r.EventEmitter,this.hiddenBsModal=new r.EventEmitter,this._el.nativeElement.style.zIndex="10000",this._utilService.whenVendorReady().then(()=>this._attachHandlers())}_attachHandlers(){if("undefined"==typeof $)return;const e=this._el.nativeElement;$(e).on("show.bs.modal",()=>{this.opened=!0,this.showBsModal.emit(),this.detectChanges()}),$(e).on("shown.bs.modal",()=>{this.shownBsModal.emit()}),$(e).on("hide.bs.modal",()=>{this.hideBsModal.emit()}),$(e).on("hidden.bs.modal",t=>{if(t.target!==e)return $(".modal.show")&&$("body").addClass("modal-open"),!1;this.opened=!1,this.hiddenBsModal.emit(),this.detectChanges()})}detectChanges(){this._cdr&&!this._cdr.destroyed&&this._ngZone.run(()=>{this._cdr.detectChanges()})}_hasModalPlugin(){return"undefined"!=typeof $&&!!$.fn&&"function"==typeof $.fn.modal}_invoke(e){this._hasModalPlugin()?$(this._el.nativeElement).modal(e):this._utilService.ensureVendor().then(()=>{this._hasModalPlugin()&&this._ngZone.run(()=>$(this._el.nativeElement).modal(e))})}show(){this._invoke("show")}hide(){this._invoke("hide")}}return e.\u0275fac=function(t){return new(t||e)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(i.fK))},e.\u0275dir=r.\u0275\u0275defineDirective({type:e,selectors:[["","bsModal",""]],outputs:{showBsModal:"showBsModal",shownBsModal:"shownBsModal",hideBsModal:"hideBsModal",hiddenBsModal:"hiddenBsModal"},exportAs:["bsModal"]}),e})()},61869:function(e,t,n){"use strict";n.d(t,{j:function(){return s}});var r=n(74788),i=n(52726);let s=(()=>{class e{constructor(e,t,n){this._shared=e,this._el=t,this.renderer2=n,this._forbiddenQueryParams=["page","redirectUrl","logout"]}ngAfterViewInit(){let e=this._el.nativeElement.getAttribute("href");const t=this._shared._seoService.queryParams,n=Object.keys(t).filter(e=>!this._forbiddenQueryParams.includes(e));n.length&&null!==e&&(-1===e.indexOf("?")&&(e+="?"),e+=n.map(e=>e+"="+t[e]).join("&")),this.renderer2.setAttribute(this._el.nativeElement,"href",e)}toggleSidebar(e){this._shared._utilService.dismissAllSidebars()}}return e.\u0275fac=function(t){return new(t||e)(r.\u0275\u0275directiveInject(i.F1),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.Renderer2))},e.\u0275dir=r.\u0275\u0275defineDirective({type:e,selectors:[["","routerLink",""]],hostBindings:function(e,t){1&e&&r.\u0275\u0275listener("click",function(e){return t.toggleSidebar(e)})}}),e})()},90670:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(12057),i=n(97245),s=n(74788);let o=(()=>{class e{constructor(e,t,n){this._el=e,this._renderer=t,this._document=n,this.dismissAllSidebars=!1,this._renderer.setStyle(this._el.nativeElement,"cursor","pointer")}toggleSidebar(e){this.dismissAllSidebars?(Object.keys(i.lw).forEach(e=>i.lw[e]=!1),this._document.querySelector("body").style.overflow=""):i.lw.hasOwnProperty(this.appSidebarToggle)&&(Object.keys(i.lw).filter(e=>e!==this.appSidebarToggle).forEach(e=>i.lw[e]=!1),i.lw[this.appSidebarToggle]=!i.lw[this.appSidebarToggle])}}return e.\u0275fac=function(t){return new(t||e)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.Ren
1derer2),s.\u0275\u0275directiveInject(r.K0))},e.\u0275dir=s.\u0275\u0275defineDirective({type:e,selectors:[["","appSidebarToggle",""]],hostBindings:function(e,t){1&e&&s.\u0275\u0275listener("click",function(e){return t.toggleSidebar(e)})},inputs:{appSidebarToggle:"appSidebarToggle",dismissAllSidebars:"dismissAllSidebars"}}),e})()},56440:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(74788);let i=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=r.\u0275\u0275defineInjector({}),e})()},16156:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(74788);let i=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=r.\u0275\u0275defineInjector({}),e})();var s=n(56440);let o=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=r.\u0275\u0275defineInjector({imports:[[s.$,i],s.$,i]}),e})()},63325:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(74788);let i=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=r.\u0275\u0275defineInjector({}),e})()},95825:function(e,t,n){"use strict";n.d(t,{N:function(){return p}});var r=n(64762),i=n(79599),s=n(97245),o=n(31440),a=n(45094),l=n(76889),c=n(74788),d=n(92599),u=n(84913),h=n(55198),m=n(12006);let p=(()=>{class e{constructor(e,t,n,r,s){this._router=e,this._utilService=t,this._httpService=n,this._storageService=r,this._seoService=s,this.calculatorSubject=new a.X(null),this.dashboardCalculatorResetSubject=new l.x,this.AUTH_CLEARED_EVENT="bs:auth-cleared",this.billsToCheckout=[],this.billTypesToCheckout=[],this.customerDataPromise=null,this.customerDataLoaded=!1,this.customerDataLoadedTransactionId=null,this.switchBillsToCheckout=[],this.flag_processing=!1,this.flag_retrieving_customer_lead=!1,this.flag_retrieving_customer_data=!1,this.flag_terms_checked=!1,this.flag_monthly_savings=!1,this.flag_checking_payment_required=!1,this._lastPaymentRequiredSig=null,this._handleAuthCleared=()=>{this.resetAfterLogout()},this.user=new i.T_,o.f.afterWindowOnLoad(()=>{this._utilService.isPlatformServer||window.addEventListener(this.AUTH_CLEARED_EVENT,this._handleAuthCleared),this._httpService.isUserLogged()&&this.getCustomerData().then(e=>{},e=>{})})}isEmpty(){return!this.billsToCheckout.length}size(){return this.billsToCheckout.length}clear(e=!0,t=!0){this.billsToCheckout=[],this.billTypesToCheckout=[],this._lastPaymentRequiredSig=null,this.user._initUserTermsAndConditionsForm(),e||(this.switchBillsToCheckout=[],this._httpService.isUserLogged()||(this.user=new i.T_))}resetAfterLogout(){this.invalidateCustomerDataCache(),this.billsToCheckout=[],this.billTypesToCheckout=[],this.switchBillsToCheckout=[],this.flag_processing=!1,this.flag_retrieving_customer_lead=!1,this.flag_retrieving_customer_data=!1,this.flag_terms_checked=!1,this.flag_monthly_savings=!1,this.flag_checking_payment_required=!1,this._lastPaymentRequiredSig=null,this.user=new i.T_}getTotalExpectingSavingAmountPerYear(){return this.billsToCheckout.map(e=>e.getTotalExpectedSavingsPerYear()).reduce((e,t)=>e+t,0)}getTotalCheckoutAmount(){return this.billsToCheckout.map(e=>e.getTotalExpectedSavings(!1)).reduce((e,t)=>e+t,0)}getTotalBillsharkFee(){return this.billsToCheckout.map(e=>e.getBillsharkFee()).reduce((e,t)=>e+t,0)}toggleMonthlySavings(e){e.stopPropagation()}getBillsToCheckout(){return this.billsToCheckout}getBillFromCheckout(e){const t=this.billsToCheckout.filter(t=>t.id===e);return t.length?t[0]:null}addBillToCheckout(e,t=!1){e instanceof i.Y7&&e.ensureCheckoutFormsInitialized(),t&&this.billsToCheckout.length&&this.billsToCheckout[0].id===e.id?Object.assign(this.billsToCheckout[0],{monthly_payment:e.monthly_payment,expected_savings:e.expected_savings,business:e.business}):this.billsToCheckout=[e],this.setBillTypesToCheckout(),this.saveCustomerLead().then(e=>{},e=>{}),setTimeout(()=>{this.checkIsPaymentRequired()})}removeBills(){this.billsToCheckout=[],this.saveCustomerLead().then(e=>{},e=>{}),setTimeout(()=>{this.checkIsPaymentRequired()})}removeBillFromCheckout(e){e instanceof i.Y7&&(e=this.billsToCheckout.indexOf(e)),this.billsToCheckout.splice(e,1),this.setBillTypesToCheckout(),this.saveCustomerLead().then(e=>{},e=>{}),setTimeout(()=>{this.checkIsPaymentRequired()})}replaceBillForCheckout(e,t){e instanceof i.Y7&&(e=this.billsToCheckout.indexOf(e)),this.billsToCheckout.splice(e,1,t),this.setBillTypesToCheckout(),this.saveCustomerLead().then(e=>{},e=>{}),setTimeout(()=>{this.checkIsPaymentRequired()})}setBillTypesToCheckout(){this.billTypesToCheckout=[...new Set(this.billsToCheckout.map(e=>e.bill_type))]}getBillTypesToCheckout(){return this.billTypesToCheckout}onlyInsuranceBills(){return this.billsToCheckout.filter(e=>e.bill_type===s.$M.SWITCH).length===this.billsToCheckout.length}isBillTypesToCheckoutEmpty(){return!this.billTypesToCheckout.length}loginThroughSignUp(){return this._httpService.isUserLogged()&&this.user.flag_signup_process}
1loginThroughSignIn(){return this._httpService.isUserLogged()&&!this.user.flag_signup_process}setTermsAndConditions(e){this.flag_terms_checked=e}checkIsPaymentRequired(){var e;const t=(this.billsToCheckout||[]).map(e=>{var t,n,r;return(e.bill_type||"")+"|"+((null===(t=e.provider)||void 0===t?void 0:t.provider_name)||"")+"|"+((null===(r=null===(n=e.bill_info)||void 0===n?void 0:n.bill_service_address_street)||void 0===r?void 0:r.address_state)||"")}).join(",");return t&&t===this._lastPaymentRequiredSig?Promise.resolve(null===(e=this.user)||void 0===e?void 0:e.flag_payment_required):(this.flag_checking_payment_required=!0,new Promise((e,n)=>{let r=!0,i=0,o={negotiation:{rate:40,rate_type:"Percentage",savings_range_considered:"all"},cancellation:{rate:5,rate_type:"Flat Rate"}};const a=s.bl.API_ENDPOINTS.PAYMENT_REQUIRED,l={query_parameters:this._httpService.isUserLogged()?{}:Object.assign({},this.user.queryParams,{pc:this.user.queryParams.pc||this.user.queryParams.wpc,ref:this.user.queryParams.grsf}),email:this.user.customer_email,first_name:this.user.customer_first_name,service_requests:this.billsToCheckout.map(e=>{var t;const n={type:e.bill_type,biller_name:e.provider.provider_name};return(null===(t=e.bill_info.bill_service_address_street)||void 0===t?void 0:t.address_state)&&(n.address={state:e.bill_info.bill_service_address_street.address_state}),n})};this._httpService.isUserLogged()||(l.affiliate=this.user.queryParams.affiliate,l.partner_pt=this.user.queryParams.partner_pt||this.user.queryParams.pt),this._httpService.httpRequest(a,s.I5.POST,l,null).then(e=>{const t=JSON.parse(JSON.stringify(e));r=t.payment_required,i=t.on_hold_amount,o=t.billing_config}).catch(e=>{}).finally(()=>{this.user.flag_payment_required=r,this.user.on_hold_amount=i,this.user.billing_config=o,this.flag_checking_payment_required=!1,this._lastPaymentRequiredSig=t,e(this.user.flag_payment_required)})}))}validBillImages(e){let t=!0;return Object.keys(e.bill_images).length||(t=!1),t}_validBillSignUp(e){let t=!0,n=[],r=e.signUp.start;for(;r&&t;){switch(r){case s.e2.MENU:e.signUp.nav[r].next||(e.signUp.step=s.e2.MENU,t=!1);break;case s.e2.IMG_UPLOAD:this.validBillImages(e)||(e.signUp.step=s.e2.IMG_UPLOAD,t=!1),this._utilService.validateForm(e.formBillInfo.form,!0)||(e.signUp.step=s.e2.IMG_UPLOAD,t=!1,n=Object.values(e.formBillInfo.form.controls));break;case s.e2.CREDENTIALS:this._utilService.validateForm(e.formBillInfo.form,!0)||(e.signUp.step=s.e2.CREDENTIALS,t=!1,n=Object.values(e.formBillInfo.form.controls));break;case s.e2.BILL_INFO:this._utilService.validateForm(e.formBillInfo.form,!0)||(e.signUp.step=s.e2.BILL_INFO,t=!1,n=Object.values(e.formBillInfo.form.controls));break;default:e.signUp.step=e.signUp.start,t=!1}if(t){const t=e.signUp.nav[r].next;e.nextStep(t,r,!1),r=t}}return e.signUp.valid=t,t||setTimeout(()=>{e.signUp.valid=!0},1e4),{valid:t,controls:n}}validUserInfoForm(e=!1,t=!1,n=!1){return new Promise((r,i)=>{if(this.user.formUserInfo.form){const s=this._utilService.validateForm(this.user.formUserInfo.form,e,t);if(s||i(),n)return void(s?r({loggedIn:!1}):i());if(this._utilService.validateControls([this.user.formUserInfo.form.get("customer_email")],!0)){let e=!1,t=null,n=null;this._validUserEmail().then(n=>{t=n,e=s&&this._utilService.validateForm(this.user.formUserInfo.form,!0)}).catch(e=>{n=e,this._utilService.focusFirstControl(Object.values(this.user.formUserInfo.form.controls))}).finally(()=>{e?r({loggedIn:!(!t||!t.loggedIn)}):i(n)})}else i()}else r({loggedIn:!1})})}_validUserEmail(){return new Promise((e,t)=>{this.user.transaction_id||this.user.sl_provider?e({loggedIn:!1}):this._httpService.validateEmailWithPassword(this.user.customer_email,this.user.customer_password).then(t=>{e({loggedIn:!(!t||!t.loggedIn)})}).catch(e=>{this._isSignUpWrongPasswordError(e)||this.user.formUserInfo.form.get("customer_email").setErrors({customer_exists:!0}),t(e)})})}_isSignUpWrongPasswordError(e){return!(!e||e.error_code!==s.bl.API_RESULT_ERROR_CODE.ERROR_CODE_CUSTOMER_EXIST)}validUserTermsConditionsForm(){let e=!0;return this.user.formUserTermsAndConditions&&!this._utilService.validateForm(this.user.formUserTermsAndConditions)&&(e=!1),e}validAllEstimateSavingsForm(){let e=!0;return this.billsToCheckout.forEach(t=>{t.formEstimateSavings&&!this._utilService.validateForm(t.formEstimateSavings,!0)&&(e=!1)}),e}validAllBillSignUp(){let e=!0,t=[];return this.billsToCheckout.forEach(n=>
1{const r=this._validBillSignUp(n);r.valid||(e=r.valid,t=t.concat(r.controls))}),this._utilService.focusFirstControl(t),e}validAllBillTermsConditionsForm(){let e=!0;return this.billsToCheckout.forEach(t=>{t.formBillTermsAndConditions&&!this._utilService.validateForm(t.formBillTermsAndConditions)&&(e=!1)}),e}retrieveCustomerLead(e=null){return(0,r.mG)(this,void 0,void 0,function*(){return this._utilService.isPlatformServer?(this.flag_retrieving_customer_lead=!1,null):yield new Promise((t,n)=>{this.flag_retrieving_customer_lead=!0,this.billsToCheckout=[],this._httpService.httpRequest(s.bl.API_ENDPOINTS.CUSTOMER_LEAD+(e?`/${e}`:""),s.I5.GET,null,null).then(n=>{var r,o,a;const l=JSON.parse(JSON.stringify(n));(null===(r=l.data)||void 0===r?void 0:r.user)&&(e&&(l.data.user.transaction_id=l.transaction_id),this.user.loadCustomerLeadData(l.data.user)),(null===(a=null===(o=l.data)||void 0===o?void 0:o.bills)||void 0===a?void 0:a.length)?Promise.all(l.data.bills.map(e=>new Promise((t,n)=>{this._storageService.getNomCategories(e.bill_type).subscribe(e=>{!e.loading&&e.data&&t(e.data)},e=>{})}).then(t=>{let n=!1,r=null;if(t){switch(e.bill_type){case s.$M.CANCELLATION:if(e.provider){let i=[];t.forEach(e=>{i.push(...e.providers)}),i=i.filter(t=>t.provider_id===e.provider.provider_id),i.length&&(r=i[0],n=!0)}break;case s.$M.NEGOTIATION:n=!0;const i=[];t.forEach(e=>{i.push(...e.providers)}),r=i.find(t=>t.provider_id===e.provider.provider_id);break;case s.$M.SWITCH:n=!1}n&&(e.provider=r,this.addBillToCheckout((new i.Y7).loadCustomerLeadData(e)),this.billsToCheckout.sort((e,t)=>e.id-t.id))}}))).finally(()=>{t(l.data.bills)}):t(null)}).catch(()=>{n()}),this.flag_retrieving_customer_lead=!1})})}saveCustomerLead(){if(this._utilService.isPlatformServer)return Promise.resolve(null);const e=s.bl.API_ENDPOINTS.CUSTOMER_LEAD,t=s.I5.PUT,n={data:{source:this._httpService.isUserLogged()?"upload-more-bills":"sign-up",user:this._utilService.isPlatformServer?null:this.size()?this.user.getCustomerLeadData():null,bills:this.billsToCheckout.map(e=>e.getCustomerLeadData())}};return this._httpService.httpRequest(e,t,n,null).catch(()=>null)}refreshCustomerLead(e=!1){return(0,r.mG)(this,void 0,void 0,function*(){if(this._utilService.isPlatformServer)return null;const t=this.billsToCheckout;if(yield this.retrieveCustomerLead(),e&&t.length){const e=t.map(e=>e.id);this.billsToCheckout=t.concat(this.billsToCheckout.filter(t=>!e.includes(t.id))),this.saveCustomerLead().then(e=>{},e=>{})}})}deleteCustomerLead(){this._utilService.isPlatformServer||this._httpService.httpRequest(s.bl.API_ENDPOINTS.CUSTOMER_LEAD,s.I5.DELETE,null,null).then(e=>{},e=>{})}_getCustomerDataCacheKey(){var e;return this._httpService.TRANSACTION_ID||(null===(e=this.user)||void 0===e?void 0:e.transaction_id)||null}hasCustomerDataCache(){return this.customerDataLoaded&&this.customerDataLoadedTransactionId===this._getCustomerDataCacheKey()}invalidateCustomerDataCache(){this.customerDataPromise=null,this.customerDataLoaded=!1,this.customerDataLoadedTransactionId=null}getCustomerData(e=!1){const t=this._getCustomerDataCacheKey();return this.customerDataLoadedTransactionId!==t&&(this.customerDataPromise=null,this.customerDataLoaded=!1,this.customerDataLoadedTransactionId=t),!e&&this.customerDataPromise?this.customerDataPromise:!e&&this.hasCustomerDataCache()?Promise.resolve(this.user):(this.flag_retrieving_customer_data=!0,this.customerDataPromise=this._httpService.httpRequest(s.bl.API_ENDPOINTS.CUSTOMER_DATA,s.I5.GET,null,null).then(e=>{const t=JSON.parse(JSON.stringify(e));return this.user.loadCustomerLeadData(t),this.customerDataLoaded=!0,this.customerDataLoadedTransactionId=this._getCustomerDataCacheKey(),this.user}).catch(e=>(this.customerDataLoaded=!1,null)).finally(()=>{this.flag_retrieving_customer_data=!1,this.customerDataPromise=null}),this.customerDataPromise)}sendCustomerSessionRecordData(e){return this._httpService.httpRequest(s.bl.API_ENDPOINTS.LUCKY_ORANGE,s.I5.POST,e,null).then(e=>{}).catch(e=>{}).finally()}refreshBlueVideo(){this._storageService.blueRush.behaviorSubject.next({data:this.getBillsToCheckout().filter(e=>e.bill_type===s.$M.NEGOTIATION).pop()})}}return e.\u0275fac=function(t){return new(t||e)(c.\u0275\u0275inject(d.F0),c.\u0275\u0275inject(o.f),c.\u0275\u0275inject(u.O),c.\u0275\u0275inject(h.V),c.\u0275\u0275inject(m.v))},e.\u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},84913:function(e,t,n){"use strict";n.d(t,{O:function(){return _}});var r=n(64762),i=n(97245),s=n(58497),o=n(31440);const a=[211,84,122,143,111,183,113,173,55,24,202,81,146,14,37,231],l=[40,202,58,249,98,127,148,19,246,121,126,153,24,214,37,248],c=[211,84,122,143,111,183,113,173,55,24,202,81,145,14,41,131],d=[109,244,45,195,100,104,172,5,229,114,117,137,104,192,51,237
1];var u=n(74788),h=n(92599),m=n(12057),p=n(66204),g=n(56965);let _=(()=>{class e{constructor(e,t,n,r,i,s,a){this._utilService=e,this._http=t,this._router=n,this._platformLocation=r,this._ngZone=i,this._passwordCrypto=s,this._rateLimitService=a,this.AUTH_CLEARED_EVENT="bs:auth-cleared",this.SESSION_ERROR_SUPPRESSION_WINDOW_MS=2500,this.LOGOUT_SESSION_ERROR_SUPPRESSION_WINDOW_MS=1e4,this.GENERAL_ERROR_SILENT_RETRY_LIMIT=2,this.CSRF_TOKEN=null,this.TRANSACTION_ID=null,this.SL_PROFILE_IMG=null,this.CSRF_TOKEN_RETRY_DELAY_MS=15e3,this.SESSION_HEARTBEAT_INTERVAL_MS=6e4,this.SESSION_IDLE_TTL_MS=9e5,this.csrfTokenRetryBlockedUntil=0,this.csrfTokenLastError=null,this.generalErrorRecoveryKeys=new Set,this.generalErrorRecoveryAttempts=new Map,this.sessionHeartbeatTimer=null,this.sessionHeartbeatInFlight=!1,this.manualLogoutSuppressUntil=0,this.sessionExpiryHandled=!1,this._handleWindowFocus=()=>{this._scheduleSessionHeartbeat(!0)},this._handleVisibilityChange=()=>{"undefined"!=typeof document&&!document.hidden&&this._scheduleSessionHeartbeat(!0)},this.lastActivityTime=Date.now(),this._markActivity=()=>{this.lastActivityTime=Date.now()},this._retrieveAuthData(),o.f.afterWindowOnLoad(()=>{this._utilService.isPlatformServer||(window.addEventListener("focus",this._handleWindowFocus),document.addEventListener("visibilitychange",this._handleVisibilityChange),["pointerdown","keydown","touchstart","click","scroll"].forEach(e=>window.addEventListener(e,this._markActivity,{passive:!0,capture:!0})),this._scheduleSessionHeartbeat())})}isUserLogged(e=!1){if(this._utilService.isPlatformServer){const e=this._platformLocation.href;let t=this._router.url;if(this._router.url.includes("#")&&(t=this._router.url.substring(0,this._router.url.indexOf("#"))),-1!==e.indexOf("?")&&(t=t.substring(0,t.indexOf("?"))),["/dashboard/summary","/dashboard/help"].includes(t))return!0}let t=!1;if(this._utilService.chash&&this._utilService.id)this.CSRF_TOKEN=this._utilService.chash,this.TRANSACTION_ID=this._utilService.id,this._utilService.chash="",this._utilService.id="",t=!0;else if(this.CSRF_TOKEN&&(this.TRANSACTION_ID||e)){const e=this._b64DecodeUnicode(this.CSRF_TOKEN),n=parseInt(e.charAt(e.length-1),10);t="101"===e.slice(n+1,n+4)}return t}ensureAuthResolved(){return this._utilService.isPlatformServer||"string"==typeof this.CSRF_TOKEN&&this.CSRF_TOKEN.trim()?Promise.resolve():this._getCsrfToken(!1).then(()=>{}).catch(()=>{})}signIn(e,t,n=!1){return(0,r.mG)(this,void 0,void 0,function*(){const r=i.bl.API_ENDPOINTS.BS_LOGIN,s={new_user_login:!0,customer_email:e,customer_password:yield this._passwordCrypto.encryptPassword(t)};return this.httpRequest(r,i.I5.POST,s,null,!0,i.bW.FRONT_FACING).then(e=>{const t=JSON.parse(JSON.stringify(e));return this.TRANSACTION_ID=t.transaction_id,this._saveAuthData(),this.SL_PROFILE_IMG=null,{status:t.status,user:{transaction_id:this.TRANSACTION_ID,flag_signup_process:n,sl_provider:null}}}).catch(e=>{throw this.TRANSACTION_ID=null,e})})}validateEmailWithPassword(e,t,n=!1){return(0,r.mG)(this,void 0,void 0,function*(){const r=i.bl.API_ENDPOINTS.VALIDATE_EMAIL,s={email:e,customer_password:yield this._passwordCrypto.encryptPassword(t)};let o=null,a=!1;try{const e=yield this.httpRequest(r,i.I5.POST,s,null,!0,i.bW.FRONT_FACING);o=JSON.parse(JSON.stringify(e))}catch(l){o=l,a=!0}if(o&&o.error_code===i.bl.API_RESULT_ERROR_CODE.ERROR_CODE_CUSTOMER_EXIST)throw a?o:Object.assign({},o);if(a)throw o;if(this.isUserLogged(!0)){const r=o.transaction_id||o.customer&&o.customer.id||null;return r?(this.TRANSACTION_ID=r,this._saveAuthData(),{loggedIn:!0}):n?{loggedIn:!1}:(yield this._resetToNonLoggedCsrfToken(),this.validateEmailWithPassword(e,t,!0))}return{loggedIn:!1}})}_resetToNonLoggedCsrfToken(){return(0,r.mG)(this,void 0,void 0,function*(){this.CSRF_TOKEN=null;try{yield this._getCsrfToken(!0)}catch(e){}})}socialLogin(e,t,n=!1){return this.httpRequest(i.bl.API_ENDPOINTS.SOCIAL_LOGIN,i.I5.POST,{access_token:e.accessToken,method_source:n?"Sign Up":"Log In",partner_pt:t.partner_pt||t.pt,pcti:t.pcti,social_login_source:e.sl_provider,email:e.customer_email},null,!0,i.bW.FRONT_FACING).then(t=>{const r=JSON.parse(JSON.stringify(t));this.TRANSACTION_ID=null,this.isUserLogged(!0)&&(this.TRANSACTION_ID=r.customer_id,r.direct_customer_id&&(this.TRANSACTION_ID=r.direct_customer_id),this.SL_PROFILE_IMG=e.sl_image_url,this._saveAuthData());let i="";return r.email?i={user:Object.assign(e,{customer_email:r.email,customer_first_name:r.first_name,customer_last_name:r.last_name,transaction_id:this.TRANSACTION_ID,flag_signup_process:n})}:null==r.email&&(i={user:Object.assign(e,{customer_email:e.email,customer_first_name:e.first_name,customer_last_name:e.last_name,transaction_id:this.TRANSACTION_ID,flag_signup_process:n})}),i}).catch(t=>{let r="";return r={error_message:t.error_message,error_code:t.error_code,user:Object.assign(e,{transaction_id:this.TRANSACTION_ID,flag_signup_process:n})},r})}signOut(e=!1,t=null,n=!0){var r;const s=this._getBrowserPathWithQuery(),o=this.isUserLogged()&&n,a=o?i.bl.API_ENDPOINTS.BS_LOGOUT.replace(i.Jw.TRANSACTION_ID,this.TRANSACTION_ID||""):null,l="string"==typeof this.CSRF_TOKEN?this.CSRF_TOKEN:null;o&&this._suppressSessionErrorsDuringManualLogout(),"undefined"!=typeof $&&"function"==typeof(null===(r=$.fn)||void 0===r?void 0:r.modal)&&$(".modal").modal("hide"),document.querySelectorAll(".modal").forEach(e
1=>{e.classList.remove("show"),e.style.display="none"}),document.querySelectorAll(".modal-backdrop").forEach(e=>e.remove()),document.body.classList.remove("modal-open"),document.body.style.paddingRight="",document.body.style.overflow="";const c=()=>{this._ngZone.run(()=>{if(this._clearSessionHeartbeat(),this.sessionHeartbeatInFlight=!1,this._removeAuthData(),this._refreshCsrfTokenSilently(),this._notifyAuthCleared(),this._shouldSkipStaleLogoutNavigation(e,t,s)||this._utilService.isPlatformServer)return;const n={};t&&(n.queryParams={redirectUrl:t}),this._router.navigate([e?"/login":"/"],n)})};o?(c(),this._sendSignOutRequest(a,l)):c()}_shouldSkipStaleLogoutNavigation(e,t,n){if(!e||t||!this._hasLogoutQueryParam(n))return!1;const r=this._getBrowserPathWithQuery();return r!==n&&!r.startsWith("/login")}_getBrowserPathWithQuery(){return this._utilService.isPlatformServer||"undefined"==typeof window?this._router.url||"":`${window.location.pathname}${window.location.search}`}_hasLogoutQueryParam(e){const t=e.split("?")[1]||"";return new URLSearchParams(t).has("logout")}_notifyAuthCleared(){this._utilService.isPlatformServer||"undefined"==typeof window||window.dispatchEvent(new CustomEvent(this.AUTH_CLEARED_EVENT))}_sendSignOutRequest(e,t){!e||this._httpRequest(e,i.I5.POST,null,null,!1,i.bW.FRONT_FACING,!1,!1,t?{csrf_token:t}:null,()=>{},()=>{})}_suppressSessionErrorsDuringManualLogout(){this._utilService.isPlatformServer||"undefined"==typeof window||(this.manualLogoutSuppressUntil=Date.now()+this.LOGOUT_SESSION_ERROR_SUPPRESSION_WINDOW_MS,this._suppressConcurrentGenericErrors())}_shouldSuppressSessionErrorDuringManualLogout(){return!this._utilService.isPlatformServer&&"undefined"!=typeof window&&Date.now()<this.manualLogoutSuppressUntil}jsonRequest(e){return this._http.get(e)}httpExternalRequest(e,t,n={},r=i.X3.ERR_REQUEST_ERROR,s=null,o=i.bW.NONE,a=!0){return new Promise((i,l)=>{this._httpRequest(e,t,n,r,!1,o,a,!0,s,i,l)})}httpRequest(e,t,n={},r=i.X3.ERR_REQUEST_ERROR,s=!0,o=i.bW.NONE,a=!0){return new Promise((l,c)=>{if(i.L6.RATE_LIMIT_BANNER&&this._rateLimitService.isActive())return this._rateLimitService.flash(),c({status:429,reason:"rate_limited",error_message:"too_many_requests"});this._getCsrfToken(!1).then(()=>{if(e.includes(i.Jw.TRANSACTION_ID)){if(this._utilService.isPlatformServer)return c();if(!this.isUserLogged())return this._handleError({status:403},e,t,n,r,s,o,!1,!1,null,l,c);e=e.replace(i.Jw.TRANSACTION_ID,this.TRANSACTION_ID||"")}this._httpRequest(e,t,n,r,s,o,a,!1,null,l,c)}).catch(e=>c(e))})}_getHttpHeaders(e=!1,t=null){let n=new s.WM;return e||(n=n.set("x-api-key",function(e){const t=[...i.T4,...i.y$.slice().reverse()],n="dev"===e?[...a,...l]:[...c,...d];let r="";for(let i=0;i<n.length;i++)r+=String.fromCharCode(n[i]^t[i%t.length]);return r}(i.bl.KEY_ENV)).set("x-timezone-offset",(new Date).getTimezoneOffset().toString()),this.CSRF_TOKEN&&(n=n.set("csrf_token",this.CSRF_TOKEN)),this._utilService.isPlatformServer&&(n=n.set("X-Request-Source","ssr"))),t&&Ob
1ject.keys(t).forEach(e=>{n=n.set(e,t[e])}),n}_httpRequest(e,t,n,r,s,o,a,l,c,d,u){const h=l?e:`${i.bl.BASE_URL_V3}${e}`,m=this._getHttpHeaders(l,c);let p;switch(t){case i.I5.GET:p=this._http.get(h,{headers:m,params:n,observe:"response"});break;case i.I5.POST:p=this._http.post(h,n,{headers:m,observe:"response"});break;case i.I5.PATCH:p=this._http.patch(h,n,{headers:m,observe:"response"});break;case i.I5.DELETE:p=this._http.delete(h,{headers:m,observe:"response"});break;case i.I5.PUT:p=this._http.put(h,n,{headers:m,observe:"response"})}p.subscribe(({status:r,body:i})=>{clearTimeout(null),this._utilService.removeToast(void 0,3e3),i&&(i.status=r),!l&&s&&(this.CSRF_TOKEN=i.csrf_token,this._saveCsrfToken(),this._session()),this._clearGeneralErrorRecoveryState(e,t,n,l),d(i)},({status:h,error:m,headers:p})=>{clearTimeout(null),this._utilService.removeToast(void 0,3e3),m&&(m.status=h);const g=m&&this._utilService.getHandledError(m);if(g&&"global"===g.scope)return 429===h&&i.L6.RATE_LIMIT_BANNER?(this._rateLimitService.trigger(this._parseRetryAfter(p)),void u(m)):(o===i.bW.FRONT_FACING&&i.L6.LOGIN_ERRORS_INLINE||this._utilService.showErrorNotification(g.message),void u(m));if(o==i.bW.FRONT_FACING){const h=m&&m.error_code===i.bl.API_RESULT_ERROR_CODE.ERROR_CODE_INVALID_CREDENTIALS;a&&m&&401===m.status&&!h?this._getCsrfToken(!0).then(()=>{this._httpRequest(e,t,n,r,s,o,!1,l,c,d,u)}).catch(()=>{r&&(this._utilService.showErrorNotification(r),this._refreshCsrfTokenSilently()),u(m)}):u(m)}else!m||401!==m.status&&403!==m.status?a?this._handleError(m,e,t,n,r,s,o,a,l,c,d,u):a&&o!==i.bW.NONE?setTimeout(()=>{this._httpRequest(e,t,n,r,s,o,!1,c,l,d,u)},18e4):m&&r?this._handleGeneralErrorWithRecovery(e,t,n,r,s,o,l,c,d,u,m)||(this._utilService.showErrorNotification(r,m.error_message),this._refreshCsrfTokenSilently(),u(m)):this._handleGeneralErrorWithRecovery(e,t,n,r,s,o,l,c,d,u,m)||(this._refreshCsrfTokenSilently(),u(m)):this._handleError({status:m.status},e,t,n,r,s,o,!1,!1,c,d,u)})}_parseRetryAfter(e){try{const t=e&&"function"==typeof e.get?e.get("Retry-After"):null;if(!t)return;const n=parseInt(String(t).trim(),10);if(!isNaN(n)&&n>0)return n;const r=Date.parse(String(t));if(!isNaN(r)){const e=Math.round((r-Date.now())/1e3);return e>0?e:void 0}}catch(t){}}_handleError(e,t,n,r,s,o,a,l,c,d,u,h){if(e&&429===e.status)return s&&this._utilService.showErrorNotification(s,e.error_message),void h(e);if(c)l?this._httpRequest(t,n,r,s,o,a,!1,c,d,u,h):(s&&(401===e.status||403===e.status)&&this._utilService.showErrorNotification(s),h(e));else if(e&&e.status&&(403===e.status||401===e.status&&this.isUserLogged())){if(this._shouldSuppressSessionErrorDuringManualLogout())return void h(e);this._handleSessionExpired(403===e.status?i.X3.ERR_ACTION_DENIED:i.X3.ERR_TOKEN_EXPIRED),h(e)}else l?this._getCsrfToken(!0).then(()=>{this._httpRequest(t,n,r,s,o,a,!1,c,d,u,h)}).catch(()=>{s&&(this._utilService.showErrorNotification(s),this._refreshCsrfTokenSilently()),h(e)}):s?this._handleGeneralErrorWithRecovery(t,n,r,s,o,a,c,d,u,h,e)||(this._utilService.showErrorNotification(s),this._refreshCsrfTokenSilently(),h(e)):this._handleGeneralErrorWithRecovery(t,n,r,s,o,a,c,d,u,h,e)||(this._refreshCsrfTokenSilently(),h(e))}_getCsrfToken(e=!1){return new Promise((t,n)=>{if(this._utilService.isPlatformServer)return void t(null);const r="string"==typeof this.CSRF_TOKEN&&this.CSRF_TOKEN.trim()?this.CSRF_TOKEN:null;if(Date.now()<this.csrfTokenRetryBlockedUntil)n(this.csrfTokenLastError||{status:429});else if(e||!this.CSRF_TOKEN||this.CSRF_TOKEN instanceof Promise){if(!(this.CSRF_TOKEN instanceof Promise)){const t=`${i.bl.BASE_URL_V3}${i.bl.API_ENDPOINTS.CSRF_TOKEN}`,n=this._getHttpHeaders();e&&(this.CSRF_TOKEN=null),this.CSRF_TOKEN=this._http.get(t,{headers:n}).toPromise()}this.CSRF_TOKEN.then(e=>{this.CSRF_TOKEN=e.csrf_token,this.csrfTokenRetryBlockedUntil=0,this.csrfTokenLastError=null,t(null)}).catch(t=>{this.CSRF_TOKEN=!e&&r?r:null,this.csrfTokenLastError=t||{status:0},this.csrfTokenRetryBlockedUntil=t&&429===t.status?Date.now()+this.CSRF_TOKEN_RETRY_DELAY_MS:0,n(t)}).finally(()=>{this._saveCsrfToken()})}else t(null)})}_saveCsrfToken(){let e;const t="string"==typeof this.CSRF_TOKEN?this.CSRF_TOKEN.trim():"";if(t&&"undefined"!=typeof Storage)try{JSON.stringify(localStorage.getItem("bs_auth")).length<5e6?(e=JSON.parse(localStorage.getItem("bs_auth"))||{},this.TRANSACTION_ID?localStorage.setItem("bs_auth",JSON.stringify(Object.assign(e,{csrf_token:t}
1))):localStorage.setItem("bs_auth",JSON.stringify(Object.assign(Object.assign({},e),{csrf_token:t})))):(localStorage.removeItem("bs_auth"),this._saveAuthData(),console.error("LocalStorage size exceeded, CSRF token not saved."))}catch(n){console.error("Error saving CSRF token:",n)}}_session(){"undefined"!=typeof Storage&&sessionStorage.setItem("session","1"),this._scheduleSessionHeartbeat()}_saveAuthData(){if("undefined"!=typeof Storage){const e=JSON.parse(localStorage.getItem("bs_auth"))||{};localStorage.setItem("bs_auth",JSON.stringify(Object.assign(e,{tid:this.TRANSACTION_ID,sl_img:this.SL_PROFILE_IMG})))}this.sessionExpiryHandled=!1,this._scheduleSessionHeartbeat(!0)}_retrieveAuthData(){if("undefined"!=typeof Storage){const e=JSON.parse(localStorage.getItem("bs_auth"));if(e){const t="string"==typeof e.csrf_token&&e.csrf_token.trim()?e.csrf_token:null;this.CSRF_TOKEN=t,!t&&"csrf_token"in e&&(delete e.csrf_token,localStorage.setItem("bs_auth",JSON.stringify(e))),this.TRANSACTION_ID=e.tid,this.SL_PROFILE_IMG=e.sl_img}}o.f.afterWindowOnLoad(()=>{this.isUserLogged()&&(this.sessionExpiryHandled=!1,this._scheduleSessionHeartbeat())})}_removeAuthData(){if("undefined"!=typeof Storage){const e=JSON.parse(localStorage.getItem("bs_auth"));e&&(delete e.tid,delete e.sl_img,this._removePersistedCsrfToken(e)),sessionStorage.removeItem("session")}this._clearSessionHeartbeat(),this.sessionHeartbeatInFlight=!1,this.CSRF_TOKEN=null,this.TRANSACTION_ID=null,this.SL_PROFILE_IMG=null}_refreshCsrfTokenSilently(){this._utilService.isPlatformServer||this._getCsrfToken(!0).catch(()=>{})}_handleGeneralErrorWithRecovery(e,t,n,r,i,s,o,a,l,c,d){if(!this._shouldRecoverGetRequest(e,t,o))return!1;const u=this._buildGeneralRecoveryKey(e,t,n,o),h=this.generalErrorRecoveryAttempts.get(u)||0;return h>=this.GENERAL_ERROR_SILENT_RETRY_LIMIT?(this._clearGeneralErrorRecoveryStateByKey(u),r&&this._utilService.showErrorNotification(r,null==d?void 0:d.error_message),this._refreshCsrfTokenSilently(),c(d),!0):(this.generalErrorRecoveryAttempts.set(u,h+1),this.generalErrorRecoveryKeys.add(u),this._getCsrfToken(!0).then(()=>new Promise((l,c)=>{this._httpRequest(e,t,n,r,i,s,!1,o,a,l,c)})).then(e=>{this._clearGeneralErrorRecoveryStateByKey(u),l(e)}).catch(e=>{this._refreshCsrfTokenSilently(),c(e||d)}).finally(()=>{this.generalErrorRecoveryKeys.delete(u)}),!0)}_shouldRecoverGetRequest(e,t,n){return!n&&t===i.I5.GET&&e!==i.bl.API_ENDPOINTS.CSRF_TOKEN&&e!==i.bl.API_ENDPOINTS.BS_LOGOUT}_buildGeneralRecoveryKey(e,t,n,r){let i="";try{i=JSON.stringify(n||{})}catch(s){i=""}return`${r?"ext":"int"}:${t}:${e}:${i}`}_clearGeneralErrorRecoveryState(e,t,n,r){!this._shouldRecoverGetRequest(e,t,r)||this._clearGeneralErrorRecoveryStateByKey(this._buildGeneralRecoveryKey(e,t,n,r))}_clearGeneralErrorRecoveryStateByKey(e){this.generalErrorRecoveryAttempts.delete(e),this.generalErrorRecoveryKeys.delete(e)}_removePersistedCsrfToken(e=null){if("undefined"==typeof Storage)return;const t=e||JSON.parse(localStorage.getItem("bs_auth"));!t||(delete t.csrf_token,Object.keys(t).length?localStorage.setItem("bs_auth",JSON.stringify(t)):localStorage.removeItem("bs_auth"))}_handleSessionExpired(e=i.X3.ERR_SESSION_EXPIRED){this._ngZone.run(()=>{if(!this.sessionExpiryHandled){this.sessionExpiryHandled=!0,this._clearSessionHeartbeat(),this._suppressConcurrentGenericErrors();try{"undefined"!=typeof sessionStorage&&sessionStorage.setItem("bs_login_notice","session_expired")}catch(e){}this.signOut(!0,this.isUserLogged()?this._router.url:null,!1)}})}_suppressConcurrentGenericErrors(){this._utilService.isPlatformServer||"undefined"==typeof window||(window.__bsSuppressGenericErrorsUntil=Date.now()+this.SESSION_ERROR_SUPPRESSION_WINDOW_MS)}_scheduleSessionHeartbeat(e=!1){this._utilService.isPlatformServer||(this._clearSessionHeartbeat(),this.sessionExpiryHandled||!this.isUserLogged())||(this.sessionHeartbeatTimer=window.setTimeout(()=>{this._ngZone.run(()=>{this._checkSessionHeartbeat()})},e?0:this.SESSION_HEARTBEAT_INTERVAL_MS))}_clearSessionHeartbeat(){this.sessionHeartbeatTimer&&(window.clearTimeout(this.sessionHeartbeatTimer),this.sessionHeartbeatTimer=null)}_checkSessionHeartbeat(){if(!(this._utilService.isPlatformServer||this.sessionHeartbeatInFlight||this.sessionExpiryHandled)&&this.isUserLogged()){if
1(Date.now()-this.lastActivityTime>=this.SESSION_IDLE_TTL_MS)return void this._handleSessionExpired(i.X3.ERR_SESSION_EXPIRED);if("undefined"!=typeof document&&document.hidden)return void this._scheduleSessionHeartbeat();if(i.L6.RATE_LIMIT_BANNER&&this._rateLimitService.isActive())return void this._scheduleSessionHeartbeat();this.sessionHeartbeatInFlight=!0,this.httpRequest(i.bl.API_ENDPOINTS.CUSTOMER_DATA,i.I5.GET,null,null,!0,i.bW.NONE,!1).catch(()=>{}).finally(()=>{this.sessionHeartbeatInFlight=!1,this.isUserLogged()&&!this.sessionExpiryHandled&&this._scheduleSessionHeartbeat()})}}_b64DecodeUnicode(e){try{return decodeURIComponent(Array.prototype.map.call(atob(e),e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""))}catch(t){return"error"}}}return e.\u0275fac=function(t){return new(t||e)(u.\u0275\u0275inject(o.f),u.\u0275\u0275inject(s.eN),u.\u0275\u0275inject(h.F0),u.\u0275\u0275inject(m.lw),u.\u0275\u0275inject(u.NgZone),u.\u0275\u0275inject(p.o),u.\u0275\u0275inject(g.o))},e.\u0275prov=u.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},52726:function(e,t,n){"use strict";n.d(t,{v2:function(){return r.v},F1:function(){return i.F},fK:function(){return s.f}}),n(84913);var r=n(12006),i=(n(95825),n(55198),n(45787)),s=n(31440)},66204:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(64762),i=n(9346),s=n(97245),o=n(74788);let a=(()=>{class e{constructor(){this.importedPublicKey=null}encryptPassword(e){return(0,r.mG)(this,void 0,void 0,function*(){const t=null==e?"":String(e);return"rsa"===s.L6.PASSWORD_ENCRYPTION?this._rsaEncrypt(t):i.V.hashStr(t).toString()})}_rsaEncrypt(e){return(0,r.mG)(this,void 0,void 0,function*(){const t=this._getSubtle();if(!t)throw new Error("Web Crypto (subtle) unavailable \u2014 cannot RSA-encrypt password.");const n=yield this._getPublicKey(t),r=(new TextEncoder).encode(e),i=yield t.encrypt({name:"RSA-OAEP"},n,r);return this._arrayBufferToBase64(i)})}_getPublicKey(e){if(!this.importedPublicKey){const t=this._base64ToArrayBuffer(s.V0);this.importedPublicKey=e.importKey("spki",t,{name:"RSA-OAEP",hash:"SHA-256"},!1,["encrypt"])}return this.importedPublicKey}_getSubtle(){const e="undefined"!=typeof globalThis&&globalThis.crypto||"undefined"!=typeof window&&window.crypto||null;return e&&e.subtle?e.subtle:null}_base64ToArrayBuffer(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n.buffer}_arrayBufferToBase64(e){const t=new Uint8Array(e);let n="";for(let r=0;r<t.length;r++)n+=String.fromCharCode(t[r]);return btoa(n)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},56965:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var r=n(45094),i=n(76889),s=n(74788);let o=(()=>{class e{constructor(){if(this.untilMs=0,this.timer=null,this._state=new r.X({active:!1,remainingMs:0}),this.state$=this._state.asObservable(),this._flash=new i.x,this.flash$=this._flash.asObservable(),this._isBrowser()){const t=parseInt(sessionStorage.getItem(e.STORAGE_KEY)||"0",10);t>Date.now()&&(this.untilMs=t,this._start())}}trigger(t){if(!this._isBrowser())return;const n=t&&t>0?t:e.DEFAULT_SECONDS;this.untilMs=Date.now()+1e3*n;try{sessionStorage.setItem(e.STORAGE_KEY,String(this.untilMs))}catch(r){}this._start()}clear(){if(this.untilMs=0,this.timer&&(clearInterval(this.timer),this.timer=null),this._isBrowser())try{sessionStorage.removeItem(e.STORAGE_KEY)}catch(t){}this._state.next({active:!1,remainingMs:0})}isActive(){return this.untilMs>Date.now()}remainingMs(){return Math.max(0,this.untilMs-Date.now())}flash(){this._flash.next()}_start(){this._tick(),this.timer||(this.timer=setInterval(()=>this._tick(),1e3))}_tick(){const t=this.remainingMs();if(t<=0){if(this.timer&&(clearInterval(this.timer),this.timer=null),this.untilMs=0,this._isBrowser())try{sessionStorage.removeItem(e.STORAGE_KEY)}catch(n){}this._state.next({active:!1,remainingMs:0})}else this._state.next({active:!0,remainingMs:t})}_isBrowser(){return"undefined"!=typeof window&&"undefined"!=typeof sessionStorage}}return e.STORAGE_KEY="bs429until",e.DEFAULT_SECONDS=180,e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},12006:function(e,t,n){"use strict";n.d(t,{v:function(){return d}});var r=n(12057),i=n(97245),s=n(31440),o=n(74788),a=n(84913),l=n(92599),c=n(91211);let d=(()=>{class e{constructor(e,t,n,r,i,s){this._httpService=e,this._router=t,this._platformLocation=n,this._title=r,this._meta=i,this._document=s,this.queryParams={},this._prerenderedBlogMetaPath=null,this._menuLoadRequested=!1,this._seoLoadsInFlight=new Set,this._inlineSeedCache=new Map,this.seoList={default:{filename:"seo",data:null},"/blog":{filename:"seo_blog",data:null},"/lower/":{filename:"seo_lower",data:null},"/outage/":{filename:"seo_outage",data:null}},this.initPage(!0)}initPage(e=!1){this.url=this._platformLocation.href,this.path=this._router.url,this._router.url.includes("#")&&(this.path=this._router.url.substring(0,this._router.url.indexOf("#"))),this.queryParams=this.getQueryParams(this.url),-1!==this.url.indexOf("?")&&(this.url=this.url.substring(0,this.url.indexOf("?"))),-1!==this.path.indexOf("?")&&(this.path=this.path.substring(0,this.path.indexOf("?"))),this.headerTransparent=i.yI.includes(this.path),this._applyHomeProviderQueryRobots(),e?s.f.afterWindowOnLoad(()=>this._initMenu()):(this._initSegment(),s.f.afterWindowOnLoad(()=>this._refreshMeta()))}_applyHomeProviderQueryRobots(){var e;"/"!==this.path||!(null===(e=this.queryParams)||void 0===e?void 0:e.provider)||this._meta.updateTag({name:"robots",content:"noindex,follow"})}getQueryParams(e=""){const t={};return-1!==e.indexOf("?")?e.substring(e.indexOf("?")).replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),(e,n,r,i)=>t[n]=i):e.indexOf("?"),t}
1_initMenu(){if(Array.isArray(this.menu)&&this.menu.length)return;const t=this._getInlineSeed(e.HOME_MENU_SEED_ID);Array.isArray(t)&&t.length?this.menu=JSON.parse(JSON.stringify(t)):this._menuLoadRequested||(this._menuLoadRequested=!0,this._httpService.jsonRequest("assets/json/menu.json").subscribe(e=>{this.menu=JSON.parse(JSON.stringify(e)),this._menuLoadRequested=!1},e=>{this._menuLoadRequested=!1}))}_loadSEO(e){if(!(null==e?void 0:e.filename)||e.data||this._seoLoadsInFlight.has(e.filename))return;const t=this._getPrerenderedCurrentPageSeo(e);t?this._refreshMetaData(t):(this._seoLoadsInFlight.add(e.filename),this._httpService.jsonRequest("assets/json/seo/"+e.filename+".json").subscribe(t=>{e.data=JSON.parse(JSON.stringify(t)),this._seoLoadsInFlight.delete(e.filename),this._refreshMeta(e)},t=>{this._seoLoadsInFlight.delete(e.filename)}))}_isDirectBlogPath(e=this.path){return!!e&&e.startsWith("/blogs/")&&-1===e.replace("/blogs/","").indexOf("/")}_shouldReusePrerenderedBlogMeta(e){var t,n,r,i,s,o;if(e!==this.seoList["/blog"]||!this._isDirectBlogPath())return!1;if(this._prerenderedBlogMetaPath)return this._prerenderedBlogMetaPath===this.path;const a=(null===(r=null===(n=null===(t=this._document)||void 0===t?void 0:t.querySelector("#canonical-url"))||void 0===n?void 0:n.getAttribute("href"))||void 0===r?void 0:r.trim())||"",l=(null===(s=null===(i=this._meta.getTag('name="description"'))||void 0===i?void 0:i.content)||void 0===s?void 0:s.trim())||"",c=(null===(o=this._title.getTitle())||void 0===o?void 0:o.trim())||"",d=a.replace(/^https?:\/\/[^/]+/i,""),u=!(!a||!l||!c||a!==this.url&&d!==this.path);return u&&(this._prerenderedBlogMetaPath=this.path),u}_humanizeCategorySlug(e=""){return(e||"").split("-").filter(e=>!!e).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}_buildDynamicBlogPaginationMeta(e=null){if(!e||!this.path)return null;const t=this.path.match(/^\/blogs\/pages\/(\d+)$/);if(t){const n=Number(t[1]);return{title:`Money Saving Ideas Blog - Page ${n} | BILLSHARK`,description:`${(e["/blogs"]||{}).description||"Need more tips for saving money? Our blog will show you how to lower your bills and save money in other areas of your budget. Start saving more today."} - Page ${n}`,canonical_url:"https://www.billshark.com/blogs",tags:{robots:"noindex"}}}const n=this.path.match(/^\/blogs\/categories\/([^/]+)\/pages\/(\d+)$/);if(n){const t=n[1],r=Number(n[2]),i=e[`/blogs/categories/${t}/all`]||{},s=this._humanizeCategorySlug(t),o=i.description||`Need more tips for saving money? Our blog are organized in categories making your search easier. Start saving more today. - ${s}`;return{title:`${(i.title||`Money Saving Ideas Blog - ${s} | BILLSHARK`).replace(/\s+\|\s*BILLSHARK$/i,"")} - Page ${r} | BILLSHARK`,description:`${o} - Page ${r}`,canonical_url:`https://www.billshark.com/blogs/categories/${t}/all`,tags:{robots:"noindex"}}}return null}_getInlineSeed(e=""){var t,n,r;if(!e)return null;if(this._inlineSeedCache.has(e))return this._inlineSeedCache.get(e);const i=(null===(r=null===(n=null===(t=this._document)||void 0===t?void 0:t.getElementById(e))||void 0===n?void 0:n.textContent)||void 0===r?void 0:r.trim())||"";if(!i)return this._inlineSeedCache.set(e,null),null;try{const t=JSON.parse(i);return this._inlineSeedCache.set(e,t),t}catch(s){return this._inlineSeedCache.set(e,null),null}}_getPrerenderedCurrentPageSeo(e){var t,n,r,i,s,o,a,l,c,d;if(e!==this.seoList.default||"/"!==this.path)return null;const u=(null===(t=this._title.getTitle())||void 0===t?void 0:t.trim())||"",h=(null===(r=null===(n=this._meta.getTag('name="description"'))||void 0===n?void 0:n.content)||void 0===r?void 0:r.trim())||"",m=(null===(o=null===(s=null===(i=this._document)||void 0===i?void 0:i.querySelector("#canonical-url"))||void 0===s?void 0:s.getAttribute("href"))||void 0===o?void 0:o.trim())||"",p=(null===(l=null===(a=this._meta.getTag('property="og:image"'))||void 0===a?void 0:a.content)||void 0===l?void 0:l.trim())||(null===(d=null===(c=this._meta.getTag('name="image"'))||void 0===c?void 0:c.content)||void 0===d?void 0:d.trim())||"",g=m.replace(/^https?:\/\/[^/]+/i,"")||"/";return u&&h&&m&&(m===this.url||g===this.path)?{title:u,description:h,canonical_url:m,image:p}:null}_refreshMeta(e=null){var t,n;if(!e){const t=Object.keys(this.seoList).filter(e=>"default"!==e&&this.path.startsWith(e));e=t.length?this.seoList[t[0]]:this.seoList.default}if(e.data){let t=e.data[this.path];t||(t=this._buildDynamicBlogPaginationMeta(e.data)),t||(t=e.data["/not-found"]),!t&&this.seoList.default.data&&(t=this.seoList.default.data["/not-found"]),!t&&this.path.startsWith("/blogs/")&&-1===this.path.replace("/blogs/","").indexOf("/")&&(t=this.seoList["/blog"].data["/blogs/not-found"]),t?this._refreshMetaData(t):this._loadSEO(this.seoList.default)}else{if(this._shouldReusePrerenderedBlogMeta(e))return void(this.canonical_url=(null===(n=null===(t=this._document)||void 0===t?void 0:t.querySelector("#canonical-url"))||void 0===n?void 0:n.getAttribute("href"))||this.url);this._loadSEO(e)}}_refreshMetaData(e){let t=e.canonical_url;if("_self"===t&&(t=this.url,e.query_params)){const n=Object.keys(this.queryParams).filter(t=>e.query_params.includes(t));n.length&&(t+="?"+n.map(e=>e+"="+this.queryParams[e]).join("&"))}this.canonical_url=t,this._title.setTitle(e.title),this._meta.updateTag({name:"description",content:e.description}
1),e.tags&&Object.keys(e.tags).forEach(t=>{this._meta.updateTag({name:t,content:e.tags[t]})});const n=this._document.querySelector("#canonical-url");n&&(t?n.setAttribute("href",t):n.removeAttribute("href")),this._refreshOpenGraphTags(e)}_refreshOpenGraphTags(e){const t=e.image||(this.path.startsWith("/blogs/")&&-1===this.path.replace("/blogs/","").indexOf("/")?"https://cdn.billshark.com/www3.0/static/image/blogs/jpg/medium"+this.path.substring(5)+".jpg":"https://cdn.billshark.com/www3.0/static/video/billshark_brand_video_poster.jpg");this._meta.updateTag({property:"og:type",content:e.og_type||("/"===this.path?"website":"article")}),this._meta.updateTag({property:"og:url",content:this.canonical_url}),this._meta.updateTag({property:"og:title",content:e.title}),this._meta.updateTag({property:"og:description",content:e.description}),this._meta.updateTag({name:"image",property:"og:image",content:t}),this._meta.updateTag({property:"og:image:secure_url",content:t}),this._meta.updateTag({name:"twitter:url",content:this.canonical_url}),this._meta.updateTag({name:"twitter:title",content:e.title}),this._meta.updateTag({name:"twitter:description",content:e.description}),this._meta.updateTag({name:"twitter:image",content:t})}_initSegment(){}isHamburgerMenu(){const e="undefined"!=typeof window?window.innerWidth:0,t=["/dashboard/summary","/dashboard/help"].includes(this.path);return this._httpService.isUserLogged()&&t?e<992:!(e>768&&this._httpService.isUserLogged()&&t)}isDashboardMockLayout(){return["/dashboard/summary","/dashboard/help"].includes(this.path)}ensureImagePreload(e,t){var n,r;if(!e||!t||!this._document)return;const i=this._document.head||(null===(r=(n=this._document).querySelector)||void 0===r?void 0:r.call(n,"head"));if(!i)return;const s=i.querySelector(`link[data-bs-preload="${e}"]`);if(s)return void(s.getAttribute("href")!==t&&s.setAttribute("href",t));const o=this._document.createElement("link");o.setAttribute("rel","preload"),o.setAttribute("as","image"),o.setAttribute("href",t),o.setAttribute("data-bs-preload",e),t.endsWith(".webp")&&o.setAttribute("type","image/webp"),i.appendChild(o)}}return e.HOME_MENU_SEED_ID="bs-home-menu-seed",e.\u0275fac=function(t){return new(t||e)(o.\u0275\u0275inject(a.O),o.\u0275\u0275inject(l.F0),o.\u0275\u0275inject(r.lw),o.\u0275\u0275inject(c.Title),o.\u0275\u0275inject(c.Meta),o.\u0275\u0275inject(r.K0))},e.\u0275prov=o.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},45787:function(e,t,n){"use strict";n.d(t,{F:function(){return m}});var r=n(74788),i=n(92599),s=n(12057),o=n(91211),a=n(12006),l=n(84913),c=n(55198),d=n(95825),u=n(31440),h=n(66204);let m=(()=>{class e{constructor(e,t,n,r,i,s,o,a,l,c,d){this._router=e,this._activatedRoute=t,this._location=n,this._sanitizer=r,this._seoService=i,this._httpService=s,this._storageService=o,this._cartService=a,this._utilService=l,this._passwordCrypto=c,this._ngZone=d}}return e.\u0275fac=function(t){return new(t||e)(r.\u0275\u0275inject(i.F0),r.\u0275\u0275inject(i.gz),r.\u0275\u0275inject(s.Ye),r.\u0275\u0275inject(o.DomSanitizer),r.\u0275\u0275inject(a.v),r.\u0275\u0275inject(l.O),r.\u0275\u0275inject(c.V),r.\u0275\u0275inject(d.N),r.\u0275\u0275inject(u.f),r.\u0275\u0275inject(h.o),r.\u0275\u0275inject(r.NgZone))},e.\u0275prov=r.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},55198:function(e,t,n){"use strict";n.d(t,{V:function(){return d}});var r=n(45094),i=n(97245),s=n(97268),o=n(74788),a=n(84913),l=n(12006);class c{constructor(){this.behaviorSubject=new r.X({loading:!1,data:null,page:0,total_pages:1}),this.observable=this.behaviorSubject.asObservable()}}let d=(()=>{class e{constructor(e,t){this._httpService=e,this._seoService=t,this.nomCategories={},this.featuredPost=[],this.customer={},this.referrals={},this.current_copy_right="2023",this.executed_current_copy_right=!0,this.homeProviderSeedPayload=void 0,this.categoriesRoute=[{name:"Acorns",route:"/blogs/categories/acorns"},{name:"Cable",route:"/blogs/categories/cable"},{name:"Cell Phone Bills",route:"/blogs/categories/cell-phone-bills"},{name:"College Tuition",route:"/blogs/categories/college-tuition"},{name:"Company News",route:"/blogs/categories/company-news"},{name:"Credit",route:"/blogs/categories/credit"},{name:"Customer Service",route:"/blogs/categories/customer-service"},{name:"Debt",route:"/blogs/categories/debt"},{name:"Entertainment",route:"/blogs/categories/entertainment"}
1,{name:"Financial Advice",route:"/blogs/categories/financial-advice"},{name:"Financial Security",route:"/blogs/categories/financial-security"},{name:"Home Budgeting & Finance",route:"/blogs/categories/home-budgeting-finance"},{name:"Insurance",route:"/blogs/categories/insurance"},{name:"Internet",route:"/blogs/categories/internet"},{name:"Internet Speed Test",route:"/blogs/categories/internet-speed-test"},{name:"Investing",route:"/blogs/categories/investing"},{name:"Lifestyle",route:"/blogs/categories/lifestyle"},{name:"Loans",route:"/blogs/categories/loans"},{name:"Mobile",route:"/blogs/categories/mobile"},{name:"Mobile Apps",route:"/blogs/categories/mobile-apps"},{name:"NerdWallet",route:"/blogs/categories/nerdwallet"},{name:"News",route:"/blogs/categories/news"},{name:"Politics",route:"/blogs/categories/politics"},{name:"Press",route:"/blogs/categories/press"},{name:"Real Estate",route:"/blogs/categories/real-estate"},{name:"Retirement",route:"/blogs/categories/retirement"},{name:"Savings Tips",route:"/blogs/categories/savings-tips"},{name:"Shark Tank",route:"/blogs/categories/shark-tank"},{name:"Sharks",route:"/blogs/categories/sharks"},{name:"Shopping",route:"/blogs/categories/shopping"},{name:"Social Media",route:"/blogs/categories/social-media"},{name:"Subscription Services",route:"/blogs/categories/subscription-services"},{name:"Taxes",route:"/blogs/categories/taxes"},{name:"Technology",route:"/blogs/categories/technology"},{name:"Television",route:"/blogs/categories/television"},{name:"Travel Tips",route:"/blogs/categories/travel-tips"},{name:"Wedding",route:"/blogs/categories/wedding"},{name:"Wireless",route:"/blogs/categories/wireless"}],this.categoryRoutesOrganizedAlpha=[{label:"A",categories:[{name:"Acorns",route:"/blogs/categories/acorns/all"}]},{label:"C",categories:[{name:"Cable",route:"/blogs/categories/cable/all"},{name:"Cell Phone Bills",route:"/blogs/categories/cell-phone-bills/all"},{name:"College Tuition",route:"/blogs/categories/college-tuition/all"},{name:"Company News",route:"/blogs/categories/company-news/all"},{name:"Credit",route:"/blogs/categories/credit/all"},{name:"Customer Service",route:"/blogs/categories/customer-service/all"}]},{label:"D",categories:[{name:"Debt",route:"/blogs/categories/debt/all"}]},{label:"E",categories:[{name:"Entertainment",route:"/blogs/categories/entertainment/all"}]},{label:"F",categories:[{name:"Financial Advice",route:"/blogs/categories/financial-advice/all"},{name:"Financial Security",route:"/blogs/categories/financial-security/all"}]},{label:"H",categories:[{name:"Home Budgeting & Finance",route:"/blogs/categories/home-budgeting-finance/all"}]},{label:"I",categories:[{name:"Insurance",route:"/blogs/categories/insurance/all"},{name:"Internet",route:"/blogs/categories/internet/all"},{name:"Internet Speed Test",route:"/blogs/categories/internet-speed-test/all"},{name:"Investing",route:"/blogs/categories/investing/all"}]},{label:"L",categories:[{name:"Lifestyle",route:"/blogs/categories/lifestyle/all"},{name:"Loans",route:"/blogs/categories/loans/all"}]},{label:"M",categories:[{name:"Mobile",route:"/blogs/categories/mobile/all"},{name:"Mobile Apps",route:"/blogs/categories/mobile-apps/all"}]},{label:"N",categories:[{name:"NerdWallet",route:"/blogs/categories/nerdwallet/all"},{name:"News",route:"/blogs/categories/news/all"}]},{label:"P",categories:[{name:"Politics",route:"/blogs/categories/politics/all"},{name:"Press",route:"/blogs/categories/press/all"}]},{label:"R",categories:[{name:"Real Estate",route:"/blogs/categories/real-estate/all"},{name:"Retirement",route:"/blogs/categories/retirement/all"}]},{label:"S",categories:[{name:"Savings Tips",route:"/blogs/categories/savings-tips/all"},{name:"Shark Tank",route:"/blogs/categories/shark-tank/all"},{name:"Sharks",route:"/blogs/categories/sharks/all"},{name:"Shopping",route:"/blogs/categories/shopping/all"},{name:"Social Media",route:"/blogs/categories/social-media/all"},{name:"Subscription Services",route:"/blogs/categories/subscription-services/all"}]},{label:"T",categories:[{name:"Taxes",route:"/blogs/categories/taxes/all"},{name:"Technology",route:"/blogs/categories/technology/all"},{name:"Television",route:"/blogs/categories/television/all"},{name:"Travel Tips",route:"/blogs/categories/travel-tips/all"}]},{label:"U",categories:[{name:"Uncategorized",route:"/blogs/categories/uncategorized/all"}]},{label:"W",categories:[{name:"Wedding",route:"/blogs/categories/wedding/all"},{name:"Wireless",route:"/blogs/categories/wireless/all"}]}
1],Object.values(i.$M).forEach(e=>{this.nomCategories[e]=new c}),this.nomFaq=new c,this.nomActivityFeed=new c,this.nomMarketPlaceOffers=new c,this.nomReviews=new c,this.nomRewards=new c,this.nomTickets=new c,this.nomReferrals=new c,this.blueRush=new c}getNomCategories(e=i.$M.NEGOTIATION,t=!1){const n=this.nomCategories[e],r=n.behaviorSubject,s=null==r?void 0:r.getValue(),o=!t&&this._nomCategoriesValueNeedsFullData(s,e);if(!(null==s?void 0:s.loading)&&(!(null==s?void 0:s.data)||t||o)){const o=t?null:this._getSeededNomCategoriesResponse(e);if(o)return this._hydrateNomCategoriesValue(s,o,e),s.loading=!1,r.next(s),n.observable;const a=i.bl.API_ENDPOINTS.PROVIDERS,l=i.I5.GET,c={service_request_type:e};(this._seoService.queryParams.partner_pt||this._seoService.queryParams.pt)&&(c.partner_pt=this._seoService.queryParams.partner_pt||this._seoService.queryParams.pt),s.loading=!0,r.next(s),this._httpService.httpRequest(a,l,c,null).then(t=>{const n=JSON.parse(JSON.stringify(t));this._hydrateNomCategoriesValue(s,n,e)}).catch(()=>{}).finally(()=>{s.loading=!1,r.next(s)})}return n.observable}hasSeededNomCategories(e=i.$M.NEGOTIATION){return!!this._getSeededNomCategoriesResponse(e)}_getSeededNomCategoriesResponse(t){var n,r,i,s;if(!this._canUseHomeProviderSeed(t)||null===this.homeProviderSeedPayload)return null;if(void 0!==this.homeProviderSeedPayload)return(null===(n=this.homeProviderSeedPayload)||void 0===n?void 0:n.response)?Object.assign(Object.assign({},this.homeProviderSeedPayload.response),{_seed_mode:this.homeProviderSeedPayload.seed_mode||null}):null;if("undefined"==typeof document)return this.homeProviderSeedPayload=null,null;const o=document.getElementById(e.HOME_PROVIDER_SEED_ID),a=null===(r=null==o?void 0:o.textContent)||void 0===r?void 0:r.trim();if(!a)return this.homeProviderSeedPayload=null,null;try{const e=JSON.parse(a),n=(null==e?void 0:e.bill_type)===t&&!(null==e?void 0:e.partner_pt)&&Array.isArray(null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.billers);this.homeProviderSeedPayload=n?e:null}catch(l){this.homeProviderSeedPayload=null}return(null===(s=this.homeProviderSeedPayload)||void 0===s?void 0:s.response)?Object.assign(Object.assign({},this.homeProviderSeedPayload.response),{_seed_mode:this.homeProviderSeedPayload.seed_mode||null}):null}_canUseHomeProviderSeed(e){return e===i.$M.NEGOTIATION&&this._isHomePath()&&!this._seoService.queryParams.partner_pt&&!this._seoService.queryParams.pt}_isHomePath(){var e;return"undefined"!=typeof window&&"/"===(null===(e=window.location)||void 0===e?void 0:e.pathname)}_nomCategoriesValueNeedsFullData(e,t){return t===i.$M.NEGOTIATION&&!this._isHomePath()&&this._hasMinimalHomeSeedProviders(null==e?void 0:e.data)}_hasMinimalHomeSeedProviders(e){if(!Array.isArray(e)||!e.length)return!1;const t=[...e];for(;t.length;){const e=t.shift();if(Array.isArray(null==e?void 0:e.providers)&&e.providers.some(e=>null==e?void 0:e.home_seed_minimal))return!0;Array.isArray(null==e?void 0:e.sub_categories)&&t.push(...e.sub_categories)}return!1}_getBillTypeFields(e){const t=[];switch(e){case i.$M.SWITCH:break;case i.$M.NEGOTIATION:t.push({name:"special_instructions",bill:!1,no_bill:!1})}return t}_hydrateNomCategoriesValue(t,n,r){var o;const a=this._getBillTypeFields(r),l={},c=(null==n?void 0:n._seed_mode)===e.HOME_PROVIDER_SEED_MODE_MINIMAL;n.providers=(n.billers||[]).map(e=>(e.provider_id=e.id,e.provider_name=e.name,e.security=e.security||{},e.categories=Array.isArray(e.categories)?e.categories:[],e.home_seed_minimal=c,e.fields=(e.fields||[]).map(e=>({name:i.Jd[e.name]?i.Jd[e.name]:e.name,no_bill:!!e.required_not_attachment&&!e.name.includes("address.street_2"),required:!!e.required_not_attachment&&!e.name.includes("address.street_2"),bill:e.required_attachment&&!e.name.includes("address.street_2")})),c||e.categories.forEach(t=>{l[t]?l[t].providers.push(e.provider_id):l[t]={category_id:t,category_label:t,category_name:t,providers:[e.provider_id]}}),e)),n.categories=c?[{category_id:r,category_label:r,category_name:r,providers:n.providers.map(e=>e.provider_id)}]:Object.keys(l).map(e=>l[e]);const d={};
1n.providers.forEach(e=>{e.fields=e.fields||[];const t=e.fields.concat(a).filter(e=>e.name).map(e=>Object.assign({},i._f[e.name],e));let n=[];t.filter(e=>"address"===e.type).forEach(e=>{const r=t.findIndex(t=>t.name===e.name+"_2");if(-1!==r){const n=t.splice(r,1);t.splice(t.findIndex(t=>t.name===e.name)+1,0,n[0])}n=n.concat(t.filter(t=>t.name.startsWith(e.name.slice(0,-7))&&t.name!==e.name&&t.name!==e.name+"_2").map(e=>e.name))}),e.fields=t.filter(e=>!n.includes(e.name)),d[e.provider_id]=e}),t.data=null===(o=n.categories)||void 0===o?void 0:o.map(e=>(this._loadProviders(d,e),(new s.N).deserialize(e)))}_getLowersArticle(e){const t=(e||"").trim().toLowerCase();return t&&(["adt","att","rcn","xfinity"].includes(t)||/^[aeiou]/.test(t))?"an":"a"}_applyLowersTemplate(e,t){if("string"!=typeof e)return"";const n=this._getLowersArticle(t);return e.replace(/{{\s*provider\s*}}/gi,t||"").replace(/{{\s*article\s*}}/gi,n)}_buildLowersItemsFromTemplate(e,t){return Array.isArray(e)?e.map(e=>({question:this._applyLowersTemplate(null==e?void 0:e.question,t),answer:this._applyLowersTemplate(null==e?void 0:e.answer,t)})):[]}_loadProviders(e,t){t.providers&&(t.providers=t.providers.map(t=>e[t]).filter(Boolean)),t.sub_categories&&t.sub_categories.forEach(t=>{this._loadProviders(e,t)})}getNomFaq(e=!1){const t=this.nomFaq,n=t.behaviorSubject,r=null==n?void 0:n.getValue();if(!(null==r?void 0:r.loading)&&(!(null==r?void 0:r.data)||e)){const e=i.bl.API_ENDPOINTS.FAQ,t=i.I5.GET;let s={operation_type:"negotiation"};r.loading=!0,n.next(r),this._httpService.httpRequest(e,t,s,null,!0,i.bW.FRONT_FACING).then(e=>{const t=JSON.parse(JSON.stringify(e)),n={articles:[],categories:["Negotiation"]};t.folders.forEach(e=>{e.articles.forEach(e=>{e.tags=e.tags?e.tags.filter(e=>"Insurance"!==e&&"Cancellation"!==e):[],n.articles.push(e)})}),r.data=n}).catch(()=>{r.data={articles:[],categories:["Cancellation","Negotiation"]}}).finally(()=>{r.loading=!1,n.next(r)})}return t.observable}getNomReferrals(e=!1,t){const n=this.nomReferrals,r=n.behaviorSubject,s=null==r?void 0:r.getValue();if(!(null==s?void 0:s.loading)&&(!(null==s?void 0:s.data)||e)){const e=i.bl.API_ENDPOINTS.REDEEM_REWARDS,n=i.I5.GET;s.loading=!0,r.next(s),this._httpService.httpRequest(e,n,t,null,null).then(e=>{const t=JSON.parse(JSON.stringify(e));s.data=t}).catch(()=>{s.loading=!1}).finally(()=>{s.loading=!1,r.next(s)})}return n.observable}getNomReviews(e=!1,t=!1){const n=this.nomReviews,r=n.behaviorSubject,i=null==r?void 0:r.getValue();return(null==i?void 0:i.data)&&(i.data.forEach(e=>{e.author.includes("Tamara Coleman")}),i.data=null),!(null==i?void 0:i.loading)&&(!(null==i?void 0:i.data)||e)&&(i.loading=!0,r.next(i),this._httpService.jsonRequest("assets/json/review.json").subscribe(e=>{i.data=JSON.parse(JSON.stringify(e)),i.loading=!1,r.next(i)},()=>{i.data=[],i.loading=!1,r.next(i)})),n.observable}getNomLowers(e=!1,t=!1,n=""){const r=this.nomRewards,i=r.behaviorSubject,s=null==i?void 0:i.getValue();return!(null==s?void 0:s.loading)&&(!(null==s?void 0:s.data)||e||(null==s?void 0:s.lowersPage)!==n)&&(s.loading=!0,s.lowersPage=n,i.next(s),t||this._httpService.jsonRequest("assets/json/lowers.json").subscribe(e=>{const t=JSON.parse(JSON.stringify(e));s.data=Array.isArray(t)?(t.find(e=>e.page===n)||{}).items||[]:this._buildLowersItemsFromTemplate((null==t?void 0:t.template)||[],n),s.loading=!1,i.next(s)},e=>{})),r.observable}getNomRewards(e=!1,t=!1){const n=this.nomRewards,r=n.behaviorSubject,i=null==r?void 0:r.getValue();return!(null==i?void 0:i.loading)&&(!(null==i?void 0:i.data)||e)&&(i.loading=!0,r.next(i),t||this._httpService.jsonRequest("assets/json/rewards.json").subscribe(e=>{i.data=JSON.parse(JSON.stringify(e)),i.loading=!1,r.next(i)},e=>{})),n.observable}getNomTickets(e=!1){const t=this.nomTickets,n=t.behaviorSubject,r=null==n?void 0:n.getValue(),s=i.bl.API_ENDPOINTS.TICKETS,o=i.I5.GET;return r.loading=!0,n.next(r),this._httpService.httpRequest(s,o,null,null).then(e=>{const t=JSON.parse(JSON.stringify(e));r.data=t.tickets}).catch(()=>{r.loading=!1}).finally(()=>{r.loading=!1,n.next(r)}),t.observable}getNomActivityFeed(e=!1){const t=this.nomActivityFeed,n=t.behaviorSubject,r=null==n?void 0:n.getValue();if(!(null==r?void 0:r.loading)&&(!(null==r?void 0:r.data)||e)){const e=i.bl.API_ENDPOINTS.ACTIVITY_FEED,t=i.I5.GET;r.loading=!0,n.next(r),this._httpService.httpRequest(e,t,{page:r.page+1},null).then(e=>{const t=e?JSON.parse(JSON.stringify(e)):null;
1!t||!t.activities||(t.activities.forEach(e=>{e.url&&(e.slug=e.url.split("/").filter(e=>e.length).pop())}),r.data=r.data?r.data.concat(t.activities):t.activities,r.total_pages=t.pages,r.page++)}).catch(()=>{r.loading=!1}).finally(()=>{r.loading=!1,n.next(r)})}return t.observable}getNomMarketPlaceOffers(e=!1){const t=this.nomMarketPlaceOffers,n=t.behaviorSubject,r=null==n?void 0:n.getValue();if(!(null==r?void 0:r.loading)&&(!(null==r?void 0:r.data)||e)){const e=i.bl.API_ENDPOINTS.MARKETPLACE,t=i.I5.GET;r.loading=!0,n.next(r),this._httpService.httpRequest(e,t,{page:r.page+1},null).then(e=>{const t=JSON.parse(JSON.stringify(e));r.data=r.data?r.data.concat(t.offers):t.offers,r.total_pages=t.pages,r.page++}).catch(()=>{r.loading=!1,n.next(r)}).finally(()=>{r.loading=!1,n.next(r)})}return t.observable}}return e.HOME_PROVIDER_SEED_ID="bs-home-provider-seed",e.HOME_PROVIDER_SEED_MODE_MINIMAL="minimal-home-providers-v1",e.\u0275fac=function(t){return new(t||e)(o.\u0275\u0275inject(a.O),o.\u0275\u0275inject(l.v))},e.\u0275prov=o.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},31440:function(e,t,n){"use strict";n.d(t,{f:function(){return p}});var r=n(74788),i=n(50270),s=n(97245),o=n(12057);const a={type:"success",msg:"bg-success text-light",btn:"text-light"},l={type:"error",msg:"bg-danger text-light",btn:"text-light"},c={type:"warning",msg:"bg-warning text-light",btn:"text-light"},d={type:"warning",msg:"bg-info text-light",btn:"text-light"},u={type:"primary",msg:"bg-primary text-light",btn:"text-light"},h={type:"secondary",msg:"bg-secondary text-light",btn:"text-light"},m={type:"api",msg:"bg-blue-50"};class p{constructor(e,t){this._document=e,this._platformId=t,this.toasts=[],this.sign_up=!1,this.sign_in=!1,this.growsurf_loading=!1,this.addBillModalOpen=!1,this.dashboardMenuLoading=!1,this.chash="",this.id="",this.selfAuth=0,this.change_modal_title=!1,this.faqListLoaded=!1,this.isPlatformServer=(0,o.PM)(this._platformId),this.isPlatformServer&&(s.L6.WINDOW_LOADED=!0)}controlPlayPauseCarousel(e){$("#"+e).carousel($("#"+e).data("pause")?"cycle":"pause"),$("#"+e).data("pause",!$("#"+e).data("pause"))}sanitizeRecord(e){return Object.keys(e||{}).forEach(t=>{[null,void 0,""].includes(e[t])?delete e[t]:"object"==typeof e[t]&&this.sanitizeRecord(e[t])}),e}navigateByUrl(e,t="_self"){window.open(e,t)}static afterWindowOnLoad(e){s.L6.WINDOW_LOADED||"undefined"!=typeof document&&"complete"===document.readyState?(s.L6.WINDOW_LOADED=!0,e()):window.addEventListener("load",()=>{s.L6.WINDOW_LOADED=!0,e()},{once:!0})}static getViewportWidth(){return"undefined"!=typeof window&&window?window.innerWidth:0}static isMobileScreen(e=p.TABLET_BREAKPOINT,t=!1){return!("undefined"==typeof window||!window)&&(t?window.innerWidth<=e:window.innerWidth<e)}isMobileScreen(e=p.TABLET_BREAKPOINT,t=!1){return p.isMobileScreen(e,t)}generateUUID(e=""){const t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";return e+(new Date).getTime().toString(16)+[].constructor(5).fill().map(()=>t[Math.floor(Math.random()*t.length)]).join("")}copyToClipboard(e){const t=this._document.createElement("textarea");t.style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",this._document.body.appendChild(t),t.focus(),t.value=e,t.select(),this._document.execCommand("copy")}unMaskField(e,t,n,r){return t&&(e=e.replace(t,n)),r&&(e=r(e)),e}validateForm(e,t=!1,n=!1){if(e.valid)return!0;{let r=!0;return Object.keys(e.controls).forEach(s=>{var o,a,l,c,d,u,h;e.controls[s]&&(e.controls[s]instanceof i.FormControl?((null===(o=e.controls[s])||void 0===o?void 0:o.value)&&((null===(a=e.controls[s])||void 0===a?void 0:a.value)instanceof String||"string"==typeof(null===(l=e.controls[s])||void 0===l?void 0:l.value))&&e.controls[s].setValue(null===(c=e.controls[s])||void 0===c?void 0:c.value.trim()),n&&e.controls[s].skippable_validation?null===(d=e.controls[s])||void 0===d||d.markAsUntouched({onlySelf:!0}):(null===(u=e.controls[s])||void 0===u||u.markAsTouched({onlySelf:!0}),(null===(h=e.controls[s])||void 0===h?void 0:h.valid)||(r=!1))):(e.controls[s]instanceof i.FormArray||e.controls[s]instanceof i.FormGroup)&&this.validateForm(e.controls[s],t)||(r=!1))}
1),t||this.focusFirstControl(Object.values(e.controls)),r}}validateControls(e,t=!1,n=!1){let r=!0;for(const i of e)i&&(i.markAsTouched(!0),i.valid||(r=!1));return t||this.focusFirstControl(Object.values(e),n),r}focusFirstControl(e=[],t=!1){const n=e.filter(e=>!e.valid&&e.nativeElement);if(n.length){const e=n.reduce(this._firstHtmlElement);e&&e.nativeElement.focus(),!t&&"undefined"!=typeof $&&setTimeout(()=>{n.forEach(e=>{const t=e.bsTooltipError,n=t&&(t.offsetWidth||t.offsetHeight||t.getClientRects&&t.getClientRects().length),r=$(t);n&&r&&"function"==typeof r.tooltip&&r.tooltip("show")})})}}createHtmlElement(e){const t=document.createElement("template");return t.innerHTML=e.trim(),t.content.firstChild}wrap(e,t){e.parentNode.insertBefore(t,e),t.appendChild(e)}_firstHtmlElement(e,t){if("undefined"!=typeof $){const n=$(e.nativeElement).offset(),r=$(t.nativeElement).offset();return n.top<r.top?e:r.top<n.top?t:n.left<r.left?e:r.left<n.left?t:e}}scrollToTop(e){e.scrollTop=0}scrollToBottom(e){e&&null!==e.scrollHeight&&(e.scrollTop=e.scrollHeight)}_scrollToElement(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}dismissAllSidebars(){Object.keys(s.lw).forEach(e=>s.lw[e]=!1),this._document.querySelector("body").style.overflow=""}
1loadScript(e,t=null){const n=[];return n.push(this._loadScript(e,t)),Promise.all(n)}ensureScriptLoaded(e,t=null){if(e.loaded)return Promise.resolve();const n=e.id||e.src||e.code,r=n?p.pendingScriptLoads.get(n):null;if(r)return r;const i=this.loadScript(e,t).then(()=>{});return n&&(p.pendingScriptLoads.set(n,i),i.finally(()=>{p.pendingScriptLoads.delete(n)})),i}ensureScriptsLoaded(e,t=null){return Promise.all((e||[]).map(e=>this.ensureScriptLoaded(e,t))).then(()=>{})}ensureVendor(){if(this.isPlatformServer)return Promise.resolve();if(p.vendorReady)return p.vendorReady;const e=window;return e.$&&e.$.fn&&e.$.fn.modal&&e.$.fn.collapse&&e.$.fn.dropdown?(p.vendorReady=Promise.resolve(),p.vendorReady):(p.vendorReady=this.ensureScriptLoaded(s.p_.JQUERY).then(()=>this.ensureScriptLoaded(s.p_.POPPER)).then(()=>this.ensureScriptLoaded(s.p_.BOOTSTRAP_UTIL)).then(()=>Promise.all([this.ensureScriptLoaded(s.p_.BOOTSTRAP_COLLAPSE),this.ensureScriptLoaded(s.p_.BOOTSTRAP_DROPDOWN),this.ensureScriptLoaded(s.p_.BOOTSTRAP_MODAL)])).then(()=>{}).catch(()=>{}).then(()=>p.flushVendorWaiters()),p.vendorReady)}whenVendorReady(){if(this.isPlatformServer)return Promise.resolve();if(p.vendorReady)return p.vendorReady;const e=window;return e.$&&e.$.fn&&e.$.fn.modal&&e.$.fn.collapse&&e.$.fn.dropdown?Promise.resolve():new Promise(e=>p.vendorReadyWaiters.push(e))}static flushVendorWaiters(){p.vendorReadyWaiters.splice(0).forEach(e=>{try{e()}catch(t){}})}
1_loadScript(e,t=null){return new Promise((n,r)=>{if(e.loaded&&e.src!==s.p_.BIRD_EYE.src)n(null);else{const r=this._document.createElement("script");if(r.type="text/javascript",e.src&&(r.src=e.src),e.data&&Object.keys(e.data).forEach(t=>r.setAttribute(t,e.data[t])),1==e.async&&(r.async=e.async),1==e.defer&&(r.defer=e.defer),e.id&&(r.id="auto-generate"===e.id?this.generateUUID():e.id),e.code&&(r.innerHTML=e.code),r.readyState?r.onreadystatechange=()=>{("loaded"===r.readyState||"complete"===r.readyState)&&(r.onreadystatechange=null,r.setAttribute("data-billshark-loaded","true"),e.loaded=!0,n(null))}:r.onload=()=>{r.setAttribute("data-billshark-loaded","true"),e.loaded=!0,n(null)},r.onerror=e=>n(null),t?document.getElementById(t)&&(document.getElementById(t).innerHTML="",document.getElementById(t).appendChild(r)):this._document.getElementsByTagName("head")[0].appendChild(r),e.src===s.p_.GROWSURF.src&&void 0!==window.growsurf){let e=setInterval(()=>{window.growsurf.getParticipantId&&(n(null),clearInterval(e))},500)}}})}initGoogleSignIn(e=!1){return new Promise((t,n)=>{if(!e&&window.google&&window.google.accounts)t(!0);else{const e=document.createElement("script");e.type="text/javascript",e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.onload=()=>{window.google&&window.google.accounts?t(!0):n(new Error("Google Identity Services failed to load."))},e.onerror=()=>{n(new Error("Failed to load Google Identity Services script."))},document.head.appendChild(e)}})}showCustomNotification(e,t,n,r){const i={type:e,title:t,msg:n,desc:r,created_time:Date.now()};return this.toasts.push(i),i}showSuccessNotification(e,t=null){return this.showCustomNotification(a,"Success",e,t)}_isSessionExpiryMessage(e){return[s.X3.ERR_ACTION_DENIED,s.X3.ERR_TOKEN_EXPIRED,s.X3.ERR_SESSION_EXPIRED].includes(e)}_shouldSuppressErrorNotification(e){return!(this.isPlatformServer||"undefined"==typeof window||!e||this._isSessionExpiryMessage(e))&&Number(window.__bsSuppressGenericErrorsUntil||0)>Date.now()}showErrorNotification(e,t=null){return this._shouldSuppressErrorNotification(e)?null:this.showCustomNotification(l,"Error",e,t)}getHandledError(e){const t=e&&e.status,n=null!=t?s.kx[t]:null;return n?{message:n.message,treatment:n.treatment,scope:n.scope}:null}showWarningNotification(e,t=null){return this.showCustomNotification(c,"Warning",e,t)}showInfoNotification(e,t=null){return this.showCustomNotification(d,"Info",e,t)}showPrimaryNotification(e,t=null){return this.showCustomNotification(u,"Primary",e,t)}showSecondaryNotification(e,t=null){return this.showCustomNotification(h,"Secondary",e,t)}showApiNotification(){if(!this.toasts.find(e=>"api"===e.type.type))return this.showCustomNotification(m,"Api","Request is taking longer than expected. Please wait...")}removeToast(e,t){if(e){const n=Date.now()-e.created_time,r=Math.max(t-n,0);setTimeout(()=>{const t=this.toasts.indexOf(e);-1!==t&&this.toasts.splice(t,1)},r)}}clearToasts(){this.toasts=[]}confirmed_page(e){this.sign_up=e}}p.pendingScriptLoads=new Map,p.vendorReady=null,p.vendorReadyWaiters=[],p.TABLET_BREAKPOINT=768,p.\u0275fac=function(e){return new(e||p)(r.\u0275\u0275inject(o.K0),r.\u0275\u0275inject(r.PLATFORM_ID))},p.\u0275prov=r.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})},79599:function(e,t,n){"use strict";n.d(t,{Sn:function(){return a},xc:function(){return l},T_:function(){return c},Y7:function(){return d}});var r=n(97245),i=n(50270),s=n(9346),o=n(45094);class a{static requiredAmount(){return e=>{const t=parseFloat(null==e?void 0:e.value);if(isNaN(t)||0===t)return{required:!0}}}static email(){return a.pattern(/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/,"email")}static zip(){return a.pattern(/^(\d{3,5}([-\s]?\d{4})?)|((?!.*[DFIOQU])[A-VXY][0-9][A-Z][ ]*[0-9][A-Z][0-9])$/,"zip")}static phone(){return a.pattern(/^\d{10}$/,"phone")}static ssn4(){return a.pattern(/^\d{4}$/,"ssn4")}static text(){return a.pattern(/^[a-zA-Z\s]*$/,"text")}static pin(e){return a.pattern(e?new RegExp(e):/^[A-Za-z0-9]+$/,"pin")}static instructions(){return a.pattern(/^[A-Za-z0-9\s\-\@\$\(\)\&\;\/\,\.\'\"\`\!\?\#\%\@\=\:]+$/,"special")}static promo_code(){return a.pattern(/^[a-zA-Z0-9._+-]+$/,"promo_code")}static date(){return a.pattern(/^(0?[1-9]|1[0-2])\/(0?[1-9]|1\d|2\d|3[01])\/(19|20|21)\d{2}$/,"date")}static dob(){return a.pattern(/^(0?[1-9]|1[0-2])\/(0?[1-9]|1\d|2\d|3[01])\/(19|20|21)\d{2}$/,"date",{dob:e=>{const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())&&t.getTime()<=(new Date).getTime()}})}static address(){return a.pattern(a.address_regexpPattern,"address")}static isValidAddress(e){if(!e)return!1;const t=e.trim();if(!a.address_regexpPattern.test(t))return!1;
1const n=t.replace(/\s+/g," ").split(/\s*,\s*/).filter(Boolean),r=new RegExp(`^${a.countryPattern}$`,"i"),i=new RegExp(`\\b${a.caProvincePattern}\\b`,"gi"),s=new RegExp(`\\b${a.countryPattern}\\b`,"gi"),o=n[n.length-1]||"",l=r.test(o),c=l?o:"",d=(n[l?n.length-2:n.length-1]||"").match(i);if(d&&d.length>1)return!1;const u=c.match(s);if(u&&u.length>1)return!1;const h=Math.max(0,n.length-(l?4:3)),m=n.slice(0,h),p=new RegExp(`^${a.addressLabelSegmentPattern}$`,"i");if(m.length>2||m.some(e=>!p.test(e)||/\b(?:${BsValidators.usStatePattern}|${BsValidators.caProvincePattern}|${BsValidators.countryPattern})\b/i.test(e)))return!1;for(let a=0;a<n.length-1;a++){const e=n[a].trim().toLowerCase(),t=n[a+1].trim().toLowerCase();if(e&&e===t)return!1}return!a.obviousPlaceholderStreetPattern.test(n[h]||"")}static couldBeUsOrCanadaAddress(e){const t=(e||"").trim();if(!t||!new RegExp(`\\b(?:${a.usStatePattern}|${a.caProvincePattern})\\b`,"i").test(t))return!1;const n=t.split(/\s*,\s*/).filter(Boolean).pop()||"",r=new RegExp(`^${a.countryPattern}$`,"i").test(n),i=/^[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff .'\u2019\-]{4,}$/.test(n),s=new RegExp(`^(?:${a.usStatePattern}|${a.caProvincePattern})$`,"i").test(n);return!(i&&!r&&!s)}static parseAddressList(e){return(e||"").split(/\r?\n/).map(e=>e.trim()).filter(e=>!!e)}static validateAddressList(e){const t=Array.from(new Set((e||[]).map(e=>(e||"").trim()).filter(Boolean))),n=[],r=[];return t.forEach(e=>{a.isValidAddress(e)?n.push(e):r.push(e)}),{total:t.length,passed:n,failed:r}}static address_city(e){return t=>{var n,r,i;if(t.value&&a.address_regexpPattern.test(t.value)&&(null===(n=null==e?void 0:e.bill_info)||void 0===n?void 0:n.bill_service_address_street)&&!(null===(i=null===(r=null==e?void 0:e.bill_info)||void 0===r?void 0:r.bill_service_address_street)||void 0===i?void 0:i.address_city))return{address:!0}}}static address_state(e){return t=>{var n,r,i,s,o;if(t.value&&a.address_regexpPattern.test(t.value)&&(null===(n=null==e?void 0:e.bill_info)||void 0===n?void 0:n.bill_service_address_street)&&(null===(i=null===(r=null==e?void 0:e.bill_info)||void 0===r?void 0:r.bill_service_address_street)||void 0===i?void 0:i.address_city)&&!(null===(o=null===(s=null==e?void 0:e.bill_info)||void 0===s?void 0:s.bill_service_address_street)||void 0===o?void 0:o.address_state))return{address:!0}}}static password(){return e=>{if(e.value){const t=r.m1.password.validation.filter(t=>!t.regex.test(e.value)).map(e=>e.key);if(t.length)return{password:t}}}}static radio(e){return t=>{if(e.invalid_values&&![null,void 0].includes(t.value)&&e.invali
1d_values[t.value])return{invalid:e.invalid_values[t.value]}}}static pattern(e,t,n=null){return r=>{if(r.value){const i={};if(e&&!e.test(r.value)&&(i[t]=!0),!i[t]&&n)for(const e of Object.keys(n))if(!n[e](r.value)){i[e]=!0;break}if(i)return i}}}}a.usStatePattern="(?:AL|AK|AS|AZ|AR|CA|CO|CT|DE|DC|FM|FL|GA|GU|HI|ID|IL|IN|IA|KS|KY|LA|ME|MH|MD|MA|MI|MN|MS|MO|MT|NE|NV|NH|NJ|NM|NY|NC|ND|MP|OH|OK|OR|PW|PA|PR|RI|SC|SD|TN|TX|UT|VT|VI|VA|WA|WV|WI|WY|Alabama|Alaska|Arizona|Arkansas|California|Colorado|Connecticut|Delaware|District of Columbia|Florida|Georgia|Hawaii|Idaho|Illinois|Indiana|Iowa|Kansas|Kentucky|Louisiana|Maine|Maryland|Massachusetts|Michigan|Minnesota|Mississippi|Missouri|Montana|Nebraska|Nevada|New Hampshire|New Jersey|New Mexico|New York|North Carolina|North Dakota|Ohio|Oklahoma|Oregon|Pennsylvania|Puerto Rico|Rhode Island|South Carolina|South Dakota|Tennessee|Texas|Utah|Vermont|Virginia|Washington|West Virginia|Wisconsin|Wyoming)",a.caProvincePattern="(?:AB|BC|MB|NB|NL|NS|NT|NU|ON|PE|QC|SK|YT|Alberta|British Columbia|Manitoba|New Brunswick|Newfoundland and Labrador|Nova Scotia|Ontario|Prince Edward Island|Quebec|Qu\xe9bec|Saskatchewan|Northwest Territories|Nunavut|Yukon)",a.usZipPattern="\\d{5}(?:-\\d{4})?",a.caPostalPattern="[ABCEGHJ-NPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z]\\s?\\d[ABCEGHJ-NPRSTV-Z]\\d",a.countryPattern="(?:US|USA|U\\.S\\.A\\.|United States(?: of America)?|Canada|CAN)",a.cityTokenPattern="[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff]+(?:[.'\u2019\\-]+[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff]+)*\\.?",a.cityPattern=`(?:${a.cityTokenPattern}\\s*){1,8}`,a.localityPattern=`(?:${a.cityPattern}|Lot\\s+\\d+[A-Za-z]?)`,a.unitValuePattern="[A-Za-z0-9-]+",a.unitPrefixPattern=`(?:(?:Suite|Ste|Unit|Apt|Apartment)\\s*#?\\s*${a.unitValuePattern}|#\\s*${a.unitValuePattern})\\s*[-,]?\\s*`,a.unitSuffixPattern=`(?:\\s*(?:#|Apt|Apartment|Unit|Suite|Ste|APP|UNIT)\\s*${a.unitValuePattern}|\\s+(?:${a.unitValuePattern})(?:st|nd|rd|th)\\s+floor|\\s+(?:Floor|Fl|Room|Rm|Penthouse|PH)\\s*${a.unitValuePattern}|\\s+[A-Za-z]{1,3}\\d{1,5})?`,a.streetTokenPattern="[A-Za-z0-9\xc0-\xd6\xd8-\xf6\xf8-\xff]+(?:[ .'\u2019\\-][A-Za-z0-9\xc0-\xd6\xd8-\xf6\xf8-\xff]+)*\\.?",a.directionalPattern="(?:N|S|E|W|NE|NW|SE|SW|O|North|South|East|West|Northeast|Northwest|Southeast|Southwest)",a.uspsSuffixPattern="(?:Avenue|Lane|Line|Road|Boulevard|Alley|Annex|Anex|Court|Mobile|Drive|Street|Arcade|Bayou|Beach|Bend|Bluff|Bluffs|Bottom|Branch|Brook|Brooks|Burg|Bypass|Camp|Canyon|Cape|Causeway|Center|Centers|Cir|Circle|Cliff|Cliffs|Club|Common|Commons|Corner|Corners|Course|Courts|Cove|Coves|Creek|Crescent|Crest|Crossing|Crossroad|Crossroads|Curve|Dale|Dam|Divide|Drives|Estate|Estates|Expressway|Extension|Extensions|Fall|Falls|Ferry|Field|Fields|Flat|Flats|Ford|Fords|Forest|Forge|Forges|Fork|Forks|Fort|Freeway|Garden|Gardens|Gateway|Glen|Glens|Green|Greens|Grove|Groves|Harbor|Harbors|Haven|Heights|Highway|Hill|Hills|Hollow|Inlet|Island|Islands|Isle|Junction|Junctions|Key|Keys|Knoll|Lake|Lakes|Land|Landing|Light|Lights|Loaf|Lock|Locks|Lodge|Loop|Mall|Manor|Manors|Meadow|Meadows|Mews|Mill|Mills|Mission|Motorway|Mount|Mountain|Mountains|Neck|Orchard|Oval|Overpass|Park|Parks|Parkway|Parkways|Pass|Passage|Path|Pike|Pine|Pines|Place|Plain|Plains|Plaza|Point|Points|Port|Ports|Private|Prairie|Radial|Ramp|Ranch|Rapid|Rapids|Rest|Ridge|Ridges|River|Roads|Route|Row|Rue|Run|Shoal|Shoals|Shore|Shores|Skyway|Spring|Springs|Spur|Spurs|Square|Squares|Station|Stravenue|Stream|Streets|Summit|Terrace|Throughway|Trace|Track|Trafficway|Trail|Trailer|Tunnel|Turnpike|Underpass|Union|Unions|Valley|Valleys|Viaduct|View|Views|Village|Villages|Ville|Vista|Walk|Walks|Wall|Way|Ways|Well|Wells|Ave|Ct|Dr|Rd|Blvd|Ln|St|Aly|Anx|Arc|Byu|Bch|Bnd|Blf|Blfs|Btm|Br|Brk|Brks|Bg|Byp|Cp|Cyn|Cpe|Cswy|Ctr|Ctrs|Cirs|Clf|Clfs|Clb|Cmn|Cmns|Cor|Cors|Crse|Cts|Cv|Cvs|Crk|Cres|Crst|Xing|Xrd|Xrds|Curv|Dl|Dm|Dv|Drs|Est|Ests|Expy|Ext|Exts|Fls|Fry|Fld|Flds|Flt|Flts|Frd|Frds|Frst|Frg|Frgs|Frk|Frks|Ft|Fwy|Gdn|Gdns|Gtwy|Gln|Glns|Grn|Grns|Grv|Grvs|Hbr|Hbrs|Hvn|Hts|Hwy|Hl|Hls|Holw|Inlt|Is|Iss|Jct|Jcts|Ky|Kys|Knl|Lk|Lks|Lndg|Lgt|Lgts|Lf|Lck|Lcks|Ldg|Mnr|Mnrs|Mdw|Mdws|Ml|Mls|Msn|Mtwy|Mt|Mtn|Mtns|Nck|Orchard|Opas|Pkwy|Psge|Pne|Pnes|Pl|Pln|Plns|Plz|Pt|Pts|Prt|Prts|Pr|Radl|Rnch|Rpd|Rpds|Rst|Rdg|Rdgs|Riv|Rds|Rte|Shr|Shrs|Skwy|Spg|Spgs|Sq|Sqs|Sta|Stra|Strm|Sts|Smt|Ter|Trwy|Trce|Trak|Trfy|Trl|Trlr|Tunl|Tpke|Upas|Un|Uns|Vly|Vlys|Via|Vw|Vws|Vlg|Vlgs|Vl|Vis|Wl|Wls|Broadway)",a.civicNumberPattern="\\d+(?:\\s+1\\/2)?(?:[A-Za-z](?=\\s|$)|-[A-Za-z](?=\\s|$)|-\\d+[A-Za-z]?)?",a.normalStreetPattern=`(?:(?:${a.streetTokenPattern}\\s*){1,10}
1(?:(?:${a.uspsSuffixPattern})(?:\\s+${a.directionalPattern})?|(?:${a.directionalPattern})\\s+(?:${a.streetTokenPattern}\\s*){1,10}(?:${a.uspsSuffixPattern})|(?:${a.uspsSuffixPattern})\\s+(?:${a.streetTokenPattern}\\s*){1,10}(?:\\s+${a.directionalPattern})?)|(?:${a.streetTokenPattern}\\s*){1,10})`,a.usLocationPattern=`(?:${a.usStatePattern})(?:\\s+${a.usZipPattern})?`,a.caLocationPattern=`(?:${a.caProvincePattern})(?:\\s+(?:${a.caPostalPattern}|${a.usZipPattern}))?`,a.locationPattern=`(?:${a.usLocationPattern}|${a.caLocationPattern})`,a.addressLabelTokenPattern="[A-Za-z0-9\xc0-\xd6\xd8-\xf6\xf8-\xff]+(?:[.'\u2019\\-][A-Za-z0-9\xc0-\xd6\xd8-\xf6\xf8-\xff]+)*\\.?",a.addressLabelSegmentPattern=`(?:${a.addressLabelTokenPattern}(?:\\s+${a.addressLabelTokenPattern}){0,4})`,a.addressLabelPrefixPattern=`(?:(?:${a.addressLabelSegmentPattern})(?:,\\s*|\\s+)){0,2}`,a.specialRoutePattern="(?:PO\\s+Box\\s+\\d+[A-Za-z]?|RR\\s+\\d+(?:\\s+Site\\s+\\d+)?\\s+Box\\s+\\d+[A-Za-z]?|HC\\s+\\d+\\s+Box\\s+\\d+[A-Za-z]?|General\\s+Delivery|Lot\\s+\\d+\\s+Concession\\s+\\d+[A-Za-z]?)",a.specialAddressPattern=`(?:${a.specialRoutePattern})(?:,\\s*|\\s+)${a.localityPattern}(?:,\\s*|\\s+)${a.locationPattern}(?:,?\\s*${a.countryPattern})?`,a.numberedStreetLinePattern=`(?:${a.civicNumberPattern})(?:\\s+)?(?:(?:${a.directionalPattern})\\s+)?(?:${a.streetTokenPattern}(?:\\s+${a.streetTokenPattern}){0,12})(?:\\s+${a.uspsSuffixPattern})?(?:\\s+${a.directionalPattern})?${a.unitSuffixPattern}`,a.namedStreetLinePattern=`(?:${a.streetTokenPattern}(?:\\s+${a.streetTokenPattern}){0,12})(?:\\s+${a.uspsSuffixPattern})?(?:\\s+${a.directionalPattern})?${a.unitSuffixPattern}`,a.routeStreetLinePattern=`(?:${a.namedStreetLinePattern})(?:\\s*-\\s*(?:${a.streetTokenPattern}(?:\\s+${a.streetTokenPattern}){0,8}|Lot\\s+\\d+[A-Za-z]?))?`,a.provincialRoadNamePattern="(?:Nova\\s+Scotia|Newfoundland\\s+and\\s+Labrador|Prince\\s+Edward\\s+Island|New\\s+Brunswick|British\\s+Columbia|Northwest\\s+Territories|Saskatchewan|Manitoba|Ontario|Quebec|Qu\xe9bec|Alberta|Nunavut|Yukon)\\s+\\d+[A-Za-z]?",a.provincialRoadStreetLinePattern=`(?:${a.civicNumberPattern})\\s+${a.provincialRoadNamePattern}${a.unitSuffixPattern}`,a.streetLinePattern=`(?:Box\\s+\\d+[A-Za-z]?(?:,\\s*|\\s+))?(?:(?:${a.unitPrefixPattern})?(?:${a.provincialRoadStreetLinePattern}|${a.numberedStreetLinePattern}|${a.routeStreetLinePattern})|(?:${a.unitPrefixPattern})(?:${a.namedStreetLinePattern}))`,a.extendedStreetLinePattern=`(?:${a.streetLinePattern})(?:\\s*(?:,)?\\s*(?:Lot\\s+\\d+[A-Za-z]?))?`,a.streetAddressPattern=`(?:${a.addressLabelPrefixPattern})?(?:${a.extendedStreetLinePattern})(?:,\\s*|\\s+)${a.localityPattern}(?:,\\s*|\\s+)${a.locationPattern}(?:,?\\s*${a.countryPattern})?`,a.address_regexpPattern=new RegExp(`^(?:${a.specialAddressPattern}|${a.streetAddressPattern})$`,"i"),a.obviousPlaceholderStreetPattern=new RegExp(`^\\s*${a.civicNumberPattern}\\s+(?:test|dummy|fake|invalid|sample)\\s+(?:${a.uspsSuffixPattern})\\b`,"i");class l{constructor(e){Object.assign(this,e)}getCustomerLeadData(){return{name:this.name,type:this.type,url:this.url,bill_image_url:this.bill_image_url}}}class c{constructor(){this.queryParams={},this.flag_payment_required=!0,this.on_hold_amount=0,this.billing_config={negotiation:{rate:40,rate_type:"Percentage",savings_range_considered:"all"},cancellation:{rate:5,rate_type:"Flat Rate"}},this.flag_payment_method_created=!1,this.flag_signup_process=!1,this.terms_and_condition=!1,this.bills=[],this.isRecording=!1,this.formUserInfo={form:null},this._initForms()}_initForms(){this._initUserInfoForm(),this._initUserTermsAndConditionsForm()}resetSocialLogin(){this.sl_provider=null,this._initForms()}getUserInitial(){return this.customer_first_name?this.customer_first_name.slice(0,1):""}getUserFullName(){return((this.customer_first_name?this.customer_first_name:"")+" "+(this.customer_last_name?this.customer_last_name:"")).replace(/^\s+|\s+$/g,"")}getSocialLoginSource(){return this.sl_provider?"Social Login - "+this.sl_provider:null}getMd5Psw(){return this.sl_provider?null:s.V.hashStr(this.customer_password).toString()}getTotalSavings(){return this.bills.reduce((e,t)=>
1e+(t.total_savings||0),0)}_initUserInfoForm(){this.formUserInfo.form&&"undefined"!=typeof $&&Object.keys(this.formUserInfo.form.controls).forEach(e=>{const t=$(this.formUserInfo.form.get(e).bsTooltipError);t&&"function"==typeof t.tooltip&&t.tooltip("hide")});const e=new i.FormBuilder,t={customer_first_name:[this.customer_first_name,[i.Validators.required,i.Validators.maxLength(64),a.text()]],customer_last_name:[this.customer_last_name,[i.Validators.required,i.Validators.maxLength(64),a.text()]],customer_email:[this.customer_email,[i.Validators.required,a.email()]],customer_contact_number:[this.customer_contact_number,[i.Validators.required,a.phone()]]};!this.sl_provider&&!this.transaction_id&&Object.assign(t,{customer_password:[this.customer_password,[i.Validators.required,a.password()]]}),this.formUserInfo.form=e.group(t),this._onChangesUserInfoForm()}_onChangesUserInfoForm(){this.formUserInfo.form.valueChanges.subscribe(e=>{Object.assign(this,e)},e=>{})}_initUserTermsAndConditionsForm(){this.terms_and_condition=!1;const e=new i.FormBuilder;this.formUserTermsAndConditions=e.group({terms_and_condition:[this.terms_and_condition,[i.Validators.requiredTrue]]}),this._onChangesUserTermsAndConditionsForm()}_onChangesUserTermsAndConditionsForm(){this.formUserTermsAndConditions.valueChanges.subscribe(e=>{Object.assign(this,e)},e=>{})}getCustomerLeadData(){return{queryParams:this.queryParams,customer_first_name:this.customer_first_name,customer_last_name:this.customer_last_name,customer_email:this.customer_email,customer_contact_number:this.customer_contact_number,phone_touched:this.customer_phone_touched,email_touched:this.customer_email_touched,terms_and_condition:this.terms_and_condition}}loadCustomerLeadData(e){return e.contact_number&&e.contact_number.startsWith("+1")&&(e.contact_number=e.contact_number.substr(2)),e.queryParams&&Object.keys(this.queryParams||{}).length&&Object.assign(e.queryParams,this.queryParams),e.email&&Object.assign(e,{transaction_id:e.customer_id,customer_first_name:e.first_name,customer_last_name:e.last_name,customer_email:e.email,customer_contact_number:e.contact_number,stripe_account_id:e.stripe_account_id}),Object.assign(this,e),this._initForms(),this}}class d{constructor(e=r.$M.NEGOTIATION,t={}){this.bill_images={},this.bill_info={},this.bill_info_from_contact={},this.touched_fields=[],this.provider_credentials={credential_user:"",credential_password:"",credential_transaction_id:"",is_credential_verified:!1,mfa_challenges:null},this.signUp={valid:!1,start:null,step:null,nav:{}},this.formBillInfo={form:null,behaviorSubject:new o.X(null),bill_image_choice:"no_bill"},this.formProviderCredentialsMFA={form:null},this.checkoutFormsInitialized=!1,this.estimateOnlyMode=!1,this.id=(new Date).getTime(),this.submitted=!1,e instanceof d?Object.assign(this,e.getCustomerLeadData(),{category:e.category,subcategory_home:e.subcategory_home,subcategory_auto:e.subcategory_auto,subcategory_auto_home:e.subcategory_auto_home,provider:e.provider}):Object.values(r.$M).includes(e)&&(this.bill_type=e),this.bill_images={},this._initNav(),this._initForms(!!t.estimateOnly)}getCategoryNameList(){const e=[];switch(this.bill_type){case r.$M.NEGOTIATION:this.category&&e.push(this.category.category_name);break;case r.$M.SWITCH:this.subcategory_auto_home?e.push(this.subcategory_auto_home.category_name):this.subcategory_home?e.push(this.subcategory_home.category_name):this.subcategory_auto&&e.push(this.subcategory_auto.category_name);break;default:this.provider&&e.push(this.provider.categories)}return e}getProviderName(){return this.provider?this.provider.provider_name:""}getTotalExpectedSavingsPerYear(){if(document.getElementById("bs-probability")&&this.expected_savings>0&&(document.getElementById("bs-probability").style.marginTop="0px"),!this.expected_savings)return-1;switch(this.bill_type){case r.$M.SWITCH:return 0;default:return 12*this.expected_savings}}getTotalExpectedSavings(e){switch(this.bill_type){case r.$M.SWITCH:return 0;default:return this.expected_savings*(e?1:this.getMaxEstimatedMonths())}}getTotalExpectedSavingsDescription(e){if(e)return"Monthly savings";switch(this.bill_type){case r.$M.SWITCH:return"Avg savings";default:return"Avg savings over "+this.provider.average_savings_length+" months"}}getBillsharkFee(){switch(this.bill_type){case r.$M.CANCELLATION:return 9;
1case r.$M.SWITCH:return 0;default:return.4*this.getTotalExpectedSavings(!1)}}getMaxEstimatedMonths(){return this.provider?this.provider.average_savings_length:12}_initNav(){if(this.bill_type){const e=JSON.parse(JSON.stringify(r.Hb[this.bill_type.toString().toUpperCase()]));this.signUp={valid:!0,start:e.START,step:e.START,nav:Object.assign({},e)}}}restartNav(){this.signUp.valid=!0,this.signUp.nav[this.signUp.start].next=null,this.signUp.step=this.signUp.start}prevStep(e=null,t=this.signUp.step,n=!0){t!==e&&t!==this.signUp.start&&(Object.keys(this.signUp.nav).includes(t)?(!e&&this.signUp.nav[t].prev&&(e=this.signUp.nav[t].prev),e&&(this.signUp.nav[t].prev=e,this.signUp.nav[e].next=t,n&&(this.signUp.step=e))):n&&(this.signUp.step=this.signUp.start))}nextStep(e=null,t=this.signUp.step,n=!0){t!==e&&(Object.keys(this.signUp.nav).includes(t)?(!e&&this.signUp.nav[t].next&&(e=this.signUp.nav[t].next),e&&(this.signUp.nav[t].next=e,this.signUp.nav[e].prev=t,n&&(this.signUp.step=e))):n&&(this.signUp.step=this.signUp.start))}_initForms(e=!1){this.estimateOnlyMode=e,this.signUp.valid=!0,this._initEstimateSavingsForm(),e?this.checkoutFormsInitialized=!1:this._initCheckoutForms()}_initCheckoutForms(){switch(this.bill_type){case r.$M.NEGOTIATION:this._initBillInfoForm(),this._initProviderCredentialsForm();break;case r.$M.CANCELLATION:this._initBillInfoForm();break;case r.$M.SWITCH:this._initBillInfoForm(),this._initBillTermsAndConditionsForm()}this.checkoutFormsInitialized=!0}ensureCheckoutFormsInitialized(){return this.checkoutFormsInitialized||this._initCheckoutForms(),this}_initEstimateSavingsForm(){const e=new i.FormBuilder,t={provider:[this.provider,[i.Validators.required]],monthly_payment:[this.monthly_payment,[i.Validators.max(1e4)]]};this.usesNegotiationCategoryControl()?Object.assign(t,{category:[this.category]}):this.bill_type===r.$M.SWITCH&&(this.category=r.Yu.INSURANCE,Object.assign(t,{category:[this.category,[i.Validators.required]],subcategory_auto:[this.subcategory_auto],subcategory_home:[this.subcategory_home],subcategory_auto_home:[this.subcategory_auto_home]})),this.formEstimateSavings=e.group(t),this._reloadEstimateSavingsForm(),this._onChangesEstimateSavingsForm()}_onChangesEstimateSavingsForm(){this.formEstimateSavings.valueChanges.subscribe(e=>{Object.assign(this,e)},e=>{}),this.usesNegotiationCategoryControl()&&this.formEstimateSavings.get("category").valueChanges.subscribe(e=>{this.category!==e&&(this.category=e,this.formEstimateSavings.get("provider").setValue(null)),this._reloadEstimateSavingsForm()},e=>{}),this.formEstimateSavings.get("provider").valueChanges.subscribe(e=>{this.provider!==e&&(this.provider=e,this.bill_type===r.$M.NEGOTIATION&&this.checkoutFormsInitialized&&this._resetProviderCredentialsForm()),this.checkoutFormsInitialized&&this._initBillInfoForm()},e=>{})}_reloadEstimateSavingsForm(){if(this.formEstimateSavings&&this.formEstimateSavings.get("provider")){if(this.usesNegotiationCategoryControl()&&!this.formEstimateSavings.get("category"))return void this.formEstimateSavings.get("provider").disable();this.formEstimateSavings.get("provider").enable()}}usesNegotiationCategoryControl(){return this.bill_type===r.$M.NEGOTIATION&&!this.estimateOnlyMode}_initProviderCredentialsForm(){this._initProviderCredentialsMFAForm();const e=new i.FormBuilder;this.formProviderCredentials=e.group({credential_user:[this.provider_credentials.credential_user,[]],credential_password:[this.provider_credentials.credential_password,[]]}),this._onChangesProviderCredentialsForm()}_onChangesProviderCredentialsForm(){this.formProviderCredentials.valueChanges.subscribe(e=>{Object.assign(this.provider_credentials,e)},e=>{})}_resetProviderCredentialsForm(){Object.assign(this.provider_credentials,{credential_user:"",credential_password:"",credential_transaction_id:"",is_credential_verified:!1,mfa_challenges:null}),this.formProviderCredentials&&this.formProviderCredentials.patchValue(this.provider_credentials)}_initProviderCredentialsMFAForm(e=null,t=null){this.formProviderCredentialsMFA.form=null,this.provider_credentials.mfa_challenges=e,e&&(this.formProviderCredentialsMFA.form=(new i.FormBuilder).group({mfas:new i.FormArray([])}
1),e.mfas.forEach(e=>{if(e.type===r.UA.MFA_CONFIRM)e.message=r.UA.MFA_CONFIRM;else if(e.type===r.UA.MFA_RECAPTCHA&&t){const n=t._utilService.createHtmlElement(e.challenge);n.parentNode.querySelectorAll(".billshark_recaptcha_image_block").forEach(e=>{const n=e.querySelector("img"),r=e.querySelector("input"),i=document.createElement("label");i.setAttribute("for",r.id),t._utilService.wrap(n,i),e.insertBefore(r,i)}),e.challenge=t._sanitizer.bypassSecurityTrustHtml(n.outerHTML)}this.formProviderCredentialsMFA.form.get("mfas").push((new i.FormBuilder).group({message:[e.message,[]]}))}),this.formProviderCredentialsMFA.form.valueChanges.subscribe(e=>{e.mfas.forEach((e,t)=>{Object.assign(this.provider_credentials.mfa_challenges.mfas[t],e)})},e=>{}))}_initBillInfoForm(){this.formBillInfo.form&&"undefined"!=typeof $&&Object.keys(this.formBillInfo.form.controls).forEach(e=>{const t=$(this.formBillInfo.form.get(e).bsTooltipError);t&&"function"==typeof t.tooltip&&t.tooltip("hide")});const e=new i.FormBuilder,t={};this.bill_type===r.$M.SWITCH&&(this.category=r.Yu.INSURANCE);const n={},s={};this.formBillInfo.bill_image_choice=Object.keys(this.bill_images).length?"bill":"no_bill",this.provider&&this.provider.fields&&this.provider.fields.forEach(e=>{if([!0,!1].includes(e[this.formBillInfo.bill_image_choice])||[!0,!1].includes(e.no_bill))if(e.copy_from_contact)s[e.name]=e.copy_from_contact;else switch(e.type){case"address":n[e.name]=Object.assign({address_street:"",address_city:"",address_state:"",address_zip:""},this.bill_info[e.name]),this._addFormControl(t,e,n[e.name].address_street);break;case"times_picker":n[e.name]=Object.assign({},this.bill_info[e.name]),e.fields.forEach(r=>{this._addFormControl(t,r,n[e.name][r.name],e.name)}),e.disableable&&(n[e.name].hasOwnProperty(e.name+"_disabled")||(n[e.name][e.name+"_disabled"]=e.disableable),this._addFormControl(t,{name:e.name+"_disabled",type:"checkbox"},n[e.name][e.name+"_disabled"],e.name));break;default:if(n[e.name]=this.bill_info[e.name],this._addFormControl(t,e,n[e.name]),"provider_passcode"===e.name){const e={placeholder:"Alternative PIN",type:"pin",class:["w-100"],ga:"ga_tooltip_provider_pin",name:"alternative_passcode",no_bill:!1,required:!1,bill:!1};n[e.name]=this.bill_info[e.name],this._addFormControl(t,e,n[e.name])}}}),this.bill_info=n,this.bill_info_from_contact=s,this.formBillInfo.form=e.group(t),this._onChangesBillInfoForm(),this.formBillInfo.behaviorSubject.next(!0)}_onChangesBillInfoForm(){this.formBillInfo.form.valueChanges.subscribe(e=>{Object.keys(e).forEach(t=>{if(r._f[t]&&"address"===r._f[t].type)delete e[t];else{const n=this.formBillInfo.form.get(t);n&&n.container&&(e[n.container]||(e[n.container]={}),e[n.container][t]=e[t],delete e[t])}}),Object.assign(this.bill_info,e)},e=>{})}_addFormControl(e,t,n,r=null){var s,o,l;const c=[];switch(t[this.formBillInfo.bill_image_choice]&&c.push(i.Validators.required),t.type){case"date":c.push(a.date());break;case"dob":c.push(a.dob());break;case"last4":c.push(a.ssn4());break;case"phone":c.push(a.phone());break;case"email":c.push(a.email());break;case"zip":c.push(a.zip());break;case"password":c.push(a.password());break;case"radio":c.push(a.radio(t));break;case"pin":c.push(a.pin(null===(l=null===(o=null===(s=this.provider.security)||void 0===s?void 0:s.passcode)||void 0===o?void 0:o.validation)||void 0===l?void 0:l.regex));case"text":case"textarea":c.push(a.instructions());break;case"address":c.push(a.address()),c.push(a.address_city(this))}if("checkbox"===t.type&&t.options){const s=new i.FormArray([]);t.options.forEach((e,t)=>{s.push(new i.FormControl(n&&n[t]))}),e[t.name]=Object.assign(s,{container:r})}else e[t.name]=Object.assign(new i.FormControl(n,c),{container:r})}_initBillTermsAndConditionsForm(){const e=new i.FormBuilder;this.formBillTermsAndConditions=e.group({terms_and_condition:[this.terms_and_condition,[i.Validators.requiredTrue]]}),this._onChangesBillTermsAndConditionsForm()}_onChangesBillTermsAndConditionsForm(){this.formBillTermsAndConditions.valueChanges.subscribe(e=>{Object.assign(this,e)},e=>{})}getCustomerLeadData(){return JSON.parse(JSON.stringify({id:this.id,bill_type:this.bill_type,category:this.category?this.category.getCustomerLeadData():null,subcategory_home:this.subcategory_home?this.subcategory_home.getCustomerLeadData():null,subcategory_auto:this.subcategory_auto?this.subcategory_auto.getCustomerLeadData():null,subcategory_auto_home:this.subcategory_auto_home?this.subcategory_auto_home.getCustomerLeadData():null,provider:this.provider?this.provider.getCustomerLeadData():null,monthly_payment:this.monthly_payment,expected_savings:this.expected_savings,business:this.business,average_savings_length:this.getMaxEstimatedMonths(),bill_info:this.bill_info,bill_info_from_contact:this.bill_info_from_contact,touched_fields:this.touched_fields,terms_and_condition:this.terms_and_condition,signUp:this.signUp}))}loadCustomerLeadData(e){return Object.assign(this,e),this._initForms(this.estimateOnlyMode),this}}},97268:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});class r{deserialize(e){return Object.assign(this,e),this.sub_categories?this.sub_categories=e.sub_categories.map(e=>(new r).deserialize(e)):this.providers&&(this.providers=e.providers.map(e=>(new i).deserialize(e))),this}toString(){return this.category_id}getCustomerLeadData(){return{category_id:this.category_id,category_name:this.category_name}}}class i{constructor(){this.security={}}deserialize(e){return this.average_savings_length=12,Object.assign(this,e),this}toString(){return this.provider_id}getCustomerLeadData(){return{provider_id:this.provider_id,provider_name:this.provider_name,service_category:this._category_label||(this.categories&&this.categories[0]?this.categories[0].category_name:null)||null}}}},44466:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var r=n(12057),i=n(92599),s=n(53904),o=n(74788);let a=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=o.\u0275\u0275defineInjector({providers:[],imports:[[r.ez,i.Bz,s.I],r.ez,i.Bz,s.I]}),e})()},79019:function(e,t,n){"use strict";var r=n(91211),i=n(74788),s=n(58497),o=n(92599),a=n(34689),l=n(64762),c=n(12057),d=n(97245),u=n(52726
1);let h=(()=>{class e{constructor(e,t){this._router=e,this._zone=t,this.started=!1,this.done=new Set,this.noLoader=new Set,this.loaderMap=null,this.io=null,this.mo=null,this.routerSubscription=null,this.viewportPreloadActive=!1,this.observed=new WeakSet}init(){this.started||"undefined"==typeof document||"undefined"==typeof window||(this.started=!0,this._zone.runOutsideAngular(()=>{const e=e=>{const t=e.target,n=t&&"function"==typeof t.closest?t.closest("a[href]"):null;n&&this.preloadPath(n.getAttribute("href")||"")},t={passive:!0,capture:!0};document.addEventListener("pointerover",e,t),document.addEventListener("pointerdown",e,t),document.addEventListener("focusin",e,t),this.routerSubscription=this._router.events.pipe((0,a.h)(e=>e instanceof o.m2)).subscribe(()=>this.updateViewportPreload(this._router.url)),this.updateViewportPreload(this._router.url)}))}updateViewportPreload(e){const t=this.normalize(e);if("/blogs"!==t&&!t.startsWith("/blogs/"))return void this.stopViewportPreload();if(this.viewportPreloadActive||!("IntersectionObserver"in window))return;this.viewportPreloadActive=!0,this.io=new IntersectionObserver(e=>{e.forEach(e=>{var t;if(e.isIntersecting){const n=e.target;null===(t=this.io)||void 0===t||t.unobserve(n),this.preloadPath(n.getAttribute("href")||"")}})},{rootMargin:"250px"});const n=()=>this.observePostLinks();"MutationObserver"in window&&(this.mo=new MutationObserver(()=>n()),this.mo.observe(document.body,{childList:!0,subtree:!0})),setTimeout(n,0)}stopViewportPreload(){var e,t;!this.viewportPreloadActive||(this.viewportPreloadActive=!1,null===(e=this.io)||void 0===e||e.disconnect(),this.io=null,null===(t=this.mo)||void 0===t||t.disconnect(),this.mo=null,this.noLoader.clear())}observePostLinks(){this.io&&document.querySelectorAll('a[href^="/blogs/"]:not([href*="/categories/"])').forEach(e=>{this.observed.has(e)||(this.observed.add(e),this.io.observe(e))})}preloadPath(e){const t=this.normalize(e);if(!t||this.done.has(t)||this.noLoader.has(t)||!/^\/blogs\/[a-z0-9-]+(?:\/[a-z0-9-]+)*$/i.test(t))return;const n=this.loaderFor(t);if(n){this.done.add(t);try{n()}catch(r){}}else this.noLoader.add(t)}loaderFor(e){return(!this.loaderMap||!this.loaderMap.has(e))&&this.buildLoaderMap(),this.loaderMap.get(e)||null}buildLoaderMap(){const e=new Map,t=(n,r)=>{(n||[]).forEach(n=>{var i;const s=String(n.path||"").split("/").filter(Boolean),o=[...r,...s],a=n.data&&n.data.module;"function"==typeof a&&e.set("/"+o.join("/"),a);const l=n.children||(null===(i=n._loadedConfig)||void 0===i?void 0:i.routes)||n._loadedRoutes;l&&t(l,o)})};t(this._router.config,[]),this.loaderMap=e}normalize(e){if(!e)return"";let t=e.trim();if(/^https?:\/\//i.test(t))try{t=new URL(t).pathname}catch(n){return""}return t=t.split("?")[0].split("#")[0],t=t.replace(/\/+$/,"")||"/",t.startsWith("/")?t:"/"+t}ngOnDestroy(){var e;this.stopViewportPreload(),null===(e=this.routerSubscription)||void 0===e||e.unsubscribe(),this.routerSubscription=null}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275inject(o.F0),i.\u0275\u0275inject(i.NgZone))},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var m=n(90670),p=n(45087);const g={label:"Home",url:"/"},_={label:"About Us",url:"/about-us"},f={label:"Blog",url:"/blogs"},b={"/bill-negotiation-services":[g,{label:"Bill Negotiation Services"}],"/negotiate-business-bills":[g,{label:"Bill Negotiation Services",url:"/bill-negotiation-services"},{label:"Business Bills"}],"/about-us":[g,{label:"About Us"}],"/our-team":[g,{label:"Our Team"}],"/careers":[g,{label:"Careers"}],"/careers/apply":[g,{label:"Careers",url:"/careers"},{label:"Apply"}],"/contact":[g,{label:"Contact"}],"/partners":[g,{label:"Partners"}],"/speedtest":[g,{label:"Speed Test"}],"/reviews":[g,{label:"Reviews"}],"/rewards":[g,{label:"Rewards"}],"/our-guarantee":[g,{label:"Our Guarantee"}],"/our-commitment-accessibility":[g,{label:"Accessibility"}],"/media-press":[g,{label:"Media & Press"}],"/support":[g,{label:"Help Center"}],"/download-bills":[g,{label:"Download Bills & Service Status"}],"/terms":[g,{label:"Terms of Service"}],"/privacy":[g,{label:"Privacy Policy"}],"/blogs":[g,{label:"Blog"}],"/author/steven-mckean":[g,f,{label:"Steven McKean"}],"/author/brian-keaney":[g,f,{label:"Brian Keaney"}],"/author/michel-mora":[g,f,{label:"Michel Mora"}],"/author/carolyn-depoto":[g,f,{label:"Carolyn Depoto"}]},v={"/careers":{"/about-us":_},"/careers/apply":{"/about-us":_}},S={wireless:"Phone & Wireless",internet:"Internet & Cable",cabletv:"Internet & Cable","home-security":"Home Security"},y=[g,{label:"Lower Your Bills",url:"/download-bills"}],E=[g,f],w=[g,f,{label:"All Categories",url:"/blogs/categories/all"}],C=[g,{label:"Download Bills & Service Status",url:"/download-bills"}],P=[g],T=["/login","/create-password","/reset-password","/forgot-password","/forgot-password-confirmation","/sign-in-without-password","/confirm-email","/resend-email","/resend-email-confirmation","/account","/dashboard","/settings","/secure","/upload","/payment","/confirmation-page","/redeem","/unsubscribe","/not-found","/review-u
1s","/varo","/bank-first","/smb","/vipkid","/you-decide"];let I=(()=>{class e{getTrail(e,t){var n;const r=this.getStructuralTrail(e);if(!r.length||!t)return r;const i=this.normalize(e),s=this.normalize(t),o=null===(n=v[i])||void 0===n?void 0:n[s];return!o||r.some(e=>e.url===o.url||e.label===o.label)?r:[r[0],Object.assign({},o),...r.slice(1)]}getStructuralTrail(e){const t=this.normalize(e);if(!t||"/"===t)return[];if(T.some(e=>t===e||t.startsWith(e+"/")))return[];if(b[t])return this.clone(b[t]);const n=t.split("/").filter(Boolean);if("lower"===n[0]&&n[1]){const e=n[1],t=S[e]||this.titleCase(e);return[...this.clone(y),{label:t}]}if("outage"===n[0])return n[1]?[...this.clone(C),{label:`${this.titleCase(n[1])} Service Status`}]:[...this.clone(P),{label:"Service Status"}];if("blogs"===n[0]&&n.length>1){if("categories"===n[1]){if(n.length<=2||"all"===n[2])return[...this.clone(E),{label:"All Categories"}];const e=`/blogs/categories/${n[2]}/all`,t=p.a.find(t=>t.route===e),r=t?t.name:this.titleCase(n[2]);return[...this.clone(w),{label:r}]}return[...this.clone(E),{label:this.titleCase(n[n.length-1])}]}return[...this.clone(P),{label:this.titleCase(n[n.length-1])}]}normalize(e){let t=(e||"").split("#")[0].split("?")[0].trim();return t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t}titleCase(e){return(e||"").split("-").filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}clone(e){return e.map(e=>Object.assign({},e))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var O=n(61869);function x(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"a",9),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275property("routerLink",e.url),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(e.label)}}function A(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"span",10),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext(),t=e.$implicit;i.\u0275\u0275attribute("aria-current",e.last?"page":null),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(t.label)}}function M(e,t){1&e&&(i.\u0275\u0275elementStart(0,"span",11),i.\u0275\u0275text(1,"\u203a"),i.\u0275\u0275elementEnd())}function R(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"li",5),i.\u0275\u0275template(1,x,2,2,"a",6),i.\u0275\u0275template(2,A,2,2,"ng-template",null,7,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275template(4,M,2,0,"span",8),i.\u0275\u0275elementEnd()),2&e){const e=t.$implicit,n=t.last,r=i.\u0275\u0275reference(3);i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.url&&!n)("ngIfElse",r),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",!n)}}function N(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"nav",1),i.\u0275\u0275elementStart(1,"div",2),i.\u0275\u0275elementStart(2,"ol",3),i.\u0275\u0275template(3,R,5,3,"li",4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext();i.\u0275\u0275advance(3),i.\u0275\u0275property("ngForOf",e.trail)("ngForTrackBy",e.trackByIndex)}}let k=(()=>{class e{constructor(e,t,n){this._router=e,this._breadcrumb=t,this._cdr=n,this.trail=[]}ngOnInit(){this.update(),this._previousUrl=this._router.url,this._sub=this._router.events.pipe((0,a.h)(e=>e instanceof o.m2)).subscribe(e=>{this.update(),this._previousUrl=e.urlAfterRedirects||e.url})}ngOnDestroy(){var e;null===(e=this._sub)||void 0===e||e.unsubscribe()}trackByIndex(e){return e}update(){this.trail=this.isDisabled()?[]:this._breadcrumb.getTrail(this._router.url,this._previousUrl),this._cdr.markForCheck()}isDisabled(){let e=this._router.routerState.root;for(;e;){if(e.snapshot.data&&!1===e.snapshot.data.breadcrumb)return!0;e=e.firstChild}return!1}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(o.F0),i.\u0275\u0275directiveInject(I),i.\u0275\u0275directiveInject(i.ChangeDetectorRef))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["app-breadcrumb"]],decls:1,vars:1,consts:[["class","bs-breadcrumb","aria-label","Breadcrumb",4,"ngIf"],["aria-label","Breadcrumb",1,"bs-breadcrumb"],[1,"container"],[1,"crumbs"],["class","crumb",4,"ngFor","ngForOf","ngForTrackBy"],[1,"crumb"],["class","crumb-link","queryParamsHandling","preserve",3,"routerLink",4,"ngIf","ngIfElse"],["plain",""],["class","crumb-sep","aria-hidden","true",4,"ngIf"],["queryParamsHandling","preserve",1,"crumb-link",3,"routerLink"],[1,"crumb-text"],["aria-hidden","true",1,"crumb-sep"]],template:function(e,t){1&e&&i.\u0275\u0275template(0,N,4,2,"nav",0),2&e&&i.\u0275\u0275property("ngIf",t.trail.length)},directives:[c.O5,c.sg,o.yS,O.j],styles:[".bs-breadcrumb[data-_ngcontent-%COMP%]{background:#fff;margin-top:var(--header-height)}.crumbs[data-_ngcontent-%COMP%]{list-style:none;margin:0;padding:14px 0;display:flex;flex-wrap:wrap;align-items:center;min-height:46px;font-size:13px;line-height:1.4;color:#556475}.crumb[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center}.crumb-link[data-_ngcontent-%COMP%]{color:#1f5fae;text-decoration:none;border-radius:3px}.crumb-link[data-_ngcontent-%COMP%]:hover, .crumb-link[data-_ngcontent-%COMP%]:focus{text-decoration:underline}.crumb-link[data-_ngcontent-%COMP%]:focus-visible{outline:2px solid #1f5fae;outline-offset:2px}.crumb-text[data-_ngcontent-%COMP%]{color:#556475}.crumb-sep[data-_ngcontent-%COMP%]{margin:0 8px;color:#556475}"],changeDetection:0}),e})();var L=n(36323);const D={contact:"2026-06-12","our-team":"2026-06-12"},F="bs_new_seen";let B=(()=>{class e{constructor(e){this.platformId=e}transform(e,t=6e5){if(!(0,c.NF)(this.platformId)||!e)return!1;const n=D[e];if(!n)return!1;const r=e+"@"+n;let i={};try{i=JSON.parse(localStorage.getItem(F)||"{}")||{}}catch(o){i={}}const s=Date.now();if(null==i[r]){i[r]=s;try{localStorage.setItem(F,JSON.stringify(i))}catch(o){}return!0}return s-i[r]<t}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(i.PLATFORM_ID,16))},e.\u0275pipe=i.\u0275\u0275definePipe({name:"isNew",type:e,pure:!0}),e})();function U(e,t){1&e&&(i.\u0275\u0275elementStart(0,"span",44),i.\u0275\u0275text(1,"NEW"),i.\u0275\u0275elementEnd())}function H(e,t){1&e&&(i.\u0275\u0275elementStart(0,"span",44),i.\u0275\u0275text(1,"NEW"),i.\u0275\u0275elementEnd())}const j=function(){return["/blogs/categories/acorns/all"]},q=function(){return["/blogs/categories/college-tuition/all"]},V=function(){return["/blogs/categories/entertainment/all"]},G=function(){return["/blogs/categories/mobile/all"]},z=function(){return["/blogs/categories/nerdwallet/all"]},W=function(){return["/blogs/categories/press/all"]},K=function(){return["/blogs/categories/shark-tank/all"]},Y=function(){return["/blogs/categories/sharks/all"]},J=function(){return["/blogs/categories/social-media/all"]},Z=function(){return["/blogs/categories/uncategorized/all"]},Q=function(){return["/blogs/categories/wedding/all"]},X=function(){return["/"]},ee=function(){return{provider:"Fairpoint"}},te=function(){return{provider:"Spectrum"}},ne=function(){return{provider:"Terminix"}},re=function(){return["/bill-negotiation-services"]},ie=function(){return["/negotiate-business-bills"]},se=function(){return["/download-bills"]},oe=function(){return["/our-team"]},ae=function(){return["/about-us"]},le=function(){return["/careers"]},ce=function(){return["/reviews"]},de=function(){return["/our-guarantee"]},ue=function(){return["/rewards"]},he=function(){return["/contact"]},me=function(){return["/partners"]},pe=function(){return["/media-press"]},ge=function(){return["/terms"]},_e=function(){return["/privacy"]};let fe=(()=>{class e{constructor(e,t){this._shared=e,this.cdr=t,this.executed=!1,this.address="",this.executed=this._shared._storageService.executed_current_copy_right}ngOnInit(){this.executed&&this.getYear()}ngAfterViewChecked(){"undefined"!=typeof window&&this.address!==window.location.href&&(this.address=window.location.href)}openCookieSettings(e){if(e&&e.preventDefault(),"undefined"==typeof window)return;const t=window;"function"==typeof t.BsReopenBanner?t.BsReopenBanner():t.Cookiebot&&"function"==typeof t.Cookiebot.renew&&t.Cookiebot.renew()}getYear(){const e=new Date;this._shared._storageService.current_copy_right=e.getUTCFullYear().toString(),this.cdr.detectChanges()}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(u.F1),i.\u0275\u0275directiveInject(i.ChangeDetectorRef))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["app-footer"]],decls:153,vars:126,consts:[["id","footer",2,"z-index","2"],[1,"sr-only"],["aria-label","Blog category archive links",1,"sr-only"],[3,"routerLink"],[3,"routerLink","queryParams"],[1,"footer-wrap"],[1,"footer-cols"],[1,"footer-brand"],["aria-label","Billshark Home Page","t
1itle","Billshark Home Page",1,"footer-logo","text-decoration-none",3,"routerLink","queryParamsHandling"],["width","24","height","24","src","assets/bs-favicon-legacy-dark.png","alt","","aria-hidden","true",1,"footer-shark"],["width","121","height","18","src","assets/images/svg/billshark-logo.svg","alt","","aria-hidden","true",1,"footer-wordmark"],[1,"footer-desc"],[1,"footer-apps","mobile-apps"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://apps.apple.com/us/app/billshark-app/id1511593668?ls=1","aria-label","Download on the App Store",1,"text-decoration-none","d-inline-block"],[1,"footer-app"],["width","14","height","14","viewBox","0 0 24 24","aria-hidden","true","focusable","false",1,"footer-app-ic"],["d","M17.05 12.04c-.03-2.6 2.12-3.85 2.22-3.91-1.21-1.77-3.1-2.01-3.77-2.04-1.6-.16-3.12.94-3.93.94-.81 0-2.06-.92-3.39-.89-1.74.03-3.35 1.01-4.25 2.57-1.81 3.14-.46 7.78 1.3 10.32.86 1.24 1.89 2.63 3.23 2.58 1.3-.05 1.79-.84 3.36-.84 1.57 0 2.01.84 3.39.81 1.4-.03 2.29-1.27 3.14-2.51.99-1.44 1.4-2.83 1.42-2.9-.03-.01-2.72-1.05-2.75-4.15zM14.6 4.59c.72-.87 1.2-2.08 1.07-3.29-1.03.04-2.28.69-3.02 1.56-.66.77-1.24 2-1.09 3.18 1.15.09 2.32-.58 3.04-1.45z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://play.google.com/store/apps/details?id=com.billshark.clientapp","aria-label","Get it from Google Play",1,"text-decoration-none","d-inline-block"],["d","M4 2.5 17 10 4 17.5z"],[1,"footer-social"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.facebook.com/BillShark-719644424824267/timeline","aria-label","Follow Billshark on Facebook",1,"text-decoration-none"],["width","20","height","20","viewBox","0 0 24 24","aria-hidden","true","focusable","false"],["d","M13 22v-9h3l.5-3.5H13V7.3c0-1 .3-1.7 1.8-1.7H17V2.4C16.6 2.3 15.4 2.2 14 2.2c-2.9 0-4.9 1.8-4.9 5V9.5H6V13h3v9h4z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.instagram.com/realbillshark/","aria-label","Follow Billshark on Instagram",1,"text-decoration-none"],["d","M12 2.2c3.2 0 3.6 0 4.9.1 1.2.1 1.8.3 2.2.4.6.2 1 .5 1.4.9.4.4.7.8.9 1.4.2.4.4 1 .4 2.2.1 1.3.1 1.7.1 4.9s0 3.6-.1 4.9c-.1 1.2-.3 1.8-.4 2.2-.2.6-.5 1-.9 1.4-.4.4-.8.7-1.4.9-.4.2-1 .4-2.2.4-1.3.1-1.7.1-4.9.1s-3.6 0-4.9-.1c-1.2-.1-1.8-.3-2.2-.4a3.8 3.8 0 0 1-1.4-.9 3.8 3.8 0 0 1-.9-1.4c-.2-.4-.4-1-.4-2.2-.1-1.3-.1-1.7-.1-4.9s0-3.6.1-4.9c.1-1.2.3-1.8.4-2.2.2-.6.5-1 .9-1.4.4-.4.8-.7 1.4-.9.4-.2 1-.4 2.2-.4 1.3-.1 1.7-.1 4.7-.1zM12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0 8.2A3.2 3.2 0 1 1 12 8.8a3.2 3.2 0 0 1 0 6.4zM17.4 6.8a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://twitter.com/realbillshark","aria-label","Follow Billshark on X",1,"text-decoration-none"],["d","M17.5 3h3l-6.6 7.5L21.8 21h-6l-4.7-6.1L5.7 21H2.6l7-8L2.2 3h6.1l4.2 5.6L17.5 3zm-1 16h1.7L7.6 4.8H5.8L16.5 19z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.linkedin.com/company/realbillshark/","aria-label","Follow Billshark on LinkedIn",1,"text-decoration-none"],["d","M4.98 3.5A2.5 2.5 0 1 1 0 3.5a2.5 2.5 0 0 1 4.98 0zM.2 8.4h4.6V24H.2zM8.2 8.4h4.4v2.1h.1c.6-1.1 2.1-2.3 4.3-2.3 4.6 0 5.5 3 5.5 6.9V24h-4.6v-6.9c0-1.6 0-3.7-2.3-3.7s-2.6 1.8-2.6 3.6V24H8.2z"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.tiktok.com/@realbillshark","aria-label","Follow Billshark on TikTok",1,"text-decoration-none"],["d","M16.5 2c.3 2.1 1.5 3.7 3.5 4v2.4c-1.2 0-2.4-.4-3.5-1.1v6.9c0 3.4-2.7 6.1-6 6.1s-6-2.7-6-6 2.7-6 6-6c.3 0 .6 0 .9.1v2.5c-.3-.1-.6-.2-.9-.2a3.6 3.6 0 1 0 3.6 3.6V2h2.4z"],[1,"footer-col"],[1,"footer-title"],[1,"footer-item"],["bsAriaCurrent","",1,"text-decoration-none",3,"routerLink","queryParamsHandling"],["class","footer-new",4,"ngIf"],[1,"footer-bottom"],[1,"footer-copy-line"],["target","_blank","title","opens in a new window","rel","noopener noreferrer","href","https://www.apexedge.com"],["bsAriaCurrent","","aria-label","Billshark Terms",3,"routerLink","queryParamsHandling"],["bsAriaCurrent","","aria-label","Billshark Privacy Policy",3,"routerLink","queryParamsHandling"],["href","#","aria-label","Cookie settings",3,"click"],[1,"footer-legal-line"],["href","tel:+18009571710"],[1,"footer-new"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"footer",0),i.\u0275\u0275elementStart(1,"p",1),i.\u0275\u0275text(2," Billshark helps lower internet, wireless, cable, satellite radio, and other monthly bills. "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"p",1),i.\u0275\u0275text(4," Our experts handle providers for customers and share updates throughout the process. "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"p",1),i.\u0275\u0275text(6," Customers pay only when Billshark finds savings on eligible bills. "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(7,"nav",2),i.\u0275\u0275elementStart(8,"a",3),i.\u0275\u0275text(9,"Acorns articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"a",3),i.\u0275\u0275text(11,"College tuition articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(12,"a",3),i.\u0275\u0275text(13,"Entertainment articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"a",3),i.\u0275\u0275text(15,"Mobile articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(16,"a",3),i.\u0275\u0275text(17,"NerdWallet articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(18,"a",3),i.\u0275\u0275text(19,"Press articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(20,"a",3),i.\u0275\u0275text(2
11,"Shark Tank articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(22,"a",3),i.\u0275\u0275text(23,"Sharks articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(24,"a",3),i.\u0275\u0275text(25,"Social media articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(26,"a",3),i.\u0275\u0275text(27,"Uncategorized articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(28,"a",3),i.\u0275\u0275text(29,"Wedding articles"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(30,"a",4),i.\u0275\u0275text(31,"Fairpoint bill savings"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(32,"a",4),i.\u0275\u0275text(33,"Spectrum bill savings"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(34,"a",4),i.\u0275\u0275text(35,"Terminix bill savings"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(36,"div",5),i.\u0275\u0275elementStart(37,"div",6),i.\u0275\u0275elementStart(38,"div",7),i.\u0275\u0275elementStart(39,"a",8),i.\u0275\u0275element(40,"img",9),i.\u0275\u0275element(41,"img",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(42,"p",11),i.\u0275\u0275text(43," Billshark helps lower internet, wireless, cable, satellite radio, and other monthly bills. Our experts handle providers for you, and you pay only when we find savings. "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(44,"div",12),i.\u0275\u0275elementStart(45,"a",13),i.\u0275\u0275elementStart(46,"span",14),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(47,"svg",15),i.\u0275\u0275element(48,"path",16),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(49," App Store "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(50,"a",17),i.\u0275\u0275elementStart(51,"span",14),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(52,"svg",15),i.\u0275\u0275element(53,"path",18),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(54," Google Play "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(55,"div",19),i.\u0275\u0275elementStart(56,"a",20),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(57,"svg",21),i.\u0275\u0275element(58,"path",22),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(59,"a",23),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(60,"svg",21),i.\u0275\u0275element(61,"path",24),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(62,"a",25),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(63,"svg",21),i.\u0275\u0275element(64,"path",26),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(65,"a",27),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(66,"svg",21),i.\u0275\u0275element(67,"path",28),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(68,"a",29),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(69,"svg",21),i.\u0275\u0275element(70,"path",30),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(71,"div",31),i.\u0275\u0275elementStart(72,"div",32),i.\u0275\u0275text(73,"Bill Negotiation"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(74,"div",33),i.\u0275\u0275elementStart(75,"a",34),i.\u0275\u0275text(76,"All Negotiation Services"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(77,"div",33),i.\u0275\u0275elementStart(78,"a",34),i.\u0275\u0275text(79,"Corporate / Business Billing"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(80,"div",33),i.\u0275\u0275elementStart(81,"a",34),i.\u0275\u0275text(82,"Find Your Provider"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(83,"div",31),i.\u0275\u0275elementStart(84,"div",32),i.\u0275\u0275text(85,"Company"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(86,"div",33),i.\u0275\u0275elementStart(87,"a",34),i.\u0275\u0275text(88,"Our Team "),i.\u0275\u0275template(89,U,2,0,"span",35),i.\u0275\u0275pipe(90,"isNew"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(91,"div",33),i.\u0275\u0275elementStart(92,"a",34),i.\u0275\u0275text(93,"About Us"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(94,"div",33),i.\u0275\u0275elementStart(95,"a",34),i.\u0275\u0275text(96,"Careers"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(97,"div",33),i.\u0275\u0275elementStart(98,"a",34),i.\u0275\u0275text(99,"Reviews"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(100,"div",33),i.\u0275\u0275elementStart(101,"a",34),i.\u0275\u0275text(102,"Mark Cuban Backed"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(103,"div",31),i.\u0275\u0275elementStart(104,"div",32),i.\u0275\u0275text(105,"Need Help?"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(106,"div",33),i.\u0275\u0275elementStart(107,"a",34),i.\u0275\u0275text(108,"Our Guarantee"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(109,"div",33),i.\u0275\u0275elementStart(110,"a",34),i.\u0275\u0275text(111,"Customer Success"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(112,"div",33),i.\u0275\u0275elementStart(113,"a",34),i.\u0275\u0275text(114,"Reward Support"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(115,"div",33),i.\u0275\u0275elementStart(116,"a",34),i.\u0275\u0275text(117,"Accessibility"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(118,"div",31),i.\u0275\u0275elementStart(119,"div",32),i.\u0275\u0275text(120,"Connect"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(121,"div",33),i.\u0275\u0275elementStart(122,"a",34),i.\u0275\u0275text(123,"Contact "),i.\u0275\u0275template(124,H,2,0,"span",35),i.\u0275\u0275pipe(125,"isNew"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(126,"div",33),i.\u0275\u0275elementStart(127,"a",34),i.\u0275\u0275text(128,"Partners"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(129,"div",33),i.\u0275\u0275elementStart(130,"a",34),i.\u0275\u0275text(131,"Security"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(132,"div",33),i.\u0275\u0275elementStart(133,"a",34),i.\u0275\u0275text(134,"Media & Press"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(135,"div",36),i.\u0275\u0275elementStart(136,"span",37),i.\u0275\u0275text(137),i.\u0275\u0275elementStart(138,"a",38),i.\u0275\u0275text(139,"ApexEdge"),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(140," \xb7 "),i.\u0275\u0275elementStart(141,"a",39),i.\u0275\u0275text(142,"Terms"),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(143," \xb7 "),i.\u0275\u0275elementStart(144,"a",40),i.\u0275\u0275text(145,"Privacy Policy"),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(146," \xb7 "),i.\u0275\u0275elementStart(147,"a",41),i.\u0275\u0275listener("click",function(e){return t.openCookieSettings(e)}),i.\u0275\u0275text(148,"Cookie settings"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(149,"span",42),i.\u0275\u0275text(150," The Bill Reduction Company, LLC \xb7 PO Box 92, Hopkinton, MA 01748 \xb7 "),i.\u0275\u0275elementStart(151,"a",43),i.\u0275\u0275text(152,"(800)\xa0957-1710"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275classProp("footer-login",t._shared._httpService.isUserLogged()),i.\u0275\u0275advance(8),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(94,j)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(95,q)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(96,V)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(97,G)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(98,z)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(99,W)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(100,K)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(101,Y)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(102,J)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(103,Z)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(104,Q)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(105,X))("queryParams",i.\u0275\u0275pureFunction0(106,ee)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(107,X))("queryParams",i.\u0275\u0275pureFunction0(108,te)),i.\u0275\u0275advance(2),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(109,X))("queryParams",i.\u0275\u0275pureFunction0(110,ne)),i.\u0275\u0275advance(5),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(111,X))("queryParamsHandling","merge"),i.\u0275\u0275advance(36),i.\u0275\u0275classProp("active",t.address.includes("/bill-negotiation-services")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(112,re))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/negotiate-business-bills")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(113,ie))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/download-bills")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(114,se))("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(115,oe))("queryParamsHandling","merge"),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",i.\u0275\u0275pipeBind1(90,90,"our-team")),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/about-us")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(116,ae))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/careers")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(117,le))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/reviews")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(118,ce))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/blogs/mark-cuban-backs-billshark-prey-for-your-service-providers")),i.\u0275\u0275property("routerLink","/blogs/mark-cuban-backs-billshark-prey-for-your-service-providers")("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275classProp("active",t.address.includes("/our-guarantee")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(119,de))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/blogs/our-customer-service-manifesto")),i.\u0275\u0275property("routerLink","/blogs/our-customer-service-manifesto")("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/rewards")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(120,ue))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/our-commitment-accessibility")),i.\u0275\u0275property("routerLink","/our-commitment-accessibility")("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275classProp("active",t.address.includes("/contact")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(121,he))("queryParamsHandling","merge"),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",i.\u0275\u0275pipeBind1(125,92,"contact")),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/partners")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(122,me))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/blogs/powerful-bill-reduction-platform-enables-financial-brands-to-help-consumers-save-money")),i.\u0275\u0275property("routerLink","/blogs/powerful-bill-reduction-platform-enables-financial-brands-to-help-consumers-save-money")("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275classProp("active",t.address.includes("/media-press")),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(123,pe))("queryParamsHandling","merge"),i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate1(" \xa9 Copyright ",t._shared._storageService.current_copy_right," Billshark \xb7 Powered by "),i.\u0275\u0275advance(4),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(124,ge))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(125,_e))("queryParamsHandling","merge"))},directives:[o.yS,O.j,L.Z,c.O5],pipes:[B],styles:['footer[data-_ngcontent-%COMP%], .footer-login[data-_ngcontent-%COMP%]{position:relative;background:#173a6b!important;min-height:var(--footer-min-height);padding:70px 0 26px}.footer-login[data-_ngcontent-%COMP%]{padding-top:48px!important}.footer-wrap[data-_ngcontent-%COMP%]{max-width:1180px;margin:0 auto;padding:0 24px}.footer-cols[data-_ngcontent-%COMP%]{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr 1fr;grid-gap:54px;gap:54px;align-items:start}.footer-title[data-_ngcontent-%COMP%]{color:#fff;font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-size:12.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin:0 0 14px}.footer-item[data-_ngcontent-%COMP%]{padding:0}.footer-item[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]{display:block;padding:5px 0;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-size:14px;letter-spacing:0;text-transform:none;color:#cdd9ec;cursor:pointer;transition:color .15s ease}.footer-item[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]:hover{color:#fff;text-decoration:none}.footer-item[data-_ngcontent-%COMP%] a.active[data-_ngcontent-%COMP%]{color:#fff}.footer-item[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]:focus-visible{outline:none!important;box-shadow:none!important;color:#fff!important;text-decoration:underline!important;text-decoration-thickness:2px;text-underline-offset:3px}.footer-new[data-_ngcontent-%COMP%]{display:inline-block;background:#f5b417;color:#4a3500;font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-size:8.5px;font-weight:800;letter-spacing:.05em;padding:1px 5px;border-radius:7px;margin-left:6px;vertical-align:middle;text-transform:uppercase}.footer-brand[data-_ngcontent-%COMP%] .footer-logo[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center;grid-gap:9px;gap:9px;margin-bottom:12px}.footer-brand[data-_ngcontent-%COMP%] .footer-logo[data-_ngcontent-%COMP%] .footer-shark[data-_ngcontent-%COMP%]{flex:none}.footer-brand[data-_ngcontent-%COMP%] .footer-logo[data-_ngcontent-%COMP%] .footer-wordmark[data-_ngcontent-%COMP%]{display:block;-webkit-filter:brightness(0) invert(1);filter:brightness(0) invert(1);color:#fff;font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-size:21px;font-weight:800;letter-spacing:.04em;line-height:1}.footer-brand[data-_ngcontent-%COMP%] .footer-logo[data-_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:none!important}.footer-brand[data-_ngcontent-%COMP%] .footer-logo[data-_ngcontent-%COMP%]:focus-visible .footer-wordmark[data-_ngcontent-%COMP%]{text-decoration:underline;text-decoration-
1thickness:2px;text-underline-offset:3px}.footer-brand[data-_ngcontent-%COMP%] .footer-desc[data-_ngcontent-%COMP%]{max-width:280px;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-size:13.5px;line-height:1.6;letter-spacing:0;color:#9fb2cf;margin:0}.footer-apps[data-_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;grid-gap:10px;gap:10px;margin-top:16px}.footer-apps[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]{display:inline-flex;text-decoration:none}.footer-apps[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]:focus-visible{outline:none;outline:2px solid rgba(255,255,255,.85)!important;outline-offset:2px;border-radius:6px;box-shadow:none!important}.footer-apps[data-_ngcontent-%COMP%] .footer-app[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center;grid-gap:6px;gap:6px;background:#0f2950;border:1px solid #2a4a7d;border-radius:8px;padding:8px 12px;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-size:12px;line-height:1;letter-spacing:0;color:#cdd9ec;transition:background .15s ease,border-color .15s ease}.footer-apps[data-_ngcontent-%COMP%] .footer-app[data-_ngcontent-%COMP%] .footer-app-ic[data-_ngcontent-%COMP%]{flex:none;width:14px;height:14px;fill:#cdd9ec}.footer-apps[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]:hover .footer-app[data-_ngcontent-%COMP%]{background:#143666;border-color:#3a5e96;color:#fff}.footer-apps[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]:hover .footer-app[data-_ngcontent-%COMP%] .footer-app-ic[data-_ngcontent-%COMP%]{fill:#fff}.footer-social[data-_ngcontent-%COMP%]{display:flex;grid-gap:12px;gap:12px;margin-top:18px}.footer-social[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center}.footer-social[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%] svg[data-_ngcontent-%COMP%]{width:20px;height:20px;fill:#cdd9ec;transition:fill .15s ease}.footer-social[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]:hover svg[data-_ngcontent-%COMP%]{fill:#fff}.footer-social[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]:focus-visible{outline:none;outline:2px solid rgba(255,255,255,.85)!important;outline-offset:2px;border-radius:6px;box-shadow:none!important}.footer-bottom[data-_ngcontent-%COMP%]{margin-top:36px;text-align:center;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-size:12.5px;letter-spacing:0;color:#9fb2cf}.footer-bottom[data-_ngcontent-%COMP%] .footer-copy-line[data-_ngcontent-%COMP%], .footer-bottom[data-_ngcontent-%COMP%] .footer-legal-line[data-_ngcontent-%COMP%]{display:block;line-height:1.7}.footer-bottom[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]{display:inline;color:#cdd9ec;text-decoration:underline;-webkit-text-decoration-color:transparent;text-decoration-color:transparent}.footer-bottom[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]:hover{color:#fff;text-decoration:underline}.footer-bottom[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]:focus-visible{outline:none;outline:2px solid rgba(255,255,255,.85)!important;outline-offset:2px;border-radius:6px;box-shadow:none!important}.userLogged[data-_ngcontent-%COMP%]{display:none!important}@media (min-width: 621px) and (max-width: 980px){.footer-cols[data-_ngcontent-%COMP%]{grid-template-columns:1.5fr 1fr 1fr;grid-gap:34px 50px;gap:34px 50px;align-items:start}.footer-brand[data-_ngcontent-%COMP%]{grid-column:1;grid-row:1/span 2}}@media (max-width: 620px){footer[data-_ngcontent-%COMP%], .footer-login[data-_ngcontent-%COMP%]{padding-top:70px}.footer-cols[data-_ngcontent-%COMP%]{grid-template-columns:1fr 1fr;grid-gap:26px 52px;gap:26px 52px}.footer-brand[data-_ngcontent-%COMP%]{grid-column:1/-1}.footer-title[data-_ngcontent-%COMP%]{font-size:12px}.footer-item[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]{font-size:13.5px}}@media (min-width: 1024px){.footer-wrap[data-_ngcontent-%COMP%]{max-width:960px;padding-left:15px;padding-right:15px}}@media (min-width: 1024px) and (max-width: 1199px){.footer-cols[data-_ngcontent-%COMP%]{grid-template-columns:2fr 1fr 1fr 1fr 1fr}}@media (min-width: 1200px){.footer-wrap[data-_ngcontent-%COMP%]{max-width:1140px}}']}),e})();var be=n(93349),ve=n(45787);function Se(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",10),i.\u0275\u0275elementStart(1,"button",11),i.\u0275\u0275text(2,"\xd7"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275advance(1),i.\u0275\u0275property("appSidebarToggle","MENU"))}function ye(e,t){if(1&e&&i.\u0275\u0275element(0,"img",22),2&e){const e=i.\u
10275\u0275nextContext(2);i.\u0275\u0275property("src",e._shared._httpService.SL_PROFILE_IMG,i.\u0275\u0275sanitizeUrl),i.\u0275\u0275attribute("data-onerror","https://cdn.billshark.com/www3.0/static/image/lazy-load-pixel.png")("data-src",e._shared._httpService.SL_PROFILE_IMG)}}function Ee(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"div",23),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",e._shared._cartService.user.getUserInitial()," ")}}function we(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",12),i.\u0275\u0275elementStart(1,"div",13),i.\u0275\u0275elementStart(2,"button",14),i.\u0275\u0275template(3,ye,1,3,"img",15),i.\u0275\u0275template(4,Ee,2,1,"div",16),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"div",17),i.\u0275\u0275elementStart(6,"p",18),i.\u0275\u0275text(7),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(8,"div",19),i.\u0275\u0275elementStart(9,"a",20),i.\u0275\u0275listener("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext().preventMenuInteraction(t)}),i.\u0275\u0275element(10,"div",21),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext();i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",e._shared._httpService.SL_PROFILE_IMG),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",!e._shared._httpService.SL_PROFILE_IMG),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1(" ",e._shared._cartService.user.customer_first_name," "),i.\u0275\u0275advance(2),i.\u0275\u0275classProp("menu-link-disabled",e.isDashboardMenuLocked()),i.\u0275\u0275attribute("aria-disabled",e.isDashboardMenuLocked())("tabindex",e.isDashboardMenuLocked()?-1:0)}}const Ce=function(){return["/account"]},Pe=function(){return["/login"]},Te=function(){return["/bill-negotiation-services"]},Ie=function(){return["/negotiate-business-bills"]},Oe=function(){return["/download-bills"]},xe=function(){return["/lower/home-security"]},Ae=function(){return["/lower/internet"]},Me=function(){return["/lower/wireless"]},Re=function(){return["/about-us"]},Ne=function(){return["/careers"]},ke=function(){return["/our-team"]},Le=function(){return["/reviews"]},De=function(){return["/blogs"]},Fe=function(){return["/blogs/categories/all"]},Be=function(){return["/support"]},Ue=function(){return["/speedtest"]};function He(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",24),i.\u0275\u0275elementStart(2,"div",25),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(3,"svg",26),i.\u0275\u0275element(4,"circle",27),i.\u0275\u0275element(5,"path",28),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(6,"div",29),i.\u0275\u0275elementStart(7,"div",30),i.\u0275\u0275text(8,"Welcome"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"div",31),i.\u0275\u0275text(10,"Sign in to manage your bills"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(11,"div",32),i.\u0275\u0275elementStart(12,"a",33),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(13,"svg",34),i.\u0275\u0275element(14,"path",35),i.\u0275\u0275element(15,"circle",36),i.\u0275\u0275element(16,"path",37),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(17,"Sign up "),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(18,"a",38),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(19,"svg",34),i.\u0275\u0275element(20,"path",39),i.\u0275\u0275element(21,"path",40),i.\u0275\u0275element(22,"path",41),i.\u0275\u0275element(23,"path",42),i.\u0275\u0275element(24,"path",43),i.\u0275\u0275element(25,"path",44),i.\u0275\u0275element(26,"path",45),i.\u0275\u0275element(27,"path",46),i.\u0275\u0275element(28,"path",47),i.\u0275\u0275elementEnd(),i.\u0275\u0275text(29,"Log in "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(30,"div",48),i.\u0275\u0275text(31,"Bill Negotiation"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(32,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(33,"svg",50),i.\u0275\u0275element(34,"path",51),i.\u0275\u0275element(35,"circle",52),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(36,"span"),i.\u0275\u0275text(37,"All Negotiation Services"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(38,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(39,"svg",50),i.\u0275\u0275element(40,"rect",53),i.\u0275\u0275element(41,"path",54),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(42,"span"),i.\u0275\u0275text(43,"Corporate / Business Billing"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(44,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(45,"svg",50),i.\u0275\u0275element(46,"circle",55),i.\u0275\u0275element(47,"path",56),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(48,"span"),i.\u0275\u0275text(49,"Find Your Provider"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(50,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(51,"svg",50),i.\u0275\u0275element(52,"path",57),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(53,"span"),i.\u0275\u0275text(54,"Home Security"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(55,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(56,"svg",50),i.\u0275\u0275element(57,"path",58),i.\u0275\u0275element(58,"path",59),i.\u0275\u0275element(59,"circle",60),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(60,"span"),i.\u0275\u0275text(61,"Internet & Cable"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(62,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(63,"svg",50),i.\u0275\u0275element(64,"rect",61),i.\u0275\u0275element(65,"path",62),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(66,"span"),i.\u0275\u0275text(67,"Phone & Wireless"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(68,"div",48),i.\u0275\u0275text(69,"Company"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(70,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(71,"svg",50),i.\u0275\u0275element(72,"circle",63),i.\u0275\u0275element(73,"path",64),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(74,"span"),i.\u0275\u0275text(75,"About Us"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(76,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(77,"svg",50),i.\u0275\u0275element(78,"rect",65),i.\u0275\u0275element(79,"path",66),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(80,"span"),i.\u0275\u0275text(81,"Careers"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(82,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(83,"svg",50),i.\u0275\u0275element(84,"path",67),i.\u0275\u0275element(85,"circle",68),i.\u0275\u0275element(86,"path",69),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(87,"span"),i.\u0275\u0275text(88,"Our Team"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(89,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(90,"svg",50),i.\u0275\u0275element(91,"path",70),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(92,"span"),i.\u0275\u0275text(93,"Reviews"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(94,"div",48),i.\u0275\u0275text(95,"Resources"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(96,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(97,"svg",50),i.\u0275\u0275element(98,"path",71),i.\u0275\u0275element(99,"path",72),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(100,"span"),i.\u0275\u0275text(101,"Blog"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(102,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(103,"svg",50),i.\u0275\u0275element(104,"rect",73),i.\u0275\u0275element(105,"rect",74),i.\u0275\u0275element(106,"rect",75),i.\u0275\u0275element(107,"rect",76),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(108,"span"),i.\u0275\u0275text(109,"Blog - All Categories"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(110,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(111,"svg",50),i.\u0275\u0275element(112,"circle",63),i.\u0275\u0275element(113,"path",77),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(114,"span"),i.\u0275\u0275text(115,"FAQs"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(116,"a",49),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(117,"svg",50),i.\u0275\u0275element(118,"path",78),i.\u0275\u0275element(119,"path",79),i.\u0275\u0275element(120,"circle",80),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(121,"span"),i.\u0275\u0275text(122,"Speed Test"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()),2&e&&(i.\u0275\u0275advance(12),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(32,Ce))("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(33,Pe))("queryParamsHandling","merge"),i.\u0275\u0275advance(14),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(34,Te))("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(35,Ie))("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(36,Oe))("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(37,xe))("queryParamsHandling","merge"),i.\u0275\u0275advance(5),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(38,Ae))("queryParamsHandling","merge"),i.\u0275\u0275advance(7),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(39,Me))("queryParamsHandling","merge"),i.\u0275\u0275advance(8),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(40,Re))("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(41,Ne))("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(42,ke))("queryParamsHandling","merge"),i.\u0275\u0275advance(7),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(43,Le))("queryParamsHandling","merge"),i.\u0275\u0275advance(7),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(44,De))("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(45,Fe))("queryParamsHandling","merge"),i.\u0275\u0275advance(8),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(46,Be))("queryParamsHandling","merge"),i.\u0275\u0275advance(6),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(47,Ue))("queryParamsHandling","merge"))}function je(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",93),i.\u0275\u0275elementContainerEnd())}function qe(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",94),i.\u0275\u0275elementContainerEnd())}function Ve(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",95),i.\u0275\u0275elementContainerEnd())}function Ge(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",96),i.\u0275\u0275elementContainerEnd())}function $e(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",97),i.\u0275\u0275elementContainerEnd())}function ze(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",98),i.\u0275\u0275elementContainerEnd())}function We(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(1,"svg",99),i.\u0275\u0275element(2,"path",100),i.\u0275\u0275element(3,"path",101),i.\u0275\u0275element(4,"path",102),i.\u0275\u0275element(5,"circle",103),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd())}function Ke(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",104),i.\u0275\u0275elementContainerEnd())}function Ye(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",105),i.\u0275\u0275elementContainerEnd())}function Je(e,t){1&e&&i.\u0275\u0275elementContainer(0)}const Ze=function(e){return[e]};
1function Qe(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"a",85),i.\u0275\u0275listener("click",function(t){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext(4).preventMenuInteraction(t)}),i.\u0275\u0275elementStart(1,"div",86),i.\u0275\u0275elementStart(2,"div",87),i.\u0275\u0275elementContainerStart(3,88),i.\u0275\u0275template(4,je,2,0,"ng-container",89),i.\u0275\u0275template(5,qe,2,0,"ng-container",89),i.\u0275\u0275template(6,Ve,2,0,"ng-container",89),i.\u0275\u0275template(7,Ge,2,0,"ng-container",89),i.\u0275\u0275template(8,$e,2,0,"ng-container",89),i.\u0275\u0275template(9,ze,2,0,"ng-container",89),i.\u0275\u0275template(10,We,6,0,"ng-container",89),i.\u0275\u0275template(11,Ke,2,0,"ng-container",89),i.\u0275\u0275template(12,Ye,2,0,"ng-container",89),i.\u0275\u0275template(13,Je,1,0,"ng-container",90),i.\u0275\u0275elementContainerEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"div",91),i.\u0275\u0275elementStart(15,"div",92),i.\u0275\u0275text(16),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(2).$implicit,t=i.\u0275\u0275nextContext(2);i.\u0275\u0275classProp("menu-link-disabled",t.isDashboardMenuLocked()),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction1(22,Ze,e.url))("queryParams",e.params)("queryParamsHandling","merge"),i.\u0275\u0275attribute("aria-disabled",t.isDashboardMenuLocked())("tabindex",t.isDashboardMenuLocked()?-1:0),i.\u0275\u0275advance(1),i.\u0275\u0275classProp("active",t._shared._seoService.path==e.url)("menu-options--disabled",t.isDashboardMenuLocked()),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngSwitch",e.label),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","Sign up"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","Log in"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","Lower Your Bills"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","My bills"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","Reviews"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","FAQs"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","Help"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","Blog"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","Log out"),i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate(e.label)}}function Xe(e,t){1&e&&i.\u0275\u0275element(0,"hr",106)}function et(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,Qe,17,24,"a",83),i.\u0275\u0275template(2,Xe,1,0,"hr",84),i.\u0275\u0275elementContainerEnd()),2&e){const e=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","_self"===e.target),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","Log in"==e.label)}}function tt(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"a",110),i.\u0275\u0275elementStart(1,"div",92),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext(3).$implicit;i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction1(4,Ze,e.url))("queryParams",e.params)("queryParamsHandling","merge"),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(e.label)}}function nt(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"a",111),i.\u0275\u0275elementStart(1,"div",92),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext(3).$implicit;i.\u0275\u0275propertyInterpolate("href",e.url,i.\u0275\u0275sanitizeUrl),i.\u0275\u0275propertyInterpolate("target",e.target),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(e.label)}}function rt(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,tt,3,6,"a",107),i.\u0275\u0275template(2,nt,3,3,"a",108),i.\u0275\u0275element(3,"hr",109),i.\u0275\u0275elementContainerEnd()),2&e){const e=i.\u0275\u0275nextContext(2).$implicit;i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","_self"===e.target),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","_self"!==e.target)}}function it(e,t){if(1&e&&i.\u0275\u0275template(0,rt,4,2,"ng-container",9),2&e){const e=i.\u
10275\u0275nextContext(3);i.\u0275\u0275property("ngIf",e.referral_menu)}}function st(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,et,3,2,"ng-container",9),i.\u0275\u0275template(2,it,1,1,"ng-template",null,82,i.\u0275\u0275templateRefExtractor),i.\u0275\u0275elementContainerEnd()),2&e){const e=t.$implicit,n=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",void 0===e.private||n._shared._httpService.isUserLogged()===e.private)}}function ot(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,st,4,1,"ng-container",81),i.\u0275\u0275elementContainerEnd()),2&e){const e=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",e._shared._seoService.menu)}}const at=function(){return["/"]};let lt=(()=>{class e{constructor(e,t){this._shared=e,this._host=t,this.SETTINGS=d.L6,this.referral_menu=!1,this._menuWasOpen=!1,this._returnFocusEl=null}onResize(){"undefined"!=typeof window&&window.innerWidth>=1024&&d.lw.MENU&&(d.lw.MENU=!1)}ngDoCheck(){const e=!!d.lw.MENU;if(e!==this._menuWasOpen&&(this._menuWasOpen=e,"undefined"!=typeof document))if(e)this._returnFocusEl=document.activeElement,setTimeout(()=>{const e=this._host.nativeElement.querySelector(".drawer-close")||this._getFocusable()[0];null==e||e.focus()});else{const e=this._returnFocusEl;this._returnFocusEl=null,setTimeout(()=>{var t;const n=e&&e!==document.body&&document.contains(e)?e:document.querySelector(".header-hamburger");null===(t=null==n?void 0:n.focus)||void 0===t||t.call(n)})}}onKeydown(e){if(d.lw.MENU){if("Escape"===e.key)return e.preventDefault(),void(d.lw.MENU=!1);if("Tab"===e.key){const t=this._getFocusable();if(!t.length)return;const n=t[0],r=t[t.length-1],i=document.activeElement;e.shiftKey&&i===n?(e.preventDefault(),r.focus()):!e.shiftKey&&i===r&&(e.preventDefault(),n.focus())}}}_getFocusable(){return Array.from(this._host.nativeElement.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(e=>e.getClientRects().length>0)}isDashboardMenuLocked(){return this._shared._httpService.isUserLogged()&&this._shared._utilService.dashboardMenuLoading}preventMenuInteraction(e){this.isDashboardMenuLocked()&&(e.preventDefault(),e.stopPropagation())}ngAfterViewChecked(){}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(ve.F),i.\u0275\u0275directiveInject(i.ElementRef))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["app-menu"]],hostBindings:function(e,t){1&e&&i.\u0275\u0275listener("resize",function(){return t.onResize()},!1,i.\u0275\u0275resolveWindow)("keydown",function(e){return t.onKeydown(e)})},decls:11,vars:7,consts:[["aria-label","Application Menu",1,"bs-menu"],[1,"container","bs-menu-header","px-4","pt-2","pt-md-3","pb-md-0","mb-0","justify-content-between"],[1,"pl-1","row","
1justify-content-start","align-items-center",2,"height","36px"],["role","button","aria-label","Billshark Menu Img",1,"col-10","col-md-10","drawer-logo","pl-0","mr-3",3,"routerLink","queryParamsHandling"],["width","26","height","26","src","assets/bs-favicon-legacy.png","alt","","aria-hidden","true",1,"drawer-shark"],["width","108","height","16","src","assets/images/svg/billshark-logo.svg","alt","","aria-hidden","true",1,"menu-logo-svg"],["class","col-1 px-0",4,"ngIf"],["class","row d-flex justify-content-center align-items-baseline pt-4 pb-0",4,"ngIf"],[1,"bs-menu-content","px-2","ml-1",2,"scale","0.9","transform-origin","top center"],[4,"ngIf"],[1,"col-1","px-0"],["type","button","aria-label","Close menu",1,"drawer-close",3,"appSidebarToggle"],[1,"row","d-flex","justify-content-center","align-items-baseline","pt-4","pb-0"],[1,"col-1","col-md-2","px-0","pl-md-3","pr-md-4"],["aria-expanded","false","tabindex","0",1,"summaryMenu","btn","badge","user-badge","rounded-circle","text-color-green-255e8f","d-flex",2,"width","48px !important","height","48px !important","background-color","#d9d9d9 !important","font-size","large !important"],["class","lazy","alt","profile-img","class","user-badge rounded-circle",3,"src",4,"ngIf"],["class","m-auto",4,"ngIf"],[1,"col-9","col-md-7","pl-3","pr-0","ml-3"],[1,"bs-user_name","mb-0"],[1,"col-1","col-md-2","pl-2"],["role","button","data-toggle","modal","data-target","#modalSettings",1,"text-decoration-none",3,"click"],[1,"sprite-billshark-home-settings-menu",2,"position","relative","top","5px"],["alt","profile-img",1,"user-badge","rounded-circle",3,"src"],[1,"m-auto"],[1,"drawer-me"],[1,"drawer-av"],["width","19.8","height","19.8","viewBox","0 0 24 24","aria-hidden","true"],["cx","12","cy","8","r","4"],["d","M4 21a8 8 0 0 1 16 0"],[1,"drawer-who"],[1,"drawer-who-n"],[1,"drawer-who-s"],[1,"drawer-auth"],[1,"drawer-btn","drawer-btn-filled","text-decoration-none","btn-shark",3,"routerLink","queryParamsHandling"],["width","15.3","height","15.3","viewBox","0 0 24 24","aria-hidden","true","focusable","false",1,"drawer-btn-ic"],["d","M14 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"],["cx","8","cy","7","r","4"],["d","M19 8v6M22 11h-6"],[1,"drawer-btn","drawer-btn-ghost","text-decoration-none",3,"routerLink","queryParamsHandling"],["d","M2 12C2 6.5 6.5 2 12 2a10 10 0 0 1 8 4"],["d","M5 19.5C5.5 18 6 15 6 12c0-.7.12-1.37.34-2"],["d","M17.29 21.02c.12-.6.43-2.3.5-3.02"],["d","M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4"],["d","M8.65 22c.2-.66.45-1.32.57-2"],["d","M14 13.12c0 2.38 0 6.38-1 8.88"],["d","M2 16h.01"],["d","M21.8 16c.2-2 .13-5.35 0-6"],["d","M9 6.8a6 6 0 0 1 9 5.2v2"],[1,"drawer-grp"],[1,"drawer-link","text-decoration-none",3,"routerLink","queryParamsHandling"],["width","18","height","18","viewBox","0 0 24 24","aria-hidden","true",1,"drawer-ic"],["d","M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0l-7-7A2 2 0 0 1 3 12.2V5a2 2 0 0 1 2-2h7.2a2 2 0 0 1 1.4.6l7 7a2 2 0 0 1 0 2.8z"],["cx","7.5","cy","7.5","r","1.4"],["x","4","y","3","width","11","height","18","rx","1.5"],["d","M8 7h3M8 11h3M8 15h3M15 9h4a1 1 0 0 1 1 1v11"],["cx","11","cy","11","r","7"],["d","M21 21l-4.3-4.3"],["d","M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z"],["d","M5 12.6a10 10 0 0 1 14 0"],["d","M8.5 15.8a5 5 0 0 1 7 0"],["cx","12","cy","19","r","1.1","fill","currentColor","stroke","none"],["x","7","y","2.5","width","10","height","19","rx","2.5"],["d","M10.5 18.5h3"],["cx","12","cy","12","r","9"],["d","M12 16v-4M12 8h.01"],["x","3","y","7","width","18","height","13","rx","2"],["d","M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18"],["d","M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"],["cx","9","cy","7","r","4"],["d","M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75"],["d","M12 3l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9 6.8 19.6l1-5.8L3.5 9.7l5.9-.9z"],["d","M6 2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"],["d","M14 2v6h6M8 13h8M8 17h5"],["x","3","y","4","width","7","height","7","rx","1.5"],["x","14","y","4","width","7","height","7","rx","1.5"],["x","3","y","14","width","7","height","7","rx","1.5"],["x","14","y","14","width","7","height","7","rx","1.5"],["d","M9.6 9.2a2.4 2.4 0 1 1 3.3 2.2c-.7.4-1 .8-1 1.6M12 16.5h.01"],["d","M4.6 18a9 9 0 1 1 14.8 0"],["d","M12 13l3.5-3.5"],["cx","12","cy","13","r","1.3"],[4,"ngFor","ngForOf"],["referral",""],["class","text-decoration-none",3,"menu-link-disabled","routerLink","queryParams","queryParamsHandling","click",4,"ngIf"],["class","w-100 my-4","style","color: #ebeff3; opacity: 1",4,"ngIf"],[1,"text-decoration-none",3,"routerLink","queryParams","queryParamsHandling","click"],["id","other_options",1,"row","align-items-center","menu-options","mb-2","font-inter-regular"],[1,"col-2","py-3","text-right"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"col-10"],[1,"py-3"],[1,"sprite-billshark-home-account"],[1,"sprite-billshark-home-login"],[1,"sprite-billshark-home-lower-bills"],[1,"sprite-billshark-home-dashboard"],[1,"sprite-billshark-home-review-menu"],[1,"sprite-billshark-home-faq-menu"],["width","24","height","24","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg","aria-hidden","true","focusable","false",1,"menu-inline-icon","menu-help-icon"],["d","M6.5 4.5H14.5L17.5 7.5V19.5H6.5V4.5Z"],["d","M14.5 4.5V7.5H17.5"],["d","M10.25 10.1C10.25 8.75 11.33 7.75 12.75 7.75C14.09 7.75 15.1 8.62 15.1 9.87C15.1 10.92 14.51 11.47 13.68 12.02C12.95 12.5 12.5 12.9 12.5 13.75V14.02"],["cx","12.5","cy","16.7","r","1"],[1,"sprite-billshark-home-blog-menu"],[1,"sprite-billshark-home-logout-menu"],[1,"w-100","my-4",2,"color","#ebeff3","opacity","1"],["class","text-decoration-none",3,"routerLink","queryParams","queryParamsHandling",4,"ngIf"],["class","text-decoration-none","rel","noopener",3,"href","target",4,"ngIf"],[1,"w-100","opacity-30","m-0",2,"color","#004181"],[1,"text-decoration-none",3,"routerLink","queryParams","queryParamsHandling"],["rel","noopener",1,"text-decoration-none",3,"href","target"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"nav",0),i.\u0275\u0275elementStart(1,"div",1),i.\u0275\u0275elementStart(2,"div",2),i.\u0275\u0275elementStart(3,"a",3),i.\u0275\u0275element(4,"img",4),i.\u0275\u0275element(5,"img",5),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(6,Se,3,1,"div",6),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(7,we,11,7,"div",7),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(8,"div",8),i.\u0275\u0275template(9,He,123,48,"ng-container",9),i.\u0275\u0275template(10,ot,2,1,"ng-container",9),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275advance(3),i.\u0275\u0275property("routerLink",i.\u0275\u0275pureFunction0(6,at))("queryParamsHandling","merge"),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",t._shared._seoService.isHamburgerMenu()),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",t._shared._httpService.isUserLogged()&&(null==t._shared._cartService.user?null:t._shared._cartService.user.customer_first_name)),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",!t._shared._httpService.isUserLogged()),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",t._shared._httpService.isUserLogged()))},directives:[o.yS,O.j,c.O5,m.T,c.sg,c.RF,c.n9,c.ED],styles:['.bs-menu[data-_ngcontent-%COMP%]{z-index:1030}.bs-menu[data-_ngcontent-%COMP%] .bs-menu-header[data-_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.5)}.bs-menu[data-_ngcontent-%COMP%] .bs-menu-content[data-_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:16px;line-height:19px}.bs-menu[data-_ngcontent-%COMP%] .bs-menu-content[data-_ngcontent-%COMP%] a[data-_ngcontent-%COMP%]{font-size:16px;color:#55595d}.bs-user_name[data-_ngcontent-%COMP%]{color:#55595d}.menu-link-disabled[data-_ngcontent-%COMP%]{pointer-events:none}.menu-options--disabled[data-_ngcontent-%COMP%]{opacity:.45;cursor:not-allowed}.menu-inline-icon[data-_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px}.menu-help-icon[data-_ngcontent-%COMP%]{color:#004181;
1fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.menu-help-icon[data-_ngcontent-%COMP%] circle[data-_ngcontent-%COMP%]{fill:currentColor;stroke:none}.bg-bs_images_close[data-_ngcontent-%COMP%]{position:relative;top:8px}.button[data-_ngcontent-%COMP%]{background-color:#fff!important;color:#0a2e49!important;font-size:18px!important}.menu-options.active[data-_ngcontent-%COMP%], .menu-options[data-_ngcontent-%COMP%]:hover{background-color:#fff;color:#004181;border:1px solid #004181;border-radius:50px;font-weight:bold}.menu-options.active[data-_ngcontent-%COMP%] object[data-_ngcontent-%COMP%], .menu-options[data-_ngcontent-%COMP%]:hover object[data-_ngcontent-%COMP%]{fill:#173a6b!important}object[data-_ngcontent-%COMP%]{fill:#55595d}.menu-options[data-_ngcontent-%COMP%]:not(.active):hover{background-color:#eef7ff!important;border:unset;color:#173a6b;font-weight:400}.menu-options[data-_ngcontent-%COMP%]:not(.active):hover object[data-_ngcontent-%COMP%]{fill:#173a6b!important}@media (max-width: 767.98px){.menu-logo-svg[data-_ngcontent-%COMP%]{position:relative;top:0}}.drawer-close[data-_ngcontent-%COMP%]{font-size:26px;line-height:1;color:#173a6b;cursor:pointer;background:none;border:0;padding:0}.drawer-logo[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:8px;gap:8px;text-decoration:none}.drawer-shark[data-_ngcontent-%COMP%]{flex:0 0 auto}.drawer-auth[data-_ngcontent-%COMP%]{display:flex;grid-gap:10px;gap:10px;margin:8px 0 18px}.drawer-auth[data-_ngcontent-%COMP%] .drawer-btn[data-_ngcontent-%COMP%]{flex:1;display:inline-flex;align-items:center;justify-content:center;grid-gap:7px;gap:7px;text-align:center;padding:11px 12px;border-radius:6px;font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-weight:600;font-size:16px;line-height:1.1}.drawer-auth[data-_ngcontent-%COMP%] .drawer-btn[data-_ngcontent-%COMP%] .drawer-btn-ic[data-_ngcontent-%COMP%]{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.drawer-btn-filled[data-_ngcontent-%COMP%]{background:#004181;color:#fff!important}.drawer-btn-ghost[data-_ngcontent-%COMP%]{border:1.5px solid #004181;color:#004181!important}.drawer-grp[data-_ngcontent-%COMP%]{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#1f5fae;padding:16px 6px 4px}.drawer-me[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:12px;gap:12px;padding:12px 6px 16px;margin-bottom:12px;border-bottom:1px solid #ebeff3}.drawer-av[data-_ngcontent-%COMP%]{width:42px;height:42px;border-radius:50%;flex:none;background:#eaf3fc;display:flex;align-items:center;justify-content:center}.drawer-av[data-_ngcontent-%COMP%] svg[data-_ngcontent-%COMP%]{width:22px;height:22px;fill:none;stroke:#1f5fae;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.drawer-who-n[data-_ngcontent-%COMP%]{font-family:Inter-SemiBold,Arial,Helvetica,sans-serif;font-weight:700;font-size:16px;color:#173a6b;line-height:1.2}.drawer-who-s[data-_ngcontent-%COMP%]{font-size:13px;color:#556475;margin-top:2px}
1.drawer-link[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:12px;gap:12px;padding:12px 6px;color:#1d3d63!important;font-family:Inter-Regular,Arial,Helvetica,sans-serif;font-weight:400;font-size:15px;text-decoration:none}.drawer-ic[data-_ngcontent-%COMP%]{width:20px;height:20px;flex:none;color:#1f5fae;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.drawer-link[data-_ngcontent-%COMP%]:hover{background:#eef7ff}.drawer-logo[data-_ngcontent-%COMP%]:focus-visible{outline:2px solid #1f5fae;outline-offset:2px;border-radius:6px}.drawer-link[data-_ngcontent-%COMP%]:focus-visible{outline:2px solid #1f5fae;outline-offset:-2px;border-radius:6px}']}),e})(),ct=(()=>{class e{constructor(e){this._shared=e,this.getNotificationTime=3e5,this.showNotificationTime=125e3,this.closeNotificationTime=7e3,this.notificationList=[],this.currentNotificationIndex=0}ngOnInit(){this._shared._utilService.isPlatformServer||u.fK.afterWindowOnLoad(()=>{this.getNotificationToShow()})}getNotificationToShow(){setTimeout(()=>{this._shared._httpService.httpRequest(d.bl.API_ENDPOINTS.NOTIFICATIONS,d.I5.GET,null,null,!1).then(e=>{const t=JSON.parse(JSON.stringify(e));this.notificationList=t.bills,this.showNotificationList(this.notificationList)}).catch(()=>{this.getNotificationToShow()})},this.getNotificationTime)}showNotificationList(e){this.notification=e[this.currentNotificationIndex],this.notification&&(0===this.currentNotificationIndex?this.showNotification(this.notification):setTimeout(()=>{this.showNotification(this.notification)},this.showNotificationTime))}showNotification(e){this.fillNotification(e);const t=document.getElementById("user-notification");!t||(t.classList.toggle("has-widget",!!document.getElementById("grsf-widget")),t.classList.remove("show"),t.classList.add("show"),setTimeout(()=>{this.closeNotification()},this.closeNotificationTime))}closeNotification(){const e=document.getElementById("user-notification");e&&e.classList.remove("show"),setTimeout(()=>{const e=document.getElementById("notification-name");e&&(e.textContent="")},1e3),this.currentNotificationIndex=this.currentNotificationIndex+1,this.currentNotificationIndex===this.notificationList.length?this.getNotificationToShow():this.showNotificationList(this.notificationList)}fillNotification(e){const t=e.contact_name||"",n=(e,t)=>{const n=document.getElementById(e);n&&(n.textContent=t)};n("notification-name",t),n("notification-provider",e.provider_name?e.provider_name+" ":""),n("notification-time",this.relativeTime(e));const r=document.getElementById("notification-avatar");r&&(r.textContent=this.initialFor(t),r.style.background=this.avatarColor(t))}avatarColor(e){const t=["#1f5fae","#149384","#6f54c9","#db5238","#cf9405"];let n=0;for(let r=0;r<(e||"").length;r++)n+=e.charCodeAt(r);return t[n%t.length]}initialFor(e){const t=(e||"").match(/[a-z0-9]/i);return(t?t[0]:"B").toUpperCase()}relativeTime(e){const t=e&&(e.created_at||e.createdAt||e.date||e.time||e.timestamp||e.created||e.updated_at),n=t?new Date(t).getTime():NaN;if(!t||isNaN(n))return"Just now";const r=Math.max(0,Math.round((Date.now()-n)/6e4));if(r<1)return"Just now";if(r<60)return 1===r?"1 min ago":r+" min ago";const i=Math.round(r/60);return 1===i?"1 hour ago":i+" hours ago"}sanitize(e){return e.replace(/[^a-z0-9 .,;:~`@#$%*()\-_\/'"]/gim,"")}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(u.F1))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["app-ice-shaker"]],decls:10,vars:0,consts:[["id","user-notification","role","status","aria-live","polite","aria-label","Billshark activity notification",1,"sproof"],["id","notification-avatar","aria-hidden","true",1,"av"],[1,"txt"],["id","notification-name"],["id","notification-provider"],["id","notification-time",1,"when"],["type","button","aria-label","Dismiss notification",1,"x",3,"click"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275element(1,"span",1),i.\u0275\u0275elementStart(2,"div",2),i.\u0275\u0275element(3,"b",3),i.\u0275\u0275text(4," just hired Billshark to lower their "),i.\u0275\u0275element(5,"span",4),i.\u0275\u0275text(6,"bill. "),i.\u0275\u0275element(7,"span",5),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(8,"button",6),i.\u0275\u0275listener("click",function(){return t.closeNotification()}),i.\u0275\u0275text(9," \xd7 "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd())},styles:['#user-notification[data-_ngcontent-%COMP%]{position:fixed;left:22px;bottom:22px;z-index:120;width:330px;max-width:calc(100% - 44px);background:#fff;border:1px solid #e2e8f1;border-radius:14px;box-shadow:0 14px 38px rgba(20,45,85,.18);padding:13px 40px 13px 14px;display:flex;align-items:center;grid-gap:12px;gap:12px;opacity:0;transform:translateY(16px);pointer-events:none;transition:opacity .35s ease,transform .35s ease}#user-notification.show[data-_ngcontent-%COMP%]{opacity:1;transform:translateY(0);pointer-events:auto}#user-notification.has-widget[data-_ngcontent-%COMP%]{bottom:96px}#user-notification[data-_ngcontent-%COMP%] .av[data-_ngcontent-%COMP%]{width:42px;height:42px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:16px;text-transform:uppercase}#user-notification[data-_ngcontent-%COMP%] .txt[data-_ngcontent-%COMP%]{font-size:13px;color:#2b3a4d;line-height:1.4}#user-notification[data-_ngcontent-%COMP%] .txt[data-_ngcontent-%COMP%] b[data-_ngcontent-%COMP%]{color:#173a6b;font-weight:800}#user-notification[data-_ngcontent-%COMP%] .when[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:5px;gap:5px;font-size:11px;color:#556475;margin-top:3px;font-weight:600}#user-notification[data-_ngcontent-%COMP%] .when[data-_ngcontent-%COMP%]:before{content:"";width:6px;height:6px;border-radius:50%;background:#18a558;box-shadow:0 0 0 3px rgba(24,165,88,.161)}#user-notification[data-_ngcontent-%COMP%] .x[data-_ngcontent-%COMP%]{position:absolute;top:8px;right:9px;width:22px;height:22px;border:0;background:#f1f5fb;color:#556475;border-radius:50%;font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}#user-notification[data-_ngcontent-%COMP%] .x[data-_ngcontent-%COMP%]:hover{background:#e2e8f1;color:#173a6b}@media (max-width: 560px){#user-notification[data-_ngcontent-%COMP%]{left:10px;right:10px;bottom:10px;width:auto;max-width:none}}']}),e})(),dt=(()=>{class e{constructor(e,t,n){this._el=e,this._utilService=t,this.platformId=n,this.hiddenHandler=()=>{this._utilService.removeToast(this.bsToast)},this.showTimeout=null}ngAfterViewInit(){!(0,c.NF)(this.platformId)||(this.showTimeout=setTimeout(()=>{this.initializeToast()}))}ngOnDestroy(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null),"undefined"!=typeof $&&$(this._el.nativeElement).off("hidden.bs.toast",this.hiddenHandler)}show(){return(0,l.mG)(this,void 0,void 0,function*(){yield this.ensureToastPlugin(),this.hasToastPlugin()&&($(this._el.nativeElement).toast("show"),this._utilService.toasts.length>2&&$(".bs-toasts>.toast:nth-child(1)").toast("hide"))})}hide(){return(0,l.mG)(this,void 0,void 0,function*(){yield this.ensureToastPlugin(),this.hasToastPlugin()&&$(this._el.nativeElement).toast("hide")})}initializeToast(){return(0,l.mG)(this,void 0,void 0,function*(){yield this.ensureToastPlugin(),this.hasToastPlugin()&&($(this._el.nativeElement).off("hidden.bs.toast",this.hiddenHandler).on("hidden.bs.toast",this.hiddenHandler),yield this.show())})}ensureToastPlugin(){return!(0,c.NF)(this.platformId)||"undefined"==typeof $||this.hasToastPlugin()?Promise.resolve():(e.toastPluginReady||(e.toastPluginReady=this._utilService.ensureVendor().then(()=>this._utilService.loadScript(d.p_.BOOTSTRAP_TOAST)).then(()=>{})),e.toastPluginReady)}hasToastPlugin(){return"undefined"!=typeof $&&!!$.fn&&"function"==typeof $.fn.toast}}return e.toastPluginReady=null,e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(u.fK),i.\u0275\u0275directiveInject(i.PLATFORM_ID))},e.\u0275dir=i.\u0275\u0275defineDirective({type:e,selectors:[["","bsToast",""]],inputs:{bsToast:"bsToast"},exportAs:["bsToast"]}),e})();function ut(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1,"\u2713"),i.\u0275\u0275elementContainerEnd())}function ht(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1,"!"),i.\u0275\u0275elementContainerEnd())}function mt(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1,"i"),i.\u0275\u0275elementContainerEnd())}function pt(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"div",13),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&e){const e=i.\u
10275\u0275nextContext().$implicit;i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(e.title)}}function gt(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"div",14),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(e.desc)}}function _t(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",2,3),i.\u0275\u0275elementStart(2,"span",4),i.\u0275\u0275template(3,ut,2,0,"ng-container",5),i.\u0275\u0275template(4,ht,2,0,"ng-container",5),i.\u0275\u0275template(5,mt,2,0,"ng-container",6),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(6,"div",7),i.\u0275\u0275template(7,pt,2,1,"div",8),i.\u0275\u0275element(8,"div",9),i.\u0275\u0275template(9,gt,2,1,"div",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"button",11),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275reference(1).hide()}),i.\u0275\u0275elementStart(11,"span",12),i.\u0275\u0275text(12,"\xd7"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=t.$implicit,n=i.\u0275\u0275nextContext();i.\u0275\u0275classProp("ok","success"===e.type.type)("err","error"===e.type.type)("info","success"!==e.type.type&&"error"!==e.type.type),i.\u0275\u0275property("bsToast",e),i.\u0275\u0275attribute("data-delay",n.MESSAGES.MESSAGE_TIMEOUT),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngSwitch",e.type.type),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","success"),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngSwitchCase","error"),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",e.title),i.\u0275\u0275advance(1),i.\u0275\u0275property("innerHtml",e.msg,i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.desc)}}let ft=(()=>{class e{constructor(e){this._shared=e,this.MESSAGES=d.X3}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(ve.F))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["app-toasts"]],decls:2,vars:1,consts:[["aria-live","polite","aria-atomic","true",1,"bs-toasts"],["class","toast bs-toast","role","alert","aria-live","assertive","aria-atomic","true",3,"bsToast","ok","err","info",4,"ngFor","ngForOf"],["role","alert","aria-live","assertive","aria-atomic","true",1,"toast","bs-toast",3,"bsToast"],["bsToast","bsToast"],["aria-hidden","true",1,"t-ic",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"t-main"],["class","t-tt",4,"ngIf"],[1,"t-tx",3,"innerHtml"],["class","t-tx",4,"ngIf"],["type","button","aria-label","Close",1,"t-cl",3,"click"],["aria-hidden","true"],[1,"t-tt"],[1,"t-tx"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275template(1,_t,13,14,"div",1),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",t._shared._utilService.toasts))},directives:[c.sg,dt,c.RF,c.n9,c.ED,c.O5],styles:['.bs-toasts[data-_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:10px;gap:10px;width:340px;max-width:calc(100vw - 24px);padding:16px}.bs-toasts[data-_ngcontent-%COMP%] .toast[data-_ngcontent-%COMP%]{pointer-events:auto;flex:none;display:flex;align-items:flex-start;grid-gap:11px;gap:11px;background:#fff;border:1px solid #e2e8f1;border-left:4px solid #1f5fae;border-radius:12px;box-shadow:0 14px 36px rgba(20,45,85,.18);padding:13px 14px;max-width:100%;font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}.bs-toasts[data-_ngcontent-%COMP%] .toast.err[data-_ngcontent-%COMP%]{border-left-color:#c0392b}.bs-toasts[data-_ngcontent-%COMP%] .toast.ok[data-_ngcontent-%COMP%]{border-left-color:#1c7a45}.bs-toasts[data-_ngcontent-%COMP%] .toast.info[data-_ngcontent-%COMP%]{border-left-color:#1f5fae}.bs-toasts[data-_ngcontent-%COMP%] .toast[data-_ngcontent-%COMP%] .t-ic[data-_ngcontent-%COMP%]{flex:none;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;line-height:1}.bs-toasts[data-_ngcontent-%COMP%] .toast.err[data-_ngcontent-%COMP%] .t-ic[data-_ngcontent-%COMP%]{background:#fdeaea;color:#c0392b}.bs-toasts[data-_ngcontent-%COMP%] .toast.ok[data-_ngcontent-%COMP%] .t-ic[data-_ngcontent-%COMP%]{background:#e6f6ec;color:#1c7a45}.bs-toasts[data-_ngcontent-%COMP%] .toast.info[data-_ngcontent-%COMP%] .t-ic[data-_ngcontent-%COMP%]{background:#dcebfa;color:#1f5fae}.bs-toasts[data-_ngcontent-%COMP%] .toast[data-_ngcontent-%COMP%] .t-main[data-_ngcontent-%COMP%]{flex:1;min-width:0}.bs-toasts[data-_ngcontent-%COMP%] .toast[data-_ngcontent-%COMP%] .t-tt[data-_ngcontent-%COMP%]{font-weight:700;color:#173a6b;font-size:14px}.bs-toasts[data-_ngcontent-%COMP%] .toast[data-_ngcontent-%COMP%] .t-tx[data-_ngcontent-%COMP%]{color:#556475;font-size:13px;margin-top:2px;line-height:1.45;overflow-wrap:break-word}.bs-toasts[data-_ngcontent-%COMP%] .toast[data-_ngcontent-%COMP%] .t-cl[data-_ngcontent-%COMP%]{margin-left:auto;border:none;background:none;cursor:pointer;color:#556475;font-size:18px;line-height:1;padding:0 2px}.bs-toasts[data-_ngcontent-%COMP%] .toast[data-_ngcontent-%COMP%] .t-cl[data-_ngcontent-%COMP%]:hover{color:#2b3a4d}']}),e})();const bt=["settingsHost"];function vt(e,t){if(1&e&&i.\u0275\u0275element(0,"app-menu",28),2&e){const e=i.\u
10275\u0275nextContext();i.\u0275\u0275classProp("active",e.APP.MENU),i.\u0275\u0275attribute("inert",e.APP.MENU?null:"")}}function St(e,t){if(1&e&&i.\u0275\u0275element(0,"app-menu",29),2&e){const e=i.\u0275\u0275nextContext();i.\u0275\u0275classProp("active",e._shared._httpService.isUserLogged())}}function yt(e,t){1&e&&i.\u0275\u0275element(0,"app-ice-shaker")}function Et(e,t){1&e&&i.\u0275\u0275element(0,"app-toasts")}class wt{constructor(e,t,n,r,i,s,l){this._shared=e,this.cdr=t,this._platformId=n,this._compiler=r,this._injector=i,this._appRef=s,this._blogPostPreloadService=l,this.APP=d.lw,this.SETTINGS=d.L6,this.settingsRef=null,this.settingsModuleRef=null,this.settingsLoading=!1,this._blogEnhancer=null,this._blogEnhancerLoading=!1,this._blogPostPreloadService.init(),this._routerSubscription=this._shared._router.events.pipe((0,a.h)(e=>e instanceof o.m2)).subscribe(()=>{this._shared._seoService.initPage(),this.scheduleBlogEnhancer(this._shared._router.url),this.cdr.markForCheck()}),this.scheduleBlogEnhancer(this._shared._router.url)}isDirectBlogRoute(e){const t=String(e||"").split("#")[0].split("?")[0].replace(/\/+$/,"")||"/";return/^\/blogs\/[^/]+$/i.test(t)&&!wt._blogEnhancerExcluded.has(t)&&!t.startsWith("/blogs/categories/")}scheduleBlogEnhancer(e){if((0,c.NF)(this._platformId)){if(this._blogEnhancer)return void this._blogEnhancer.scheduleForRoute(e);!this.isDirectBlogRoute(e)||this._blogEnhancerLoading||(this._blogEnhancerLoading=!0,n.e("src_app_shared_core_services_blog-semantic-enhancer_service_ts").then(n.bind(n,23441)).then(({BlogSemanticEnhancerService:e})=>{this._blogEnhancer=this._injector.get(e),this._blogEnhancer.scheduleForRoute(this._shared._router.url)}).catch(()=>{}).finally(()=>{this._blogEnhancerLoading=!1}))}}onWindowResize(){this.cdr.markForCheck()}ngAfterViewChecked(){this.cdr.detectChanges()}onSettingsModalShow(){return(0,l.mG)(this,void 0,void 0,function*(){if(!this.settingsRef&&!this.settingsLoading){this.settingsLoading=!0;try{const[{SettingsModule:e},{SettingsComponent:t}]=yield Promise.all([Promise.all([n.e("default-node_modules_angular2-text-mask_dist_angular2TextMask_js-src_app_shared_layout_header-4e5ace"),n.e("common"),n.e("src_app_pages_private_settings_settings_module_ts")]).then(n.bind(n,63963)),Promise.all([n.e("default-src_app_shared_core_directives_bs-tooltip_directive_ts-src_app_shared_core_directives-2df25d"),n.e("default-src_app_shared_components_bs-forms_form-stripe_form-stripe_component_ts-src_app_share-f8e217"),n.e("src_app_pages_private_settings_settings_component_ts")]).then(n.bind(n,41902))]);if(!this.settingsHost)return;const r=yield this._compiler.compileModuleAsync(e);this.settingsModuleRef=r.create(this._injector);const i=this.settingsModuleRef.componentFactoryResolver.resolveComponentFactory(t);this.settingsRef=i.create(this.settingsModuleRef.injector),this._appRef.attachView(this.settingsRef.hostView),this.settingsHost.nativeElement.appendChild(this.settingsRef.location.nativeElement),this.settingsRef.changeDetectorRef.detectChanges()}catch(e){this.destroySettings()}finally{this.settingsLoading=!1,this.cdr.markForCheck()}}})}destroySettings(){var e;this.settingsRef&&(this._appRef.detachView(this.settingsRef.hostView),this.settingsRef.destroy(),this.settingsRef=null),null===(e=this.settingsModuleRef)||void 0===e||e.destroy(),this.settingsModuleRef=null}ngOnDestroy(){var e,t;null===(e=this._routerSubscription)||void 0===e||e.unsubscribe(),null===(t=this._blogEnhancer)||void 0===t||t.cancelPendingWork(),this.destroySettings()}}wt._blogEnhancerExcluded=new Set(["/blogs","/blogs/blog-post","/blogs/not-found","/blogs/search","/blogs/how-to-cancel"]),wt.\u0275fac=function(e){return new(e||wt)(i.\u0275\u0275directiveInject(u.F1),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(i.PLATFORM_ID),i.\u0275\u0275directiveInject(i.Compiler),i.\u0275\u0275directiveInject(i.Injector),i.\u0275\u0275directiveInject(i.ApplicationRef),i.\u0275\u0275directiveInject(h))},wt.\u0275cmp=i.\u0275\u0275defineComponent({type:wt,selectors:[["app-layout"]],viewQuery:function(e,t){if(1&e&&i.\u0275\u0275viewQuery(bt,5),2&e){let e;i.\u0275\u0275queryRefresh(e=i.\u0275\u0275loadQuery())&&(t.settingsHost=e.first)}},hostBindings:function(e,t){1&e&&i.\u0275\u0275listener("resize",function(){return t.onWindowResize()},!1,i.\u0275\u0275resolveWindow)}
1,decls:37,vars:12,consts:[["id","bs-wrapper"],["id","bs-page"],["id","bs-overlay","appSidebarToggle","",3,"dismissAllSidebars"],["id","bs-menu",3,"active",4,"ngIf"],["id","bs-content",2,"display","flex"],["id","bs-menu","class","d-none d-md-block","style","\n position: unset;\n height: unset;\n flex: auto;\n z-index: 1 !important;\n ",3,"active",4,"ngIf"],["id","bs-main-container",1,"container-fluid","px-0",2,"padding-top","0px !important","min-height","unset !important"],["id","bs-iceShaker"],[4,"ngIf"],["id","bs-toasts"],["id","bs-tooltips"],[1,"bs-tooltip-lg"],["bsModal","","id","modalSettings","tabindex","-1","role","dialog","aria-modal","true","aria-label","Account settings","aria-hidden","true",1,"modal","fade",2,"z-index","9999 !important",3,"showBsModal"],["bsModal","bsModal"],["role","document",1,"modal-dialog","modal-dialog-centered","set-modal-dialog"],[1,"modal-content","set-modal-content"],[1,"set-hero"],["type","button","data-dismiss","modal","aria-label","Close",1,"ga_btn_close_service_request","set-x"],["width","16","height","16","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.3","stroke-linecap","round"],["d","M6 6l12 12M18 6L6 18"],[1,"set-hero-row"],[1,"set-av"],[1,"set-id"],[1,"set-name"],[1,"set-mail"],[1,"set-pill"],[1,"modal-body","set-body"],["settingsHost",""],["id","bs-menu"],["id","bs-menu",1,"d-none","d-md-block",2,"position","unset","height","unset","flex","auto","z-index","1 !important"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275elementStart(1,"div",1),i.\u0275\u0275element(2,"div",2),i.\u0275\u0275template(3,vt,1,3,"app-menu",3),i.\u0275\u0275elementStart(4,"div",4),i.\u0275\u0275template(5,St,1,2,"app-menu",5),i.\u0275\u0275elementStart(6,"div",6),i.\u0275\u0275element(7,"app-breadcrumb"),i.\u0275\u0275element(8,"router-outlet"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(9,"app-footer"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"div",7),i.\u0275\u0275template(11,yt,1,0,"app-ice-shaker",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(12,"div",9),i.\u0275\u0275template(13,Et,1,0,"app-toasts",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"div",10),i.\u0275\u0275element(15,"div",11),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(16,"div",12,13),i.\u0275\u0275listener("showBsModal",function(){return t.onSettingsModalShow()}),i.\u0275\u0275elementStart(18,"div",14),i.\u0275\u0275elementStart(19,"div",15),i.\u0275\u0275elementStart(20,"div",16),i.\u0275\u0275elementStart(21,"button",17),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(22,"svg",18),i.\u0275\u0275element(23,"path",19),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(24,"div",20),i.\u0275\u0275elementStart(25,"div",21),i.\u0275\u0275text(26),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(27,"div",22),i.\u0275\u0275elementStart(28,"div",23),i.\u0275\u0275text(29),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(30,"div",24),i.\u0275\u0275text(31),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(32,"span",25),i.\u0275\u0275text(33,"Customer"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(34,"div",26),i.\u0275\u0275element(35,"div",null,27),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275advance(2),i.\u0275\u0275classProp("active",t.APP.MENU),i.\u0275\u0275property("dism
1issAllSidebars",!0),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",(t._shared._seoService.isHamburgerMenu()||!t._shared._httpService.isUserLogged())&&t.SETTINGS.WINDOW_LOADED&&!t._shared._seoService.isDashboardMockLayout()),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",t._shared._httpService.isUserLogged()&&!t._shared._seoService.isHamburgerMenu()&&t.SETTINGS.WINDOW_LOADED&&!t._shared._seoService.isDashboardMockLayout()),i.\u0275\u0275advance(1),i.\u0275\u0275classProp("default",!t._shared._seoService.headerTransparent),i.\u0275\u0275advance(5),i.\u0275\u0275property("ngIf",t.SETTINGS.WINDOW_LOADED),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",t.SETTINGS.WINDOW_LOADED),i.\u0275\u0275advance(13),i.\u0275\u0275textInterpolate(t._shared._cartService.user.getUserInitial()),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(t._shared._cartService.user.getUserFullName()),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(t._shared._cartService.user.customer_email))},directives:[m.T,c.O5,k,o.lC,fe,be.s,lt,ct,ft],styles:['#bs-wrapper[data-_ngcontent-%COMP%]{display:block}#bs-wrapper[data-_ngcontent-%COMP%] #bs-page[data-_ngcontent-%COMP%] #bs-overlay[data-_ngcontent-%COMP%]{display:none;position:fixed;width:100vw;height:100vh;background:rgba(0,0,0,.7);z-index:1029;opacity:0;transition:all .5s ease-in-out}#bs-wrapper[data-_ngcontent-%COMP%] #bs-page[data-_ngcontent-%COMP%] #bs-overlay.active[data-_ngcontent-%COMP%]{display:block;opacity:1}#bs-wrapper[data-_ngcontent-%COMP%] #bs-page[data-_ngcontent-%COMP%] #bs-menu[data-_ngcontent-%COMP%]{--width: var(--menu-sidebar-width);right:calc(-1 * var(--width));left:auto;background:var(--menu-bg-color)}#bs-wrapper[data-_ngcontent-%COMP%] #bs-page[data-_ngcontent-%COMP%] #bs-menu.active[data-_ngcontent-%COMP%]{right:0px;left:auto}#bs-wrapper[data-_ngcontent-%COMP%] #bs-page[data-_ngcontent-%COMP%] #bs-main-container[data-_ngcontent-%COMP%]{background-color:var(--page-bg-color);min-height:calc(100vh - var(--footer-min-height));padding-top:calc(30px + var(--header-height));display:flex;flex-direction:column}#bs-wrapper[data-_ngcontent-%COMP%] #bs-page[data-_ngcontent-%COMP%] #bs-main-container.default[data-_ngcontent-%COMP%]{padding-top:var(--header-height)}@media (min-width: 1024px){#bs-wrapper[data-_ngcontent-%COMP%] #bs-page[data-_ngcontent-%COMP%] #bs-overlay.active[data-_ngcontent-%COMP%]{display:none;opacity:0}#bs-wrapper[data-_ngcontent-%COMP%] #bs-page[data-_ngcontent-%COMP%] #bs-menu.active[data-_ngcontent-%COMP%]{right:calc(-1 * var(--width));left:auto}}#bs-wrapper[data-_ngcontent-%COMP%] #bs-sidebar[data-_ngcontent-%COMP%]{--width: var(--cart-sidebar-width);right:calc(-1 * var(--width));background:var(--sidebar-bg-color)}#bs-wrapper[data-_ngcontent-%COMP%] #bs-sidebar.active[data-_ngcontent-%COMP%]{right:0px}#bs-wrapper[data-_ngcontent-%COMP%] #bs-menu[data-_ngcontent-%COMP%], #bs-wrapper[data-_ngcontent-%COMP%] #bs-sidebar[data-_ngcontent-%COMP%]{z-index:1030;position:fixed;top:0;height:100%;min-width:var(--width);max-width:var(--width);transition:all .3s}#bs-wrapper[data-_ngcontent-%COMP%] #bs-toasts[data-_ngcontent-%COMP%]{position:fixed;top:0;right:0;z-index:10000;pointer-events:none}.modal-header[data-_ngcontent-%COMP%]{display:block}.modal-header[data-_ngcontent-%COMP%] .close-modal[data-_ngcontent-%COMP%]{width:38px;height:38px;position:relative;top:-3px}.modal-header[data-_ngcontent-%COMP%] button[data-_ngcontent-%COMP%]:hover{border-radius:50%;background:#EEF7FF}@media screen and (height: 900px){.container-fluid[data-_ngcontent-%COMP%]{min-height:calc(100vh - var(--footer-min-height))!important;padding-top:calc(30px + var(--header-height))!important}}html[lang|=en][data-_ngcontent-%COMP%] .custom-file-input[data-_ngcontent-%COMP%] ~ .custom-file-label[data-_ngcontent-%COMP%]:after{content:"Browse"}@media (max-width: 575.98px){#bs-menu[data-_ngcontent-%COMP%]{--width: min(var(--menu-sidebar-width), 84vw) !important}#bs-sidebar[data-_ngcontent-%COMP%]{--width: 100vw !important}}.set-modal-dialog[data-_ngcontent-%COMP%]{max-width:680px}@media (max-width: 767px){.set-modal-dialog[data-_ngcontent-%COMP%]{max-width:none}}.set-modal-content[data-_ngcontent-%COMP%]{border-radius:18px;border:none;overflow:hidden}.set-hero[data-_ngcontent-%COMP%]{position:relative;background:linear-gradient(135deg,#123056,#1f5fae 58%,#2c74c9);padding:24px 62px 22px 24px;color:#fff;overflow:hidden}.set-hero[data-_ngcontent-%COMP%]:after{content:"";position:absolute;right:-46px;top:-64px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.09)}.set-hero[data-_ngcontent-%COMP%]:before{content:"";position:absolute;right:64px;bottom:-78px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.06)}.set-hero-row[data-_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:14px;gap:14px;position:relative;z-index:1}.set-av[data-_ngcontent-%COMP%]{width:54px;height:54px;border-radius:50%;flex:none;background:rgba(255,255,255,.18);border:2px solid rgba(255,255,255,.42);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;color:#fff}.set-id[data-_ngcontent-%COMP%]{min-width:0;flex:1}.set-name[data-_ngcontent-%COMP%]{font-size:18px;font-weight:800;line-height:1.2}.set-mail[data-_ngcontent-%COMP%]{font-size:12.5px;opacity:.86;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.set-pill[data-_ngcontent-%COMP%]{display:inline-block;margin-top:8px;color:#fff;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);font-size:10.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;padding:3px 10px;border-radius:20px}.set-x[data-_ngcontent-%COMP%]{position:absolute;top:14px;right:14px;z-index:6;width:34px;height:34px;flex:none;border:1px solid rgba(255,255,255,.34);border-radius:10px;background:rgba(255,255,255,.14);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .15s,border-color .15s}.set-x[data-_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.26);border-color:rgba(255,255,255,.549)}.set-x[data-_ngcontent-%COMP%] svg[data-_ngcontent-%COMP%]{width:16px;height:16px;stroke:currentColor;stroke-width:2.3;fill:none;stroke-linecap:round}.set-body[data-_ngcontent-%COMP%]{padding:20px 22px 24px;background:#f7fafd;max-height:calc(100vh - 150px);overflow-y:auto}'],changeDetection:0});var Ct=n(41964);let Pt=(()=>{class e{constructor(e){this._router=e}preload(e,t){const n=!(!e.data||!e.data.preload),r=(this._router.url||"").split("?")[0].startsWith("/blogs");return n&&r?t():(0,Ct.of)(null)}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275inject(o.F0))},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Tt=[{path:"",component:wt,children:[{path:"blogs/how-to-cancel",loadChildren:()=>Promise.all([n.e("common"),n.e("src_app_blog_how-to-cancel_how-to-cancel_module_ts")]).then(n.bind(n,79890)).then(e=>e.HowToCancelModule),data:{preload:!0}},{path:"blogs",loadChildren:()=>Promise.all([n.e("common"),n.e("src_app_blog_blog_module_ts")]).then(n.bind(n,75172)).then(e=>e.BlogModule)},{path:"lower",loadChildren:()=>n.e("src_app_lower_lower_module_ts").then(n.bind(n,52091)).then(e=>e.LowerModule)},{path:"outage",loadChildren:()=>n.e("src_app_outage_outage_module_ts").then(n.bind(n,37645)).then(e=>e.OutageModule)},{path:"",pathMatch:"full",loadChildren:()=>Promise.all([n.e("default-src_app_shared_layout_header_header_component_ts"),n.e("default-node_modules_ng-select_ng-select_fesm2015_ng-select-ng-select_js"),n.e("default-src_app_shared_core_directives_bs-tooltip_directive_ts-src_app_shared_core_directives-2df25d"),n.e("default-src_app_shared_components_bs-components_bs-home-savings-calculator_bs-home-savings-ca-514cc4"),n.e("common"),n.e("src_app_pages_homepage_home_module_ts")]).then(n.bind(n,34941)).then(e=>e.HomeModule)},{path:"",loadChildren:()=>Promise.all([n.e("common"),n.e("src_app_pages_pages_module_ts")]).then(n.bind(n,16348)).then(e=>e.PagesModule)}]}];let It=(()=>{class e{constructor(e,t){t.setOffset([0,100]),e.events.pipe((0,a.h)(e=>e instanceof o.Xs)).subscribe(e=>{e.anchor?setTimeout(()=>{t.scrollToAnchor(e.anchor)}):t.scrollToPosition(e.position?e.position:[0,0])})}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275inject(o.F0),i.\u0275\u0275inject(c.EM))},e.\u0275mod=i.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=i.\u0275\u0275defineInjector({imports:[[o.Bz.forRoot(Tt,{scrollPositionRestoration:"enabled",initialNavigation:"enabled",preloadingStrategy:Pt})],o.Bz]}),e})();var Ot=n(98839),xt=n(56965);
1function At(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",1),i.\u0275\u0275elementStart(1,"div",2),i.\u0275\u0275elementStart(2,"span",3),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(3,"svg",4),i.\u0275\u0275element(4,"path",5),i.\u0275\u0275element(5,"path",6),i.\u0275\u0275element(6,"circle",7),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(7,"div",8),i.\u0275\u0275elementStart(8,"b"),i.\u0275\u0275text(9,"You're going a little fast."),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"span",9),i.\u0275\u0275text(11,"We've briefly paused actions to keep things running smoothly \u2014 you can keep browsing."),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(12,"span",10),i.\u0275\u0275text(13,"Actions are paused \u2014 keep browsing."),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"span",11),i.\u0275\u0275text(15),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(16,"button",12),i.\u0275\u0275listener("click",function(){return i.\u0275\u0275restoreView(e),i.\u0275\u0275nextContext().dismiss()}),i.\u0275\u0275text(17," \xd7 "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext();i.\u0275\u0275classProp("flash",e.flashing),i.\u0275\u0275advance(14),i.\u0275\u0275classProp("ok",e.ended),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(e.countdown)}}let Mt=(()=>{class e{constructor(e,t,n,r,i){this._rateLimit=e,this.cdr=t,this.ngZone=n,this.el=r,this.platformId=i,this.visible=!1,this.ended=!1,this.flashing=!1,this.countdown="",this.wasActive=!1,this.hideTimer=null,this.subs=new Ot.w0,this._onResize=()=>this._syncHeightVar()}get _isBrowser(){return(0,c.NF)(this.platformId)}ngOnInit(){this.subs.add(this._rateLimit.state$.subscribe(e=>{e.active?(this._clearHideTimer(),this.visible=!0,this.ended=!1,this.wasActive=!0,this.countdown="You can retry in "+this._fmt(e.remainingMs)):this.wasActive&&(this.wasActive=!1,this.ended=!0,this.countdown="You can retry now",this._scheduleHide()),this.cdr.detectChanges(),this._deferSyncHeightVar()})),this.subs.add(this._rateLimit.flash$.subscribe(()=>this._doFlash())),this._isBrowser&&this.ngZone.runOutsideAngular(()=>window.addEventListener("resize",this._onResize))}ngOnDestroy(){this.subs.unsubscribe(),this._clearHideTimer(),this._isBrowser&&(window.removeEventListener("resize",this._onResize),this._setHeightVar(0))}_deferSyncHeightVar(){!this._isBrowser||this.ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(()=>this._syncHeightVar()),setTimeout(()=>this._syncHeightVar(),250)})}_syncHeightVar(){if(!this._isBrowser)return;const e=this.el&&this.el.nativeElement?this.el.nativeElement.querySelector(".g429"):null,t=this.visible&&e?Math.max(0,Math.round(e.getBoundingClientRect().bottom)):0;this._setHeightVar(t)}_setHeightVar(e){this._isBrowser&&document.documentElement&&document.documentElement.style.setProperty("--g429-h",e+"px")}dismiss(){this._clearHideTimer(),this.visible=!1,this.ended=!1,this.wasActive=!1,this._rateLimit.clear(),this.cdr.detectChanges(),this._setHeightVar(0)}_scheduleHide(){this._clearHideTimer(),this.ngZone.runOutsideAngular(()=>{this.hideTimer=setTimeout(()=>{this.ngZone.run(()=>{this.visible=!1,this.ended=!1,this.cdr.detectChanges(),this._setHeightVar(0)})},4e3)})}_clearHideTimer(){this.hideTimer&&(clearTimeout(this.hideTimer),this.hideTimer=null)}_doFlash(){this.flashing=!1,this.cdr.detectChanges(),this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.ngZone.run(()=>{this.flashing=!0,this.cdr.detectChanges()})},20)})}_fmt(e){const t=Math.max(0,Math.ceil(e/1e3));return Math.floor(t/60)+":"+String(t%60).padStart(2,"0")}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(xt.o),i.\u0275\u0275directiveInject(i.ChangeDetectorRef),i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.PLATFORM_ID))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["app-rate-limit-banner"]],decls:1,vars:1,consts:[["class","g429","role","status","aria-live","polite",3,"flash",4,"ngIf"],["role","status","aria-live","polite",1,"g429"],[1,"g429-in"],[1,"g429-ic"],["viewBox","0 0 24 24"],["d","M12 3.4l9.2 15.9a.9.9 0 0 1-.8 1.3H3.6a.9.9 0 0 1-.8-1.3z"],["d","M12 10v4"],["cx","12","cy","17.2","r","1","fill","currentColor","stroke","none"],[1,"g429-tx"],[1,"g429-more"],[1,"g429-brief"],[1,"g429-cd"],["type","button","aria-label","Dismiss",1,"g429-cl",3,"click"]],template:function(e,t){1&e&&i.\u0275\u0275template(0,At,18,5,"div",0),2&e&&i.\u0275\u0275property("ngIf",t.visible)},directives:[c.O5],styles:['[data-_nghost-%COMP%]{display:block}.g429[data-_ngcontent-%COMP%]{position:sticky;top:0;z-index:1200;background:#fdf4e3;border-bottom:1px solid #f0d9a8;-webkit-animation:g429In .22s ease;animation:g429In .22s ease}.g429.flash[data-_ngcontent-%COMP%]{-webkit-animation:g429Blink .7s ease;animation:g429Blink .7s ease}@-webkit-keyframes g429In{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@keyframes g429In{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@-webkit-keyframes g429Blink{0%,to{background:#fdf4e3}15%,55%{background:#efc86a}35%,75%{background:#fdf4e3}}@keyframes g429Blink{0%,to{background:#fdf4e3}15%,55%{background:#efc86a}35%,75%{background:#fdf4e3}}.g429-in[data-_ngcontent-%COMP%]{max-width:1140px;margin:0 auto;display:flex;align-items:center;grid-gap:12px;gap:12px;padding:11px 20px}.g429-ic[data-_ngcontent-%COMP%]{flex:none;width:26px;height:26px;border-radius:50%;background:#fbeecb;
1color:#b5810f;display:flex;align-items:center;justify-content:center}.g429-ic[data-_ngcontent-%COMP%] svg[data-_ngcontent-%COMP%]{width:15px;height:15px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.g429-tx[data-_ngcontent-%COMP%]{flex:1;font-size:13px;color:#7a5a12;line-height:1.45}.g429-tx[data-_ngcontent-%COMP%] b[data-_ngcontent-%COMP%]{color:#8a5a06;font-weight:800}.g429-cd[data-_ngcontent-%COMP%]{flex:none;font-weight:800;color:#8a5a06;background:#fbeecb;border-radius:20px;padding:3px 11px;font-size:12px;white-space:nowrap;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-variant-numeric:tabular-nums;min-width:112px;text-align:center;box-sizing:border-box}.g429-cd.ok[data-_ngcontent-%COMP%]{background:#e6f6ec;color:#1c7a45}.g429-cl[data-_ngcontent-%COMP%]{flex:none;border:none;background:none;cursor:pointer;font-size:20px;line-height:1;color:#a8710a;opacity:.7;padding:0 4px}.g429-cl[data-_ngcontent-%COMP%]:hover{opacity:1}.g429-brief[data-_ngcontent-%COMP%]{display:none}@media (max-width: 991px){.g429-in[data-_ngcontent-%COMP%]{padding:10px 14px}.g429-more[data-_ngcontent-%COMP%]{display:none}.g429-brief[data-_ngcontent-%COMP%]{display:inline}}@media (prefers-reduced-motion: reduce){.g429[data-_ngcontent-%COMP%], .g429.flash[data-_ngcontent-%COMP%]{-webkit-animation:none;animation:none}}']}),e})();function Rt(e,t){1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(1,"svg",1),i.\u0275\u0275elementStart(2,"symbol",2),i.\u0275\u0275elementStart(3,"g",3),i.\u0275\u0275elementStart(4,"g",4),i.\u0275\u0275element(5,"path",5),i.\u0275\u0275element(6,"path",6),i.\u0275\u0275element(7,"path",7),i.\u0275\u0275element(8,"path",8),i.\u0275\u0275element(9,"path",9),i.\u0275\u0275element(10,"path",10),i.\u0275\u0275element(11,"path",11),i.\u0275\u0275element(12,"path",12),i.\u0275\u0275element(13,"path",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd())}let Nt=(()=>{class e{constructor(e){if(this._shared=e,this.title="website","undefined"!=typeof window&&this.hasGlobalLogoutParam())return this._shared._httpService.signOut(!0),void this._shared._cartService.resetAfterLogout();if("undefined"!=typeof Storage){if(localStorage.getItem("bs_auth")){const e=JSON.parse(localStorage.getItem("bs_auth"));e&&(delete e.csrf_token,delete e.session,delete e.tid,delete e.sl_img)}if(localStorage.getItem("lo-session")&&!this._shared._httpService.isUserLogged()){let e=JSON.parse(localStorage.getItem("lo-session")),t=JSON.parse(localStorage.getItem("lo-visitor"));e=Object.assign(Object.assign({},e),{lo_visitor:t}),this._shared._cartService.sendCustomerSessionRecordData(e).then(e=>{})}sessionStorage.getItem("bs_auth")&&JSON.parse(sessionStorage.getItem("bs_auth"))}}ngOnInit(){this._shared._utilService.isPlatformServer||(this._setupBannerProviderRebrand(),this._setupConsentCleanup(),this._publishAuthStateToDataLayer(),this._warmUpVendor())}_warmUpVendor(){const e=this._shared._utilService;if(!e||"function"!=typeof e.ensureVendor)return;let t=!1;const n=()=>
1{if(!t){t=!0;try{e.ensureVendor()}catch(n){}}},r=window,i={once:!0,passive:!0,capture:!0};["pointerdown","keydown","touchstart"].forEach(e=>document.addEventListener(e,n,i)),document.addEventListener("click",t=>{if(r.$&&r.$.fn&&r.$.fn.modal&&r.$.fn.collapse&&r.$.fn.dropdown)return;const n=t.target,i=n&&n.closest?n.closest("[data-toggle]"):null;!i||(t.preventDefault(),t.stopPropagation(),e.ensureVendor().then(()=>setTimeout(()=>i.click(),0)))},!0)}_publishAuthStateToDataLayer(){const e=()=>{try{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"bs_auth_state",bs_logged_in:!!this._shared._httpService.isUserLogged()})}catch(e){}};e(),this._shared._router.events.subscribe(t=>{t&&t.constructor&&"NavigationEnd"===t.constructor.name&&e()})}_setupConsentCleanup(){const e=/^_ga($|_)|^_gid$|^_gat($|_)|^lo[-_]|^__lo|^_hj|^AMP_|^amplitude|^dd_|^_dd_|^_clck$|^_clsk$|^FPID|^FPLC|^_scid/i,t=/^_gcl|^_gac|^ttcsid|^_ttp$|^tt_|^_tt|^_uet|^_rdt|^_fbp$|^_fbc$|^fr$|^MUID$|^_pin_|^personalization_id$|^muc_|^guest_id$|^IDE$|^test_cookie$/i,n=/^lo[-_]|^__lo|^_hj|^AMP_|^amplitude|^dd_|^_dd_/i,r=/^tt_|^ttcsid|^_tt|^_uet|^_rdt|^_fb/i,i=(()=>{const e=window.location.hostname.split(".");return e.length>2?"."+e.slice(-2).join("."):window.location.hostname})(),s=(e,t,i)=>{let s=!1;try{Object.keys(e).forEach(o=>{(t&&n.test(o)||i&&r.test(o))&&(e.removeItem(o),s=!0)})}catch(o){}return s},o=()=>{try{const r=window.Cookiebot;if(!r||!r.consent)return!1;const o=!r.consent.statistics,a=!r.consent.marketing;if(!o&&!a)return!1;h();let l=!1;if(document.cookie.split(";").map(e=>e.split("=")[0].trim()).filter(Boolean).forEach(n=>{(o&&e.test(n)||a&&t.test(n))&&((e=>{["",i,"."+window.location.hostname,window.location.hostname].forEach(t=>{let n=e+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/";t&&(n+="; domain="+t);try{document.cookie=n}catch(l){}})})(n),l=!0)}),s(window.localStorage,o,a)&&(l=!0),s(window.sessionStorage,o,a)&&(l=!0),o)try{const e=window.LO;e&&(e.recording&&e.recording.stop&&e.recording.stop(),e.privacy&&e.privacy.setConsentStatus&&e.privacy.setConsentStatus(!1))}catch(n){}return l}catch(r){return!1}};let a=null;const l="bsConsentPrevGrant",c="bsConsentDeclined",d=/(Visitor|Session) does not yet exist/i;if(!window.__bsLoRejGuard){window.__bsLoRejGuard=!0;const e=e=>{try{return d.test(String(e&&e.message||e))}catch(t){return!1}};window.addEventListener("unhandledrejection",t=>{e(t&&t.reason)&&t.preventDefault()},!1),window.addEventListener("error",t=>{e(t&&(t.error||t.message))&&t.preventDefault()},!0)}let u=!1;const h=()=>{if(u)return;const e=window.LO;if(e)try{["session","pages","visitor"].forEach(t=>{const n=e[t];!n||Object.getOwnPropertyNames(n).forEach(e=>{if("function"!=typeof n[e]||n[e].__bsWrapped)return;const t=n[e],r=function(){try{return t.apply(this,arguments)}catch(e){if(e&&d.test(String(e&&e.message||e)))return;throw e}};r.__bsWrapped=!0,n[e]=r})}),u=!0}catch(t){}},m=()=>{const e=window.Cookiebot;if(!e||!e.consent)return!1;const t=!!e.consent.statistics,n=!!e.consent.marketing;(!t||!n)&&(()=>{if(o(),a)return;let e=0,t=0;a=window.setInterval(()=>{t=o()?0:t+1,(++e>=80||e>=40&&t>=10)&&(window.clearInterval(a),a=null)},300)})();let r=null;try{r=JSON.parse(window.sessionStorage.getItem(l)||"null")}catch(s){}let i=!1;try{i="1"===window.sessionStorage.getItem(c)}catch(s){}try{window.sessionStorage.setItem(l,JSON.stringify({s:t,m:n}))}catch(s){}if(r&&i){const e=!r.s&&t,i=!r.m&&n;(e||i)&&((e,t)=>{if(t)try{const e=window.ttq;e&&(e.enableCookie&&e.enableCookie(),e.grantConsent&&e.grantConsent(),e.page&&e.page(),e.track&&e.track("ViewContent"))}catch(n){}if(e)try{const e=window.LO;if(e&&e.session&&e.session.create)e.privacy&&e.privacy.setConsentStatus&&e.privacy.setConsentStatus(!0),e.visitor&&e.visitor.identify&&e.visitor.identify(),e.session.create(),e.pages&&e.pages.create&&e.pages.create(),e.recording&&e.recording.start&&e.recording.start();else{const e=document.createElement("script");e.src="https://tools.luckyorange.com/core/lo.js?site-id=78a0ede0",e.async=!0,document.head.appendChild(e)}}catch(n){}})(e,i)}return!0};try{window.addEventListener("CookiebotOnConsentReady",()=>m(),!1),window.addEventListener("CookiebotOnAccept",()=>m(),!1),window.addEventListener("CookiebotOnDecline",()=>{try{window.sessionStorage.setItem(c,"1")}catch(e){}m()},!1)}catch(p){}if(!m()){let e=0;const t=window.setInterval(()=>{(m()||++e>30)&&window.clearInterval(t)},200)}}_setupBannerProviderRebrand(){const e=[{test:/^(?:(?:www|dev|dev-1|staging|seo-improvements)\.)?billshark\.com$/i,name:"Billshark",href:window.location.origin+"/privacy#use_of_tracking_technology",title:"How Billshark uses tracking technology",target:"_self",rel:""},{test:/^speedof\.me$/i,name:"SpeedOf.Me",href:"https://speedof.me/privacy.html",title:"SpeedOf.Me's privacy policy",target:"_blank",rel:"noopener noreferrer nofollow"},{test:/^([a-z0-9-]+\.)*openai\.com$/i,name:"OpenAI",href:"https://openai.com/policies/cookie-policy/",title:"OpenAI's cookie policy",target:"_blank",rel:"noopener noreferrer nofollow"}];if(!document.getElementById("bs-cb-table-css")){const e=document.createElement("style");e.id="bs-cb-table-css",e.textContent="#BsCbDetails table colgroup col:nth-child(2){width:24% !important}#BsCbDetails table colgroup col:nth-child(3){width:27% !important}#BsCbDetails table th:nth-child(2),#BsCbDetails table td:nth-child(2){min-width:150px !important}",document.head.appendChild(e)}const t=()=>{const t=document.getElementById("BsCbDetails");!t||t.querySelectorAll("table tr td:nth-child(2)").forEach(t=>{if("1"===t.dataset.bsRebranded)return;let n=!1;const r={};
1Array.prototype.slice.call(t.childNodes).forEach(i=>{if(3!==i.nodeType)return;const s=(i.nodeValue||"").trim();if(!s)return;const o=e.filter(e=>e.test.test(s))[0];if(!o)return;if(r[o.name]){let e=i.previousSibling;for(;e&&3===e.nodeType&&!(e.nodeValue||"").trim();){const n=e.previousSibling;t.removeChild(e),e=n}return e&&1===e.nodeType&&"BR"===e.tagName&&t.removeChild(e),t.removeChild(i),void(n=!0)}r[o.name]=!0;const a=document.createElement("a");a.href=o.href,a.target=o.target,o.rel&&(a.rel=o.rel),a.title=o.title,a.textContent=o.name,t.replaceChild(a,i),n=!0}),n&&(t.dataset.bsRebranded="1")})},n=()=>{const e=document.getElementById("BsCbDetailsBtn");!e||"1"===e.dataset.bsRebrandArmed||(e.dataset.bsRebrandArmed="1",e.addEventListener("click",()=>{setTimeout(t,60)}))};try{window.addEventListener("CookiebotOnDialogDisplay",()=>{n(),setTimeout(t,60)},!1)}catch(r){}setTimeout(n,500)}ngOnDestroy(){this._shared._utilService.selfAuth=0}hasGlobalLogoutParam(){return new URLSearchParams(window.location.search).has("logout")}}return e.\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(u.F1))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["app-root"]],decls:3,vars:1,consts:[[4,"ngIf"],["aria-hidden","true","focusable","false","xmlns","http://www.w3.org/2000/svg",2,"position","absolute","width","0","height","0","overflow","hidden"],["id","bs-wordmark","viewBox","0 0 280 40.36"],["transform","matrix(1.3333333,0,0,-1.3333333,0,40.36)"],["transform","scale(0.1)"],["fill","currentColor","d","m 144.504,197.273 c -2.141,-3.773 -5.008,-6.828 -8.508,-9.085 -3.594,-2.305 -7.683,-3.993 -12.152,-5.008 -4.547,-1.039 -9.235,-1.571 -13.922,-1.571 H 66.1016 v 57.457 h 41.0074 c 4.7,0 9.606,-0.464 14.59,-1.375 4.922,-0.918 9.364,-2.418 13.203,-4.464 3.75,-2.008 6.868,-4.868 9.254,-8.5 2.36,-3.61 3.555,-8.247 3.555,-13.786 0,-5.312 -1.078,-9.906 -3.207,-13.668 z m 3.543,-126.6207 c -3.832,-2.5546 -8.176,-4.3671 -12.914,-5.3945 -4.824,-1.043 -9.649,-1.5703 -14.344,-1.5703 H 66.1016 v 61.4805 h 45.8364 c 5.003,0 10.484,-0.402 16.277,-1.195 5.726,-0.782 11.137,-2.231 16.082,-4.309 4.82,-2.035 8.867,-5.055 12.031,-8.973 3.098,-3.839 4.664,-8.976 4.664,-15.2574 0,-5.8438 -1.211,-10.8398 -3.59,-14.8516 -2.422,-4.0664 -5.566,-7.4062 -9.355,-9.9297 z m 61.508,65.5387 c -5.61,6.161 -12.407,11.293 -20.196,15.258 -6.406,3.258 -13.496,5.66 -21.136,7.168 12.871,4.746 23.523,12.024 31.715,21.672 9.207,10.859 13.875,24.691 13.875,41.117 0,15.817 -3.208,28.711 -9.532,38.34 -6.301,9.586 -14.633,17.152 -24.761,22.496 -10.047,5.293 -21.536,8.871 -34.149,10.637 -12.504,1.746 -25.105,2.633 -37.457,2.633 L 0,295.512 V 7.24219 h 118.379 c 12.676,0 25.586,1.36719 38.375,4.06251 12.863,2.7031 24.613,7.2422 34.926,13.4844 10.367,6.2695 18.945,14.6406 25.492,24.875 6.582,10.2851 9.922,23.2461 9.922,38.5234 0,9.2734 -1.524,18.1285 -4.531,26.3325 -3.016,8.214 -7.391,15.503 -13.008,21.671"],["fill","currentColor","d","m 254.887,7.24219 h 66.105 V 295.512 H 254.887 V 7.24219"],["fill","currentColor","d","M 432.832,295.512 H 366.734 V 7.24219 H 549.148 V 68.5156 H 432.832 V 295.512"],["fill","currentColor","d","M 633.422,295.512 H 567.32 V 7.24219 H 749.734 V 68.5156 H 633.422 V 295.512"],["fill","currentColor","d","m 848.621,235.039 c 4.133,2.191 8.602,3.832 13.266,4.871 4.707,1.043 9.324,1.574 13.726,1.574 7.551,0 15.692,-1.527 24.2,-4.535 8.378,-2.965 15.105,-7.594 19.984,-13.758 l 1.211,-1.527 45.512,49.777 -1.262,1.114 c -12.192,10.832 -26.074,18.672 -41.266,23.285 -28.246,8.57 -59.75,9.453 -88.289,1.012 -13.281,-3.934 -25.176,-9.914 -35.359,-17.786 -10.207,-7.898 -18.485,-17.832 -24.602,-29.519 -6.133,-11.731 -9.242,-25.535 -9.242,-41.024 0,-16.097 3.41,-29.277 10.145,-39.164 6.675,-9.812 15.179,-17.836 25.281,-23.836 10,-5.953 20.949,-10.742 32.562,-14.246 11.426,-3.457 22.235,-6.972 32.129,-10.441 9.699,-3.414 17.887,-7.598 24.297,-12.434 6.195,-4.687 9.203,-10.902 9.203,-19.0036 0,-4.7343 -1.191,-8.8906 -3.535,-12.3476 -2.398,-3.5313 -5.602,-6.4805 -9.527,-8.7578 -4.004,-2.3242 -8.582,-4.0899 -13.617,-5.25 -15.555,-3.5899 -30.661,-1.6758 -44.793,5.1093 -9.504,4.5469 -17.493,11.0821 -23.747,19.4258 l -1.203,1.6016 -47.136,-51.8086 1.214,-1.1172 C 771.559,23.5508 786.641,14.2266 802.613,8.55078 818.547,2.875 836.059,0 854.688,0 c 14.832,0 29.14,1.91406 42.507,5.69141 13.418,3.79687 25.395,9.71489 35.582,17.59379 10.211,7.8906 18.422,17.9687 24.411,29.9531 5.996,11.9922 9.039,26.1914 9.039,42.1953 0,16.8794 -3.34,30.5894 -9.934,40.7464 -6.547,10.09 -14.914,18.254 -24.887,24.269 -9.89,5.953 -20.652,10.614 -31.992,13.856 -11.121,3.175 -21.726,6.418 -31.527,9.64 -9.602,3.153 -17.649,7.008 -23.91,11.45 -6.032,4.261 -8.961,10.273 -8.961,18.371 0,4.98 1.25,9.261 3.711,12.714 2.523,3.524 5.847,6.407 9.894,8.559"],["fill","currentColor","d","M 1182.21,189.258 H 1063.57 V 295.512 H 997.473 V 7.24219 h 66.097 V 130.398 h 118.64 V 7.24219 h 66.1 V 295.512 h -66.1 V 189.258"],["fill","currentColor","d","m 1637.11,239.066 h 39.39 c 5.54,0 11.28,-0.398 17.08,-1.191 5.69,-0.777 10.8,-2.281 15.18,-4.469 4.29,-2.148 7.86,-5.281 10.64,-9.316 2.75,-3.996 4.14,-9.504 4.14,-16.367 0,-7.368 -1.58,-13.114 -4.68,-17.086 -3.15,-4.035 -7.18,-7.043 -11.98,-8.938 -4.92,-1.941 -10.5,-3.125 -16.6,-3.515 -6.27,-0.395 -12.26,-0.602 -17.8,-0.602 h -35.37 z m 138.93,-84.046 c 10.63,14.316 16.02,31.91 16.02,52.304 0,16.817 -2.98,31.082 -8.84,42.41 -5.88,11.336
1-13.91,20.481 -23.89,27.184 -9.94,6.66 -21.64,11.484 -34.79,14.332 -13.07,2.828 -27.07,4.262 -41.6,4.262 H 1571.01 V 7.24219 h 66.1 V 121.141 h 28.32 L 1724.53,8.13672 1725,7.24219 h 79.2 L 1731.46,128.07 c 19.32,4.075 34.31,13.129 44.58,26.95"],["fill","currentColor","d","m 1957.55,161.406 128.4,134.106 h -86.7 L 1890.94,179.727 v 115.785 h -66.11 V 7.24219 h 66.11 V 139.648 L 2004.43,7.24219 h 92.24 L 1957.55,161.406"],["fill","currentColor","d","m 1455.12,291.445 h -83.37 L 1278.79,4.42578 h 75.28 l 0.8,2.03906 c 14.72,53.62896 16.17,135.91816 16.17,138.59816 0,0 72.57,-29.825 103.77,-110.3716 5.99,-20.6289 15.69,-26.32421 18.17,-30.26562 h 44.08 11.04 L 1455.12,291.445"]],template:function(e,t){1&e&&(i.\u0275\u0275template(0,Rt,14,0,"ng-container",0),i.\u0275\u0275element(1,"app-rate-limit-banner"),i.\u0275\u0275element(2,"router-outlet")),2&e&&i.\u0275\u0275property("ngIf",!1)},directives:[c.O5,Mt,o.lC],styles:[""]}),e})();var kt=n(44466),Lt=n(63325);let Dt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=i.\u0275\u0275defineInjector({providers:[],imports:[[kt.m,Lt.x]]}),e})(),Ft=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.\u0275\u0275defineNgModule({type:e,bootstrap:[Nt]}),e.\u0275inj=i.\u0275\u0275defineInjector({providers:[],imports:[[r.BrowserModule.withServerTransition({appId:"website"}),r.BrowserTransferStateModule,s.JF,It,Dt,c.ez]]}),e})();function Bt(){r.platformBrowser().bootstrapModule(Ft,{preserveWhitespaces:!1}).catch(e=>{console.error("-----"),console.error(e)})}(0,i.enableProdMode)();let Ut=!1;function Ht(){Ut||(Ut=!0,Bt())}function jt(){var e;"undefined"!=typeof window&&"/"===(null===(e=window.location)||void 0===e?void 0:e.pathname)&&"undefined"!=typeof window?function(){if("undefined"==typeof window)return void Ht();const e=[];let t=null,n=null,r=null,i=null;const s=()=>{e.forEach(([e,t,n,r])=>{e.removeEventListener(t,n,r)}),null!==r&&(window.cancelAnimationFrame(r),r=null),null!==i&&(window.cancelAnimationFrame(i),i=null),null!==t&&(window.clearTimeout(t),t=null),null!==n&&(window.clearTimeout(n),n=null),Ht()},o=(t,n,r,i)=>{t.addEventListener(n,r,i),e.push([t,n,r,i])},a={once:!0,passive:!0,capture:!0};["pointerdown","touchstart","keydown","focusin","scroll"].forEach(e=>{o(window,e,s,a)});const l=()=>{r=window.requestAnimationFrame(()=>{i=window.requestAnimationFrame(()=>{t=window.setTimeout(s,400)})})};"complete"!==document.readyState?(o(window,"load",l,{once:!0}),n=window.setTimeout(s,4500)):l()}():Bt()}function qt(){var e;const t=null==document?void 0:document.body;if(!t||!t.firstChild)return!1;const n=t.firstChild,r=n.nodeType===Node.TEXT_NODE;return!(!r||!/^\s*undefined\s*$/.test(r&&n.nodeValue||"")||(null===(e=n.parentNode)||void 0===e||e.removeChild(n),0))}document.addEventListener("DOMContentLoaded",()=>{(function(){try{const e=document.querySelector("ng-component ng-component");e&&e.children.length>0&&(window.__bsPrerenderedPost={path:window.location.pathname,html:e.outerHTML})}catch(e){}})(),jt()}),qt();const Vt=new MutationObserver(()=>{qt()&&Vt.disconnect()});Vt.observe(document.body,{childList:!0})}},function(e){e.O(0,["vendor"],function(){return e(e.s=79019)}),e.O()}]);
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.