PageSourceSearch

https://mykukun.com/_next/static/chunks/7098-6125de63b877d239.js

js mykukun.com collected 2026-10-03 22:04:41 UTC 14,159 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7098],{47098:function(e,n,t){var r=t(98788),s=t(22970),i=t(52322),a=t(44633),c=t(48175),l=t(57570),o=t(60549),d=t(91696),u=t(57276),x=t(27533),p=t(44299),m=t(52036),h=t(43997),y=t(2784);n.Z=function(e){var n=e.onApplyYesCallback,t=e.customAddressLabel,f=e.customIsLoading,k=e.addressRemainingCount,g=void 0===k?-1:k,j=(0,h.v9)(u.$H),v=(0,y.useState)(!1),N=v[0],A=v[1],b=(0,y.useState)(!1),R=b[0],P=b[1],Z=(0,l.A)({modalId:"prePaidAddressModal"}).handleCloseButton,w=(0,x.Z)().isFreeAddressesUser,I=(0,p.Z)(),T=function(){var e=(0,r.Z)((function(e){return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,m.oh)({trigger:"modal",triggerType:e,address:(0,m.Yg)(j),url:window.location.href})];case 1:return n.sent(),[2]}}))}));return function(n){return e.apply(this,arguments)}}(),F=function(){var e=(0,r.Z)((function(){return(0,s.__generator)(this,(function(e){switch(e.label){case 0:return[4,T("No, Thanks")];case 1:return e.sent(),A(!1),Z(),[2]}}))}));return function(){return e.apply(this,arguments)}}(),S=(0,o.Z)({myHomeReducer:j,modalId:"prePaidAddressModal",isModal:!0,onLoading:P}).handleApplyAddress,U=function(){var e=(0,r.Z)((function(){return(0,s.__generator)(this,(function(e){switch(e.label){case 0:return[4,T("Yes, Apply Address")];case 1:return e.sent(),n?n():S&&S(),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,i.jsxs)(c.Z,{displayCloseButton:!1,id:"pre-paid-address-modal",modalId:"prePaidAddressModal",width:"500px",msVisibilityTime:300,position:"fixed",shadow:!1,padding:"xs"==I?"30px 25px":"",children:[(0,d.sx)("0 0 15px 0",t||j.fullAddress,w,g,!0),(0,i.jsx)(a.Z,{style:{margin:"0 auto",marginBottom:"15px"},onClick:U,theme:"quinary",fullwidth:!0,loading:null!==f?f:R,children:"Yes, Unlock Address"}),(0,i.jsx)(a.Z,{theme:"secondary",variant:"outlined",fullwidth:!0,onClick:F,disabled:null!==f?f:R,children:"Not now"}),N?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{}),(0,i.jsx)("p",{className:"k-content k-error-msg k-color-primary-danger k-text-center",role:"alert",children:"Something went wrong, please try again later."})]}):(0,i.jsx)(i.Fragment,{})]})}},78142:function(e,n,t){var r=t(98788),s=t(70865),i=t(96670),a=t(22970),c=t(86683),l=t(42432),o=t(99142),d=t(32093),u=t(57570),x=t(36076),p=t(43997),m=t(2784);n.Z=function(e){var n=(0,c.Z)(),t=n.upgradeToPrePaidInTokenFullCycle,h=n.upgradeToPrePaidInToken,y=(0,m.useState)(!1),f=y[0],k=y[1],g=(0,m.useState)(null),j=g[0],v=g[1],N=e.myHomeAddress,A=(0,u.A)({modalId:"prePaidAddressModal"}).handleCloseButton,b=(0,p.I0)(),R=function(){var e=(0,r.Z)((function(e){var n,r,c,u,p,m,y,g;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return f?[2]:(k(!0),r=(n=e||{}).myHomeAddress,c=n.kukunId,(p=c)?[3,2]:[4,(0,l.xn)()]);case 1:p=a.sent(),a.label=2;case 2:return u=p,m=(null===r||void 0===r?void 0:r.userPropertyId)||(null===N||void 0===N?void 0:N.userPropertyId),u?[4,(0,o.IY)(Number(u),!0,r||N)]:(k(!1),(0,x.Z)("ERROR - kukunId from cookie not found"),[2]);case 3:return y=a.sent(),g=null,m?[4,h(m)]:[3,5];case 4:return g=a.sent(),[3,7];case 5:return[4,t(r||N)];case 6:g=a.sent(),a.label=7;case 7:return b((0,d.U)({prePaidAddressModal:(0,i.Z)((0,s.Z)({},y),{referrerUrl:window.location.href})})),y.success?m&&!g?(k(!1),(0,x.Z)("ERROR - addressUpgradeToPaid: ".concat(JSON.stringify(g,null,1))),[2]):g?(k(!1),v(y),A(),(0,x.Z)("addressValidationReq:\n\r".concat(JSON.stringify(y,null,1))),(0,x.Z)("addressUpgradeToPaid: ".concat(JSON.stringify(g,null,1))),[2,y]):(k(!1),(0,x.Z)("ERROR - addressUpgradeToPaid: ".concat(JSON.stringify(g,null,1))),[2]):(k(!1),(0,x.Z)("ERROR - addressValidationReq:\n\r".concat(JSON.stringify(y,null,1))),[2])}}))}));return function(n){return e.apply(this,arguments)}}();return{isUnlockAddressLoading:f,addressResponse:j,handleUnlockAddressYes:R}}},60549:function(e,n,t){var r=t(98788),s=t(22970),i=t(86683),a=t(57570),c=t(78142),l=t(32093),o=t(57276),d=t(36076),u=t(43997);n.Z=function(e){var n=e.myHomeReducer,t=e.modalId,x=void 0===t?"prePaidAddressModal":t,p=e.isModal,m=void 0!==p&&p,h=e.onLoading,y=(0,a.A)({modalId:x}).handleCloseButton,f=(0,c.Z)({myHomeAddress:n}).handleUnlockAddressYes,k=(0,i.Z)().updateReducerProperties,g=(0,u.I0)(),j=function(){var e=(0,r.Z)((function(){var e;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:h&&h(!0),n.label=1;case 1:return n.trys.push([1,4,5,6]),(0,d.Z)("INIT - Yes, Apply address"),[4,f()];case 2:return(e=n.sent())?(g((0,o.gL)(e.message)),e.success?[4,k()]:((0,d.Z)("ERROR: PrePaidAddressModal - upgradeToPrePaidInToken failed"),m&&y(),g((0,l.j1)("Failed applying address")),setTimeout((function(){g((0,l.j1)(""))}),2e3),[2])):((0,d.Z)("WARNING: PrePaidAddressModal - addressValidationReq is null"),g((0,l.j1)("Failed applying address")),setTimeout((function(){g((0,l.j1)(""))}),2e3),[2]);case 3:return n.sent(),m&&y(),[3,6];case 4:return n.sent(),(0,d.Z)("ERROR: PrePaidAddressModal - handleApplyAddress"),g((0,l.j1)("Failed applying address")),setTimeout((function(){g((0,l.j1)(""))}),2e3),m&&y(),[3,6];case 5:return h&&h(!1),[7];case 6:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}();return{handleApplyAddress:j}}},91696:function(e,n,t){t.d(n,{EP:function(){return o},TR:function(){return u},Wh:function(){return a},o7:function(){return s},sx:function(){return d},uB:function(){return l},y5:function(){return c}});var r=t(52322),s=(t(2784),function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"See all permits"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsx)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:"To explore all the permits filed by this contractor create an account. First address is free"})})]})}),i=function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"Access to all your tasks"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsxs)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:["To explore all your tasks sign in or ",(0,r.jsx)("br",{})," create an account. First address is free"]})})]})},a={"history-of-construction-permits":function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"Want to see the full history?"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsxs)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:["Create an account to see the full permit history of this home. ",(0,r.jsx)("br",{})," First address is free"]})})]})},"contractor/find-professional":function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"Unlock more contractors with a FREE Account"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsx)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:"See the best local contractors in your area and get started on your home projects faster. Your first address is free!"})})]})},"my-neighborhood/projects":function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"See More Permits Around You"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsx)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:"Sign up for free access to unlock permit details. Your first address is on us!"})})]})},"contractor/profile":function(){return(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"5px",width:"100%",textAlign:"center"},children:(0,r.jsxs)("div",{style:{margin:"10px 0 0",maxWidth:"450px"},children:[(0,r.jsx)("h5",{className:"k-h6 k-color-secondary-accent k-text-center",style:{fontSize:"17px"},children:"Unlock all permits"}),(0,r.jsx)("p",{className:"k-content k-text-center k-hide-mobile",style:{margin:"0 0 10px"},children:"To explore all the permits filed by this contractor create an account"})]})})},"my-maintenance/app":i,"renovation-data":i},c=function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"Verify your email"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsxs)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:["We\u2019ve sent you a verification email. If you ",(0,r.jsx)("br",{})," don\u2019t see it, please check your spam folder."]})})]})},l=(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"Email Resent!"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsx)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:"We\u2019ve sent a new verification email to your inbox.If you don\u2019t see it, please check your spam folder."})})]}),o={"history-of-construction-permits":function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"Upgrade to a Premium Address!"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsx)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px",maxWidth:400},children:"Get full access to the permit history of this home and other premium content."})})]})},"contractor/find-professional":function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"Unlock more contractors"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsx)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:"Get access to top contractors and premium content."})})]})},"my-neighborhood/projects":function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"Upgrade to a Premium Address!"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsxs)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:["Get full access to permits and ",(0,r.jsx)("br",{}),"premium content."]})})]})},"contractor/profile":function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"See contractor ratings"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsx)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:"Get the ratings of all contractors near this address and premium content."})})]})},"my-maintenance/app":function(){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",padding:"5px"},children:[(0,r.jsx)("h5",{className:"k-h5 k-color-secondary-accent k-text-center",children:"Upgrade to a Premium Address!"}),(0,r.jsx)("div",{style:{margin:"10px 0 0"},children:(0,r.jsx)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px"},children:"Get all your tasks and premium content."})})]})}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"5px",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"?",t=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",padding:e,width:"100%"},children:t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h4",{className:"k-h4 k-color-secondary-accent k-text-center k-spacing-x2",style:{fontSize:"22px"},children:"Enjoy Your Free Premium Address \ud83c\udf89"}),(0,r.jsx)("div",{style:{margin:"10px auto 0",textAlign:"center"},children:(0,r.jsxs)("p",{className:"k-content k-text-center",style:{margin:"0 0 10px",maxWidth:"500px"},children:["Your first premium address is free! Unlock full access to:",(0,r.jsx)("br",{}),(0,r.jsx)("div",{className:"k-content k-color-secondary-accent",style:{fontWeight:500,marginTop:20,marginBottom:20},children:n}),(0,r.jsxs)("div",{className:"k-content k-text-center k-color-primary-dark",children:["Additional premium addresses will require an upgrade. ",(0,r.jsx)("br",{}),"Would you like to redeem your free one now?"]})]})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h4",{className:"k-h4 k-color-secondary-accent k-text-center k-spacing-x2",style:{fontSize:"22px"},children:"Upgrade to a Premium Address"}),i&&(0,r.jsxs)("p",{className:"k-content k-font-primary k-600 k-color-primary-dark k-text-center",style:{marginBottom:25},children:["You have"," ",(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"k-color-senary-accent k-h5",style:{background:"#E9FCF6",width:26,height:30,marginLeft:4,marginRight:4,borderRadius:3,dis
1play:"inline-block"},children:null!==s&&void 0!==s?s:"-1"})," ","premium ",1==s?"address":"addresses"," available!"]})]}),(0,r.jsx)("div",{style:{margin:"0 auto 0",textAlign:"center"},children:(0,r.jsxs)("p",{className:"k-content k-text-center",style:{marginBottom:10,maxWidth:"500px"},children:[i?(0,r.jsx)(r.Fragment,{children:"Would you like to unlock full access to:"}):(0,r.jsxs)("span",{className:"k-color-grey-medium-texts",children:["You have a premium addresses available!",(0,r.jsx)("br",{}),"Would you like to unlock full access to:"]}),(0,r.jsx)("div",{className:"k-content k-color-secondary-accent",style:{fontWeight:500,marginTop:i?8:0},children:n})]})})]})})},u=function(){return(0,r.jsx)("div",{})}}}]);

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.