PageSourceSearch

https://www.pedalsure.com/_nuxt/5f2262f.js

js pedalsure.com collected 2026-10-07 16:27:30 UTC 468,576 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[10],[,,function(e,t,r){"use strict";r.d(t,"k",function(){return f}),r.d(t,"m",function(){return m}),r.d(t,"l",function(){return h}),r.d(t,"e",function(){return v}),r.d(t,"b",function(){return b}),r.d(t,"s",function(){return g}),r.d(t,"g",function(){return y}),r.d(t,"h",function(){return _}),r.d(t,"d",function(){return x}),r.d(t,"r",function(){return w}),r.d(t,"j",function(){return k}),r.d(t,"t",function(){return E}),r.d(t,"o",function(){return T}),r.d(t,"q",function(){return S}),r.d(t,"f",function(){return P}),r.d(t,"c",function(){return R}),r.d(t,"i",function(){return A}),r.d(t,"p",function(){return j}),r.d(t,"a",function(){return $}),r.d(t,"v",function(){return U}),r.d(t,"n",function(){return B}),r.d(t,"u",function(){return Q});var n=r(49),o=r(1),a=r(9),i=r(52),s=(r(3),r(4),r(5),r(6),r(22),r(46),r(12),r(61),r(111),r(19),r(69),r(78),r(59),r(92),r(44),r(93),r(288),r(20),r(26),r(27),r(10),r(21),r(171),r(31),r(65),r(85),r(60),r(322),r(54),r(176),r(166),r(70),r(8)),c=r(96);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){Object(a.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(e){s.default.config.errorHandler&&s.default.config.errorHandler(e)}function m(e){return e.then(function(e){return e.default||e})}function h(e){return e.$options&&"function"==typeof e.$options.fetch&&!e.$options.fetch.length}function v(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=d(e.$children||[]);try{for(n.s();!(t=n.n()).done;){var o=t.value;o.$fetch&&r.push(o),o.$children&&v(o,r)}}catch(e){n.e(e)}finally{n.f()}return r}function b(e,t){if(t||!e.options.__hasNuxtData){var r=e.options._originDataFn||e.options.data||function(){return{}};e.options._originDataFn=r,e.options.data=function(){var n=r.call(this,this);return this.$ssrContext&&(t=this.$ssrContext.asyncData[e.cid]),l(l({},n),t)},e.options.__hasNuxtData=!0,e._Ctor&&e._Ctor.options&&(e._Ctor.options.data=e.options.data)}}function g(e){return e.options&&e._Ctor===e||(e.options?(e._Ctor=e,e.extendOptions=e.options):(e=s.default.extend(e))._Ctor=e,!e.options.name&&e.options.__file&&(e.options.name=e.options.__file)),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],e.matched.map(function(e,n){return Object.keys(e[r]).map(function(o){return t&&t.push(n),e[r][o]})}))}function _(e){return y(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function x(e,t){return Array.prototype.concat.apply([],e.matched.map(function(e,r){return Object.keys(e.components).reduce(function(n,o){return e.components[o]?n.push(t(e.components[o],e.instances[o],e,o,r)):delete e.components[o],n},[])}))}function w(e,t){return Promise.all(x(e,function(){var e=Object(o.a)(regeneratorRuntime.mark(function e(r,n,o,a){var i,s,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof r||r.options){e.next=4;break}return e.prev=1,e.next=2,r();case 2:r=e.sent,e.next=4;break;case 3:if(e.prev=3,(c=e.catch(1))&&"ChunkLoadError"===c.name&&"undefined"!=typeof window&&window.sessionStorage){i=Date.now();try{(!(s=parseInt(window.sessionStorage.getItem("nuxt-reload")))||s+6e4<i)&&(window.sessionStorage.setItem("nuxt-reload",i),window.location.reload(!0))}catch(e){}}throw c;case 4:return o.components[a]=r=g(r),e.abrupt("return","function"==typeof t?t(r,n,o,a):r);case 5:case"end":return e.stop()}},e,null,[[1,3]])}
1));return function(t,r,n,o){return e.apply(this,arguments)}}()))}function k(e){return O.apply(this,arguments)}function O(){return(O=Object(o.a)(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=1;break}return e.abrupt("return");case 1:return e.next=2,w(t);case 2:return e.abrupt("return",l(l({},t),{},{meta:y(t).map(function(e,r){return l(l({},e.options.meta),(t.matched[r]||{}).meta)})}));case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function E(e,t){return C.apply(this,arguments)}function C(){return(C=Object(o.a)(regeneratorRuntime.mark(function e(t,r){var o,a,s,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.context||(t.context={isStatic:!1,isDev:!1,isHMR:!1,app:t,store:t.store,payload:r.payload,error:r.error,base:t.router.options.base,env:{apiKey:"AIzaSyBc9o3uEs6mu3-n3_47BPss1pbcKBkvc6U",authDomain:"pedalsureauth.firebaseapp.com",databaseURL:"https://pedalsureauth.firebaseio.com",projectId:"pedalsureauth",storageBucket:"pedalsureauth.appspot.com",messagingSenderId:"685890056387",appId:"1:685890056387:web:b448387337c91015523276",measurementId:"G-9NKQJHWK28",baseUrl:"https://system.pedalsure.com",envType:"live",gtmToken:"GTM-TVLM46K",baseDomainUrl:"https://www.pedalsure.com"}},r.req&&(t.context.req=r.req),r.res&&(t.context.res=r.res),r.ssrContext&&(t.context.ssrContext=r.ssrContext),t.context.redirect=function(e,r,o){if(e){t.context._redirected=!0;var a=Object(n.a)(r);if("number"==typeof e||"undefined"!==a&&"object"!==a||(o=r||{},r=e,a=Object(n.a)(r),e=302),"object"===a&&(r=t.router.resolve(r).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(r))throw r=Object(c.d)(r,o),window.location.assign(r),new Error("ERR_REDIRECT");t.context.next({path:r,query:o,status:e})}},t.context.nuxtState=window.__NUXT__),e.next=1,Promise.all([k(r.route),k(r.from)]);case 1:o=e.sent,a=Object(i.a)(o,2),s=a[0],u=a[1],r.route&&(t.context.route=s),r.from&&(t.context.from=u),r.error&&(t.context.error=r.error),t.context.next=r.next,t.context._redirected=!1,t.context._errored=!1,t.context.isHMR=!1,t.context.params=t.context.route.params||{},t.context.query=t.context.route.query||{};case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}function T(e,t,r){return!e.length||t._redirected||t._errored||r&&r.aborted?Promise.resolve():S(e[0],t).then(function(){return T(e.slice(1),t,r)})}function S(e,t){var r;return(r=2===e.length?new Promise(function(r){e(t,function(e,n){e&&t.error(e),r(n=n||{})})}):e(t))&&r instanceof Promise&&"function"==typeof r.then?r:Promise.resolve(r)}function P(e,t){if("hash"===t)return window.location.hash.replace(/^#\//,"");e=decodeURI(e).slice(0,-1);var r=decodeURI(window.location.pathname);e&&r.startsWith(e)&&(r=r.slice(e.length));var n=(r||"/")+window.location.search+window.location.hash;return Object(c.c)(n)}function R(e,t){return function(e,t){for(var r=new Array(e.length),o=0;o<e.length;o++)"object"===Object(n.a)(e[o])&&(r[o]=new RegExp("^(?:"+e[o].pattern+")$",N(t)));return function(t,n){for(var o="",a=t||{},i=(n||{}).pretty?L:encodeURIComponent,s=0;s<e.length;s++){var c=e[s];if("string"!=typeof c){var u=a[c.name||"pathMatch"],l=void 0;if(null==u){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(Array.isArray(u)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var d=0;d<u.length;d++){if(l=i(u[d]),!r[s].test(l))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(l)+"`");o+=(0===d?c.prefix:c.delimiter)+l}}else{if(l=c.asterisk?M(u):i(u),!r[s].test(l))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+l+'"');o+=c.prefix+l}}else o+=c}return o}}(function(e,t){var r,n=[],o=0,a=0,i="",s=t&&t.delimiter||"/";for(;null!=(r=I.exec(e));){var c=r[0],u=r[1],l=r.index;if(i+=e.slice(a,l),a=l+c.length,u)i+=u[1];else{var d=e[a],p=r[2],f=r[3],m=r[4],h=r[5],v=r[6],b=r[7];i&&(n.push(i),i="");var g=null!=p&&null!=d&&d!==p,y="+"===v||"*"===v,_="?"===v||"*"===v,x=r[2]||s,w=m||h;n.push({name:f||o++,prefix:p||"",delimiter:x,optional:_,repeat:y,partial:g,asterisk:Bo
1olean(b),pattern:w?q(w):b?".*":"[^"+D(x)+"]+?"})}}a<e.length&&(i+=e.substr(a));i&&n.push(i);return n}(e,t),t)}function A(e,t){var r={},n=l(l({},e),t);for(var o in n)String(e[o])!==String(t[o])&&(r[o]=!0);return r}function j(e){var t;if(e.message||"string"==typeof e)t=e.message||e;else try{t=JSON.stringify(e,null,2)}catch(r){t="[".concat(e.constructor.name,"]")}return l(l({},e),{},{message:t,statusCode:e.statusCode||e.status||e.response&&e.response.status||500})}window.onNuxtReadyCbs=[],window.onNuxtReady=function(e){window.onNuxtReadyCbs.push(e)};var I=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function L(e,t){var r=t?/[?#]/g:/[/?#]/g;return encodeURI(e).replace(r,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function M(e){return L(e,!0)}function D(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function q(e){return e.replace(/([=!:$/()])/g,"\\$1")}function N(e){return e&&e.sensitive?"":"i"}function $(e,t,r){e.$options[t]||(e.$options[t]=[]),e.$options[t].includes(r)||e.$options[t].push(r)}var U=c.b,B=(c.e,c.a);function Q(e){try{window.history.scrollRestoration=e}catch(e){}}},,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"e",function(){return f}),r.d(t,"d",function(){return m}),r.d(t,"h",function(){return h}),r.d(t,"g",function(){return v}),r.d(t,"i",function(){return b}),r.d(t,"f",function(){return y}),r.d(t,"c",function(){return _}),r.d(t,"b",function(){return x}),r.d(t,"a",function(){return w});var n=r(9),o=r(194),a=(r(3),r(4),r(5),r(6),r(12),r(19),r(78),r(59),r(26),r(27),r(20),r(10),r(171),r(31),r(65),r(21),r(419)),i=r.n(a),s=r(53),c=r.n(s),u=["id"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){Object(n.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var p=r(558);function f(e){if(e.headers.cookie&&e.headers.cookie){var t=p.parse(e.headers.cookie).access_token;if(!t||"string"!=typeof t)return;try{var r=i()(t);if(!r)return;return r}catch(e){}}}function m(e){if(e.headers.common.cookie&&e.headers.common.cookie){var t=p.parse(e.headers.common.cookie).access_token;if(!t||"string"!=typeof t)return;return t}}function h(e,t){var r=c()(e.effectiveDate).format("YYYY-MM-DD"),n=e.userDetails.dateBirth?c()(e.userDetails.dateBirth).format("YYYY-MM-DD"):c()().format("YYYY-MM-DD"),a=e.bicycles.map(function(e){e.id;var t=Object(o.a)(e,u);return d(d({},t),{},{is_ebike:t.isEbike})});return{id:e.id,pid:e.pid,age:e.age,discount:e.discount,discountCode:e.discountCode,discountSlug:e.discountSlug,partnerSlug:e.partnerSlug,effective_date:r,payment_type:e.payment_type,policy_type:e.policy_type,customer:{date_of_birth:n,first_name:e.userDetails.firstName,last_name:e.userDetails.lastName,email:t||e.userDetails.email,telephone:e.userDetails.phone,address_house:e.userDetails.house,address_street:e.userDetails.street,address_city:e.userDetails.city,address_county:e.userDetails.county,address_postcode:e.postcode,isSubscribed:e.userDetails.isSubscribed},bicycles:a,insurance_components:e.insurance_components,hiplok:e.hiplok,hiplokProducts:e.hiplokProducts}}function v(e){var t,r,n,o,a,i,s=c()(e.period.effective_date),u=c()(e.customer.date_of_birth).toDate(),l=(e.coverage.bicycles||[]).map(function(e){return{id:e.dbid,make:e.make,isEbike:e.is_ebike,value:e.value,serialNumber:e.serial_number||"",photos:e.photos||[]}});return{id:e.code,code:e.code,pid:e.id,postcode:e.customer.address_postcode||"",discount:e.discount,discountCode:e.discountCode||null,discountSlug:e.discountSlug||null,partnerSlug:e.partner_slug||null,age:e.age,balance:e.balance||{},origin:e.origin||{},price:e.price||{},bicycles:l,effectiveDate:s,period:e.period||{},payment_type:e.payment_type,policy_type:e.policy_type,status:e.status||0,binder_id:e.binder_id,payment_method:e.payment_method,notifications:e.notifications,fullCode:e.full_code,insurance_components:{accessories_cover:e.coverage.insurance_components.accessories_cover||"none",loss_of_earnings:e.coverage.insurance_components.loss_of_earnings||"none",personal_injury:e.coverage.insurance_components.personal_injury||"none",public_liability:e.coverage.insurance_components.public_liability||"none",amateur_racing:e.coverage.risk_factors.amateur_racing||"none",worldwide_cover:e.coverage.risk_factors.worldwide_cover||"none"},userDetails:{firstName:e.customer.first_name||"",lastName:e.customer.last_name||"",email:e.customer.email||"",phone:e.customer.telephone||"",house:e.customer.address_house||"",street:e.customer.address_street||"",city:e.customer.address_city||"",county:e.customer.address_county||"",dateBirth:u||"",isSubscribed:e.customer.isSubscribed||!1},hiplok:e.hiplok,hiplokProducts:{dx:{count:null!==(t=null===(r=e.hiplokProducts)||void 0===r||null===(r=r.dx)||void 0===r?void 0:r.count)&&void 0!==t?t:0},gold:{count:null!==(n=null===(o=e.hiplokProducts)||void 0===o||null===(o=o.gold)||void 0===o?void 0:o.count)&&void 0!==n?n:0},edx:{count:null!==(a=null===(i=e.hiplokProducts)||void 0===i||null===(i=i.edx)||void 0===i?void 0:i.count)&&void 0!==a?a:0}}}}function b(e){var t=0,r=0,n=0,o=0,a=0;return e&&(t=e.discount,r=e.discountCode,n=e.discountSlug,o=e.partnerSlug,a=e.partnerLabel),{postcode:"",age:"",discount:t,discountCode:r,discountSlug:n,partner
1Slug:o,partnerLabel:a,bicycles:[],effectiveDate:c()(),payment_type:"annually",policy_type:"",insurance_components:{accessories_cover:"none",amateur_racing:"none",loss_of_earnings:"none",personal_injury:"none",public_liability:"none",worldwide_cover:"none"},userDetails:{firstName:"",lastName:"",email:"",phone:"",house:"",street:"",city:"",county:"",dateBirth:null}}}var g=["welcome-back","quote-setup","quote-preview"];function y(e){return new RegExp("^/(".concat(g.join("|"),")(/|$)")).test(e||"")}var _={EDIT:"edit",MTA:"mta",PAYMENT:"payment",FREE:"free"},x={bike:"Bike",postcode:"Postcode",address:"Address",phone:"Telephone",accessories:"Accessories",competitions:"Competitions","foreign-travel":"Foreign Travel","personal-cover":"Personal Cover","loss-earning":"Loss of Earning","public-liability":"Public Liability"},w=[{category:"AboutPedalsureCyclingInsurance",title:"About Pedalsure Cycling Insurance",id:"About-Pedalsure-Cycling-Insurance",items:[{title:"What does your cycling insurance cover?",value:'As standard, all our policies cover theft and damage to the bikes specified in your policy. This includes where your bikes are used or ridden by your family members. In addition, you can add cover for your accessories and personal items, to cover your bikes in competitive races, and to extend your cover overseas. You can also add personal cover to cover yourself in the event of an accident. We have three levels of personal cover: Bronze, Silver and Gold. This cover includes compensation for broken bones and other serious injuries, cover against claims from other people for damage to them or their property caused by your negligence and more.</br >Find out more <a href = "https://www.pedalsure.com/blog/which-cycling-insurance-is-best-for-me" > which type of cycling insurance is best for you</a >.'},{title:"How much does your cycling insurance cost?",value:'The cost of your cover depends on the value of the bikes you are insuring and the number of optional extras you wish to add, such as personal cover. Cover can start from as little as £3.09 per month for a £500 bike, to £24.04 per month for a £5,000 bike.</br></br>We have a more detailed article looking at <a href = "https://www.pedalsure.com/blog/how-much-does-it-cost-to-insure-your-bicycle" > how much cycling insurance costs</a >.'},{title:"Who underwrites your cycling insurance?",value:"Our cover is underwritten by Dukes House Insurance Limited, an insurance company registered in Guernsey and authorised and regulated by the Guernsey Financial Services Commission. Registration Number 2522730. </br></br> Our legal expenses cover is underwritten by SCOR UK Company Limited. SCOR UK Company Limited is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority. </br></br>Please note that with effect from 30 August 2024, we no longer offer legal expenses cover. All new and renewal policies issued on and after this date will not include legal expenses cover."},{title:"What ages do you provide insurance for?",value:"You must be aged 16 or over at the time your policy is purchased."},{title:"Am I covered if I bought my bike through a Cycle to Work scheme?",value:"You can purchase cover in the normal way if you bought your bike through a Cycle to Work scheme. Neither your premium nor coverage will be affected."},{title:"When will my cycling insurance policy start?",value:"You can choose any day falling within one month of your policy purchase date as the start date of your policy. Be aware that if you choose a future date, your cover will not be effective until the start date you have chosen. This will be set out in your insurance certificate."},{title:"What is an excess in cycling insurance?",value:"Just like other types of insurance, the excess in cycling insurance is the amount you - the policyholder - is required to pay in the event of a claim."},{title:"How much is the excess with Pedalsure?",value:"Our excess is £75 or 10% of the claim payment value, whichever is the greater."},{title:"I live outside of the UK - can Pedalsure cover me?",value:"You must be resident in the UK or Isle of Man to take out a cycling insurance policy with Pedalsure."},{title:"I have previously made a claim - will this affect my cycling insurance cover?",value:"Our eligibility requirement for cover is that, in the 12 months prior to purchase, you must not have made more than two bicycle related claims, or a single bicycle related claim for more than £500."}
1,{title:"My bike isn't brand new - can I insure it with Pedalsure?",value:"Yes. We replace bikes on a ‘new for old’ basis with a minimum bike value of £400, so as long as the replacement value of your bike is over £400 it can be insured with Pedalsure."},{title:"What does ‘new for old’ mean?",value:"New for old’ means that if your bike is stolen and it’s insured for the full replacement value, we will replace it with a brand new model up to the same insured value."},{title:"Do you cover cycle couriers and business use of bicycles?",value:"The policies available to buy directly on our website are not designed for business or commercial use but we do offer bespoke policies tailored for business use. If you wish to discuss a commercial quote, please contact our customer service team at [email protected]."},{title:"How much should I insure my bike for?",value:"It’s important to insure your bike for its true replacement cost to avoid being underinsured(see below). </br >For bikes that can be readily replaced with a new one(or similar model) from a retailer, the insured value should be the undiscounted replacement cost(including VAT) from a reputable retailer at the time you purchase your cover. (Note that end of season offers and heavy discounts on ebay do not count as the usual price.) </br >If your bike is modified, the declared value should include the value of any additional purchased parts such as wheels, groupsets or pedals which are essential to the operation of the bike. </br >Accessories such as lights, computers and panniers are not essential to the operation of the bike and if cover is required for these they can be included by adding accessories and personal items to your cover and selecting the appropriate limit. </br >If you built your bike yourself, the insured value should be the total value of the individual parts that make up your bike.You should not include any value for the time you spent building up the bike.It's important that you retain proof of purchase for any after-market parts (as well as for the bike itself) as these will be required to prove ownership in the event of a claim."},{title:"What is underinsurance?",value:"Underinsurance is where the declared value of your bike is less than its replacement cost. In other words, the amount you’re insured for is not sufficient to cover the cost of replacing your bike.</br >In the event of a claim, being underinsured means your settlement amount may be reduced by the amount by which you are underinsured.For example, if the insured value of your bike is only 70 % of its true replacement cost and it gets stolen, your claim payment will be equal to 70 % of the cost of the replacement bike(less the applicable excess)."},{title:"What is the maximum value bike you insure",value:"We will insure a maximum of 5 bikes (in each case, with an individual value of up to £15,000) up to a total aggregate value of £30,000, unless we have expressly agreed to provide additional cover to you and have reflected this in an endorsement to your Policy Schedule."},{title:"Can I insure my collection of bikes on one insurance policy?",value:"Yes, you can insure up to 5 bikes (in each case, with an individual value of up to £15,000) up to a total aggregate value of £30,000.These are also covered against theft and damage for use by the policyholder’s family members."},{title:"Am I covered if I lend, loan or hire my insured bicycle to another person?",value:"Unfortunately we are unable to provide bicycle insurance cover whilst the bike is hired or loaned by you to any other person, other than a family member. If you are enquiring about a quote for your bicycle hire business, please get in touch with our customer service team at [email protected]."},{title:"Can I insure my family on my policy with Pedalsure?",value:"Yes, we offer family cover as standard. This means that all bikes insured with us will also be covered for theft and damage where they are used or ridden by the named policyholder’s family members. This includes the policyholder’s parent, spouse, partner, son, daughter, brother or sister who permanently lives with them at the insured location.</br >Please be aware that personal cover is for the named policyholder only and does not apply to family members."},{title:"What is personal liability cover?",value:'Personal liability is also known as public liability or third party liability. It provides cover against damage to persons or property caused by your proven negligence. </br > We have a more detailed <a href = "https://www.pedalsure.com/blog/do-cycl
1ists-need-to-have-third-party-liability-insurance" > guide on cycling and third - party liability insurance</a >.'},{title:"I am only looking for personal liability cover when I am cycling can you help?",value:"We do not offer personal liability cover by itself. You can add personal liability cover to our standard theft and damage base level of cover by selecting our Bronze, Silver or Gold personal cover package (which includes personal injury cover) or by adding it on its own."},{title:"Do you provide cover against personal injury? ",value:"Yes. Our Bronze, Silver and Gold personal cover packages include personal injury cover up to £50,000.You can add a package to your quote.If you are already a policyholder you can add a personal cover package to your policy within your account dashboard."},{title:"Am I covered for riding other people’s bikes? ",value:"Our theft and damage cover only covers the bikes owned by the policyholder and specified on your Policy Schedule. </br > If you have Bronze, Silver or Gold personal cover, or personal liability cover by itself, you will be covered when riding any bike, including other people’s."},{title:"Do you cover motorcycles, or scooters? ",value:"No, we only cover bicycles. If your cycle or scooter is subject to the requirements of the Road Traffic Act, we cannot provide cover."}]},{category:"ManagingyourpolicywithPedalsure",title:"Managing your policy with Pedalsure",id:"ManagingyourpolicywithPedalsure",items:[{title:"How do I cancel my policy?",value:"You can cancel your policy by contacting our customer service team at [email protected]. You may cancel your policy for any reason within 14 days of purchase. Provided no claims have been made or are pending, you will be entitled to a full refund of your premium.</br >You may also cancel your policy at any time after the first 14 days.Provided no claims have been made or are pending, you will be entitled to a refund of that part of your premium that relates to the unutilised period of insurance.We reserve the right to charge a £20 administration fee for such cancellations to reflect the cost of arranging and cancelling the policy."},{title:"How do I make changes to my cover?",value:"You can make changes to your policy in your account dashboard. This includes adding or removing a bike, and adding or removing specific covers, such as accessories, personal injury and personal liability. Contact our customer service team at [email protected] if you need help making any changes to your policy."},{title:"Can I change the way I pay for my policy?",value:"Yes. You can change to paying for your premium on a monthly basis, rather than a single annual payment, and vice versa. Please contact our customer service team at [email protected] who will do this for you."},{title:"Can I change the payment date of my premium?",value:"Yes, you can change the date you make payment of your premium if you pay monthly. Please contact our customer service team at [email protected] who can do this for you."},{title:"How does my policy renew?",value:"Our insurance policies run for 12 months. 30 days before your policy expiry date you will receive a renewal email from Pedalsure. You have the option to change your policy or cancel your renewal within your renewal email. Your policy will renew automatically on the renewal date unless you choose to cancel."},{title:"How do I cancel my renewal?",value:"You can cancel your renewal by following the ‘Cancel My Renewal’ button in your renewal email which you will receive 30 days before your policy expiry date."},{title:"Why has my renewal price increased from last year?",value:"We never increase the cost of your cover if we can avoid it.If your premium has increased, it could be because you`ve made changes to your policy and, for example, moved to a new address or increased the level of your cover e.g. by adding accessories cover. Alternatively, it could be because we`ve raised our prices for all customers.We do this rarely but sometimes we need to if, for example, we`ve received an unusually high number of claims over the past year."}]},{category:"Locks and security",title:"Locks and security",id:"Locks and security",items:[{title:"Do I need to use a specific type of lock with a Pedalsure insurance policy?",value:'Yes, you do. In order for your cover to be effective you must use an ‘Approved Lock’ when locking your bike. You can find our Approved Locks list <a href="https://demo.pedalsure.com/policy-information">here</a>. We use the industry recognised Sold Secure ratings to determine what is an Approved Lock.</br >For bicycles up to and including the value of £1,000, you must use a minimum Sold Secure silver - rated lock.For bicycles with a value greater than £1,000, you must use a minimum Sold Secure gold - rated lock. </br >We will also accept any specifically designed bicycle, motor scooter or motorcycle lock which has been tested and approved to a Sold Secure silver or gold rating(as applicable), or a Thatcham approved motorcycle lock. </br >We offer all our customers discounts on a range of gold and diamond - rated locks from Hiplok.You can find out more about the offer here.'},{title:"Do I need to comply with any specific security requirements while my insured bicycle is at my home?",value:"If you leave your bike inside your home, you do not need to take any additional security measures, provided all security devices within your home are operating correctly.</br >Please be aware that different requirements apply if your bike is left in a communal hallway, in a garage, outbuilding or shed, or in the garden of your home.Please carefully read our Policy Document to ensure you understand these or contact our customer service team at cservice @pedalsure.com for clarification."},{title:"Can I leave my bike in the garden?",value:"The garden counts as ‘away from the insured location’. Your bike must be locked through the frame to an immovable object with an approved lock and it can’t be left for more than 12 hours."},{title:"Can I leave my bike in a shed or garage at home?",value:"Yes, but it must be locked through the frame to an immovable object within the building with an approved lock (unless it is a metal shed with ‘Secured by Design’ accreditation). External access to your shed or garage should be secured by a 5-lever mortice deadlock (to BS3621 standard), a S
1old Secure gold-rated lock or a CEN4 rated padlock. Your garage door must also have ‘Secured by Design’ accreditation."},{title:"How should I secure my bike while it is away from my home?",value:"Whenever you leave your bike unattended away from your home, it must be locked through the frame to an immovable object with an approved lock for your cover to be effective. Don’t leave it unattended for more than 12 hours at any one time, or 24 hours if it’s locked to a cycle rack at a train station or at your workplace."},{title:"Can I leave my bike outside overnight?",value:"Whenever you leave your bike unattended away from your home, it must be locked through the frame to an immovable object with an approved lock for your cover to be effective. Don’t leave it unattended for more than 12 hours at any one time, or 24 hours if it’s locked to a cycle rack at a train station or at your workplace."},{title:"Is my bicycle covered at my place of work?",value:"Yes, but it must be locked through the frame to an immovable object with an approved lock. In addition, it cannot be left unattended for more than 24 hours at your place of employment."},{title:"Can I leave my bike in a car or other vehicle?",value:'Yes, but the vehicle must be correctly locked with all windows and openings closed, all security devices must be operating and the bike must be stored out of sight or locked through the frame with an approved lock to the roof or bicycle rack attached to the vehicle. Additional requirements apply where the bike is left in a vehicle overnight. </br >Please carefully read our<a href = "https://demo.pedalsure.com/policy-information"> Policy Document</a > for a full understanding of these requirements. </br >Please note that only one bike(not multi bikes) will be covered if left in a vehicle.'}]},{category:"Travel",title:"Travel",id:"Travel",items:[{title:"Am I covered if I ride my bike abroad?",value:"You must add our overseas travel option to extend your cover abroad. As standard your bike will be covered within the United Kingdom, Channel Islands and Isle of Man. Please note that we are unable to provide public liability cover for any claims arising from the use of your bike in the USA or Canada."},{title:"I am going on a 4-month bicycle trip abroad - can you cover me?",value:"We offer overseas travel cover to extend your cover overseas for 30 or 60 days per year. If your trip lasts longer than 60 days then, regrettably, we cannot provide cover."},{title:"I only want bike insurance cover for my 2-week annual cycling trip abroad, can I buy a short term policy?",value:"Unfortunately not. Our policies run for 12-months. We do not offer short term policies. If you are only looking for short term cover whilst abroad we would recommend you look at specific sports travel insurance products as they can also cover medical and repatriation expenses if you have an accident abroad, as well as the cost of any damaged sports equipment, such as your bike."},{title:"Does your insurance policy cover my bike while transported in a plane?",value:"If you have added our overseas travel option to your policy, you are covered from the point the airline takes receipt of the bike. </br></br>You must keep the receipt from the airline when checking your bike in.The bike must be in a hard or rigid cased luggage bike box.For the avoidance of doubt, fabric bike bags are not classed as a bike box.In addition, your bike box valued up to £500 will be covered whilst it is in the care of an airline."}]},{category:"Activities",title:"Activities",id:"Activities",items:[{title:"Does cycling insurance cover racing?",value:"Yes, if you have added the racing option to your cover. This extends your cover to competing in an organised cycling or triathlon event where a winner is selected (sportives and charity events are included as standard and do not require this option to be added). If you take part in an organised triathlon or duathlon then the bike will be covered in transition and you (if added) will also be covered in the swim and run."},{title:"Will your insurance cover me if I take part in charity cycle events like the London to Brighton charity ride?",value:"Yes, cover for sportives and charity rides are included as standard."},{title:"Will Pedalsure insurance cover me if I take part in triathlon events?",value:"Yes, if you have added the racing option to your cover. This extends your cover to competing in an organised triathlon event where a winner is selected. Your bike will be covered in transition and you (if added) will also be c
1overed in the swim and run."}]},{category:"Bike types, parts and accessories",title:"Bike types, parts and accessories",id:"Bike types, parts and accessories",items:[{title:"Do you cover electric bikes?",value:"Yes, we cover electric bikes. Your electric bike must be road legal for use in the UK as an ‘electrically assisted pedal cycle’ (EAPC). If your e-bike has a maximum power output above 250 watts or its motor provides assistance at speeds above 15.5mph we are unable to cover it. For a full definition of our requirements on electric bikes, please refer to our Policy Document."},{title:"Do you cover cargo bikes?",value:"Yes, we cover cargo bikes, including e-cargo bikes. If you have an electric cargo bike, it must be road legal for use in the UK as an ‘electrically assisted pedal cycle’ (EAPC). If your e-cargo bike has a maximum power output above 250 watts or its motor provides assistance at speeds above 15.5mph we are unable to cover it. For a full definition of our requirements on electric bikes, please refer to our Policy Document."},{title:"Do I need to prove ownership of all bikes and equipment covered under my policy?",value:"You must upload photos of your bike along with its serial number to your account within 30 days of purchasing a policy with us. In addition, it’s important for bicycle insurance that you have documentary proof of ownership of your bike, any major bike parts and your lock (we will ask for evidence of this if you need to make a claim). Proof of this could be original purchase receipts, packaging, manuals or photos of the relevant parts, clearly showing the make (and model if applicable) of that item. Alternatively, bank or credit card statements can be provided and, on some occasions, retailers may be able to provide copy receipts for larger purchases."},{title:"Can I insure a bike that was gifted to me?",value:"Yes, you can insure a bike you received as a gift. We would require proof of purchase of the bike or something in writing from the person who gifted you the bike informing us that the bike was a gift."},{title:"I built my bike myself - can I still be covered by Pedalsure?",value:"Yes. When insuring custom built bikes we ask that you insure them for the full retail cost as new, to replace with the same or similar frame and components as you currently have. Unfortunately you cannot include the time it would take to build up your bike again. In the event of a claim you do need to provide us with proof of ownership for your bike and lock, so if your bike does consist of various components we would require receipts, packaging, instruction manuals, or photographs for your bike and the components, in order to be able to replace with the same or similar."},{title:"What does your accessories option cover?",value:"We offer cover for up to £1,000 worth of accessories and personal items.Accessories are equipment added and fixed to the frame of your bike and which are not essential to the bike’s operation.This includes panniers, GPS computers, saddle bags, mudguards, lights, trailers and passenger carrying trailers.Personal items are items of clothing and articles of a strictly personal nature including cycling helmets, cycling clothing and sports equipment.Items which are essential to the bike’s operation such as upgraded wheels or gears should be included in the declared replacement value of your bike."},{title:"I have a racing bike with several sets of racing wheels which I also need to insure. Should I include the cost of them in my bike value?",value:"Our insurance would cover the cost of any wheels fitted to the bike at the time it is damaged or stolen. We would suggest including the value of the most expensive set of wheels in the replacement value of the bike that you declare to us when you take out the policy. </br > Please note that in the event of a claim, you will need to provide proof of ownership of the items that you are claiming for.Ideally this means the receipt, but can include packaging or photos of the items attached to the bicycle."},{title:"I have recently purchased a child trailer costing £500 - does Pedalsure bike insurance cover such items?",value:"A bike trailer would be deemed as an accessory under our cover. You must add the accessories and personal items option to your cover for the required amount to cover your trailer. You cannot insure the trailer as a separate item."}]},{category:"Claims",title:"Claims",id:"Claims",items:[{title:"How do I make a claim?",value:"To make a claim (other than for legal expenses), login to your dashboard and visit the Claims area to make a claim. You will then be prompted to fill in and submit a claim form online or call one of our partners if your claim is for personal injury or loss of earnings. To make a claim for legal expenses, please use ARAG. Download a claim form from www.arag.co.uk/newclaims and follow the steps provided."},{title:"How long does a cycling insurance claim take?",value:"We deal with all claims in-house and we guarantee to assess your claim within 24 hours. That means that one of our team will review your claim within that time. Your claim will be approved within a short time of assessment. This can be the same day, within 48 hours, or slightly longer if your claim is more complex and we need additional documentation, for example. We often settle claims on the same day they are approved."}
1,{title:"Will you repair my bike or replace it if it’s damaged?",value:"It's important to note that each case depends on the nature of the damage to your bike and the replacement value you’ve given for your bike (you should always insure your bike for its full replacement value). If you're covered with Pedalsure and get in touch to tell us your bike has been damaged, after completing the claims form, the first step will be for us to get our bicycle repair specialists to assess the damage to your bike. If it can be repaired (at a value up to the amount shown on your policy) we'll get it repaired for you or, of if you prefer, we'll pay you for the repair amount in cash. If it can't be repaired, we'll look to replace your bike for you and if we can't replace it, we'll pay for the loss or damage in cash."},{title:"Will my premium go up if I make a claim?",value:"We do not penalise you by increasing your premium if you make a claim, provided the replacement value of any new bike covered by the policy remains the same as your previously covered bike."}]}]},,,,,,function(e,t,r){"use strict";r.d(t,"b",function(){return a}),r.d(t,"d",function(){return i}),r.d(t,"c",function(){return s}),r.d(t,"a",function(){return c});r(3),r(4),r(5),r(6);var n=r(106),o=r.n(n);r(535);if(!o.a.apps.length){o.a.initializeApp({apiKey:"AIzaSyBc9o3uEs6mu3-n3_47BPss1pbcKBkvc6U",authDomain:"pedalsureauth.firebaseapp.com",databaseURL:"https://pedalsureauth.firebaseio.com",projectId:"pedalsureauth",storageBucket:"pedalsureauth.appspot.com",messagingSenderId:"685890056387",appId:"1:685890056387:web:b448387337c91015523276",measurementId:"G-9NKQJHWK28"})}var a=o.a.auth(),i=new o.a.auth.GoogleAuthProvider,s=new o.a.auth.FacebookAuthProvider,c=new o.a.auth.OAuthProvider("apple.com");c.addScope("email"),c.addScope("name");o.a},,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",function(){return n}),r.d(t,"c",function(){return s}),r.d(t,"b",function(){return c});r(3),r(4),r(5),r(6),r(46),r(10),r(31),r(54),r(166);var n="https://www.pedalsure.com",o=["/login","/dashboard","/success","/free","/quote-setup","/quote-preview","/quote-complete","/policy","/welcome-back","/auth","/strava-login"],a=["/quote"];function i(e){if("string"!=typeof e||!e)return"/";var t=e.split("?")[0].split("#")[0],r=(t.startsWith("/")?t:"/".concat(t)).replace(/\/{2,}/g,"/");return r.length>1?r.replace(/\/+$/,""):"/"}function s(e){var t=String(arguments.length>1&&void 0!==arguments[1]?arguments[1]:n).replace(/\/+$/,""),r=i(e);return"/"===r?"".concat(t,"/"):"".concat(t).concat(r)}function c(e){var t=[];return function(e){var t=i(e);return o.some(function(e){return t===e||t.startsWith("".concat(e,"/"))})||a.some(function(e){return t.startsWith("".concat(e,"/"))})}(e)&&t.push({hid:"robots",name:"robots",content:"noindex,follow"}),{meta:t,link:[{hid:"canonical",rel:"canonical",href:s(e)}]}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"b",function(){return Po}),r.d(t,"a",function(){return ce});var n=r(1),o=r(9),a=(r(3),r(4),r(5),r(6),r(22),r(59),r(12),r(19),r(44),r(26),r(27),r(20),r(21),r(10),r(31),r(54),r(8)),i=r(17),s=r(417),c=r(263),u=r.n(c),l=r(139),d=r.n(l),p=(r(60),r(70),r(264)),f=r(96),m=r(2);r(72);"scrollRestoration"in window.history&&(Object(m.u)("manual"),window.addEventListener("beforeunload",function(){Object(m.u)("auto")}),window.addEventListener("load",function(){Object(m.u)("manual")}));function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var b=function(){};a.default.use(p.a);var g={mode:"history",base:"/",linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(e,t,r){var n=!1,o=e!==t;r?n=r:o&&function(e){var t=Object(m.g)(e);if(1===t.length){var r=t[0].options;return!1!==(void 0===r?{}:r).scrollToTop}return t.some(function(e){var t=e.options;return t&&t.scrollToTop})}(e)&&(n={x:0,y:0});var a=window.$nuxt;return(!o||e.path===t.path&&e.hash!==t.hash)&&a.$nextTick(function(){return a.$emit("triggerScroll")}),new Promise(function(t){a.$once("triggerScroll",function(){if(e.hash){var r=e.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(r="#"+window.CSS.escape(r.substr(1)));try{var o=document.querySelector(r);if(o){var a;n={selector:r};var i=Number(null===(a=getComputedStyle(o)["scroll-margin-top"])||void 0===a?void 0:a.replace("px",""));i&&(n.offset={y:i})}}catch(e){}}t(n)})})},routes:[{path:"/about-us",component:function(){return Object(m.m)(r.e(13).then(r.bind(null,1477)))},name:"about-us"},{path:"/affiliate-programme",component:function(){return Object(m.m)(r.e(14).then(r.bind(null,1478)))},name:"affiliate-programme"},{path:"/bike-insurance",component:function(){return Object(m.m)(r.e(17).then(r.bind(null,1479)))},name:"bike-insurance"},{path:"/bike-theft-insurance",component:function(){return Object(m.m)(r.e(18).then(r.bind(null,1480)))},name:"bike-theft-insurance"},{path:"/blog",component:function(){return Object(m.m)(Promise.all([r.e(1),r.e(20)]).then(r.bind(null,1481)))},name:"blog"},{path:"/calculator",component:function(){return Object(m.m)(Promise.all([r.e(2),r.e(4),r.e(24)]).then(r.bind(null,1482)))},name:"calculator"},{path:"/cargo-bike-insurance",component:function(){return Object(m.m)(Promise.all([r.e(0),r.e(25)]).then(r.bind(null,1452)))},name:"cargo-bike-insurance"},{path:"/chatgpt-app",component:function(){return Object(m.m)(r.e(26).then(r.bind(null,1483)))},name:"chatgpt-app"},{path:"/claim",component:function(){return Object(m.m)(r.e(27).then(r.bind(null,1484)))},name:"claim"},{path:"/commuter-cycle-insurance",component:function(){return Object(m.m)(Promise.all([r.e(0),r.e(28)]).then(r.bind(null,1453)))},name:"commuter-cycle-insurance"},{path:"/compare-cycle-insurance",component:function(){return Object(m.m)(r.e(29).then(r.bind(null,1485)))},name:"compare-cycle-insurance"},{path:"/contact-permissions",component:function(){return Object(m.m)(r.e(30).then(r.bind(null,1486)))},name:"contact-permissions"},{path:"/contact-us",component:function(){return Object(m.m)(r.e(31).then(r.bind(null,1487)))},name:"contact-us"},{path:"/dashboard",component:function(){return Object(m.m)(r.e(33).then(r.bind(null,1454)))},name:"dashboard"},{path:"/electric-bike-insurance",component:function(){return Object(m.m)(r.e(46).then(r.bind(null,1488)))},name:"electric-bike-insurance"},{path:"/faq",component:function(){return Object(m.m)(r.e(48).then(r.bind(null,1489)))},name:"faq"},{path:"/hiplok",component:function(){return Object(m.m)(r.e(52).then(r.bind(null,1490)))}
1,name:"hiplok"},{path:"/login",component:function(){return Object(m.m)(r.e(54).then(r.bind(null,1463)))},name:"login"},{path:"/mountain-bike-insurance",component:function(){return Object(m.m)(Promise.all([r.e(0),r.e(55)]).then(r.bind(null,1455)))},name:"mountain-bike-insurance"},{path:"/policy-information",component:function(){return Object(m.m)(r.e(56).then(r.bind(null,1491)))},name:"policy-information"},{path:"/price-match-promise",component:function(){return Object(m.m)(r.e(61).then(r.bind(null,1492)))},name:"price-match-promise"},{path:"/quote",component:function(){return Object(m.m)(Promise.all([r.e(2),r.e(4),r.e(78)]).then(r.bind(null,1493)))},name:"quote"},{path:"/road-bike-insurance",component:function(){return Object(m.m)(Promise.all([r.e(0),r.e(79)]).then(r.bind(null,1451)))},name:"road-bike-insurance"},{path:"/road-cycling",component:function(){return Object(m.m)(r.e(80).then(r.bind(null,1494)))},name:"road-cycling"},{path:"/triathlon-cycle-insurance",component:function(){return Object(m.m)(Promise.all([r.e(0),r.e(85)]).then(r.bind(null,1456)))},name:"triathlon-cycle-insurance"},{path:"/welcome-back",component:function(){return Object(m.m)(Promise.all([r.e(6),r.e(86)]).then(r.bind(null,1495)))},name:"welcome-back"},{path:"/what-we-cover",component:function(){return Object(m.m)(r.e(87).then(r.bind(null,1496)))},name:"what-we-cover"},{path:"/auth/email-link",component:function(){return Object(m.m)(r.e(15).then(r.bind(null,1497)))},name:"auth-email-link"},{path:"/auth/handoff",component:function(){return Object(m.m)(r.e(16).then(r.bind(null,1498)))},name:"auth-handoff"},{path:"/dashboard/assetverify-resume",component:function(){return Object(m.m)(r.e(32).then(r.bind(null,1499)))},name:"dashboard-assetverify-resume"},{path:"/dashboard/settings",component:function(){return Object(m.m)(r.e(45).then(r.bind(null,1464)))},name:"dashboard-settings"},{path:"/success/free",component:function(){return Object(m.m)(r.e(81).then(r.bind(null,1500)))},name:"success-free"},{path:"/success/gocardless",component:function(){return Object(m.m)(r.e(82).then(r.bind(null,1501)))},name:"success-gocardless"},{path:"/success/mta",component:function(){return Object(m.m)(r.e(83).then(r.bind(null,1502)))},name:"success-mta"},{path:"/success/renew",component:function(){return Object(m.m)(r.e(84).then(r.bind(null,1520)))},name:"success-renew"},{path:"/policy/renew/cancel",component:function(){return Object(m.m)(r.e(60).then(r.bind(null,1521)))},name:"policy-renew-cancel"},{path:"/",component:function(){return Object(m.m)(Promise.all([r.e(2),r.e(53)]).then(r.bind(null,1449)))},name:"index"},{path:"/blog/page/:page?",component:function(){return Object(m.m)(Promise.all([r.e(1),r.e(21)]).then(r.bind(null,1503)))},name:"blog-page-page"},{path:"/blog/tag/:slug",component:function(){return Object(m.m)(r.e(22).then(r.bind(null,1504)))},name:"blog-tag-slug"},{path:"/dashboard/policy-edit/:policyid?",component:function(){return Object(m.m)(Promise.all([r.e(5),r.e(34)]).then(r.bind(null,1505)))},name:"dashboard-policy-edit-policyid"},{path:"/dashboard/policy-mta-complete/:policyid?",component:function(){return Object(m.m)(r.e(35).then(r.bind(null,1506)))},name:"dashboard-policy-mta-complete-policyid"},{path:"/dashboard/policy-review/:policyid?",component:function(){return Object(m.m)(r.e(36).then(r.bind(null,1507)))},name:"dashboard-policy-review-policyid"},{path:"/dashboard/policy/:policyid",component:function(){return Object(m.m)(r.e(43).then(r.bind(null,1450)))},name:"dashboard-policy-policyid"},{path:"/dashboard/policy/:policyid?/claim-damage",component:function(){return Object(m.m)(Promise.all([r.e(3),r.e(7),r.e(37)]).then(r.bind(null,1461)))},name:"dashboard-policy-policyid-claim-damage"},{path:"/dashboard/policy/:policyid?/claim-intro",component:function(){return Object(m.m)(r.e(38).then(r.bind(null,1508)))},name:"dashboard-policy-policyid-claim-intro"},{path:"/dashboard/policy/:policyid?/claim-intro-typebot",component:function(){return Object(m.m)(r.e(39).then(r.bind(null,1509)))},name:"dashboard-policy-policyid-claim-intro-typebot"},{path:"/dashboard/policy/:policyid?/claim-theft",component:function(){return Object(m.m)(Promise.all([r.e(3),r.e(7),r.e(40)]).then(r.bind(null,1462)))},name:"dashboard-policy-policyid-claim-theft"}
1,{path:"/dashboard/policy/:policyid?/details",component:function(){return Object(m.m)(r.e(42).then(r.bind(null,1510)))},name:"dashboard-policy-policyid-details"},{path:"/dashboard/policy/:policyid?/refer",component:function(){return Object(m.m)(r.e(44).then(r.bind(null,1465)))},name:"dashboard-policy-policyid-refer"},{path:"/blog/tag/:slug?/page/:page?",component:function(){return Object(m.m)(r.e(23).then(r.bind(null,1511)))},name:"blog-tag-slug-page-page"},{path:"/dashboard/policy/:policyid?/claim/:id?",component:function(){return Object(m.m)(r.e(41).then(r.bind(null,1512)))},name:"dashboard-policy-policyid-claim-id"},{path:"/blog/:slug",component:function(){return Object(m.m)(r.e(19).then(r.bind(null,1513)))},name:"blog-slug"},{path:"/faq/:id",component:function(){return Object(m.m)(r.e(47).then(r.bind(null,1514)))},name:"faq-id"},{path:"/free/:slug",component:function(){return Object(m.m)(r.e(51).then(r.bind(null,1515)))},name:"free-slug"},{path:"/quote-complete/:quoteId",component:function(){return Object(m.m)(r.e(62).then(r.bind(null,1516)))},name:"quote-complete-quoteId"},{path:"/quote-preview/:policyCode",component:function(){return Object(m.m)(r.e(63).then(r.bind(null,1457)))},name:"quote-preview-policyCode"}
1,{path:"/quote-setup/:policyCode",component:function(){return Object(m.m)(Promise.all([r.e(5),r.e(64)]).then(r.bind(null,1458)))},name:"quote-setup-policyCode"},{path:"/welcome-back/:quoteCode?",component:function(){return Object(m.m)(r.e(6).then(r.bind(null,1443)))},name:"welcome-back-quoteCode"},{path:"/quote/:quoteid/accessories",component:function(){return Object(m.m)(r.e(65).then(r.bind(null,1466)))},name:"quote-quoteid-accessories"},{path:"/quote/:quoteid/add-bike",component:function(){return Object(m.m)(r.e(66).then(r.bind(null,1459)))},name:"quote-quoteid-add-bike"},{path:"/quote/:quoteid/annual",component:function(){return Object(m.m)(r.e(67).then(r.bind(null,1517)))},name:"quote-quoteid-annual"},{path:"/quote/:quoteid/competitions",component:function(){return Object(m.m)(r.e(68).then(r.bind(null,1467)))},name:"quote-quoteid-competitions"},{path:"/quote/:quoteid/details",component:function(){return Object(m.m)(Promise.all([r.e(8),r.e(69)]).then(r.bind(null,1468)))},name:"quote-quoteid-details"},{path:"/quote/:quoteid/foreign-travel",component:function(){return Object(m.m)(r.e(70).then(r.bind(null,1469)))},name:"quote-quoteid-foreign-travel"},{path:"/quote/:quoteid/make",component:function(){return Object(m.m)(r.e(71).then(r.bind(null,1470)))},name:"quote-quoteid-make"},{path:"/quote/:quoteid/monthly",component:function(){return Object(m.m)(r.e(72).then(r.bind(null,1471)))},name:"quote-quoteid-monthly"},{path:"/quote/:quoteid/offer",component:function(){return Object(m.m)(r.e(73).then(r.bind(null,1472)))},name:"quote-quoteid-offer"},{path:"/quote/:quoteid/personal-cover",component:function(){return Object(m.m)(r.e(74).then(r.bind(null,1460)))},name:"quote-quoteid-personal-cover"},{path:"/quote/:quoteid/public-liability",component:function(){return Object(m.m)(r.e(75).then(r.bind(null,1473)))},name:"quote-quoteid-public-liability"},{path:"/quote/:quoteid/start-date",component:function(){return Object(m.m)(Promise.all([r.e(8),r.e(76)]).then(r.bind(null,1474)))},name:"quote-quoteid-start-date"},{path:"/quote/:quoteid/summary",component:function(){return Object(m.m)(r.e(77).then(r.bind(null,1448)))},name:"quote-quoteid-summary"},{path:"/policy/:policyid?/renew/annually",component:function(){return Object(m.m)(r.e(57).then(r.bind(null,1518)))},name:"policy-policyid-renew-annually"},{path:"/policy/:policyid?/renew/monthly",component:function(){return Object(m.m)(r.e(58).then(r.bind(null,1522)))},name:"policy-policyid-renew-monthly"},{path:"/policy/:policyid?/renew/premfina",component:function(){return Object(m.m)(r.e(59).then(r.bind(null,1475)))},name:"policy-policyid-renew-premfina"},{path:"/free/:slug?/:quoteid/payment",component:function(){return Object(m.m)(r.e(50).then(r.bind(null,1476)))},name:"free-slug-quoteid-payment"},{path:"/free/:slug?/:quoteid/payment/annual",component:function(){return Object(m.m)(r.e(49).then(r.bind(null,1519)))},name:"free-slug-quoteid-payment-annual"}],fallback:!1};function y(e,t){var r=t._app&&t._app.basePath||g.base,n=new p.a(v(v({},g),{},{base:r})),o=n.push;n.push=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b,r=arguments.length>2?arguments[2]:void 0;return o.call(this,e,t,r)};var a=n.resolve.bind(n);return n.resolve=function(e,t,r){return"string"==typeof e&&(e=Object(f.c)(e)),a(e,t,r)},n}var _={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(e,t){var r=t.parent,n=t.data,o=t.props,a=r.$createElement;n.nuxtChild=!0;for(var i=r,s=r.$nuxt.nuxt.transitions,c=r.$nuxt.nuxt.defaultTransition,u=0;r;)r.$vnode&&r.$vnode.data.nuxtChild&&u++,r=r.$parent;n.nuxtChildDepth=u;var l=s[u]||c,d={};x.forEach(function(e){void 0!==l[e]&&(d[e]=l[e])});var p={};w.forEach(function(e){"function"==typeof l[e]&&(p[e]=l[e].bind(i))});var f=p.beforeEnter;if(p.beforeEnter=function(e){if(window.$nuxt.$nextTick(function(){window.$nuxt.$emit("triggerScroll")}),f)return f.call(i,e)},!1===l.css){var m=p.leave;(!m||m.length<2)&&(p.leave=function(e,t){m&&m.call(i,e),i.$nextTick(t)})}var h=a("routerView",n);return o.keepAlive&&(h=a("keep-alive",{props:o.keepAliveProps},[h])),a("transition",{props:d,on:p},[h])}},x=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterA
1ctiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],w=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],k=r(105),O=r(52);r(46),r(449);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var T="#3e4cd4",S="#1b2064",P="#11154a",R="#f5c13b",A="#dde0f8",j="#c9cdf3",I="#9aa0e8",L="#f4cdb0",M="#d9aa8c",D="#eef0fc",q=1200,N=440,$=52;function U(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var o in t)n.setAttribute(o,t[o]);return r&&r.appendChild(n),n}function B(e,t){for(var r=0;r<2;r++)t(U("g",{transform:"translate(".concat(r*q," 0)")},e))}function Q(e){var t=U("g",{},e);U("circle",{r:46,fill:"#fff"},t);for(var r=U("g",{},t),n=0;n<16;n++){var o=n/16*Math.PI*2;U("line",{x1:0,y1:0,x2:46*Math.cos(o),y2:46*Math.sin(o),stroke:I,"stroke-width":1.3},r)}return U("circle",{r:46,fill:"none",stroke:j,"stroke-width":3},t),U("circle",{r:$,fill:"none",stroke:S,"stroke-width":9},t),U("circle",{cx:0,cy:-44,r:3,fill:R},r),U("circle",{r:6,fill:S},t),r}var Y=70,F=8,z=46,G=-94,H=64;function V(e,t,r,n,o){e.setAttribute("x1",t),e.setAttribute("y1",r),e.setAttribute("x2",n),e.setAttribute("y2",o)}function W(e,t,r){var n=Y+22*Math.cos(r),o=F+22*Math.sin(r),a=n-z,i=o-G,s=Math.min(Math.hypot(a,i),125.5),c=Math.atan2(i,a),u=Math.acos((4096+s*s-3844)/(128*s)),l=z+Math.cos(c-u)*H,d=G+Math.sin(c-u)*H;V(e.thigh,z,G,l,d),V(e.shin,l,d,n,o),V(e.shoe,n-4,o+2,n+10,o+2),V(t,Y,F,n,o)}var K=200,Z=388,X=290,J=2.5,ee=600,te=122,re=1.4,ne=function(e){return Math.max(0,Math.min(1,e))};function oe(e){var t=e-J;if(t<0)return{x:370,y:Z,s:1};if(t<.5){var r=t/.5;return{x:370+110*r,y:Z-256*r*(1-r),s:1}}if(t<.85){var n=(t-.5)/.35;return{x:480+50*n,y:Z-72*n*(1-n),s:1}}if(t<1.8){var o=(t-.85)/.95,a=function(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2}(o);return{x:530+(ee-530)*a,y:Z+(te-Z)*a-80*Math.sin(Math.PI*o),s:1+(re-1)*a}}var i=t-1.8;return{x:ee,y:te,s:re+.09*Math.exp(-6*i)*Math.sin(18*i)}}function ae(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.reduced,o=void 0!==n&&n,a=r.onSettled,i=function(t){return e.querySelector('[data-scene="'.concat(t,'"]'))},s={clouds:i("clouds"),skyline:i("skyline"),trees:i("trees"),dashes:i("dashes")},c=i("puffs"),u=i("bubble"),l=i("ghost"),d=i("wheel"),p=i("bike");!function(e,t){var r=[[120,70,1],[520,40,.8],[880,95,1.1]];B(e.clouds,function(e){return r.forEach(function(t){var r=Object(O.a)(t,3),n=r[0],o=r[1],a=r[2],i=U("g",{transform:"translate(".concat(n," ").concat(o,") scale(").concat(a,")"),fill:D},e);U("circle",{cx:0,cy:0,r:22},i),U("circle",{cx:26,cy:-10,r:28},i),U("circle",{cx:56,cy:2,r:20},i),U("rect",{x:0,y:0,width:56,height:22},i)})});for(var n=[],o=0;o<q;){var a=40+70*t(),i=50+120*t();n.push({x:o,w:a,h:i,roof:t()}),o+=a+(t()>.7?14:0)}B(e.skyline,function(e){return n.forEach(function(t){var r=N-t.h,n=t.x+t.w/2;U("rect",{x:t.x,y:r,width:t.w,height:t.h,fill:A},e),t.roof>.82?U("path",{d:"M".concat(n-10," ").concat(r," L").concat(n," ").concat(r-46," L").concat(n+10," ").concat(r,"Z"),fill:A},e):t.roof>.66&&U("circle",{cx:n,cy:r,r:t.w/3,fill:A},e);for(var o=r+14;o<424;o+=22)for(var a=t.x+9;a<t.x+t.w-12;a+=16)U("rect",{x:a,y:o,width:6,height:10,rx:1,fill:j},e)})}),B(e.trees,function(e){for(var r=40;r<q;r+=130+Math.round(80*t()))if(t()>.78)U("line",{x1:r,y1:N,x2:r,y2:348,stroke:S,"stroke-width":3},e),U("path",{d:"M".concat(r," ").concat(348," q0 -8 12 -8"),stroke:S,"stroke-width":3,f
1ill:"none"},e),U("circle",{cx:r+14,cy:343,r:5,fill:R},e);else{var n=44+36*t(),o=16+12*t(),a=t()>.5?T:I;U("line",{x1:r,y1:N,x2:r,y2:N-n,stroke:S,"stroke-width":3},e),U("circle",{cx:r,cy:N-n-.6*o,r:o,fill:a},e)}}),B(e.dashes,function(e){for(var t=0;t<q;t+=80)U("rect",{x:t,y:454,width:40,height:5,rx:2.5,fill:j},e)})}(s,(t=42,function(){return(t=16807*t%2147483647)/2147483647}));var f,m,h,v,b,g,y=function(e){var t={"stroke-linecap":"round"},r=function(r,n){return{thigh:U("line",C({stroke:r,"stroke-width":16},t),e),shin:U("line",C({stroke:n,"stroke-width":11},t),e),shoe:U("line",C({stroke:S,"stroke-width":9},t),e)}},n=r(P,M),o=U("line",C({stroke:S,"stroke-width":5},t),e),a=Q(U("g",{},e)),i=U("g",C({stroke:R,"stroke-width":7,"stroke-linejoin":"round",fill:"none"},t),e);U("path",{d:"M0 0 L".concat(Y," ").concat(F," L50 -70 Z")},i),U("path",{d:"M".concat(Y," ").concat(F," L152 -62 L148 -80 L50 -72")},i),U("line",C({x1:152,y1:-62,x2:170,y2:0,stroke:R,"stroke-width":6},t),e),U("line",C({x1:50,y1:-72,x2:46,y2:-86,stroke:S,"stroke-width":5},t),e),U("path",C({d:"M30 -90 Q46 -94 62 -89",stroke:S,"stroke-width":7,fill:"none"},t),e),U("path",C({d:"M148 -80 L162 -86 Q174 -86 172 -76 Q170 -68 162 -70",stroke:S,"stroke-width":5,"stroke-linejoin":"round",fill:"none"},t),e),U("circle",{cx:Y,cy:F,r:12,fill:"none",stroke:S,"stroke-width":4},e),U("line",C({x1:z,y1:G,x2:118,y2:-140,stroke:T,"stroke-width":28},t),e),U("line",C({x1:62,y1:-105,x2:104,y2:-132,stroke:R,"stroke-width":5},t),e);var s=U("g",{transform:"translate(142 -154)"},e);return U("circle",{r:14,fill:L},s),U("path",{d:"M-16 2 Q-16 -18 4 -18 Q18 -17 20 -2 L6 -4 Z",fill:R},s),U("line",C({x1:4,y1:-4,x2:17,y2:-3,stroke:S,"stroke-width":4},t),s),U("polyline",C({points:"118,-140 138,-110 166,-84",stroke:T,"stroke-width":11,"stroke-linejoin":"round",fill:"none"},t),e),U("line",C({x1:144,y1:-104,x2:166,y2:-84,stroke:L,"stroke-width":9},t),e),{farLeg:n,farCrank:o,nearLeg:r(S,L),nearCrank:U("line",C({stroke:S,"stroke-width":5},t),e),rearSpokes:a,head:s}}(p),_=Q(d),x=[[s.clouds,.05],[s.skyline,.18],[s.trees,.5],[s.dashes,1]],w=null;function k(){f=performance.now(),m=f,h=0,v=0,b={},g=[],c.replaceChildren()}function E(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=U("g",{},c),o=[-14,0,14].map(function(o){return U("circle",{cx:e+o*r,cy:t-4,r:4,fill:j},n)});g.push({g:n,dots:o,born:performance.now(),size:r})}function H(e){var t=o?8:(e-f)/1e3,r=Math.min(.05,(e-m)/1e3);m=e;var n=t-J,i=function(e){if(e<J)return X*e;var t=Math.min(e-J,1.1);return 725+X*(t-t*t/2.2)}(t);x.forEach(function(e){var t=Object(O.a)(e,2),r=t[0],n=t[1];return r.setAttribute("transform","translate(".concat(-i*n%q," 0)"))});var s=i/38,c=n<0?1.6*Math.sin(2*s):0,k=Math.max(0,n-.08),C=n<0?0:17*(1-Math.exp(-7*k)*Math.cos(11*k));p.setAttribute("transform","translate(".concat(K," ").concat(Z+c,") rotate(").concat(C," 0 ").concat($,")")),y.rearSpokes.setAttribute("transform","rotate(".concat(i/$*57.3,")")),W(y.farLeg,y.farCrank,s+Math.PI),W(y.nearLeg,y.nearCrank,s),y.head.setAttribute("transform","translate(142 -154) rotate(".concat(n>1.6?-14*ne((n-1.6)/.4):0,")"));var T=X/$,S=n<.85?T:T*Math.exp(-1.6*(n-.85));v*=Math.exp(-1.8*r),h+=((o?0:S)+v)*r;var P=oe(t);d.setAttribute("transform","translate(".concat(P.x," ").concat(P.y+(n<0?c:0),") scale(").concat(P.s,")")),_.setAttribute("transform","rotate(".concat(57.3*h,")")),l.setAttribute("opacity",1-ne((n-1.6)/.25));var R=function(e,t,r){t&&!b[e]&&(b[e]=!0,r())};o||(R("pop",n>=0,function(){return E(370,N)}),R("fork",n>=.3,function(){return E(378,N,1.3)}),R("hop",n>=.5,function(){return E(480,N,.7)})),R("done",n>=2.2,function(){return a&&a()}),g=g.filter(function(t){var r=(e-t.born)/600;return r>=1?(t.g.remove(),!1):(t.dots.forEach(function(e,n){e.setAttribute("r",(4+12*r)*t.size),e.setAttribute("cx",+e.getAttribute("cx")+.6*(n-1))}),t.g.setAttribute("opacity",1-r),!0)});var A,j,I,L=ne((n-1.9)/.35),M=o?0:4*Math.sin(2.2*t)*L;u.setAttribute("opacity",L),u.setAttribute("transform","translate(".concat(438," ").concat(244-M,") scale(").concat(.4+.6*(L<1?(j=7.5625,(A=L)<1/(I=2.75)?j*A*A:A<2/I?j*(A-=1.5/I)*A+.75:A<2.5/I?j*(A-=2.25/I)*A+.9375:j*(A-=2.625/I)*A+.984375):1),")")),w=(o||n>=6)&&v<.05?null:requestAnimationFrame(H)}function V(){null===w&&(m=performance.now(),w=requestAnimationFrame(H))}var ee=function(){v+=14,V()};return d.addEventListener("click",ee),k(),V(),{replay:function(){k(),V()},destroy:function(){null!==w&&cancelAnimationFrame(w),w=null,d.removeEventListener("click",ee)}}}var ie={props:{error:{type:Object,required:!0}},data:function(){return{canReplay:!1}},head:function(){return{title:this.isNotFound?"Page not found | Pedalsure":"Something went wrong | Pedalsure",meta:[{hid:"robots",name:"robots",content:"noindex,follow"}],link:[{hid:"canonical",rel:"canonical",skip:!0}]}},computed:{statusCode:function(){return this.error.statusCode||500},isNotFound:function(){return 404===this.statusCode},displayPath:function(){var e=this.$route.path;return e&&"/"!==e&&e.length<=60?e:""},quoteHref:function(){return Object(k.q)({src:"404"})},shortcuts:function(){return[{to:"/bike-insurance",label:"Bike insurance"},{to:"/claim",label:"Make a claim"},{to:"/login",label:"Log in to your policy"},{to:"/policy-information",label:"Policy information"},{to:"/faq",label:"FAQs"}]}},watch:{error:function(e){e&&this.track()}},mounted:function(){var e=this;if(this.track(),this.isNotFound&&this.$refs.scene){var t=window.matchMedia("(prefers-reduced-motion: reduce)").matches;this.scene=ae(this.$refs.scene,{reduced:t,onSettled:function(){e.canReplay=!t}})}},beforeDestroy:function(){this.scene&&this.scene.destroy()},methods:{replay:function(){this.canReplay=!1,this.scene.replay()},reload:function(){window.location.reload()},track:function(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:this.isNotFound?"page_not_found":"page_error",error_status:this.statusCode,error_path:this.$route.fullPath,error_referrer:document.referrer||"(direct)"})}}}
1,se=(r(513),r(7)),ce=Object(se.a)(ie,function(){var e=this,t=e._self._c;return t("main",{staticClass:"ps-error"},[e.isNotFound?[t("div",{staticClass:"ps-error__stage"},[t("svg",{ref:"scene",staticClass:"ps-error__scene",attrs:{viewBox:"0 0 1200 500","aria-hidden":"true",focusable:"false"}},[t("defs",[t("clipPath",{attrs:{id:"ps-error-clip"}},[t("rect",{attrs:{x:"0",y:"0",width:"1200",height:"500"}})])]),e._v(" "),t("g",{attrs:{"clip-path":"url(#ps-error-clip)"}},[t("g",{attrs:{"data-scene":"clouds"}}),e._v(" "),t("g",{attrs:{"data-scene":"skyline"}}),e._v(" "),t("g",{staticClass:"ps-error__numerals"},[t("text",{attrs:{x:"444",y:"200"}},[e._v("4")]),e._v(" "),t("text",{attrs:{x:"756",y:"200"}},[e._v("4")])]),e._v(" "),t("circle",{attrs:{"data-scene":"ghost",cx:"600",cy:"122",r:"74",fill:"none",stroke:"#c9cdf3","stroke-width":"4","stroke-dasharray":"10 12"}}),e._v(" "),t("g",{attrs:{"data-scene":"trees"}}),e._v(" "),t("line",{attrs:{x1:"0",y1:"440",x2:"1200",y2:"440",stroke:"#1b2064","stroke-width":"3"}}),e._v(" "),t("g",{attrs:{"data-scene":"dashes"}}),e._v(" "),t("g",{attrs:{"data-scene":"puffs"}}),e._v(" "),t("g",{attrs:{"data-scene":"bike"}}),e._v(" "),t("g",{staticClass:"ps-error__wheel",attrs:{"data-scene":"wheel"}}),e._v(" "),t("g",{attrs:{"data-scene":"bubble",opacity:"0"}},[t("circle",{attrs:{r:"20",fill:"#fff",stroke:"#1b2064","stroke-width":"3"}}),e._v(" "),t("circle",{attrs:{cx:"-16",cy:"22",r:"5",fill:"#fff",stroke:"#1b2064","stroke-width":"2.5"}}),e._v(" "),t("text",{staticClass:"ps-error__bubble-text",attrs:{y:"9"}},[e._v("?")])])])]),e._v(" "),t("button",{staticClass:"ps-error__replay",class:{"is-visible":e.canReplay},attrs:{type:"button"},on:{click:e.replay}},[t("svg",{attrs:{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","aria-hidden":"true"}},[t("path",{attrs:{d:"M2.5 8a5.5 5.5 0 1 0 1.6-3.9"}}),e._v(" "),t("path",{attrs:{d:"M2.5 2.5v3h3"}})]),e._v("\n        Replay animation\n      ")])]),e._v(" "),t("section",{staticClass:"ps-error__copy"},[t("h1",{staticClass:"ps-error__title"},[e._v("We can't find that page")]),e._v(" "),t("p",{staticClass:"ps-error__lede"},[e.displayPath?[e._v("\n          There's nothing at "),t("code",[e._v(e._s(e.displayPath))]),e._v(".\n        ")]:e._e(),e._v("\n        The link might be out of date, or the address may have a typo.\n        "),t("strong",[e._v("Your cover isn't affected.")]),e._v(" Let's get you back on the\n        road.\n      ")],2),e._v(" "),t("div",{staticClass:"ps-error__actions"},[t("nuxt-link",{staticClass:"button ps-btn ps-btn--secondary",attrs:{to:"/"}},[e._v("\n          Go to homepage\n        ")]),e._v(" "),t("nuxt-link",{staticClass:"button ps-btn ps-btn--cta",attrs:{to:e.quoteHref,"data-test":"error-quote"}},[e._v("\n          Get your personal quote\n        ")])],1),e._v(" "),t("nav",{staticClass:"ps-error__shortcuts",attrs:{"aria-labelledby":"ps-error-shortcuts"}},[t("h2",{staticClass:"ps-error__shortcuts-title",attrs:{id:"ps-error-shortcuts"}},[e._v("\n          Looking for something specific?\n        ")]),e._v(" "),t("ul",e._l(e.shortcuts,function(r){return t("li",{key:r.to},[t("nuxt-link",{attrs:{to:r.to}},[e._v(e._s(r.label))])],1)}),0)]),e._v(" "),t("p",{staticClass:"ps-error__help"},[e._v("\n        Still stuck? Call us on\n        "),t("a",{attrs:{href:"tel:08008886745"}},[e._v("0800 888 6745")]),e._v(" or\n        "),t("nuxt-link",{attrs:{to:"/contact-us"}},[e._v("get in touch")]),e._v(".\n      ")],1)])]:t("section",{staticClass:"ps-error__copy ps-error__copy--generic"},[t("p",{staticClass:"ps-error__code"},[e._v("Error "+e._s(e.statusCode))]),e._v(" "),t("h1",{staticClass:"ps-error__title"},[e._v("Something went wrong on our side")]),e._v(" "),e._m(0),e._v(" "),t("div",{staticClass:"ps-error__actions"},[t("button",{staticClass:"button ps-btn ps-btn--action",attrs:{type:"button"},on:{click:e.reload}},[e._v("\n        Try again\n      ")]),e._v(" "),t("nuxt-link",{staticClass:"button ps-btn ps-btn--secondary",attrs:{to:"/"}},[e._v("\n        Go to homepage\n      ")])],1),e._v(" "),e._m(1)])],2)},[function(){var e=this,t=e._self._c;return t("p",{staticClass:"ps-error__lede"},[e._v("\n      Sorry about that. It's usually temporary, so please try again in a\n      moment. "),t("strong",[e._v("Your cover isn't affected.")])])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"ps-error__help"},[e._v("\n      If it keeps happening, call us on\n      "),t("a",{attrs:{href:"tel:08008886745"}},[e._v("0800 888 6745")]),e._v(".\n    ")])}],!1,null,"0fd0eb90",null).exports,ue=(r(65),{name:"Nuxt",components:{NuxtChild:_,NuxtError:ce},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(e){this.displayingNuxtError&&(this.errorFromNuxtError=e,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(m.c)(this.$route.matched[0].path)(this.$route.params);
1var e=Object(O.a)(this.$route.matched,1)[0];if(!e)return this.$route.path;var t=e.components.default;if(t&&t.options){var r=t.options;if(r.key)return"function"==typeof r.key?r.key(this.$route):r.key}return/\/$/.test(e.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){a.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(e){var t=this;return this.nuxt.err&&this.nuxt.errPageReady?this.errorFromNuxtError?(this.$nextTick(function(){return t.errorFromNuxtError=!1}),e("div",{},[e("h2","An error occurred while showing the error page"),e("p","Unfortunately an error occurred and while showing the error page another error occurred"),e("p","Error details: ".concat(this.errorFromNuxtError.toString())),e("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick(function(){return t.displayingNuxtError=!1}),e(ce,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),le=(r(61),r(111),r(93),r(92),r(73),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),clearTimeout(this._hide),this._timer=null},start:function(){var e=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout(function(){return e.startTimer()},this.throttle):this.startTimer(),this},set:function(e){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(e))),this},get:function(){return this.percent},increase:function(e){return this.percent=Math.min(100,Math.floor(this.percent+e)),this},decrease:function(e){return this.percent=Math.max(0,Math.floor(this.percent-e)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var e=this;return this.clear(),this._hide=setTimeout(function(){e.show=!1,e.$nextTick(function(){e.percent=0,e.reversed=!1})},500),this},fail:function(e){return this.canSucceed=!1,this},startTimer:function(){var e=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval(function(){e.skipTimerCount>0?e.skipTimerCount--:(e.reversed?e.decrease(e._cut):e.increase(e._cut),e.continuous&&(e.percent>=100||e.percent<=0)&&(e.skipTimerCount=1,e.reversed=!e.reversed))},100)}},render:function(e){var t=e(!1);return this.show&&(t=e("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),t}}),de=le,pe=(r(515),Object(se.a)(de,void 0,void 0,!1,null,null,null).exports),fe=(r(517),r(519),r(521),r(523),r(527),r(529),r(531),r(141),r(30));function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ve={name:"MainNavigation",data:function(){return{isActive:!1,drawerLinks:[{to:"/dashboard",title:"My policies",copy:"Cover, bikes and documents",paths:["M6 3.5h8L18.5 8v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5z","M13.5 3.7V8.5h4.8","M8.5 13h7M8.5 16.5h4.5"]},{to:"/claim",title:"Make a claim",copy:"Claims assessed within 24 hours",paths:["M12 3.2l7 2.8v6c0 4.2-2.9 7.6-7 9-4.1-1.4-7-4.8-7-9V6l7-2.8z","M9 12l2.2 2.2
1L15.2 10"]},{to:"/dashboard/settings",title:"Account settings",copy:"Your details and password",paths:["M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z","M19.4 15a1.6 1.6 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.6 1.6 0 0 0-2.7 1.1v.2a2 2 0 1 1-4 0v-.1a1.6 1.6 0 0 0-2.8-1.1l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1A1.6 1.6 0 0 0 3.5 14H3.3a2 2 0 1 1 0-4h.1A1.6 1.6 0 0 0 4.6 7.3l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.6 1.6 0 0 0 2.7-1.1V3.3a2 2 0 1 1 4 0v.1a1.6 1.6 0 0 0 2.8 1.1l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.6 1.6 0 0 0 1.1 2.7h.2a2 2 0 1 1 0 4h-.1a1.6 1.6 0 0 0-1.5 1z"]},{to:"/hiplok",title:"Hiplok offer",copy:"Up to 40% off approved locks",paths:["M5.5 10.5h13a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z","M8 10.5V7.5a4 4 0 0 1 8 0v3"]},{to:"/policy-information",title:"What’s covered",copy:"Policy details, limits and exclusions",paths:["M12 3.8a8.2 8.2 0 1 1 0 16.4 8.2 8.2 0 0 1 0-16.4z","M12 11v5.2","M12 7.8h.01"]},{to:"/contact-us",title:"Contact us",copy:"Phone, email and opening hours",paths:["M4.5 6h15a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-15a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z","M4 7l8 5.5L20 7"]}]}},computed:{isAuthenticated:function(){return this.$store.getters["user/isAuthenticated"]},userEmail:function(){return this.$store.getters["user/userEmail"]},initial:function(){return(this.userEmail||"?").trim().charAt(0).toUpperCase()}},watch:{$route:function(){this.closeMenu()}},methods:he(he({},Object(i.b)("quote",{resetQuote:"resetQuote"})),{},{toggleMenu:function(){this.isActive=!this.isActive,document.body.style.overflow=this.isActive?"hidden":""},closeMenu:function(){this.isActive=!1,document.body.style.overflow=""},switchTheme:function(e){this.$store.dispatch("theme/setTheme",e)},openQuickQuteModal:function(){this.resetQuote(),this.closeMenu(),this.$modal.show("quick-quote",{free:0})},openChat:function(){"function"==typeof zE&&(zE("messenger","show"),zE("messenger","open")),this.closeMenu()},logout:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.closeMenu(),t.next=1,e.$store.dispatch("user/logout");case 1:e.$router.push({path:"/",query:he({},e.$route.query)}),t.next=3;break;case 2:t.prev=2,t.catch(0);case 3:case"end":return t.stop()}},t,null,[[0,2]])}))()},currentUser:function(){return Object(n.a)(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,fe.b.currentUser;case 1:e.sent;case 2:case"end":return e.stop()}},e)}))()}})},be=(r(537),Object(se.a)(ve,function(){var e=this,t=e._self._c;return t("nav",{staticClass:"navbar navigation-dashboard",attrs:{role:"navigation","aria-label":"main navigation"}},[t("div",{staticClass:"navbar-brand"},[t("nuxt-link",{staticClass:"logo navbar-item",attrs:{to:"/"}},[t("img",{staticStyle:{margin:"0 auto 50px",width:"100px",display:"block"},attrs:{src:r(157),alt:"pedalsure icon"}})]),e._v(" "),t("div",{staticClass:"navbar-item get-quote-mobile"}),e._v(" "),t("a",{staticClass:"navbar-burger burger",attrs:{role:"button","aria-label":"menu","aria-expanded":"false","data-target":"navbarBasicExample"},on:{click:e.toggleMenu}},[t("span",{attrs:{"aria-hidden":"true"}}),e._v(" "),t("span",{attrs:{"aria-hidden":"true"}}),e._v(" "),t("span",{attrs:{"aria-hidden":"true"}})])],1),e._v(" "),t("div",{class:{"is-active":e.isActive,"navbar-menu":!0},attrs:{id:"navbarBasicExample"}},[t("div",{staticClass:"drawer is-hidden-desktop"},[t("div",{staticClass:"drawer-head"},[t("nuxt-link",{staticClass:"drawer-logo",attrs:{to:"/"},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[t("img",{attrs:{src:r(157),alt:"Pedalsure",width:"1080",height:"173"}})]),e._v(" "),t("button",{staticClass:"drawer-close",attrs:{"aria-label":"Close menu"},on:{click:e.closeMenu}},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M6.5 6.5l11 11M17.5 6.5l-11 11",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"}})])])],1),e._v(" "),e.isAuthenticated?t("div",{staticClass:"drawer
1-account-card"},[t("span",{staticClass:"drawer-avatar",attrs:{"aria-hidden":"true"}},[e._v(e._s(e.initial))]),e._v(" "),t("span",{staticClass:"drawer-account-text"},[t("span",{staticClass:"drawer-account-label"},[e._v("Signed in as")]),e._v(" "),t("span",{staticClass:"drawer-account-email"},[e._v(e._s(e.userEmail))])])]):e._e(),e._v(" "),t("ul",{staticClass:"drawer-links"},e._l(e.drawerLinks,function(r){return t("li",{key:r.to},[t("nuxt-link",{attrs:{to:r.to},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[t("span",{staticClass:"drawer-icon",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 24 24",focusable:"false"}},e._l(r.paths,function(e,r){return t("path",{key:r,attrs:{d:e,fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linecap":"round","stroke-linejoin":"round"}})}),0)]),e._v(" "),t("span",{staticClass:"drawer-link-text"},[t("span",{staticClass:"drawer-link-title"},[e._v(e._s(r.title))]),e._v(" "),t("span",{staticClass:"drawer-link-copy"},[e._v(e._s(r.copy))])]),e._v(" "),t("svg",{staticClass:"drawer-chevron",attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M9.5 5.5l6.5 6.5-6.5 6.5",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])])],1)}),0),e._v(" "),t("button",{staticClass:"drawer-upsell",on:{click:function(t){return e.openQuickQuteModal()}}},[t("span",{staticClass:"drawer-upsell-icon",attrs:{"aria-hidden":"true"}},[e._v("%")]),e._v(" "),e._m(0)]),e._v(" "),t("div",{staticClass:"drawer-help"},[t("p",{staticClass:"drawer-help-title"},[e._v("Need a hand?")]),e._v(" "),t("button",{staticClass:"drawer-help-row",on:{click:e.openChat}},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M20 12a7.5 7.5 0 0 1-10.9 6.7L4.5 20l1.3-4.6A7.5 7.5 0 1 1 20 12z",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linejoin":"round"}})]),e._v("\n          Chat with support\n        ")]),e._v(" "),t("a",{staticClass:"drawer-help-row",attrs:{href:"tel:08008886745"}},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M6.5 4h3l1.5 3.7-2 1.4a11 11 0 0 0 5.9 5.9l1.4-2L20 14.5v3a2 2 0 0 1-2.2 2A15.5 15.5 0 0 1 4 6.2 2 2 0 0 1 6 4z",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linejoin":"round"}})]),e._v("\n          0800 888 6745\n          "),t("span",{staticClass:"drawer-help-note"},[e._v("Mon–Fri, 9am–5pm")])])]),e._v(" "),e.isAuthenticated?t("button",{staticClass:"button ps-button is-outlined is-inverted is-fullwidth drawer-logout",on:{click:e.logout}},[e._v("\n        Log out\n      ")]):t("nuxt-link",{staticClass:"button ps-button is-outlined is-inverted is-fullwidth drawer-logout",attrs:{to:"/login"},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[e._v("\n        Log in\n      ")])],1),e._v(" "),t("div",{staticClass:"navbar-end is-hidden-touch"},[t("nuxt-link",{staticClass:"navbar-item main-link",attrs:{to:"/contact-us"},nativeOn:{click:function(t){return e.toggleMenu.apply(null,arguments)}}},[e._v("\n        Contact\n      ")]),e._v(" "),t("div",{staticClass:"navbar-item"},[t("div",{staticClass:"buttons"},[e.isAuthenticated?t("button",{staticClass:"button ps-button is-outlined is-inverted",on:{click:e.logout}},[e._v("\n            Log out\n          ")]):e._e()])])],1)])])},[function(){var e=this,t=e._self._c;return t("span",[t("b",[e._v("Insuring another bike?")]),e._v("\n          Add it for 50% off the additional bike.\n        ")])}],!1,null,"5b32167b",null)),ge=be.exports,ye=(r(123),{props:{isEbikeProps:{type:Boolean,default:null}},data:function(){return{isEbike:null,errorMessage:null}},computed:{},watch:{isEbikeProps:function(e){this.isEbike=e}},created:function(){this.isEbike=this.isEbikeProps},methods:{selectOption:function(e){this.isEbike=e,this.errorMessage=null,this.$emit("isEbikeSelected",e)},validate:function(){return null!==this.isEbike||(this.errorMessage="This filed is requred",!1)}}}),_e=(r(539),Object(se.a)(ye,function(){var e=this,t=e._self._c;return t("div",{staticClass:"mb-3"},[t("span",{staticClass:"ebike-label"},[e._v("Is it an e-bike?")]),e._v(" "),t("div",{staticClass:"is-flex is-justify-content-flex-start"},[t("div",{staticClass:"ebike-option is-flex is-justify-content-center",class:{selected:e.isEbike},on:{click:function(t){return e.selectOption(!0)}}},[t("div",[e._v("Yes")]),e._v(" "),t("div",[t("div",{staticClass:"indicator",class:{selected:e.isEbike}})])]),e._v(" "),t("div",{staticClass:"ebike-option is-flex is-justify-content-center",class:{selected:!1===e.isEbike},on:{click:function(t){return e.selectOption(!1)}}},[t("div",[e._v("No")]),e._v(" "),t("div",[t("div",{staticClass:"indicator",class:{selected:!1===e.isEbike}})])])]),e._v(" "),e.errorMessage?t("span",{staticClass:"error"}
1,[e._v("\n    "+e._s(e.errorMessage)+"\n  ")]):e._e(),e._v(" "),e.isEbike?t("div",{staticClass:"warning-text"},[e._v("\n    *Please note we cannot insure your e-bike unless it is road legal. If your\n    e-bike has a maximum power output above 250 watts or its motor provides\n    assistance at speeds above 15.5mph we are unable to cover it.\n  ")]):e._e()])},[],!1,null,"201c8aae",null).exports);function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function we(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ke={name:"AddEditBike",components:{IsEbike:_e},props:{bike:{type:Object,default:function(){return{make:"",value:""}}},buttonText:{type:String,default:"Add Bike"},hideIsEbikeRadio:{type:Boolean,default:!1}},data:function(){return{showWarning:!1,isEbike:null}},computed:we(we({},Object(i.c)({replacementValueSum:"quote/replacementValueSum",bicycles:"quote/bicycles"})),{},{_bike:function(){return JSON.parse(JSON.stringify(this.bike))}}),created:function(){this.isEbike=this.bike.isEbike},methods:{submit:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n,o,a,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.bicycles.find(function(t){return t.id===e.bike.id}),n=Number(e.replacementValueSum),r?n=n-Number(r.value)+Number(e._bike.value):n+=Number(e._bike.value),!(n>3e4)){t.next=1;break}e.showWarning=!0,t.next=4;break;case 1:return e.showWarning=!1,t.next=2,e.$refs.bikeMakeObserver.validate();case 2:return o=t.sent,t.next=3,e.$refs.bikeValueObserver.validate();case 3:a=t.sent,i=!!e.hideIsEbikeRadio||e.$refs.isEbike.validate(),o.valid&&a.valid&&i&&e.$emit("submit-bike",we(we({},e._bike),{},{isEbike:e.isEbike}));case 4:case"end":return t.stop()}},t)}))()}}},Oe=(r(541),Object(se.a)(ke,function(){var e=this,t=e._self._c;return t("div",[t("form",{on:{submit:function(e){e.preventDefault()}}},[t("div",{staticClass:"form-group control has-icons-right"},[t("ValidationProvider",{ref:"bikeMakeObserver",attrs:{rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e._bike.make,expression:"_bike.make"}],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"bike-make",type:"text",required:""},domProps:{value:e._bike.make},on:{input:function(t){t.target.composing||e.$set(e._bike,"make",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"bike-make"}},[e._v("\n          Bike Make*\n        ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),t("div",{staticClass:"form-group control has-icons-right"},[t("ValidationProvider",{ref:"bikeValueObserver",attrs:{rules:"required|min_bike_value:400|max_bike_value:15000"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e._bike.value,expression:"_bike.value"}],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"bike-value",type:"number",required:""},domProps:{value:e._bike.value},on:{input:function(t){t.target.composing||e.$set(e._bike,"value",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"bike-value"}},[e._v("\n          Bike value*\n        ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}}
1)],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),e.hideIsEbikeRadio?e._e():t("IsEbike",{ref:"isEbike",attrs:{"is-ebike-props":e.isEbike},on:{isEbikeSelected:function(t){return e.isEbike=t}}}),e._v(" "),t("br"),e._v(" "),e.showWarning?t("div",[t("span",{staticClass:"replacement-value-error"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}}),e._v(" "),t("span",[e._v("Total Replacement value is more than 30000.")])],1)]):e._e(),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth",attrs:{type:"submit"},on:{click:function(t){return e.submit()}}},[e._v("\n      "+e._s(e.buttonText)+"\n    ")])],1)])},[],!1,null,"55fb94d0",null).exports);function Ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ee(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Te={name:"BikeAdd",components:{AddEditBike:Oe},methods:Ce(Ce({},Object(i.b)("quote",{addBike:"addBike"})),{},{add:function(e){this.addBike(e),this.$modal.hide("bike-add"),this.$store.getters["quote/isMta"]&&this.$router.push({path:"/quote/".concat(this.$route.params.policyid,"/start-date"),query:Ce(Ce({},this.$route.query),{},{type:"payment",modal:"bike"})})}})},Se=Object(se.a)(Te,function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"slide-modal-title"},[e._v("Add a new bike")]),e._v(" "),t("AddEditBike",{attrs:{"button-text":"Add Bike"},on:{"submit-bike":e.add}})],1)},[],!1,null,null,null).exports,Pe=0,Re=0,Ae="";function je(){if("undefined"!=typeof document&&!(++Pe>1)){var e=document.body;Re=window.pageYOffset||document.documentElement.scrollTop||0;var t=window.innerWidth-document.documentElement.clientWidth;Ae=e.style.paddingRight,t>0&&(e.style.paddingRight="".concat(t,"px")),e.style.top="-".concat(Re,"px"),e.classList.add("slide-modal-open")}}function Ie(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).restoreScroll,t=void 0===e||e;if("undefined"!=typeof document&&0!==Pe&&!(--Pe>0)){var r=document.body;r.classList.remove("slide-modal-open"),r.style.top="",r.style.paddingRight=Ae,t&&window.scrollTo(0,Re)}}var Le={name:"BikeAddModal",components:{BikeAdd:Se},watch:{$route:function(){this.$modal.hide("bike-add")}},beforeDestroy:function(){Ie({restoreScroll:!1})},methods:{beforeOpen:function(e){je()},beforeClose:function(e){Ie()}}},Me=Object(se.a)(Le,function(){var e=this,t=e._self._c;return t("modal",{ref:"modal",staticClass:"slide-modal",attrs:{width:"100%",height:"100%",name:"bike-add","overlay-transition":"slide-modal-overlay"},on:{"before-open":e.beforeOpen,"before-close":e.beforeClose}},[t("div",{staticClass:"close-icon-container",on:{click:function(t){return e.$modal.hide("bike-add")}}},[t("span",{staticClass:"icon"},[t("img",{staticClass:"icon alt",attrs:{src:r(130),alt:"close icon"}})])]),e._v(" "),t("div",{staticClass:"slide-modal-container"},[t("BikeAdd")],1)])},[],!1,null,null,null).exports;function De(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Ne={name:"EditBike",components:{AddEditBike:Oe},props:{bikeId:{type:Number,default:null}},data:function(){return{bike:{make:"",value:""}}},computed:qe({},Object(i.d)({bicycles:function(e){return e.quote.quote.bicycles}})),created:function(){var e=this;this.bike=Object.assign({},this.bicycles.find(function(t){return t.id===e.bikeId}))},methods:qe(qe({},Object(i.b)("quote",{editBike:"editBike"})),{},{edit:function(e){this.editBike(e),this.$modal.hide("edit-bike"),this.$store.getters["quote/isMta"]&&this.$router.push({path:"/quote/".concat(this.$route.params.policyid,"/start-date"),query:qe(qe({},this.$route.query),{},{type:"payment",modal:"bike"})})}})},$e={name:"EditBikeModal",components:{EditBike:Object(se.a)(Ne,function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"slide-modal-title"},[e._v("Edit bike")]),e._v(" "),t("AddEditBike",{attrs:{bike:e.bike,"button-text":"Save Bike","hide-is-ebike-radio":!0},on:{"submit-bike":e.edit}})],1)},[],!1,null,null,null).exports},data:function(){return{bikeId:""}},watch:{$route:function(){this.$modal.hide("edit-bike")}},beforeDestroy:function(){Ie({restoreScroll:!1})},methods:{beforeOpen:function(e){je(),this.bikeId=e.params.bikeId},beforeClose:function(e){Ie()}}},Ue=Object(se.a)($e,function(){var e=this,t=e._self._c;return t("modal",{ref:"modal",staticClass:"slide-modal",attrs:{width:"100%",height:"100%",
1name:"edit-bike","overlay-transition":"slide-modal-overlay"},on:{"before-open":e.beforeOpen,"before-close":e.beforeClose}},[t("div",{staticClass:"close-icon-container",on:{click:function(t){return e.$modal.hide("edit-bike")}}},[t("span",{staticClass:"icon"},[t("img",{staticClass:"icon alt",attrs:{src:r(130),alt:"close icon"}})])]),e._v(" "),t("div",{staticClass:"slide-modal-container"},[t("EditBike",{attrs:{"bike-id":e.bikeId}})],1)])},[],!1,null,"0cba6212",null).exports,Be={name:"CreatePassword",data:function(){return{password:"",confirmPassword:""}},computed:{isAuthenticated:function(){return this.$store.getters["user/isAuthenticated"]}},methods:{continueToMyAccount:function(e){this.$router.replace("/dashboard"),this.$modal.hide("create-password-modal")}}},Qe=Object(se.a)(Be,function(){var e=this,t=e._self._c;return t("form",{staticClass:"box",on:{submit:function(e){e.preventDefault()}}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isAuthenticated,expression:"isAuthenticated"}]},[t("div",{staticClass:"field"},[t("ValidationProvider",{ref:"passwordObserver",attrs:{mode:"lazy",rules:"required|password:@confirm"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("label",{staticClass:"label",attrs:{for:""}},[e._v("Password")]),e._v(" "),t("div",{staticClass:"control has-icons-left"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"input",attrs:{type:"password",placeholder:"*******",required:""},domProps:{value:e.password},on:{input:function(t){t.target.composing||(e.password=t.target.value)}}}),e._v(" "),t("span",{staticClass:"icon is-small is-left"},[t("font-awesome-icon",{attrs:{icon:["fa","lock"]}})],1)]),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),t("div",{staticClass:"field"},[t("ValidationProvider",{ref:"confirmPasswordObserver",attrs:{mode:"lazy",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("label",{staticClass:"label",attrs:{for:""}},[e._v("Re-enter password")]),e._v(" "),t("div",{staticClass:"control has-icons-left"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.confirmPassword,expression:"confirmPassword"}],staticClass:"input",attrs:{type:"password",placeholder:"*******",required:""},domProps:{value:e.confirmPassword},on:{input:function(t){t.target.composing||(e.confirmPassword=t.target.value)}}}),e._v(" "),t("span",{staticClass:"icon is-small is-left"},[t("font-awesome-icon",{attrs:{icon:["fa","lock"]}})],1)]),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1)]),e._v(" "),t("div",{staticClass:"field"},[t("button",{staticClass:"button ps-button",on:{click:e.continueToMyAccount}},[e._v("\n      Go to my account\n    ")])])])},[],!1,null,null,null).exports,Ye={name:"CongratsMessage",props:{message:{type:String,default:"Congratulations! You're covered by Pedalsure."},description:{type:String,default:"Your policy documents have been emailed to you."},icon:{type:Array,default:function(){return["fa","medal"]}}},data:function(){return{}},computed:{},mounted:function(){},methods:{}},Fe=(r(543),r(545),Object(se.a)(Ye,function(){var e=this,t=e._self._c;return t("div",{staticClass:"congrats-message"},[t("div",{staticClass:"icon-container"},[t("font-awesome-icon",{staticClass:"icon alt fa-5x",attrs:{icon:e.icon}})],1),e._v(" "),t("div",[t("p",{staticClass:"title is-5"},[e._v("\n      "+e._s(e.message)+"\n    ")])]),e._v(" "),t("div",{staticClass:"margin-top-20"},[e._v("\n    "+e._s(e.description)+"\n  ")])])},[],!1,null,"0a4e4662",null).exports),ze={name:"CreatePasswordModal",components:{CreatePassword:Qe,CongratsMessage:Fe},data:function(){return{}},computed:{},mounted:function(){},methods:{beforeOpen:function(e){},beforeClose:function(e){},closeCreatePasswordModal:function(){this.$modal.hide("create-password-modal"),this.$router.replace("/dashboard")}}},Ge=(r(547),Object(se.a)(ze,function(){var e=this,t=e._self._c;return t("modal",{ref:"modal",staticClass:"create-password-modal",attrs:{width:300,height:400,"click-to-close":!1,name:"create-password-modal"},on:{"before-open":e.beforeOpen,"before-close":e.beforeClose}},[t("div",{staticClass:"close-icon-container",on:{click:e.closeCreatePasswordModal}},[t("span",{staticClass:"icon"},[t("img",{staticClass:"icon alt",attrs:{src:r(130),alt:"close icon"}})])]),e._v(" "),t("CongratsMessage"),e._v(" "),e.$store.getters["user/user"]?e._e():t("CreatePassword")],1)}
1,[],!1,null,null,null).exports),He={components:{RegulatoryStatement:r(277).a},data:function(){return{}},computed:{},created:function(){},methods:{}},Ve=(r(551),Object(se.a)(He,function(){var e=this,t=e._self._c;return t("footer",{staticClass:"footer"},[t("div",{staticClass:"container"},[t("div",{staticClass:"columns is-mobile is-multiline"},[t("div",{staticClass:"column is-half-mobile"},[t("div",{staticClass:"subtitle is-6"},[e._v("FEATURES")]),e._v(" "),t("div",[t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/quote?src=footer"}},[e._v("\n            Get a quote\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/claim"}},[e._v("\n            Make a claim\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/price-match-promise"}},[e._v("\n            Price match promise\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/hiplok"}},[e._v("\n            Hiplok offer\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/bike-insurance"}},[e._v("\n            Bike Insurance\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/what-we-cover"}},[e._v("\n            What We Cover\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/bike-theft-insurance"}},[e._v("\n            Bike Theft Insurance\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/road-bike-insurance"}},[e._v("\n            Road Bike Insurance\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/mountain-bike-insurance"}},[e._v("\n            Mountain Bike Insurance\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/commuter-cycle-insurance"}},[e._v("\n            Commuter Cycle Insurance\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/electric-bike-insurance"}},[e._v("\n            E-bike Insurance\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/triathlon-cycle-insurance"}},[e._v("\n            Triathlon Cycle Insurance\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/cargo-bike-insurance"}},[e._v("\n            Cargo Bike Insurance\n          ")])],1)]),e._v(" "),t("div",{staticClass:"column is-half-mobile"},[t("div",{staticClass:"subtitle is-6"},[e._v("RESOURCES")]),e._v(" "),t("div",[t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/policy-information"}},[e._v("\n            Policy Details\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/faq"}},[e._v("\n            FAQs\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/affiliate-programme"}},[e._v("\n            Affiliates\n          ")]),e._v(" "),t("br"),e._v(" "),t("a",{staticClass:"navbar-item",attrs:{href:"/documents/august_2024/Terms & Conditions 08-24.pdf"}},[e._v("\n            Terms & conditions\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/contact-permissions"}},[e._v("\n            Data protection\n          ")]),e._v(" "),t("a",{staticClass:"navbar-item",attrs:{href:"/documents/Vulnerable Customer Policy - MAY 2026.pdf"}},[e._v("\n            Vulnerable Customer Policy\n          ")])],1)]),e._v(" "),t("div",{staticClass:"column is-half-mobile"},[t("div",{staticClass:"subtitle is-6"},[e._v("COMPANY")]),e._v(" "),t("div",[t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/about-us"}},[e._v("\n            About Pedalsure\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/blog"}},[e._v("\n            Blog\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item",attrs:{"no-prefetch":"",to:"/contact-us"}},[e._v("\n            Contact us\n          ")])],1)]),e._v(" "),t("div",{staticClass:"column right"},[t("div",{staticClass:"logo"},[e._v("Pedalsure.")]),e._v(" "),t("div",{staticClass:"social-container"},[t("ul",[t("li",[t("a",{attrs:{href:"https://www.facebook.com/pedalsure",rel:"noopener",target:"_blank"}},[t("font-awesome-icon",{attrs:{icon:["fab","facebook"]}})],1)]),e._v(" "),t("li",[t("a",{attrs:{href:"https://www.instagram.com/ridepedalsure",rel:"noopener",target:"_blank"}},[t("font-awesome-icon",{attrs:{icon:["fab","instagram"]}})],1)]),e._v(" "),t("li",[t("a",{attrs:{href:"https://twitter.com/pedalsure",rel:"noopener",target:"_blank"}},[t("font-awesome-icon",{attrs:{icon:["fab","twitter"]}})],1)])])])])]),e._v(" "),t("RegulatoryStatement",{attrs:{variant:"footer"}})],1)])}
1,[],!1,null,"228fdae5",null).exports),We=r(47);function Ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ke(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Xe={name:"DashboardLayout",components:{BikeAddModal:Me,EditBikeModal:Ue,CreatePasswordModal:Ge,NavigationDashboard:ge,Footer:Ve},data:function(){return{}},head:function(){return Ze(Ze({},Object(We.b)(this.$route.path)),{},{style:[{cssText:this.$store.getters["theme/theme"],type:"text/css"}]})},computed:{},mounted:function(){this.$store.dispatch("quote/setMtaFlag",!0)},methods:{}},Je=(r(553),Object(se.a)(Xe,function(){var e=this,t=e._self._c;return t("div",[t("NavigationDashboard"),e._v(" "),t("div",{staticClass:"dashboard-layout"},[t("nuxt",{staticClass:"dashboard-layout-container"})],1),e._v(" "),t("Footer"),e._v(" "),t("BikeAddModal"),e._v(" "),t("EditBikeModal"),e._v(" "),t("CreatePasswordModal")],1)},[],!1,null,"641db98e",null).exports),et=(r(69),r(85),r(220),r(24)),tt=(r(559),[{to:"/bike-insurance",label:"Bike insurance",overview:!0},{to:"/what-we-cover",label:"What we cover"},{to:"/bike-theft-insurance",label:"Bike theft insurance"},{to:"/electric-bike-insurance",label:"Electric bike insurance"},{to:"/road-bike-insurance",label:"Road bike insurance"},{to:"/mountain-bike-insurance",label:"Mountain bike insurance"},{to:"/cargo-bike-insurance",label:"Cargo bike insurance"},{to:"/commuter-cycle-insurance",label:"Commuter cycle insurance"},{to:"/triathlon-cycle-insurance",label:"Triathlon bike insurance"}]),rt={name:"BikeInsuranceNavDropdown",props:{mode:{type:String,default:"desktop",validator:function(e){return["desktop","mobile"].includes(e)}}},data:function(){return{open:!1,items:tt,closeTimer:null}},computed:{triggerId:function(){return"bike-insurance-nav-trigger-".concat(this.mode,"-").concat(this._uid)},panelId:function(){return"bike-insurance-nav-panel-".concat(this.mode,"-").concat(this._uid)}},watch:{$route:function(){this.closeMenu()}},mounted:function(){document.addEventListener("click",this.onDocumentClick)},beforeDestroy:function(){document.removeEventListener("click",this.onDocumentClick),this.clearCloseTimer()},methods:{clearCloseTimer:function(){this.closeTimer&&(clearTimeout(this.closeTimer),this.closeTimer=null)},openMenu:function(){this.clearCloseTimer(),this.open=!0},closeMenu:function(){this.clearCloseTimer(),this.open=!1},scheduleClose:function(){var e=this;this.clearCloseTimer(),this.closeTimer=setTimeout(function(){e.closeTimer=null,e.open=!1},300)},onDocumentClick:function(e){this.open&&!this.$el.contains(e.target)&&this.closeMenu()},onMouseEnter:function(){"desktop"===this.mode&&this.openMenu()},onMouseLeave:function(){"desktop"===this.mode&&this.scheduleClose()},onTriggerClick:function(){this.open?this.closeMenu():this.openMenu()},onTriggerKeydown:function(e){"Escape"!==e.key?"ArrowDown"===e.key&&(e.preventDefault(),this.openMenu(),this.$nextTick(this.focusFirstItem)):this.closeMenu()},onPanelKeydown:function(e){var t=this.$refs.itemLink||[],r=t.findIndex(function(e){return e.$el===document.activeElement});if("Escape"===e.key)return e.preventDefault(),this.closeMenu(),void this.$refs.trigger.focus();if("ArrowDown"!==e.key)"ArrowUp"===e.key&&(e.preventDefault(),r<=0?this.$refs.trigger.focus():t[r-1].$el.focus());else{e.preventDefault();var n=t[r+1];n&&n.$el.focus()}},onFocusOut:function(e){var t=e.relatedTarget;t&&this.$el.contains(t)||this.closeMenu()},onItemClick:function(){this.closeMenu()},focusFirstItem:function(){var e=(this.$refs.itemLink||[])[0];e&&e.$el.focus()}}},nt=(r(560),Object(se.a)(rt,function(){var e=this,t=e._self._c;return t("div",{staticClass:"nav-dd",class:["nav-dd--".concat(e.mode),{"is-open":e.open}],on:{mouseenter:e.onMouseEnter,mouseleave:e.onMouseLeave,focusout:e.onFocusOut}}
1,[t("button",{ref:"trigger",staticClass:"nav-dd-trigger",attrs:{id:e.triggerId,type:"button","aria-haspopup":"true","aria-expanded":e.open?"true":"false","aria-controls":e.panelId},on:{click:e.onTriggerClick,keydown:e.onTriggerKeydown}},["mobile"===e.mode?t("span",{staticClass:"drawer-icon",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 24 24",focusable:"false"}},[t("circle",{attrs:{cx:"6",cy:"17",r:"3.3",fill:"none",stroke:"currentColor","stroke-width":"1.7"}}),e._v(" "),t("circle",{attrs:{cx:"18",cy:"17",r:"3.3",fill:"none",stroke:"currentColor","stroke-width":"1.7"}}),e._v(" "),t("path",{attrs:{d:"M6 17l4.5-8h4L12 17M10.5 9h4.5M14.5 9l3.5 8M9 12h4",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linecap":"round","stroke-linejoin":"round"}})])]):e._e(),e._v(" "),t("span",{staticClass:"nav-dd-trigger-label"},[e._v("Bike insurance")]),e._v(" "),t("svg",{staticClass:"nav-dd-chevron",attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M6 9.5l6 6 6-6",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],staticClass:"nav-dd-panel",attrs:{id:e.panelId,"aria-labelledby":e.triggerId},on:{keydown:e.onPanelKeydown}},e._l(e.items,function(r){return t("li",{key:r.to,class:{"nav-dd-overview":r.overview}},[t("nuxt-link",{ref:"itemLink",refInFor:!0,attrs:{"no-prefetch":"",to:r.to},nativeOn:{click:function(t){return e.onItemClick.apply(null,arguments)}}},[e._v("\n        "+e._s(r.label)+"\n      ")])],1)}),0)])},[],!1,null,"39615bd3",null)),ot=nt.exports;function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var st={"/electric-bike-insurance":"electric","/road-bike-insurance":"road","/mountain-bike-insurance":"mountain","/cargo-bike-insurance":"cargo","/commuter-cycle-insurance":"commuter","/triathlon-cycle-insurance":"triathlon"},ct={name:"MainNavigation",components:{BikeInsuranceNavDropdown:ot},data:function(){return{isActive:!1,accountMenuOpen:!1,accountCloseTimer:null,drawerLinks:[{to:"/policy-information",title:"Policy",copy:"Policy details, limits and exclusions",paths:["M6 3.5h8L18.5 8v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5z","M13.5 3.7V8.5h4.8","M8.5 13h7M8.5 16.5h4.5"]},{to:"/price-match-promise",title:"Price Match Promise",copy:"Same cover cheaper? We’ll match it",paths:["M11 3.5H4.5V10l9.5 9.5 6.5-6.5L11 3.5z","M7.9 7.1h.01"]},{to:"/hiplok",title:"Hiplok offer",copy:"Up to 40% off approved locks",paths:["M5.5 10.5h13a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z","M8 10.5V7.5a4 4 0 0 1 8 0v3"]},{to:"/claim",title:"Make a claim",copy:"Claims assessed within 24 hours",paths:["M12 3.2l7 2.8v6c0 4.2-2.9 7.6-7 9-4.1-1.4-7-4.8-7-9V6l7-2.8z","M9 12l2.2 2.2
1L15.2 10"]},{to:"/faq",title:"FAQs",copy:"Answers to the questions we get most",paths:["M12 3.8a8.2 8.2 0 1 1 0 16.4 8.2 8.2 0 0 1 0-16.4z","M9.6 9.4a2.5 2.5 0 1 1 3.3 2.4c-.6.2-.9.7-.9 1.3v.5","M12 16.6h.01"]}]}},computed:{isAuthenticated:function(){return this.$store.getters["user/isAuthenticated"]},userEmail:function(){return this.$store.getters["user/userEmail"]},accountFirstName:function(){var e=this.$store.getters["user/user"],t=(e&&e.displayName||"").trim();return t?t.split(/\s+/)[0]:(this.userEmail||"").split("@")[0]},accountInitial:function(){return(this.accountFirstName||"?").charAt(0).toUpperCase()},isInPurchaseFunnel:function(){return Object(et.f)(this.$route.path)},navBikeType:function(){return st[this.$route.path]||""},navSource:function(){return this.navBikeType?"nav-".concat(this.navBikeType):"nav"},quoteHref:function(){return Object(k.q)({bike:this.navBikeType,src:this.navSource})}},watch:{$route:function(){this.isActive=!1,document.body.style.overflow="",this.closeAccountMenu()}},mounted:function(){document.addEventListener("click",this.onDocumentClick)},beforeDestroy:function(){document.removeEventListener("click",this.onDocumentClick),this.clearAccountCloseTimer()},methods:it(it({},Object(i.b)("quote",{resetQuote:"resetQuote"})),{},{toggleMenu:function(){this.isActive=!this.isActive,document.body.style.overflow=this.isActive?"hidden":""},closeMenu:function(){this.isActive=!1,document.body.style.overflow=""},switchTheme:function(e){this.$store.dispatch("theme/setTheme",e)},onQuoteClick:function(e){e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||0!==e.button||(e.preventDefault(),this.closeMenu(),this.openQuickQuteModal())},openQuickQuteModal:function(){this.resetQuote(),this.$route.fullPath.includes("free")?this.$modal.show("quick-quote",{free:30,partner:this.$route.params.slug}):this.$modal.show("quick-quote",{free:0,bikeType:this.navBikeType,src:this.navSource})},openChat:function(){"function"==typeof zE&&(zE("messenger","show"),zE("messenger","open")),this.closeMenu()},performLogout:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=1,e.$store.dispatch("user/logout");case 1:e.$router.push({path:"/",query:it({},e.$route.query)}),t.next=3;break;case 2:t.prev=2,t.catch(0);case 3:case"end":return t.stop()}},t,null,[[0,2]])}))()},logout:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.toggleMenu(),t.next=1,e.performLogout();case 1:case"end":return t.stop()}},t)}))()},logoutFromAccountMenu:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.closeAccountMenu(),t.next=1,e.performLogout();case 1:case"end":return t.stop()}},t)}))()},currentUser:function(){return Object(n.a)(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,fe.b.currentUser;case 1:e.sent;case 2:case"end":return e.stop()}},e)}))()},clearAccountCloseTimer:function(){this.accountCloseTimer&&(clearTimeout(this.accountCloseTimer),this.accountCloseTimer=null)},openAccountMenu:function(){this.clearAccountCloseTimer(),this.accountMenuOpen=!0},closeAccountMenu:function(){this.clearAccountCloseTimer(),this.accountMenuOpen=!1},scheduleCloseAccountMenu:function(){var e=this;this.clearAccountCloseTimer(),this.accountCloseTimer=setTimeout(function(){e.accountCloseTimer=null,e.accountMenuOpen=!1},300)},onAccountTriggerClick:function(){this.accountMenuOpen?this.closeAccountMenu():this.openAccountMenu()},onAccountFocusOut:function(e){var t=e.relatedTarget;t&&this.$el.contains(t)||this.closeAccountMenu()},onDocumentClick:function(e){this.accountMenuOpen&&this.$refs.accountTrigger&&!this.$refs.accountTrigger.closest(".nav-account").contains(e.target)&&this.closeAccountMenu()}})},ut=(r(562),Object(se.a)(ct,function(){var e=this,t=e._self._c;return t("nav",{staticClass:"navbar",attrs:{role:"navigation","aria-label":"main navigation"}},[t("div",{staticClass:"navbar-brand"},[t("div",{staticClass:"navbar-item is-hidden get-quote-mobile-bt"},[t("div",{staticClass:"buttons"},[t("a",{staticClass:"button ps-button get-quote-bt short is-inverted",attrs:{href:e.quoteHref,"data-test":"nav-quote-mobile"},on:{click:e.onQuoteClick}},[t("span",[e._v("Get your personal quote")])])])]),e._v(" "),t("div",{staticClass:"ps-logo-container is-hidden-desktop"},[t("nuxt-link",{staticClass:"ps-logo",attrs:{"no-prefetch":"",to:"/"}},[t("img",{staticClass:"ps-wordmark",attrs:{src:r(157),alt:"Pedalsure",width:"1080",height:"173"}})])],1),e._v(" "),t("a",{staticClass:"navbar-burger burger",attrs:{role:"button","aria-label":"menu","aria-expanded":"false","data-target":"navbarBasicExample"},on:{click:e.toggleMenu}},[t("span",{attrs:{"aria-hidden":"true"}}),e._v(" "),t("span",{attrs:{"aria-hidden":"true"}}),e._v(" "),t("span",{attrs:{"aria-hidden":"true"}}
1)])]),e._v(" "),t("div",{class:{"is-active":e.isActive,"navbar-menu":!0},attrs:{id:"navbarBasicExample"}},[t("div",{staticClass:"drawer is-hidden-desktop"},[t("div",{staticClass:"drawer-head"},[t("nuxt-link",{staticClass:"drawer-logo",attrs:{"no-prefetch":"",to:"/"},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[t("img",{attrs:{src:r(157),alt:"Pedalsure",width:"1080",height:"173"}})]),e._v(" "),t("button",{staticClass:"drawer-close",attrs:{"aria-label":"Close menu"},on:{click:e.closeMenu}},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M6.5 6.5l11 11M17.5 6.5l-11 11",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"}})])])],1),e._v(" "),e.isInPurchaseFunnel?e._e():[t("a",{staticClass:"button ps-button is-fullwidth call-to-action drawer-cta",attrs:{href:e.quoteHref,"data-test":"nav-quote-drawer"},on:{click:e.onQuoteClick}},[e._v("\n          Get your personal quote\n        ")]),e._v(" "),t("p",{staticClass:"drawer-cta-note"},[e._v("\n          Takes about two minutes · no payment today\n        ")])],e._v(" "),t("p",{staticClass:"drawer-proof"},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M12 3.6l2.5 5.1 5.6.8-4 4 .95 5.6L12 16.4l-5.05 2.7.95-5.6-4-4 5.6-.8L12 3.6z",fill:"currentColor"}})]),e._v(" "),t("b",[e._v("4.6 Excellent")]),e._v(" · 50,000+ cyclists covered\n      ")]),e._v(" "),t("ul",{staticClass:"drawer-links"},[t("li",[t("nuxt-link",{attrs:{"no-prefetch":"",to:"/"},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[t("span",{staticClass:"drawer-icon",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 24 24",focusable:"false"}},[t("path",{attrs:{d:"M4 11l8-6 8 6v8.5a.5.5 0 0 1-.5.5H15v-6H9v6H4.5a.5.5 0 0 1-.5-.5V11z",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e._v(" "),t("span",{staticClass:"drawer-link-text"},[t("span",{staticClass:"drawer-link-title"},[e._v("Home")]),e._v(" "),t("span",{staticClass:"drawer-link-copy"},[e._v("\n                Theft and accidental damage cover\n              ")])]),e._v(" "),t("svg",{staticClass:"drawer-chevron",attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M9.5 5.5l6.5 6.5-6.5 6.5",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])])],1),e._v(" "),t("li",[t("BikeInsuranceNavDropdown",{attrs:{mode:"mobile"}})],1),e._v(" "),e._l(e.drawerLinks,function(r){return t("li",{key:r.to},[t("nuxt-link",{attrs:{"no-prefetch":"",to:r.to},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[t("span",{staticClass:"drawer-icon",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 24 24",focusable:"false"}},e._l(r.paths,function(e,r){return t("path",{key:r,attrs:{d:e,fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linecap":"round","stroke-linejoin":"round"}})}),0)]),e._v(" "),t("span",{staticClass:"drawer-link-text"},[t("span",{staticClass:"drawer-link-title"},[e._v(e._s(r.title))]),e._v(" "),t("span",{staticClass:"drawer-link-copy"},[e._v(e._s(r.copy))])]),e._v(" "),t("svg",{staticClass:"drawer-chevron",attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M9.5 5.5l6.5 6.5-6.5 6.5",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])])],1)})],2),e._v(" "),t("div",{staticClass:"drawer-account"},[e.isAuthenticated?[t("nuxt-link",{staticClass:"button ps-button is-outlined is-inverted",attrs:{"no-prefetch":"",to:"/dashboard"},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[e._v("\n            Dashboard\n          ")]),e._v(" "),t("button",{staticClass:"button ps-button is-outlined is-inverted",on:{click:e.logout}},[e._v("\n            Log out\n          ")])]:t("nuxt-link",{staticClass:"button ps-button is-outlined is-inverted is-fullwidth",attrs:{"no-prefetch":"",to:"/login"},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[e._v("\n          Log in to your account\n        ")])],2),e._v(" "),t("div",{staticClass:"drawer
1-help"},[t("p",{staticClass:"drawer-help-title"},[e._v("Need a hand?")]),e._v(" "),t("button",{staticClass:"drawer-help-row",on:{click:e.openChat}},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M20 12a7.5 7.5 0 0 1-10.9 6.7L4.5 20l1.3-4.6A7.5 7.5 0 1 1 20 12z",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linejoin":"round"}})]),e._v("\n          Chat with support\n        ")]),e._v(" "),t("a",{staticClass:"drawer-help-row",attrs:{href:"tel:08008886745"}},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M6.5 4h3l1.5 3.7-2 1.4a11 11 0 0 0 5.9 5.9l1.4-2L20 14.5v3a2 2 0 0 1-2.2 2A15.5 15.5 0 0 1 4 6.2 2 2 0 0 1 6 4z",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linejoin":"round"}})]),e._v("\n          0800 888 6745\n          "),t("span",{staticClass:"drawer-help-note"},[e._v("Mon–Fri, 9am–5pm")])])])],2),e._v(" "),t("div",{staticClass:"navbar-desktop is-hidden-touch"},[t("div",{staticClass:"navbar-desktop-left"},[t("nuxt-link",{staticClass:"ps-logo navbar-desktop-logo",attrs:{"no-prefetch":"",to:"/"}},[t("img",{staticClass:"ps-wordmark",attrs:{src:r(157),alt:"Pedalsure",width:"1080",height:"173"}})]),e._v(" "),t("div",{staticClass:"navbar-desktop-links"},[t("div",{staticClass:"navbar-item"},[t("BikeInsuranceNavDropdown",{attrs:{mode:"desktop"}})],1),e._v(" "),t("nuxt-link",{staticClass:"navbar-item main-link",attrs:{"no-prefetch":"",to:"/policy-information"},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[e._v("\n            Policy\n          ")]),e._v(" "),t("nuxt-link",{staticClass:"navbar-item main-link",attrs:{"no-prefetch":"",to:"/faq"},nativeOn:{click:function(t){return e.closeMenu.apply(null,arguments)}}},[e._v("\n            FAQs\n          ")])],1)],1),e._v(" "),t("div",{staticClass:"navbar-desktop-right"},[e.isAuthenticated?t("div",{staticClass:"nav-account",class:{"is-open":e.accountMenuOpen},on:{mouseenter:e.openAccountMenu,mouseleave:e.scheduleCloseAccountMenu,focusout:e.onAccountFocusOut}},[t("button",{ref:"accountTrigger",staticClass:"nav-account-trigger",attrs:{type:"button","aria-haspopup":"true","aria-expanded":e.accountMenuOpen?"true":"false","aria-controls":"account-nav-panel"},on:{click:e.onAccountTriggerClick,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeAccountMenu.apply(null,arguments)}}},[t("span",{staticClass:"nav-account-avatar",attrs:{"aria-hidden":"true"}},[e._v(e._s(e.accountInitial))]),e._v(" "),t("span",{staticClass:"nav-account-name"},[e._v(e._s(e.accountFirstName))]),e._v(" "),t("svg",{staticClass:"nav-dd-chevron",attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M6 9.5l6 6 6-6",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.accountMenuOpen,expression:"accountMenuOpen"}],staticClass:"nav-account-panel",attrs:{id:"account-nav-panel"}},[t("li",[t("nuxt-link",{attrs:{"no-prefetch":"",to:"/dashboard"},nativeOn:{click:function(t){return e.closeAccountMenu.apply(null,arguments)}}},[e._v("\n                Dashboard\n              ")])],1),e._v(" "),t("li",[t("nuxt-link",{attrs:{"no-prefetch":"",to:"/policy-information"},nativeOn:{click:function(t){return e.closeAccountMenu.apply(null,arguments)}}},[e._v("\n                Policy documents\n              ")])],1),e._v(" "),t("li",[t("button",{attrs:{type:"button"},on:{click:e.logoutFromAccountMenu}},[e._v("\n                Log out\n              ")])])])]):t("nuxt-link",{staticClass:"navbar-item main-link login-link",attrs:{"no-prefetch":"",to:"/login"}},[e._v("\n          Log in\n        ")]),e._v(" "),e.isInPurchaseFunnel?e._e():t("div",{staticClass:"buttons"},[t("a",{staticClass:"button ps-button get-quote-bt is-inverted",attrs:{href:e.quoteHref,"data-test":"nav-quote-desktop"},on:{click:e.onQuoteClick}}
1,[t("span",[e._v("Get your personal quote")])])])],1)])])])},[],!1,null,"3c100563",null)),lt=ut.exports;r(78),r(221),r(222),r(168);function dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ft={name:"ApplyDiscountCode",data:function(){return{discountCode:""}},computed:pt(pt({},Object(i.c)({discountType:"quote/discountType",discount:"quote/discount",discountError:"quote/discountError"})),{},{discountLoading:function(){return this.$store.getters["quote/isDiscountLoading"]}}),created:function(){},methods:pt({},Object(i.b)("quote",{applyCodeDiscount:"getCodeDiscount"}))},mt=(r(567),Object(se.a)(ft,function(){var e=this,t=e._self._c;return t("div",{staticClass:"field has-addons"},[t("div",{staticClass:"form-group control has-icons-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.discountCode,expression:"discountCode"}],staticClass:"input",attrs:{id:"discountCode",type:"text",required:""},domProps:{value:e.discountCode},on:{input:function(t){t.target.composing||(e.discountCode=t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"discountCode"}},[e._v("\n      Discount code\n    ")]),e._v(" "),"code"===e.discountType?t("span",{staticClass:"icon is-success is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["far","check-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":e.discountError}},[e._v(e._s(e.discountError))]),e._v(" "),"code"===e.discountType?t("span",{},[e._v("\n      Discount applied "+e._s(e.discount)+" %\n    ")]):e._e()]),e._v(" "),t("div",{staticClass:"control"},[t("a",{staticClass:"button ps-button",class:{"is-loading":e.discountLoading},on:{click:function(t){return e.applyCodeDiscount(e.discountCode)}}},[e._v("\n      Apply Discount\n    ")])])])},[],!1,null,"dd408964",null).exports);function ht(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function vt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ht(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var bt={name:"DisplayDiscount",filters:{removeDashes:function(e){return e?e=e.replace(/-/g," "):""}},data:function(){return{discountCode:""}},computed:vt(vt({},Object(i.c)({discountType:"quote/discountType",fakeDiscountVisualOnly:"quote/fakeDiscountVisualOnly",discountError:"quote/discountError",discountSlug:"quote/discountSlug",partnerLabel:"quote/partnerLabel"})),{},{discountLoading:function(){return this.$store.getters["quote/isDiscountLoading"]}}),methods:vt({},Object(i.b)("quote",{applyCodeDiscount:"getCodeDiscount"}))},gt=(r(569),Object(se.a)(bt,function(){var e=this,t=e._self._c;return t("div",{},["code"===e.discountType?t("span",[e._v("\n    A "+e._s(e.fakeDiscountVisualOnly)+"% Discount has been applied\n  ")]):"partner"===e.discountType&&"peddle"!==e.$route.params.slug?t("span",[e._v("\n    Your exclusive "+e._s(e.fakeDiscountVisualOnly)+"%\n    "),t("span",{staticClass:"partner-slug"},[e._v(" "+e._s(e.partnerLabel)+" ")]),e._v(" discount has been\n    applied!\n\n    "),"vivup"===e.discountSlug?t("div",[t("img",{staticClass:"free-partner-logo",attrs:{src:r(450),alt:"free-partner-logo"}})]):e._e(),e._v(" "),"enjoybenefits"===e.discountSlug?t("div",[t("img",{staticClass:"free-partner-logo",attrs:{src:r(451),alt:"free-partner-logo"}}
1)]):e._e()]):t("span")])},[],!1,null,"e851d374",null).exports),yt={name:"QuoteTrustPanel",components:{SecuritySeal:r(167).a}},_t=(r(574),Object(se.a)(yt,function(){var e=this,t=e._self._c;return t("div",{staticClass:"quote-trust"},[t("ul",{staticClass:"quote-trust-grid"},[t("li",{staticClass:"quote-trust-item"},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true"}},[t("circle",{attrs:{cx:"12",cy:"12",r:"9"}}),e._v(" "),t("path",{attrs:{d:"M12 7v5l3 2"}})]),e._v(" "),e._m(0)]),e._v(" "),t("li",{staticClass:"quote-trust-item"},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true"}},[t("circle",{attrs:{cx:"12",cy:"8",r:"4"}}),e._v(" "),t("path",{attrs:{d:"M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7"}})]),e._v(" "),e._m(1)]),e._v(" "),t("li",{staticClass:"quote-trust-item"},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true"}},[t("path",{attrs:{d:"M3 12V4h8l10 10-8 8L3 12z"}}),e._v(" "),t("circle",{attrs:{cx:"7.5",cy:"8.5",r:"1.5"}})]),e._v(" "),e._m(2)]),e._v(" "),t("li",{staticClass:"quote-trust-item"},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true"}},[t("rect",{attrs:{x:"5",y:"11",width:"14",height:"10",rx:"2"}}),e._v(" "),t("path",{attrs:{d:"M8 11V8a4 4 0 0 1 8 0v3"}})]),e._v(" "),e._m(3)])]),e._v(" "),t("SecuritySeal",{staticClass:"quote-trust-seal",attrs:{small:""}})],1)},[function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"quote-trust-title"},[e._v("24h claim assessment")]),e._v(" "),t("div",{staticClass:"quote-trust-sub"},[e._v("Our Claims Promise")])])},function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"quote-trust-title"},[e._v("50,000+ riders covered")]),e._v(" "),t("div",{staticClass:"quote-trust-sub"},[e._v("Since 2014")])])},function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"quote-trust-title"},[e._v("Price match promise")]),e._v(" "),t("div",{staticClass:"quote-trust-sub"},[e._v("We match cheaper quotes")])])},function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"quote-trust-title"},[e._v("Secure checkout")]),e._v(" "),t("div",{staticClass:"quote-trust-sub"},[e._v("Encrypted & verified")])])}],!1,null,"1138ca47",null).exports),xt={components:{Postcode:r(414).a},props:{value:{type:Object,default:function(){return{}}},disabledLookup:{type:Boolean,default:!1}},data:function(){return{details:{house:"",street:"",city:"",county:"",postcode:""}}},methods:{continueToMonthlyPayment:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n,o,a,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e.$refs.houseObserver.validate();case 1:return r=t.sent,t.next=2,e.$refs.streetObserver.validate();case 2:return n=t.sent,t.next=3,e.$refs.cityObserver.validate();case 3:return o=t.sent,t.next=4,e.$refs.countyObserver.validate();case 4:return a=t.sent,t.next=5,e.$refs.postcodeObserver.validate();case 5:i=t.sent,r.valid&&n.valid&&o.valid&&a.valid&&i.valid;case 6:case"end":return t.stop()}},t)}))()},handlePostcodeChange:function(e){this.details.house=e.address,this.details.street=e.street,this.details.city=e.city,this.details.county=e.county,this.details.postcode=e.postcode,this.$emit("input",this.details)},handleInputChange:function(){this.details={house:"",street:"",city:"",county:"",postcode:""},this.$emit("input",this.details)}}};function wt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function kt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Ot={name:"RiskFactors",components:{ApplyDiscountCode:mt,DisplayDiscount:gt,QuoteTrustPanel:_t,PostcodeAddressAutocompleter:Object(se.a)(xt,function(){var e=this,t=e._self._c;return t("div",[t("div",[t("ValidationProvider",{ref:"postcodeObserver",attrs:{mode:"lazy",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("Postcode",{attrs:{postcode:e.details.postcode,errors:n[0],name:"fakepasswordremembered",label:"pcode",type:"pcode","disabled-lookup":e.disabledLookup},on:{handleChange:e.handlePostcodeChange,input:e.handleInputChange},model:{value:e.details.postcode,callback:function(t){e.$set(e.details,"postcode",t)},expression:"details.postcode"}})]}}])})],1),e._v(" "),t("div",{staticClass:"form-group control has-icons-right",staticStyle:{display:"none"}},[t("ValidationProvider",{ref:"houseObserver",attrs:{mode:"lazy",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.details.house,expression:"details.house"}
1],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"house",type:"text"},domProps:{value:e.details.house},on:{input:function(t){t.target.composing||e.$set(e.details,"house",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"house"}},[e._v("\n        House number\n      ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),t("div",{staticClass:"form-group control has-icons-right",staticStyle:{display:"none"}},[t("ValidationProvider",{ref:"streetObserver",attrs:{mode:"lazy",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.details.street,expression:"details.street"}],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"street",type:"text"},domProps:{value:e.details.street},on:{input:function(t){t.target.composing||e.$set(e.details,"street",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"street"}},[e._v("\n        Street address\n      ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),t("div",{staticClass:"form-group control has-icons-right",staticStyle:{display:"none"}},[t("ValidationProvider",{ref:"cityObserver",attrs:{mode:"lazy",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.details.city,expression:"details.city"}],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"city",type:"text"},domProps:{value:e.details.city},on:{input:function(t){t.target.composing||e.$set(e.details,"city",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"city"}},[e._v(" Town / City ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),t("div",{staticClass:"form-group control has-icons-right",staticStyle:{display:"none"}},[t("ValidationProvider",{ref:"countyObserver",attrs:{mode:"lazy",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.details.county,expression:"details.county"}],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"county",type:"text"},domProps:{value:e.details.county},on:{input:function(t){t.target.composing||e.$set(e.details,"county",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"county"}},[e._v(" County ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1)])},[],!1,null,"1732abf3",null).exports,IsEbike:_e},props:{free:{type:Number,default:null},prefill:{type:Object,default:null}},data:function(){return{bike:{firstBikeValue:null,firstBikeMake:""},dateOfBirth:{day:"",month:"",year:""},showDiscountInput:!1,address:{house:"",street:"",city:"",county:"",postcode:""},isAddressValid:!1,isEbike:!1,peddleBike:{value:1e3,make:"Peddle Go"},peddleBikes:[{value:1e3,make:"Peddle Go"},{value:1150,make:"Peddle Ride"},{value:1250,make:"Peddle Step"},{value:1700,make:"Peddle Pro"}]}},computed:{days:function(){return Array.from({length:31},function(e,t){return t+1})},months:function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},yearsRecent:function(){for(var e=[],t=(new Date).getFullYear()-16;t>1990;
1t--)e.push(t);return e},yearsOlder:function(){for(var e=(new Date).getFullYear()-100,t=[],r=1990;r>=e;r--)t.push(r);return t}},watch:{prefill:"applyPrefill"},created:function(){this.applyPrefill()},activated:function(){this.applyPrefill()},methods:{applyPrefill:function(){if(this.prefill){if(this.prefill.bikeValue&&(this.bike.firstBikeValue=String(this.prefill.bikeValue)),this.prefill.age){var e=this.$moment().subtract(Number(this.prefill.age),"years");this.dateOfBirth={day:e.format("D"),month:e.format("M"),year:e.format("YYYY")}}!0===this.prefill.isEbike&&(this.isEbike=!0)}},validate:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n,o,a,i,s,c,u,l;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e.$refs.dayObserver.validate();case 1:return r=t.sent,t.next=2,e.$refs.monthObserver.validate();case 2:return n=t.sent,t.next=3,e.$refs.yearObserver.validate();case 3:return o=t.sent,t.next=4,e.$refs.adddressLookUpObserver.validate();case 4:if(a=t.sent,i=e.$refs.isEbike.validate(),s=r.valid&&n.valid&&o.valid&&a.valid&&i,!(e.free>0&&"peddle"!==e.$route.params.slug)){t.next=6;break}return t.next=5,e.$refs.firstBikeMakeObserver.validate();case 5:c=t.sent,s=s&&c.valid;case 6:if("peddle"!==e.$route.params.slug){t.next=8;break}return t.next=7,e.$refs.peddleBikeObserver.validate();case 7:u=t.sent,s=s&&u.valid,e.bike.firstBikeValue=e.peddleBike.value,e.bike.firstBikeMake=e.peddleBike.make,t.next=10;break;case 8:return t.next=9,e.$refs.firstBikeValueObserver.validate();case 9:l=t.sent,s=s&&l.valid;case 10:s&&e.$emit("continue",{bike:kt(kt({},e.bike),{},{isEbike:e.isEbike}),address:e.address,dateOfBirth:e.dateOfBirth,partnerSlug:e.$route.params.slug});case 11:case"end":return t.stop()}},t)}))()},onSubmit:function(){this.validate()},personalCover:function(){this.$emit("personalCover")}}},Et=(r(596),Object(se.a)(Ot,function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"slide-modal-title"},[e._v("Get your instant quote")]),e._v(" "),t("ValidationObserver",[t("form",{on:{submit:function(t){return t.preventDefault(),e.onSubmit.apply(null,arguments)}}},["peddle"===e.$route.params.slug?t("div",[t("div",{staticClass:"select is-fullwidth"},[t("ValidationProvider",{ref:"peddleBikeObserver",attrs:{rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("select",{directives:[{name:"model",rawName:"v-model",value:e.peddleBike,expression:"peddleBike"}],class:{"is-danger":n[0]},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.peddleBike=t.target.multiple?r:r[0]}}},e._l(e.peddleBikes,function(e,r){return t("option",{key:r,attrs:{label:e.make,"v-text":e.make},domProps:{value:{value:e.value,make:e.make}}})}),0)]}}],null,!1,94666162)})],1)]):t("div",[t("div",{staticClass:"form-group control has-icons-right"},[t("ValidationProvider",{ref:"firstBikeValueObserver",attrs:{rules:"required|min_bike_value:400|max_bike_value:15000"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.bike.firstBikeValue,expression:"bike.firstBikeValue"}],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"replacement-value",type:"number",pattern:"\\d*",required:""},domProps:{value:e.bike.firstBikeValue},on:{input:function(t){t.target.composing||e.$set(e.bike,"firstBikeValue",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"replacement-value"}},[e._v("\n              Bike replacement value\n            ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help is-size-10",class:{"
1is-danger":n[0]}},[e._v("\n              "+e._s(n[0])+"\n            ")])]}}])})],1),e._v(" "),e.free>0?t("div",{staticClass:"form-group control has-icons-right"},[t("ValidationProvider",{ref:"firstBikeMakeObserver",attrs:{rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.bike.firstBikeMake,expression:"bike.firstBikeMake"}],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"make",type:"text",required:""},domProps:{value:e.bike.firstBikeMake},on:{input:function(t){t.target.composing||e.$set(e.bike,"firstBikeMake",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"make"}},[e._v("\n              Bike make\n            ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}],null,!1,1550193783)})],1):e._e()]),e._v(" "),t("IsEbike",{ref:"isEbike",attrs:{"is-ebike-props":e.isEbike},on:{isEbikeSelected:function(t){return e.isEbike=t}}}),e._v(" "),t("span",{staticClass:"dob-label"},[e._v(" Date of Birth ")]),e._v(" "),t("div",{staticClass:"is-flex dob-row"},[t("div",{staticClass:"form-group control dob-col"},[t("ValidationProvider",{ref:"dayObserver",attrs:{rules:"required|min_day:1|max_day:31"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("div",{staticClass:"select is-fullwidth",class:{"is-danger":n[0]}},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.dateOfBirth.day,expression:"dateOfBirth.day"}],attrs:{id:"day",required:""},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.dateOfBirth,"day",t.target.multiple?r:r[0])}}},[t("option",{attrs:{value:"",disabled:"",hidden:""}},[e._v("Day")]),e._v(" "),e._l(e.days,function(r){return t("option",{key:r,domProps:{value:String(r)}},[e._v("\n                  "+e._s(r)+"\n                ")])})],2)]),e._v(" "),t("span",{staticClass:"help is-size-10",class:{"
1is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),t("div",{staticClass:"form-group control dob-col",staticStyle:{margin:"0 5px"}},[t("ValidationProvider",{ref:"monthObserver",attrs:{rules:"required|min_month:1|max_month:12"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("div",{staticClass:"select is-fullwidth",class:{"is-danger":n[0]}},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.dateOfBirth.month,expression:"dateOfBirth.month"}],attrs:{id:"month",required:""},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.dateOfBirth,"month",t.target.multiple?r:r[0])}}},[t("option",{attrs:{value:"",disabled:"",hidden:""}},[e._v("Month")]),e._v(" "),e._l(e.months,function(r,n){return t("option",{key:n,domProps:{value:String(n+1)}},[e._v("\n                  "+e._s(r)+"\n                ")])})],2)]),e._v(" "),t("span",{staticClass:"help is-size-10",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),t("div",{staticClass:"form-group control dob-col"},[t("ValidationProvider",{ref:"yearObserver",attrs:{rules:"required|valid_year|min_year|mаx_year"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("div",{staticClass:"select is-fullwidth",class:{"is-danger":n[0]}},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.dateOfBirth.year,expression:"dateOfBirth.year"}],attrs:{id:"year",required:""},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.dateOfBirth,"year",t.target.multiple?r:r[0])}}},[e._l(e.yearsRecent,function(r){return t("option",{key:r,domProps:{value:String(r)}},[e._v("\n                  "+e._s(r)+"\n                ")])}),e._v(" "),t("option",{attrs:{value:"",disabled:""}},[e._v("Year")]),e._v(" "),e._l(e.yearsOlder,function(r){return t("option",{key:r,domProps:{value:String(r)}},[e._v("\n                  "+e._s(r)+"\n                ")])})],2)]),e._v(" "),t("span",{staticClass:"help is-size-10",class:{"
1is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1)]),e._v(" "),t("div",{staticClass:"form-group control"},[t("ValidationProvider",{ref:"adddressLookUpObserver",attrs:{rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("PostcodeAddressAutocompleter",{attrs:{"disabled-lookup":!0},model:{value:e.address,callback:function(t){e.address=t},expression:"address"}}),e._v(" "),t("span",{staticClass:"help is-size-10",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),e.showDiscountInput?t("ApplyDiscountCode"):e._e(),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth call-to-action",class:{"is-loading":e.$nuxt.$loading.get()||e.$store.getters["quote/isPriceLoading"]},attrs:{type:"submit","data-test":"get-my-quote"}},[e._v("\n        Get my quote\n      ")]),e._v(" "),t("DisplayDiscount",{staticClass:"display-discount"}),e._v(" "),t("QuoteTrustPanel")],1)])],1)},[],!1,null,"65a6f407",null)),Ct=Et.exports,Tt={name:"PriceInfo",props:{free:{type:Number,default:null}},data:function(){return{coverItems:[{title:"Theft cover",paths:["M5.5 10.5h13a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z","M8 10.5V7.5a4 4 0 0 1 8 0v3"]},{title:"Accidental damage",paths:["M14.9 6.4a1 1 0 0 0 0 1.4l1.3 1.3a1 1 0 0 0 1.4 0l3.1-3.1a5.5 5.5 0 0 1-7.3 7.3l-5.9 5.9a2 2 0 0 1-2.8-2.8l5.9-5.9a5.5 5.5 0 0 1 7.3-7.3l-3 3z"]},{title:"Family cover",paths:["M9.5 11.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6z","M3.5 19.5a6 6 0 0 1 12 0","M16.5 11a2.5 2.5 0 1 0 0-5","M17 13.5a4.5 4.5 0 0 1 3.5 4.4"]},{title:"Replacement cover",paths:["M20 11a8 8 0 0 0-13.7-5.7L4 7.6","M4 4.2v3.4h3.4","M4 13a8 8 0 0 0 13.7 5.7L20 16.4","M20 19.8v-3.4h-3.4"]}]}},computed:{freeDays:function(){return"peddle"===this.$route.params.slug?"6 months":"30 days"},xPayments:function(){return"peddle"===this.$route.params.slug?"6":"11"},freeDaysNumber:function(){return"peddle"===this.$route.params.slug?180:30},headline:function(){var e=Number(this.$store.getters["quote/firstBikeValue"]);if(!e)return"Your bike, protected";var t=new Intl.NumberFormat("en-GB",{style:"currency",currency:"GBP",maximumFractionDigits:0}).format(e);return"Your ".concat(t," bike, protected")}},mounted:function(){this.$gtm.push({event:"addtowishlist","prices.total_discounted":this.$store.getters["quote/price"].total,policy_total:this.$store.getters["quote/price"].total,prices:{discount_percent:"test",total_discounted:this.$store.getters["quote/price"].total}}),this.$gtm.push({event:"instant_quote"})}},St=(r(598),Object(se.a)(Tt,function(){var e=this,t=e._self._c;return t("div",{staticClass:"quote-view"},[t("p",{staticClass:"quote-eyebrow"},[e._v("Your personalised quote")]),e._v(" "),t("h2",{staticClass:"quote-headline"},[e._v(e._s(e.headline))]),e._v(" "),e.free?t("div",{staticClass:"price-container"},[t("div",{staticClass:"monthly-price"},[e._v("\n      First "+e._s(e.freeDays)+"\n      "),t("div",{staticClass:"price"},[e._v("Free")])]),e._v(" "),t("div",{staticClass:"monthly-price"},[e._v("\n      Monthly after "+e._s(e.freeDays)+" free period ("+e._s(e.xPayments)+" payments)\n      "),t("div",{staticClass:"price"},[e._v("\n        "+e._s(e._f("toCurrency")(e._f("freePeriodPriceMonthly")(e.$store.getters["quote/price"].total,e.freeDaysNumber)))+"\n      ")])]),e._v(" "),t("div",{staticClass:"annually-price monthly-price"},[e._v("\n      OR "),t("br"),t("br"),e._v("\n      "+e._s((e.$route.params.slug,"One"))+"\n      off payment for the remainder of annual cover ("+e._s(e.xPayments)+" months)\n      "+e._s(e._f("toCurrency")(e._f("freePeriodPriceAnnually")(e.$store.getters["quote/price"].total,e.freeDaysNumber)))+"\n    ")])]):t("div",{staticClass:"price-container"},[t("p",{staticClass:"price-headline"},[t("span",{staticClass:"price-amount"},[e._v(e._s(e._f("toCurrency")(e.$store.getters["quote/price"].total/12)))]),e._v(" "),t("span",{staticClass:"price-period"},[e._v("monthly")])]),e._v(" "),t("p",{staticClass:"price-annual"},[e._v("\n      "+e._s(e._f("toCurrency")(e.$store.getters["quote/price"].total))+" a year, including\n      IPT\n    ")])]),e._v(" "),e.free?e._e():[e._m(0),e._v(" "),t("div",{staticClass:"included"},[t("p",{staticClass:"included-title"},[e._v("Included in your quote")]),e._v(" "),t("ul",{staticClass:"included-grid"},e._l(e.coverItems,function(r){return t("li",{key:r.title},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},e._l(r.paths,function(e,r){return t("path",{key:r,attrs:{d:e,fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linecap":"round","stroke-linejoin":"round"}})}),0),e._v("\n          "+e._s(r.title)+"\n        ")])}),0)]),e._v(" "),t("p",{staticClass:"proof"},[t("svg",{staticClass:"proof-star",attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M12 3.6l2.5 5.1 5.6.8-4 4 .95 5.6L12 16.4l-5.05 2.7.95-5.6-4-4 5.6-.8L12 3.6z",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linejoin":"round"}})]),e._v(" "),t("span",{staticClass:"proof-score"},[e._v("4.6 Excellent")]),e._v(" · 50,000+ cyclists\n      covered · claims assessed within 24 hours\n    ")]),e._v(" "),t("p",{staticClass:"start-today"},[e._v("Cover can start today.")])],e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth call-to-action quote-cta",class:{"
1is-loading":e.$store.getters["quote/isQuoteLoading"]},attrs:{"data-test":"continue-quick-quote"},on:{click:function(t){return e.$emit("continue")}}},[e._v("\n    "+e._s(e.free?"Continue":"Protect my bike")+"\n  ")]),e._v(" "),e.free?e._e():[t("ul",{staticClass:"quote-assurances"},[t("li",[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M12 3.8a8.2 8.2 0 1 1 0 16.4 8.2 8.2 0 0 1 0-16.4z",fill:"none",stroke:"currentColor","stroke-width":"1.7"}}),e._v(" "),t("path",{attrs:{d:"M12 7.6V12l3 1.9",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v("\n        Only takes about 60 seconds\n      ")]),e._v(" "),t("li",{staticClass:"is-green"},[t("svg",{attrs:{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"}},[t("path",{attrs:{d:"M12 3.8a8.2 8.2 0 1 1 0 16.4 8.2 8.2 0 0 1 0-16.4z",fill:"none",stroke:"currentColor","stroke-width":"1.7"}}),e._v(" "),t("path",{attrs:{d:"M8.4 12.2l2.4 2.4 4.8-5",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linecap":"round","stroke-linejoin":"round"}})]),e._v("\n        Review everything before you buy\n      ")])]),e._v(" "),e._m(1),e._v(" "),e._m(2)],e._v(" "),t("p",{staticClass:"quote-footnote"},[!e.free&&e.$store.getters["quote/price"].total<=100?[e._v("\n      *Premiums under £100 can only be paid for on an annual basis.\n    ")]:e._e(),e._v("\n    Including Insurance Premium Tax.\n  ")],2)
1],2)},[function(){var e=this,t=e._self._c;return t("div",{staticClass:"reassurance"},[t("p",{staticClass:"reassurance-title"},[e._v("Ride with confidence")]),e._v(" "),t("p",{staticClass:"reassurance-copy"},[e._v("\n        If your bike is stolen or accidentally damaged, we’ll help get you\n        back riding.\n      ")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"quote-note"},[t("p",{staticClass:"quote-note-title"},[e._v("Price Match Promise")]),e._v(" "),t("p",{staticClass:"quote-note-copy"},[e._v("\n        If you find the same cover cheaper, we’ll match it.\n      ")]),e._v(" "),t("a",{attrs:{href:"/price-match-promise",target:"_blank",rel:"noopener"}},[e._v("\n        View terms\n      ")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"quote-note is-compact"},[t("p",[t("b",[e._v("Insuring another bike?")]),e._v(" Add it later for 50% off.")]),e._v(" "),t("p",[t("b",[e._v("Need a lock?")]),e._v(" Add an eligible Hiplok after checkout.")])])}],!1,null,"ff0b56d2",null).exports),Pt={name:"RiskFactors",props:{free:{type:Number,default:null}},data:function(){return{riskFactor:{age:"",postcode:""},showDiscountInput:!1}},computed:{},created:function(){},methods:{validate:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e.$refs.ageObserver.validate();case 1:return r=t.sent,t.next=2,e.$refs.postcodeObserver.validate();case 2:n=t.sent,r.valid&&n.valid&&e.$emit("continue",e.riskFactor);case 3:case"end":return t.stop()}},t)}))()},onSubmit:function(){this.validate()}}},Rt=(r(600),Object(se.a)(Pt,function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"slide-modal-title"},[e._v("Get your personal cover")]),e._v(" "),t("ValidationObserver",[t("form",{on:{submit:function(t){return t.preventDefault(),e.onSubmit.apply(null,arguments)}}},[t("div",{staticClass:"form-group control has-icons-right"},[t("ValidationProvider",{ref:"ageObserver",attrs:{rules:"required|min_age:16|max_age:120"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.riskFactor.age,expression:"riskFactor.age"}],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"age",type:"number",pattern:"\\d*",required:""},domProps:{value:e.riskFactor.age},on:{input:function(t){t.target.composing||e.$set(e.riskFactor,"age",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"age"}},[e._v(" Your age ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),t("div",{staticClass:"form-group control has-icons-right"},[t("ValidationProvider",{ref:"postcodeObserver",attrs:{rules:"required"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.riskFactor.postcode,expression:"riskFactor.postcode"}],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"postcode",type:"text",required:""},domProps:{value:e.riskFactor.postcode},on:{input:function(t){t.target.composing||e.$set(e.riskFactor,"postcode",t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"postcode"}},[e._v("\n            Your postcode\n          ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}])})],1),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth call-to-action",class:{"
1is-loading":e.$nuxt.$loading.get()},attrs:{type:"submit"}},[e._v("\n        Get my quote\n      ")])])])],1)},[],!1,null,"590e3193",null)),At=Rt.exports,jt=r(161),It=r(95);function Lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Dt={"gmail.com":"https://mail.google.com","googlemail.com":"https://mail.google.com","outlook.com":"https://outlook.live.com/mail","hotmail.com":"https://outlook.live.com/mail","hotmail.co.uk":"https://outlook.live.com/mail","live.com":"https://outlook.live.com/mail","live.co.uk":"https://outlook.live.com/mail","msn.com":"https://outlook.live.com/mail","yahoo.com":"https://mail.yahoo.com","yahoo.co.uk":"https://mail.yahoo.com","ymail.com":"https://mail.yahoo.com","icloud.com":"https://www.icloud.com/mail","me.com":"https://www.icloud.com/mail","mac.com":"https://www.icloud.com/mail","aol.com":"https://mail.aol.com","aol.co.uk":"https://mail.aol.com","protonmail.com":"https://mail.proton.me","proton.me":"https://mail.proton.me"},qt={name:"RegisterStep",data:function(){return{view:"choose",email:"",sentTo:"",loading:"",message:"",messageType:"error",priceHoldDays:30}},computed:{bikeLabel:function(){var e=Number(this.$store.getters["quote/firstBikeValue"]);if(!e)return"Your bike";var t=new Intl.NumberFormat("en-GB",{style:"currency",currency:"GBP",maximumFractionDigits:0}).format(e);return"".concat(t," bike")},monthlyPrice:function(){var e=Number(this.$store.getters["quote/price"].total);return e?new Intl.NumberFormat("en-GB",{style:"currency",currency:"GBP",minimumFractionDigits:2}).format(e/12):""},webmailUrl:function(){var e=(this.sentTo.split("@")[1]||"").toLowerCase();return Dt[e]||""}},methods:Mt(Mt(Mt({},Object(i.b)("user",["login"])),Object(i.b)("quote",["syncQuote"])),{},{goBack:function(){return"sent"===this.view&&(this.useAnotherEmail(),!0)},setMessage:function(e,t){this.messageType=e,this.message=t},clearMessage:function(){this.message=""},validEmail:function(){return!!/.+@.+\..+/.test(this.email.trim())||(this.setMessage("error","Please enter your email address so we can send your link."),!1)},sendLink:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.loading&&e.validEmail()){t.next=1;break}return t.abrupt("return");case 1:return e.clearMessage(),e.loading="magic",r=e.email.trim(),t.prev=2,n=e.$store.getters["quote/quoteId"],t.next=3,Object(jt.f)(r,{mode:"register",quoteId:n,redirectUrl:"/quote-setup/".concat(n)});case 3:e.sentTo=r,e.view="sent",t.next=5;break;case 4:t.prev=4,o=t.catch(2),e.reportAuthError("Email link","send",o);case 5:return t.prev=5,e.loading="",t.finish(5);case 6:case"end":return t.stop()}},t,null,[[2,4,5,6]])}))()},resend:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.loading){t.next=1;break}return t.abrupt("return");case 1:return e.clearMessage(),e.loading="magic",t.prev=2,r=e.$store.getters["quote/quoteId"],t.next=3,Object(jt.f)(e.sentTo,{mode:"register",quoteId:r,redirectUrl:"/quote-setup/".concat(r)});case 3:e.setMessage("info","Sent again to ".concat(e.sentTo,".")),t.next=5;break;case 4:t.prev=4,n=t.catch(2),e.reportAuthError("Email link","resend",n);case 5:return t.prev=5,e.loading="",t.finish(5);case 6:case"end":return t.stop()}},t,null,[[2,4,5,6]])}))()},useAnotherEmail:function(){this.view="choose",this.clearMessage(),this.$nextTick(function(){var e=document.getElementById("register-email");e&&e.focus()})},extractName:function(e){var t=e&&e.user||{},r=e&&e.additionalUserInfo&&e.additionalUserInfo.profile||{},n=r.given_name||"",o=r.family_name||"";if((!n||!o)&&t.displayName){var a=t.displayName.trim().split(/\s+/);n=n||a.shift()||"",o=o||a.join(" ")||""}return{firstName:n,lastName:o}},afterAuth:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i,s;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=1,t.login({data:e});case 1:return n=t.extractName(e),o=n.firstName,a=n.lastName,o&&t.$store.commit("quote/SET_QUOTE_USER_DETAILS_FIRST_NAME",o),a&&t.$store.commit("quote/SET_QUOTE_USER_DETAILS_LAST_NAME",a),i=t.$store.getters["quote/quoteId"],r.next=2,t.syncQuote();case 2:s=Object(It.b)(),Object(It.a)(),t.$emit("registered",i||s.quoteId);case 3:case"end":return r.stop()}},r)}))()},reportAuthError:function(e,t,r){var n=r&&r.code||"";r&&r.message||String(r);this.setMessage("error",this.friendlyError(n,e))},friendlyError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"auth/invalid-email":return"That email address doesn’t look right. Please check it and try again.";case"auth/too-many-requests":return"Too many attempts. Please wait a few minutes and try again.";case"auth/user-disabled":return"This account has been disabled. Please get in touch and we’ll help.";case"auth/network-request-failed":return"We couldn’t reach Pedalsure. Check your connection and try again.";case"auth/popup-closed-by-user":case"auth/cancelled-popup-request":return"Sign-in was cancelled. Please try again.";case"auth/popup-blocked":return"Your browser blocked the sign-in window. Allow pop-ups, or use a sign-in link instead.";case"auth/account-exists-with-different-credential":return"You already have an account with this email using a different sign-in method. Try the other button, or use a sign-in link.";default:return t?"".concat(t," didn’t work. Please try again, or use another option."):"Something went wrong. Please try again."}},socialRegister:function(e,t,r){var o=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var a,i,s,c;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!o.loading){n.next=1;break}return n.abrupt("return");case 1:return o.loading=t,o.clearMessage(),a=o.$store.getters["quote/quoteId"],Object(It.c)({mode:"register",quoteId:a,redirectUrl:"/quote-setup/".concat(a)}),n.prev=2,n.next=3,fe.b.signInWithPopup(r);case 3:i=n.sent,n.next=5;break;case 4:return n.prev=4,s=n.catch(2),o.reportAuthError(e,"sign-in",s),o.loading="",n.abrupt("return");case 5:return n.prev=5,n.next=6,o.afterAuth(i);case 6:n.next=8;break;case 7:n.prev=7,c=n.catch(5),o.reportAuthError(e,"post-sign-in",c);case 8:return n.prev=8,o.loading="",n.finish(8);case 9:case"end":return n.stop()}},n,null,[[2,4],[5,7,8,9]])}))()},googleRegister:function(){return this.socialRegister("Google","google",fe.d)}
1,appleRegister:function(){return this.socialRegister("Apple","apple",fe.a)}})},Nt=qt,$t=(r(602),Object(se.a)(Nt,function(){var e=this,t=e._self._c;return t("div",{staticClass:"register-step"},["choose"===e.view?[t("div",{staticClass:"quote-recap"},[t("div",{staticClass:"quote-recap-quote"},[t("p",{staticClass:"quote-recap-label"},[e._v("Your personalised quote")]),e._v(" "),t("p",{staticClass:"quote-recap-bike"},[e._v(e._s(e.bikeLabel))])]),e._v(" "),t("div",{staticClass:"quote-recap-cost"},[t("p",{staticClass:"quote-recap-price"},[e._v(e._s(e.monthlyPrice))]),e._v(" "),t("p",{staticClass:"quote-recap-period"},[e._v("a month")])])]),e._v(" "),t("h2",{staticClass:"register-title"},[e._v("Continue securely")]),e._v(" "),t("p",{staticClass:"register-sub"},[e._v("Choose the quickest way to save this quote.")]),e._v(" "),t("button",{staticClass:"button social-button is-fullwidth",class:{"is-loading":"google"===e.loading},attrs:{type:"button",disabled:!!e.loading,"data-test":"register-google"},on:{click:e.googleRegister}},[t("span",{staticClass:"social-icon",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 48 48"}},[t("path",{attrs:{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}}),e._v(" "),t("path",{attrs:{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}}),e._v(" "),t("path",{attrs:{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}}),e._v(" "),t("path",{attrs:{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"}})])]),e._v(" "),t("span",[e._v("Continue with Google")])]),e._v(" "),t("button",{staticClass:"button social-button apple is-fullwidth",class:{"is-loading":"apple"===e.loading},attrs:{type:"button",disabled:!!e.loading,"data-test":"register-apple"},on:{click:e.appleRegister}},[t("span",{staticClass:"social-icon",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 24 24",fill:"currentColor"}},[t("path",{attrs:{d:"M16.365 1.43c0 1.14-.417 2.2-1.11 2.98-.75.85-1.98 1.5-3.06 1.42-.13-1.09.42-2.24 1.09-2.98.74-.83 2.06-1.45 3.08-1.42zM20.5 17.2c-.55 1.27-.81 1.84-1.52 2.96-.99 1.57-2.39 3.52-4.12 3.53-1.54.02-1.94-1-4.03-.99-2.09.01-2.53 1.01-4.07.99-1.73-.02-3.06-1.78-4.05-3.35C-.02 15.9-.34 11.6 1.44 9.03c.99-1.44 2.55-2.28 4.02-2.28 1.5 0 2.44 1 3.68 1 1.2 0 1.93-1 3.67-1 1.31 0 2.7.71 3.69 1.94-3.24 1.78-2.71 6.4.99 8.51z"}})])]),e._v(" "),t("span",[e._v("Continue with Apple")])]),e._v(" "),e._m(0),e._v(" "),t("div",{staticClass:"field"},[t("label",{staticClass:"label",attrs:{for:"register-email"}},[e._v("Email address")]),e._v(" "),t("div",{staticClass:"control"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"input",attrs:{id:"register-email",type:"email",inputmode:"email",autocomplete:"email",placeholder:"[email protected]","data-test":"register-email-input"},domProps:{value:e.email},on:{input:[function(t){t.target.composing||(e.email=t.target.value)},e.clearMessage],keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.sendLink.apply(null,arguments)}}})])]),e._v(" "),e.message?t("div",{staticClass:"form-message",class:e.messageType,attrs:{role:"alert","data-test":"register-message"}},[e._v("\n      "+e._s(e.message)+"\n    ")]):e._e(),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth register-submit",class:{"is-loading":"magic"===e.loading},attrs:{type:"button",disabled:!!e.loading,"data-test":"register-magic-send"},on:{click:e.sendLink}},[e._v("\n      Email me a secure sign-in link\n    ")]),e._v(" "),t("p",{staticClass:"register-help"},[e._v("\n      No password needed. Works for new and existing customers.\n    ")]),e._v(" "),t("div",{staticClass:"quote-hold"},[t("span",{staticClass:"quote-hold-tick",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M6 12.5l4 4 8-9",fill:"none",stroke:"currentColor","stroke-width":"2.4","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e._v(" "),t("p",[e._v("\n        Your quote is held at "),t("strong",[e._v(e._s(e.monthlyPrice))]),e._v(" for\n        "+e._s(e.priceHoldDays)+" days.\n      ")])]),e._v(" "),e._m(1)]:t("div",{staticClass:"inbox",attrs:{"data-test":"register-inbox"}},[t("span",{staticClass:"inbox-icon",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 24 24"}},[t("rect",{attrs:{x:"3",y:"5.5",width:"18",height:"13",rx:"2.5",fill:"none",stroke:"currentColor","stroke-width":"1.7"}}),e._v(" "),t("path",{attrs:{d:"M4 7.5l8 5.5 8-5.5",fill:"none",stroke:"currentColor","stroke-width":"1.7","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e._v(" "),t("h2",{staticClass:"inbox-title"},[e._v("Check your inbox")]),e._v(" "),t("p",{staticClass:"inbox-copy"},[e._v("\n      We've sent a sign-in link to "),t("strong",[e._v(e._s(e.sentTo))]),e._v(". Open it on this device and you'll be signed straight in.\n    ")]),e._v(" "),e.webmailUrl?t("a",{staticClass:"button ps-button is-fullwidth",attrs:{href:e.webmailUrl,target:"_blank",rel:"noopener","data-test":"register-open-mail"}}
1,[e._v("\n      Open email app\n    ")]):e._e(),e._v(" "),e.message?t("div",{staticClass:"form-message",class:e.messageType,attrs:{role:"status","data-test":"register-inbox-message"}},[e._v("\n      "+e._s(e.message)+"\n    ")]):e._e(),e._v(" "),t("p",{staticClass:"inbox-retry"},[e._v("\n      Didn't get it?\n      "),t("a",{attrs:{"data-test":"register-resend"},on:{click:function(t){return t.preventDefault(),e.resend.apply(null,arguments)}}},[e._v("Send again")]),e._v("\n      or\n      "),t("a",{attrs:{"data-test":"register-change-email"},on:{click:function(t){return t.preventDefault(),e.useAnotherEmail.apply(null,arguments)}}},[e._v("use another email")]),e._v(".\n    ")])])],2)},[function(){var e=this._self._c;return e("div",{staticClass:"register-divider"},[e("span",[this._v("or")])])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"by-clicking"},[e._v("\n      By continuing, you accept the Pedalsure\n      "),t("a",{attrs:{target:"_blank",rel:"noopener",href:"/documents/august_2024/Terms & Conditions 08-24.pdf"}},[e._v("\n        Terms of Use\n      ")]),e._v("\n      and acknowledge our\n      "),t("a",{attrs:{target:"_blank",rel:"noopener",href:"/documents/august_2024/Privacy Policy 08-24.pdf"}},[e._v("Privacy Policy")]),e._v(".\n    ")])}],!1,null,"08ae0f70",null)),Ut=$t.exports;function Bt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Qt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Yt={name:"RegisterForm",middleware:["handle-login-route"],props:{redirectUrl:{type:String,default:"/dashboard"}},data:function(){return{email:"",password:"",emailMarketing:!1}},methods:Qt(Qt({},Object(i.b)("user",["login"])),{},{signUp:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=1,fe.b.createUserWithEmailAndPassword(e.email,e.password);case 1:return r=t.sent,t.next=2,e.login({data:r,emailMarketing:e.emailMarketing});case 2:e.$router.push({path:e.redirectUrl,query:Qt({},e.$route.query)}),e.$gtm.push({event:"register",provider:"emailpassword"}),t.next=4;break;case 3:t.prev=3,t.catch(0),e.$toast.clear(),e.$toast.error("The email already exist");case 4:case"end":return t.stop()}},t,null,[[0,3]])}))()}})};function Ft(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function zt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ft(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Gt={name:"LoginForm",components:{RegisterFrom:Object(se.a)(Yt,function(){var e=this,t=e._self._c;return t("form",{on:{submit:function(e){e.preventDefault()}}},[t("div",{staticClass:"field"},[t("label",{staticClass:"label",attrs:{for:""}},[e._v("Email")]),e._v(" "),t("div",{staticClass:"control has-icons-left"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"input",attrs:{type:"email",placeholder:"e.g. [email protected]",required:""},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e._v(" "),t("span",{staticClass:"icon is-small is-left"},[t("font-awesome-icon",{attrs:{icon:["fa","envelope"]}})],1)])]),e._v(" "),t("div",{staticClass:"field"},[t("label",{staticClass:"label",attrs:{for:""}},[e._v("Password")]),e._v(" "),t("div",{staticClass:"control has-icons-left"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"input",attrs:{type:"password",placeholder:"*******",required:""},domProps:{value:e.password},on:{input:function(t){t.target.composing||(e.password=t.target.value)}}}),e._v(" "),t("span",{staticClass:"icon is-small is-left"},[t("font-awesome-icon",{attrs:{icon:["fa","lock"]}})],1)])]),e._v(" "),t("div",{staticClass:"field"},[t("button",{staticClass:"button ps-button is-fullwidth",on:{click:e.signUp}},[e._v("\n      Register\n    ")])]),e._v(" "),t("div",{staticClass:"is-flex"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.emailMarketing,expression:"emailMarketing"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.emailMarketing)?e._i(e.emailMarketing,null)>-1:e.emailMarketing},on:{change:function(t){var r=e.emailMarketing,n=t.target,o=!!n.checked;if(Array.isArray(r)){var a=e._i(r,null);n.checked?a<0&&(e.emailMarketing=r.concat([null])):a>-1&&(e.emailMarketing=r.slice(0,a).concat(r.slice(a+1)))}else e.emailMarketing=o}}}),e._v(" "),t("span",{staticClass:"is-size-7 mb-1 has-text-grey-dark ml-2",attrs:{"data-test":"terms-agreement"}},[e._v("\n      We'd love to send you exclusive offers and news about Pedalsure. You can\n      ask us to stop at any time. If you would prefer not to hear from us,\n      please tick the box.\n    ")])])])},[],!1,null,null,null).exports},middleware:["handle-login-route"],props:{redirectUrl:{type:String,default:"/dashboard"}}
1,data:function(){return{email:"",password:"",signInEmail:!1,signUpEmail:!1,isResetPassword:!1,emailMarketing:!1,magicMode:"idle",magicEmail:""}},methods:zt(zt({},Object(i.b)("user",["login"])),{},{rememberDestination:function(){Object(It.c)({mode:"login",redirectUrl:this.redirectUrl})},openMagic:function(){this.magicEmail=this.email,this.magicMode="form"},sendLink:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.magicEmail){t.next=1;break}return e.$toast.error("Please enter your email"),t.abrupt("return");case 1:return t.prev=1,e.$toast.show("Sending link..."),t.next=2,Object(jt.f)(e.magicEmail,{mode:"login",redirectUrl:e.redirectUrl});case 2:e.$toast.clear(),e.magicMode="sent",t.next=4;break;case 3:t.prev=3,r=t.catch(1),e.$toast.clear(),e.$toast.error("Could not send link".concat(r&&r.code?": ".concat(r.code):""));case 4:case"end":return t.stop()}},t,null,[[1,3]])}))()},submit:function(){""!==this.email&&""!==this.password?this.fbEmailPasswordLogin():this.$toast.show("A email and password must be present")},fbEmailPasswordLogin:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=1,fe.b.signInWithEmailAndPassword(e.email,e.password);case 1:return r=t.sent,t.next=2,e.login({data:r,emailMarketing:e.emailMarketing});case 2:e.$toast.clear(),delete e.$route.query.nextUrl,e.$router.push({path:e.redirectUrl,query:zt({},e.$route.query)}),e.$modal.hide("quick-quote"),e.$gtm.push({event:"login",provider:"emailpassword"}),t.next=4;break;case 3:t.prev=3,t.catch(0),e.$toast.clear(),e.$toast.error("Error while login: Wrong email or/and password");case 4:case"end":return t.stop()}},t,null,[[0,3]])}))()},fbGoogleLogin:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.$toast.show("Logging in..."),e.rememberDestination(),t.next=1,fe.b.signInWithPopup(fe.d);case 1:return r=t.sent,t.next=2,e.login({data:r,emailMarketing:e.emailMarketing});case 2:Object(It.a)(),delete e.$route.query.nextUrl,e.$router.push({path:e.redirectUrl,query:zt({},e.$route.query)}),e.$modal.hide("quick-quote"),e.$gtm.push({event:"login",provider:"google"}),t.next=4;break;case 3:t.prev=3,t.catch(0),e.$toast.clear(),e.$toast.error("Error while auth");case 4:case"end":return t.stop()}},t,null,[[0,3]])}))()},fbAppleLogin:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.$toast.show("Logging in..."),e.rememberDestination(),t.next=1,fe.b.signInWithPopup(fe.a);case 1:return r=t.sent,t.next=2,e.login({data:r,emailMarketing:e.emailMarketing});case 2:Object(It.a)(),delete e.$route.query.nextUrl,e.$router.push({path:e.redirectUrl,query:zt({},e.$route.query)}),e.$modal.hide("quick-quote"),e.$gtm.push({event:"login",provider:"apple"}),t.next=4;break;case 3:t.prev=3,n=t.catch(0),e.$toast.clear(),e.$toast.error("Error while auth".concat(n&&n.c
1ode?": ".concat(n.code):""));case 4:case"end":return t.stop()}},t,null,[[0,3]])}))()},guestLogin:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=1,fe.b.signInAnonymously();case 1:return r=t.sent,t.next=2,e.login({data:r,emailMarketing:e.emailMarketing});case 2:return delete e.$route.query.nextUrl,t.next=3,e.$router.push({path:e.redirectUrl,query:zt({},e.$route.query)});case 3:e.$modal.hide("quick-quote"),e.$gtm.push({event:"login",provider:"anonymous"}),t.next=5;break;case 4:t.prev=4,t.catch(0),e.$toast.clear(),e.$toast.error("Error while auth");case 5:case"end":return t.stop()}},t,null,[[0,4]])}))()},fbFacebookLogin:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.$toast.show("Logging in..."),e.rememberDestination(),t.next=1,fe.b.signInWithPopup(fe.c);case 1:return r=t.sent,t.next=2,e.login({data:r,emailMarketing:e.emailMarketing});case 2:Object(It.a)(),delete e.$route.query.nextUrl,e.$router.push({path:e.redirectUrl,query:zt({},e.$route.query)}),e.$modal.hide("quick-quote"),e.$toast.success("Successfully authenticated"),t.next=4;break;case 3:t.prev=3,n=t.catch(0),e.$toast.clear(),e.$toast.error(n.message);case 4:case"end":return t.stop()}},t,null,[[0,3]])}))()},resetPassword:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,""===e.email){t.next=2;break}return e.$toast.show("Logging in..."),t.next=1,fe.b.sendPasswordResetEmail(e.email,{url:"".concat(window.location.origin,"/login")});case 1:e.$toast.clear(),e.$toast.success("Email sent"),t.next=3;break;case 2:e.$toast.show("A email must be present");case 3:t.next=5;break;case 4:t.prev=4,t.catch(0),e.$toast.clear(),e.$toast.error("There is no user record corresponding to this email.");case 5:case"end":return t.stop()}},t,null,[[0,4]])}))()}})},Ht=(r(604),Object(se.a)(Gt,function(){var e=this,t=e._self._c;return t("form",{staticClass:"p-2",on:{submit:function(e){e.preventDefault()}}},["[email protected]"!==e.$store.getters["user/userEmail"]||e.signInEmail?t("h1",{staticClass:"sign-up-title"},[e._v("\n    Welcome\n  ")]):t("h1",{staticClass:"sign-up-title"},[e._v("Create your Pedalsure account")]),e._v(" "),e.signInEmail||e.signUpEmail?e._e():t("div",{staticClass:"field"},["[email protected]"===e.$store.getters["user/userEmail"]||e.$store.getters["quote/is30daysFree"]?e._e():t("div",[t("div",{staticClass:"is-size-7 mb-1 has-text-grey-dark"},[e._v("\n        Just browsing? No problem. You can create an account later if you like\n        what you see\n      ")]),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth mb-5",on:{click:function(t){return t.preventDefault(),e.guestLogin.apply(null,arguments)}}},[t("span",[e._v(" Continue as our Guest ")]),e._v(" "),t("span",{staticClass:"icon is-small"},[t("font-awesome-icon",{attrs:{icon:["far","user-circle"]}})],1)])]),e._v(" "),"[email protected]"!==e.$store.getters["user/userEmail"]?t("div",{staticClass:"is-size-7 mb-1 has-text-grey-dark"},[e._v("\n      Alternatively, create an account so we can send you a copy of your\n      personalised quote and speed up the process for the next time you\n      return.\n    ")]):t("div",{staticClass:"is-size-7 mb-1 has-text-grey-dark"},[e._v("\n      Before we take your payment details and personal information we need you\n      to create your Pedalsure account so you can manage your policy.\n    ")]),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth mb-2",on:{click:function(t){return t.preventDefault(),e.fbGoogleLogin.apply(null,arguments)}}},[t("span",[e._v(" Continue with Google ")]),e._v(" "),t("span",{staticClass:"icon is-small"},[t("font-awesome-icon",{attrs:{icon:["fab","google"]}})],1)]),e._v(" "),t("button",{staticClass:"button apple-button is-fullwidth mb-2",on:{click:function(t){return t.preventDefault(),e.fbAppleLogin.apply(null,arguments)}}},[t("span",[e._v(" Continue with Apple ")]),e._v(" "),t("span",{staticClass:"icon is-small",attrs:{"aria-hidden":"true"}}
1,[t("svg",{attrs:{viewBox:"0 0 24 24",fill:"currentColor"}},[t("path",{attrs:{d:"M16.365 1.43c0 1.14-.417 2.2-1.11 2.98-.75.85-1.98 1.5-3.06 1.42-.13-1.09.42-2.24 1.09-2.98.74-.83 2.06-1.45 3.08-1.42zM20.5 17.2c-.55 1.27-.81 1.84-1.52 2.96-.99 1.57-2.39 3.52-4.12 3.53-1.54.02-1.94-1-4.03-.99-2.09.01-2.53 1.01-4.07.99-1.73-.02-3.06-1.78-4.05-3.35C-.02 15.9-.34 11.6 1.44 9.03c.99-1.44 2.55-2.28 4.02-2.28 1.5 0 2.44 1 3.68 1 1.2 0 1.93-1 3.67-1 1.31 0 2.7.71 3.69 1.94-3.24 1.78-2.71 6.4.99 8.51z"}})])])]),e._v(" "),"idle"===e.magicMode?t("button",{staticClass:"button is-fullwidth mb-2",attrs:{"data-test":"login-magic-toggle"},on:{click:function(t){return t.preventDefault(),e.openMagic.apply(null,arguments)}}},[t("span",[e._v(" Email me a sign-in link ")])]):"form"===e.magicMode?t("div",{staticClass:"mb-2"},[t("div",{staticClass:"field"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("div",{staticClass:"control has-icons-left"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.magicEmail,expression:"magicEmail"}],staticClass:"input",attrs:{type:"email",placeholder:"e.g. [email protected]","data-test":"login-magic-input"},domProps:{value:e.magicEmail},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.sendLink.apply(null,arguments)},input:function(t){t.target.composing||(e.magicEmail=t.target.value)}}}),e._v(" "),t("span",{staticClass:"icon is-small is-left"},[t("font-awesome-icon",{attrs:{icon:["fa","envelope"]}})],1)])]),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth",attrs:{"data-test":"login-magic-send"},on:{click:function(t){return t.preventDefault(),e.sendLink.apply(null,arguments)}}},[e._v("\n        Send sign-in link\n      ")]),e._v(" "),t("a",{staticClass:"is-size-7",on:{click:function(t){t.preventDefault(),e.magicMode="idle"}}},[e._v(" - back ")])]):"sent"===e.magicMode?t("div",{staticClass:"mb-2 has-text-grey-dark"},[t("p",{staticClass:"is-size-7"},[e._v("\n        We've emailed a sign-in link to "),t("strong",[e._v(e._s(e.magicEmail))]),e._v(". Open it on this device to sign in.\n      ")]),e._v(" "),t("a",{staticClass:"is-size-7",on:{click:function(t){t.preventDefault(),e.magicMode="form"}}},[e._v("\n        Use a different email\n      ")])]):e._e(),e._v(" "),t("button",{staticClass:"button is-fullwidth mb-5",on:{click:function(t){t.preventDefault(),e.signUpEmail=!0}}},[t("span",[e._v(" Register with email ")])]),e._v(" "),t("div",{staticClass:"is-size-7 mb-1 has-text-grey-dark"},[e._v("\n      Already have an acount? Great to see you again! Please login below.\n    ")]),e._v(" "),t("button",{staticClass:"button is-fullwidth mb-2",attrs:{"data-test":"custom-login-button"},on:{click:function(t){t.preventDefault(),e.signInEmail=!0}}},[t("span",[e._v(" Login with email ")])])]),e._v(" "),e.signInEmail&&!e.isResetPassword?t("div",[t("div",{staticClass:"field"},[t("label",{staticClass:"label",attrs:{for:""}},[e._v("Email")]),e._v(" "),t("div",{staticClass:"control has-icons-left"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"input",attrs:{type:"email",placeholder:"e.g. [email protected]","data-test":"login-email",required:""},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e._v(" "),t("span",{staticClass:"icon is-small is-left"},[t("font-awesome-icon",{attrs:{icon:["fa","envelope"]}})],1)])]),e._v(" "),t("div",{staticClass:"field"},[t("label",{staticClass:"label",attrs:{for:""}},[e._v("Password")]),e._v(" "),t("div",{staticClass:"control has-icons-left"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"input",attrs:{type:"password",placeholder:"*******","data-test":"login-password",required:""},domProps:{value:e.password},on:{input:function(t){t.target.composing||(e.password=t.target.value)}}}),e._v(" "),t("span",{staticClass:"icon is-small is-left"},[t("font-awesome-icon",{attrs:{icon:["fa","lock"]}})],1)])]),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth",attrs:{"data-test":"login-btn"},on:{click:e.submit}},[e._v("\n      Login\n    ")]),e._v(" "),t("br"),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth",on:{click:function(t){e.isResetPassword=!0}}},[e._v("\n      Forgot Password?\n    ")]),e._v(" "),t("a",{on:{click:function(t){t.preventDefault(),e.signInEmail=!1}}}
1,[e._v(" - back ")])]):e._e(),e._v(" "),e.signUpEmail?t("div",[t("RegisterFrom",{attrs:{"redirect-url":e.redirectUrl}}),e._v(" "),t("a",{on:{click:function(t){t.preventDefault(),e.signUpEmail=!1}}},[e._v(" - back ")])],1):e._e(),e._v(" "),e.isResetPassword?t("div",[t("div",{staticClass:"field"},[t("label",{staticClass:"label",attrs:{for:""}},[e._v("Email")]),e._v(" "),t("div",{staticClass:"control has-icons-left"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"input",attrs:{type:"email",placeholder:"e.g. [email protected]",required:""},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e._v(" "),t("span",{staticClass:"icon is-small is-left"},[t("font-awesome-icon",{attrs:{icon:["fa","envelope"]}})],1)])]),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth",on:{click:e.resetPassword}},[e._v("\n      Reset now\n    ")]),e._v(" "),t("a",{on:{click:function(t){t.preventDefault(),e.isResetPassword=!1}}},[e._v(" - back ")])]):e._e(),e._v(" "),e._m(0)])},[function(){var e=this,t=e._self._c;return t("div",{staticClass:"by-clicking"},[e._v("\n    By clicking above you are accepting the Pedalsure terms of use and data\n    policy. Click here to see our\n    "),t("a",{attrs:{target:"_blank",href:"/documents/august_2024/Privacy Policy 08-24.pdf"}},[e._v("\n      privacy policy\n    ")])])}],!1,null,"4f1da759",null)),Vt=Ht.exports;function Wt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Kt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Zt="details",Xt="summary",Jt="account",er={name:"QuickQuoteModal",components:{RiskFactors:Ct,PriceInfo:St,PersonalCoverRiskFactors:At,RegisterStep:Ut,LoginForm:Vt},data:function(){return{isRiskFactors:!0,showLoginForm:!1,showRegister:!1,personalCover:!1,free:null,partner:null,prefill:null,isOpen:!1,source:"",pushedSteps:0,isPoppingHistory:!1,isNavigatingAway:!1}},computed:Kt(Kt({},Object(i.c)({quoteId:"quote/quoteId"})),{},{canGoBack:function(){return!this.isRiskFactors},currentStep:function(){return this.showLoginForm?"signin":this.showRegister?Jt:this.personalCover?"personal-cover":this.isRiskFactors?Zt:Xt}}),watch:{currentStep:function(e){this.isOpen&&this.enterStep(e)},$route:function(e,t){e.path!==t.path&&(this.isNavigatingAway=!0,this.$modal.hide("quick-quote"))}},mounted:function(){window.addEventListener("popstate",this.onPopState)},beforeDestroy:function(){window.removeEventListener("popstate",this.onPopState),Ie({restoreScroll:!1})},methods:Kt(Kt({},Object(i.b)("quote",["editRiskFactors","editFullRiskFactors","editPersonalCoverRiskFactors","createQuote","createPersonalCoverQuote"])),{},{continueToPriceInfo:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!(t.free>0)){r.next=2;break}return r.next=1,t.editFullRiskFactors(e);case 1:r.next=3;break;case 2:return r.next=3,t.editRiskFactors(e);case 3:return t.isRiskFactors=!1,r.next=4,t.createQuote();case 4:case"end":return r.stop()}},r)}))()},goBackToRickFactors:function(){this.isRiskFactors=!0,this.personalCover=!1},headerBack:function(){if(this.showLoginForm)this.showLoginForm=!1;else if(this.showRegister){var e=this.$refs.registerStep;if(e&&e.goBack())return;this.showRegister=!1}else this.personalCover?this.goBackToRickFactors():this.goBack()},goBack:function(){this.goBackToRickFactors()},enterStep:function(e){this.trackStep(e,Kt({navigation:this.isPoppingHistory?"back":"forward"},this.stepPayload(e))),this.isPoppingHistory||this.pushStepUrl(e)},stepPayload:function(e){var t=Number(this.$store.getters["quote/firstBikeValue"])||0,r=function(e){return Math.round(100*e)/100},n=r(Number(this.$store.getters["quote/price"].total)||0);return e===Zt?{bike_value:this.prefill&&this.prefill.bikeValue||t,age:this.prefill&&this.prefill.age||null}:e===Xt?{bike_value:t,annual_price:n,monthly_price:r(n/12)}:e===Jt?{bike_value:t,held_price:r(n/12)}:{bike_value:t}},trackStep:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.$gtm.push(Kt({event:"quote_modal_step",step:e,quote_source:this.source,bike_type:this.prefill&&this.prefill.bike||null},t))},pushStepUrl:function(e){if("undefined"!=typeof window&&window.history){var t=Kt(Kt({},this.$route.query),{},{step:e}),r=Object.keys(t).filter(function(e){return void 0!==t[e]&&null!==t[e]}).map(function(e){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t[e]))}).join("&");window.history.pushState({quickQuoteStep:e},"","".concat(this.$route.path,"?").concat(r)),this.pushedSteps+=1}},onPopState:function(){var e=this;this.isOpen&&(this.pushedSteps>0&&(this.pushedSteps-=1),this.isPoppingHistory=!0,this.canGoBack?this.headerBack():(this.isNavigatingAway=!0,this.$modal.hide("quick-quote")),this.$nextTick(function(){e.isPoppingHistory=!1}))},redirectUrl:function(){var e="/quote/".concat(this.quoteId,"/detail
1s?type=free&partner=").concat(this.partner),t="/quote/".concat(this.quoteId,"/make"),r="/quote/".concat(this.quoteId,"/personal-cover");return this.personalCover?r:this.free>0?e:t},continueToQuoteProcess:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.$store.getters["user/isAuthenticated"],n=e.$store.getters["user/userEmail"],!r||!n||"[email protected]"===n){t.next=2;break}return o=e.$store.getters["quote/quoteId"],t.next=1,e.$store.dispatch("quote/syncQuote");case 1:return e.goToQuoteSetup(o),t.abrupt("return");case 2:e.showRegister=!0;case 3:case"end":return t.stop()}},t)}))()},goToQuoteSetup:function(e){var t=e||this.$store.getters["quote/quoteId"];this.trackStep("authenticated",{quote_id:t}),this.isNavigatingAway=!0,this.$modal.hide("quick-quote"),this.$router.push("/quote-setup/".concat(t)),this.isRiskFactors=!0,this.showLoginForm=!1,this.showRegister=!1},continueToPersonalCoverQuoteProcess:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=1,t.editPersonalCoverRiskFactors(e);case 1:return r.next=2,t.createPersonalCoverQuote();case 2:t.$store.getters["user/isAuthenticated"]?(n="/quote/".concat(t.$store.getters["quote/quoteId"],"/personal-cover"),t.$router.push({path:n,query:Kt({},t.$route.query)})):t.showLoginForm=!0;case 3:case"end":return r.stop()}},r)}))()},continueToPersonalCover:function(){this.isRiskFactors=!1,this.personalCover=!0},closeQuickQuote:function(){this.$modal.hide("quick-quote")},beforeOpen:function(e){je(),this.free=e.params.free,this.partner=e.params.partner,this.prefill=this.buildPrefill(e.params),this.source=Object(k.r)(e.params.src)||this.resolveSource(),this.isNavigatingAway=!1,this.pushedSteps=0,this.isOpen=!0,this.$gtm.push({event:"quote_slider"}),this.enterStep(this.currentStep)},buildPrefill:function(e){var t=Kt({},e.prefill||{}),r=Object(k.o)(t.bike||e.bikeType);return r&&(t.bike=r,void 0===t.isEbike&&(t.isEbike="electric"===r||null)),Object.keys(t).length?t:null},resolveSource:function(){var e=Object(k.r)(this.$route.query.src);if(e)return e;if("undefined"==typeof document||!document.referrer)return"";try{var t=new URL(document.referrer);return t.hostname===window.location.hostname?"ref:".concat(t.pathname):t.hostname}catch(e){return""}},beforeClose:function(e){this.isOpen=!1,Ie(),this.showLoginForm=!1,this.showRegister=!1,this.personalCover=!1,this.isRiskFactors=!0,this.prefill=null;var t=this.pushedSteps;this.pushedSteps=0,!this.isNavigatingAway&&t>0&&"undefined"!=typeof window&&window.history.go(-t),this.isNavigatingAway=!1}})},tr=er,rr=Object(se.a)(tr,function(){var e=this,t=e._self._c;return t("modal",{ref:"modal",staticClass:"slide-modal slide-modal--header",attrs:{width:"100%",height:"100%",name:"quick-quote","overlay-transition":"slide-modal-overlay"},on:{"before-open":e.beforeOpen,"before-close":e.beforeClose}},[t("div",{staticClass:"slide-modal-header"},[e.canGoBack?t("button",{staticClass:"slide-modal-back",attrs:{type:"button","data-test":"quick-quote-back"},on:{click:e.headerBack}},[t("span",{staticClass:"slide-modal-arrow",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M20 12H4m0 0l6-6m-6 6l6 6",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e._v("\n      Back\n    ")]):t("span"),e._v(" "),t("button",{staticClass:"slide-modal-close",attrs:{type:"button","data-test":"quick-quote-close"},on:{click:e.closeQuickQuote}},[e._v("\n      Close\n      "),t("span",{staticClass:"slide-modal-cross",attrs:{"aria-hidden":"true"}},[t("svg",{attrs:{viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M6 6l12 12M18 6L6 18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"}})])])])]),e._v(" "),t("div",{staticClass:"slide-modal-scroll"},[t("div",{staticClass:"slide-modal-container"},[t("keep-alive",[e.isRiskFactors&&!e.showLoginForm?t("RiskFactors",{attrs:{free:e.free,prefill:e.prefill},on:{continue:e.continueToPriceInfo,personalCover:e.continueToPersonalCover}}
1):e._e()],1),e._v(" "),t("keep-alive",[e.isRiskFactors||e.showLoginForm||!e.personalCover?e._e():t("PersonalCoverRiskFactors",{on:{continue:e.continueToPersonalCoverQuoteProcess}})],1),e._v(" "),e.isRiskFactors||e.showLoginForm||e.personalCover||e.showRegister?e._e():t("PriceInfo",{attrs:{free:e.free},on:{continue:e.continueToQuoteProcess}}),e._v(" "),e.showRegister?t("RegisterStep",{ref:"registerStep",on:{registered:e.goToQuoteSetup}}):e._e(),e._v(" "),e.showLoginForm?t("LoginForm",{attrs:{"redirect-url":e.redirectUrl(),free:e.free}}):e._e()],1)])])},[],!1,null,null,null).exports,nr={name:"CongratsModal",components:{CongratsMessage:Fe},data:function(){return{buttonText:"",url:"",message:"",description:"",icon:[]}},computed:{},mounted:function(){},methods:{beforeOpen:function(e){if(e.params){var t=e.params,r=t.buttonText,n=t.url,o=t.message,a=t.description,i=t.icon;this.buttonText=r,this.url=n,this.message=o,this.description=a,this.icon=i}},beforeClose:function(e){this.$router.push(this.url)},continueToUrl:function(){this.$router.push(this.url),this.$modal.hide("congrats-modal")},closeCongratsModal:function(){this.$modal.hide("congrats-modal")}}},or=(r(606),Object(se.a)(nr,function(){var e=this,t=e._self._c;return t("modal",{ref:"modal",staticClass:"congrats-modal",attrs:{width:300,height:400,"click-to-close":!1,name:"congrats-modal"},on:{"before-open":e.beforeOpen,"before-close":e.beforeClose}},[t("div",{staticClass:"close-icon-container",on:{click:e.closeCongratsModal}},[t("span",{staticClass:"icon"},[t("img",{staticClass:"icon alt",attrs:{src:r(130),alt:"close icon"}})])]),e._v(" "),t("div",[t("CongratsMessage",{attrs:{message:e.message,description:e.description,icon:e.icon}}),e._v(" "),e.buttonText&&e.url?t("div",{staticClass:"has-text-centered"},[t("button",{staticClass:"button is-outlined",on:{click:e.continueToUrl}},[t("span",[e._v("\n          "+e._s(e.buttonText)+"\n        ")])])]):e._e()],1)])},[],!1,null,null,null).exports);function ar(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ir(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ar(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var sr={components:{MainNavigation:lt,BikeAddModal:Me,EditBikeModal:Ue,QuickQuoteModal:rr,CongratsModal:or,Footer:Ve},data:function(){return{}},head:function(){return ir(ir({},Object(We.b)(this.$route.path)),{},{style:[{cssText:this.$store.getters["theme/theme"],type:"text/css"}]})},computed:{},mounted:function(){this.$store.dispatch("quote/setMtaFlag",!1)}},cr=Object(se.a)(sr,function(){var e=this,t=e._self._c;return t("div",[t("MainNavigation"),e._v(" "),t("nuxt"),e._v(" "),t("BikeAddModal"),e._v(" "),t("EditBikeModal"),e._v(" "),t("QuickQuoteModal"),e._v(" "),t("CongratsModal"),e._v(" "),t("Footer")],1)},[],!1,null,null,null).exports;function ur(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function lr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ur(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var dr={head:function(){return lr(lr({},Object(We.b)(this.$route.path)),{},{style:[{cssText:this.$store.getters["theme/theme"],type:"text/css"}]})}},pr=Object(se.a)(dr,function(){var e=this._self._c;return e("div",[e("nuxt")],1)},[],!1,null,null,null).exports;function fr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function mr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?fr(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var hr={components:{MainNavigation:lt,QuickQuoteModal:rr,CongratsModal:or,Footer:Ve},head:function(){return mr(mr({},Object(We.b)(this.$route.path)),{},{style:[{cssText:this.$store.getters["theme/theme"],type:"text/css"}]})},computed:{isInPurchaseFunnel:function(){return Object(et.f)(this.$route.path)}},mounted:function(){this.$store.dispatch("quote/setMtaFlag",!1)}},vr=(r(608),Object(se.a)(hr,function(){var e=this,t=e._self._c;return t("div",[t("MainNavigation"),e._v(" "),t("nuxt"),e._v(" "),t("QuickQuoteModal"),e._v(" "),t("CongratsModal"),e._v(" "),e.isInPurchaseFunnel?e._e():t("Footer")],1)},[],!1,null,"055a3a31",null).exports);function br(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function gr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?br(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):br(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var yr={name:"MtaPaymentModal",components:{CongratsMessage:Fe,AnnualForm:r(278).a},data:function(){return{type:"",description:"A new certificate will be emailed to you to reflect your policy changes.",icon:["far","check-circle"]}},computed:gr(gr({},Object(i.c)({mtaPaymentCardlessError:"mtaQuote/mtaPaymentCardlessError"})),{},{paymentSuccess:function(){return this.$store.getters["mtaQuote/mtaPaymentAnnuallyStatus"]||this.$store.getters["mtaQuote/mtaPaymentMonthlyStatus"]||this.$store.getters["mtaQuote/mtaPaymentCardlessStatus"]||this.$store.getters["mtaQuote/mtaPaymentRetryStatus"]},paymentError:function(){return this.$store.getters["mtaQuote/mtaPaymentAnnuallyError"]||this.$store.getters["mtaQuote/mtaPaymentMonthlyError"]||this.$store.getters["mtaQuote/mtaPaymentRetryError"]||this.$store.getters["mtaQuote/mtaPaymentCardlessError"]},isNegativePrice:function(){return this.$store.getters["mtaQuote/balance"].toBePaidReturnBalance<0},mtaQuoteError:function(){return this.$store.getters["mtaQuote/mtaQuoteError"]},message:function(){return"".concat(et.b[this.type]," updated!")},showAnnualStripeForm:function(){return this.paymentError&&!this.paymentSuccess&&!this.mtaPaymentCardlessError}}),mounted:function(){},methods:gr(gr({},Object(i.b)("mtaQuote",{payMtaQuoteAnnually:"payMtaQuoteAnnually",payMtaQuoteMonthly:"payMtaQuoteMonthly",payMtaQuoteCardless:"payMtaQuoteCardless",resetMtaQuote:"resetMtaQuote",retryMtaPayment:"retryMtaPayment"})),{},{beforeOpen:function(e){this.type=e.params.type},beforeClose:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,t.$router.replace("/dashboard/policy/".concat(t.$route.params.quoteid));case 1:t.resetMtaQuote();case 2:case"end":return e.stop()}},e)}))()},closeMtaPaymentModal:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e.$router.replace("/dashboard/policy/".concat(e.$route.params.quoteid));case 1:e.resetMtaQuote();case 2:case"end":return t.stop()}},t)}))()},makePayment:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(1!==e.$store.getters["mtaQuote/mtaQuote"].payment_method){t.next=1;break}return t.next=1,e.payMtaQuoteAnnually(e.$store.getters["mtaQuote/mtaQuote"]);case 1:if(2!==e.$store.getters["mtaQuote/mtaQuote"].payment_method){t.next=2;break}return t.next=2,e.payMtaQuoteMonthly(e.$store.getters["mtaQuote/mtaQuote"]);case 2:if(12!==e.$store.getters["mtaQuote/mtaQuote"].payment_method){t.next=3;break}return t.next=3,e.makeCardlessPayment();case 3:case"end":return t.stop()}},t)}))()},makeCardlessPayment:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e.payMtaQuoteCardless({quote:e.$store.getters["mtaQuote/mtaQuote"]});case 1:case"end":return t.stop()}},t)}))()}
1,makePaymentWithCardDetails:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=1,t.retryMtaPayment({quote:t.$store.getters["mtaQuote/mtaQuote"],card:e.cardDetails});case 1:case"end":return r.stop()}},r)}))()},continueToDashboard:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e.$router.replace("/dashboard/policy/".concat(e.$route.params.quoteid));case 1:e.resetMtaQuote();case 2:case"end":return t.stop()}},t)}))()}})};r(619),r(621);function _r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var xr={components:{MtaPaymentModal:Object(se.a)(yr,function(){var e=this,t=e._self._c;return t("modal",{ref:"modal",staticClass:"mta-payment-modal",attrs:{width:600,scrollable:!0,"click-to-close":!1,height:"auto",name:"mta-payment-modal"},on:{"before-open":e.beforeOpen,"before-close":e.beforeClose}},[t("div",{staticClass:"close-icon-container",on:{click:e.closeMtaPaymentModal}},[t("span",{staticClass:"icon"},[t("img",{staticClass:"icon alt",attrs:{src:r(130),alt:"close icon"}})])]),e._v(" "),e.paymentError||e.mtaQuoteError||null!==e.paymentSuccess?e._e():t("div",[t("h2",{staticClass:"hp-block-title"},[e._v("Premium Change")]),e._v(" "),t("div",{staticClass:"price-table"},[t("div",{staticClass:"row"},[t("div",{},[e._v("Current policy premium:")]),e._v(" "),t("div",{staticClass:"mta-price"},[e._v("\n          "+e._s(e._f("toCurrency")(e.$store.getters["mtaQuote/balance"].currentPolicyPremium))+"\n        ")])]),e._v(" "),t("div",{staticClass:"row"},[t("div",{},[e._v("New policy premium:")]),e._v(" "),t("div",{staticClass:"mta-price"},[e._v("\n          "+e._s(e._f("toCurrency")(e.$store.getters["mtaQuote/balance"].newPolicyPremium))+"\n        ")])]),e._v(" "),t("div",{staticClass:"row"},[t("div",{},[e._v("Additional gross premium:")]),e._v(" "),t("div",{staticClass:"mta-price"},[e._v("\n          "+e._s(e._f("toCurrency")(e.$store.getters["mtaQuote/balance"].newGross))+"\n        ")])]),e._v(" "),t("div",{staticClass:"row"},[t("div",{},[e._v("IPT:")]),e._v(" "),t("div",{staticClass:"mta-price"},[e._v("\n          "+e._s(e._f("toCurrency")(e.$store.getters["mtaQuote/balance"].ipt))+"\n        ")])]),e._v(" "),e.isNegativePrice?t("div",{staticClass:"row"},[t("div",{},[e._v("Return balance:")]),e._v(" "),t("div",{staticClass:"mta-price"},[e._v("\n          "+e._s(e._f("toCurrency")(e.$store.getters["mtaQuote/balance"].toBePaidReturnBalance))+"\n        ")])]):t("div",{staticClass:"row"},[t("div",{},[e._v("Additional payment:")]),e._v(" "),t("div",{staticClass:"mta-price"},[e._v("\n          "+e._s(e._f("toCurrency")(e.$store.getters["mtaQuote/balance"].toBePaidReturnBalance))+"\n        ")])])])]),e._v(" "),e.showAnnualStripeForm?t("div",[t("AnnualForm",{attrs:{"mta-retry":!0}})],1):e._e(),e._v(" "),e.paymentSuccess?t("div",[t("CongratsMessage",{attrs:{message:e.message,description:e.description,icon:e.icon}})],1):e._e(),e._v(" "),e.mtaPaymentCardlessError?t("div",[e._v("\n    "+e._s(e.mtaPaymentCardlessError)+"\n  ")]):e._e(),e._v(" "),e.mtaQuoteError?t("div",[t("span",{staticClass:"mta-payment-error"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}}),e._v(" "),t("span",[e._v(e._s(e.mtaQuoteError))])],1)]):e._e(),e._v(" "),e.paymentError||e.mtaQuoteError||null!==e.paymentSuccess?e._e():t("button",{staticClass:"button ps-button is-fullwidth",class:{"is-loading":e.$nuxt.$loading.get()},on:{click:e.makePayment}},[e.$store.getters["mtaQuote/balance"].newGross>0?t("span",[e._v("\n      Make payment\n    ")]):t("span",[e._v(" Continue ")])]),e._v(" "),e.paymentSuccess||e.mtaQuoteError||e.mtaPaymentCardlessError?t("button",{staticClass:"button ps-button is-fullwidth",class:{"is-loading":e.$nuxt.$loading.get()},on:{click:e.continueToDashboard}}
1,[e._v("\n    Continue to dashboard\n  ")]):e._e()])},[],!1,null,"e17d6b4e",null).exports,CongratsModal:or},middleware:["load-public-quote"],head:function(){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_r(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_r(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({bodyAttrs:{class:"has-navbar-fixed-bottom"},style:[{cssText:this.$store.getters["theme/theme"],type:"text/css"}]},Object(We.b)(this.$route.path))},mounted:function(){this.$store.dispatch("quote/setMtaFlag",!0)}},wr=xr,kr=(r(623),Object(se.a)(wr,function(){var e=this,t=e._self._c;return t("div",[t("nuxt-link",{staticClass:"logo navbar-item",attrs:{to:"/"}},[e._v(" Pedalsure. ")]),e._v(" "),t("nuxt"),e._v(" "),t("CongratsModal"),e._v(" "),t("MtaPaymentModal")],1)},[],!1,null,"5eb3c545",null).exports),Or={name:"Price"},Er=(r(625),{name:"PriceBar",components:{Price:Object(se.a)(Or,function(){var e=this,t=e._self._c;return"free"!==e.$route.query.type?t("div",{staticClass:"quote-price-container"},[t("div",{staticClass:"price-container"},[t("div",{staticClass:"price-focused"},["quote-quoteid-annual"!==e.$route.name?t("div",[e._v("\n        "+e._s(e._f("toCurrency")(e.$store.getters["quote/price"].total/12))+"\n        "),t("span",[e._v("monthly ")])]):t("div",[e._v("\n        "+e._s(e._f("toCurrency")(e.$store.getters["quote/price"].total))+"\n        "),t("span",[e._v("annually")])])]),e._v(" "),"quote-quoteid-annual"!==e.$route.name?t("div",{staticClass:"small-price"},[e._v("\n      Annually\n      "+e._s(e._f("toCurrency")(e.$store.getters["quote/price"].total))+"\n    ")]):e._e(),e._v(" "),t("div",{staticClass:"small-price"},[e.$store.getters["quote/addedHiplok"].dx.count?t("span",[e._v("\n        Hiplok DX\n        "+e._s(e.$store.getters["quote/addedHiplok"].dx.count)+" x £30\n      ")]):e._e(),e._v(" "),e.$store.getters["quote/addedHiplok"].gold.count?t("span",[e._v("\n        Hiplok Gold\n        "+e._s(e.$store.getters["quote/addedHiplok"].gold.count)+" x £40\n      ")]):e._e(),e._v(" "),e.$store.getters["quote/addedHiplok"].edx.count?t("span",[e._v("\n        Hiplok E-DX\n        "+e._s(e.$store.getters["quote/addedHiplok"].edx.count)+" x £50\n      ")]):e._e()])])]):e._e()},[],!1,null,"f44ca972",null).exports}}),Cr=(r(627),Object(se.a)(Er,function(){var e=this,t=e._self._c;return t("div",{staticClass:"pricebar"},[t("nuxt-link",{staticClass:"logo",attrs:{to:"/"}},[e._v(" Pedalsure. ")]),e._v(" "),t("Price")],1)},[],!1,null,"90815ba8",null).exports),Tr={name:"EmailModal",components:{CongratsMessage:Fe},data:function(){return{message:"Email me my quote",description:"",icon:["far","check-circle"],email:""}},computed:{},mounted:function(){},methods:{beforeOpen:function(e){if(e.params){var t=e.params,r=t.message,n=t.description,o=t.icon,a=t.email;this.message=r,this.description=n,this.icon=o,this.email=a}},beforeClose:function(e){},closeEmailModal:function(){this.$modal.hide("email-modal")},sendQuoteEmail:function(){},continueToQuote:function(){this.$modal.hide("email-modal")}}};r(629);function Sr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Pr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sr(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Rr={components:{PriceBar:Cr,BikeAddModal:Me,EditBikeModal:Ue,EmailModal:Object(se.a)(Tr,function(){var e=this,t=e._self._c;return t("modal",{ref:"modal",staticClass:"email-modal",attrs:{width:300,height:400,"click-to-close":!1,name:"email-modal"},on:{"before-open":e.beforeOpen,"before-close":e.beforeClose}},[t("div",{staticClass:"close-icon-container",on:{click:e.closeEmailModal}},[t("span",{staticClass:"icon"},[t("font-awesome-icon",{staticClass:"fa-2x",attrs:{icon:["far","times-circle"]}})],1)]),e._v(" "),t("CongratsMessage",{attrs:{message:e.message,description:e.description,icon:e.icon}}),e._v(" "),e.email&&"[email protected]"!==e.email?t("div",{staticClass:"form-group control has-icons-right"},[t("ValidationProvider",{ref:"emailObserver",attrs:{mode:"lazy",rules:"required|email"},scopedSlots:e._u([{key:"default",fn:function(r){var n=r.errors;return[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}
1],staticClass:"input",class:{"is-danger":n[0]},attrs:{id:"email",type:"text",required:""},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"email"}},[e._v(" Email ")]),e._v(" "),n[0]?t("span",{staticClass:"icon is-danger is-small is-right"},[t("font-awesome-icon",{attrs:{icon:["fa","exclamation-circle"]}})],1):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":n[0]}},[e._v(e._s(n[0]))])]}}],null,!1,1162082184)})],1):e._e(),e._v(" "),e.email&&"[email protected]"!==e.email?t("div",{staticClass:"has-text-centered"},[t("button",{staticClass:"button is-outlined",on:{click:e.sendQuoteEmail}},[t("span",[e._v(" Email quote ")])])]):e._e(),e._v(" "),e.email?e._e():t("div",{staticClass:"has-text-centered"},[t("button",{staticClass:"button is-outlined",on:{click:e.continueToQuote}},[t("span",[e._v(" Return to my quote ")])])])],1)},[],!1,null,null,null).exports},middleware:["load-public-quote"],data:function(){return{}},head:function(){return Pr(Pr({},Object(We.b)(this.$route.path)),{},{style:[{cssText:this.$store.getters["theme/theme"],type:"text/css"}]})},computed:Pr({},Object(i.c)({sendQuoteEmailSuccess:"quote/sendQuoteEmailSuccess"})),mounted:function(){this.$store.dispatch("quote/setMtaFlag",!1)},methods:Pr(Pr({},Object(i.b)("quote",{sendQuoteEmail:"sendQuoteEmail",syncPublicQuote:"syncPublicQuote"})),{},{sendEmail:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e.sendQuoteEmail(e.$route.params.quoteid);case 1:e.sendQuoteEmailSuccess&&e.$modal.show("email-modal",{message:"Email sent!",description:"We’ve sent your quotation to your email."});case 2:case"end":return t.stop()}},t)}))()},continueToDetails:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e.syncPublicQuote();case 1:e.$router.push({path:"/quote/".concat(e.$route.params.quoteid,"/details"),query:Pr({},e.$route.query)});case 2:case"end":return t.stop()}},t)}))()}})},Ar=(r(631),Object(se.a)(Rr,function(){var e=this,t=e._self._c;return t("div",[t("PriceBar"),e._v(" "),t("nuxt"),e._v(" "),t("nav",{staticClass:"navbar"},[t("div",{staticClass:"is-flex quote-summary-container"},["[email protected]"!==e.$store.getters["user/userEmail"]?t("button",{staticClass:"button is-outlined is-fullwidth mr-2",on:{click:e.sendEmail}},[t("span",[e._v(" Email quote ")])]):e._e(),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth",class:{"is-loading":e.$store.getters["quote/isPriceLoading"]||e.$store.getters["quote/isQuoteLoading"]},attrs:{"data-test":"summary-buy-now"},on:{click:e.continueToDetails}},[t("span",[e._v(" Buy now ")])])])]),e._v(" "),t("BikeAddModal"),e._v(" "),t("EditBikeModal"),e._v(" "),t("EmailModal")],1)},[],!1,null,"7e479bdc",null).exports);function jr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var Ir={components:{PriceBar:Cr,BikeAddModal:Me,EditBikeModal:Ue,CongratsModal:or},head:function(){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jr(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({bodyAttrs:{class:"quote-process-layout"},style:[{cssText:this.$store.getters["theme/theme"],type:"text/css"}]},Object(We.b)(this.$route.path))},mounted:function(){this.$store.dispatch("quote/setMtaFlag",!1)}},Lr=Ir,Mr=(r(633),Object(se.a)(Lr,function(){var e=this,t=e._self._c;return t("div",[t("PriceBar"),e._v(" "),t("nuxt"),e._v(" "),t("BikeAddModal"),e._v(" "),t("EditBikeModal"),e._v(" "),t("CongratsModal")],1)}
1,[],!1,null,null,null).exports),Dr=r(98),qr=(r(452),r(273));function Nr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function $r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Nr(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Ur="https://philiplochner.ghost.io",Br={components:{MainNavigation:lt,BikeAddModal:Me,EditBikeModal:Ue,QuickQuoteModal:rr,CongratsModal:or,Footer:Ve},middleware:function(e){return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.store,e.redirect,n=e.route,t.next=1,r.dispatch("blog/loadPage",n.name);case 1:case"end":return t.stop()}},t)}))()},data:function(){return{}},head:function(){var e=Object(We.b)(this.$route.path),t=this.$route.path,r=this.page.og_title||this.page.meta_title||this.page.title,n=this.page.og_description||this.page.twitter_description||this.page.meta_description,o=this.page.og_image?"".concat(Ur).concat(this.page.og_image):this.page.twitter_image?"".concat(Ur).concat(this.page.twitter_image):this.page.feature_image;return{title:this.page.title,link:e.link,meta:[].concat(Object(Dr.a)(e.meta),[{hid:"description",name:"description",content:this.page.meta_description},{hid:"title",name:"title",content:this.page.title},{hid:"keywords",name:"keywords",content:this.codeInjectedMeta()}],Object(Dr.a)(Object(qr.a)({title:r,description:n,path:t,image:o,type:"article"}).meta))}},computed:$r({},Object(i.c)({page:"blog/page"})),beforeMount:function(){var e=this;setTimeout(function(){document.getElementById("get-quote-static-button")&&document.getElementById("get-quote-static-button").addEventListener("click",e.openQuickQuteModal)},3e3)},mounted:function(){this.$store.dispatch("quote/setMtaFlag",!1)},methods:$r($r({},Object(i.b)("quote",{resetQuote:"resetQuote"})),{},{openQuickQuteModal:function(){this.resetQuote(),this.$modal.show("quick-quote",{free:0})},codeInjectedMeta:function(){for(var e,t=/<meta name="keywords" content="(.*?)">/gm,r=[];null!==(e=t.exec(this.page.codeinjection_head));)e.index===t.lastIndex&&t.lastIndex++,r.push(e[1]);return r.join()}})},Qr=(r(635),r(637),Object(se.a)(Br,function(){var e=this,t=e._self._c;return t("div",[t("MainNavigation"),e._v(" "),t("nuxt"),e._v(" "),t("BikeAddModal"),e._v(" "),t("EditBikeModal"),e._v(" "),t("QuickQuoteModal"),e._v(" "),t("CongratsModal"),e._v(" "),t("Footer")],1)},[],!1,null,"3de231cd",null).exports);function Yr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Fr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function Fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var zr={_dashboard:Object(m.s)(Je),_default:Object(m.s)(cr),_empty:Object(m.s)(pr),_free:Object(m.s)(vr),"_quote-mta":Object(m.s)(kr),"_quote-summary":Object(m.s)(Ar),_quote:Object(m.s)(Mr),"_static-page":Object(m.s)(Qr)}
1,Gr={render:function(e,t){var r=e("NuxtLoading",{ref:"loading"}),n=e(this.layout||"nuxt"),o=e("div",{domProps:{id:"__layout"},key:this.layoutName},[n]),a=e("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter:function(e){window.$nuxt.$nextTick(function(){window.$nuxt.$emit("triggerScroll")})}}},[o]);return e("div",{domProps:{id:"__nuxt"}},[r,a])},data:function(){return{isOnline:!0,layout:null,layoutName:"",nbFetching:0}},beforeCreate:function(){a.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){this.$root.$options.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.$loading=e.$refs.loading;case 1:case"end":return t.stop()}},t)}))()},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline},isFetching:function(){return this.nbFetching>0}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r,o,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((r=Object(m.h)(e.$route)).length){t.next=1;break}return t.abrupt("return");case 1:return e.$loading.start(),o=r.map(function(){var t=Object(n.a)(regeneratorRuntime.mark(function t(r){var n,o,i,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],r.$options.fetch&&r.$options.fetch.length&&n.push(Object(m.q)(r.$options.fetch,e.context)),r.$options.asyncData&&n.push(Object(m.q)(r.$options.asyncData,e.context).then(function(e){for(var t in e)a.default.set(r.$data,t,e[t])})),t.next=1,Promise.all(n);case 1:n=[],r.$fetch&&n.push(r.$fetch()),o=Yr(Object(m.e)(r.$vnode.componentInstance));try{for(o.s();!(i=o.n()).done;)s=i.value,n.push(s.$fetch())}catch(e){o.e(e)}finally{o.f()}return t.abrupt("return",Promise.all(n));case 2:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()),t.prev=2,t.next=3,Promise.all(o);case 3:t.next=5;break;case 4:t.prev=4,i=t.catch(2),e.$loading.fail(i),Object(m.k)(i),e.error(i);case 5:e.$loading.finish();case 6:case"end":return t.stop()}},t,null,[[2,4]])}))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var e=(ce.options||ce).layout;"function"==typeof e&&(e=e(this.context)),this.nuxt.errPageReady=!0,this.setLayout(e)}},setLayout:function(e){if(e&&"string"!=typeof e)throw new Error("[nuxt] Avoid using non-string value as layout property.");return e&&zr["_"+e]||(e="default"),this.layoutName=e,this.layout=zr["_"+e],this.layout},loadLayout:function(e){return e&&zr["_"+e]||(e="default"),Promise.resolve(zr["_"+e])}},components:{NuxtLoading:pe}};a.default.use(i.a);var Hr=["state","getters","actions","mutations"],Vr={};(Vr=function(e,t){if((e=e.default||e).commit)throw new Error("[nuxt] ".concat(t," should export a method that returns a Vuex instance."));return"function"!=typeof e&&(e=Object.assign({},e)),Kr(e,t)}(r(639),"store/index.js")).modules=Vr.modules||{},Zr(r(640),"blog.js"),Zr(r(641),"claim.js"),Zr(r(642),"free.js"),Zr(r(643),"mtaQuote.js"),Zr(r(644),"paymentGoCardless.js"),Zr(r(645),"paymentMethods.js"),Zr(r(646),"paymentStripe.js"),Zr(r(647),"policy.js"),Zr(r(648),"promotion.js"),Zr(r(649),"quote.js"),Zr(r(651),"theme.js"),Zr(r(652),"trustpilot.js"),Zr(r(653),"user.js");var Wr=Vr instanceof Function?Vr:function(){return new i.a.Store(Object.assign({strict:!1},Vr))};function Kr(e,t){if(e.state&&"function"!=typeof e.state){var r=Object.assign({},e.state);e=Object.assign({},e,{state:function(){return r}})}return e}function Zr(e,t){e=e.default||e;var r=t.replace(/\.(js|mjs)$/,"").split("/"),n=r[r.length-1];"store/".concat(t);if(e="state"===n?function(e){if("function"!=typeof e){var t=Object.assign({},e);return function(){return t}}return Kr(e)}(e):Kr(e),Hr.includes(n)){var o=n;Jr(Xr(Vr,r,{isProperty:!0}),e,o)}else{"index"===n&&(r.pop(),n=r[r.length-1]);for(var a=Xr(Vr,r),i=0,s=Hr;i<s.length;i++){var c=s[i];Jr(a,e[c],c)}!1===e.namespaced&&delete a.namespaced}}function Xr(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).isProperty,n=void 0!==r&&r;if(!t.length||n&&1===t.length)return e;var o=t.shift();return e.modules[o]=e.modules[o]||{},e.modules[o].namespaced=!0,e.modules[o].modules=e.modules[o].modules||{},Xr(e.modules[o],t,{isProperty:n})}function Jr(e,t,r){t&&("state"===r?e.state=t||e.state:e[r]=Object.assign({},e[r],t))}r(420);var en=r(421),tn=r.n(en),rn=r(86),nn=r(269),on=r(745),an=r(746),sn=r(747),cn=r(748),un=r(749);function ln(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function dn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?ln(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ln(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var pn=function(e,t){var r={dsn:"https://[email protected]/1871786",environment:"production",maxBreadcrumbs:50,debug:!1},n="sentry";e.$config&&n&&e.$config[n]&&tn()(r,e.$config[n].config,e.$config[n].clientConfig),r.integrations=[new on.a,new an.a,new sn.a,new cn.a,new un.a(dn({Vue:a.default},{attachProps:!0,logErrors:!1}))],rn.e(r),t("sentry",nn),e.$sentry=nn},fn=r(49),mn=(r(171),r(438)),hn=r(439),vn=function(e,t){var r={modal:!1,consent:!1,enabled:[],enabledList:[],optional:[]};Object.assign(r,{css:!0,cssPolyfill:!0,controlButton:!0,acceptNecessary:!1,barPosition:"bottom-full",iframe:"/usr/src/nuxt-app/node_modules/nuxt-cookie-control/components/CookieIframe.vue",component:"/usr/src/nuxt-app/node_modules/nuxt-cookie-control/components/CookieControl.vue",colors:{barTextColor:"#000",modalOverlay:"#000",barBackground:"#3d50cc",barButtonColor:"#000",modalTextColor:"#000",modalBackground:"#fff",modalOverlayOpacity:.8,modalButtonColor:"#fff",modalUnsavedColor:"#fff",barButtonHoverColor:"#fff",barButtonBackground:"#fff",modalButtonHoverColor:"#fff",modalButtonBackground:"#3d50cc",controlButtonIconColor:"#3d50cc",controlButtonBackground:"#fff",barButtonHoverBackground:"#3d50cc",checkboxActiveBackground:"#3d50cc",checkboxInactiveBackground:"#ccc",modalButtonHoverBackground:"#333",checkboxDisabledBackground:"#ddd",controlButtonIconHoverColor:"#fff",controlButtonHoverBackground:"#000",checkboxActiveCircleBackground:"#fff",checkboxInactiveCircleBackground:"#fff",checkboxDisabledCircleBackground:"#fff"},globalName:"nuxt"}),!1!=={barTextColor:"#000",modalOverlay:"#000",barBackground:"#3d50cc",barButtonColor:"#000",modalTextColor:"#000",modalBackground:"#fff",modalOverlayOpacity:.8,modalButtonColor:"#fff",modalUnsavedColor:"#fff",barButtonHoverColor:"#fff",barButtonBackground:"#fff",modalButtonHoverColor:"#fff",modalButtonBackground:"#3d50cc",controlButtonIconColor:"#3d50cc",controlButtonBackground:"#fff",barButtonHoverBackground:"#3d50cc",checkboxActiveBackground:"#3d50cc",checkboxInactiveBackground:"#ccc",modalButtonHoverBackground:"#333",checkboxDisabledBackground:"#ddd",controlButtonIconHoverColor:"#fff",controlButtonHoverBackground:"#000",checkboxActiveCircleBackground:"#fff",checkboxInactiveCircleBackground:"#fff",checkboxDisabledCircleBackground:"#fff"}&&(r.colors={barTextColor:"#fff",modalOverlay:"#000",barBackground:"#000",barButtonColor:"#000",modalTextColor:"#000",modalBackground:"#fff",modalOverlayOpacity:.8,modalButtonColor:"#fff",modalUnsavedColor:"#fff",barButtonHoverColor:"#fff",barButtonBackground:"#fff",modalButtonHoverColor:"#fff",controlButtonIconColor:"#000",modalButtonBackground:"#000",controlButtonBackground:"#fff",barButtonHoverBackground:"#333",checkboxActiveBackground:"#000",controlButtonIconHoverColor:"#fff",checkboxInactiveBackground:"#000",modalButtonHoverBackground:"#333",checkboxDisabledBackground:"#ddd",controlButtonHoverBackground:"#000",checkboxActiveCircleBackground:"#fff",checkboxInactiveCircleBackground:"#fff",checkboxDisabledCircleBackground:"#fff"},Object.assign(r.colors,{barTextColor:"#000",modalOverlay:"#000",barBackground:"#3d50cc",barButtonColor:"#000",modalTextColor:"#000",modalBackground:"#fff",modalOverlayOpacity:.8,modalButtonColor:"#fff",modalUnsavedColor:"#fff",barButtonHoverColor:"#fff",barButtonBackground:"#fff",modalButtonHoverColor:"#fff",modalButtonBackground:"#3d50cc",controlButtonIconColor:"#3d50cc",controlButtonBackground:"#fff",barButtonHoverBackground:"#3d50cc",checkboxActiveBackground:"#3d50cc",checkboxInactiveBackground:"#ccc",modalButtonHoverBackground:"#333",checkboxDisabledBackground:"#ddd",controlButtonIconHoverColor:"#fff",controlButtonHoverBackground:"#000",checkboxActiveCircleBackground:"#fff",checkboxInactiveCircleBackground:"#fff",checkboxDisabledCircleBackground:"#fff"}));var n={get:function(e){for(var t=decodeURIComponent(document.cookie).split(";"),r="".concat(e,"="),n=0;n<t.length;n++){for(var o=t[n];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(r))return o.substring(r.length,o.length)}return""},set:function(e){var t=e.name,n=e.value,o=void 0===n?"":n,a=e.expires,i=void 0===a?"":a,s=e.path,c=void 0===s?"/":s,u=e.domain,l=u||(r.domain?".".concat(r.domain):u);document.cookie="".concat(t,"=").concat(o,";expires=").concat(i,";path=").concat(c).concat(void 0!==l?";domain=".concat(l):";")},isEnabled:function(e){return r.enabledList.includes(e)||r.enabledList.includes(r.slugify(e))},setBlockedIframes:function(t){var n=Object(fn.a)(t).toLowerCase(),o="string"!==n?JSON.stringify(t):t;return o=(o=o.replace(/&lt;/g,"<")).replace(/&gt;/g,">"),0===e.app.$cookies.enabled.filter(function(e){return"functional"===e.name}).length&&(o=(o=o.replace(/<iframe/g,"<div class='cookieControl__BlockedIframe '")).replace(/<\/iframe/g,"<p>".concat(void 0!==e.app.$cookies.text.blockedIframe?e.app.$cookies.text.blockedIframe:""," <a href='#' onclick='event.preventDefault(); $").concat(r.globalName,".$cookies.modal = true'>").concat(void 0!==e.app.$cookies.text.here?e.app.$cookies.text.here:"","</a></p></div"))),"string"!==n?JSON.parse(o):o},slugify:function(e){e=(e=e.replace(/^\s+|\s+$/g,"")).toLowerCase();for(var t="ÁÄÂÀÃÅČÇĆĎÉĚËÈÊẼĔȆÍÌÎÏŇÑÓÖÒÔÕØŘŔŠŤÚŮÜÙÛÝŸŽáäâàãåčçćďéěëèêẽĕȇíìîïňñóöòôõøðřŕšťúůüùûýÿžþÞĐđ߯a·/_,:;",r=0;r<98;r++)e=e.replace(new RegExp(t.charAt(r),"g"),"AAAAAACCCDEEEEEEEEIIIINNOOOOOORRSTUUUUUYYZaaaaaacccdeeeeeeeeiiiinnooooooorrstuuuuuyyzbBDdBAa------".charAt(r));return e=e.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")},remove:function(e){var t=window.location.hostname;r.set({name:e,expires:"Thu, 01 Jan 1970 00:00:00 GMT",domain:t});for(var n=t.split(".");n.length;){var o=n.join(".");r.set({name:e,expires:"Thu, 01 Jan 1970 00:00:00 GMT",domain:".".concat(o)}),n.shift()}},acceptNecessary:function(){var e=new Date;e.setFullYear(e.getFullYear()+1),e=e.toUTCString();var t=r.necessary.map(function(e){return e.identifier||r.slugify(getName(e.name))});r.set({name:"cookie_control_enabled_cookies",value:t,expires:e}),r.set({name:"cookie_control_consent",value:!0,expires:e}),r.consent=!0,i(),s()},getName:function(e){return"string"==typeof e?e:e[Object.keys(e)[0]]},setConsent:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.consent="true"===r.get("cookie_control_consent"),r.enabled=[],r.enabledList=[],!0===r.consent){var n,a=r.get("cookie_control_enabled_cookies");(n=r.enabled).push.apply(n,Object(Dr.a)(r.optional.filter(function(e){var t="string"==typeof e.name?e.name:e.name[Object.keys(e.name)[0]];return a.includes(e.identifier||r.slugify(t))}))),r.enabledList=r.enabled.length>0?r.enabled.map(function(e){var t="string"==typeof e.name?e.name:e.name[Object.keys(e.name)[0]];return e.identifier||r.slugify(t)}):[]}r.necessary&&(e=r.enabled).push.apply(e,Object(Dr.a)(r.necessary.filter(function(e){return e.src||e.accepted}))),t||(i(),o(),s())}};Object.assign(r,n);var o=function(){var e=r.optional.filter(function(e){var t="string"==typeof e.name?e.name:e.name[Object.keys(e.name)[0]];return!r.enabledList.includes(e.identifier||r.slugify(t))});e.length>0&&e.forEach(function(e){e.declined&&e.declined(),e.cookies&&e.cookies.length>
10&&e.cookies.forEach(function(e){r.remove(e)})})},i=function(){if(r.enabled.length>0){var e=document.getElementsByTagName("head")[0];r.enabled.forEach(function(t){if(t.src){var r=document.createElement("script");r.src=t.src,e.appendChild(r),r.addEventListener("load",function(){t.accepted&&t.accepted()})}})}},s=function(){r.enabled.length>0&&r.enabled.forEach(function(e){e.accepted&&e.accepted()})};r.setConsent(!0);var c,u=("string"!=typeof(c=r.globalName)?"":c.charAt(0).toUpperCase()+c.slice(1))||"Nuxt";window["on".concat(u,"Ready")](function(){r.setConsent()}),t("cookies",r),r.blockIframe&&a.default.component("CookieIframe",hn.a),a.default.component("CookieControl",mn.a)},bn=r(266),gn=r.n(bn);function yn(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return _n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function _n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function xn(e,t,r){return e.find(function(e){return r?e[t]===r:e[t]})}var wn=r(425),kn=function(e){!function(e,t){if("function"!=typeof e)for(var r in t){var n=t[r];if(Array.isArray(n)){e[r]=e[r]||[];var o,a=yn(n);try{for(a.s();!(o=a.n()).done;){var i=o.value;i.hid&&xn(e[r],"hid",i.hid)||i.name&&xn(e[r],"name",i.name)||e[r].push(i)}}catch(e){a.e(e)}finally{a.f()}}else if("object"===Object(fn.a)(n))for(var s in e[r]=e[r]||{},n)e[r][s]=n[s];else void 0===e[r]&&(e[r]=n)}}(e.app.head,wn)},On=function(e,t){return En.apply(this,arguments)};function En(){return(En=Object(n.a)(regeneratorRuntime.mark(function e(t,r){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n={"64x64":"/_nuxt/icons/icon_64x64.573070.png","120x120":"/_nuxt/icons/icon_120x120.573070.png","144x144":"/_nuxt/icons/icon_144x144.573070.png","152x152":"/_nuxt/icons/icon_152x152.573070.png","192x192":"/_nuxt/icons/icon_192x192.573070.png","384x384":"/_nuxt/icons/icon_384x384.573070.png","512x512":"/_nuxt/icons/icon_512x512.573070.png",ipad_1536x2048:"/_nuxt/icons/splash_ipad_1536x2048.573070.png",ipadpro9_1536x2048:"/_nuxt/icons/splash_ipadpro9_1536x2048.573070.png",ipadpro10_1668x2224:"/_nuxt/icons/splash_ipadpro10_1668x2224.573070.png",ipadpro12_2048x2732:"/_nuxt/icons/splash_ipadpro12_2048x2732.573070.png",iphonese_640x1136:"/_nuxt/icons/splash_iphonese_640x1136.573070.png",iphone6_50x1334:"/_nuxt/icons/splash_iphone6_50x1334.573070.png",iphoneplus_1080x1920:"/_nuxt/icons/splash_iphoneplus_1080x1920.573070.png",iphonex_1125x2436:"/_nuxt/icons/splash_iphonex_1125x2436.573070.png",iphonexr_828x1792:"/_nuxt/icons/splash_iphonexr_828x1792.573070.png",iphonexsmax_1242x2688:"/_nuxt/icons/splash_iphonexsmax_1242x2688.573070.png"},r("icon",function(e){return n[e+"x"+e]||""});case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}var Cn=r(18),Tn=r(203),Sn=r(29),Pn=r(58),Rn=r(50);Cn.a.autoAddCss=!1,Cn.c.add(Sn.e),Cn.c.add(Sn.d),Cn.c.add(Sn.f),Cn.c.add(Sn.h),Cn.c.add(Sn.c),Cn.c.add(Sn.b),Cn.c.add(Sn.i),Cn.c.add(Sn.j),Cn.c.add(Sn.g),Cn.c.add(Sn.k),Cn.c.add(Sn.p),Cn.c.add(Sn.l),Cn.c.add(Sn.o),Cn.c.add(Sn.n),Cn.c.add(Sn.a),Cn.c.add(Sn.m),Cn.c.add(Pn.b),Cn.c.add(Pn.h),Cn.c.add(Pn.d),Cn.c.add(Pn.g),Cn.c.add(Pn.e),Cn.c.add(Pn.f),Cn.c.add(Pn.a),Cn.c.add(Pn.c),Cn.c.add(Rn.d),Cn.c.add(Rn.e),Cn.c.add(Rn.i),Cn.c.add(Rn.g),Cn.c.add(Rn.j),Cn.c.add(Rn.f),Cn.c.add(Rn.c),Cn.c.add(Rn.a),Cn.c.add(Rn.b),Cn.c.add(Rn.h),a.default.component("font-awesome-icon",Tn.a),a.default.component("font-awesome-layers",Tn.b),a.default.component("font-awesome-layers-text",Tn.c);
1var An=r(426),jn=r.n(An);a.default.use(jn.a,{position:"top-right",className:["custom-toast"],duration:2e3});var In=[{name:"my-error",message:"Oops...Something went wrong",options:{type:"error"}}];In&&In.forEach(function(e){a.default.toasted.register(e.name,e.message,e.options)});var Ln=function(e,t){t("toast",a.default.toasted)},Mn=r(115),Dn=r.n(Mn),qn=r(427);function Nn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function $n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nn(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Un(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Bn(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bn(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function Bn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}for(var Qn={setBaseURL:function(e){this.defaults.baseURL=e},setHeader:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",o=Un(Array.isArray(n)?n:[n]);try{for(o.s();!(r=o.n()).done;){var a=r.value;t?this.defaults.headers[a][e]=t:delete this.defaults.headers[a][e]}}catch(e){o.e(e)}finally{o.f()}},setToken:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",n=e?(t?t+" ":"")+e:null;this.setHeader("Authorization",n,r)},onRequest:function(e){this.interceptors.request.use(function(t){return e(t)||t})},onResponse:function(e){this.interceptors.response.use(function(t){return e(t)||t})},onRequestError:function(e){this.interceptors.request.use(void 0,function(t){return e(t)||Promise.reject(t)})},onResponseError:function(e){this.interceptors.response.use(void 0,function(t){return e(t)||Promise.reject(t)})},onError:function(e){this.onRequestError(e),this.onResponseError(e)},create:function(e){return Gn(Object(qn.a)(e,this.defaults))}},Yn=function(){var e=zn[Fn];Qn["$"+e]=function(){return this[e].apply(this,arguments).then(function(e){return e&&e.data})}},Fn=0,zn=["request","delete","get","head","options","post","put","patch"];Fn<zn.length;Fn++)Yn();var Gn=function(e){var t=Dn.a.create(e);return t.CancelToken=Dn.a.CancelToken,t.isCancel=Dn.a.isCancel,function(e){for(var t in Qn)e[t]=Qn[t].bind(e)}(t),t.onRequest(function(e){e.headers=$n($n({},t.defaults.headers.common),e.headers)}),Hn(t),t},Hn=function(e){var t={finish:function(){},start:function(){},fail:function(){},set:function(){}},r=function(){var e="undefined"!=typeof window&&window.$nuxt;return e&&e.$loading&&e.$loading.set?e.$loading:t},n=0;e.onRequest(function(e){e&&!1===e.progress||n++}),e.onResponse(function(e){e&&e.config&&!1===e.config.progress||--n<=0&&(n=0,r().finish())}),e.onError(function(e){e&&e.config&&!1===e.config.progress||(n--,Dn.a.isCancel(e)?n<=0&&(n=0,r().finish()):(r().fail(),r().finish()))});var o=function(e){if(n&&e.total){var t=100*e.loaded/(e.total*n);r().set(Math.min(100,t))}};e.defaults.onUploadProgress=o,e.defaults.onDownloadProgress=o},Vn=function(e,t){var r=e.$config&&e.$config.axios||{},n=r.browserBaseURL||r.browserBaseUrl||r.baseURL||r.baseUrl||"/";var o=Gn({baseURL:n,headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{}}
1});e.$axios=o,t("axios",o)},Wn=r(53),Kn=r.n(Wn),Zn=function(e,t){e.$moment=Kn.a,t("moment",Kn.a)},Xn="background: #2E495E;border-radius: 0.5em;color: white;font-weight: bold;padding: 2px 0.5em;";function Jn(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=console).log.apply(e,["%cGTM",Xn].concat(r))}var eo="dataLayer",to="GTM-TVLM46K";var ro=function(e,t){var r="GTM-TVLM46K",n=(e.$config&&e.$config.gtm||{}).id,a=function(e,t){return{init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:to;!t[e]&&window._gtm_inject&&(window._gtm_inject(e),t[e]=!0,Jn("init",e))},push:function(e){window[eo]||(window[eo]=[]),window[eo].push(e),Jn("push",e)}}}(0,r?Object(o.a)({},r,!0):{});n&&n!==r&&a.init(n),e.$gtm=a,t("gtm",e.$gtm),function(e){e.app.router.afterEach(function(t){setTimeout(function(){e.$gtm.push(t.gtm||{routeName:t.name,pageType:"PageView",pageUrl:""+t.fullPath,pageTitle:"undefined"!=typeof document&&document.title||"",event:"nuxtRoute"})},250)})}(e)},no=r(88),oo=r.n(no);var ao=function(e){var t=e.$axios,r=e.redirect,o=e.app;t.onRequest(function(e){var t,r,n=o.$cookies.get("access_token")||Object(et.d)(e);n&&(e.headers.authorization="Bearer ".concat(n)),e.headers["X-Guest-Session"]=(t="ps_guest_session",(r=localStorage.getItem(t))||(r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),localStorage.setItem(t,r)),r)}),t.onResponse(function(e){}),t.onError(function(){var e=Object(n.a)(regeneratorRuntime.mark(function e(n){var a,i,s,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=parseInt(n.response&&n.response.status),i=n.config,401!==a||i.__isRetryRequest){e.next=5;break}if(i.__isRetryRequest=!0,e.prev=1,fe.b.currentUser){e.next=2;break}return r("/login?nextUrl=".concat(o.context.route.path)),e.abrupt("return",Promise.reject(n));case 2:return e.next=3,fe.b.currentUser.getIdToken(!0);case 3:return s=e.sent,i.headers.authorization="Bearer ".concat(s),oo.a.set("access_token",s,{sameSite:"lax"}),e.abrupt("return",t(i));case 4:return e.prev=4,c=e.catch(1),r("/login?nextUrl=".concat(o.context.route.path)),e.abrupt("return",Promise.reject(c));case 5:return e.abrupt("return",Promise.reject(n));case 6:case"end":return e.stop()}},e,null,[[1,4]])}));return function(t){return e.apply(this,arguments)}}())},io=r(428);a.default.use(io.a);var so=r(42),co=r(82);function uo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function lo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?uo(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}Object(so.c)("required",lo(lo({},co.f),{},{message:"This field is required"})),Object(so.c)("oneOf",lo(lo({},co.e),{},{message:"This option is not valid"})),Object(so.c)("email",lo(lo({},co.a),{},{message:"Email not valid"})),Object(so.c)("min_bike_value",lo(lo({},co.d),{},{message:"Minimum bike value is: 400"})),Object(so.c)("max_bike_value",lo(lo({},co.c),{},{message:"Maximum bike value is: 15000"})),Object(so.c)("min_age",lo(lo({},co.d),{},{message:"Minimum age is 16"})),Object(so.c)("max_age",lo(lo({},co.c),{},{message:"Maximum age is 120"})),Object(so.c)("min_day",lo(lo({},co.d),{},{message:"Day should be between 1 and 31"})),Object(so.c)("max_day",{validate:function(e){return e.length<=2&&Number(e)<=31},message:"Day should be between 1 and 31"}
1),Object(so.c)("min_month",lo(lo({},co.d),{},{message:"Month should be between 1 and 12"})),Object(so.c)("max_month",{validate:function(e){return e.length<=2&&Number(e)<=12},message:"Month should be between 1 and 12"}),Object(so.c)("valid_year",{validate:function(e){return 4===e.length},message:"Year is not valid"}),Object(so.c)("min_year",{validate:function(e){var t=Kn()().diff("".concat(e,"-01-01"),"years");return Number(t)>=16},message:"Min age is 16 years"}),Object(so.c)("mаx_year",{validate:function(e){var t=Kn()().diff("".concat(e,"-01-01"),"years");return Number(t)<120},message:"too old"}),Object(so.c)("integer",lo(lo({},co.b),{},{message:"This field is numeric"})),Object(so.c)("password",{params:["target"],validate:function(e,t){return e===t.target},message:"Password confirmation does not match"}),Object(so.c)("birth_date",{validate:function(e){return e<=Kn()().subtract(16,"years").toDate()},message:"Min age is 16 years"}),Object(so.c)("credit_card",{validate:function(e){var t=!1;return(/^(?:4[0-9]{12}(?:[0-9]{3})?)$/.test(e)||/^(?:5[1-5][0-9]{14})$/.test(e)||/^(?:3[47][0-9]{13})$/.test(e)||/^(?:6(?:011|5[0-9][0-9])[0-9]{12})$/.test(e))&&(t=!0),t},message:"Please enter a valid credit card"}),Object(so.c)("cvv",{validate:function(e){var t=!1;return/^[0-9]{3,4}$/.test(e)&&(t=!0),t},message:"Please enter a valid cvv"}),Object(so.c)("sortcode",{validate:function(e){var t=!1;return/^(?!(?:0{6}|00-00-00))(?:\d{6}|\d\d-\d\d-\d\d)$/.test(e)&&(t=!0),t},message:"Please enter a valid sortcode"}),Object(so.c)("adddressLookUp",{validate:function(e){var t=!1;return""!==e.house&&""!==e.street&&""!==e.city&&""!==e.county&&""!==e.postcode&&(t=!0),t},message:"Please select adress"}),a.default.component("ValidationProvider",so.b),a.default.component("ValidationObserver",so.a);var po=r(434),fo=r.n(po);a.default.use(fo.a);var mo=r(435),ho=r.n(mo);a.default.use(ho.a),a.default.filter("toCurrency",function(e){return"number"!=typeof e?e:new Intl.NumberFormat("en-UK",{style:"currency",currency:"GBP",minimumFractionDigits:2}).format(e)}),a.default.filter("freePeriodPriceMonthly",function(e,t){return"number"!=typeof e?e:(e-e/365*(t=t||30))/(12-t/30)}),a.default.filter("freePeriodPriceAnnually",function(e,t){return"number"!=typeof e?e:e-e/365*(t=t||30)});var vo=r(268),bo=r.n(vo),go=function(){var e=function(){return window.innerWidth<768},t=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;"function"==typeof zE?e():r<240&&setTimeout(function(){return t(e,r+1)},250)};t(function(){var t;e()&&zE("messenger","hide"),zE("messenger:on","close",function(){e()&&zE("messenger","hide")}),window.addEventListener("resize",function(){clearTimeout(t),t=setTimeout(function(){e()?zE("messenger","hide"):zE("messenger","show")},200)})})},yo=["pointerdown","keydown","touchstart","wheel"];function _o(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"ps_deferred"})}var xo=function(){var e;e=function(){return function(e){var t=!1,r=null,n=null,o=function(){return i()},a=function(){yo.forEach(function(e){return window.removeEventListener(e,o)}),null!==r&&"function"==typeof window.cancelIdleCallback&&window.cancelIdleCallback(r),null!==n&&clearTimeout(n)};function i(){t||(t=!0,a(),e())}yo.forEach(function(e){return window.addEventListener(e,o,{passive:!0})}),"function"==typeof window.requestIdleCallback?r=window.requestIdleCallback(i,{timeout:5e3}):n=setTimeout(i,3e3)}(_o)},"complete"!==document.readyState?window.addEventListener("load",e,{once:!0}):e()},wo=r(436),ko=r.n(wo);function Oo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Eo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oo(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}a.default.component("paginate",ko.a),a.default.component(u.a.name,u.a),a.default.component(d.a.name,Eo(Eo({},d.a),{},{render:function(e,t){return d.a._warned||(d.a._warned=!0),d.a.render(e,t)}})),a.default.component(_.name,_),a.default.component("NChild",_),a.default.component(ue.name,ue),Object.defineProperty(a.default.prototype,"$nuxt",{get:function(){var e=this.$root?this.$root.$options.$nuxt:null;return e||"undefined"==typeof window?e:window.$nuxt},configurable:!0}),a.default.use(s.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});
1var Co={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},To=i.a.Store.prototype.registerModule;function So(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Array.isArray(e)?!!e.reduce(function(e,t){return e&&e[t]},this.state):e in this.state;return To.call(this,e,t,Eo({preserveState:n},r))}function Po(e){return Ro.apply(this,arguments)}function Ro(){return Ro=Object(n.a)(regeneratorRuntime.mark(function e(t){var r,o,i,s,c,u,l,d,p=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return d=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject('".concat(e,"', value) has no value provided"));s[e="$"+e]=t,s.context[e]||(s.context[e]=t),o[e]=s[e];var r="__nuxt_"+e+"_installed__";a.default[r]||(a.default[r]=!0,a.default.use(function(){Object.prototype.hasOwnProperty.call(a.default.prototype,e)||Object.defineProperty(a.default.prototype,e,{get:function(){return this.$root.$options[e]}})}))},r=p.length>1&&void 0!==p[1]?p[1]:{},o=Wr(t),e.next=1,y(0,r);case 1:return i=e.sent,o.$router=i,o.registerModule=So,s=Eo({head:{title:"pedalsure",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:"Pedalsure is the UK’s highest rated cycling insurer, covering cyclists and their bicycles against theft, accidental damage, personal liability and more"},{hid:"robots",name:"robots",content:"index"},{hid:"facebook-domain-verification",name:"facebook-domain-verification",content:"0z69qryyob9dczbh0mnvrix218j4v7"}],script:[{hid:"gtag-consent-default",innerHTML:"\nwindow.dataLayer=window.dataLayer||[];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('consent','default',{\n'ad_storage':'denied',\n'ad_user_data':'denied',\n'ad_personalization':'denied',\n'analytics_storage':'denied',\n'personalization_storage':'denied',\n'functionality_storage':'granted',\n'security_storage':'granted',\n'wait_for_update':500\n});\ngtag('set','ads_data_redaction',true);\n"},{src:"https://cdn-cookieyes.com/client_data/e02b338b0d0266248b1cf81d.js",id:"cookieyes",async:!0},{hid:"gtm-script",innerHTML:"if(!window._gtm_init){window._gtm_init=1;(function(w,n,d,m,e,p){w[d]=(w[d]==1||n[d]=='yes'||n[d]==1||n[m]==1||(w[e]&&w[e][p]&&w[e][p]()))?1:0})(window,navigator,'doNotTrack','msDoNotTrack','external','msTrackingProtectionEnabled');(function(w,d,s,l,x,y){w[x]={};w._gtm_inject=function(i){if(w.doNotTrack||w[x][i])return;w[x][i]=1;w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s);j.async=true;
1j.src='https://www.googletagmanager.com/gtm.js?id='+i;f.parentNode.insertBefore(j,f);};w[y]('GTM-TVLM46K')})(window,document,'script','dataLayer','_gtm_ids','_gtm_inject')}"}],__dangerouslyDisableSanitizers:["script"],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico?v2"},{rel:"preconnect",href:"https://connect.facebook.net"},{rel:"preconnect",href:"https://analytics.ahrefs.com"},{rel:"preconnect",href:"https://log.cookieyes.com"}],style:[],__dangerouslyDisableSanitizersByTagID:{"gtm-script":["innerHTML"],"gtm-noscript":["innerHTML"]}},store:o,router:i,nuxt:{defaultTransition:Co,transitions:[Co],setTransitions:function(e){return Array.isArray(e)||(e=[e]),e=e.map(function(e){return e=e?"string"==typeof e?Object.assign({},Co,{name:e}):Object.assign({},Co,e):Co}),this.$options.nuxt.transitions=e,e},err:null,errPageReady:!1,dateErr:null,error:function(e){e=e||null,s.context._errored=Boolean(e),e=e?Object(m.p)(e):null;var r=s.nuxt;return this&&(r=this.nuxt||this.$options.nuxt),r.dateErr=Date.now(),r.err=e,r.errPageReady=!1,t&&(t.nuxt.error=e),e}}},Gr),o.app=s,c=t?t.next:function(e){return s.router.push(e)},t?u=i.resolve(t.url).route:(l=Object(m.f)(i.options.base,i.options.mode),u=i.resolve(l).route),e.next=2,Object(m.t)(s,{store:o,route:u,next:c,error:s.nuxt.error.bind(s),payload:t?t.payload:void 0,req:t?t.req:void 0,res:t?t.res:void 0,beforeRenderFns:t?t.beforeRenderFns:void 0,beforeSerializeFns:t?t.beforeSerializeFns:void 0,ssrContext:t});case 2:d("config",r),window.__NUXT__&&window.__NUXT__.state&&o.replaceState(window.__NUXT__.state),e.next=3;break;case 3:return e.next=4,pn(s.context,d);case 4:return e.next=5,vn(s.context,d);case 5:if("function"!=typeof gn.a){e.next=6;break}return e.next=6,gn()(s.context,d);case 6:return e.next=7,kn(s.context);case 7:return e.next=8,On(s.context,d);case 8:e.next=9;break;case 9:return e.next=10,Ln(s.context,d);case 10:return e.next=11,Vn(s.context,d);case 11:return e.next=12,Zn(s.context,d);case 12:return e.next=13,ro(s.context,d);case 13:return e.next=14,ao(s.context);case 14:e.next=15;break;case 15:e.next=16;break;case 16:e.next=17;break;case 17:e.next=18;break;case 18:e.next=19;break;case 19:if("function"!=typeof bo.a){e.next=20;break}return e.next=20,bo()(s.context,d);case 20:return e.next=21,go(s.context);case 21:return e.next=22,xo(s.context);case 22:e.next=23;break;case 23:return e.next=24,new Promise(function(e,t){if(!i.resolve(s.context.route.fullPath).route.matched.length)return e();i.replace(s.context.route.fullPath,e,function(r){if(!r._isRouter)return t(r);if(2!==r.type)return e();var o=i.afterEach(function(){var t=Object(n.a)(regeneratorRuntime.mark(function t(r,n){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,Object(m.j)(r);case 1:s.context.route=t.sent,s.context.params=r.params||{},s.context.query=r.query||{},o(),e();case 2:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}())})});case 24:return e.abrupt("return",{store:o,app:s,router:i});case 25:case"end":return e.stop()}},e)})),Ro.apply(this,arguments)}},,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"c",function(){return s}),r.d(t,"b",function(){return c}),r.d(t,"a",function(){return u});r(12),r(19),r(26),r(27),r(10),r(21);var n=r(9);r(3),r(4),r(5),r(6),r(20);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){Object(n.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var i="ps_social_auth_ctx";function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{window.localStorage.setItem(i,JSON.stringify(a(a({},e),{},{ts:Date.now()})))}catch(e){}}function c(){try{return JSON.parse(window.localStorage.getItem(i)||"{}")}catch(e){return{}}}function u(){try{window.localStorage.removeItem(i)}catch(e){}}},,,,,,,,,,function(e,t,r){"use strict";r.d(t,"d",function(){return o}
1),r.d(t,"c",function(){return a}),r.d(t,"e",function(){return i}),r.d(t,"b",function(){return s}),r.d(t,"a",function(){return c}),r.d(t,"h",function(){return u}),r.d(t,"g",function(){return l}),r.d(t,"f",function(){return p}),r.d(t,"n",function(){return f}),r.d(t,"k",function(){return h}),r.d(t,"j",function(){return v}),r.d(t,"o",function(){return b}),r.d(t,"i",function(){return g}),r.d(t,"q",function(){return y}),r.d(t,"r",function(){return _}),r.d(t,"p",function(){return x}),r.d(t,"l",function(){return O}),r.d(t,"m",function(){return C});var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),r(78),r(72),r(508),r(510),r(31),r(141),400),a=15e3,i=200,s=16,c=99,u=400,l=29,d={accessories_cover:"none",amateur_racing:"none",loss_of_earnings:"none",personal_injury:"none",public_liability:"none",worldwide_cover:"none"},p={road:"Road bike",electric:"Electric bike",mountain:"Mountain bike",cargo:"Cargo bike",commuter:"Commuter bike",triathlon:"Triathlon bike",folding:"Folding bike",hybrid:"Hybrid bike"};function f(e){return Number(e).toLocaleString("en-GB")}function m(e,t,r){return Math.min(r,Math.max(t,e))}function h(e){var t=Number.parseInt(e,10);if(!Number.isFinite(t))return u;var r=m(t,o,a);return m(o+Math.round((r-o)/i)*i,o,a)}function v(e){var t=Number.parseInt(e,10);return Number.isFinite(t)?m(t,s,c):l}function b(e){var t=String(e||"").trim().toLowerCase();return Object.prototype.hasOwnProperty.call(p,t)?t:""}function g(e){return p[b(e)]||""}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bike,r=void 0===t?"":t,n=e.src,o=void 0===n?"":n,a=[],i=b(r);i&&a.push("bike=".concat(i));var s=_(o);return s&&a.push("src=".concat(s)),a.length?"/quote?".concat(a.join("&")):"/quote"}function _(e){var t=String(e||"").trim().toLowerCase();return/^[a-z0-9\-_/]{1,64}$/.test(t)?t:""}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{bike:b(e.bike),bikeValue:h(e.value),age:v(e.age),src:_(e.src)}}function w(e){return k.apply(this,arguments)}function k(){return(k=Object(n.a)(regeneratorRuntime.mark(function e(t){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=1,t.$get("/api/policy/v1/discount",{timeout:1e4});case 1:return r=e.sent,e.abrupt("return",Number(r&&r.discount)||0);case 2:return e.prev=2,e.catch(0),e.abrupt("return",0);case 3:case"end":return e.stop()}},e,null,[[0,2]])}))).apply(this,arguments)}function O(e,t){return E.apply(this,arguments)}function E(){return(E=Object(n.a)(regeneratorRuntime.mark(function e(t,r){var n,o,a,i,s,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.bikeValue,o=r.age,a=r.discount,i=void 0===a?0:a,e.prev=1,e.next=2,t.$post("/api/policy/v1/price",{postcode:"SA10 6AA",discount:i,age:v(o),bicycles:[{make:"pedalsure",value:h(n)}],insurance_components:d},{timeout:1e4});case 2:return s=e.sent,c=Number(s&&s.total),e.abrupt("return",Number.isFinite(c)&&c>0?c:null);case 3:return e.prev=3,e.catch(1),e.abrupt("return",null);case 4:case"end":return e.stop()}},e,null,[[1,3]])}))).apply(this,arguments)}function C(e){return T.apply(this,arguments)}function T(){return T=Object(n.a)(regeneratorRuntime.mark(function e(t){var r,n,o,a,i,s,c,d,p,f=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=(r=f.length>1&&void 0!==f[1]?f[1]:{}).bikeValue,o=void 0===n?u:n,a=r.age,i=void 0===a?l:a,s=null,e.prev=1,e.next=2,t.$get("/api/policy/v1/entry-price",{timeout:1e4});case 2:c=e.sent,s=c&&c.annual?c:null,e.next=4;break;case 3:e.prev=3,e.catch(1),s=null;case 4:if(!(o===u&&i===l)){e.next=5;break}return e.abrupt("return",{entryPrice:s,price:s?s.annual:null});case 5:return e.next=6,w(t);case 6:return d=e.sent,e.next=7,O(t,{bikeValue:o,age:i,discount:d});case 7:return p=e.sent,e.abrupt("return",{entryPrice:s,price:p});case 8:case"end":return e.stop()}},e,null,[[1,3]])})),T.apply(this,arguments)}},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIyLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAyOCAyOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjggMjg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7Y2xpcC1wYXRoOnVybCgjU1ZHSURfMl8pO2ZpbGw6bm9uZTtzdHJva2U6IzQwNEFGQztzdHJva2Utd2lkdGg6MC45Njc5O30KCS5zdDF7ZmlsbDpub25lO3N0cm9rZTojNDA0QUZDO3N0cm9rZS13aWR0aDowLjk2Nzk7fQo8L3N0eWxlPgo8Zz4KCTxnPgoJCTxkZWZzPgoJCQk8cmVjdCBpZD0iU1ZHSURfMV8iIHg9IjAuNSIgeT0iMC41IiB3aWR0aD0iMjciIGhlaWdodD0iMjciLz4KCQk8L2RlZnM+CgkJPGNsaXBQYXRoIGlkPSJTVkdJRF8yXyI+CgkJCTx1c2UgeGxpbms6aHJlZj0iI1NWR0lEXzFfIiAgc3R5bGU9Im92ZXJmbG93OnZpc2libGU7Ii8+CgkJPC9jbGlwUGF0aD4KCQk8Y2lyY2xlIGNsYXNzPSJzdDAiIGN4PSIxNCIgY3k9IjE0IiByPSIxMyIvPgoJPC9nPgo8L2c+CjxsaW5lIGNsYXNzPSJzdDEiIHgxPSI3LjYiIHkxPSI3LjYiIHgyPS
1IyMC40IiB5Mj0iMjAuNCIvPgo8bGluZSBjbGFzcz0ic3QxIiB4MT0iMjAuNCIgeTE9IjcuNiIgeDI9IjcuNiIgeTI9IjIwLjQiLz4KPC9zdmc+Cg=="},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){e.exports=r.p+"img/Pedalsure-Logo_Large.48825a2.svg"},,,,function(e,t,r){"use strict";r.d(t,"f",function(){return i}),r.d(t,"e",function(){return s}),r.d(t,"d",function(){return c}),r.d(t,"c",function(){return u}),r.d(t,"b",function(){return l}),r.d(t,"a",function(){return d});r(3),r(4),r(5),r(6),r(20);var n=r(30),o="ps_email_link_email",a="ps_email_link_ctx";function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={url:"".concat(window.location.origin,"/auth/email-link"),handleCodeInApp:!0};return n.b.sendSignInLinkToEmail(e,r).then(function(){window.localStorage.setItem(o,e),window.localStorage.setItem(a,JSON.stringify(t))})}function s(e){return n.b.isSignInWithEmailLink(e||window.location.href)}function c(){return window.localStorage.getItem(o)||""}function u(){try{return JSON.parse(window.localStorage.getItem(a)||"{}")}catch(e){return{}}}function l(e,t){return n.b.signInWithEmailLink(e,t||window.location.href)}function d(){window.localStorage.removeItem(o),window.localStorage.removeItem(a)}},,,,,,function(e,t,r){"use strict";r(571),r(3),r(4),r(5),r(6),r(10);var n=null;var o={name:"SecuritySeal",props:{small:{type:Boolean,default:!1}},data:function(){return{rendered:!1}},computed:{isLive:function(){return"live"===this.$config.envType}},mounted:function(){var e=this;this.isLive&&(n||(n=new Promise(function(e,t){var r=document.createElement("script");r.async=!0,r.src="https://secure.trust-provider.com/trustlogo/javascript/trustlogo.js",r.onload=e,r.onerror=function(){n=null,t(new Error("trustlogo.js failed to load"))},document.head.appendChild(r)})),n).then(function(){if(!e._isDestroyed&&"function"==typeof window.TrustLogo){var t=document.write,r="";document.write=function(e){r+=e};try{window.TrustLogo("https://www.sectigo.com/images/seals/sectigo_trust_seal_md_2x.png","SECEV","none")}finally{document.write=t}r&&e.$refs.sealContainer&&(e.rendered=!0,e.$nextTick(function(){e.$refs.sealContainer.innerHTML=r}))}}).catch(function(){})}},a=(r(572),r(7)),i=Object(a.a)(o,function(){var e=this,t=e._self._c;return t("div",{staticClass:"security-seal",class:{"security-seal--small":e.small}},[e.isLive?t("div",{ref:"sealContainer"},[e.rendered?e._e():t("img",{attrs:{src:r(346),alt:"Secured by Sectigo",width:"106",height:"42"}})]):t("img",{attrs:{src:r(346),alt:"Secured by Sectigo",width:"106",height:"42"}})])},[],!1,null,null,null);t.a=i.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r(3),r(4),r(5),r(6),r(12),r(61),r(111),r(19),r(93),r(69),r(59),r(92),r(44),r(10),r(31),r(65),r(85),r(60),r(21),r(70),r(73);var n=r(8);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var i=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},s=window.cancelIdleCallback||function(e){clearTimeout(e)},c=window.IntersectionObserver&&new window.IntersectionObserver(function(e){e.forEach(function(e){var t=e.intersectionRatio,r=e.target;t<=0||!r.__prefetch||r.__prefetch()})});t.a={name:"NuxtLink",extends:n.default.component("RouterLink"),props:{prefetch:{type:Boolean,default:!1},noPrefetch:{type:Boolean,default:!1}},mounted:function(){this.prefetch&&!this.noPrefetch&&(this.handleId=i(this.observe,{timeout:2e3}))},beforeDestroy:function(){s(this.handleId),this.__observed&&(c.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe:function(){c&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),c.observe(this.$el),this.__observed=!0)},shouldPrefetch:function(){return this.getPrefetchComponents().length>0},canPrefetch:function(){var e=navigator.connection;return!(this.$nuxt.isOffline||e&&((e.effectiveType||"").includes("2g")||e.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map(function(e){return e.components.default}).filter(function(e){return"function"==typeof e&&!e.options&&!e.__prefetched}
1)},prefetchLink:function(){if(this.canPrefetch()){c.unobserve(this.$el);var e,t=o(this.getPrefetchComponents());try{for(t.s();!(e=t.n()).done;){var r=e.value,n=r();n instanceof Promise&&n.catch(function(){}),r.__prefetched=!0}}catch(e){t.e(e)}finally{t.f()}}}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r(3),r(4),r(5),r(6);var n={};n.authenticated=r(496),n.authenticated=n.authenticated.default||n.authenticated,n["check-auth"]=r(497),n["check-auth"]=n["check-auth"].default||n["check-auth"],n["check-before-move"]=r(498),n["check-before-move"]=n["check-before-move"].default||n["check-before-move"],n["handle-login-route"]=r(499),n["handle-login-route"]=n["handle-login-route"].default||n["handle-login-route"],n["load-private-quote"]=r(500),n["load-private-quote"]=n["load-private-quote"].default||n["load-private-quote"],n["load-public-quote"]=r(501),n["load-public-quote"]=n["load-public-quote"].default||n["load-public-quote"],t.a=n},,,,function(e,t,r){var n=r(456);function o(){return(o=n(regeneratorRuntime.mark(function e(){var t,n,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!1 in navigator)){e.next=1;break}throw new Error("serviceWorker is not supported in current browser!");case 1:return e.next=2,r.e(97).then(r.bind(null,743));case 2:return t=e.sent,n=t.Workbox,o=new n("/sw.js",{scope:"/"}),e.next=3,o.register();case 3:return e.abrupt("return",o);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}r(3),r(4),r(5),r(6),r(22),r(10),r(60),r(70),window.$workbox=function(){return o.apply(this,arguments)}().catch(function(e){})},,function(e,t,r){r(3),r(4),r(5),r(6),e.exports={init:function(e){var t=e.$gtm;e.route;t.init("GTM-TQ78LMV")}}},,,,,function(e,t,r){"use strict";r.d(t,"b",function(){return a}),r.d(t,"a",function(){return i});r(3),r(4),r(5),r(6),r(12),r(61),r(46),r(31),r(54);var n=r(47),o="".concat(n.a,"/images/og/pedalsure-default-1200x630.png");function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.a;if(!e||"undefined"===e||"null"===e)return o;if(/^https?:\/\//i.test(e))return e;var r=String(t).replace(/\/+$/,""),a=String(e).replace(/^\/+/,"");return"".concat(r,"/").concat(a)}function i(e){var t=e.title,r=e.description,o=e.path,i=e.image,s=e.type,c=void 0===s?"website":s,u=e.imageAlt,l=a(i),d=Object(n.c)(o);return{meta:[{hid:"og:site_name",property:"og:site_name",content:"Pedalsure"},{hid:"og:type",property:"og:type",content:c},{hid:"og:url",property:"og:url",content:d},{hid:"og:title",property:"og:title",content:t},{hid:"og:description",property:"og:description",content:r},{hid:"og:image",property:"og:image",content:l},{hid:"og:image:width",property:"og:image:width",content:"1200"},{hid:"og:image:height",property:"og:image:height",content:"630"},{hid:"og:image:alt",property:"og:image:alt",content:u||t},{hid:"twitter:card",name:"twitter:card",content:"summary_large_image"},{hid:"twitter:title",name:"twitter:title",content:t},{hid:"twitter:description",name:"twitter:description",content:r},{hid:"twitter:image",name:"twitter:image",content:l},{hid:"twitter:url",name:"twitter:url",content:d}]}}},,,function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiPgogICAgPHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2U9IiMzRTRDRDQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGQ9Ik05IDEybDIgMiA0LTRtNS42MTgtNC4wMTZBMTEuOTU1IDExLjk1NSAwIDAxMTIgMi45NDRhMTEuOTU1IDExLjk1NSAwIDAxLTguNjE4IDMuMDRBMTIuMDIgMTIuMDIgMCAwMDMgOWMwIDUuNTkxIDMuODI0IDEwLjI5IDkgMTEuNjIyIDUuMTc2LTEuMzMyIDktNi4wMyA5LTExLjYyMiAwLTEuMDQyLS4xMzMtMi4wNTItLjM4Mi0zLjAxNnoiIC8+CiAgPC9zdmc+"},function(e,t,r){"use strict";r(3),r(4),r(5),r(6),r(69);var n={name:"RegulatoryStatement",props:{variant:{type:String,default:"page",validator:function(e){return["footer","page","detailed","inline"].includes(e)}}},data:function(){return{FCA_REFERENCE:"770419",COMPANY_NUMBER:"66539",GFSC_NUMBER:"2522730"}},computed:{arrangedBy:function(){return"Your policy is arranged by Pedalsure No3 Limited, an Appointed Representative of Pro MGA Solutions Ltd, which is authorised and regulated by the Financial Conduct Authority under reference "+"".concat(this.FCA_REFERENCE,".")},year:function(){return(new Date).getFullYear()}}},o=(r(549),r(7)),a=Object(o.a)(n,function(){var e=this,t=e._self._c;return"inline"===e.variant?t("span",[e._v(e._s(e.arrangedBy))]):"footer"===e.variant?t("div",{staticClass:"text"}
1,[e._v("\n  Copyright ©"+e._s(e.year)+" Pedalsure*. All rights reserved. Dukes House Insurance\n  Limited is a company registered in the Bailiwick of Guernsey under the\n  Companies (Guernsey) Law 2008 (Company number "+e._s(e.COMPANY_NUMBER)+") and is\n  authorised and regulated by the Guernsey Financial Services Commission.\n  Registration Number "+e._s(e.GFSC_NUMBER)+". Dukes House Insurance Limited is not\n  party to the UK Financial Services Compensation Scheme.\n  "),t("br"),e._v(" "),t("br"),e._v("\n  Your policy is arranged by Pedalsure No3 Limited with Dukes House Insurance\n  Limited. Pedalsure No3 Limited is an Appointed Representative of Pro MGA\n  Solutions Ltd which is authorised and regulated by the Financial Conduct\n  Authority under reference "+e._s(e.FCA_REFERENCE)+". Pedalsure No3 Limited and\n  Dukes House Insurance Limited are under common ownership.\n")]):"detailed"===e.variant?t("div",{staticClass:"ps-regulatory"},[t("p",[e._v("\n    Your policy is arranged by Pedalsure No3 Limited, Suite 3 Dukes House, 4–6\n    High Street, Windsor SL4 1LD. Pedalsure No3 Limited is an Appointed\n    Representative of Pro MGA Solutions Ltd, which is authorised and regulated\n    by the Financial Conduct Authority under reference\n    "+e._s(e.FCA_REFERENCE)+".\n  ")]),e._v(" "),t("p",[e._v("\n    Your policy is underwritten by Dukes House Insurance Limited, PO Box 155,\n    Mill Court, La Charroterie, St Peter Port, Guernsey GY1 4ET. It is\n    registered in the Bailiwick of Guernsey under the Companies (Guernsey) Law\n    2008, company number "+e._s(e.COMPANY_NUMBER)+", and is authorised and regulated\n    by the Guernsey Financial Services Commission, registration number\n    "+e._s(e.GFSC_NUMBER)+".\n  ")]),e._v(" "),t("p",[e._v("\n    Dukes House Insurance Limited is not party to the UK Financial Services\n    Compensation Scheme.\n  ")]),e._v(" "),t("p",[e._v("\n    Pedalsure No3 Limited and Dukes House Insurance Limited are under common\n    ownership.\n  ")])]):t("div",{staticClass:"ps-regulatory"},[t("p",[e._v("Pedalsure has been insuring cyclists since 2014. "+e._s(e.arrangedBy))]),e._v(" "),t("p",[e._v("\n    Your cover is underwritten by Dukes House Insurance Limited, registered in\n    the Bailiwick of Guernsey (company number "+e._s(e.COMPANY_NUMBER)+") and\n    authorised and regulated by the Guernsey Financial Services Commission,\n    registration number "+e._s(e.GFSC_NUMBER)+". Dukes House Insurance Limited is\n    not party to the UK Financial Services Compensation Scheme.\n  ")])])},[],!1,null,"687a2bc8",null);t.a=a.exports},function(e,t,r){"use strict";var n=[function(){var e=this._self._c;return e("div",{staticClass:"is-flex is-justify-content-flex-end"},[e("div",[e("img",{staticStyle:{width:"60px",display:"block"},attrs:{src:r(611),alt:"payment icon"}})]),this._v(" "),e("div",[e("img",{staticStyle:{width:"60px",display:"block"},attrs:{src:r(612),alt:"payment icon"}})])])}],o=(r(12),r(19),r(26),r(27),r(20),r(10),r(21),r(1)),a=r(9),i=(r(3),r(4),r(5),r(6),r(22),r(46),r(69),r(85),r(73),r(17)),s=r(281),c=r(167);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){Object(a.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var d={name:"MonthlyForm",components:{Loader:s.a,SecuritySeal:c.a},props:{isRenew:{type:Boolean,default:!1},renewPolicyCode:{type:String,default:""},mtaRetry:{type:Boolean,default:!1}},data:function(){return{isStripeLoaded:!1,readyInterval:null,isLoading:!1,error:null,reqData:null,card:null,stripeKey:null}},head:function(){return{script:[{src:"https://js.stripe.com/v3/"}]}},computed:l(l({},Object(i.c)({addedUserDetails:"quote/addedUserDetails",quote:"quote/quote"})),{},{stripe:function(){return window.Stripe("".concat(this.stripeKey))},isFree:function(){return this.$route.fullPath.includes("free")}}),mounted:function(){var e=this;
1this.getStripeKey(),this.readyInterval=setInterval(Object(o.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!window||!window.Stripe){t.next=2;break}return clearInterval(e.readyInterval),t.next=1,e.initStripe();case 1:e.isStripeLoaded=!0;case 2:case"end":return t.stop()}},t)})),200)},methods:{getStripeKey:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark(function t(){var r,n,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.$route.params.slug?"/api/payment/v1/pay/stripe-pk?partner=".concat(e.$route.params.slug):"/api/payment/v1/pay/stripe-pk",t.prev=1,t.next=2,e.$axios.$get(r);case 2:n=t.sent,o=n.key,e.stripeKey=o,t.next=4;break;case 3:t.prev=3,t.catch(1);case 4:case"end":return t.stop()}},t,null,[[1,3]])}))()},checkForm:function(e){var t=this;return Object(o.a)(regeneratorRuntime.mark(function r(){var n,o,a;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.preventDefault(),t.isLoading=!0,r.prev=1,r.next=2,t.stripe.confirmCardSetup(t.reqData.intent,{payment_method:{card:t.card,billing_details:{name:"".concat(t.addedUserDetails.firstName," ").concat(t.addedUserDetails.lastName)}}});case 2:n=r.sent,o=n.setupIntent,(a=n.error)&&(t.error=a.message,t.$sentry.captureException(new Error("message: ".concat(a.message,", type:").concat(a.type,", param:").concat(a.param)))),o&&o.error||o&&"succeeded"===o.status&&(t.$router.push({path:"/dashboard",query:{type:"paid"}}),t.isRenew||(t.isFree||t.$gtm.push({event:"purchase_complete",payment_type:"annually",transactionId:t.quote.id,transactionTotal:t.quote.price.total,"prices.total_discounted":t.quote.price.total,policy_total:t.quote.price.total,prices:{discount_percent:t.quote.discount,total_discounted:t.quote.price.total}}),t.$axios.$post("/api/notifications/v1/policy-purchased",{userName:"".concat(t.addedUserDetails.firstName," ").concat(t.addedUserDetails.lastName),url:"https://www.pedalsure.com",policyType:t.isFree?"30 days":t.isRenew?"Renew defer":"New business",paymentMethod:"Stripe",code:t.quote.id,price:t.quote.price.total}))),t.isLoading=!1,r.next=4;break;case 3:r.prev=3,r.catch(1);case 4:case"end":return r.stop()}},r,null,[[1,3]])}))()},initStripe:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark(function t(){var r,n,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!e.isFree){t.next=2;break}return t.next=1,e.$axios.$post("/api/policy/v1/pay/".concat(e.$route.params.quoteid,"/annually/free/").concat(e.$route.params.slug));case 1:e.reqData=t.sent,t.next=8;break;case 2:if(!e.isRenew){t.next=4;break}return t.next=3,e.$axios.$post("/api/policy/v1/policy/".concat(e.renewPolicyCode,"/renew/annually"));case 3:e.reqData=t.sent,t.next=8;break;case 4:if(!e.mtaRetry){t.next=6;break}return t.next=5,e.$axios.$post("/api/policy/v1/policy/mta/pay-retry",{pid:e.$store.getters["mtaQuote/mtaQuote"].pid});case 5:e.reqData=t.sent,t.next=8;break;case 6:return t.next=7,e.$axios.$post("/api/policy/v1/pay/".concat(e.$route.params.quoteid,"/annually"));case 7:e.reqData=t.sent;case 8:r=e.stripe.elements(),n={base:{color:"#32325d",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',fontSmoothing:"antialiased",fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}},e.card=r.create("card",{style:n}),e.card.mount("#card-element"),e.card.on("change",function(t){var r=t.error;e.isLoading=!1,e.error=r?r.message:null}),t.next=10;break;case 9:t.prev=9,(o=t.catch(0)).response&&(e.error=o.response.data.error.error);case 10:case"end":return t.stop()}},t,null,[[0,9]])}))()}}},p=(r(615),r(617),r(7)),f=Object(p.a)(d,function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"annual-payment-contianer p-2"},[t("img",{staticStyle:{margin:"0 auto 50px",width:"100px",display:"block"},attrs:{src:r(610),alt:"pedalsure icon"}}),e._v(" "),t("div",{staticClass:"columns is-mobile"},[t("div",{staticClass:"column ps-title",attrs:{"data-test":"annual-payment-title"}},[e._v("\n        Annual Payment\n      ")]),e._v(" "),t("div",{staticClass:"column powered-by"},[e._v("\n        Powered by\n        "),t("span",{staticClass:"icon fa-2x"},[t("font-awesome-icon",{attrs:{icon:["fab","stripe"]}})],1)])]),e._v(" "),t("div",[t("form",{attrs:{id:"payment-form"},on:{submit:e.checkForm}},[t("div",{staticClass:"form-row"},[e.isStripeLoaded?e._e():t("div",{staticClass:"ps-loader"},[t("Loader")],1),e._v(" "),t("div",{attrs:{id:"card-element"}}),e._v(" "),t("div",{attrs:{id:"card-errors",role:"alert"}},[e._v("\n            "+e._s(e.error)+"\n          ")])]),e._v(" "),t("button",{staticClass:"button ps-button is-fullwidth",class:{"
1is-loading":e.isLoading},attrs:{disabled:!e.isStripeLoaded}},[e._v("\n          Pay\n          "),e.$store.getters["quote/price"].total?t("span",{staticClass:"pl-2"},["giant"===e.$route.params.slug?t("span",[e._v("\n              "+e._s(e._f("toCurrency")(e._f("freePeriodPriceAnnually")(e.$store.getters["quote/price"].total)))+"\n            ")]):t("span",[e._v("\n              "+e._s(e._f("toCurrency")(e.$store.getters["quote/price"].total))+"\n            ")]),e._v(" "),e.$store.getters["quote/addedHiplokTotal"]?t("span",[e._v("\n              + £"+e._s(e.$store.getters["quote/addedHiplokTotalPrice"])+"\n              (\n              "),e.$store.getters["quote/addedHiplok"].dx.count?t("span",[e._v("\n                Hiplok DX:\n                "+e._s(e.$store.getters["quote/addedHiplok"].dx.count)+"\n              ")]):e._e(),e._v(" "),e.$store.getters["quote/addedHiplok"].gold.count?t("span",[e._v("\n                Hiplok Gold:\n                "+e._s(e.$store.getters["quote/addedHiplok"].gold.count)+"\n              ")]):e._e(),e._v(" "),e.$store.getters["quote/addedHiplok"].edx.count?t("span",[e._v("\n                Hiplok E-DX:\n                "+e._s(e.$store.getters["quote/addedHiplok"].edx.count)+"\n              ")]):e._e(),e._v("\n              )\n            ")]):e._e()]):e._e()]),e._v(" "),t("div",{staticClass:"mt-6 is-flex is-justify-content-space-between"},[t("SecuritySeal"),e._v(" "),e._m(0)],1)])])])])},n,!1,null,"12368c07",null);t.a=f.exports},,,function(e,t,r){"use strict";r(613);var n=r(7),o=Object(n.a)({},function(){this._self._c;return this._m(0)},[function(){var e=this,t=e._self._c;return t("div",{staticClass:"lds-roller"},[t("div"),e._v(" "),t("div"),e._v(" "),t("div"),e._v(" "),t("div"),e._v(" "),t("div"),e._v(" "),t("div"),e._v(" "),t("div"),e._v(" "),t("div")])}],!1,null,"ecfff36a",null);t.a=o.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){var n=r(514);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("84a863d4",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(516);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("f8e8cbe4",n,!0,{sourceMap:!1})},,,function(e,t,r){var n=r(538);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("1d933c5e",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(540);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("1cc35f72",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(542);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("581b826c",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(544);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("117d633f",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(546);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("597cc19e",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(548);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("2e31896a",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(550);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("7839dc54",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(552);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("1d24a556",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(554);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("1e16d0a2",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(561);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("43c3e190",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(563);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("35c7f4a2",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(568);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("33a85b06",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(570);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("43090546",n,!0,{sourceMap:!1})},,,function(e,t,r){e.exports={srcSet:r.p+"img/sectigo-trust-seal.0161d2d.212.png 212w",images:[{path:r.p+"img/sectigo-trust-seal.0161d2d.212.png",width:212,height:84}],src:r.p+"img/sectigo-trust-seal.0161d2d.212.png",toString:function(){return r.p+"img/sectigo-trust-seal.0161d2d.212.png"},placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAMCAYAAAB1Lg0yAAAACXBIWXMAAAsTAAALEwEAmpwYAAADxUlEQVQ4ja1U/U+TVxS+paW6f2X7B7YoYdEJKoVuIKwT/WUymD8wdGZOBgFmGY6ipdh0rlJEWmhpa+kHbSk6wJWPZSAg9AuSbdIPImCbmJKVuNL7LO+lGH7ZFpPd5Lzvybnnnuc97z3PQ8iHFce/1g48V42M4pbdSeUOF5U7nDhoSrcHMqsDreYhSE2W19a6/zYPvd7bj+372TiVmiyZtgdWVKnUIZJf8Db5fsi27gtHcK5TufuJ/DbOHrDKTiU+vqnApXt9eJVO439Yae5RpVLPE+uvszjeLN0l770PckpMyQkRJSeKQAqLQQpEIIUlIO/mo66nj51c8vmxFg5jZXUV4UgET5eWEU8k8HxzE4FgEOFIFP5AAD6/n+3/mdqBLxCg0dg6/e2PZ1yJ3TaLDUQ74aVHvmkCOSmmuUVlVFAqgeDMWfBPl4JfUo7DkvPsI2rUGqRTKXR03ESXQgFFZycMej3mZucw7HBg0GBATXU12r5rg6xdhn5dP3RaLebn5/Hl5cvcPlUqlZRD/tb4gJJ+7xTNu9oI8ukFKjT1gFdVDZ7kPASDGuTU1UFQUs46r7nTzTo2GI3o69PC6XTCPTKCmZkZeDwe6A0GuF0uuIaHYbdaYbfZMOLxIBKNQq1Ws7+xuLTEgFsGTQwYR79q4IBxOBmEwKUHr7YWwo0FCGNzEDY3guQX4rMs8H+tzWQSkXgC6UzmH3Oumywg/T9P4mhDC8ix08jtvg3hdhC5cx7wqj9H7qoXb61OgpwsQfUPd9mh7kdjGF18ilBsnWMBYvEEvIEgZFY7BienIWpth+6xF8FoDHK7E+rRRwhvvWCsME3/wmq0DJoZMM1raOaKU764AjnSJvB7VSCFYuQ01uOQ9g5ISRkuZju+qNbg3tgEzimUkJot4JhwpVeLaDyOcZ8fV+7rGAU5RngDIVzVDkByqwvjy3406o302eYWOmzDlGgfe+mR+iaQoo+osKKS8kVnwC8qg6CiEgJxBQ4Vl7PhqlKpGbDKPcr8LzS97N41P42zDga8U5gOreDuwzFmXMw4NYNaTS/qdXp0Od30mk5Pk6kUblhsdI9OTVk6FRZTUiCipKAYjFIcnU6Js3S6z4CnQiv4fWMD2zs7GFlYxM6rv7CeSMA++wSbL1+yzuPJbTifLOBSTx/KZHKsbb2gE74AXV4LMzpx4kLarfY9AVH8i4D0vLmAcPncnXKzcFBAdjOZPQHhlUqOXdPp30wyzXtSyE3nvlwe9LkcLl/p8kDucHExet1kydyw2HBB9eMKyfvgnb8B8/odmLgZcYQAAAAASUVORK5CYII=",width:212,height:84}},function(e,t,r){var n=r(573);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("bb5a1a86",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(575);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("38778d68",n,!0,{sourceMap:!1})},,,,,,,,,function(e,t,r){var n=r(595);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("1aa0ee84",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(597);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("8322f32a",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(599);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("faace2fa",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(601);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("4b2190f7",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(603);
1n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("043b3aa2",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(605);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("34332e62",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(607);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("7d46067f",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(609);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("5b2ad31a",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(614);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("8da4abde",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(616);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("5e5e58d2",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(618);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("194a0f48",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(620);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("48d6accb",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(622);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("10372dd2",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(624);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("19934dfa",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(626);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("18d8185c",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(628);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("5faea1e8",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(630);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("21770649",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(632);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("64cd9126",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(634);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("f0c0cafc",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(636);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("535bcfb4",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(638);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("16729a4c",n,!0,{sourceMap:!1})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r(44),r(31),r(176);var n=r(1),o=r(9),a=(r(3),r(4),r(5),r(6),r(22),r(19),r(12),r(78),r(59),r(228),r(10),r(26),r(27),r(20),r(166),r(21),r(73),r(115)),i=r.n(a);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){Object(o.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var u={$_veeValidate:{value:function(){return this.$el.value},name:function(){return this.name}},props:{handleChange:{type:Function,default:function(){}},name:{type:String,default:"name"},postcode:{type:String,default:"postcode"},errors:{type:String,default:""},disabledLookup:{type:Boolean,default:!1}},data:function(){return{isOpen:!1,results:[],search:"",isLoading:!1,arrowCounter:0,isAddressReady:!1}},mounted:function(){var e=this;document.addEventListener("click",this.handleClickOutside),setTimeout(function(){e.search=e.postcode},10)},destroyed:function(){document.removeEventListener("click",this.handleClickOutside)}
1,methods:{onChange:function(e){this.$emit("input",this.search),this.search.length>=1&&this.searchPostcode(),this.search=e.target.value.toUpperCase(),this.isAddressReady=!1},createAddressObject:function(e,t){var r=e.split(","),n={address:"",street:"",city:r[5],county:r[6],postcode:t};if(" "!==r[2]&&(n.address=r[0]+r[1],n.street=r[2])," "===r[2]&&" "===r[1]){var o=r[0].split(" ");n.address=o[0],o.splice(0,1),n.street=o.join(" ")}return" "===r[2]&&" "!==r[1]&&(n.address=r[0],n.street=r[1])," "===r[6]&&(n.county=r[5]),n},onSelect:function(e){if(e.id)if(this.search=e.id,this.disabledLookup){this.isOpen=!1;var t={address:"",street:"",city:"",county:"",postcode:this.search};this.$emit("handleChange",t),this.isAddressReady=!0}else this.postcodeLookUp(this.search);else if(e.fullAddress){this.isOpen=!1;var r=e.fullAddress,n=this.search,o=c(c({},r),{},{postcode:n});this.$emit("handleChange",o),this.isAddressReady=!0}},handleClickOutside:function(e){this.$el.contains(e.target)||(this.isOpen=!1,this.arrowCounter=-1)},autofill:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.search){t.next=1;break}return t.abrupt("return");case 1:return t.prev=1,t.next=2,e.$axios.$get("/api/helpers/v1/validate-postcode/".concat(e.search));case 2:r=t.sent,r.result?e.postcodeLookUp(e.search):e.searchPostcode(),t.next=4;break;case 3:t.prev=3,t.catch(1),e.postcodeLookUp(e.search);case 4:case"end":return t.stop()}},t,null,[[1,3]])}))()},searchPostcode:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.isLoading=!0,e.isOpen=!0,t.prev=1,t.next=2,e.$axios.$get("/api/helpers/v1/search-postcode/".concat(e.search));case 2:r=t.sent,e.results=r.filter(function(e){return!e.text.startsWith("GY")&&!e.text.startsWith("JE")}),e.isLoading=!1,t.next=4;break;case 3:t.prev=3,t.catch(1),e.results=[{notFoundText:"Postcode not found"}],e.isLoading=!1;case 4:case"end":return t.stop()}},t,null,[[1,3]])}))()},postcodeLookUp:function(e){var t=this;this.results=[],this.isLoading=!0,this.isOpen=!0,i.a.get("https://api.ideal-postcodes.co.uk/v1/postcodes/".concat(e,"?api_key=ak_mn5tzbn2VGJjiLMg0VhCQiPeGxkyU")).then(function(e){t.results=e.data.result.filter(function(e){return!e.post_town.startsWith("Guernsey")&&!e.post_town.startsWith("Jersey")}).map(function(e){var t={address:e.line_1,street:e.line_2||e.line_1,city:e.post_town,county:e.county||"-"};return{final:!0,text:[e.line_1,e.line_2,e.line_3,e.post_town].filter(function(e){return e}).join(", "),fullAddress:t}}),t.isLoading=!1,t.isOpen=!0,t.arrowCounter=0}).catch(function(r){t.isLoading=!1,t.isOpen=!1;var n={address:"",street:"",city:"",county:"",postcode:e};t.$emit("handleChange",n),t.isAddressReady=!0})}}},l=(r(594),r(7)),d=Object(l.a)(u,function(){var e=this,t=e._self._c;return t("div",{staticClass:"autocomplete"},[t("div",{staticClass:"control has-icons-right"},[e.disabledLookup?e._e():t("div",{staticClass:"autofill-button",class:{"is-loading":e.isLoading},on:{click:e.autofill}},[e.isLoading?t("span",{staticClass:"spinner"}):t("span",[e._v("Find Address")])]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"input",attrs:{id:"pcodehouse",name:e.name,type:"text",required:"",autocomplete:"new-password"},domProps:{value:e.search},on:{input:[function(t){t.target.composing||(e.search=t.target.value)},e.onChange]}}),e._v(" "),t("label",{staticClass:"form-control-placeholder",attrs:{for:"pcodehouse"}},[e._v("\n      Postcode\n    ")]),e._v(" "),e.isAddressReady&&!e.disabledLookup?t("span",{staticClass:"icon is-danger is-small is-right postcode-right-icon"},[t("div",{staticClass:"checkbox-icon"})]):e._e(),e._v(" "),t("span",{staticClass:"help",class:{"is-danger":e.errors}},[e._v(e._s(e.errors))]),e._v(" "),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],staticClass:"autocomplete-results",attrs:{id:"autocomplete-results"}},[e.isLoading?t("li",{staticClass:"autocomplete-result"},[e._v("Loading...")]):e._l(e.results,function(r,n){return t("li",{key:n,staticClass:"autocomplete-result",class:{"
1is-active":n===e.arrowCounter},on:{click:function(t){return e.onSelect(r)}}},[e._v("\n        "+e._s(r.id||r.text||r.notFoundText)+"\n      ")])})],2)])])},[],!1,null,"42145304",null);t.a=d.exports},,,,,,function(e,t,r){r(3),r(4),r(5),r(6)},,,,,function(e){e.exports=JSON.parse('{"title":"pedalsure","meta":[{"hid":"charset","charset":"utf-8"},{"hid":"viewport","name":"viewport","content":"width=device-width, initial-scale=1"},{"hid":"mobile-web-app-capable","name":"mobile-web-app-capable","content":"yes"},{"hid":"apple-mobile-web-app-title","name":"apple-mobile-web-app-title","content":"pedalsure"},{"hid":"og:type","name":"og:type","property":"og:type","content":"website"},{"hid":"og:title","name":"og:title","property":"og:title","content":"pedalsure"},{"hid":"og:site_name","name":"og:site_name","property":"og:site_name","content":"pedalsure"}],"link":[{"hid":"shortcut-icon","rel":"shortcut icon","href":"/_nuxt/icons/icon_64x64.573070.png"},{"hid":"apple-touch-icon","rel":"apple-touch-icon","href":"/_nuxt/icons/icon_512x512.573070.png","sizes":"512x512"},{"rel":"manifest","href":"/_nuxt/manifest.6429383e.json","hid":"manifest"}],"htmlAttrs":{"lang":"en"}}')},,,,,,,,,,,,function(e,t,r){"use strict";var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),r(10),r(73),r(8)),a=r(2),i=window.__NUXT__;function s(){if(!this._hydrated)return this.$fetch()}function c(){if((e=this).$vnode&&e.$vnode.elm&&e.$vnode.elm.dataset&&e.$vnode.elm.dataset.fetchKey){var e;this._hydrated=!0,this._fetchKey=this.$vnode.elm.dataset.fetchKey;var t=i.fetch[this._fetchKey];if(t&&t._error)this.$fetchState.error=t._error;else for(var r in t)o.default.set(this.$data,r,t[r])}}function u(){var e=this;return this._fetchPromise||(this._fetchPromise=l.call(this).then(function(){delete e._fetchPromise})),this._fetchPromise}function l(){return d.apply(this,arguments)}function d(){return(d=Object(n.a)(regeneratorRuntime.mark(function e(){var t,r,n,o,i=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,t=null,r=Date.now(),e.prev=1,e.next=2,this.$options.fetch.call(this);case 2:e.next=4;break;case 3:e.prev=3,o=e.catch(1),t=Object(a.p)(o);case 4:if(!((n=this._fetchDelay-(Date.now()-r))>0)){e.next=5;break}return e.next=5,new Promise(function(e){return setTimeout(e,n)});case 5:this.$fetchState.error=t,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick(function(){return i.$nuxt.nbFetching--});case 6:case"end":return e.stop()}},e,this,[[1,3]])}))).apply(this,arguments)}t.a={beforeCreate:function(){Object(a.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.default.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=u.bind(this),Object(a.a)(this,"created",c),Object(a.a)(this,"beforeMount",s))}}},,,,,,,,,,,,,function(e,t,r){e.exports={srcSet:r.p+"img/vivup.7b2a6e9.2054.png 2054w",images:[{path:r.p+"img/vivup.7b2a6e9.2054.png",width:2054,height:969}],src:r.p+"img/vivup.7b2a6e9.2054.png",toString:function(){return r.p+"img/vivup.7b2a6e9.2054.png"},placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAOCAYAAAA45qw5AAAACXBIWXMAAAsSAAALEgHS3X78AAADYklEQVQ4jaVT22/UVRCe1lRIW4pILW0ppZxpt9gAznQRLymmlt12Y7CEFhRqZ2AboV1jMdSkD40vGNNCdSVE2i1CY4RqQpSradDIk/HBrhf6oIk+8eaf4Ouac9m6UgOJnGSy55zfnPnmm+9bgP9Y41vSkN78AeSgDbpT8yWV838CfvJ7qunTP/Z3XpmFW781wPRCHDLZGMxk4zATfh96jW9Jw/staYBcDl7Vq7Dip7+a6ufuDtecv/tm8tbxts/v7Hh+eqGrK5ONHZnJxiMePF708MBbP4R0ZBIm+MzqicjJlzve+ibzxuCNutHv9x/ffXX8i7k77YmphdjOTDZ2diYbr8oz/9+LUV1c2jYLObgAOQB4Z/uZucShr2+c7nv74qnb/aMwlXvt0uJ2OLfQEZ3+Id57fnEXzP7aUYzlSWAUIBRbo8iFEXCBen9gCkktps+dJ8x7cLp5YtvAnssXe4cuXNt97cR33fOXu6//3GAyP3ae+CX37Ipj43tgYKSniIw6UAdsPAEL7huR+4O7ZFvACDxlZFV742DJscgYTELH47D+24qRz/Y+k7ndlvp4MZ48dbOrAWC49MWdfaXRiCu+klDKCKWEjW4g1Nr8BG3QA4FRiwPzBBnprd+0D7Y26mDU9B1orjiUeLI6OXTw6D7YXHn4pdYmGSajBwLbvWzkFUY9x6gDhHKSUBJ21IRS/ADG/2jCqE8w6iih7mDUg4TaE22WF1obJRVtlqdbmyRFRjsZ5agH1h5CHWLUdy07Ql1FKJNBb1gGHB6FceRB5ZEwnsOM+iWjlpLRfkZpZ5RaRvmKjMbIyCZGnSLUUkY9S6hHAuMqRt1V0AQUEPJNLGngDOE/kpEiN26jhoykgmmeY9SW
10NwIoVaG/etkdIxQ+smIBfuIUZOMOsaoNffIB85DKB7YdRU++A6XGvBOLfhb5HN8keDYMDUyWs1+SgWE8oDyL5J2U8ao9UHTKkIt93updsxR1jJKHaPWks01Uk4ohlHryEgF+bfVbJyWaxh1gzujNlh3M+pj4W5dkKCGUB61jGyhjWzEXtoHa72mUksotpg9++JubxtRq22dNRCjbmTU9exzV4d8+3YdGV3DrjnrBbHAtoYlUbZ8JEsRRrxkuEIJ8loVxLL399x5zwTpFP4GU4pO3fnauDEAAAAASUVORK5CYII=",width:2054,height:969}},function(e,t,r){e.exports={srcSet:r.p+"img/enjoy-benefits.9e199dc.640.png 640w",images:[{path:r.p+"img/enjoy-benefits.9e199dc.640.png",width:640,height:263}],src:r.p+"img/enjoy-benefits.9e199dc.640.png",toString:function(){return r.p+"img/enjoy-benefits.9e199dc.640.png"},placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAMCAYAAAB1Lg0yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEdElEQVQ4jbWSa0xURxTHzyLIyqvLXGZBokZp1b2zyFPgDgjC7qxvbSVh7wWsBK1Fq5BGRduNuiP11dpqWkIiRdjdglHb+iqptYJYV7YipaUPmyYm7MXnl9qmX9qkH9pp7lKS9nt7kn/OnMzk/OZ/ZuDKzWTT1cEk+HhweuZAaNrOU8FC08BgrOn6rTi4FprQ/xL2HgGkRyzfdNH/e3Aw+u6NYDQEb0UZwCnXQvHQPxgPA5/HQX/Q/N+Ci7ufQMXpsQvsw+9Ed2jBLzdDpku9wZlp/cNTYSCYGPXty5VwP/sI6JSDrnAYKfIAIiwi6R95cm3E5H5EMjMhOZJBkp2AZGfkLKwJ3Jm++Nzd3yrb7v5xoVUT10dgtP9mUkffaFT+9YFkGPUsj7qXf2ACTLnJyKK8A7bkPB9pNtkoIqP5vy5igBik5i4zapMBTp7vAEl2AKzs+cFOL4Z/7V5/VjxcUyc+um3NCQ3DlOClGS99dg0VjLxZDGOOV5J1yhPGKYdxhZvOF2w3ga0UnpId5lmyKwJJMSDEOeHKgEzUhts5ERhhkPZ3lmwVAAuuPC7ZdvSGCC1558+xFY2iv3e2/YH8VvP97CO7hk/kJoUX7TGcLtUpzwwrXhCLjsPBvE0AtkWJKYS1IMLWO2wUUmSnKTJ22Rk9OVpEWJVE2BaJsHkSYTMnRu/MkAizQlrfY7y57faDtopD4mtXrRgZml80nnPQFy7d0zxe2NKkU96hU+7RKW/UKT8Wpt7WH4tfq/u0sHk3IuxkCmEeibAaRNguibDtiLAdiLBqRFgzIsyHCGtChB2RCNsvEeZBhM0zngdq3w7Bs77Rlo7MRnE16zkxeEKxj+cfOBku3ufWKW/XKX9Dp/wrnfI7usJfDCv8yiPa8s3lwp2tYCtpSCWuNomwyxJhjYiwA0h2bkaEhSTCNiDCvIiwOkRYu0RYASJsq0TY8sjnqny9D1a1D23cm7tVnLev/vnCJUv6vYUHeZh6j44rnIcpV3XK+3TKj+uUB8aod81Dur/nYsH2FWAr220lrm1Idu6VZKfhshLJzqWIsGMSYSoibC2yVSxDsrMBEfYCkh0bkOw0BKD0PoCyvkclGaxJtNdnhoWABCEAvnfttoiYlSDyXo29r3hbnxTtm3G+/BA8VHjWPcXrOblwG+CsVeYExw6wNn05RcpanYyX7AUpZy2kLG4CNK80aXrtWcDrz8XOEgKQfWmCRDemovS5gPlPAErnF1B+ZrR0RmmDqK+fLz4ZSnIBiCRLXWeepAVYhruLznV32c013dnmmveyyyrffcaqBYot1QGWWt1djjW/C2v+2bj2dC7W/HlY9c/FWkDB687YsRbIwprfgTV/ibXmVCmuObUKq/4MrAUAivgHUHa0F0tF1Z7ZRcWHHVUF6wzH2XXHp6arvkSLFrBaqgPpc9xdlqfdvmlQ/360VfPHpav+tBTVl45VfyKu6ojBalciVn1xWPXFYNUXj6s6zFj1xWLVZ8ZawIzVrnjs7kzEalcMdnfCXz/QqHnPMpk3AAAAAElFTkSuQmCC",width:640,height:263}},,,,,,function(e,t,r){e.exports=r(458)},function(e,t,r){"use strict";r.r(t),function(e){var t=r(49),n=r(1),o=(r(3),r(4),r(5),r(6),r(22),r(12),r(61),r(111),r(46),r(19),r(123),r(93),r(69),r(59),r(92),r(44),r(20),r(10),r(31),r(65),r(85),r(60),r(486),r(491),r(21),r(70),r(73),r(8)),a=r(416),i=r(262),s=r(2),c=r(83),u=r(437),l=r(204);function d(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}o.default.__nuxt__fetch__mixin__||(o.default.mixin(u.a),o.default.__nuxt__fetch__mixin__=!0),o.default.component(l.a.name,l.a),o.default.component("NLink",l.a),e.fetch||(e.fetch=a.a);var f,m,h=[],v=window.__NUXT__||{},b=v.config||{};if(b._app&&(r.p=Object(s.v)(b._app.cdnURL,b._app.assetsPath)),Object.assign(o.default.config,{silent:!0,performance:!1}),!o.default.config.$nuxt){var g=o.default.config.errorHandler;o.default.config.errorHandler=function(){var e=Object(n.a)(regeneratorRuntime.mark(function e(t,r,n){var a,i,s,u,l,d,p,f=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=null,"function"==typeof g){for(i=f.length,s=new Array(i>3?i-3:0),u=3;u<i;u++)s[u-3]=f[u];a=g.apply(void 0,[t,r,n].concat(s))}if(!0!==a){e.next=1;break}return e.abrupt("return",a);case 1:if(!r||!r.$root){e.next=3;break}if(!(l=Object.keys(o.default.config.$nuxt).find(function(e){return r.$root[e]}))||!r.$root[l].error||"render function"===n){e.next=3;break}if(d=r.$root[l],"function"==typeof(p=(c.a.options||c.a).layout)&&(p=p(d.context)),!p){e.
1next=2;break}return e.next=2,d.loadLayout(p).catch(function(){});case 2:d.setLayout(p),d.error(t);case 3:if("function"!=typeof g){e.next=4;break}return e.abrupt("return",a);case 4:0;case 5:case"end":return e.stop()}},e)}));return function(t,r,n){return e.apply(this,arguments)}}(),o.default.config.$nuxt={}}o.default.config.$nuxt.$nuxt=!0;var y=o.default.config.errorHandler||console.error;function _(e,t,r){for(var n=function(e){var n=function(e,t){if(!e||!e.options||!e.options[t])return{};var r=e.options[t];if("function"==typeof r){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];return r.apply(void 0,o)}return r}(e,"transition",t,r)||{};return"string"==typeof n?{name:n}:n},o=r?Object(s.g)(r):[],a=Math.max(e.length,o.length),i=[],c=function(){var t=Object.assign({},n(e[u])),r=Object.assign({},n(o[u]));Object.keys(t).filter(function(e){return void 0!==t[e]&&!e.toLowerCase().includes("leave")}).forEach(function(e){r[e]=t[e]}),i.push(r)},u=0;u<a;u++)c();return i}function x(e,t,r){return w.apply(this,arguments)}function w(){return(w=Object(n.a)(regeneratorRuntime.mark(function e(t,r,n){var o,a,i,c,u,l=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._routeChanged=Boolean(f.nuxt.err)||r.name!==t.name,this._paramChanged=!this._routeChanged&&r.path!==t.path,this._queryChanged=!this._paramChanged&&r.fullPath!==t.fullPath,this._diffQuery=this._queryChanged?Object(s.i)(t.query,r.query):[],(this._routeChanged||this._paramChanged)&&this.$loading.start&&!this.$loading.manual&&this.$loading.start(),e.prev=1,!this._queryChanged){e.next=3;break}return e.next=2,Object(s.r)(t,function(e,t){return{Component:e,instance:t}});case 2:o=e.sent,o.some(function(e){var n=e.Component,o=e.instance,a=n.options.watchQuery;return!0===a||(Array.isArray(a)?a.some(function(e){return l._diffQuery[e]}):"function"==typeof a&&a.apply(o,[t.query,r.query]))})&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();case 3:n(),e.next=6;break;case 4:if(e.prev=4,u=e.catch(1),i=(a=u||{}).statusCode||a.status||a.response&&a.response.status||500,c=a.message||"",!/^Loading( CSS)? chunk (\d)+ failed\./.test(c)){e.next=5;break}return window.location.reload(!0),e.abrupt("return");case 5:this.error({statusCode:i,message:c}),this.$nuxt.$emit("routeChanged",t,r,a),n();case 6:case"end":return e.stop()}},e,this,[[1,4]])}))).apply(this,arguments)}function k(e,t){return v.serverRendered&&t&&Object(s.b)(e,t),e._Ctor=e,e}function O(e){return Object(s.d)(e,function(){var e=Object(n.a)(regeneratorRuntime.mark(function e(t,r,n,o,a){var i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof t||t.options){e.next=2;break}return e.next=1,t();case 1:t=e.sent;case 2:return i=k(Object(s.s)(t),v.data?v.data[a]:null),n.components[o]=i,e.abrupt("return",i);case 3:case"end":return e.stop()}},e)}));return function(t,r,n,o,a){return e.apply(this,arguments)}}())}function E(e,t,r,n){var o=this,a=["check-before-move"],c=!1;if(void 0!==r&&(a=[],(r=Object(s.s)(r)).options.middleware&&(a=a.concat(r.options.middleware)),e.forEach(function(e){e.options.middleware&&(a=a.concat(e.options.middleware))})),a=a.map(function(e){return"function"==typeof e?e:("function"!=typeof i.a[e]&&(c=!0,o.error({statusCode:500,message:"Unknown middleware "+e})),i.a[e])}),!c)return Object(s.o)(a,t,n)}function C(e,t,r,n){return T.apply(this,arguments)}function T(){return T=Object(n.a)(regeneratorRuntime.mark(function e(t,r,o,a){var i,u,l,p,m,v,b,g,y,x,w,k,O,C,T,S,P,R,A=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){e.next=1;break}return e.abrupt("return",o());case 1:return t===r?(h=[],!0):(i=[],h=Object(s.g)(r,i).map(function(e,t){return Object(s.c)(r.matched[i[t]].path)(r.params)})),u=!1,l=function(e){r.path===e.path&&A.$loading.finish&&A.$loading.finish(),r.path!==e.path&&A.$loading.pause&&A.$loading.pause(),u||(u=!0,o(e))},e.next=2,Object(s.t)(f,{route:t,from:r,error:function(e){a.aborted||f.nuxt.error.call(A,e)},next:l.bind(this)});case 2:if(this._dateLastError=f.nuxt.dateErr,this._hadError=Boolean(f.nuxt.err),p=[],(m=Object(s.g)(t,p)).length){e.next=10;break}return e.next=3,E.call(this,m,f.context,void 0,a);case 3:if(!u){e.next=4;break}return e.abrupt("return");case 4:if(!a.aborted){e.next=5;break}return o(!1),e.abrupt("return");case 5:return v=(c.a.options||c.a).layout,e.next=6,this.loadLayout("function"==typeof v?v.call(c.a,f.context):v);case 6:return b=e.sent,e.next=7,E.call(this,m,f.context,b,a);case 7:if(!u){e.next=8;break}return e.abrupt("return");case 8:if(!a.aborted){e.next=9;break}return o(!1),e.abrupt("return");case 9:return f.context.error({statusCode:404,message:"This page could not be found"}),e.abrupt("return",o());case 10:return m.forEach(function(e){e._Ctor&&e._Ctor.options&&(e.options.asyncData=e._Ctor.options.asyncData,e.options.fetch=e._Ctor.options.fetch)}),this.setTransitions(_(m,t,r)),e.prev=11,e.next=12,E.call(this,m,f.context,void 0,a);case 12:if(!u){e.next=13;break}return e.abrupt("return");case 13:if(!a.aborted){e.next=14;break}return o(!1),e.abrupt("return");case 14:if(!f.context._errored){e.next=15;break}return e.abrupt("return",o());case 15:return"function"==typeof(g=m[0].options.layout)&&(g=g(f.context)),e.next=16,this.loadLayout(g);case 16:return g=e.sent,e.next=17,E.call(this,m,f.context,g,a);case 17:if(!u){e.next=18;break}return e.abrupt("return");case 18:if(!a.aborted){e.next=19;break}return o(!1),e.abrupt("return");case 19:if(!f.context._errored){e.next=20;break}return e.abrupt("return",o());case 20:y=!0,e.prev=21,x=d(m),e.prev=22,x.s();case 23:if((w=x.n()).done){e.next=27;break}if("function"==typeof(k=w.value).options.validate){e.next=24;break}return e.abrupt("continue",26);case 24:return e.next=25,k.options.validate(f.context);case 25:if(y=e.sent){e.next=26;break}return e.abrupt("continue",27);case 26:e.next=23;break;case 27:e.next=29;break;case 28:e.prev=28,S=e.catch(22),x.e(S);case 29:return e.prev=29,x.f(),e.finish(29);case 30:e.next=32;break;case 31:return e.prev=31,P=e.catch(21),this.error({statusCode:P.statusCode||"500",message:P.message}),e.abrupt("return",o());case 32:if(y){e.next=33;break}return this.error({statusCode:404,message:"This page could not be found"}),e.abrupt("return",o());case 33:return e.next=34,Promise.all(m.map(function(){var e=Object(n.a)(regeneratorRuntime.mark(function e(n,o){var a,i,c,u,l,d,m,v,b;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n._path=Object(s.c)(t.matched[p[o]].path)(t.params),n._dataRefresh=!1,a=n._path!==h[o],A._routeChanged&&a?n._dataRefresh=!0:A._paramChanged&&a?(i=n.options.watchParam,n._dataRefresh=!1!==i):A._queryChanged&&(!0===(c=n.options.watchQuery)?n._dataRefresh=!0:Array.isArray(c)?n._dataRefresh=c.some(function(e){return A._diffQuery[e]}):"function"==typeof c&&(O||(O=Object(s.h)(t)),n._dataRefresh=c.apply(O[o],[t.query,r.query]))),A._hadError||!A._isMounted||n._dataRefresh){e.next=1;break}return e.abrupt("return");case 1:return u=[],l=n.options.asyncData&&"function"==typeof n.options.asyncData,d=Boolean(n.options.fetch)&&n.options.fetch.length,m=l&&d?30:45,l&&((v=Object(s.q)(n.options.asyncData,f.context)).then(function(e){Object(s.b)(n,e),A.$loading.increase&&A.$loading.increase(m)}),u.push(v)),A.$loading.manual=!1===n.options.loading,d&&((b=n.options.fetch(f.context))&&(b instanceof Promise||"function"==typeof b.then)||(b=Promise.resolve(b)),b.then(function(e){A.$loading.increase&&A.$loading.increase(m)}),u.push(b)),e.abrupt("return",Promise.all(u));case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()));case 34:if(u){e.next=36;break}if(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),!a.aborted){e.next=35;break}return o(!1),e.abrupt("return");case 35:o();case 36:e.next=41;break;case 37:if(e.prev=37,R=e.catch(11),!a.aborted){e.next=38;break}return o(!1),e.abrupt("return");case 38:if("ERR_REDIRECT"!==(C=R||{}).message){e.next=39;break}return e.abrupt("return",this.$nuxt.$emit("routeChanged",t,r,C));case 39:return h=[],Object(s.k)(C),"function"==typeof(T=(c.a.options||c.a).layout)&&(T=T(f.context)),e.next=40,this.loadLayout(T);case 40:this.error(C),this.$nuxt.$emit("routeChanged",t,r,C),o();case 41:case"end":return e.stop()}},e,this,[[11,37],[21,31],[22,28,29,30]])})),T.apply(this,arguments)}function S(e,r){Object(s.d)(e,function(e,r,n,a){return"object"!==Object(t.a)(e)||e.options||((e=o.default.extend(e))._Ctor=e,n.components[a]=e),e})}Object(c.b)(null,v.config).then(function(e){return M.apply(this,arguments)}).catch(y);var P=new WeakMap;function R(e,t,r){var n=Boolean(this.$options.nuxt.err);this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(n=!1);var o=n?(c.a.options||c.a).layout:e.matched[0].components.default.options.layout;"function"==typeof o&&(o=o(f.context)),P.set(e,o),r&&r()}function A(e){var t=P.get(e);P.delete(e),this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(this.$options.nuxt.err=null),this.setLayout(t)}function j(e){e._hadError&&e._dateLastError===e.$options.nuxt.dateErr&&e.error()}function I(e,t){var r=this;if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){var n=Object(s.h)(e),a=Object(s.g)(e),i=!1;
1o.default.nextTick(function(){n.forEach(function(e,t){if(e&&!e._isDestroyed&&e.constructor._dataRefresh&&a[t]===e.constructor&&!0!==e.$vnode.data.keepAlive&&"function"==typeof e.constructor.options.data){var r=e.constructor.options.data.call(e);for(var n in r)o.default.set(e.$data,n,r[n]);i=!0}}),i&&window.$nuxt.$nextTick(function(){window.$nuxt.$emit("triggerScroll")}),j(r)})}}function L(e){window.onNuxtReadyCbs.forEach(function(t){"function"==typeof t&&t(e)}),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(e),m.afterEach(function(t,r){o.default.nextTick(function(){return e.$nuxt.$emit("routeChanged",t,r)})})}function M(){return(M=Object(n.a)(regeneratorRuntime.mark(function e(t){var r,n,a,i,c,u,l,d;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return f=t.app,m=t.router,t.store,r=new o.default(f),n=v.layout||"default",e.next=1,r.loadLayout(n);case 1:return r.setLayout(n),a=function(){r.$mount("#__nuxt"),m.afterEach(S),m.beforeResolve(R.bind(r)),m.afterEach(A.bind(r)),m.afterEach(I.bind(r)),o.default.nextTick(function(){L(r)})},e.next=2,Promise.all(O(f.context.route));case 2:if(i=e.sent,r.setTransitions=r.$options.nuxt.setTransitions.bind(r),i.length&&(r.setTransitions(_(i,m.currentRoute)),h=m.currentRoute.matched.map(function(e){return Object(s.c)(e.path)(m.currentRoute.params)})),r.$loading={},v.error&&(r.error(v.error),r.nuxt.errPageReady=!0),m.beforeEach(x.bind(r)),c=null,u=C.bind(r),m.beforeEach(function(e,t,r){c&&(c.aborted=!0),u(e,t,r,c={aborted:!1})}),!v.serverRendered||!Object(s.n)(v.routePath,r.context.route.path)){e.next=3;break}return e.abrupt("return",a());case 3:return l=function(){R.call(r,m.currentRoute),A.call(r,m.currentRoute)},d=function(){S(m.currentRoute,m.currentRoute),l(),j(r),a()},e.next=4,new Promise(function(e){return setTimeout(e,0)});case 4:C.call(r,m.currentRoute,m.currentRoute,function(e){if(e){var t=m.afterEach(function(e,r){t(),d()});m.push(e,void 0,function(e){e&&y(e)})}else d()},{aborted:!1});case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}}.call(this,r(51))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(1);r(3),r(4),r(5),r(6),r(22);function o(){return(o=Object(n.a)(regeneratorRuntime.mark(function e(t){var r,n,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.store,n=t.redirect,o=t.route,!r.getters["user/user"]||!r.getters["user/user"].email||"[email protected]"!==r.getters["user/user"].email){e.next=1;break}return e.abrupt("return",n("/login?nextUrl=".concat(o.path)));case 1:if(r.getters["user/isAuthenticated"]){e.next=3;break}return e.next=2,r.dispatch("user/logout");case 2:return e.abrupt("return",n("/login?nextUrl=".concat(o.path)));case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}t.default=function(e){return o.apply(this,arguments)}},function(e,t,r){r(3),r(4),r(5),r(6)},function(e,t,r){"use strict";r.r(t);r(3),r(4),r(5),r(6),r(44);t.default=function(e){var t=e.store,r=e.redirect;e.route;t.app.router.beforeEach(function(e,t,n){return"dashboard"===t.name&&"quote-quoteid-annual"===e.name||"dashboard"===t.name&&"success-gocardlless"===e.name||"dashboard"===t.name&&"success-free"===e.name?r("/"):void n()})}},function(e,t,r){"use strict";r.r(t);r(3),r(4),r(5),r(6);t.default=function(e){var t=e.store,r=e.redirect;if(t.getters["user/isAuthenticated"])return r("/dashboard")}},function(e,t,r){"use strict";r.r(t);var n=r(1);r(3),r(4),r(5),r(6),r(22);function o(){return(o=Object(n.a)(regeneratorRuntime.mark(function e(t){var r,n,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.store,n=t.redirect,o=t.route,!r.getters["quote/isQuoteEmpty"]){e.next=3;break}return e.next=1,r.dispatch("quote/fetchQuote",o.params.quoteid);case 1:if(!r.getters["quote/quoteError"]){e.next=2;break}return e.abrupt("return",n("/"));case 2:return e.next=3,r.dispatch("quote/calculatePrice");case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}t.default=function(e){return o.apply(this,arguments)}},function(e,t,r){"use strict";r.r(t);var n=r(1);r(3),r(4),r(5),r(6),r(22);function o(){return(o=Object(n.a)(regeneratorRuntime.mark(function e(t){var r,n,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.store,n=t.redirect,o=t.route,!r.getters["quote/isQuoteEmpty"]){e.next=3;break}return e.next=1,r.dispatch("quote/fetchPublicQuote",o.params.quoteid||o.params.policyid);case 1:if(!r.getters["quote/quoteError"]){e.next=2;break}return e.abrupt("return",n("/"));case 2:return e.next=3,r.dispatch("quote/calculatePrice");case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}t.default=function(e){return o.apply(this,arguments)}},,,,,,,,,,,,function(e,t,r){"use strict";r(327)},function(e,t,r){var n=r(13)(function(e){return e[1]});
1n.push([e.i,'.ps-error[data-v-0fd0eb90]{background:#fff;overflow-x:hidden}.ps-error__stage[data-v-0fd0eb90]{margin:8px auto 0;max-width:1200px;padding:0 12px;position:relative}.ps-error__scene[data-v-0fd0eb90]{display:block;height:auto;width:100%}.ps-error__numerals text[data-v-0fd0eb90]{font-size:220px}.ps-error__bubble-text[data-v-0fd0eb90],.ps-error__numerals text[data-v-0fd0eb90]{fill:#3e4cd4;font-family:"Lettera Text LL",Helvetica,Arial,sans-serif;font-weight:700;text-anchor:middle}.ps-error__bubble-text[data-v-0fd0eb90]{font-size:26px}.ps-error__wheel[data-v-0fd0eb90]{cursor:pointer}.ps-error__replay[data-v-0fd0eb90]{align-items:center;background:none;border:0;border-radius:8px;color:#767b8c;cursor:pointer;display:inline-flex;font-family:"Lettera Text LL",Helvetica,Arial,sans-serif;font-size:14px;gap:6px;min-height:44px;padding:6px 10px;position:absolute;right:20px;top:8px;visibility:hidden}.ps-error__replay.is-visible[data-v-0fd0eb90]{visibility:visible}.ps-error__replay svg[data-v-0fd0eb90]{height:14px;width:14px}.ps-error__replay[data-v-0fd0eb90]:hover{color:#3e4cd4}.ps-error__replay[data-v-0fd0eb90]:focus-visible{outline:3px solid #3e4cd4;outline-offset:2px}.ps-error__copy[data-v-0fd0eb90]{margin:0 auto;max-width:640px;padding:12px 24px 88px;text-align:center}.ps-error__copy--generic[data-v-0fd0eb90]{padding-top:96px}.ps-error__code[data-v-0fd0eb90]{color:#767b8c;font-size:13px;font-weight:600;letter-spacing:.08em;margin-bottom:12px;text-transform:uppercase}.ps-error__title[data-v-0fd0eb90]{color:#3e4cd4;font-size:max(28px,min(4vw,40px));font-weight:700;letter-spacing:-.01em;line-height:1.15}.ps-error__lede[data-v-0fd0eb90]{color:#4b5061;font-size:18px;line-height:1.55;margin-top:14px}.ps-error__lede code[data-v-0fd0eb90]{background:#ecedfb;border-radius:6px;color:#14161f;font-size:.9em;padding:1px 6px;word-break:break-all}.ps-error__lede strong[data-v-0fd0eb90]{color:#14161f}.ps-error__actions[data-v-0fd0eb90]{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:28px}.ps-error__shortcuts[data-v-0fd0eb90]{margin-top:40px}.ps-error__shortcuts ul[data-v-0fd0eb90]{display:flex;flex-wrap:wrap;gap:4px 22px;justify-content:center;list-style:none;margin:6px 0 0;padding:0}.ps-error__shortcuts a[data-v-0fd0eb90]{color:#3e4cd4;display:inline-block;font-weight:600;padding:10px 0;-webkit-text-decoration:underline;text-decoration:underline;text-decoration-color:#c9cdf3;text-underline-offset:4px}.ps-error__shortcuts a[data-v-0fd0eb90]:hover{text-decoration-color:#3e4cd4}.ps-error__shortcuts-title[data-v-0fd0eb90]{color:#4b5061;font-size:16px;font-weight:400}.ps-error__help[data-v-0fd0eb90]{color:#4b5061;font-size:16px;margin-top:20px}.ps-error__help a[data-v-0fd0eb90]{color:#3e4cd4;font-weight:600}@media(max-width:760px){.ps-error__replay[data-v-0fd0eb90]{display:flex;margin:0 auto;position:static}.ps-error__actions .ps-btn[data-v-0fd0eb90]{width:100%}}',""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(328)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".nuxt-progress{background-color:#404afc;height:2px;left:0;opacity:1;position:fixed;right:0;top:0;transition:width .1s,opacity .4s;width:0;z-index:999999}.nuxt-progress.nuxt-progress-notransition{transition:none}.nuxt-progress-failed{background-color:red}",""]),n.locals={},e.exports=n},,,,,,,function(e,t,r){var n=r(524);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("cb34f6da",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(13),o=r(205),a=r(525),i=r(526),s=n(function(e){return e[1]}),c=o(a),u=o(i);s.push([e.i,'@font-face{font-display:swap;font-family:"Lettera Text LL";font-style:normal;font-weight:400;src:url('+c+') format("woff2")}@font-face{font-display:swap;font-family:"Lettera Text LL";font-style:normal;font-weight:700;src:url('+u+') format("woff2")}@font-face{font-display:swap;font-family:"Lettera Text LL";font-style:normal;font-weight:600;src:url('+u+') format("woff2")}',""]),s.locals={},e.exports=s},function(e,t,r){e.exports=r.p+"fonts/LetteraTextLLWeb-Regular.ad9a827.woff2"},function(e,t,r){e.exports=r.p+"fonts/LetteraTextLLWeb-Bold.9d4feb7.woff2"},function(e,t,r){var n=r(528);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("d4b6495a",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(13),o=r(205),a=r(130),i=r(276),s=n(function(e){return e[1]}),c=o(a),u=o(i);
1s.push([e.i,'.slide-modal{z-index:2147483000}.slide-modal .slide-modal-container{font-family:"Lettera Text LL",Helvetica,Arial,sans-serif;margin:auto 0;min-width:300px;padding:0 15px;width:100%}@media print,screen and (min-width:769px){.slide-modal .slide-modal-container{padding:0}}.slide-modal.v--modal-overlay{bottom:0!important;height:auto!important;left:0!important;min-height:0!important;right:0!important;top:0!important}.slide-modal-title{padding-bottom:20px}.slide-modal .close-icon-container{color:#3e4cd4;cursor:pointer;position:absolute;right:20px;top:20px}.slide-modal .go-back-icon-container{color:#3e4cd4;cursor:pointer;left:20px;position:absolute;top:20px}.slide-modal .v--modal-box{align-items:flex-start;animation:slide-modal-panel-in .35s ease-out;background-color:#fff;bottom:0!important;display:flex;height:auto!important;justify-content:center;left:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;padding:30px 0;position:fixed!important;right:0!important;top:0!important;width:auto!important}@media print,screen and (min-width:769px){.slide-modal .v--modal-box{left:auto!important;padding:40px 20px!important;width:500px!important}}.slide-modal--header .v--modal-box{align-items:stretch;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden!important;padding:0!important}@media print,screen and (min-width:769px){.slide-modal--header .v--modal-box{padding:0!important}}.slide-modal--header .slide-modal-header{align-items:center;background-color:#fff;border-bottom:1px solid #e3e5ec;display:flex;flex:0 0 auto;justify-content:space-between;padding:6px 12px}@media print,screen and (min-width:769px){.slide-modal--header .slide-modal-header{padding:6px 16px}}.slide-modal--header .slide-modal-back,.slide-modal--header .slide-modal-close{align-items:center;background:none;border:0;cursor:pointer;display:inline-flex;font-family:inherit;font-size:16px;font-weight:600;gap:8px;line-height:1;min-height:44px;padding:0 8px}.slide-modal--header .slide-modal-back svg,.slide-modal--header .slide-modal-close svg{display:block;height:18px;width:18px}.slide-modal--header .slide-modal-back{color:#3e4cd4}.slide-modal--header .slide-modal-close{color:#4b5061}.slide-modal--header .slide-modal-scroll{align-items:flex-start;display:flex;flex:1 1 auto;justify-content:center;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:24px 0 40px}@media print,screen and (min-width:769px){.slide-modal--header .slide-modal-scroll{padding:32px 20px 48px}}body.slide-modal-open{left:0;overflow:hidden;position:fixed;right:0;width:100%}@keyframes slide-modal-panel-in{0%{transform:translate3d(100%,0,0)}}.congrats-modal .v--modal-box{left:0!important;margin:0 auto;width:90%!important}@media print,screen and (min-width:769px){.congrats-modal .v--modal-box{width:500px!important}}.question-title{margin:70px auto 40px}@media print,screen and (min-width:769px){.question-title{margin:20px auto 50px;text-align:center;width:600px}}.radio-toolbar{max-width:600px}.radio-toolbar .radio-container{margin:5px;position:relative}@media print,screen and (min-width:769px){.radio-toolbar .radio-container{margin:20px}}.radio-toolbar .most-popular{left:0;position:absolute;top:0;width:50px}@media print,screen and (min-width:769px){.radio-toolbar .most-popular{left:10px;top:10px}}.radio-toolbar .deselect{height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.radio-toolbar .deselect .close{background:url('+c+') no-repeat;height:15px;position:absolute;right:5px;top:5px;width:15px}@media print,screen and (min-width:769px){.radio-toolbar .deselect .close{height:20px;width:20px}}.radio-toolbar .indicator{border:2px solid #e3e5ec;border-radius:50%;height:24px;margin:10px auto 0;position:relative;width:24px}@media screen and (max-width:768px){.radio-toolbar{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;max-width:100%}}@media print,screen and (min-width:769px){.radio-toolbar{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;max-width:100%}}
1.radio-toolbar input[type=radio]{opacity:0;position:fixed;width:0}.radio-toolbar label{border:1.5px solid #e3e5ec;border-radius:12px;color:#4b5061;cursor:pointer;display:inline-block;font-family:"Lettera Text LL",Helvetica,Arial,sans-serif;font-size:17px;line-height:1.3;position:relative;text-align:center;transition:border-color .12s ease,background-color .12s ease;width:100%}@media screen and (max-width:768px){.radio-toolbar label{font-size:16px;height:150px;line-height:1.3;width:100px}.radio-toolbar label .icon.blue{display:none}.radio-toolbar label .icon.grey{display:block}.radio-toolbar label img{height:80px;margin:5px 0;width:100%}}@media print,screen and (min-width:769px){.radio-toolbar label{font-size:16px;height:180px;line-height:1.3;margin:10px;padding:10px 20px;width:130px}.radio-toolbar label .icon.blue{display:none}.radio-toolbar label .icon.grey{display:block}.radio-toolbar label img{height:80px;margin-bottom:20px;width:100%}}.radio-toolbar label:after{border:2px solid #3e4cd4;border-radius:12px;bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;visibility:hidden;z-index:0}.radio-toolbar input[type=radio]:focus-visible+label{border-color:#3e4cd4;box-shadow:0 0 0 4px #ecedfb}.radio-toolbar input[type=radio]:checked+label{color:#3e4cd4;font-weight:700}.radio-toolbar input[type=radio]:checked+label .indicator{border:0}.radio-toolbar input[type=radio]:checked+label .indicator:before{background:#3e4cd4;background:url('+u+') no-repeat;border-radius:50%;content:"";display:block;height:30px;left:-6px;position:absolute;top:-5px;width:30px}.radio-toolbar input[type=radio]:checked+label .icon.blue{display:block}.radio-toolbar input[type=radio]:checked+label .icon.grey{display:none}.radio-toolbar input[type=radio]:checked+label:after{visibility:visible}.form-group{margin-bottom:20px;padding-top:22px;position:relative}.form-control-placeholder,.small-label{color:#767b8c;display:block;font-size:13px;font-weight:600;left:0;letter-spacing:.14em;line-height:1.4;opacity:1;padding:0;position:absolute;text-transform:uppercase;top:0;transform:none}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,select:-webkit-autofill,select:-webkit-autofill:focus,select:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{background:transparent;-webkit-box-shadow:inset 0 0 0 30px #fff!important}.static-page{padding:0 10px}.static-page *{font-family:"Lettera Text LL",Helvetica,Arial,sans-serif!important}.static-page .static-page-title-container{margin:0 40px}.static-page p:empty:before{content:" "}.static-page h1,.static-page h2,.static-page h3,.static-page h4,.static-page h5{text-align:center}.static-page h1{margin-top:50px}@media print,screen and (min-width:769px){.static-page h1{margin-top:25px}}@media screen and (min-width:1024px){.static-page h1{margin-top:45px}}.static-page h2{margin-top:25px}.static-page .static-page-illustration{margin:40px auto;max-width:800px}.static-page ol,.static-page ul{list-style:inherit;margin:inherit;padding:inherit}.static-page h4{font-size:18px;font-weight:600}.static-page h5,.static-page h6{font-size:16px;font-weight:600}.cookieControl__BarContainer{align-items:flex-end;color:#fff;display:flex;justify-content:space-between;padding:20px 90px 20px 160px}.cookieControl__BarContainer а{color:#000!important}.get-quote-bt{display:block;margin:0 auto}.tooltip{display:block!important;max-width:500px;z-index:10000}.tooltip .tooltip-inner{background:#000;border-radius:16px;color:#fff;font-size:16px;padding:5px 10px 4px;text-align:center}.tooltip .tooltip-arrow{border-color:#000;border-style:solid;height:0;margin:5px;position:absolute;width:0;z-index:1}.tooltip[x-placement^=top]{margin-bottom:5px}.tooltip[x-placement^=top] .tooltip-arrow{border-bottom-color:transparent!important;border-left-color:transparent!important;border-right-color:transparent!important;border-width:5px 5px 0;bottom:-5px;left:calc(50% - 5px);margin-bottom:0;margin-top:0}.tooltip[x-placement^=bottom]{margin-top:5px}.tooltip[x-placement^=bottom] .tooltip-arrow{border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;border-width:0 5px 5px;left:calc(50% - 5px);margin-bottom:0;margin-top:0;top:-5px}.tooltip[x-placement^=right]{margin-left:5px}.tooltip[x-placement^=right] .tooltip-arrow{border-bottom-color:transparent!important;border-left-color:transparent!important;border-top-color:transparent!important;border-width:5px 5px 5px 0;left:-5px;margin-left:0;margin-right:0;top:calc(50% - 5px)}.tooltip[x-placement^=left]{margin-right:5px}.tooltip[x-placement^=left] .tooltip-arrow{border-bottom-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;border-width:5px 0 5px 5px;margin-left:0;margin-right:0;right:-5px;top:calc(50% - 5px)}.tooltip[aria-hidden=true]{opacity:0;transition:opacity .15s,visibility .15s;visibility:hidden}.tooltip[aria-hidden=false]{opacity:1;transition:opacity .15s;visibility:visible}.tooltip .tooltip-inner{background:#fff!important;border:1px solid #3e4cd4;box-shadow:0 8px 6px -6px #000;color:#000!important;padding:10px}.tabs.is-toggle li.is-active a{background-color:#3e4cd4}.toasted-container .toasted{display:block!important;line-height:normal!important;padding:6px 25px!important;position:relative}.toasted-container .toasted .action{color:#fff;position:absolute;right:10px;top:-10px}.toasted-container .toasted .action:hover{-webkit-text-decoration:none;text-decoration:none}.hp-block-container{padding:60px 0}.hp-block-title{color:#14161f;font-family:"Lettera Text LL",Helvetica,Arial,sans-serif;font-size:1.5rem;line-height:1.2;margin-bottom:20px;text-align:center}@media print,screen and (min-width:769px){.hp-block-title{font-size:2.5rem;margin-bottom:40px}}.hp-prose{margin:0 auto;max-width:68ch;text-align:left}.hp-prose p{color:#4b5061;font-size:18px;line-height:1.7}.hp-prose p+p{margin-top:1.1em}.hp-prose b,.hp-prose strong{color:#14161f;font-weight:700}.hp-cards{display:grid;grid-gap:16px;gap:16px;grid-template-columns:1fr;margin:0 auto;max-width:900px;text-align:left}@media print,screen and (min-width:769px){.hp-cards{grid-template-columns:repeat(2,1fr)}}.hp-cards>div{background:#fff;border:1.5px solid #e3e5ec;border-radius:20px;color:#4b5061;font-size:16px;line-height:1.6;padding:24px;transition:border-color .12s ease,box-shadow .12s ease}.hp-cards>div:hover{border-color:#c9cdf3;box-shadow:0 6px 20px rgba(20,22,31,.08)}.hp-cards>div b{color:#14161f;font-size:18px;font-weight:700}.hp-cards+.hp-prose,.hp-prose+.hp-cards{margin-top:32px}.tabs-bar{background:#f7f8fa;border-radius:12px;display:inline-flex;gap:4px;margin-bottom:24px;padding:5px}.checkbox-icon{border:1px solid #3e4cd4;border-radius:50%;display:block;height:20px;position:relative;width:20px}.checkbox-icon:after,.checkbox-icon:before{content:"";left:0;position:absolute}.checkbox-icon:before{height:50%;top:6px;width:3px}.checkbox-icon:after,.checkbox-icon:before{background-color:#3e4cd4;transform:translateX(10px) rotate(-45deg);transform-origin:left bottom}.checkbox-icon:after{bottom:3px;height:3px;width:100%}',""]),s.locals={},e.exports=s},function(e,t,r){var n=r(530);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r(14).default)("67aed296",n,!0,{sourceMap:!1})},function(e,t,r){var n=r(13)(function(e){return e[1]});
1n.push([e.i,":root{--ps-indigo:#3e4cd4;--ps-indigo-hover:#3340b4;--ps-indigo-50:#ecedfb;--ps-indigo-200:#c9cdf3;--ps-green:#17803d;--ps-green-hover:#12692f;--ps-green-50:#e8f5eb;--ps-gold:#f5c13b;--ps-gold-ink:#6b4e05;--ps-ink:#14161f;--ps-body:#4b5061;--ps-muted:#767b8c;--ps-border:#e3e5ec;--ps-surface:#f7f8fa;--ps-canvas:#eceef3;--ps-white:#fff;--ps-error:#c0362c;--ps-error-50:#fdf3f2;--ps-disabled-bg:#eceef3;--ps-disabled-ink:#a2a7b6;--ps-radius-sm:8px;--ps-radius-md:12px;--ps-radius-lg:20px;--ps-radius-pill:999px;--ps-font:\"Lettera Text LL\",Helvetica,Arial,sans-serif;--ps-text-label:13px;--ps-text-small:16px;--ps-text-body:18px;--ps-text-h3:24px;--ps-text-h2:32px;--ps-text-h1:48px;--ps-control-h:56px;--ps-control-h-compact:48px;--ps-btn-h-cta:56px;--ps-btn-h:52px;--ps-btn-h-compact:44px;--ps-shadow-sm:0 1px 2px rgba(20,22,31,.08);--ps-shadow-md:0 6px 16px rgba(20,22,31,.1);--ps-focus-ring:0 0 0 4px var(--ps-indigo-50);--ps-focus-ring-error:0 0 0 4px var(--ps-error-50);--ps-transition:120ms ease}html{-webkit-text-size-adjust:100%}body{color:var(--ps-body);font-size:var(--ps-text-body);line-height:1.6}body,h1,h2,h3,h4,h5,h6{font-family:var(--ps-font)}h1,h2,h3,h4,h5,h6{color:var(--ps-ink)}.ps-h1,h1{font-size:max(34px,min(7vw,var(--ps-text-h1)));font-weight:700;letter-spacing:-.025em;line-height:1.08}.ps-h2,.question-title,.slide-modal-title,h2{color:var(--ps-ink);font-size:max(26px,min(5vw,var(--ps-text-h2)));font-weight:700;letter-spacing:-.015em;line-height:1.15}.ps-h3,h3{font-size:var(--ps-text-h3);font-weight:600;line-height:1.3}.title{color:var(--ps-ink);font-family:var(--ps-font);font-weight:700;line-height:1.15}.title.is-1,.title.is-2{font-size:max(34px,min(7vw,var(--ps-text-h1)));letter-spacing:-.025em;line-height:1.08}.title.is-3{font-size:max(26px,min(5vw,var(--ps-text-h2)))}.title.is-4,.title.is-5{font-size:var(--ps-text-h3);font-weight:600;line-height:1.3}.subtitle{color:var(--ps-body);font-family:var(--ps-font);font-size:var(--ps-text-body);line-height:1.6}.is-size-7,small{font-size:var(--ps-text-small)}.label,.ps-label{color:var(--ps-muted);display:block;font-family:var(--ps-font);font-size:var(--ps-text-label);font-weight:600;letter-spacing:.14em;line-height:1.4;margin-bottom:8px;text-transform:uppercase}.help,.ps-help{color:var(--ps-muted);font-size:var(--ps-text-small);line-height:1.5;margin-top:6px}.help.is-danger,.ps-help.is-error{color:var(--ps-error)}.button,.ps-btn{align-items:center;border:1.5px solid transparent;border-radius:var(--ps-radius-md);cursor:pointer;display:inline-flex;font-family:var(--ps-font);font-size:17px;font-weight:600;height:var(--ps-btn-h);justify-content:center;letter-spacing:0;line-height:1;min-height:var(--ps-btn-h-compact);padding:0 24px;text-transform:none;transition:background-color var(--ps-transition),border-color var(--ps-transition);white-space:nowrap}.button:focus-visible,.ps-btn:focus-visible{box-shadow:var(--ps-focus-ring);outline:none}.button.is-info,.button.is-link,.button.is-primary,.ps-btn--action,.ps-button{background-color:var(--ps-indigo);border-color:var(--ps-indigo);color:var(--ps-white)}.button.is-info:hover,.button.is-link:hover,.button.is-primary:hover,.ps-btn--action:hover,.ps-button:hover{background-color:var(--ps-indigo-hover);border-color:var(--ps-indigo-hover);color:var(--ps-white)}.button.is-inverted,.button.is-outlined,.button.is-secondary,.ps-btn--secondary,.ps-button.is-inverted,.ps-button.is-outlined{background-color:var(--ps-white);border:1.5px solid var(--ps-indigo-200);color:var(--ps-indigo)}.button.is-inverted:hover,.button.is-outlined:hover,.button.is-secondary:hover,.ps-btn--secondary:hover,.ps-button.is-inverted:hover,.ps-button.is-outlined:hover{background-color:var(--ps-indigo-50);border-color:var(--ps-indigo-200);color:var(--ps-indigo)}.button.is-cta,.call-to-action,.call-to-action.is-inverted,.call-to-action.is-outlined,.get-quote-bt,.get-quote-bt.is-inverted,.get-quote-bt.is-outlined,.ps-btn--cta{background-color:var(--ps-green);border-color:var(--ps-green);color:var(--ps-white);font-size:var(--ps-text-body);height:var(--ps-btn-h-cta);padding:0 28px}.button.is-cta:hover,.call-to-action.is-inverted:hover,.call-to-action.is-outlined:hover,.call-to-action:hover,.get-quote-bt.is-inverted:hover,.get-quote-bt.is-outlined:hover,.get-quote-bt:hover,.ps-btn--cta:hover{background-color:var(--ps-green-hover);border-color:var(--ps-green-hover);color:var(--ps-white)}.button.is-large,.ps-btn--cta{font-size:var(--ps-text-body);
1height:var(--ps-btn-h-cta);padding:0 28px}.button.is-small,.button.short,.ps-btn--compact,.ps-button.short{border-radius:var(--ps-radius-md);font-size:var(--ps-text-small);height:var(--ps-btn-h-compact);padding:0 18px}.button.is-disabled,.button[disabled],.ps-btn[disabled],.ps-button[disabled],button[disabled]{background-color:var(--ps-disabled-bg);border-color:transparent;box-shadow:none;color:var(--ps-disabled-ink);cursor:not-allowed;opacity:1}.input,.ps-input,.select select,.textarea{background-color:var(--ps-white);border:1.5px solid var(--ps-border);border-radius:var(--ps-radius-md);box-shadow:none;color:var(--ps-ink);font-family:var(--ps-font);font-size:var(--ps-text-body);height:var(--ps-control-h);line-height:1.4;padding:0 18px;transition:border-color var(--ps-transition),box-shadow var(--ps-transition)}.textarea{height:auto;line-height:1.6;min-height:120px;padding:14px 18px}.input.is-compact,.ps-input--compact,.select.is-compact select{height:var(--ps-control-h-compact)}.input::-moz-placeholder,.ps-input::-moz-placeholder,.textarea::-moz-placeholder{color:var(--ps-muted);opacity:1}.input::placeholder,.ps-input::placeholder,.textarea::placeholder{color:var(--ps-muted);opacity:1}.input.is-focused,.input:active,.input:focus,.ps-input:focus,.select select:active,.select select:focus,.textarea:active,.textarea:focus{border-color:var(--ps-indigo);box-shadow:var(--ps-focus-ring);outline:none}.input.is-danger,.ps-input--error,.select.is-danger select,.textarea.is-danger{border-color:var(--ps-error)}.input.is-danger:focus,.ps-input--error:focus,.select.is-danger select:focus,.textarea.is-danger:focus{border-color:var(--ps-error);box-shadow:var(--ps-focus-ring-error)}.input[disabled],.input[readonly],.select select[disabled],.textarea[disabled]{background-color:var(--ps-disabled-bg);border-color:var(--ps-border);color:var(--ps-disabled-ink);cursor:not-allowed}.select,.select:not(.is-multiple){display:block;height:var(--ps-control-h);width:100%}.select select{appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;padding-right:46px;width:100%}.select:not(.is-multiple):not(.is-loading):after{background-color:var(--ps-muted);border:0;content:\"\";height:12px;margin-top:-6px;-webkit-mask:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M1.5 4 6 8.5 10.5 4'/%3E%3C/svg%3E\") no-repeat center /contain;mask:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M1.5 4 6 8.5 10.5 4'/%3E%3C/svg%3E\") no-repeat center /contain;pointer-events:none;right:20px;top:50%;transform:none;width:12px}.select select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--ps-ink)}.control:has(>.form-control-placeholder){padding-top:22px}.input:-webkit-autofill,.select select:-webkit-autofill,.textarea:-webkit-autofill{-webkit-text-fill-color:var(--ps-ink);
1-webkit-box-shadow:0 0 0 30px var(--ps-white) inset}.checkbox,.ps-check,.radio{align-items:flex-start;color:var(--ps-body);cursor:pointer;display:inline-flex;font-family:var(--ps-font);font-size:17px;gap:12px;line-height:1.45}.checkbox+.checkbox,.radio+.radio{margin-left:0}.checkbox input[type=checkbox],.ps-check input,.radio input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;background-color:var(--ps-white);border:2px solid var(--ps-border);border-radius:6px;cursor:pointer;flex:0 0 auto;height:24px;margin:0;transition:background-color var(--ps-transition),border-color var(--ps-transition);width:24px}.radio input[type=radio]{border-radius:50%}.checkbox input[type=checkbox]:checked,.ps-check input:checked,.radio input[type=radio]:checked{background-color:var(--ps-indigo);border-color:var(--ps-indigo)}.checkbox input[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m3 8.5 3.2 3.2L13 5'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:16px 16px}.radio input[type=radio]:checked{box-shadow:inset 0 0 0 4px var(--ps-white)}.checkbox input:focus-visible,.ps-check input:focus-visible,.radio input:focus-visible{box-shadow:var(--ps-focus-ring);outline:none}.radio input[type=radio]:checked:focus-visible{box-shadow:inset 0 0 0 4px var(--ps-white),var(--ps-focus-ring)}.ps-segment{display:inline-flex;flex-wrap:wrap;gap:10px}.pill-btn,.ps-pill,.tab-btn{align-items:center;background-color:var(--ps-white);border:1.5px solid var(--ps-border);border-radius:var(--ps-radius-md);color:var(--ps-body);cursor:pointer;display:inline-flex;font-family:var(--ps-font);font-size:17px;font-weight:600;height:var(--ps-control-h-compact);justify-content:center;line-height:1;padding:0 22px;transition:background-color var(--ps-transition),border-color var(--ps-transition)}.pill-btn:hover,.ps-pill:hover,.tab-btn:hover{background-color:var(--ps-indigo-50);border-color:var(--ps-indigo-200)}.pill-btn.active,.ps-pill.is-selected,.ps-pill[aria-checked=true],.tab-btn--active{background-color:var(--ps-indigo);border-color:var(--ps-indigo);color:var(--ps-white)}.pill-btn:focus-visible,.ps-pill:focus-visible,.tab-btn:focus-visible{box-shadow:var(--ps-focus-ring);outline:none}.ps-badge-popular{align-items:center;background-color:var(--ps-gold);border-radius:var(--ps-radius-pill);color:var(--ps-gold-ink);display:inline-flex;font-size:var(--ps-text-label);font-weight:600;height:24px;letter-spacing:.08em;padding:0 10px;text-transform:uppercase}.ps-table-wrap{margin-top:16px;overflow-x:auto;-webkit-overflow-scrolling:touch}.ps-table{border-collapse:collapse;color:var(--ps-body);font-size:var(--ps-text-small);line-height:1.55;width:100%}.ps-table caption{caption-side:bottom;color:var(--ps-muted);font-size:var(--ps-text-label);line-height:1.5;margin-top:12px;text-align:left}.ps-table td,.ps-table th{text-align:left;vertical-align:top}.ps-table tbody th,.ps-table thead th{color:var(--ps-ink);font-weight:600}.ps-table a{color:var(--ps-indigo);-webkit-text-decoration:underline;text-decoration:underline}@media screen and (max-width:768px){.ps-table thead{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0);border:0;white-space:nowrap}.ps-table,.ps-table tbody,.ps-table td,.ps-table th,.ps-table tr{display:block}.ps-table tr{background-color:var(--ps-white);border:1px solid var(--ps-border);border-radius:var(--ps-radius-md);padding:14px 16px}.ps-table tr+tr{margin-top:10px}.ps-table tbody th{font-size:var(--ps-text-body)}.ps-table td{margin-top:8px}.ps-table td[data-label]:before{color:var(--ps-muted);content:attr(data-label);display:block;font-size:var(--ps-text-label);font-weight:600;letter-spacing:.06em;margin-bottom:2px;text-transform:uppercase}}@media screen and (min-width:769px){.ps-table td,.ps-table th{border-bottom:1px solid var(--ps-border);padding:14px 16px}.ps-table thead th{border-bottom:1.5px solid var(--ps-border);color:var(--ps-muted);font-size:var(--ps-text-label);letter-spacing:.06em;text-transform:uppercase}.ps-table tbody tr:nth-child(2n){background-color:var(--ps-surface)}}.ps-faq{border-top:1px solid var(--ps-border);margin-top:16px}.ps-faq-item{border-bottom:1px solid var(--ps-border)}.ps-faq-item>summary{align-items:flex-start;color:var(--ps-ink);cursor:pointer;display:flex;font-size:var(--ps-text-small);font-weight:600;gap:16px;justify-content:space-between;line-height:1.45;list-style:none;min-height:var(--ps-btn-h-compact);padding:14px 2px}.ps-faq-item>summary::-webkit-details-marker{display:none}.ps-faq-item>summary:focus-visible{border-radius:var(--ps-radius-sm);box-shadow:var(--ps-focus-ring);outline:none}.ps-faq-item>summary:after{border-bottom:2px solid var(--ps-indigo);border-right:2px solid var(--ps-indigo);content:\"\";flex:0 0 auto;height:10px;margin-top:6px;transform:rotate(45deg);transition:transform var(--ps-transition);width:10px}.ps-faq-item[open]>summary:after{margin-top:10px;transform:rotate(-135deg)}.ps-faq-answer{color:var(--ps-body);font-size:var(--ps-text-small);line-height:1.6;padding:0 2px 16px}",""]),n.locals={},e.exports=n},,,,,,,function(e,t,r){"use strict";r(331)},function(e,t,r){var n=r(13)(function(e){return e[1]});
1n.push([e.i,".navigation-dashboard[data-v-5b32167b]{margin:20px 20px 0;padding-bottom:20px}@media print,screen and (min-width:769px){.navigation-dashboard[data-v-5b32167b]{border-bottom:1px solid #3e4cd4}}@media screen and (min-width:1024px){.navigation-dashboard[data-v-5b32167b]{margin:60px 60px 0;padding-bottom:20px}}@media screen and (max-width:1023px){#navbarBasicExample[data-v-5b32167b]{bottom:0;color:#fff;left:0;overflow-y:auto;overscroll-behavior:contain;position:fixed;right:0;top:0;z-index:2000;-webkit-overflow-scrolling:touch;background:#3e4cd4;padding:18px 20px 32px}}.drawer-head[data-v-5b32167b]{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.drawer-logo img[data-v-5b32167b]{display:block;filter:brightness(0) invert(1);height:auto;width:132px}.drawer-close[data-v-5b32167b]{align-items:center;background:transparent;border:1px solid hsla(0,0%,100%,.4);border-radius:50%;color:#fff;cursor:pointer;display:flex;height:40px;justify-content:center;width:40px}.drawer-close svg[data-v-5b32167b]{height:20px;width:20px}.drawer-account-card[data-v-5b32167b]{align-items:center;background:hsla(0,0%,100%,.14);border-radius:12px;display:flex;gap:12px;margin-bottom:18px;padding:12px 14px}
1.drawer-avatar[data-v-5b32167b]{align-items:center;background:#fff;border-radius:50%;color:#3e4cd4;display:flex;flex:0 0 auto;font-size:18px;font-weight:700;height:40px;justify-content:center;width:40px}.drawer-account-text[data-v-5b32167b]{min-width:0}.drawer-account-label[data-v-5b32167b]{color:hsla(0,0%,100%,.7);display:block;font-size:13px}.drawer-account-email[data-v-5b32167b]{color:#fff;display:block;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-links li+li[data-v-5b32167b]{border-top:1px solid hsla(0,0%,100%,.18)}.drawer-links a[data-v-5b32167b]{align-items:center;color:#fff;display:flex;gap:12px;padding:10px 2px}.drawer-links a.nuxt-link-exact-active .drawer-link-title[data-v-5b32167b]{font-weight:700}.drawer-links a.nuxt-link-exact-active .drawer-icon[data-v-5b32167b]{background:#fff;color:#3e4cd4}.drawer-icon[data-v-5b32167b]{align-items:center;background:hsla(0,0%,100%,.14);border-radius:12px;color:#fff;display:flex;flex:0 0 auto;height:38px;justify-content:center;width:38px}.drawer-icon svg[data-v-5b32167b]{height:20px;width:20px}.drawer-link-text[data-v-5b32167b]{flex:1 1 auto;min-width:0}.drawer-link-title[data-v-5b32167b]{display:block;font-size:17px;font-weight:600;line-height:1.3}.drawer-link-copy[data-v-5b32167b]{color:hsla(0,0%,100%,.7);display:block;font-size:13px;line-height:1.35;margin-top:1px}.drawer-chevron[data-v-5b32167b]{color:hsla(0,0%,100%,.55);flex:0 0 auto;height:16px;width:16px}.drawer-upsell[data-v-5b32167b]{align-items:center;background:transparent;border:1px solid hsla(0,0%,100%,.35);border-radius:12px;color:hsla(0,0%,100%,.8);cursor:pointer;display:flex;font-size:14px;gap:12px;line-height:1.4;margin-top:14px;padding:12px 14px;text-align:left;width:100%}.drawer-upsell b[data-v-5b32167b]{color:#fff}.drawer-upsell-icon[data-v-5b32167b]{align-items:center;background:#fff;border-radius:8px;color:#3e4cd4;display:flex;flex:0 0 auto;font-weight:700;height:34px;justify-content:center;width:34px}.drawer-help[data-v-5b32167b]{border-top:1px solid hsla(0,0%,100%,.18);margin-top:14px;padding-top:12px}
1.drawer-help-title[data-v-5b32167b]{color:hsla(0,0%,100%,.6);font-size:13px;font-weight:600;letter-spacing:.1em;margin-bottom:6px;text-transform:uppercase}.drawer-help-row[data-v-5b32167b]{align-items:center;background:transparent;border:0;color:#fff;cursor:pointer;display:flex;font-size:16px;gap:10px;padding:8px 0;text-align:left;width:100%}.drawer-help-row svg[data-v-5b32167b]{flex:0 0 auto;height:19px;width:19px}.drawer-help-note[data-v-5b32167b]{color:hsla(0,0%,100%,.65);font-size:13px;margin-left:auto}.drawer-logout[data-v-5b32167b]{background:transparent;border-color:hsla(0,0%,100%,.6);color:#fff;margin-top:14px}.logo[data-v-5b32167b]{font-size:1.5rem;line-height:1.5rem;padding:0}.logo[data-v-5b32167b],.logo a[data-v-5b32167b],.logo a[data-v-5b32167b]:hover{color:#4b5061!important}@media screen and (min-width:1024px){.logo[data-v-5b32167b]{font-size:2.1rem;line-height:2.1rem}}.get-quote-mobile[data-v-5b32167b]{margin:0 auto;width:150px}@media screen and (min-width:1024px){.get-quote-mobile[data-v-5b32167b]{display:none}}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(332)},function(e,t,r){var n=r(13),o=r(205),a=r(276),i=n(function(e){return e[1]}),s=o(a);i.push([e.i,".indicator[data-v-201c8aae]{border:2px solid #e3e5ec;border-radius:50%;flex:0 0 auto;height:24px;margin:0 0 0 10px;position:relative;width:24px}.indicator.selected[data-v-201c8aae]{border:0}.indicator.selected[data-v-201c8aae]:before{background:#3e4cd4;background:url("+s+') no-repeat;border-radius:50%;content:"";display:block;height:30px;left:-3px;position:absolute;top:-3px;width:30px}.ebike-label[data-v-201c8aae]{color:#767b8c;display:block;font-size:13px;font-weight:600;letter-spacing:.14em;margin-bottom:8px;text-transform:uppercase}.ebike-option[data-v-201c8aae]{align-items:center;background:#fff;border:1.5px solid #e3e5ec;border-radius:12px;color:#4b5061;cursor:pointer;display:flex;font-size:18px;height:56px;justify-content:center;margin:10px 10px 10px 0;padding:0 18px;text-align:center;transition:border-color .12s ease,background-color .12s ease;width:120px}.ebike-option.selected[data-v-201c8aae]{border-color:#3e4cd4;color:#3e4cd4}.warning-text[data-v-201c8aae]{color:#3e4cd4;font-size:16px}.error[data-v-201c8aae]{color:#c0362c;font-size:16px}',""]),i.locals={},e.exports=i},function(e,t,r){"use strict";r(333)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".replacement-value-error[data-v-55fb94d0]{color:red}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(334)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".remove-bike[data-v-0a4e4662]{cursor:pointer}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(335)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".margin-top-20[data-v-0a4e4662]{margin-top:20px}.icon[data-v-0a4e4662]{color:#3e4cd4;height:60px;left:calc(50% - 25px);margin-bottom:40px;right:50%;top:50px;width:60px}.congrats-message[data-v-0a4e4662]{padding:10px 5%;text-align:center}@media print,screen and (min-width:769px){.congrats-message[data-v-0a4e4662]{padding:10px}}.feature-box[data-v-0a4e4662]{border:1px solid #000;border-radius:5px;margin:10px 0;padding:20px 10px}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(336)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".create-password-modal .close-icon-container{cursor:pointer;position:absolute;right:20px;top:20px}.create-password-modal .v--modal-box{align-items:center;display:flex;height:100%;justify-content:center}@media print,screen and (min-width:769px){.create-password-modal .v--modal-box{padding:50px}}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(337)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".ps-regulatory p[data-v-687a2bc8]{color:#4b5061;font-size:16px;line-height:1.6}.ps-regulatory p+p[data-v-687a2bc8]{margin-top:14px}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(338)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".container[data-v-228fdae5]{max-width:1100px}.subtitle[data-v-228fdae5],.title[data-v-228fdae5]{color:#3e4cd4}.subtitle[data-v-228fdae5]{margin-bottom:15px}.navbar-item[data-v-228fdae5]{color:#303030;margin:10px 0;padding:0}.logo[data-v-228fdae5]{font-size:2rem}@media screen and (min-width:1024px){.logo[data-v-228fdae5]{font-size:2rem}}.right[data-v-228fdae5]{text-align:center}@media print,screen and (min-width:769px){.right[data-v-228fdae5]{text-align:right}}.text[data-v-228fdae5]{border-top:1px solid #4b5061;font-size:.6rem;padding:20px 20px 0}@media print,screen and (min-width:769px){.text[data-v-228fdae5]{padding:30px 20px 0}}.social-container[data-v-228fdae5]{margin-bottom:30px}.social-container li[data-v-228fdae5]{display:inline-block}.social-container li a[data-v-228fdae5]{color:#4b5061;display:inline-block;height:45px;width:45px}.trust-pilot img[data-v-228fdae5]{height:50px;width:140px}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(339)},function(e,t,r){var n=r(13)(function(e){return e[1]});
1n.push([e.i,".dashboard-layout[data-v-641db98e]{padding:0}@media screen and (min-width:1024px){.dashboard-layout[data-v-641db98e]{padding:50px 60px 0}}",""]),n.locals={},e.exports=n},,,function(e,t){function r(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}r.keys=function(){return[]},r.resolve=r,e.exports=r,r.id=557},,,function(e,t,r){"use strict";r(340)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".nav-dd[data-v-39615bd3]{position:relative}.nav-dd-trigger[data-v-39615bd3]{align-items:center;background:transparent;border:0;cursor:pointer;display:inline-flex;font-family:inherit;gap:6px}.nav-dd-chevron[data-v-39615bd3]{flex:0 0 auto;height:14px;transition:transform .12s ease;width:14px}.nav-dd.is-open .nav-dd-chevron[data-v-39615bd3]{transform:rotate(180deg)}.nav-dd--desktop .nav-dd-trigger[data-v-39615bd3]{color:#4b5061;font-size:17px;font-weight:500;height:100%;padding:0 14px;transition:color .12s ease}.nav-dd--desktop .nav-dd-trigger[data-v-39615bd3]:hover{color:#3e4cd4}.nav-dd--desktop.is-open .nav-dd-trigger[data-v-39615bd3]{color:#3e4cd4;font-weight:600}.nav-dd--desktop .nav-dd-panel[data-v-39615bd3]{background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(20,22,31,.14);left:0;margin-top:8px;min-width:260px;padding:8px;position:absolute;top:100%;z-index:30}.nav-dd--desktop .nav-dd-panel li+li[data-v-39615bd3]{margin-top:2px}.nav-dd--desktop .nav-dd-panel a[data-v-39615bd3]{border-radius:8px;color:#4b5061;display:block;font-size:16px;font-weight:500;padding:10px 12px;white-space:nowrap}.nav-dd--desktop .nav-dd-panel a[data-v-39615bd3]:focus-visible,.nav-dd--desktop .nav-dd-panel a[data-v-39615bd3]:hover{background:#ecedfb;color:#3e4cd4}.nav-dd--desktop .nav-dd-panel .nav-dd-overview[data-v-39615bd3]{border-bottom:1px solid #e3e5ec;margin-bottom:6px;padding-bottom:8px}.nav-dd--desktop .nav-dd-panel .nav-dd-overview a[data-v-39615bd3]{color:#14161f;font-weight:700}.nav-dd--mobile .nav-dd-trigger[data-v-39615bd3]{color:#fff;padding:10px 2px;width:100%}.nav-dd--mobile .nav-dd-trigger-label[data-v-39615bd3]{flex:1 1 auto;font-size:17px;font-weight:600;line-height:1.3;text-align:left}.nav-dd--mobile .drawer-icon[data-v-39615bd3]{align-items:center;background:hsla(0,0%,100%,.14);border-radius:12px;color:#fff;display:flex;flex:0 0 auto;height:38px;justify-content:center;width:38px}.nav-dd--mobile .drawer-icon svg[data-v-39615bd3]{height:20px;width:20px}.nav-dd--mobile .nav-dd-chevron[data-v-39615bd3]{color:hsla(0,0%,100%,.55)}.nav-dd--mobile.is-open .nav-dd-chevron[data-v-39615bd3]{color:#fff}.nav-dd--mobile .nav-dd-panel[data-v-39615bd3]{padding:2px 0 6px 50px;position:static}.nav-dd--mobile .nav-dd-panel li+li[data-v-39615bd3]{margin-top:2px}.nav-dd--mobile .nav-dd-panel a[data-v-39615bd3]{border-radius:8px;color:hsla(0,0%,100%,.85);display:block;font-size:16px;padding:9px 8px}.nav-dd--mobile .nav-dd-panel a[data-v-39615bd3]:focus-visible,.nav-dd--mobile .nav-dd-panel a[data-v-39615bd3]:hover{background:hsla(0,0%,100%,.12);color:#fff}.nav-dd--mobile .nav-dd-panel .nav-dd-overview[data-v-39615bd3]{border-bottom:1px solid hsla(0,0%,100%,.18);margin-bottom:4px;padding-bottom:6px}.nav-dd--mobile .nav-dd-panel .nav-dd-overview a[data-v-39615bd3]{color:#fff;font-weight:700}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(341)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,'.navbar[data-v-3c100563]{margin:15px 0 10px;padding:0 20px}@media print,screen and (min-width:769px){.navbar[data-v-3c100563]{margin:30px 0;padding:0 35px}}@media screen and (min-width:1024px){.navbar[data-v-3c100563]{margin:40px 0;padding:0 50px}}.navbar-burger span[data-v-3c100563]{right:0;width:20px}.main-link[data-v-3c100563]{color:#4b5061;font-size:17px;font-weight:500;padding-left:14px;padding-right:14px;transition:color .12s ease}.main-link[data-v-3c100563]:hover{color:#3e4cd4}.main-link.nuxt-link-exact-active[data-v-3c100563]{color:#3e4cd4;font-weight:600}.ps-button[data-v-3c100563]{margin-left:10px;margin-right:10px}.close-button[data-v-3c100563]{filter:brightness(0) invert(1)}.get-quote-mobile-bt[data-v-3c100563]{padding:0;width:65px}@media screen and (max-width:768px){.get-quote-mobile-bt[data-v-3c100563]{max-width:120px;width:20%}.get-quote-mobile-bt .buttons[data-v-3c100563]{width:100%}.get-quote-mobile-bt .buttons .button[data-v-3c100563]{font-size:.7rem;width:100%}}.ps-logo-container[data-v-3c100563]{left:calc(50% - 75px);position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:150px}@media screen and (min-width:1024px){.ps-logo-container[data-v-3c100563]{left:calc(50% - 150px);width:300px}}.ps-logo-container .ps-logo[data-v-3c100563]{color:#4b5061;font-family:"Lettera Text LL",Helvetica,Arial,sans-serif;font-size:1.5rem}@media print,screen and (min-width:769px){.ps-logo-container .ps-logo[data-v-3c100563]{font-size:2rem}}
1.ps-logo-container .ps-wordmark[data-v-3c100563]{display:block;height:auto;margin:0 auto;width:160px}@media print,screen and (min-width:769px){.ps-logo-container .ps-wordmark[data-v-3c100563]{width:185px}}.navbar-desktop[data-v-3c100563]{align-items:center;display:flex;justify-content:space-between;width:100%}.navbar-desktop-left[data-v-3c100563]{align-items:center;display:flex;gap:36px}.navbar-desktop-logo[data-v-3c100563]{color:#4b5061;display:block}.navbar-desktop-logo .ps-wordmark[data-v-3c100563]{display:block;height:auto;width:185px}.navbar-desktop-links[data-v-3c100563],.navbar-desktop-right[data-v-3c100563]{align-items:center;display:flex}.login-link[data-v-3c100563]{padding-right:20px}.nav-account[data-v-3c100563]{margin-right:12px;position:relative}.nav-account-trigger[data-v-3c100563]{align-items:center;background:transparent;border:0;color:#4b5061;cursor:pointer;display:inline-flex;font-family:inherit;font-size:17px;font-weight:500;gap:8px;height:100%;padding:0 14px;transition:color .12s ease}.nav-account-trigger[data-v-3c100563]:hover{color:#3e4cd4}.nav-account.is-open .nav-account-trigger[data-v-3c100563]{color:#3e4cd4;font-weight:600}.nav-account-avatar[data-v-3c100563]{align-items:center;background:#ecedfb;border-radius:50%;color:#3e4cd4;display:flex;font-size:13px;font-weight:700;height:28px;justify-content:center;width:28px}.nav-dd-chevron[data-v-3c100563]{flex:0 0 auto;height:14px;transition:transform .12s ease;width:14px}.nav-account.is-open .nav-dd-chevron[data-v-3c100563]{transform:rotate(180deg)}.nav-account-panel[data-v-3c100563]{background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(20,22,31,.14);margin-top:8px;
1min-width:200px;padding:8px;position:absolute;right:0;top:100%;z-index:30}.nav-account-panel li+li[data-v-3c100563]{margin-top:2px}.nav-account-panel a[data-v-3c100563],.nav-account-panel button[data-v-3c100563]{background:transparent;border:0;border-radius:8px;color:#4b5061;cursor:pointer;display:block;font-family:inherit;font-size:16px;font-weight:500;padding:10px 12px;text-align:left;white-space:nowrap;width:100%}.nav-account-panel a[data-v-3c100563]:focus-visible,.nav-account-panel a[data-v-3c100563]:hover,.nav-account-panel button[data-v-3c100563]:focus-visible,.nav-account-panel button[data-v-3c100563]:hover{background:#ecedfb;color:#3e4cd4}@media screen and (max-width:1023px){#navbarBasicExample[data-v-3c100563]{bottom:0;color:#fff;left:0;overflow-y:auto;overscroll-behavior:contain;position:fixed;right:0;top:0;z-index:2000;-webkit-overflow-scrolling:touch;background:#3e4cd4;padding:18px 20px 32px}}.drawer-head[data-v-3c100563]{align-items:center;display:flex;justify-content:space-between;margin-bottom:14px}.drawer-logo img[data-v-3c100563]{display:block;filter:brightness(0) invert(1);height:auto;width:132px}.drawer-close[data-v-3c100563]{align-items:center;background:transparent;border:1px solid hsla(0,0%,100%,.4);border-radius:50%;color:#fff;cursor:pointer;display:flex;height:40px;justify-content:center;width:40px}.drawer-close svg[data-v-3c100563]{height:20px;width:20px}.drawer-cta[data-v-3c100563]{border-radius:20px}.drawer-cta-note[data-v-3c100563]{color:hsla(0,0%,100%,.75);font-size:13px;margin-top:8px;text-align:center}.drawer-proof[data-v-3c100563]{align-items:center;background:hsla(0,0%,100%,.14);border-radius:999px;color:#fff;display:flex;font-size:13px;gap:6px;justify-content:center;margin:10px 0 14px;padding:8px 12px}.drawer-proof svg[data-v-3c100563]{height:14px;width:14px}.drawer-links li+li[data-v-3c100563]{border-top:1px solid hsla(0,0%,100%,.18)}.drawer-links a[data-v-3c100563]{align-items:center;color:#fff;display:flex;gap:12px;padding:10px 2px}.drawer-links a.nuxt-link-exact-active .drawer-link-title[data-v-3c100563]{font-weight:700}.drawer-links a.nuxt-link-exact-active .drawer-icon[data-v-3c100563]{background:#fff;color:#3e4cd4}.drawer-icon[data-v-3c100563]{align-items:center;background:hsla(0,0%,100%,.14);border-radius:12px;color:#fff;display:flex;flex:0 0 auto;height:38px;justify-content:center;width:38px}.drawer-icon svg[data-v-3c100563]{height:20px;width:20px}.drawer-link-text[data-v-3c100563]{flex:1 1 auto;min-width:0}.drawer-link-title[data-v-3c100563]{display:block;font-size:17px;font-weight:600;line-height:1.3}.drawer-link-copy[data-v-3c100563]{color:hsla(0,0%,100%,.7);display:block;font-size:13px;line-height:1.35;margin-top:1px}.drawer-chevron[data-v-3c100563]{color:hsla(0,0%,100%,.55);flex:0 0 auto;height:16px;width:16px}.drawer-account[data-v-3c100563]{display:flex;gap:10px;margin-top:16px}.drawer-account .button[data-v-3c100563]{background:transparent;border-color:hsla(0,0%,100%,.6);color:#fff;flex:1 1 0}
1.drawer-help[data-v-3c100563]{border-top:1px solid hsla(0,0%,100%,.18);margin-top:18px;padding-top:14px}.drawer-help-title[data-v-3c100563]{color:hsla(0,0%,100%,.6);font-size:13px;font-weight:600;letter-spacing:.1em;margin-bottom:8px;text-transform:uppercase}.drawer-help-row[data-v-3c100563]{align-items:center;background:transparent;border:0;color:#fff;cursor:pointer;display:flex;font-size:16px;gap:10px;padding:9px 0;text-align:left;width:100%}.drawer-help-row svg[data-v-3c100563]{flex:0 0 auto;height:19px;width:19px}.drawer-help-note[data-v-3c100563]{color:hsla(0,0%,100%,.65);font-size:13px;margin-left:auto}',""]),n.locals={},e.exports=n},,,,function(e,t,r){"use strict";r(342)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".fullwidth[data-v-dd408964]{width:100%}.discount[data-v-dd408964]{padding-bottom:5px}.discount span[data-v-dd408964]{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(343)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".fullwidth[data-v-e851d374]{width:100%}.discount[data-v-e851d374]{padding-bottom:5px}.discount span[data-v-e851d374]{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.partner-slug[data-v-e851d374]{text-transform:capitalize}.free-partner-logo[data-v-e851d374]{display:block;margin:0 auto;max-width:350px}",""]),n.locals={},e.exports=n},,function(e,t,r){"use strict";r(347)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".security-seal{min-height:42px;width:106px}.security-seal img{display:block;height:auto;width:106px}.security-seal--small{min-height:32px;width:82px}.security-seal--small img{width:82px}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(348)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,'.quote-trust[data-v-1138ca47]{align-items:center;background:#f7f8fa;border-radius:12px;display:flex;gap:10px;margin-top:10px;padding:8px 10px}.quote-trust-grid[data-v-1138ca47]{display:grid;flex:1;grid-template-columns:1fr;min-width:0;grid-gap:6px 8px;gap:6px 8px;list-style:none;margin:0;padding:0}@media(min-width:360px){.quote-trust-grid[data-v-1138ca47]{grid-template-columns:1fr 1fr}}.quote-trust-item[data-v-1138ca47]{align-items:flex-start;display:flex;gap:6px;min-width:0;text-align:left}.quote-trust-item svg[data-v-1138ca47]{fill:none;flex:none;height:14px;margin-top:1px;stroke:#17803d;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6;width:14px}.quote-trust-item>div[data-v-1138ca47]{min-width:0}.quote-trust-title[data-v-1138ca47]{color:#14161f;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-trust-sub[data-v-1138ca47],.quote-trust-title[data-v-1138ca47]{font-family:"Lettera Text LL",Helvetica,Arial,sans-serif;line-height:1.2}.quote-trust-sub[data-v-1138ca47]{color:#767b8c;font-size:10px}.quote-trust-seal[data-v-1138ca47]{flex:none}@media(max-width:420px){.quote-trust[data-v-1138ca47]{flex-direction:column;gap:10px}}',""]),n.locals={},e.exports=n},,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r(357)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,'.autofill-button[data-v-42145304]{background:#3e4cd4;border-radius:0 15px 15px 0;color:#fff;cursor:pointer;display:block;font-size:12px;height:43px;line-height:40px;position:absolute;right:1px;text-align:center;top:1px;width:100px;z-index:1}.autofill-button .spinner[data-v-42145304]{animation:spin-42145304 1s ease-in-out infinite;-webkit-animation:spin-42145304 1s ease-in-out infinite;border:2px solid hsla(0,0%,100%,.3);border-radius:50%;border-top-color:#fff;display:inline-block;height:15px;width:15px}@keyframes spin-42145304{to{-webkit-transform:rotate(1turn)}}.autocomplete-input[data-v-42145304]{margin:0}.autocomplete[data-v-42145304]{position:relative;width:100%}.autocomplete-results[data-v-42145304]{background:#fff;border:1px solid #e2e2e2!important;border-radius:0 0 5px 5px;height:auto;margin:0;max-height:160px;min-height:40px;overflow:auto;padding:0;position:absolute;width:100%;z-index:20}.autocomplete-result[data-v-42145304]{border-bottom:1px solid #fff;color:#000!important;cursor:pointer;list-style:none;padding:5px 10px;text-align:left}.autocomplete-result.is-active[data-v-42145304],.autocomplete-result[data-v-42145304]:hover{background-color:#3e4cd4;color:#fff!important}.loading[data-v-42145304]{margin:-8px}.loading .spinner[data-v-42145304]{height:40px;top:-5px;width:40px}.postcode-right-icon[data-v-42145304]{display:block;padding-right:130px;top:12px!important}.checkbox-icon[data-v-42145304]{border:1px solid #3e4cd4;border-radius:50%;display:block;height:20px;margin-right:10px;position:relative;width:20px}.checkbox-icon[data-v-42145304]:after,.checkbox-icon[data-v-42145304]:before{content:"";left:0;position:absolute}.checkbox-icon[data-v-42145304]:before{height:50%;top:6px;width:3px}.checkbox-icon[data-v-42145304]:after,.checkbox-icon[data-v-42145304]:before{background-color:#3e4cd4;transform:translateX(10px) rotate(-45deg);transform-origin:left bottom}.checkbox-icon[data-v-42145304]:after{bottom:3px;height:3px;width:100%}',""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(358)},function(e,t,r){var n=r(13)(function(e){return e[1]});
1n.push([e.i,".fullwidth[data-v-65a6f407]{width:100%}.discount[data-v-65a6f407]{padding-bottom:5px}.discount span[data-v-65a6f407]{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.display-discount[data-v-65a6f407]{color:#3e4cd4;line-height:22px;margin-top:20px}.personal-cover-link[data-v-65a6f407]{font-size:.75rem;margin-top:20px}.personal-cover-link span[data-v-65a6f407]{border-bottom:1px solid;cursor:pointer}.is-size-10[data-v-65a6f407]{font-size:16px}.dob-label[data-v-65a6f407]{color:#767b8c;display:block;font-size:13px;font-weight:600;letter-spacing:.14em;margin-bottom:8px;text-transform:uppercase}.dob-row[data-v-65a6f407]{align-items:flex-start}.dob-col[data-v-65a6f407]{flex:1;min-width:0}.dob-col .select[data-v-65a6f407],.dob-col .select select[data-v-65a6f407]{width:100%}.dob-col .select select[data-v-65a6f407]{padding-left:12px;padding-right:34px}.dob-col .select[data-v-65a6f407]:not(.is-multiple):not(.is-loading):after{right:14px}.dob-col .select select[data-v-65a6f407]:invalid{color:#767b8c}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(359)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".quote-view[data-v-ff0b56d2]{--stack:16px;--pad:16px;--price:56px;padding:0 0 8px;text-align:left}@media screen and (max-height:780px){.quote-view[data-v-ff0b56d2]{--stack:12px;--pad:13px;--price:48px}}@media screen and (max-height:680px){.quote-view[data-v-ff0b56d2]{--stack:4px;--pad:10px;--price:38px;padding-top:14px}}.quote-eyebrow[data-v-ff0b56d2]{color:#767b8c;font-size:16px}.quote-headline[data-v-ff0b56d2]{color:#14161f;font-size:24px;letter-spacing:-.01em;margin:2px 0 0}.price-container[data-v-ff0b56d2]{margin-bottom:var(--stack)}.price-headline[data-v-ff0b56d2]{align-items:baseline;display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 4px}.price-amount[data-v-ff0b56d2]{color:#3e4cd4;font-size:var(--price);font-weight:700;letter-spacing:-.03em;line-height:1}.price-period[data-v-ff0b56d2]{color:#767b8c;font-size:20px}.price-annual[data-v-ff0b56d2]{color:#767b8c;font-size:16px}.price[data-v-ff0b56d2]{color:#3e4cd4;font-size:4rem;line-height:1}.annually-price .price[data-v-ff0b56d2]{color:#3e4cd4;font-size:2rem}.monthly-price[data-v-ff0b56d2]{margin:40px 0 20px}.monthly-price .price[data-v-ff0b56d2]{margin-top:10px}.reassurance[data-v-ff0b56d2]{background:#ecedfb;border-radius:12px;color:#3e4cd4;padding:var(--pad) 18px}.reassurance-title[data-v-ff0b56d2]{font-size:18px;font-weight:700}.reassurance-copy[data-v-ff0b56d2]{font-size:16px;line-height:1.4;margin-top:2px}@media screen and (max-height:680px){.reassurance-copy[data-v-ff0b56d2]{line-height:1.3}}.included[data-v-ff0b56d2]{background:#fff;border:1px solid #e3e5ec;border-radius:12px;margin-top:var(--stack);padding:var(--pad) 18px}@media screen and (max-width:400px){.included[data-v-ff0b56d2]{padding-left:14px;padding-right:14px}}.included-title[data-v-ff0b56d2]{color:#14161f;font-size:18px;font-weight:600}.included-grid[data-v-ff0b56d2]{display:grid;grid-template-columns:repeat(2,auto);justify-content:space-between;grid-gap:10px;gap:10px;margin-top:12px}.included-grid li[data-v-ff0b56d2]{align-items:center;color:#14161f;display:flex;font-size:15px;gap:8px}.included-grid svg[data-v-ff0b56d2]{color:#3e4cd4;flex:0 0 auto;height:18px;width:18px}@media screen and (max-width:400px){.included-grid[data-v-ff0b56d2]{gap:8px}.included-grid li[data-v-ff0b56d2]{font-size:14px;gap:6px}.included-grid svg[data-v-ff0b56d2]{height:16px;width:16px}}@media screen and (max-width:340px){.included-grid[data-v-ff0b56d2]{grid-template-columns:1fr;justify-content:start}}.included-link[data-v-ff0b56d2]{border-top:1px solid #e3e5ec;color:#3e4cd4;display:block;font-size:16px;margin-top:var(--pad);padding-top:var(--pad)}@media screen and (max-width:400px){.included-link[data-v-ff0b56d2]{font-size:14px}}.proof[data-v-ff0b56d2]{color:#14161f;font-size:15px;line-height:1.45;margin-top:var(--stack)}.proof-star[data-v-ff0b56d2]{height:18px;margin-right:4px;vertical-align:-3px;width:18px}.proof-score[data-v-ff0b56d2],.proof-star[data-v-ff0b56d2]{color:#3e4cd4}.start-today[data-v-ff0b56d2]{color:#14161f;font-size:16px;font-weight:700;margin-top:var(--stack)}.quote-cta[data-v-ff0b56d2]{border-radius:20px;margin-top:10px}@media screen and (max-height:680px){.quote-cta[data-v-ff0b56d2]{height:50px}}.quote-assurances[data-v-ff0b56d2]{margin-top:10px}.quote-assurances li[data-v-ff0b56d2]{align-items:center;color:#14161f;display:flex;font-size:16px;gap:9px;margin-top:6px}.quote-assurances li.is-green svg[data-v-ff0b56d2]{color:#17803d}.quote-assurances svg[data-v-ff0b56d2]{color:#3e4cd4;flex:0 0 auto;height:18px;width:18px}.quote-note[data-v-ff0b56d2]{background:#f7f8fa;border-radius:12px;margin-top:var(--stack);padding:var(--pad) 18px}.quote-note.is-compact[data-v-ff0b56d2]{margin-top:10px}.quote-note-title[data-v-ff0b56d2]{color:#14161f;font-size:16px;font-weight:700}.quote-note-copy[data-v-ff0b56d2]{color:#767b8c;font-size:16px;line-height:1.5;margin-top:4px}.quote-note a[data-v-ff0b56d2]{color:#3e4cd4;display:inline-block;font-size:16px;margin-top:10px;-webkit-text-decoration:underline;text-decoration:underline}.quote-note p+p[data-v-ff0b56d2]{margin-top:4px}.quote-note.is-compact p[data-v-ff0b56d2]{color:#4b5061;font-size:16px;line-height:1.5}.quote-note b[data-v-ff0b56d2]{color:#14161f}.quote-footnote[data-v-ff0b56d2]{color:#767b8c;font-size:13px;line-height:1.5;margin-top:14px;text-align:center}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(360)},function(e,t,r){var n=r(13)(function(e){return e[1]});
1n.push([e.i,".fullwidth[data-v-590e3193]{width:100%}.discount[data-v-590e3193]{padding-bottom:5px}.discount span[data-v-590e3193]{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.display-discount[data-v-590e3193]{color:#3e4cd4;margin-top:20px}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(361)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,'.register-step[data-v-08ae0f70]{text-align:left}.quote-recap[data-v-08ae0f70]{align-items:center;background:linear-gradient(135deg,#3e4cd4,#3340b4);border-radius:12px;color:#fff;display:flex;gap:16px;justify-content:space-between;margin-bottom:28px;padding:16px 18px}.quote-recap p[data-v-08ae0f70]{margin:0}.quote-recap-label[data-v-08ae0f70]{font-size:12px;font-weight:600;letter-spacing:.1em;opacity:.75;text-transform:uppercase}.quote-recap-bike[data-v-08ae0f70]{font-size:24px;font-weight:700;line-height:1.2;margin-top:4px!important}.quote-recap-cost[data-v-08ae0f70]{flex-shrink:0;text-align:right}.quote-recap-price[data-v-08ae0f70]{font-size:24px;font-weight:700;line-height:1.2}.quote-recap-period[data-v-08ae0f70]{font-size:13px;opacity:.8}.register-title[data-v-08ae0f70]{color:#14161f;font-size:32px;font-weight:700;line-height:1.15}.register-sub[data-v-08ae0f70]{color:#4b5061;font-size:16px;margin:8px 0 24px}.social-button[data-v-08ae0f70]{border:1px solid #e3e5ec;border-radius:12px;font-weight:600;height:52px;justify-content:center;margin-bottom:12px;position:relative}.social-button .social-icon[data-v-08ae0f70]{align-items:center;display:flex;height:22px;justify-content:center;left:20px;position:absolute;width:22px}.social-button .social-icon svg[data-v-08ae0f70]{height:22px;width:22px}.social-button.apple[data-v-08ae0f70]{background:#14161f;border-color:#14161f;color:#fff}.social-button.apple[data-v-08ae0f70]:hover{background:#000;color:#fff}.social-button[data-v-08ae0f70]:disabled{opacity:.55}.register-divider[data-v-08ae0f70]{align-items:center;color:#767b8c;display:flex;font-size:13px;margin:20px 0;text-align:center}.register-divider[data-v-08ae0f70]:after,.register-divider[data-v-08ae0f70]:before{border-bottom:1px solid #e3e5ec;content:"";flex:1}.register-divider span[data-v-08ae0f70]{padding:0 12px}.field[data-v-08ae0f70]{margin-bottom:16px}.field .label[data-v-08ae0f70]{color:#14161f;font-size:16px;font-weight:600;letter-spacing:normal;margin-bottom:8px;text-transform:none}.field .input[data-v-08ae0f70],.register-submit[data-v-08ae0f70]{border-radius:12px;height:56px}.register-submit[data-v-08ae0f70]{font-weight:600}.register-help[data-v-08ae0f70]{color:#767b8c;font-size:13px;line-height:1.4;margin-top:12px;text-align:center}.quote-hold[data-v-08ae0f70]{align-items:center;background:#e8f5eb;border-radius:12px;display:flex;gap:12px;margin-top:24px;padding:14px 16px}.quote-hold p[data-v-08ae0f70]{color:#14161f;font-size:16px;line-height:1.35;margin:0}.quote-hold-tick[data-v-08ae0f70]{align-items:center;background:#17803d;border-radius:50%;color:#fff;display:flex;flex-shrink:0;height:26px;justify-content:center;width:26px}.quote-hold-tick svg[data-v-08ae0f70]{height:16px;width:16px}.by-clicking[data-v-08ae0f70]{color:#767b8c;font-size:13px;line-height:1.4;padding:24px 0 0}.by-clicking a[data-v-08ae0f70]{color:#3e4cd4}.form-message[data-v-08ae0f70]{border-radius:8px;font-size:15px;line-height:1.35;margin-bottom:14px;padding:12px 14px}.form-message.error[data-v-08ae0f70]{background:#fdf3f2;color:#c0362c}.form-message.info[data-v-08ae0f70]{background:#f7f8fa;color:#4b5061}.inbox[data-v-08ae0f70]{padding:24px 0 8px;text-align:center}.inbox-icon[data-v-08ae0f70]{align-items:center;background:#ecedfb;border-radius:50%;color:#3e4cd4;display:inline-flex;height:72px;justify-content:center;margin-bottom:24px;width:72px}.inbox-icon svg[data-v-08ae0f70]{height:30px;width:30px}.inbox-title[data-v-08ae0f70]{color:#14161f;font-size:32px;font-weight:700;line-height:1.15}.inbox-copy[data-v-08ae0f70]{line-height:1.5;margin:8px 0 24px}.inbox-copy[data-v-08ae0f70],.inbox-retry[data-v-08ae0f70]{color:#4b5061;font-size:16px}.inbox-retry[data-v-08ae0f70]{margin-top:18px}.inbox-retry a[data-v-08ae0f70]{color:#3e4cd4;cursor:pointer;font-weight:600}',""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(362)},function(e,t,r){var n=r(13)(function(e){return e[1]});
1n.push([e.i,".custom-login-button[data-v-4f1da759]{width:48%}.sign-up-title[data-v-4f1da759]{color:#3e4cd4;font-size:2rem;margin-bottom:40px}.button .icon[data-v-4f1da759]{position:absolute;right:25px}.apple-button[data-v-4f1da759]{border-color:#000}.apple-button[data-v-4f1da759],.apple-button[data-v-4f1da759]:focus,.apple-button[data-v-4f1da759]:hover{background:#000;color:#fff}.apple-button .icon svg[data-v-4f1da759]{height:18px;width:18px}.by-clicking[data-v-4f1da759]{color:#b5b5b5;font-size:.8rem;line-height:1rem;padding:30px 0}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(363)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".congrats-modal .close-icon-container{cursor:pointer;position:absolute;right:20px;top:20px}.congrats-modal .v--modal-box{align-items:center;display:flex;height:100%;justify-content:center}@media print,screen and (min-width:769px){.congrats-modal .v--modal-box{padding:50px}}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(364)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".logo[data-v-055a3a31]{color:#fff;font-size:1.3rem}",""]),n.locals={},e.exports=n},function(e,t,r){e.exports={srcSet:r.p+"img/secure payment.cba7364.770.png 770w",images:[{path:r.p+"img/secure payment.cba7364.770.png",width:770,height:330}],src:r.p+"img/secure payment.cba7364.770.png",toString:function(){return r.p+"img/secure payment.cba7364.770.png"},placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAACXBIWXMAAAsTAAALEwEAmpwYAAACjElEQVQ4ja1USWuUQRCdcWEkgnFMQjQmqHE5iBsKIsF6CYhbvSAmTlwSNYkL6EEERcG7XhRP/rV6/0eqv55kmChePBTdXf1V16v36quWMdpgtIzRArVlNrDH0N3O878shmKiXRIYYxpUD64lUA+MIqi7oJaLeSzD657lm1x7/dUYD5p9rsV6YI3Zjl0yj555TGeRiWAXqBegToEaB9UFdRWM6/U8AWqy2hioKWt8B5r7yHUMjAmjDtb4UTAy9vBA7HjJ4Zkrdrfqh8sNtdEyjwW4boEyUD5E27xRj4zRNY9j5tGB6zQYI+axG4wjNdkxuPYNyma+RXVW383NKKiV8oHHIbhu9kGAAXOlDP0gN8YmqC9GfQf1yTzugdoEY8UY30A9AfULjVwZs8eotm33UUo02k/8sCa6mY+ButFUF+/MY3EAbcpx2xhmjHz4MigYdaG84SlRoTsfn6nFDDdkD56JPUrF+YF5rNZGm680TxrjoTE6la4Zo87A1UkQRu1PfY1x1qhLxjiRPWEeU8aYNeq8ubKhxsr7mTjPWbF5qTgPieZ+RTUL6kpFewfUiHnxr4J6A+oDqB+gnoH6COotqM/ZpObxE9RXUO+N8bL4vUhYqE4gfaq71gieFa2BugjqbFaBREw9No+9aEA8tUK1rhljsf5ad+AxbsmAR9K7UKU6jmSgof9oJq5FLfWbK2lLZPsaKmMejDnzmGsoj5NVn13ZfE2DFFnSNw3X3nLvO4ZE8VWm2nXdbx7JSqff7ueMeg3qUW33HAhlKJgX3zqo50at1f2GURu1g5/nufrL3R/O61WWV6DOZc6/jLZtS6TNdBsYo9XXyPOHdci3cwRvJ25vOQce/Z82AKLk+g3Ifkxr6b6uMgAAAABJRU5ErkJggg==",width:770,height:330}},function(e,t,r){e.exports={srcSet:r.p+"img/visa.ec27638.350.png 350w",images:[{path:r.p+"img/visa.ec27638.350.png",width:350,height:350}],src:r.p+"img/visa.ec27638.350.png",toString:function(){return r.p+"img/visa.ec27638.350.png"},placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAADr0lEQVRIie1WXUxURxS+a63U2BojoFVoqEaUNtWYvjSxKcaStolPfbCa+hNtAzYIQrREUqQ/BoWU8NDaHxXEoFQFFUORIlGDEkW0JbKsD4DFmpSySDXdAoLL3rnnM3Pu3NuL7mIf1pgYT3Iyd+acOd98Z2bOXE17Kk+8AHDqOAAu1YZTXaq1se4HfuRKRA8ATwKQACCeiOIBzA2TxiudB2CiBa6pNMhONUwRREQAwqIqllCxjymSLps6gA7pQ0SGapUvzw6q99usfpBxQ7UdwfbYLY1CGELXBUk1DJO5FNkXwuCxQMC0WeO6bih/Y5S/VIsxmcDuUcB+f0Ay91iptqnKpXKs4OLMylj+RMQxiagtGGPPrdsDOHi4WXz3wxmU7GuEt9fHE4eGRrhfc6IVHZ29+Pb709xK+bnmCrZ+UYVtedXwXO3msTtDfpQfbMK+svMYvOO3zg1CAvv9Afxx42+RnlkOTfsQefk1dnBN+wDb82tQWFQHTVuG8xeuIffLKkQ8n4JXF+TghchU7Ck5y/7FpeegjVvLtqaLvzOwEIZsRwPruuBUq9QJn28I0TMzsGLVLg60fOWPmDo9HT1eH1au2Y05Cdlwt/2JqJkbsShxOwIBgZERHQMDd9l/yTtfY/bcLYiOyUDx3nMcU9dFaMYS2DDM/Xjr7QIsWrwD7e1eTJmWho+SS3lP4+Zk4d2lRQwm22ee+5jb31puMGjD2XZMnLweu/Y0YMHrnyMltcxmTGMB67pg4Oyco4idtRmp6Qc4Zc2XutDV1cffm7IOM0h//zDvb9SMjXhp9qe4dXsQn2wow/TYTHRe60XSe4V44808+8BSKGBzaQY71da5EfliOqbFZCAxqYCBKo5chjZ+HY4db8HNvn54vebhe3/ZTkyOTEXV8Ra8tjAXU6LTeNFyQa/Mz0H3X/9wTMMwHp7qnh4fYl7eDE1bg93F5qGR6da01cx8XfJeZi9T/+ykZGRlV2LLZ0fY/lVeNU7UtnJmZL+u3sMxdV2EZmzdOXkfa39xY3/5BfzbP8zAdfUeHKq4xAfp8q/X8c3OU3zKT9Z7bPuB8ib7fst5JaWN8uoJFfNBYGcB+b+FIVQxkd/y8DlEqPlBGbsdjFXZM0uh9WjIkmn1rW+rZDrHLH9HeRUqtjsY405lHJOatD7sgRhDOp3A/CwCqFTGQSKSmxpOHVSxf1KvocuZ6ggAswDEhVuJKE7FnvBYf31I/YHYHSJySVXpD4ta8ciM/R/wU3ni5R4QXYwDMSOrYQAAAABJRU5ErkJggg==",width:350,height:350}},function(e,t,r){e.exports=r.p+"img/mastercard.87cb71b.svg"},function(e,t,r){"use strict";r(365)},function(e,t,r){var n=r(13)(function(e){return e[1]});
1n.push([e.i,'.lds-roller[data-v-ecfff36a]{display:inline-block;height:80px;position:relative;width:80px}.lds-roller div[data-v-ecfff36a]{animation:lds-roller-ecfff36a 1.2s cubic-bezier(.5,0,.5,1) infinite;transform-origin:40px 40px}.lds-roller div[data-v-ecfff36a]:after{background:#3e4cd4;border-radius:50%;content:" ";display:block;height:7px;margin:-4px 0 0 -4px;position:absolute;width:7px}.lds-roller div[data-v-ecfff36a]:first-child{animation-delay:-36ms}.lds-roller div[data-v-ecfff36a]:first-child:after{left:63px;top:63px}.lds-roller div[data-v-ecfff36a]:nth-child(2){animation-delay:-72ms}.lds-roller div[data-v-ecfff36a]:nth-child(2):after{left:56px;top:68px}.lds-roller div[data-v-ecfff36a]:nth-child(3){animation-delay:-.108s}.lds-roller div[data-v-ecfff36a]:nth-child(3):after{left:48px;top:71px}.lds-roller div[data-v-ecfff36a]:nth-child(4){animation-delay:-.144s}.lds-roller div[data-v-ecfff36a]:nth-child(4):after{left:40px;top:72px}.lds-roller div[data-v-ecfff36a]:nth-child(5){animation-delay:-.18s}.lds-roller div[data-v-ecfff36a]:nth-child(5):after{left:32px;top:71px}.lds-roller div[data-v-ecfff36a]:nth-child(6){animation-delay:-.216s}.lds-roller div[data-v-ecfff36a]:nth-child(6):after{left:24px;top:68px}.lds-roller div[data-v-ecfff36a]:nth-child(7){animation-delay:-.252s}.lds-roller div[data-v-ecfff36a]:nth-child(7):after{left:17px;top:63px}.lds-roller div[data-v-ecfff36a]:nth-child(8){animation-delay:-.288s}.lds-roller div[data-v-ecfff36a]:nth-child(8):after{left:12px;top:56px}@keyframes lds-roller-ecfff36a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}',""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(366)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".ps-title[data-v-12368c07]{font-size:1rem}@media print,screen and (min-width:769px){.ps-title[data-v-12368c07]{font-size:1.5rem}}.powered-by[data-v-12368c07]{color:#939598;font-size:.6rem;text-align:right}.ps-loader[data-v-12368c07]{display:block;margin:0 auto;top:100px;width:100px}select[data-v-12368c07]{border-color:#939598;border-radius:15px;height:45px;width:100%}.annual-payment-contianer[data-v-12368c07]{margin:20px auto;max-width:500px;width:100%}.form-row[data-v-12368c07]{height:100px;padding:10px 0 20px}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(367)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".StripeElement{background-color:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 3px 0 #3e4cd4;box-sizing:border-box;height:40px;padding:10px 12px;transition:box-shadow .15s ease}.StripeElement--focus{box-shadow:0 1px 3px 0 #cfd7df}.StripeElement--invalid{border-color:#fa755a}.StripeElement--webkit-autofill{background-color:#fefde5!important}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(368)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".mta-payment-modal{background:rgba(0,0,0,.5)}.mta-payment-modal .ps-button{margin:50px 0 0}.mta-payment-modal .ps-button:focus,.mta-payment-modal .ps-button:hover{color:#fff}.mta-payment-modal .close-icon-container{cursor:pointer;position:absolute;right:20px;top:10px}@media screen and (max-width:768px){.mta-payment-modal .v--modal-box{left:0!important;margin:0 auto!important;padding:50px 20px 20px;width:calc(100% - 40px)!important}}@media print,screen and (min-width:769px){.mta-payment-modal .v--modal-box{padding:50px}}.mta-payment-modal .mta-payment-error{color:red}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(369)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".mta-price[data-v-e17d6b4e]{color:#3e4cd4}.price-table[data-v-e17d6b4e]{font-size:1.2rem}.price-table .row[data-v-e17d6b4e]{display:flex;flex-direction:row;padding-bottom:10px}.price-table .row .mta-price[data-v-e17d6b4e]{flex-grow:1;text-align:right}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(370)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".logo[data-v-5eb3c545]{color:#3e4cd4;font-size:30px}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(371)},function(e,t,r){var n=r(13)(function(e){return e[1]});
1n.push([e.i,".quote-price-container[data-v-f44ca972]{align-items:center;display:flex;justify-content:center}.price-focused[data-v-f44ca972]{color:#3e4cd4;font-size:30px;font-weight:500}.price-focused span[data-v-f44ca972]{font-size:15px}@media print,screen and (min-width:769px){.price-focused[data-v-f44ca972]{font-size:35px}.price-focused span[data-v-f44ca972]{font-size:18px}}.small-price[data-v-f44ca972]{font-size:12px}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(372)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".logo[data-v-90815ba8]{color:#000;font-size:25px;font-weight:500}@media print,screen and (min-width:769px){.logo[data-v-90815ba8]{font-size:30px}}.pricebar[data-v-90815ba8]{align-items:center;border-bottom:1px solid #3e4cd4;display:flex;justify-content:space-between;padding:15px}@media print,screen and (min-width:769px){.pricebar[data-v-90815ba8]{padding:15px 20%}}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(373)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".email-modal .close-icon-container{cursor:pointer;position:absolute;right:20px;top:20px}@media print,screen and (min-width:769px){.email-modal .v--modal-box{padding:50px}}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(374)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".navbar[data-v-7e479bdc]{margin:0 auto;max-width:560px;padding:15px 0}.navbar .button-container[data-v-7e479bdc]{margin:0 auto;width:100%}.navbar .button-container .column[data-v-7e479bdc]{margin:0 5px}.navbar .button-container .button[data-v-7e479bdc]{border-radius:15px;width:100%}@media screen and (min-width:1024px){.navbar .button-container .button[data-v-7e479bdc]{max-width:245px}}.quote-summary-container[data-v-7e479bdc]{padding:0 10px;width:100%}@media print,screen and (min-width:769px){.quote-summary-container[data-v-7e479bdc]{padding:0}}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(375)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".ps-hero-body{display:table;margin:0 auto;width:100%}@media screen and (max-width:768px){.ps-hero-body{padding:0 15px}}@media print,screen and (min-width:769px){.ps-hero-body{padding:0 50px}}@media screen and (min-width:1024px){.ps-hero-body{padding:0 100px}}.ps-hero-body .container{display:table-cell;vertical-align:middle}@media print,screen and (min-width:769px){.ps-hero-body{height:90vh}}.quote-process-layout #launcher{display:none}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(376)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,"#get-quote-static-button{display:block;font-size:20px;margin:0 auto;width:100%}#get-quote-static-button:hover{color:#fff}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r(377)},function(e,t,r){var n=r(13)(function(e){return e[1]});n.push([e.i,".logo[data-v-3de231cd]{color:#fff;font-size:1.3rem}",""]),n.locals={},e.exports=n},function(e,t,r){"use strict";r.r(t),r.d(t,"actions",function(){return a});var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),r(69),r(44),r(85),r(24)),a={nuxtServerInit:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n,a,i,s,c,u,l,d;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(n=e.dispatch,e.getters,a=t.req,i=t.params,s=t.query,c=t.route,u=t.redirect,t.error,l=c.fullPath.includes("/free/"),r.prev=1,!(d=Object(o.e)(a))){r.next=2;break}return r.next=2,n("user/setUser",{displayName:d.name,email:d.email||"[email protected]",avatar:d.picture,uid:d.user_id});case 2:r.next=4;break;case 3:r.prev=3,r.catch(1);case 4:if(!l){r.next=9;break}return r.prev=5,r.next=6,n("free/fetchPartner",i.slug);case 6:r.next=8;break;case 7:return r.prev=7,r.catch(5),r.next=8,n("quote/getDefaultDiscount");case 8:r.next=22;break;case 9:if(!s){r.next=22;break}if(!s.discount){r.next=14;break}return r.prev=10,r.next=11,n("quote/getCodeDiscount",s.discount);case 11:r.next=13;break;case 12:return r.prev=12,r.catch(10),r.next=13,n("quote/getDefaultDiscount");case 13:r.next=22;break;case 14:if(!s.discountPartner){r.next=19;break}return r.prev=15,r.next=16,n("quote/getPartnerDiscount",s.discountPartner);case 16:r.next=18;break;
1case 17:return r.prev=17,r.catch(15),r.next=18,n("quote/getDefaultDiscount");case 18:r.next=22;break;case 19:return r.prev=19,r.next=20,n("quote/getDefaultDiscount");case 20:r.next=22;break;case 21:r.prev=21,r.catch(19);case 22:return r.prev=22,r.next=23,n("trustpilot/fetchOverview");case 23:r.next=25;break;case 24:r.prev=24,r.catch(22);case 25:if("mta"!==s.type&&"payment"!==s.type){r.next=26;break}return r.abrupt("return",u("/dashboard/policy/".concat(i.quoteid)));case 26:case"end":return r.stop()}},r,null,[[1,3],[5,7],[10,12],[15,17],[19,21],[22,24]])}))()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return o}),r.d(t,"getters",function(){return a}),r.d(t,"mutations",function(){return i}),r.d(t,"actions",function(){return s});var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),function(){return{posts:[],postsPagination:null,hubTags:[],singlePost:{},postsLoading:!1,postsError:"",singlePostLoading:!1,singlePostError:"",page:{},pageLoading:!1,pageError:""}}),a={posts:function(e){return e.posts},postsPagination:function(e){return e.postsPagination},hubTags:function(e){return e.hubTags},singlePost:function(e){return e.singlePost},postsError:function(e){return e.postsError},postsLoading:function(e){return e.postsLoading},singlePostError:function(e){return e.singlePostError},singlePostLoading:function(e){return e.singlePostLoading},page:function(e){return e.page},pageError:function(e){return e.pageError},pageLoading:function(e){return e.pageLoading}},i={SET_POSTS:function(e,t){e.posts=t},SET_POSTS_PAGINATION:function(e,t){e.postsPagination=t},SET_HUB_TAGS:function(e,t){e.hubTags=t},SET_SINGLE_POST:function(e,t){e.singlePost=t},SET_POSTS_LOADING:function(e,t){e.postsLoading=t},SET_POSTS_ERROR:function(e,t){e.postsError=t},SET_SINGLE_POST_LOADING:function(e,t){e.singlePostLoading=t},SET_SINGLE_POST_ERROR:function(e,t){e.singlePostError=t},SET_PAGE:function(e,t){e.page=t},SET_PAGE_ERROR:function(e,t){e.pageError=t},SET_PAGE_LOADING:function(e,t){e.pageLoading=t}},s={loadPosts:function(e){var t=arguments,r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c,u,l,d;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.commit,i=(a=t.length>1&&void 0!==t[1]?t[1]:{}).page,s=void 0===i?1:i,c=a.tag,u=void 0===c?null:c,o("SET_POSTS_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/blog/v1/posts",{params:u?{page:s,tag:u}:{page:s}});case 2:l=n.sent,o("SET_POSTS",l.posts),o("SET_POSTS_PAGINATION",l.pagination),o("SET_POSTS_LOADING",!1),o("SET_POSTS_ERROR",""),n.next=4;break;case 3:n.prev=3,d=n.catch(1),o("SET_POSTS",[]),o("SET_POSTS_PAGINATION",null),o("SET_POSTS_LOADING",!1),o("SET_POSTS_ERROR",d);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},loadHubTags:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.commit,r.prev=1,o=n,r.next=2,t.$axios.$get("/api/blog/v1/tags");case 2:o("SET_HUB_TAGS",r.sent),r.next=4;break;case 3:r.prev=3,r.catch(1),n("SET_HUB_TAGS",[]);case 4:case"end":return r.stop()}},r,null,[[1,3]])}))()},loadSinglePost:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return(o=e.commit)("SET_SINGLE_POST_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/blog/v1/post/".concat(t));case 2:a=n.sent,o("SET_SINGLE_POST",a),o("SET_SINGLE_POST_LOADING",!1),o("SET_SINGLE_POST_ERROR",""),n.next=4;break;case 3:n.prev=3,i=n.catch(1),o("SET_SINGLE_POST",null),o("SET_SINGLE_POST_LOADING",!1),o("SET_SINGLE_POST_ERROR",i);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},loadPage:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return(o=e.commit)("SET_PAGE_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/blog/v1/static-page/".concat(t));case 2:a=n.sent,o("SET_PAGE",a),o("SET_PAGE_LOADING",!1),o("SET_PAGE_ER
1ROR",""),n.next=4;break;case 3:n.prev=3,i=n.catch(1),o("SET_PAGE",null),o("SET_PAGE_LOADING",!1),o("SET_PAGE_ERROR",i);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return o}),r.d(t,"getters",function(){return a}),r.d(t,"mutations",function(){return i}),r.d(t,"actions",function(){return s});var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),function(){return{claims:[],claimsTotalCount:null,claimsLoading:!1,claimsError:""}}),a={claims:function(e){return e.claims},claimsTotalCount:function(e){return e.claimsTotalCount},claimsLoading:function(e){return e.claimsLoading}},i={SET_CLAIM:function(e,t){e.claims=t},SET_CLAIM_TOTAL_COUNT:function(e,t){e.claimsTotalCount=t},SET_CLAIM_LOADING:function(e,t){e.claimsLoading=t},SET_CLAIM_ERROR:function(e,t){e.claimsError=t}},s={fetchClaims:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return(o=e.commit)("SET_CLAIM_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/claim/v1/claims/".concat(t),{timeout:1e4});case 2:a=n.sent,o("SET_CLAIM",a),o("SET_CLAIM_TOTAL_COUNT",a.length),o("SET_CLAIM_LOADING",!1),o("SET_CLAIM_ERROR",""),n.next=4;break;case 3:n.prev=3,i=n.catch(1),o("SET_CLAIM",[]),o("SET_CLAIM_LOADING",!1),o("SET_CLAIM_ERROR",i);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return o}),r.d(t,"getters",function(){return a}),r.d(t,"mutations",function(){return i}),r.d(t,"actions",function(){return s});var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),function(){return{partner:{},partnerLoading:"",partnerError:""}}),a={partner:function(e){return e.partner}},i={SET_PARTNER:function(e,t){e.partner=t},PARTNER_LOADING:function(e,t){e.partnerLoading=t},PARTNER_ERROR:function(e,t){e.partnerError=t}},s={fetchPartner:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,o=e.commit,e.redirect,o("PARTNER_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/policy/v1/free/partner/".concat(t),{timeout:1e4});case 2:a=n.sent,o("SET_PARTNER",a),o("PARTNER_LOADING",!1),o("PARTNER_ERROR",""),null!==a.discount&&(o("quote/SET_DISCOUNT_TYPE","partner",{root:!0}),o("quote/SET_DISCOUNT",a.discount,{root:!0}),o("quote/SET_DISCOUNT_SLUG",null,{root:!0}),o("quote/SET_PARTNER_LABEL",a.partner_name,{root:!0}),o("quote/SET_PARTNER_SLUG",a.partner_slug,{root:!0}),o("quote/SET_DISCOUNT_CODE",a.discount_code,{root:!0})),n.next=4;break;case 3:throw n.prev=3,i=n.catch(1),o("SET_PARTNER",{}),o("PARTNER_LOADING",!1),o("PARTNER_ERROR",i),i(i);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return c}),r.d(t,"getters",function(){return u}),r.d(t,"mutations",function(){return l}),r.d(t,"actions",function(){return d});r(12),r(19),r(26),r(27),r(20),r(10),r(21);var n=r(9),o=r(1),a=(r(3),r(4),r(5),r(6),r(22),r(24));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){Object(n.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var c=function(){return{mtaChanges:[],mtaQuote:{},mtaQuoteLoading:!1,mtaQuoteError:"",mtaPaymentAnnuallyStatus:null,mtaPaymentAnnuallyLoading:!1,mtaPaymentAnnuallyError:"",mtaPaymentRetryStatus:null,mtaPaymentRetryLoading:!1,mtaPaymentRetryError:"",mtaPaymentMonthlyStatus:null,mtaPaymentMonthlyLoading:!1,mtaPaymentMonthlyError:"",mtaPaymentCardlessStatus:null,mtaPaymentCardlessLoading:!1,mtaPaymentCardlessError:""}},u={mtaChanges:function(e){return e.mtaChanges},mtaQuote:function(e){return e.mtaQuote},mtaQuoteLoading:function(e){return e.mtaQuoteLoading},mtaQuoteError:function(e){return e.mtaQuoteError},balance:function(e){return e.mtaQuote.balance?{currentPolicyPremium:e.mtaQuote.origin.price.total||0,newPolicyPremium:e.mtaQuote.price.total||0,newGross:e.mtaQuote.balance.balance_price.gross||0,ipt:e.mtaQuote.balance.balance_price.total-e.mtaQuote.balance.balance_price.gross||0,toBePaidReturnBalance:e.mtaQuote.balance.balance_price.total||0}:{}},mtaPaymentAnnuallyStatus:function(e){return e.mtaPaymentAnnuallyStatus},mtaPaymentAnnuallyLoading:function(e){return e.mtaPaymentAnnuallyLoading},mtaPaymentAnnuallyError:function(e){return e.mtaPaymentAnnuallyError},mtaPaymentMonthlyStatus:function(e){return e.mtaPaymentMonthlyStatus},mtaPaymentMonthlyLoading:function(e){return e.mtaPaymentMonthlyLoading},mtaPaymentMonthlyError:function(e){return e.mtaPaymentMonthlyError},mtaPaymentCardlessStatus:function(e){return e.mtaPaymentCardlessStatus},mtaPaymentCardlessLoading:function(e){return e.mtaPaymentCardlessLoading},mtaPaymentCardlessError:function(e){return e.mtaPaymentCardlessError},mtaPaymentRetryStatus:function(e){return e.mtaPaymentRetryStatus},mtaPaymentRetryLoading:function(e){return e.mtaPaymentRetryLoading},mtaPaymentRetryError:function(e){return e.mtaPaymentRetryError}},l={SET_MTA_QUOTE:function(e,t){e.mtaQuote=t},SET_MTA_CHANGES:function(e,t){e.mtaChanges=t},SET_MTA_QUOTE_LOADING:function(e,t){e.mtaQuoteLoading=t},SET_MTA_QUOTE_ERROR:function(e,t){e.mtaQuoteError=t},SET_MTA_PAYMENT_QUOTE_ANNUALLY:function(e,t){e.mtaPaymentAnnuallyStatus=t},SET_MTA_PAYMENT_QUOTE_ANNUALLY_LOADING:function(e,t){e.mtaPaymentAnnuallyLoading=t},SET_MTA_PAYMENT_QUOTE_ANNUALLY_ERROR:function(e,t){e.mtaPaymentAnnuallyError=t},SET_MTA_PAYMENT_QUOTE_MONTHLY:function(e,t){e.mtaPaymentMonthlyStatus=t},SET_MTA_PAYMENT_QUOTE_MONTHLY_LOADING:function(e,t){e.mtaPaymentMonthlyLoading=t},SET_MTA_PAYMENT_QUOTE_MONTHLY_ERROR:function(e,t){e.mtaPaymentMonthlyError=t},SET_MTA_PAYMENT_QUOTE_CARDLESS:function(e,t){e.mtaPaymentCardlessStatus=t},SET_MTA_PAYMENT_QUOTE_CARDLESS_LOADING:function(e,t){e.mtaPaymentCardlessLoading=t},SET_MTA_PAYMENT_QUOTE_CARDLESS_ERROR:function(e,t){e.mtaPaymentCardlessError=t},SET_MTA_PAYMENT_RETRY:function(e,t){e.mtaPaymentRetryStatus=t},SET_MTA_PAYMENT_RETRY_LOADING:function(e,t){e.mtaPaymentRetryLoading=t},SET_MTA_PAYMENT_RETRY_ERROR:function(e,t){e.mtaPaymentRetryError=t},RESET_MTA_QUOTE:function(e,t){e.mtaChanges=[],e.mtaQuote=Object.assign({},t),e.mtaQuoteLoading=!1,e.mtaQuoteError="",e.mtaPaymentAnnuallyStatus=null,e.mtaPaymentAnnuallyLoading=!1,e.mtaPaymentAnnuallyError="",e.mtaPaymentRetryStatus=null,e.mtaPaymentRetryLoading=!1,e.mtaPaymentRetryError="",e.mtaPaymentMonthlyStatus=null,e.mtaPaymentMonthlyLoading=!1,e.mtaPaymentMonthlyError="",e.mtaPaymentCardlessStatus=null,e.mtaPaymentCardlessLoading=!1,e.mtaPaymentCardlessError=""}},d={resetMtaQuote:function(e){e.dispatch;(0,e.commit)("RESET_MTA_QUOTE",Object(a.i)())},createMtaQuote:function(e){var t=this;return Object(o.a)(regeneratorRuntime.mark(function r(){var n,o,i,c,u,l,d,p;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.dispatch,n=e.commit,o=e.rootGetters,i=o["user/userEmail"],(c=s({},o["quote/quote"])).effectiveDate=t.$moment(new Date),u=Object(a.h)(c,i),n("SET_MTA_QUOTE_LOADING",!0),r.prev=1,r.next=2,t.$axios.$post("/api/policy/v1/policy/".concat(c.co
1de,"/mta"),u);case 2:l=r.sent,n("SET_MTA_QUOTE",Object(a.g)(l)),n("SET_MTA_QUOTE_LOADING",!1),n("SET_MTA_QUOTE_ERROR",""),r.next=4;break;case 3:r.prev=3,p=r.catch(1),d=p.response.data,n("SET_MTA_QUOTE",[]),n("SET_MTA_QUOTE_LOADING",!1),n("SET_MTA_QUOTE_ERROR",d.error);case 4:case"end":return r.stop()}},r,null,[[1,3]])}))()},payMtaQuoteMonthly:function(e,t){var r=this;return Object(o.a)(regeneratorRuntime.mark(function n(){var o,i,s,c;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,o=e.commit,i=Object(a.h)(t),o("SET_MTA_PAYMENT_QUOTE_MONTHLY_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/policy/mta/pay/monthly",i);case 2:s=n.sent,o("SET_MTA_PAYMENT_QUOTE_MONTHLY",s.success),o("SET_MTA_PAYMENT_QUOTE_MONTHLY_LOADING",!1),o("SET_MTA_PAYMENT_QUOTE_MONTHLY_ERROR",""),n.next=4;break;case 3:n.prev=3,c=n.catch(1),o("SET_MTA_PAYMENT_QUOTE_MONTHLY",!1),o("SET_MTA_PAYMENT_QUOTE_MONTHLY_LOADING",!1),o("SET_MTA_PAYMENT_QUOTE_MONTHLY_ERROR",c);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},payMtaQuoteAnnually:function(e,t){var r=this;return Object(o.a)(regeneratorRuntime.mark(function n(){var o,i,s,c;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,o=e.commit,i=Object(a.h)(t),o("SET_MTA_PAYMENT_QUOTE_ANNUALLY_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/policy/mta/pay/annually",i);case 2:s=n.sent,o("SET_MTA_PAYMENT_QUOTE_ANNUALLY",s.success),o("SET_MTA_PAYMENT_QUOTE_ANNUALLY_LOADING",!1),o("SET_MTA_PAYMENT_QUOTE_ANNUALLY_ERROR",""),n.next=4;break;case 3:n.prev=3,c=n.catch(1),o("SET_MTA_PAYMENT_QUOTE_ANNUALLY",!1),o("SET_MTA_PAYMENT_QUOTE_ANNUALLY_LOADING",!1),o("SET_MTA_PAYMENT_QUOTE_ANNUALLY_ERROR",c);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},payMtaQuoteCardless:function(e,t){var r=this;return Object(o.a)(regeneratorRuntime.mark(function n(){var o,i,s,c,u,l,d;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,o=e.commit,i=Object(a.h)(t.quote),o("SET_MTA_PAYMENT_QUOTE_CARDLESS_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/policy/mta/pay/cardless",i);case 2:s=n.sent,o("SET_MTA_PAYMENT_QUOTE_CARDLESS",s.success),o("SET_MTA_PAYMENT_QUOTE_CARDLESS_LOADING",!1),o("SET_MTA_PAYMENT_QUOTE_CARDLESS_ERROR",""),n.next=4;break;case 3:n.prev=3,d=n.catch(1),l=null!==(c=null===(u=d.response)||void 0===u||null===(u=u.data)||void 0===u?void 0:u.error)&&void 0!==c?c:"Payment could not be completed, please try again.",o("SET_MTA_PAYMENT_QUOTE_CARDLESS",!1),o("SET_MTA_PAYMENT_QUOTE_CARDLESS_LOADING",!1),o("SET_MTA_PAYMENT_QUOTE_CARDLESS_ERROR",l);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},retryMtaPayment:function(e,t){var r=this;return Object(o.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,o=e.commit,a=t.quote,i=t.card,o("SET_MTA_PAYMENT_RETRY_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/policy/mta/pay-retry",{pid:a.pid,card:i});case 2:s=n.sent,o("SET_MTA_PAYMENT_RETRY",s.success),o("SET_MTA_PAYMENT_RETRY_LOADING",!1),o("SET_MTA_PAYMENT_RETRY_ERROR",""),n.next=4;break;case 3:n.prev=3,c=n.catch(1),o("SET_MTA_PAYMENT_RETRY",!1),o("SET_MTA_PAYMENT_RETRY_LOADING",!1),o("SET_MTA_PAYMENT_RETRY_ERROR",c);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return o}),r.d(t,"getters",function(){return a}),r.d(t,"mutations",function(){return i}),r.d(t,"actions",function(){return s});var n=r(1),o=(r(3),r(4),r(5),r(6),r(46),r(22),function(){return{monthlyRedirectLoading:!1,monthlyRedirectSuccess:"",monthlyRedirectError:"",convertMonthlyQuoteToPolicyLoading:!1,convertMonthlyQuoteToPolicySuccess:"",convertMonthlyQuoteToPolicyError:"",monthlyFreeRedirectLoading:!1,monthlyFreeRedirectSuccess:"",monthlyFreeRedirectError:"",convertMonthlyFreeQuoteToPolicyLoading:!1,convertMonthlyFreeQuoteToPolicySuccess:"",convertMonthlyFreeQuoteToPolicyError:""}}),a={monthlyRedirectLoading:function(e){return e.monthlyRedirectLoading},monthlyRedirectSuccess:function(e){return e.monthlyRedirectSuccess},monthlyRedirectError:function(e){return e.monthlyRedirectError},convertMonthlyQuoteToPolicyLoading:function(e){return e.convertMonthlyQuoteToPolicyLoading},convertMonthlyQuoteToPolicySuccess:function(e){return e.convertMonthlyQuoteToPolicySuccess},convertMonthlyQuoteToPolicyError:function(e){return e.convertMonthlyQuoteToPolicyError},monthlyFreeRedirectLoading:function(e){return e.monthlyFreeRedirectLoading},monthlyFreeRedirectSuccess:function(e){return e.monthlyFreeRedirectSuccess},monthlyFreeRedirectError:function(e){return e.monthlyFreeRedirectError},convertMonthlyFreeQuoteToPolicyLoading:function(e){return e.convertMonthlyFreeQuoteToPolicyLoading},convertMonthlyFreeQuoteToPolicySuccess:function(e){return e.convertMonthlyFreeQuoteToPolicySuccess},convertMonthlyFreeQuoteToPolicyError:function(e){return e.convertMonthlyFreeQuoteToPolicyError}},i={SET_MONTHLY_REDIRECT_LOADING:function(e,t){e.monthlyRedirectLoading=t},SET_MONTHLY_REDIRECT_SUCCESS:function(e,t){e.monthlyRedirectSuccess=t},SET_MONTHLY_REDIRECT_ERROR:function(e,t){e.monthlyRedirectError=t},SET_CONVERT_MONTHLY_QUOTE_TO_POLICY_LOADING:function(e,t){e.convertMonthlyQuoteToPolicyLoading=t},SET_CONVERT_MONTHLY_QUOTE_TO_POLICY_SUCCESS:function(e,t){e.convertMonthlyQuoteToPolicySuccess=t},SET_CONVERT_MONTHLY_QUOTE_TO_POLICY_ERROR:function(e,t){e.convertMonthlyQuoteToPolicyError=t},SET_MONTHLY_FREE_REDIRECT_LOADING:function(e,t){e.monthlyFreeRedirectLoading=t},SET_MONTHLY_FREE_REDIRECT_SUCCESS:function(e,t){e.monthlyFreeRedirectSuccess=t},SET_MONTHLY_FREE_REDIRECT_ERROR:function(e,t){e.monthlyFreeRedirectError=t},SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_LOADING:function(e,t){e.convertMonthlyFreeQuoteToPolicyLoading=t},SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_SUCCESS:function(e,t){e.convertMonthlyFreeQuoteToPolicySuccess=t},SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_ERROR:function(e,t){e.convertMonthlyFreeQuoteToPolicyError=t}},s={monthlyRedirect:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.commit,a=t.quoteId,o("SET_MONTHLY_REDIRECT_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/pay/".concat(a,"/monthly/gocardless"));case 2:i=n.sent,o("SET_MONTHLY_REDIRECT_SUCCESS",i),o("SET_MONTHLY_REDIRECT_ERROR",""),window.location.href=i.redirect_url,n.next=4;break;case 3:n.prev=3,s=n.catch(1),o("SET_MONTHLY_REDIRECT_SUCCESS",""),o("SET_MONTHLY_REDIRECT_ERROR",s),r.$toast.error("Error while generating GoCardless redirect URL");case 4:o("SET_MONTHLY_REDIRECT_LOADING",!1);case 5:case"end":return n.stop()}},n,null,[[1,3]])}
1))()},convertMonthlyQuoteToPolicy:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c,u,l;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.commit,a=t.code,i=t.redirectFlowId,s=t.type,o("SET_CONVERT_MONTHLY_QUOTE_TO_POLICY_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/payment/v1/gocardless/success",{code:a,redirectFlowId:i});case 2:c=n.sent,o("SET_CONVERT_MONTHLY_QUOTE_TO_POLICY_SUCCESS",c),o("SET_CONVERT_MONTHLY_QUOTE_TO_POLICY_ERROR",""),"default"===s&&(r.$gtm.push({event:"purchase_complete",payment_type:"Go Cardless",transactionId:c.policy_code||"",transactionTotal:c.payment_type_amount||"","prices.total_discounted":c.payment_type_amount||"",policy_total:c.payment_type_amount||"",prices:{discount_percent:c.discount_percent||"",total_discounted:c.payment_type_amount||""}}),r.$axios.$post("/api/notifications/v1/policy-purchased",{userName:"Name missing (API need send it)",url:"https://www.pedalsure.com",policyType:"New business",paymentMethod:"GoCardless",code:c.policy_code,price:c.payment_type_amount})),r.$router.push({path:"/dashboard",query:{type:"paid"}}),n.next=4;break;case 3:n.prev=3,l=n.catch(1),u=l.response.data,o("SET_CONVERT_MONTHLY_QUOTE_TO_POLICY_SUCCESS",""),o("SET_CONVERT_MONTHLY_QUOTE_TO_POLICY_ERROR",u||l),r.$axios.$post("/api/notifications/v1/policy-purchased-failed",{message:u.error,code:a,redirectFlowId:i,url:"https://www.pedalsure.com",paymentMethod:"Go Cardless"}),"Policy is already paid!"===u.error?(r.$toast.success("Policy is already paid! Redirect do dashboard"),r.$router.push({path:"/dashboard"})):(r.$router.push({path:"/quote/".concat(a,"/summary")}),r.$toast.error("Payment failed! Please try again.",{duration:1e4}));case 4:o("SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_LOADING",!1);case 5:case"end":return n.stop()}},n,null,[[1,3]])}))()},monthlyFreeRedirect:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.commit,a=t.quoteId,i=t.slug,o("SET_MONTHLY_FREE_REDIRECT_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/pay/".concat(a,"/monthly/free/").concat(i));case 2:s=n.sent,o("SET_MONTHLY_FREE_REDIRECT_SUCCESS",s),o("SET_MONTHLY_FREE_REDIRECT_ERROR",""),window.location.href=s.redirect_url,n.next=4;break;case 3:n.prev=3,c=n.catch(1),o("SET_MONTHLY_FREE_REDIRECT_SUCCESS",""),o("SET_MONTHLY_FREE_REDIRECT_ERROR",c),r.$toast.error("Error while generating GoCardless redirect URL");case 4:o("SET_MONTHLY_FREE_REDIRECT_LOADING",!1);case 5:case"end":return n.stop()}},n,null,[[1,3]])}))()},convertMonthlyFreeQuoteToPolicy:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c,u;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.commit,a=t.code,i=t.redirectFlowId,t.slug,o("SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/payment/v1/gocardless/free/success",{code:a});case 2:s=n.sent,o("SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_SUCCESS",s),o("SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_ERROR",""),r.$axios.$post("/api/notifications/v1/policy-purchased",{userName:"".concat(s.first_name||"First name missing"," ").concat(s.last_name||"Last name missing"),url:"https://www.pedalsure.com",policyType:"30 days free",paymentMethod:"GoCardless",code:s.code||"code missing",price:s.price_inc_tax||"price missing"}),r.$router.push({path:"/dashboard",query:{type:"paid"}}),n.next=4;break;case 3:n.prev=3,u=n.catch(1),c=u.response.data,o("SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_SUCCESS",""),o("SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_ERROR",u),"Policy is already paid!"===c.error?(r.$toast.success("Policy is already paid! Redirect do dashboard"),r.$router.push({path:"/dashboard"})):(r.$router.push({path:"/dashboard"}),r.$axios.$post("/api/notifications/v1/policy-purchased-failed",{message:"30 days free GoCardless payment",code:a,redirectFlowId:i,url:"https://www.pedalsure.com",paymentMethod:"Go Cardless"}),r.$toast.error("Payment failed! Please try again.",{duration:1e4}));case 4:o("SET_CONVERT_MONTHLY_FREE_QUOTE_TO_POLICY_LOADING",!1);case 5:case"end":return n.stop()}},n,null,[[1,3]])}
1))()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return o}),r.d(t,"getters",function(){return a}),r.d(t,"mutations",function(){return i}),r.d(t,"actions",function(){return s});var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),function(){return{availablePaymentsMethodsLoading:!1,availablePaymentsMethodsSuccess:[],availablePaymentsMethodsError:""}}),a={availablePaymentsMethodsLoading:function(e){return e.availablePaymentsMethodsLoading},availablePaymentsMethods:function(e){return e.availablePaymentsMethodsSuccess},availablePaymentsMethodsError:function(e){return e.availablePaymentsMethodsError}},i={SET_AVAILABLE_PAYMENTS_METHODS_LOADING:function(e,t){e.availablePaymentsMethodsLoading=t},SET_AVAILABLE_PAYMENTS_METHODS_SUCCESS:function(e,t){e.availablePaymentsMethodsSuccess=t},SET_AVAILABLE_PAYMENTS_METHODS_ERROR:function(e,t){e.availablePaymentsMethodsError=t}},s={availablePayments:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return(n=e.commit)("SET_AVAILABLE_PAYMENTS_METHODS_LOADING",!0),r.prev=1,r.next=2,t.$axios.$get("/api/policy/v1/pay/check");case 2:o=r.sent,n("SET_AVAILABLE_PAYMENTS_METHODS_SUCCESS",o),n("SET_AVAILABLE_PAYMENTS_METHODS_ERROR",""),r.next=4;break;case 3:r.prev=3,a=r.catch(1),n("SET_AVAILABLE_PAYMENTS_METHODS_SUCCESS",!1),n("SET_AVAILABLE_PAYMENTS_METHODS_ERROR",a||"Error");case 4:n("SET_AVAILABLE_PAYMENTS_METHODS_LOADING",!1);case 5:case"end":return r.stop()}},r,null,[[1,3]])}))()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return o}),r.d(t,"getters",function(){return a}),r.d(t,"mutations",function(){return i}),r.d(t,"actions",function(){return s});var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),function(){return{annualLoading:!1,annualSuccess:"",annualError:""}}),a={annualLoading:function(e){return e.annualLoading},annualSuccess:function(e){return e.annualSuccess},annualError:function(e){return e.annualError}},i={SET_ANNUAL_LOADING:function(e,t){e.annualLoading=t},SET_ANNUAL_SUCCESS:function(e,t){e.annualSuccess=t},SET_ANNUAL_ERROR:function(e,t){e.annualError=t}},s={annual:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c,u,l,d,p;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.commit,a=t.quoteId,i=t.cardDetails,o("SET_ANNUAL_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/pay/".concat(a,"/annually"),{card:i});case 2:return s=n.sent,r.$toast.success("Success payment ".concat(s.policy_code)),r.$gtm.push({event:"purchase_complete",payment_type:"annually",transactionId:s.policy_code,transactionTotal:s.payment_type_amount,"prices.total_discounted":s.payment_type_amount,policy_total:s.payment_type_amount,prices:{discount_percent:s.discount_percent,total_discounted:s.payment_type_amount}}),r.$axios.$post("/api/notifications/v1/policy-purchased",{userName:"First name missing".concat(" ","Last name missing"),url:"https://www.pedalsure.com",policyType:"New business",paymentMethod:"Stripe",code:s.policy_code||"code missing",price:s.payment_type_amount||"price missing"}),o("SET_ANNUAL_SUCCESS",s),o("SET_ANNUAL_ERROR",""),n.next=3,r.$router.push({path:"/dashboard",query:{type:"paid"}});case 3:n.next=5;break;case 4:n.prev=4,p=n.catch(1),c=p.response,u=c.data,l=c.error,c.status,d=u.message,r.$toast.error("Error payment ".concat(l||d.error||"Error")),o("SET_ANNUAL_SUCCESS",!1),o("SET_ANNUAL_ERROR",l||d.error||"Error");case 5:o("SET_ANNUAL_LOADING",!1);case 6:case"end":return n.stop()}},n,null,[[1,4]])}))()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return o}),r.d(t,"getters",function(){return a}),r.d(t,"mutations",function(){return i}),r.d(t,"actions",function(){return s});var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),r(46),r(10),r(60),r(70),r(221),r(222),r(168),function(){return{policies:[],policiesTotalCount:null,policiesLoading:!1,policiesError:"",referFriendStatus:null,referFriendLoading:!1,referFriendError:"",renewStripePolicyStatus:null,renewStripePolicyLoading:!1,renewStripePolicyError:"",oldPolicies:[],oldPoliciesTotalCount:null,oldPoliciesLoading:!1,oldPoliciesError:"",downloadPolicyStatus:null,downloadPolicyLoading:!1,downloadPolicyError:""}}),a={policies:function(e){return e.policies},policiesTotalCount:function(e){return e.policiesTotalCount},policiesLoading:function(e){return e.policiesLoading},oldPolicies:function(e){return e.oldPolicies},oldPoliciesTotalCount:function(e){return e.oldPoliciesTotalCount},oldPoliciesLoading:function(e){return e.oldPoliciesLoading},oldPoliciesError:function(e){return e.oldPoliciesError},referFriendStatus:function(e){return e.referFriendStatus},referFriendLoading:function(e){return e.referFriendLoading},referFriendError:function(e){return e.referFriendError},renewStripePolicyStatus:function(e){return e.renewStripePolicyStatus},renewStripePolicyLoading:function(e){return e.renewStripePolicyLoading},renewStripePolicyError:function(e){return e.renewStripePolicyError},downloadPolicyStatus:function(e){return e.downloadPolicyStatus},downloadPolicyLoading:function(e){return e.downloadPolicyLoading},downloadPolicyError:function(e){return e.downloadPolicyError}},i={SET_POLICIES:function(e,t){e.policies=t},SET_POLICIES_TOTAL_COUNT:function(e,t){e.policiesTotalCount=t},SET_POLICIES_LOADING:function(e,t){e.policiesLoading=t},SET_POLICIES_ERROR:function(e,t){e.policiesError=t},SET_OLD_POLICIES:function(e,t){e.oldPolicies=t},SET_OLD_POLICIES_LOADING:function(e,t){e.oldPoliciesLoading=t},SET_OLD_POLICIES_TOTAL_COUNT:function(e,t){e.oldPoliciesTotalCount=t},SET_OLD_POLICIES_ERROR:function(e,t){e.oldPoliciesError=t},REFER_FRIEND:function(e,t){e.referFriendStatus=t},REFER_FRIEND_LOADING:function(e,t){e.referFriendLoading=t},REFER_FRIEND_ERROR:function(e,t){e.referFriendError=t},RENEW_STRIPE_POLICY_SUCCESS:function(e,t){e.renewStripePolicyStatus=t},RENEW_STRIPE_POLICY_LOADING:function(e,t){e.renewStripePolicyLoading=t},RENEW_STRIPE_POLICY_ERROR:function(e,t){e.renewStripePolicyError=t},DOWNLOAD_POLICY:function(e,t){e.downloadPolicyStatus=t},DOWNLOAD_POLICY_LOADING:function(e,t){e.downloadPolicyLoading=t},DOWNLOAD_POLICY_ERROR:function(e,t){e.downloadPolicyError=t}},s={fetchPolicies:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c,u,l,d,p;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,o=e.commit,a=e.rootGetters,i=t.limit,s=t.offset,c=a["user/userEmail"],o("SET_POLICIES_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/policy/v1/policies/".concat(c,"?limit=").concat(i,"&offset=").concat(s));case 2:u=n.sent,l=u.policies,d=u.totalCount,o("SET_POLICIES",l),o("SET_POLICIES_TOTAL_COUNT",d),o("SET_POLICIES_LOADING",!1),o("SET_POLICIES_ERROR",""),n.next=4;break;case 3:n.prev=3,p=n.catch(1),o("SET_POLICIES",[]),o("SET_POLICIES_LOADING",!1),o("SET_POLICIES_ERROR",p);case 4:case"end":return n.stop()}},n,null,[[1,3]])}
1))()},fetchHistoryPolicies:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c,u,l;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,o=e.commit,a=e.rootGetters,i=t.limit,s=t.offset,c=a["user/userEmail"],o("SET_OLD_POLICIES_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/policy/v1/policies/history/".concat(c,"?limit=").concat(i,"&offset=").concat(s));case 2:u=n.sent,o("SET_OLD_POLICIES",u.policies),o("SET_OLD_POLICIES_TOTAL_COUNT",u.totalCount),o("SET_OLD_POLICIES_LOADING",!1),o("SET_OLD_POLICIES_ERROR",""),n.next=4;break;case 3:n.prev=3,l=n.catch(1),o("SET_OLD_POLICIES",[]),o("SET_OLD_POLICIES_LOADING",!1),o("SET_OLD_POLICIES_ERROR",l);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},referFriend:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,o=e.commit,a=t.code,i=t.friends,o("REFER_FRIEND_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/refer-friend/".concat(a),i);case 2:s=n.sent,o("REFER_FRIEND",s.success),o("REFER_FRIEND_LOADING",!1),o("REFER_FRIEND_ERROR",""),r.$router.push("/dashboard/policy/".concat(a)),n.next=4;break;case 3:n.prev=3,c=n.catch(1),o("REFER_FRIEND",[]),o("REFER_FRIEND_LOADING",!1),o("REFER_FRIEND_ERROR",c);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},renewStripePolicy:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c,u;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,o=e.commit,a=t.policyCode,i=t.paymentData,o("RENEW_STRIPE_POLICY_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/policy/".concat(a,"/renew/annually"),{card:i.cardDetails});case 2:s=n.sent,o("RENEW_STRIPE_POLICY_SUCCESS",s.succes),o("RENEW_STRIPE_POLICY_LOADING",!1),o("RENEW_STRIPE_POLICY_ERROR",""),r.$router.push({path:"/",query:{type:"paid"}}),n.next=4;break;case 3:n.prev=3,u=n.catch(1),c=u.response.data,o("RENEW_STRIPE_POLICY_SUCCESS",[]),o("RENEW_STRIPE_POLICY_LOADING",!1),o("RENEW_STRIPE_POLICY_ERROR",c.error);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},downloadPolicy:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,(o=e.commit)("DOWNLOAD_POLICY_LOADING",!0),n.prev=1,n.next=2,r.$axios.get("/api/policy/v1/policy/".concat(t,"/download"),{responseType:"blob"});case 2:a=n.sent,i=window.URL.createObjectURL(a.data),(s=document.createElement("a")).href=i,s.setAttribute("download","certificate-".concat(t,".pdf")),document.body.appendChild(s),s.click(),window.URL.revokeObjectURL(i),document.body.removeChild(s),o("DOWNLOAD_POLICY",a.data),o("DOWNLOAD_POLICY_LOADING",!1),o("DOWNLOAD_POLICY_ERROR",""),n.next=4;break;case 3:n.prev=3,c=n.catch(1),o("DOWNLOAD_POLICY",""),o("DOWNLOAD_POLICY_LOADING",!1),o("DOWNLOAD_POLICY_ERROR",c);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return a}),r.d(t,"getters",function(){return i}),r.d(t,"mutations",function(){return s}),r.d(t,"actions",function(){return c});r(3),r(4),r(5),r(6);var n=r(88),o=r.n(n),a=function(){return{isActive:!1}},i={isActive:function(e,t,r,n){return!!n["quote/allowFreeLockPromotion"]&&e.isActive}},s={SET_STATUS:function(e,t){e.isActive=t}},c={addPromotion:function(e){var t=e.commit;o.a.get("show_promotion")?t("SET_STATUS",o.a.get("show_promotion")):(o.a.set("show_promotion",!0,{sameSite:"lax",expires:new Date((new Date).getTime()+864e5)}),t("SET_STATUS",!0))},hidePromotion:function(e){var t=e.commit;o.a.set("show_promotion",!1,{sameSite:"lax",expires:new Date((new Date).getTime()+864e5)}),t("SET_STATUS",!1)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return p}),r.d(t,"getters",function(){return f}),r.d(t,"mutations",function(){return m}),r.d(t,"actions",function(){return h});r(12),r(26),r(27),r(20),r(21);var n=r(1),o=r(194),a=r(9),i=(r(3),r(4),r(5),r(6),r(22),r(46),r(19),r(123),r(59),r(650),r(72),r(10),r(65),r(53)),s=r.n(i),c=r(24),u=["postcode"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?l(Object(r),!0).forEach(function(t){Object(a.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var p=function(){return{globalDiscount:{},price:{total:0},mtaPrice:{total:0},discountType:"default",discountError:"",paymentError:"",paymentSuccess:null,quoteId:"",quote:{postcode:"",age:"",discount:null,discountCode:null,discountSlug:null,partnerSlug:null,partnerLabel:null,bicycles:[],effectiveDate:s()(),payment_type:"annually",policy_type:"",insurance_components:{accessories_cover:"none",amateur_racing:"none",loss_of_earnings:"none",personal_injury:"none",public_liability:"none",worldwide_cover:"none"},userDetails:{firstName:"",lastName:"",email:"",phone:"",house:"",street:"",city:"",county:"",dateBirth:null},hiplokProducts:{dx:{count:0},gold:{count:0},edx:{count:0}}},accessoriesData:[{id:"1",name:"250",price:"1.61",isBikeAddedPrice:"0.00"},{id:"2",name:"500",price:"3.23",isBikeAddedPrice:"1.61"},{id:"3",name:"1000",price:"4.84",isBikeAddedPrice:"3.23"},{id:"4",name:"1500",price:"6.45",isBikeAddedPrice:"4.84"}],competitionData:[{id:"1",Yes:"250",price:"5%"}],foreignTravelData:[{id:"1",name:"30 days",price:"5%"},{id:"2",name:"60 days",price:"10%"}],isDiscountLoading:!1,isPaymentLoading:!1,isQuoteLoading:!1,quoteError:"",isPriceLoading:!1,priceError:"",isMtaPriceLoading:!1,mtaPriceError:"",replacementValueSum:0,isMta:!1,mtaRules:[],isSendQuoteEmailLoading:!1,sendQuoteEmailError:"",sendQuoteEmailSuccess:"",notifications:[],isFreePaymentLoading:!1,freePaymentError:"",freePaymentSuccess:""}},f={quote:function(e){return e.quote},discount:function(e){return e.quote.discount},fakeDiscountVisualOnly:function(e){return parseInt(e.quote.discount,10)+parseInt(10,10)},isDiscountLoading:function(e){return e.isDiscountLoading},isPaymentLoading:function(e){return e.isPaymentLoading},isFreePaymentLoading:function(e){return e.isFreePaymentLoading},discountType:function(e){return e.discountType},discountSlug:function(e){return e.quote.discountSlug},partnerLabel:function(e){return e.quote.partnerLabel},discountError:function(e){return e.discountError},paymentSuccess:function(e){return e.paymentSuccess},paymentError:function(e){return e.paymentError},freePaymentSuccess:function(e){return e.freePaymentSuccess},freePaymentError:function(e){return e.freePaymentError},quoteId:function(e){return e.quote.id},price:function(e){return e.price},isPriceLoading:function(e){return e.isPriceLoading},priceError:function(e){return e.priceError},mtaPrice:function(e){return e.mtaPrice},isMtaPriceLoading:function(e){return e.isMtaPriceLoading},mtaPriceError:function(e){return e.mtaPriceError},bicycles:function(e){return e.quote.bicycles},firstBikeValue:function(e){return e.quote.bicycles.length?e.quote.bicycles[0].value:""},firstBikeMake:function(e){return e.quote.bicycles.length?e.quote.bicycles[0].make:""},firstBike:function(e){return e.quote.bicycles[0]},age:function(e){return e.quote.age},postcode:function(e){return e.quote.postcode},accessoriesData:function(e){return e.accessoriesData},addedAccessories:function(e){return e.quote.insurance_components.accessories_cover},competitionData:function(e){return e.competitionData},addedCompetition:function(e){return e.quote.insurance_components.amateur_racing},foreignTravelData:function(e){return e.foreignTravelData},addedForeignTravel:function(e){return e.quote.insurance_components.worldwide_cover},addedOffer:function(e){return e.quote.hiplok},addedHiplok:function(e){return e.quote.hiplokProducts},addedHiplokTotal:function(e){return e.quote.hiplokProducts.dx.count+e.quote.hiplokProducts.gold.count+e.quote.hiplokProducts.edx.count},addedHiplokTotalPrice:function(e){return 30*e.quote.hiplokProducts.dx.count+45*e.quote.hiplokProducts.gold.count+50*e.quote.hiplokProducts.edx.count},addedPersonalCover:function(e){return e.quote.insurance_components.personal_injury},addedLossOfEarnings:function(e){return e.quote.insurance_components.loss_of_earnings},addedPublicLiability:function(e){return e.quote.insurance_components.public_liability},addedUserDetails:function(e){return d(d({},e.quote.userDetails),{},{postcode:e.quote.postcode})}
1,quoteEffectiveDate:function(e){return e.quote.effectiveDate},quotePeriod:function(e){return e.quote.period},isQuoteLoading:function(e){return e.isQuoteLoading},quoteError:function(e){return e.quoteError},replacementValueSum:function(e){return e.quote.bicycles.length>0?e.quote.bicycles.map(function(e){return e.value}).reduce(function(e,t){return Number(e)+Number(t)}):0},isMta:function(e){return e.isMta},sendQuoteEmailError:function(e){return e.sendQuoteEmailError},isSendQuoteEmailLoading:function(e){return e.isSendQuoteEmailLoading},sendQuoteEmailSuccess:function(e){return e.sendQuoteEmailSuccess},notifications:function(e){return e.notifications},is30daysFree:function(e){var t="30days"===e.quote.policy_type;return t},policyType:function(e){switch(e.quote.payment_type){case 4:case"pedalsure":return"30 days free";case 1:return"Stripe";case 2:return"Premfina";case 12:return"GoCardless";default:return""}},allowMTA:function(e){var t="30days"===e.quote.policy_type,r=2===e.quote.binder_id,n=3===e.quote.binder_id,o=4===e.quote.binder_id,a=1===e.quote.status;return!t&&(r||n||o)&&a},isQuoteEmpty:function(e){return!(""!==e.quote.postcode||0!==e.quote.bicycles.length||"none"!==e.quote.insurance_components.accessories_cover||"none"!==e.quote.insurance_components.amateur_racing||"none"!==e.quote.insurance_components.loss_of_earnings||"none"!==e.quote.insurance_components.personal_injury||"none"!==e.quote.insurance_components.public_liability||"none"!==e.quote.insurance_components.worldwide_cover)},allowFreeLockPromotion:function(e,t){var r=0!==e.quote.bicycles.length&&e.quote.bicycles[0].value>="1500",n=null!==e.quote.partnerSlug,o=null!==e.quote.discountSlug,a=e.globalDiscount.hasPromotion;return r&&!n&&(!o||a)}},m={SET_DISCOUNT_TYPE:function(e,t){e.discountType=t},SET_DISCOUNT:function(e,t){e.quote.discount=t},SET_DISCOUNT_CODE:function(e,t){e.quote.discountCode=t},SET_DISCOUNT_SLUG:function(e,t){e.quote.discountSlug=t},SET_PARTNER_SLUG:function(e,t){e.quote.partnerSlug=t},SET_PARTNER_LABEL:function(e,t){e.quote.partnerLabel=t},SET_GLOBAL_DISCOUNT:function(e,t){e.globalDiscount=t},SET_DISCOUNT_LOADING:function(e,t){e.isDiscountLoading=t},SET_DISCOUNT_ERROR:function(e,t){e.discountError=t},SET_PAYMENT_LOADING:function(e,t){e.isPaymentLoading=t},SET_PAYMENT_ERROR:function(e,t){e.paymentError=t},SET_PAYMENT_SUCCESS:function(e,t){e.paymentSuccess=t},SET_FREE_PAYMENT_LOADING:function(e,t){e.isFreePaymentLoading=t},SET_FREE_PAYMENT_ERROR:function(e,t){e.freePaymentError=t},SET_FREE_PAYMENT_SUCCESS:function(e,t){e.freePaymentSuccess=t},UPDATE_PRICE:function(e,t){e.price=Object.assign({},t)},UPDATE_PRICE_LOADING:function(e,t){e.isPriceLoading=t},UPDATE_PRICE_ERROR:function(e,t){e.priceError=t},UPDATE_MTA_PRICE:function(e,t){e.mtaPrice=Object.assign({},t)},UPDATE_MTA_PRICE_LOADING:function(e,t){e.isMtaPriceLoading=t},UPDATE_MTA_PRICE_ERROR:function(e,t){e.mtaPrice=t},ADD_BIKE:function(e,t){e.quote.bicycles.push({make:t.make,value:t.value,isEbike:t.isEbike,id:"tmp_"+Math.random().toString(36).substr(2,9)}),e.quote.bicycles.sort(function(e,t){return t.value-e.value})},DELETE_BIKE:function(e,t){var r=e.quote.bicycles.filter(function(e){return e.id!==t}).sort(function(e,t){return t.value-e.value});e.quote.bicycles=r},EDIT_BIKE:function(e,t){var r=e.quote.bicycles.find(function(e){return e.id===t.id});Object.assign(r,t),e.quote.bicycles.sort(function(e,t){return t.value-e.value})},EDIT_FIRST_BIKE_VALUE:function(e,t){0!==e.quote.bicycles.length?e.quote.bicycles[0].value=t:e.quote.bicycles.push({make:"default",value:t,id:"tmp_"+Math.random().toString(36).substr(2,9)})},EDIT_FIRST_BIKE_MAKE:function(e,t){0!==e.quote.bicycles.length?e.quote.bicycles[0].make=t:e.quote.bicycles.push({make:t})},EDIT_FIRST_BIKE_IS_EBIKE:function(e,t){0!==e.quote.bicycles.length&&(e.quote.bicycles[0].isEbike=t)},EDIT_AGE:function(e,t){e.quote.age=t}
1,EDIT_POSTCODE:function(e,t){e.quote.postcode=t},SET_ACCESSORIES:function(e,t){e.quote.insurance_components.accessories_cover=t},REMOVE_ACCESSORIES:function(e,t){e.quote.insurance_components.accessories_cover="none"},SET_COMPETITION:function(e,t){e.quote.insurance_components.amateur_racing=t},REMOVE_COMPETITION:function(e,t){e.quote.insurance_components.amateur_racing="none"},SET_FOREIGN_TRAVEL:function(e,t){e.quote.insurance_components.worldwide_cover=t},SET_OFFER:function(e,t){e.quote.hiplok=t},SET_HIPLOK:function(e,t){e.quote.hiplokProducts=t},REMOVE_FOREIGN_TRAVEL:function(e,t){e.quote.insurance_components.worldwide_cover="none"},SET_PERSONAL_COVER:function(e,t){e.quote.insurance_components.personal_injury=t},REMOVE_PERSONAL_COVER:function(e,t){e.quote.insurance_components.personal_injury="none"},SET_LOSS_OF_EARNINGS:function(e,t){e.quote.insurance_components.loss_of_earnings=t},REMOVE_LOSS_OF_EARNINGS:function(e,t){e.quote.insurance_components.loss_of_earnings="none"},SET_PUBLIC_LIABILITY:function(e,t){e.quote.insurance_components.public_liability=t},REMOVE_PUBLIC_LIABILITY:function(e,t){e.quote.insurance_components.public_liability="none"},RESET_QUOTE:function(e,t){e.quote=Object.assign({},t)},SET_QUOTE:function(e,t){e.quote=Object.assign({},t)},SET_QUOTE_ERROR:function(e,t){e.quoteError=t},SET_QUOTE_LOADING:function(e,t){e.isQuoteLoading=t},SET_USER_DETAILS:function(e,t){var r=t.postcode,n=Object(o.a)(t,u);e.quote.userDetails=n,e.quote.postcode=r},SET_USER_DETAILS_HOUSE:function(e,t){e.quote.userDetails.house=t},SET_USER_DETAILS_SREET:function(e,t){e.quote.userDetails.street=t},SET_USER_DETAILS_CITY:function(e,t){e.quote.userDetails.city=t},SET_USER_DETAILS_COUNTY:function(e,t){e.quote.userDetails.county=t},SET_USER_DETAILS_DOB:function(e,t){e.quote.userDetails.dateBirth=t},SET_USER_DETAILS_POSTCODE:function(e,t){e.quote.postcode=t},SET_QUOTE_USER_DETAILS_EMAIL:function(e,t){e.quote.userDetails.email=t},SET_QUOTE_USER_DETAILS_FIRST_NAME:function(e,t){e.quote.userDetails.firstName=t},SET_QUOTE_USER_DETAILS_LAST_NAME:function(e,t){e.quote.userDetails.lastName=t},SET_EFFECTIVE_DATE:function(e,t){e.quote.effectiveDate=t},RESET_PRICE:function(e){e.price={total:0},e.mtaPrice={total:0}},SET_MTA_FLAG:function(e,t){e.isMta=t},SET_REPLACEMENT_VALUE_SUM:function(e,t){e.quote.replacementValueSum=t},SEND_QUOTE_EMAIL_SUCCESS:function(e,t){e.sendQuoteEmailSuccess=t},SEND_QUOTE_EMAIL_ERROR:function(e,t){e.sendQuoteEmailError=t},SEND_QUOTE_EMAIL_LOADING:function(e,t){e.isSendQuoteEmailLoading=t},SET_NOTIFICATION:function(e,t){var r=t.notifications;e.notifications=r}},h={setDiscount:function(e,t){(0,e.commit)("SET_DISCOUNT",t)},getDefaultDiscount:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.commit,r.prev=1,r.next=2,t.$axios.get("/api/policy/v1/discount",{timeout:1e4});case 2:o=r.sent,a=o.data,i=a.discount,n("SET_DISCOUNT_TYPE","default"),n("SET_DISCOUNT",i),r.next=4;break;case 3:r.prev=3,r.catch(1),n("SET_DISCOUNT",0);case 4:case"end":return r.stop()}},r,null,[[1,3]])}))()},getCodeDiscount:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c,u;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.dispatch,(a=e.commit)("SET_DISCOUNT_LOADING",!0),n.prev=1,n.next=2,r.$axios.get("/api/policy/v1/discount/code/".concat(t),{timeout:1e4});case 2:return i=n.sent,s=i.data,c=s.discount,a("SET_DISCOUNT_TYPE","code"),a("SET_DISCOUNT",c),a("SET_DISCOUNT_CODE",t),a("SET_DISCOUNT_LOADING",!1),a("SET_DISCOUNT_ERROR",""),n.next=3,o("calculatePrice");case 3:n.next=5;break;case 4:throw n.prev=4,u=n.catch(1),a("SET_DISCOUNT_TYPE","default"),a("SET_DISCOUNT_LOADING",!1),a("SET_DISCOUNT_ERROR","Invalid code"),new Error(u);case 5:case"end":return n.stop()}},n,null,[[1,4]])}))()},getPartnerDiscount:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,c,u,l,d,p,f;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.dispatch,a=e.commit,i=e.getters,a("SET_DISCOUNT_LOADING",!0),n.prev=1,n.next=2,r.$axios.get("/api/policy/v1/discount/partner/".concat(t),{timeout:1e4});case 2:if(s=n.sent,c=s.data,a("SET_GLOBAL_DISCOUNT",c),u=c.discount,l=c.code,d=c.label,p=d||t,a("SET_DISCOUNT_TYPE","partner"),a("SET_DISCOUNT_CODE",l),a("SET_DISCOUNT",u),a("SET_DISCOUNT_SLUG",t),a("SET_PARTNER_LABEL",p),a("SET_DISCOUNT_LOADING",!1),a("SET_DISCOUNT_ERROR",""),i.isQuoteEmpty){n.next=3;break}return n.next=3,o("calculatePrice");case 3:n.next=5;break;case 4:throw n.prev=4,f=n.catch(1),a("SET_DISCOUNT_TYPE","default"),a("SET_DISCOUNT_LOADING",!1),a("SET_DISCOUNT_ERROR","Invalid code"),new Error(f);case 5:case"end":return n.stop()}},n,null,[[1,4]])}))()},calculatePrice:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.commit,o=e.state,n("UPDATE_PRICE_LOADING",!0),r.prev=1,r.next=2,t.$axios.$post("/api/policy/v1/price",o.quote,{timeout:1e4});case 2:a=r.sent,n("UPDATE_PRICE",a),n("UPDATE_PRICE_LOADING",!1),n("UPDATE_PRICE_ERROR",""),r.next=4;break;case 3:r.prev=3,i=r.catch(1),n("UPDATE_PRICE",{total:0}),n("UPDATE_PRICE_LOADING",!1),n("UPDATE_PRICE_ERROR",i);case 4:case"end":return r.stop()}},r,null,[[1,3]])}
1))()},calculateMtaPrice:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.commit,o=e.state,n("UPDATE_MTA_PRICE_LOADING",!0),r.prev=1,r.next=2,t.$axios.$post("/api/policy/v1/price",o.quote);case 2:r.sent,n("UPDATE_MTA_PRICE",{total:6666}),n("UPDATE_MTA_PRICE_LOADING",!1),n("UPDATE_MTA_PRICE_ERROR",""),r.next=4;break;case 3:r.prev=3,a=r.catch(1),n("UPDATE_MTA_PRICE",{total:0}),n("UPDATE_MTA_PRICE_LOADING",!1),n("UPDATE_MTA_PRICE_ERROR",a);case 4:case"end":return r.stop()}},r,null,[[1,3]])}))()},addBike:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("ADD_BIKE",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},deleteBike:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("DELETE_BIKE",t.id),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},editBike:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("EDIT_BIKE",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},editFirstBikeValue:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("EDIT_FIRST_BIKE_VALUE",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},editFirstBikeMake:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("EDIT_FIRST_BIKE_MAKE",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},editAge:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("EDIT_AGE",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},editPostcode:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("EDIT_POSTCODE",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},editRiskFactors:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i,c,u;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,o=e.commit,a=t.bike,i=t.address,c=t.dateOfBirth,o("EDIT_FIRST_BIKE_VALUE",a.firstBikeValue),o("EDIT_FIRST_BIKE_IS_EBIKE",a.isEbike),o("SET_USER_DETAILS_HOUSE",i.house),o("SET_USER_DETAILS_SREET",i.street),o("SET_USER_DETAILS_CITY",i.city),o("SET_USER_DETAILS_COUNTY",i.county),o("SET_USER_DETAILS_POSTCODE",i.postcode),u=s()("".concat(c.day,"-").concat(c.month,"-").concat(c.year),"D/M/YYYY").format("YYYY-MM-DD"),o("SET_USER_DETAILS_DOB",u),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},editPersonalCoverRiskFactors:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(o=e.commit)("EDIT_AGE",t.age),o("EDIT_POSTCODE",t.postcode),o("SET_PERSONAL_COVER","bronze"),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},editFullRiskFactors:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i,s,c;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,o=e.commit,a=t.bike,i=t.address,s=t.dateOfBirth,c=t.partnerSlug,o("EDIT_FIRST_BIKE_VALUE",a.firstBikeValue),o("EDIT_FIRST_BIKE_MAKE",a.firstBikeMake),o("SET_USER_DETAILS_HOUSE",i.house),o("SET_USER_DETAILS_SREET",i.street),o("SET_USER_DETAILS_CITY",i.city),o("SET_USER_DETAILS_COUNTY",i.county),o("SET_USER_DETAILS_POSTCODE",i.postcode),o("SET_USER_DETAILS_DOB","".concat(s.year,"-").concat(s.month,"-").concat(s.day)),o("SET_ACCESSORIES","250"),"peddle"===c&&o("SET_PERSONAL_COVER","bronze"),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()}
1,setAccessories:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("SET_ACCESSORIES",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},setCompetition:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("SET_COMPETITION",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},setForeignTravel:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("SET_FOREIGN_TRAVEL",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},setOffer:function(e,t){e.dispatch;(0,e.commit)("SET_OFFER",t)},setHiplok:function(e,t){e.dispatch;(0,e.commit)("SET_HIPLOK",t)},setPersonalCover:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:n=e.dispatch,o=e.commit,a=e.getters,o("SET_PERSONAL_COVER",t),i=t,r.next="bronze"===i?1:"silver"===i?2:"gold"===i?3:"none"===i?4:5;break;case 1:return a.addedLossOfEarnings>200&&o("SET_LOSS_OF_EARNINGS",200),o("SET_PUBLIC_LIABILITY",1),r.abrupt("continue",5);case 2:return a.addedLossOfEarnings>500&&o("SET_LOSS_OF_EARNINGS",500),o("SET_PUBLIC_LIABILITY",1),r.abrupt("continue",5);case 3:return o("SET_PUBLIC_LIABILITY",1),r.abrupt("continue",5);case 4:return o("SET_LOSS_OF_EARNINGS","none"),o("SET_PUBLIC_LIABILITY","none"),r.abrupt("continue",5);case 5:return r.next=6,n("calculatePrice");case 6:case"end":return r.stop()}},r)}))()},setLossOfEarnings:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("SET_LOSS_OF_EARNINGS",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},setPublicLiability:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.dispatch,(0,e.commit)("SET_PUBLIC_LIABILITY",t),r.next=1,n("calculatePrice");case 1:case"end":return r.stop()}},r)}))()},fetchQuote:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,(o=e.commit)("SET_QUOTE_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/policy/v1/quote/".concat(t));case 2:a=n.sent,o("SET_MTA_FLAG",!1),o("SET_QUOTE",Object(c.g)(a)),o("SET_QUOTE_LOADING",!1),o("SET_QUOTE_ERROR",""),n.next=4;break;case 3:n.prev=3,i=n.catch(1),o("SET_QUOTE",Object(c.i)()),o("SET_QUOTE_LOADING",!1),o("SET_QUOTE_ERROR",i.response.data.error),o("RESET_PRICE");case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},fetchPublicQuote:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,(o=e.commit)("SET_QUOTE_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/policy/v1/quote/public/".concat(t));case 2:a=n.sent,o("SET_MTA_FLAG",!1),o("SET_QUOTE",Object(c.g)(a)),o("SET_QUOTE_LOADING",!1),o("SET_QUOTE_ERROR",""),n.next=4;break;case 3:n.prev=3,i=n.catch(1),o("SET_QUOTE",Object(c.i)()),o("SET_QUOTE_LOADING",!1),o("SET_QUOTE_ERROR",i.response.data.error),o("RESET_PRICE");case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},fetchPolicy:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,(o=e.commit)("SET_QUOTE_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/policy/v1/policy/".concat(t));case 2:a=n.sent,o("SET_MTA_FLAG",!0),o("SET_QUOTE",Object(c.g)(a)),o("SET_NOTIFICATION",Object(c.g)(a)),o("SET_QUOTE_LOADING",!1),o("SET_QUOTE_ERROR",""),n.next=4;break;case 3:n.prev=3,i=n.catch(1),o("SET_QUOTE",Object(c.i)()),o("SET_QUOTE_LOADING",!1),o("SET_QUOTE_ERROR",i),o("RESET_PRICE");case 4:case"end":return n.stop()}},n,null,[[1,3]])}
1))()},createQuote:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i,s;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.dispatch,n=e.commit,o=e.state,n("SET_QUOTE_LOADING",!0),r.prev=1,a=Object(c.h)(o.quote),r.next=2,t.$axios.$post("/api/policy/v1/quote",a);case 2:i=r.sent,n("SET_QUOTE",Object(c.g)(i)),n("SET_QUOTE_LOADING",!1),n("SET_QUOTE_ERROR",""),r.next=4;break;case 3:r.prev=3,s=r.catch(1),n("SET_QUOTE",Object(c.i)()),n("SET_QUOTE_LOADING",!1),n("SET_QUOTE_ERROR",s),n("RESET_PRICE");case 4:case"end":return r.stop()}},r,null,[[1,3]])}))()},createPersonalCoverQuote:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i,s;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.dispatch,n=e.commit,o=e.state,n("SET_QUOTE_LOADING",!0),r.prev=1,n("SET_PERSONAL_COVER","bronze"),a=Object(c.h)(o.quote),r.next=2,t.$axios.$post("/api/policy/v1/quote",a);case 2:i=r.sent,n("SET_QUOTE",Object(c.g)(i)),n("SET_QUOTE_LOADING",!1),n("SET_QUOTE_ERROR",""),r.next=4;break;case 3:r.prev=3,s=r.catch(1),n("SET_QUOTE",Object(c.i)()),n("SET_QUOTE_LOADING",!1),n("SET_QUOTE_ERROR",s),n("RESET_PRICE");case 4:case"end":return r.stop()}},r,null,[[1,3]])}))()},syncQuote:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i,s,u,l;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.dispatch,n=e.commit,o=e.state,a=e.rootGetters,i=a["user/userEmail"],n("SET_QUOTE_LOADING",!0),r.prev=1,s=Object(c.h)(o.quote,i),r.next=2,t.$axios.$put("/api/policy/v1/quote/".concat(s.id),s);case 2:u=r.sent,n("SET_QUOTE",Object(c.g)(u)),n("SET_QUOTE_LOADING",!1),n("SET_QUOTE_ERROR",""),r.next=4;break;case 3:r.prev=3,l=r.catch(1),n("SET_QUOTE",Object(c.i)()),n("SET_QUOTE_LOADING",!1),n("SET_QUOTE_ERROR",l),n("RESET_PRICE");case 4:case"end":return r.stop()}},r,null,[[1,3]])}))()},syncPublicQuote:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,a,i,s,u,l;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.dispatch,n=e.commit,o=e.state,a=e.rootGetters,i=a["user/userEmail"],n("SET_QUOTE_LOADING",!0),r.prev=1,s=Object(c.h)(o.quote,i),r.next=2,t.$axios.$put("/api/policy/v1/quote/public/".concat(s.id),s);case 2:u=r.sent,n("SET_QUOTE",Object(c.g)(u)),n("SET_QUOTE_LOADING",!1),n("SET_QUOTE_ERROR",""),r.next=4;break;case 3:r.prev=3,l=r.catch(1),n("SET_QUOTE",Object(c.i)()),n("SET_QUOTE_LOADING",!1),n("SET_QUOTE_ERROR",l),n("RESET_PRICE");case 4:case"end":return r.stop()}},r,null,[[1,3]])}))()},resetQuote:function(e){e.dispatch;var t=e.commit,r=e.state;t("RESET_QUOTE",Object(c.i)(r.quote))},setUserDetails:function(e,t){e.dispatch;(0,e.commit)("SET_USER_DETAILS",t)},setUserAddress:function(e,t){e.dispatch;(0,e.commit)("SET_USER_ADDRESS",t)},setQuoteUserDetailsEmail:function(e,t){e.dispatch;(0,e.commit)("SET_QUOTE_USER_DETAILS_EMAIL",t)},setEffectiveDate:function(e,t){e.dispatch;(0,e.commit)("SET_EFFECTIVE_DATE",t)},removeAccessories:function(e){return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.dispatch,(0,e.commit)("REMOVE_ACCESSORIES"),t.next=1,r("calculatePrice");case 1:case"end":return t.stop()}},t)}))()},removeCompetition:function(e){return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.dispatch,(0,e.commit)("REMOVE_COMPETITION"),t.next=1,r("calculatePrice");case 1:case"end":return t.stop()}},t)}))()},removeForeignTravel:function(e){return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.dispatch,(0,e.commit)("REMOVE_FOREIGN_TRAVEL"),t.next=1,r("calculatePrice");case 1:case"end":return t.stop()}},t)}))()},removePersonalCover:function(e){return Object(n.a)(regeneratorRuntime.mark(function t(){var r,n;return regeneratorRuntime.wrap(function(t){for(;;
1)switch(t.prev=t.next){case 0:return r=e.dispatch,(n=e.commit)("REMOVE_PERSONAL_COVER"),n("REMOVE_LOSS_OF_EARNINGS"),t.next=1,r("calculatePrice");case 1:case"end":return t.stop()}},t)}))()},removeLossOfEarnings:function(e){return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.dispatch,(0,e.commit)("REMOVE_LOSS_OF_EARNINGS"),t.next=1,r("calculatePrice");case 1:case"end":return t.stop()}},t)}))()},removePublicLiability:function(e){return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.dispatch,(0,e.commit)("REMOVE_PUBLIC_LIABILITY"),t.next=1,r("calculatePrice");case 1:case"end":return t.stop()}},t)}))()},makePaymentMonthly:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i,s,u,l,p;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return o=e.state,a=e.commit,i=t.quoteId,s=t.premfinaDetails,a("SET_PAYMENT_LOADING",!0),n.prev=1,n.next=2,r.$axios.$post("/api/policy/v1/pay/".concat(i,"/monthly"),s);case 2:u=n.sent,r.$toast.success("Success payment ".concat(u.policy_code)),r.$gtm.push({event:"purchase_complete",payment_type:"monthly",transactionId:u.policy_code,transactionTotal:u.payment_type_amount,"prices.total_discounted":u.payment_type_amount,policy_total:u.payment_type_amount,prices:{discount_percent:u.discount_percent,total_discounted:u.payment_type_amount}}),l=d(d({},o.quote),{},{url:"https://www.pedalsure.com",paymentMethod:"Premfina"}),r.$axios.$post("/api/notifications/v1/policy-purchased",l),a("SET_PAYMENT_LOADING",!1),a("SET_PAYMENT_SUCCESS",!0),a("SET_PAYMENT_ERROR",""),a("RESET_QUOTE",Object(c.i)()),a("RESET_PRICE"),r.$router.push({path:"/dashboard",query:{type:"paid"}}),n.next=4;break;case 3:n.prev=3,p=n.catch(1),r.$toast.error("Error payment ".concat(p.response.data.message.error)),a("SET_PAYMENT_LOADING",!1),a("SET_PAYMENT_SUCCESS",!1),a("SET_PAYMENT_ERROR",p.response.data.message.error);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()},setMtaFlag:function(e,t){e.dispatch;(0,e.commit)("SET_MTA_FLAG",t)},sendQuoteEmail:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.dispatch,(o=e.commit)("SEND_QUOTE_EMAIL_LOADING",!0),n.prev=1,n.next=2,r.$axios.$get("/api/policy/v1/quote/".concat(t,"/email"));case 2:a=n.sent,o("SEND_QUOTE_EMAIL_LOADING",!1),o("SEND_QUOTE_EMAIL_SUCCESS",a.success),o("SEND_QUOTE_EMAIL_ERROR",""),n.next=4;break;case 3:n.prev=3,i=n.catch(1),r.$toast.error("Error sending email ".concat(i.response.data.message.error)),o("SEND_QUOTE_EMAIL_LOADING",!1),o("SEND_QUOTE_EMAIL_SUCCESS",!1),o("SEND_QUOTE_EMAIL_ERROR",i.response.data.message.error);case 4:case"end":return n.stop()}},n,null,[[1,3]])}))()}}},,function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return n}),r.d(t,"getters",function(){return o}),r.d(t,"mutations",function(){return a}),r.d(t,"actions",function(){return i});r(3),r(4),r(5),r(6);var n=function(){return{theme:"blue"}},o={theme:function(e){var t="";switch(e.theme){case"red":t=":root { --main-color-test: #ff5e63; }";break;case"green":t=":root { --main-color-test: #36bab8; }";break;case"orange":t=":root { --main-color-test: #ff8216; }";break;default:t=":root { --main-color-test: #3e4cd4; }"}return t}},a={SET_THEME:function(e,t){e.theme=t}},i={setTheme:function(e,t){(0,e.commit)("SET_THEME",t)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return n}),r.d(t,"getters",function(){return o}),r.d(t,"mutations",function(){return a}),r.d(t,"actions",function(){return i});r(3),r(4),r(5),r(6);var n=function(){return{overview:{}}},o={overview:function(e){return e.overview}},a={SET_OVERVIEW:function(e,t){e.overview=t}},i={fetchOverview:function(e){e.dispatch;var t=e.commit;e.redirect,e.state,e.getters;try{t("SET_OVERVIEW",{links:[{href:"<Url for the resource>",method:"<Http method for the resource>",rel:"<Description of the relation>"}],id:"507f191e810c19729de860ea",displayName:"Trustpilot",name:{identifying:"trustpilot.com",referring:["trustpilot.com","www.trustpilot.com"]},websiteUrl:"http://www.trustpilot.com",country:"DK",numberOfReviews:{total:1464,usedForTrustScoreCalculation:1464,oneStar:58,twoStars:14,threeStars:44,fourStars:190,fiveStars:1157},status:"active",score:{trustScore:4.6,stars:4.5},badFit:!0})}catch(e){throw t("SET_OVERVIEW",null),e(e)}}}},function(e,t,r){"use strict";r.r(t),r.d(t,"state",function(){return s}),r.d(t,"getters",function(){return c}),r.d(t,"actions",function(){return u}),r.d(t,"mutations",function(){return l});var n=r(1),o=(r(3),r(4),r(5),r(6),r(22),r(290),r(88)),a=r.n(o),i=r(30),s=function(){return{uid:null,user:null,isAdmin:!1}},c={uid:function(e){return e.user&&e.user.uid?e.user.uid:null},user:function(e){return e.user},userEmail:function(e){return e.user?e.user.email:""},isAuthenticated:function(e){return!!e.user&&!!e.user.uid},isAdmin:function(e){return e.isAdmin}},u={login:function(e,t){return Object(n.a)(regeneratorRuntime.mark(function r(){var n,o,s,c,u,l,d,p,f,m,h,v,b,g;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.commit,o=e.dispatch,s=t.data,c=t.emailMarketing,u=void 0!==c&&c,r.next=1,i.b.currentUser.getIdToken(!0);case 1:return l=r.sent,r.next=2,i.b.currentUser.getIdTokenResult();case 2:d=r.sent,p={},f=!1,m=s.user,h=s.additionalUserInfo,v=h.providerId,b=h.isNewUser,void 0!==d.claims.email&&void 0!==d.claims.email_verified&&d.claims.email_verified&&d.claims.email.endsWith("@pedalsure.com")&&"[email protected]"===d.claims.email&&(f=!0),g=v,r.next="password"===g?3:"google.com"===g?4:"facebook.com"===g?5:"apple.com"===g?6:7;break;
1case 3:case 4:case 5:case 6:return p={email:m.email,uid:m.uid,displayName:m.displayName||""},r.abrupt("continue",8);case 7:p={email:m.email||"[email protected]",uid:m.uid,displayName:m.displayName||""};case 8:if(!b){r.next=9;break}return r.next=9,o("customerCreated",{userInfo:p,emailMarketing:u});case 9:a.a.set("access_token",l,{sameSite:"lax"}),n("SET_USER",p),n("quote/SET_QUOTE_USER_DETAILS_EMAIL",p.email,{root:!0}),f&&n("SET_USER_ADMIN",f);case 10:case"end":return r.stop()}},r)}))()},logout:function(e){return Object(n.a)(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.commit,e.dispatch,t.next=1,i.b.signOut();case 1:a.a.remove("access_token"),r("SET_USER",{});case 2:case"end":return t.stop()}},t)}))()},setUser:function(e,t){(0,e.commit)("SET_USER",t)},customerCreated:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o,a;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e.commit,e.dispatch,o=t.userInfo,a=t.emailMarketing,!o.email){n.next=2;break}return n.next=1,r.$axios.$post("/api/mailchimp/v1/add-customer-to-audience-list",{userInfo:o,emailMarketing:a});case 1:n.next=3;break;case 2:case 3:case"end":return n.stop()}},n)}))()},generateCustomToken:function(e,t){var r=this;return Object(n.a)(regeneratorRuntime.mark(function n(){var o;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e.commit,n.next=1,r.$axios.$post("/api/auth/v1/generate-custom-token",{uid:t});case 1:return o=n.sent,n.abrupt("return",o);case 2:case"end":return n.stop()}},n)}))()}},l={SET_USER:function(e,t){e.user=t},SET_USER_ADMIN:function(e,t){e.isAdmin=t}}},function(e,t,r){var n={"./de":385,"./de.js":385,"./en":247,"./en.js":247,"./es":386,"./es.js":386,"./fr":387,"./fr.js":387,"./hr":388,"./hr.js":388,"./hu":389,"./hu.js":389,"./it":390,"./it.js":390,"./ja":391,"./ja.js":391,"./no":392,"./no.js":392,"./pt":393,"./pt.js":393,"./ru":394,"./ru.js":394,"./uk":395,"./uk.js":395};function o(e){var t=a(e);return r(t)}function a(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=a,e.exports=o,o.id=654}],[[457,89,11,90]]]);
2//# sourceMappingURL=5f2262f.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.