PageSourceSearch

https://frtassets.fotocasa.es/_sui/UserAutomaticLeadsPage.c4f32a9f.js

js fotocasa.es collected 2026-09-24 09:00:08 UTC 40,377 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[22493],{vvKR:function(e,t,n){n.r(t)},ejLK:function(e,t,n){n.r(t),n.d(t,{default:function(){return ne}});var r=n("sViW"),a=n("M5j3"),s=n("5ene"),i=n("jg1C"),l=n("ERkP"),c=n("aWzz"),o=n.n(c),d=n("0bwO"),u=n("pRvs"),m=n("5QG0"),A=n("ogaj"),h=n("cZ61"),p=n("fXOh"),f=n("+hKN"),x=n("zxwW"),E=n("rloe"),T=n("CVTW"),_=n("KnaF"),v=n("1dpO"),I=n("iIqQ"),C=n("+T1+"),g=n("+eFA"),N=l.forwardRef(((e,t)=>{var n=e,{title:r,fill:a="currentColor",stroke:s="none"}=n,l=(0,g.YG)(n,["title","fill","stroke"]);return(0,i.jsx)("svg",(0,g.ko)((0,g.IA)({ref:t,viewBox:"0 0 24 24","data-title":"restart"},(0,g.IA)((0,g.ko)((0,g.IA)({},r&&{"data-title":r}),{fill:a,stroke:s}),l)),{dangerouslySetInnerHTML:{__html:(void 0===r?"":`<title>${r}</title>`)+'<path d="M6 13c0-1.65.67-3.15 1.76-4.24L6.34 7.34A8.014 8.014 0 0 0 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91Zm14 0c0-4.42-3.58-8-8-8-.06 0-.12.01-.18.01l1.09-1.09L11.5 2.5 8 6l3.5 3.5 1.41-1.41-1.08-1.08c.06 0 .12-.01.17-.01 3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93Z"/>'}}))}));N.displayName="Restart";var j,L=n("/y3p"),D=n("R9Vz"),b=n("+8Zr"),y=n("6aWq"),S=n("CJ1Y"),R=n("KWbW"),O=n("A2hN"),w=function(e){return{combinedLocationIds:null==e?void 0:e.locations.combinedLocations.join(";"),conservationStatusIds:(null==e?void 0:e.conservationStates.map((function(e){return parseInt(e)})))||[],constructionTypeIds:(null==e?void 0:e.purchaseType)?String(e.purchaseType):void 0,featureIds:null==e?void 0:e.features.map((function(e){return parseInt(e)})),locationLiteral:null,maxPrice:(null==e?void 0:e.maxPrice)||(t=e.price,n=Math.floor(Math.log10(t)),r=5*Math.pow(10,n-1),Math.ceil(t/r)*r),minBathrooms:null==e?void 0:e.minBathrooms,minPrice:null==e?void 0:e.minPrice,minRooms:null==e?void 0:e.minRooms,minSurface:null==e?void 0:e.minSurface,propertySubtypeIds:(null==e?void 0:e.propertySubtypes.map((function(e){return parseInt(e)})))||[],propertyTypeId:null==e?void 0:e.propertyType,purchaseType:null==e?void 0:e.purchaseType,rentalDuration:(null==e?void 0:e.rentalDuration)||null,transactionTypeId:null==e?void 0:e.transactionType};var t,n,r},P=n("xZgF"),k=n("XiHf"),M=n("MJec"),G={ACTIVE:"ACTIVE",EXPIRING_SOON:"EXPIRING_SOON",EXPIRED:"EXPIRED",INACTIVE:"INACTIVE"},U=((j={})[G.ACTIVE]={intent:"success",icon:k.rA,i18nKey:"LEAD.AUTOMATIC_LEADS_PAGE.STATUS_TAG.ACTIVE"},j[G.EXPIRING_SOON]={intent:"alert",icon:P.RI,i18nKey:"LEAD.AUTOMATIC_LEADS_PAGE.STATUS_TAG.EXPIRING_SOON"},j[G.EXPIRED]={intent:"danger",i18nKey:"LEAD.AUTOMATIC_LEADS_PAGE.STATUS_TAG.EXPIRED"},j[G.INACTIVE]={intent:"neutral",i18nKey:"LEAD.AUTOMATIC_LEADS_PAGE.STATUS_TAG.DEACTIVATED"},j),z=function(e){var t=e.status,n=e.daysLeft,r=(0,f.s9)(),a=U[t];if(!a)return null;var s=a.intent,l=a.icon,c=a.i18nKey,o=t===G.EXPIRING_SOON?r.t(c,{days:n}):r.t(c);return(0,i.jsxs)(M.v,{variant:"tinted",intent:s,children:[l&&(0,i.jsx)(y.I,{intent:s,size:"sm",children:(0,i.jsx)(l,{})}),o]})};z.displayName="AutomaticLeadsStatusTag",z.propTypes={daysLeft:function(e,t){if(e.status===G.EXPIRING_SOON&&null==e[t])return new Error("'"+t+"' is required when status is '"+G.EXPIRING_SOON+"'")},status:o().oneOf(Object.values(G)).isRequired};var H={duration:5e3,position:"top-right"},V=7;function B(e){return Math.ceil((new Date(e)-new Date)/864e5)}function Y(e){var t=new Date(e);return t.getDate()+"/"+(t.getMonth()+1)+"/"+String(t.getFullYear()).slice(-2)}var F=(0,l.forwardRef)((function(e,t){var n=e.label,r=e.onClick,s=(0,_.A)(e,["label","onClick"]);return(0,i.jsxs)(L.$,(0,a.A)({ref:t,variant:"outlined",intent:"surface",onClick:r},s,{children:[(0,i.jsx)(y.I,{size:"md",children:(0,i.jsx)(C.gH,{})}),n]}))}));function X(e){var t,n,c=e.createdAt,o=e.expiresAt,d=e.id,u=e.leadsGenerated,A=e.locationsDescription,h=e.propertyType,p=e.searchParams,x=e.status,E=e.transactionType,T=(0,f.sn)(),_=(0,f.s9)(),C=(0,m.KA)(),g=C.location,j=C.replace,P=(0,f.UK)(["transactionTypeWithPrefixLiteralDictionary"])[0],k=_.t("BUILDING_TYPE_"+h)+" "+(null!=(n=null==P||null==(t=P[_.culture])?void 0:t[E])?n:""),M=(0,l.useState)(x!==G.INACTIVE),U=M[0],X=M[1],q=(0,l.useState)(!1),K=q[0],Z=q[1],W=w(p),$=x===G.EXPIRED,Q=function(e,t){return e!==G.ACTIVE?e:B(t)<=V?G.EXPIRING_SOON:G.ACTIVE}(x,o),J=Q===G.EXPIRING_SOON?B(o):void 0,ee=(0,r.A)((function(){return(0,s.YH)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,T.get("delete_automatic_lead_saved_search_use_case").execute({id:d})];case 1:return e.sent(),(0,O.oR)({title:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.DELETE_SUCCESS_TITLE"),description:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.DELETE_SUCCESS_DESCRIPTION"),status:"success"},(0,a.A)({},H)),j(g.pathname),[3,3];case 2:return e.sent(),(0,O.oR)({title:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.DELETE_ERROR_TITLE"),description:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.DELETE_ERROR_DESCRIPTION"),status:"error"},(0,a.A)({},H)),[3,3];case 3:return[2]}}
1))})),te=(0,r.A)((function(e){var t;return(0,s.YH)(this,(function(n){switch(n.label){case 0:t=e?"activate_automatic_lead_saved_search_use_case":"deactivate_automatic_lead_saved_search_use_case",X(e),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,T.get(t).execute({id:d})];case 2:return n.sent(),(0,O.oR)({title:_.t(e?"LEAD.AUTOMATIC_LEADS_PAGE.CARD.ACTIVATE_SUCCESS_TITLE":"LEAD.AUTOMATIC_LEADS_PAGE.CARD.DEACTIVATE_SUCCESS_TITLE"),description:e?_.interpolate("LEAD.AUTOMATIC_LEADS_PAGE.CARD.ACTIVATE_SUCCESS_DESCRIPTION",{a:function(e){return(0,i.jsx)(m.N_,(0,a.A)({to:_.t("USER.NAV.AUTOMATIC_LEADS_LINK")},e))}}):_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.DEACTIVATE_SUCCESS_DESCRIPTION"),status:"success"},H),j(g.pathname),[3,4];case 3:return n.sent(),X(!e),(0,O.oR)({title:_.t(e?"LEAD.AUTOMATIC_LEADS_PAGE.CARD.ACTIVATE_ERROR_TITLE":"LEAD.AUTOMATIC_LEADS_PAGE.CARD.DEACTIVATE_ERROR_TITLE"),description:_.t(e?"LEAD.AUTOMATIC_LEADS_PAGE.CARD.ACTIVATE_ERROR_DESCRIPTION":"LEAD.AUTOMATIC_LEADS_PAGE.CARD.DEACTIVATE_ERROR_DESCRIPTION"),status:"error"},H),[3,4];case 4:return[2]}}
1))})),ne=(0,r.A)((function(e){var t,n,r,l,c;return(0,s.YH)(this,(function(s){switch(s.label){case 0:if(t=e.filtersToApply,n=e.onSuccess,r=void 0===n?function(){}:n,!Object.keys(W).some((function(e){return t[e]!==W[e]})))return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,T.get("update_automatic_lead_saved_search_use_case").execute((0,a.A)({id:d},t))];case 2:return s.sent(),null==r||r(),(0,O.oR)({title:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.EDIT_SUCCESS_TITLE"),description:_.interpolate("LEAD.AUTOMATIC_LEADS_PAGE.CARD.EDIT_SUCCESS_DESCRIPTION",{a:function(e){return(0,i.jsx)(m.N_,(0,a.A)({to:_.t("USER.NAV.AUTOMATIC_LEADS_LINK")},e))}}),status:"success"},(0,a.A)({},H)),j(g.pathname),[3,4];case 3:return l=s.sent(),c="UnprocessableEntityError"===(null==l?void 0:l.name),(0,O.oR)({title:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.EDIT_ERROR_TITLE"),description:_.t(c?"LEAD.AUTOMATIC_FORM.ERROR.DESCRIPTION_BROAD_SEARCH":"LEAD.AUTOMATIC_LEADS_PAGE.CARD.EDIT_ERROR_DESCRIPTION"),status:"error"},(0,a.A)({},H)),[3,4];case 4:return[2]}}
1))}));return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("article",{className:"w-full border-solid border-sm border-neutral px-lg py-xl rounded-lg",children:[(0,i.jsxs)("div",{className:"flex justify-between items-center gap-md",children:[(0,i.jsxs)("div",{className:"flex items-center gap-md",children:[(0,i.jsx)(z,{status:x}),Q===G.EXPIRING_SOON&&(0,i.jsx)(z,{status:Q,daysLeft:J})]}),!$&&(0,i.jsx)(R.d,{checked:U,onCheckedChange:te})]}),(0,i.jsx)("h3",{className:"text-display-4 mb-md",children:k}),(0,i.jsx)("p",{className:"text-body-1 mb-lg",children:A}),(0,i.jsx)("div",{className:"min-h-80",children:(0,i.jsx)(v.AutomaticLeadChips,{excludedFilters:[],searchParams:W,onFiltersChange:function(){},showAllFiltersButton:!1})}),(0,i.jsx)("div",{className:"bg-main-container text-on-main-container px-lg py-mdp mb-md rounded-md",children:(0,i.jsxs)("p",{className:"m-none text-body-2",children:[(0,i.jsx)("span",{className:"font-bold text-display-4 mr-sm",children:u})," ",_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.PROPERTIES_CONTACTED")]})}),(0,i.jsxs)("p",{className:"mt-none text-body-2 mb-lg",children:[_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.CREATED_ON",{date:Y(c)})," ·"," ",(0,i.jsx)("span",{className:(0,D.cn)("font-bold",{"text-error":Q===G.EXPIRED}),children:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.EXPIRES_ON",{date:Y(o)})})]}),(0,i.jsxs)("div",{className:(0,D.cn)("flex gap-mdp border-t-sm border-solid border-outline pt-lg",$?"justify-between":"justify-end"),children:[$&&(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(L.$,{variant:"solid",intent:"main","aria-label":_.t("LEAD.AUTOMATIC_FORM.SUBMIT_BUTTON"),onClick:function(){return te(!0)},children:[(0,i.jsx)(y.I,{children:(0,i.jsx)(N,{})}),_.t("LEAD.AUTOMATIC_FORM.SUBMIT_BUTTON")]})}),(0,i.jsxs)("div",{className:"flex gap-mdp",children:[(0,i.jsx)(v.AutomaticLeadFiltersModal,{searchParams:W,onFiltersChange:ne,CustomTriggerButton:F}),(0,i.jsx)(S.K,{variant:"outlined",intent:"surface","aria-label":_.t("DELETE"),onClick:function(){Z(!0)},children:(0,i.jsx)(y.I,{children:(0,i.jsx)(I.sK,{})})})]})]})]}),K&&(0,i.jsx)(b.lG,{open:K,onOpenChange:function(){return Z((function(e){return!e}))},children:(0,i.jsxs)(b.ZJ,{children:[(0,i.jsx)(b.LC,{}),(0,i.jsxs)(b.Cf,{size:"sm",children:[(0,i.jsx)(b.c7,{children:(0,i.jsx)(b.L3,{children:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.DELETE_MODAL_TITLE")})}),(0,i.jsxs)(b.R4,{children:[(0,i.jsx)("h3",{className:"text-headline-2 m-none",children:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.DELETE_MODAL_CONFIRM")}),(0,i.jsx)(b.rr,{className:"text-body-1",children:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.DELETE_MODAL_DESCRIPTION")})]}),(0,i.jsxs)(b.Es,{className:"flex justify-end gap-md",children:[(0,i.jsx)(b.HM,{asChild:!0,children:(0,i.jsx)(L.$,{variant:"outlined",className:"w-full",children:_.t("CANCEL")})}),(0,i.jsx)(b.HM,{asChild:!0,children:(0,i.jsx)(L.$,{className:"w-full",onClick:ee,children:_.t("LEAD.AUTOMATIC_LEADS_PAGE.CARD.DELETE_CONFIRM_BUTTON")})})]}),(0,i.jsx)(b.De,{"aria-label":_.t("CONTACT_FORM.CLOSE_MODAL")})]})]})})]})}F.propTypes={label:o().string,onClick:o().func},X.displayName="AutomaticLeadsCard",X.propTypes={createdAt:o().string.isRequired,expiresAt:o().string.isRequired,id:o().string.isRequired,leadsGenerated:o().number.isRequired,locationsDescription:o().string.isRequired,propertyType:o().number.isRequired,searchParams:o().object.isRequired,status:o().string.isRequired,transactionType:o().number.isRequired};var q=n("UtOZ"),K=n("mG/d"),Z=function(){var e=(0,f.s9)();return(0,i.jsx)("div",{className:"w-full rounded-lg border-sm border-solid border-outline p-xl bg-surface",children:(0,i.jsxs)("div",{className:"flex flex-col gap-mdp",children:[(0,i.jsx)("p",{className:"text-headline-1 font-bold text-on-surface m-none",children:e.t("MY_ADS.NEED_HELP.TITLE")}),(0,i.jsx)("p",{className:"text-body-1 text-on-surface m-none",children:e.t("MY_ADS.NEED_HELP.DESCRIPTION")}),(0,i.jsxs)(K.Y,{href:"https://ayuda.fotocasa.es/",className:"flex items-center !gap-md no-underline text-body-2 font-bold",intent:"main",target:"_blank",rel:"noopener noreferrer",children:[e.t("MY_ADS.NEED_HELP.CTA"),(0,i.jsx)(y.I,{size:"sm",children:(0,i.jsx)(q.Qp,{})})]})]})})};Z.displayName="AutomaticLeadsHelpBanner";var W=n("YM4R"),$=n("VSzx");function Q(){var e=(0,f.s9)(),t=(0,f.UK)("resourcesHost")[0],n=[{title:e.t("LEAD.AUTOMATIC_LEADS_PAGE.STEP_1_TITLE"),description:e.t("LEAD.AUTOMATIC_LEADS_PAGE.STEP_1_DESCRIPTION"),image:"/img/automatic_leads_how_works_1.svg"},{title:e.t("LEAD.AUTOMATIC_LEADS_PAGE.STEP_2_TITLE"),description:e.t("LEAD.AUTOMATIC_LEADS_PAGE.STEP_2_DESCRIPTION"),image:"/img/automatic_leads_how_works_2.svg"},{title:e.t("LEAD.AUTOMATIC_LEADS_PAGE.STEP_3_TITLE"),description:e.t("LEAD.AUTOMATIC_LEADS_PAGE.STEP_3_DESCRIPTION"),image:"/img/automatic_leads_how_works_3.svg"}];return(0,i.jsxs)("section",{className:"w-full flex flex-col items-center justify-center",children:[(0,i.jsxs)("div",{className:"w-full max-w-640 text-center px-lg md:px-none",children:[(0,i.jsxs)(M.v,{className:"mb-lg",intent:"accent",children:[(0,i.jsx)(y.I,{intent:"current",size:"sm",children:(0,i.jsx)($.yZ,{})}),e.t("LEAD.AUTOMATIC_LEADS_PAGE.TAG_TITLE")]}),(0,i.jsx)("h2",{className:"text-display-2 mt-none",children:e.t("LEAD.AUTOMATIC_LEADS_PAGE.HOW_IT_WORKS_TITLE")}),(0,i.jsx)("p",{className:"text-body-1",children:e.interpolate("LEAD.AUTOMATIC_LEADS_PAGE.HOW_IT_WORKS_DESCRIPTION",{bold:function(e){var t=e.children;return(0,i.jsx)("strong",{className:"font-bold text-body-1",children:t})},italic:function(e){var t=e.children;return(0,i.jsx)("em",{className:"text-body-1",children:t})}})})]}),(0,i.jsx)("div",{className:"w-full max-w-screen-lg mx-auto grid grid-cols-1 lg:grid-cols-3 gap-3xl mt-3xl lg:px-none justify-items-center",children:n.map((function(e,n){var r=e.title,a=e.description,s=e.image;return(0,i.jsxs)("div",{className:"relative w-full lg:max-w-320",children:[(0,i.jsx)("div",{"aria-hidden":"true",className:"absolute -top-md -left-md z-raised flex items-center justify-center size-40 rounded-full bg-accent text-on-accent text-display-3 font-bold",children:n+1}),(0,i.jsxs)("article",{className:"flex flex-col gap-xl items-center w-full h-full bg-neutral-container text-on-neutral-container rounded-xl border border-solid border-outline px-2xl py-xl",children:[(0,i.jsx)("div",{className:"w-full flex items-center justify-center h-208",children:(0,i.jsx)("img",{src:""+t+s,className:"block object-contain"})}),(0,i.jsxs)("div",{className:"w-full border-solid border-t-md border-outline pt-lg flex flex-col gap-md",children:[(0,i.jsx)("h4",{className:"text-headline-1 m-none font-bold",children:r}),(0,i.jsx)("p",{className:"text-body-1 m-none",children:a})]})]})]},n)}))})]})}Q.displayName="AutomaticLeadsEmptyView",Q.propTypes={};var J=function(){var e=(0,f.s9)(),t=(0,f.UK)(["resourcesHost"])[0],n=(0,l.useState)(!1),r=n[0],a=n[1];return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"relative w-full rounded-lg border-sm border-solid border-outline p-xl bg-surface",children:[(0,i.jsx)(W._,{alt:"Lead Match",className:"mb-mdp",src:t+"/img/automatic_lead_match_mini_2.svg",priority:"low"}),(0,i.jsxs)("div",{className:"flex flex-col gap-mdp",children:[(0,i.jsx)("p",{className:"text-headline-1 font-bold text-on-surface m-none",children:e.t("LEAD.AUTOMATIC_LEADS_PAGE.HOW_IT_WORKS.TITLE")}),(0,i.jsx)("p",{className:"text-body-1 text-on-surface m-none",children:e.t("LEAD.AUTOMATIC_LEADS_PAGE.HOW_IT_WORKS.DESCRIPTION")}),(0,i.jsxs)(b.lG,{open:r,onOpenChange:function(){return a((function(e){return!e}))},children:[(0,i.jsx)(b.zM,{asChild:!0,children:(0,i.jsx)(K.Y,{className:"no-underline text-body-2 font-bold cursor-pointer",intent:"main",children:e.t("LEAD.AUTOMATIC_LEADS_PAGE.HOW_IT_WORKS.CTA")})}),(0,i.jsxs)(b.ZJ,{children:[(0,i.jsx)(b.LC,{}),(0,i.jsxs)(b.Cf,{size:"xl",children:[(0,i.jsx)(b.c7,{children:(0,i.jsx)(b.L3,{className:"sr-only",children:e.t("LEAD.AUTOMATIC_LEADS_PAGE.TAG_TITLE")})}),(0,i.jsxs)(b.R4,{children:[(0,i.jsx)(b.rr,{className:"sr-only",children:e.t("LEAD.AUTOMATIC_LEADS_PAGE.TAG_TITLE")}),(0,i.jsx)(Q,{})]}),(0,i.jsx)(b.Es,{className:"flex justify-end gap-md",children:(0,i.jsx)(b.HM,{asChild:!0,children:(0,i.jsx)(L.$,{className:"w-full",children:e.t("ACCEPT")})})}),(0,i.jsx)(b.De,{"aria-label":e.t("CONTACT_FORM.CLOSE_MODAL")})]})]})]})]})]})})};function ee(e){var t=e.icon,n=e.title,r=e.value;return(0,i.jsxs)("div",{className:"bg-main-container text-on-main-container w-full h-112 flex items-center justify-start gap-lg rounded-lg px-lg py-xl",children:[(0,i.jsx)("div",{className:"bg-surface rounded-full h-56 w-56 flex justify-center items-center",children:(0,i.jsx)(y.I,{size:"md",intent:"main",children:t})}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"text-body-1 mt-none mb-sm",children:n}),(0,i.jsx)("span",{className:"font-bold text-display-3",children:r})]})]})}function te(e){var t,n,r=e.data,a=(0,f.s9)(),s=null==r?void 0:r.savedSearches.filter((function(e){var t=e.status;return t!==G.EXPIRED&&t!==G.INACTIVE})),l=null==r?void 0:r.savedSearches.filter((function(e){var t=e.status;return t===G.EXPIRED||t===G.INACTIVE})),c=(null==s?void 0:s.length)>0,o=(null==l?void 0:l.length)>0,d=function(e){return e.map((function(e){var t=e.createdAt,n=e.expiresAt,r=e.id,a=e.search,s=e.stats,l=e.status;return(0,i.jsx)("div",{className:"w-full max-w-400 max-h-[405px]",children:(0,i.jsx)(X,{createdAt:t,expiresAt:n,id:r,leadsGenerated:s.leadsGenerated,propertyType:null==a?void 0:a.propertyType,searchParams:a,status:l,transactionType:null==a?void 0:a.transactionType,locationsDescription:null==a?void 0:a.locations.locationsDescription})},r)}))};return(0,i.jsxs)(x.Yy,{title:a.t("LEAD.AUTOMATIC_LEADS_PAGE.TITLE"),description:a.t("LEAD.AUTOMATIC_LEADS_PAGE.DESCRIPTION"),children:[(0,i.jsxs)(x.ir,{children:[c&&(0,i.jsxs)("div",{children:[(0,i.jsx)("h2",{className:"text-display-4 mt-none mb-xl",children:a.t("LEAD.AUTOMATIC_LEADS_PAGE.SECTION_ACTIVE")}),(0,i.jsx)("div",{className:"mb-4xl grid w-full grid-cols-1 justify-items-center gap-xl md:justify-items-start xl:grid-cols-2",children:d(s)})]}),o&&(0,i.jsxs)("div",{children:[(0,i.jsx)("h2",{className:"text-display-4 mt-none mb-xl",children:a.t("LEAD.AUTOMATIC_LEADS_PAGE.SECTION_INACTIVE")}),(0,i.jsx)("div",{className:"mb-4xl grid w-full grid-cols-1 justify-items-center gap-xl md:justify-items-start xl:grid-cols-2",children:d(l)})]})]}),(0,i.jsx)(x.LO,{children:(0,i.jsxs)("div",{children:[(0,i.jsxs)("h2",{className:"text-display-4 mt-none mb-xl",children:[a.t("LEAD.AUTOMATIC_LEADS_PAGE.SECTION_RESULTS")," ",(0,i.jsxs)("span",{className:"text-body-2 font-regular",children:["(",a.t("LEAD.AUTOMATIC_LEADS_PAGE.SECTION_RESULTS_PERIOD"),")"," "]})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-2xl",children:[(0,i.jsxs)("div",{className:"flex flex-col items-center justify-start gap-lg",children:[(0,i.jsx)(ee,{icon:(0,i.jsx)(T.NM,{}),title:a.t("LEAD.AUTOMATIC_LEADS_PAGE.STATS_TOTAL_AGENCIES"),value:null==r||null==(t=r.summary)?void 0:t.totalAgenciesContacted}),(0,i.jsx)(ee,{icon:(0,i.jsx)(E.EA,{}),title:a.t("LEAD.AUTOMATIC_LEADS_PAGE.STATS_TOTAL_PROPERTIES"),value:null==r||null==(n=r.summary)?void 0:n.totalLeadsGenerated})]}),(0,i.jsx)(J,{}),(0,i.jsx)(Z,{})]})]})})]})}function ne(e){var t,n=e.seo,r=e.data,s=void 0===r?{}:r,c=(0,m.KA)().location.pathname,o=(0,A.A)().trackPageView;(0,l.useEffect)((function(){o({pathname:c})}),[]);var d=!Object.keys(s).length||!(null==(t=s.savedSearches)?void 0:t.length);return(0,i.jsxs)(h.A,{children:[(0,i.jsx)(u.A,(0,a.A)({},n)),d?(0,i.jsx)(Q,{}):(0,i.jsx)(te,{data:s})]})}
1J.displayName="AutomaticLeadsHowItWorks",ee.displayName="AutomaticLeadsStatisticCard",ee.propTypes={icon:o().element.isRequired,title:o().string.isRequired,value:o().oneOfType([o().string,o().number]).isRequired},te.displayName="AutomaticLeadsContent",te.propTypes={data:o().object};var re,ae=(re=(0,r.A)((function(e){var t,n,r,a,i,l,c,o;return(0,s.YH)(this,(function(s){switch(s.label){case 0:t=e.context,n=t.cookies,r=t.domain,a=t.i18n,i=a.culture,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,Promise.all([r.get("get_head_seo_use_case").execute({culture:i,page:ne.displayName}),r.get("get_automatic_lead_saved_searches_use_case").execute({cookies:n})])];case 2:return l=s.sent(),c=l[0],o=l[1],[2,{seo:c,data:o}];case 3:return s.sent(),[2,{seo:{},data:{}}];case 4:return[2]}}))})),function(e){return re.apply(this,arguments)});ne.renderLoading=function(){return(0,i.jsx)(h.A,{isLoading:!0})};var se=(0,p.O)(ae);ne.getInitialProps=(0,d.sT)(se),ne.displayName="UserAutomaticLeadsPage",ne.propTypes={seo:o().object,data:o().object}},zxwW:function(e,t,n){n.d(t,{ir:function(){return c},LO:function(){return o},Yy:function(){return d}});var r=n("cm/t"),a=n("jg1C"),s=n("aWzz"),i=n.n(s),l=n("R9Vz");function c(e){var t=e.className,n=e.children;return(0,a.jsx)("div",{className:(0,l.cn)("",t),children:n})}function o(e){var t=e.className,n=e.children;return(0,a.jsx)("aside",{className:(0,l.cn)("md:m-0 mx-auto flex w-full flex-col gap-xl md:max-w-432",t),children:n})}function d(e){var t=e.children,n=e.description,r=e.title;return(0,a.jsxs)("section",{children:[(0,a.jsxs)("header",{className:"mb-2xl",children:[(0,a.jsx)("h1",{className:"mt-none text-display-2",children:r}),(0,a.jsx)("p",{className:"max-w-864 text-body-1",children:n})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-3xl md:grid-cols-[minmax(0,1fr)_296px] md:items-start lg:grid-cols-[minmax(0,1fr)_340px]",children:t})]})}c.displayName="LeftColumn",c.propTypes={className:i().string,children:i().node},o.displayName="RightColumn",o.propTypes={className:i().string,children:i().node},d.displayName="TwoColumnsLayout",d.propTypes={children:function(e,t,n){for(var a,s,l=i().Children?i().Children.toArray(e[t]):[].concat(null!=(a=e[t])?a:[]),d=[c,o],u=(0,r.A)(l);!(s=u()).done;){var m=s.value;if(!m||!d.includes(m.type))return new Error("`"+n+"` only accepts `LeftColumn` and `RightColumn` as children.")}var A=l.some((function(e){return e.type===c})),h=l.some((function(e){return e.type===o}));if(!A||!h)return new Error("`"+n+"` requires both `LeftColumn` and `RightColumn` as children.")},description:i().string,title:i().string}},hcqL:function(e,t,n){n.d(t,{O5:function(){return i},Sc:function(){return l}});var r=n("+eFA"),a=n("ERkP"),s=n("jg1C"),i=a.forwardRef(((e,t)=>{var n=e,{title:a,fill:i="currentColor",stroke:l="none"}=n,c=(0,r.YG)(n,["title","fill","stroke"]);return(0,s.jsx)("svg",(0,r.ko)((0,r.IA)({ref:t,viewBox:"0 0 24 24","data-title":"email_action_unread"},(0,r.IA)((0,r.ko)((0,r.IA)({},a&&{"data-title":a}),{fill:i,stroke:l}),c)),{dangerouslySetInnerHTML:{__html:(void 0===a?"":`<title>${a}</title>`)+'<g fill-rule="nonzero"><path d="M21 4H3A2.25 2.25 0 00.75 6.25v12A2.25 2.25 0 003 20.5h18a2.25 2.25 0 002.25-2.25v-12A2.25 2.25 0 0021 4zM3 5.5h18a.75.75 0 01.75.75v12A.75.75 0 0121 19H3a.75.75 0 01-.75-.75v-12A.75.75 0 013 5.5z"/><path d="M21.704 4.706A.75.75 0 0122.7 5.82l-.083.074-8.144 6.264a4.058 4.058 0 01-4.77.13l-.178-.13-8.144-6.264a.75.75 0 01.821-1.25l.093.062 8.144 6.264a2.558 2.558 0 002.963.11l.157-.11 8.144-6.264z"/></g>'}}))}));i.displayName="EmailActionUnread";var l=i},d84r:function(e,t,n){n.d(t,{xh:function(){return i}});var r=n("+eFA"),a=n("ERkP"),s=n("jg1C"),i=a.forwardRef(((e,t)=>{var n=e,{title:a,fill:i="currentColor",stroke:l="none"}=n,c=(0,r.YG)(n,["title","fill","stroke"]);return(0,s.jsx)("svg",(0,r.ko)((0,r.IA)({ref:t,viewBox:"0 0 24 24","data-title":"dashboard"},(0,r.IA)((0,r.ko)((0,r.IA)({},a&&{"data-title":a}),{fill:i,stroke:l}),c)),{dangerouslySetInnerHTML:{__html:(void 0===a?"":`<title>${a}</title>`)+'<path fill-rule="evenodd" clip-rule="evenodd" d="M9.197 13.123a2.25 2.25 0 0 1 2.244 2.096l.005.154v4.5a2.25 2.25 0 0 1-2.095 2.244l-.154.006h-4.5a2.25 2.25 0 0 1-2.245-2.096l-.005-.154v-4.5a2.25 2.25 0 0 1 2.095-2.245l.155-.005h4.5Zm11.25 0a2.25 2.25 0 0 1 2.244 2.096l.006.154v4.5a2.25 2.25 0 0 1-2.096 2.244l-.154.006h-4.5a2.25 2.25 0 0 1-2.245-2.096l-.005-.154v-4.5a2.25 2.25 0 0 1 2.096-2.245l.154-.005h4.5Zm-11.25 1.5h-4.5a.75.75 0 0 0-.744.648l-.006.102v4.5c0 .38.282.693.648.743l.102.007h4.5a.75.75 0 0 0 .743-.649l.007-.101v-4.5a.75.75 0 0 0-.649-.744l-.101-.006Zm11.25 0h-4.5a.75.75 0 0 0-.744.648l-.006.102v4.5c0 .38.282.693.648.743l.101.007h4.5a.75.75 0 0 0 .744-.649l.006-.101v-4.5a.75.75 0 0 0-.648-.744l-.101-.006ZM9.197 1.873a2.25 2.25 0 0 1 2.244 2.096l.005.154v4.5a2.25 2.25 0 0 1-2.095 2.244l-.154.006h-4.5a2.25 2.25 0 0 1-2.245-2.096l-.005-.154v-4.5a2.25 2.25 0 0 1 2.095-2.245l.155-.005h4.5Zm11.25 0a2.25 2.25 0 0 1 2.244 2.096l.006.154v4.5a2.25 2.25 0 0 1-2.096 2.244l-.154.006h-4.5a2.25 2.25 0 0 1-2.245-2.096l-.005-.154v-4.5a2.25 2.25 0 0 1 2.096-2.245l.154-.005h4.5Zm-11.25 1.5h-4.5a.75.75 0 0 0-.744.648l-.006.102v4.5c0 .38.282.693.648.743l.102.007h4.5a.75.75 0 0 0 .743-.649l.007-.101v-4.5a.75.75 0 0 0-.649-.744l-.101-.006Zm11.25 0h-4.5a.75.75 0 0 0-.744.648l-.006.102v4.5c0 .38.282.693.648.743l.101.007h4.5a.75.75 0 0 0 .744-.649l.006-.101v-4.5a.75.75 0 0 0-.648-.744l-.101-.006Z"/>'}}))}));i.displayName="Dashboard"},iIqQ:function(e,t,n){n.d(t,{sK:function(){return i}});var r=n("+eFA"),a=n("ERkP"),s=n("jg1C"),i=a.forwardRef(((e,t)=>{var n=e,{title:a,fill:i="currentColor",stroke:l="none"}=n,c=(0,r.YG)(n,["title","fill","stroke"]);return(0,s.jsx)("svg",(0,r.ko)((0,r.IA)({ref:t,viewBox:"0 0 24 24","data-title":"bin"},(0,r.IA)((0,r.ko)((0,r.IA)({},a&&{"data-title":a}),{fill:i,stroke:l}),c)),{dangerouslySetInnerHTML:{__html:(void 0===a?"":`<title>${a}</title>`)+'<g fill-rule="nonzero"><path d="M22.5 3.75a.75.75 0 01.102 1.493l-.102.007h-21a.75.75 0 01-.102-1.493L1.5 3.75h21z"/><path d="M14.25.75h-4.5A2.25 2.25 0 007.5 3v1.5c0 .414.336.75.75.75h7.5a.75.75 0 00.75-.75V3A2.25 2.25 0 0014.25.75zm0 1.5l.102.007A.75.75 0 0115 3v.75H9V3a.75.75 0 01.75-.75h4.5zM9.75 9a.75.75 0 01.743.648l.007.102v7.5a.75.75 0 01-1.493.102L9 17.25v-7.5A.75.75 0 019.75 9zM14.25 9a.75.75 0 01.743.648L15 9.75v7.5a.75.75 0 01-1.493.102l-.007-.102v-7.5a.75.75 0 01.75-.75z"/><path d="M20.25 3.75H3.75a.75.75 0 00-.747.812l1.386 16.624A2.25 2.25 0 006.63 23.25H17.37a2.25 2.25 0 002.242-2.064l1.385-16.624a.75.75 0 00-.747-.812zM4.565 5.25h14.869l-1.316 15.812a.75.75 0 01-.748.688H6.631l-.105-.007a.75.75 0 01-.643-.681L4.565 5.25z"/></g>'}}))}));i.displayName="Bin"},rloe:function(e,t,n){n.d(t,{EA:function(){return i}});var r=n("+eFA"),a=n("ERkP"),s=n("jg1C"),i=a.forwardRef(((e,t)=>{var n=e,{title:a,fill:i="currentColor",stroke:l="none"}=n,c=(0,r.YG)(n,["title","fill","stroke"]);return(0,s.jsx)("svg",(0,r.ko)((0,r.IA)({ref:t,"data-title":"contactedemail",viewBox:"0 0 16 16"},(0,r.IA)((0,r.ko)((0,r.IA)({},a&&{"data-title":a}),{fill:i,stroke:l}),c)),{dangerouslySetInnerHTML:{__html:(void 0===a?"":`<title>${a}</title>`)+'<g fill-rule="evenodd"><path d="m4.098 4.615.02-.005c.08-.02.159-.078.203-.15a.242.242 0 0 0 .028-.194v-.001l-.627-2.23c-.039-.134-.224-.283-.466-.222l-.556.142C1.666 2.218 1.005 3.086 1 4.014l.003.11a23.402 23.402 0 0 0 2.508 8.894l.009.015.003.006c.477.872 1.578 1.36 2.66 1.084l.557-.141c.226-.058.282-.24.25-.351l-.629-2.229c-.034-.122-.192-.26-.414-.23l-.061.012c-.385.09-.793.048-1.155-.15a1.552 1.552 0 0 1-.75-.938l-1.006-3.57c-.23-.817.248-1.611.99-1.87l.023-.008.11-.033Zm.846 5.21c.04.14.136.26.268.332.133.073.29.092.455.05l.104-.02c.694-.114 1.369.293 1.553.943l.63 2.23c.194.693-.238 1.405-.967 1.59l-.557.142c-1.498.382
1-3.075-.277-3.784-1.572l-.016-.028A24.402 24.402 0 0 1 .004 4.175L0 4.026c-.001-1.418 1-2.67 2.453-3.04L3.01.844c.729-.185 1.478.226 1.674.92l.627 2.23c.094.333.046.687-.136.986-.18.298-.48.516-.812.6l-.068.02a.543.543 0 0 0-.357.656l1.006 3.569ZM6.323 4.6H14.4a.6.6 0 0 1 .6.6v5.6a.6.6 0 0 1-.6.6H8.533l.3 1H14.4a1.6 1.6 0 0 0 1.6-1.6V5.2a1.6 1.6 0 0 0-1.6-1.6H6.187l.118.394c.06.2.065.407.018.606Z"/><path d="M5.219 6.246 8.44 8.178a1.8 1.8 0 0 0 1.852 0l4.766-2.859c.186-.111.34-.244.466-.39a1.601 1.601 0 0 0-.617-.939.78.78 0 0 1-.363.472L9.778 7.32a.8.8 0 0 1-.823 0L5.876 5.474c-.033.106-.08.209-.143.305a1.395 1.395 0 0 1-.514.467Z"/></g>'}}))}));i.displayName="Contactedemail"},UtOZ:function(e,t,n){n.d(t,{Qp:function(){return i}});var r=n("+eFA"),a=n("ERkP"),s=n("jg1C"),i=a.forwardRef(((e,t)=>{var n=e,{title:a,fill:i="currentColor",stroke:l="none"}=n,c=(0,r.YG)(n,["title","fill","stroke"]);return(0,s.jsx)("svg",(0,r.ko)((0,r.IA)({ref:t,viewBox:"0 0 24 24","data-title":"arrow_right"},(0,r.IA)((0,r.ko)((0,r.IA)({},a&&{"data-title":a}),{fill:i,stroke:l}),c)),{dangerouslySetInnerHTML:{__html:(void 0===a?"":`<title>${a}</title>`)+'<path d="M6.772 2.477a.75.75 0 01.976-.086l.085.071 8.727 8.477a1.499 1.499 0 01.095 2.017l-.102.112-8.72 8.47a.75.75 0 01-1.12-.993l.075-.083L15.499 12 6.788 3.538a.75.75 0 01-.087-.975l.071-.086z" fill-rule="nonzero"/>'}}))}));i.displayName="ArrowRight"},BBh5:function(e,t,n){n.d(t,{Qp:function(){return f},gm:function(){return x},J5:function(){return E},w1:function(){return T},vU:function(){return _},_8:function(){return v},Ih:function(){return I},Z1:function(){return C},k4:function(){return g},dg:function(){return N},ce:function(){return j},tH:function(){return L}});var r=n("e4R/"),a=n("6aWq"),s=n("/y3p"),i=n("THle"),l=n("R9Vz"),c=n("GiSx"),o=n("ERkP"),d=n("jg1C"),u=n("+eFA"),m=o.forwardRef(((e,t)=>{var n=e,{title:r,fill:a="currentColor",stroke:s="none"}=n,i=(0,u.YG)(n,["title","fill","stroke"]);return(0,d.jsx)("svg",(0,u.ko)((0,u.IA)({ref:t,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-title":"arrow_down_fill"},(0,u.IA)((0,u.ko)((0,u.IA)({},r&&{"data-title":r}),{fill:a,stroke:s}),i)),{dangerouslySetInnerHTML:{__html:(void 0===r?"":`<title>${r}</title>`)+'<path d="M12.9123 4.39935C12.8419 4.27747 12.7406 4.17634 12.6186 4.10621C12.4966 4.03609 12.3582 3.99945 12.2174 4.00001H4.44616C4.30671 4.00154 4.17009 4.03956 4.0499 4.11028C3.9297 4.18101 3.83012 4.28198 3.76106 4.40314C3.692 4.5243 3.65586 4.66143 3.65625 4.80089C3.65664 4.94035 3.69354 5.07727 3.76328 5.19804L7.64892 11.6155C7.72011 11.7329 7.82035 11.8299 7.93996 11.8973C8.05958 11.9646 8.19453 12 8.3318 12C8.46907 12 8.60402 11.9646 8.72364 11.8973C8.84325 11.8299 8.94349 11.7329 9.01468 11.6155L12.9003 5.19804C12.9722 5.07768 13.0112 4.9405 13.0133 4.8003C13.0154 4.6601 12.9806 4.52182 12.9123 4.39935Z"/>'}}))}));m.displayName="ArrowDownFill";var A=o.forwardRef(((e,t)=>{var n=e,{title:r,fill:a="currentColor",stroke:s="none"}=n,i=(0,u.YG)(n,["title","fill","stroke"]);return(0,d.jsx)("svg",(0,u.ko)((0,u.IA)({ref:t,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-title":"arrow_up_fill"},(0,u.IA)((0,u.ko)((0,u.IA)({},r&&{"data-title":r}),{fill:a,stroke:s}),i)),{dangerouslySetInnerHTML:{__html:(void 0===r?"":`<title>${r}</title>`)+'<path d="M12.9003 10.802L9.01469 4.38447C8.94349 4.2671 8.84325 4.17007 8.72364 4.10272C8.60403 4.03538 8.46907 4 8.3318 4C8.19453 4 8.05958 4.03538 7.93997 4.10272C7.82035 4.17007 7.72011 4.2671 7.64892 4.38447L3.76328 10.802C3.69354 10.9227 3.65664 11.0597 3.65625 11.1991C3.65586 11.3386 3.692 11.4757 3.76106 11.5969C3.83012 11.718 3.9297 11.819 4.0499 11.8897C4.17009 11.9604 4.30671 11.9985 4.44616 12H12.2174C12.3569 11.9985 12.4935 11.9604 12.6137 11.8897C12.7339 11.819 12.8335 11.718 12.9025 11.5969C12.9716 11.4757 13.0077 11.3386 13.0074 11.1991C13.007 11.0597 12.9701 10.9227 12.9003 10.802Z"/>'}}))}));A.displayName="ArrowUpFill";var h=n("UtOZ"),p=n("cmot"),f=(0,o.forwardRef)(((e,t)=>{var n=e,{className:r,"aria-label":a}=n,s=(0,c.YG)(n,["className","aria-label"]);return(0,d.jsx)("nav",{ref:t,"aria-label":a,className:(0,l.cn)("text-body-2",r),"data-panot-component":"breadcrumb",children:(0,d.jsx)("ol",(0,c.IA)({className:(0,l.cn)("flex flex-wrap items-center gap-sm break-words pl-none")},s))})}));f.displayName="Breadcrumb.Breadcrumb";var x=(0,o.forwardRef)(((e,t)=>{var n=e,{asChild:r=!1,className:a,children:s}=n,o=(0,c.YG)(n,["asChild","className","children"]);const u=r?i.DX:"span";return(0,d.jsx)(u,(0,c.ko)((0,c.IA)({role:"link","aria-disabled":!0,"aria-current":"page",className:(0,l.cn)("inline overflow-hidden text-ellipsis whitespace-nowrap font-bold text-current",a),ref:t,"data-
1panot-component":"breadcrumb-current-page"},o),{children:s}))}));x.displayName="Breadcrumb.CurrentPage";var E=(0,o.forwardRef)(((e,t)=>{var n=e,{className:r}=n,a=(0,c.YG)(n,["className"]);return(0,d.jsx)("li",(0,c.IA)({ref:t,className:(0,l.cn)("inline-flex min-w-none items-center gap-sm",r),"data-panot-component":"breadcrumb-item"},a))}));E.displayName="Breadcrumb.Item";var T=(0,o.forwardRef)(((e,t)=>{var n=e,{asChild:r=!1,className:a,href:s}=n,o=(0,c.YG)(n,["asChild","className","href"]);const u=r?i.DX:"a";return(0,d.jsx)(u,(0,c.IA)({href:s,ref:t,className:(0,l.cn)("inline overflow-hidden text-ellipsis whitespace-nowrap",a),"data-panot-component":"breadcrumb-link"},o))}));function _({children:e}){const[t,n]=(0,o.useState)(!1);return(0,d.jsx)(E,{children:(0,d.jsx)(r.rI,{onOpenChange:n,children:o.Children.map(e,(e=>(0,o.isValidElement)(e)?(0,o.cloneElement)(e,(0,c.ko)((0,c.IA)({},e.props),{isOpen:t})):e))})})}function v({children:e,className:t}){return(0,d.jsx)(r.SQ,{className:t,children:e})}function I({children:e}){return(0,d.jsx)(r._2,{asChild:!0,children:e})}function C({children:e,className:t}){return(0,d.jsx)(r.lp,{className:t,children:e})}function g(){return(0,d.jsx)(r.mB,{})}function N({className:e,menuLabel:t,isOpen:n,children:a}){return(0,d.jsx)(r.ty,{asChild:!0,children:(0,d.jsx)(s.$,{variant:"ghost",intent:"neutral","aria-label":t,className:"h-auto text-inherit font-normal p-mdp",size:"sm",children:(0,d.jsx)(x,{className:(0,l.cn)("cursor-pointer",e),children:o.Children.map(a,(e=>(0,o.isValidElement)(e)?"string"==typeof e.type?e:(0,o.cloneElement)(e,(0,c.IA)({isOpen:n},e.props)):e))})})})}function j({isOpen:e}){return e?(0,d.jsx)(a.I,{children:(0,d.jsx)(A,{})}):(0,d.jsx)(a.I,{children:(0,d.jsx)(m,{})})}T.displayName="Breadcrumb.Link",_.displayName="BreadcrumbMenu",v.displayName="BreadcrumbMenuContent",I.displayName="BreadcrumbMenuItem",C.displayName="BreadcrumbMenuLabel",g.displayName="BreadcrumbMenuSeparator",N.displayName="BreadcrumbMenuTrigger",j.displayName="BreadcrumbMenuTriggerArrow";var L=(0,o.forwardRef)(((e,t)=>{var n=e,{asChild:r=!1,className:s,children:l}=n,o=(0,c.YG)(n,["asChild","className","children"]);const u=r?i.DX:"li";return(0,d.jsx)(u,(0,c.ko)((0,c.IA)({role:"presentation","aria-hidden":!0,ref:t,className:(0,p.cx)("inline-flex items-center gap-sm",s),"data-panot-component":"breadcrumb-separator"},o),{children:null!=l?l:(0,d.jsx)(a.I,{children:(0,d.jsx)(h.Qp,{})})}))}));L.displayName="Breadcrumb.Separator"},YM4R:function(e,t,n){n.d(t,{_:function(){return l}});var r=n("R9Vz"),a=n("GiSx"),s=n("ERkP"),i=n("jg1C"),l=(0,s.forwardRef)(((e,t)=>{var n=e,{priority:s=!1,className:l,loading:c,decoding:o,fetchPriority:d}=n,u=(0,a.YG)(n,["priority","className","loading","decoding","fetchPriority"]);return(0,i.jsx)("img",(0,a.IA)({ref:t,className:(0,r.cn)(l),loading:null!=c?c:s?"eager":"lazy",decoding:null!=o?o:"async",fetchpriority:null!=d?d:s?"high":"auto","data-panot-component":"image"},u))}));l.displayName="Image"},KWbW:function(e,t,n){n.d(t,{d:function(){return w}});var r=n("k0sV"),a=n("NCe0"),s=n("THle"),i=n("R9Vz"),l=n("GiSx"),c=n("ERkP"),o=n("wvKO"),d=n("9/X4"),u=n("M3rB"),m=n("WLht"),A=n("ZFny"),h=n("IUTA"),p=n("Yan9"),f=n("jg1C"),x="Switch",[E,T]=(0,u.A)(x),[_,v]=E(x),I=c.forwardRef(((e,t)=>{const{__scopeSwitch:n,name:r,checked:a,defaultChecked:s,required:i,disabled:l,value:u="on",onCheckedChange:A,form:h,...E}=e,[T,v]=c.useState(null),I=(0,d.s)(t,(e=>v(e))),C=c.useRef(!1),g=!T||(h||!!T.closest("form")),[L,D]=(0,m.i)({prop:a,defaultProp:s??!1,onChange:A,caller:x});return(0,f.jsxs)(_,{scope:n,checked:L,disabled:l,children:[(0,f.jsx)(p.sG.button,{type:"button",role:"switch","aria-checked":L,"aria-required":i,"data-state":j(L),"data-disabled":l?"":void 0,disabled:l,value:u,...E,ref:I,onClick:(0,o.mK)(e.onClick,(e=>{D((e=>!e)),g&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())}))}),g&&(0,f.jsx)(N,{control:T,bubbles:!C.current,name:r,value:u,checked:L,required:i,disabled:l,form:h,style:{transform:"translateX(-100%)"}})]})}));I.displayName=x;var C="SwitchThumb",g=c.forwardRef(((e,t)=>{const{__scopeSwitch:n,...r}=e,a=v(C,n);return(0,f.jsx)(p.sG.span,{"data-state":j(a.checked),"data-disabled":a.disabled?"":void 0,...r,ref:t})}));g.displayName=C;var N=c.forwardRef((({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...a},s)=>{const i=c.useRef(null),l=(0,d.s)(i,s),o=(0,A.Z)(n),u=(0,h.X)(t);return c.useEffect((()=>{const e=i.current;if(!e)return;const t=window.HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(t,"checked").set;if(o!==n&&a){const t=new Event("click",{bubbles:r});a.call(e,n),e.dispatchEvent(t)}}),[o,n,r]),(0,f.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...a,tabIndex:-1,ref:l,style:{...a.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})}));function j(e){return e?"checked":"unchecked"}N.displayName="SwitchBubbleInput";var L=I,D=g,b=(0,i.F)((0,i.tw)("relative flex-shrink-0 self-baseline cursor-pointer rounded-full border-transparent hover:ring-4 transition-colors duration-200 ease-in-out disabled:hover:ring-transparent pnt-disabled:cursor-not-allowed pnt-disabled:opacity-dim-3 focus-visible:u-ring pnt-state-unchecked:bg-on-surface/dim-4 u-shadow-border-transition overflow-x-hidden"),{variants:{size:{sm:(0,i.tw)("h-24 w-40 border-md"),md:(0,i.tw)("h-32 w-56 border-[4px]")},intent:{main:["pnt-state-checked:bg-main","hover:ring-main-container","text-main"],support:["pnt-state-checked:bg-support","hover:ring-support-container","text-support"],accent:["pnt-state-checked:bg-accent","hover:ring-accent-container","text-accent"],basic:["pnt-state-checked:bg-basic","hover:ring-basic-container","text-basic"],success:["pnt-state-checked:bg-success","hover:ring-success-container","text-success"],alert:["pnt-state-checked:bg-alert","hover:ring-alert-container","text-alert"],error:["pnt-state-checked:bg-error","hover:ring-error-container","text-error"],info:["pnt-state-checked:bg-info","hover:ring-info-container","text-info"],neutral:["pnt-state-checked:bg-neutral","hover:ring-neutral-container","text-neutral"]}},defaultVariants:{intent:"basic",size:"sm"}}),y=(0,i.F)("pointer-events-none absolute inset-none flex items-center transition-all duration-200 ease-in-out",{variants:{checked:{true:"translate-x-full",false:"translate-x-none"}}}),S=(0,i.F)("absolute left-none top-none flex items-center justify-center rounded-full bg-surface ring-0 transition-all duration-200 ease-in-out",{variants:{size:{sm:["size-20"],md:["size-24"]},checked:{true:"-translate-x-full",false:"translate-x-none text-on-surface/dim-4"}},defaultVariants:{size:"sm",checked:!1}
1}),R=(0,i.F)("transition-opacity duration-200",{variants:{size:{sm:["size-10"],md:["size-12"]}},defaultVariants:{size:"sm"}}),O=e=>{var t=e,{checked:n,checkedIcon:i,defaultChecked:c,intent:o,uncheckedIcon:d,size:u="md",value:m="on",onCheckedChange:A,className:h,required:p,ref:x}=t,E=(0,l.YG)(t,["checked","checkedIcon","defaultChecked","intent","uncheckedIcon","size","value","onCheckedChange","className","required","ref"]);const[T,_]=(0,a.g)(n,c),{name:v,description:I,state:C,isRequired:g,isInvalid:N}=(0,r.xq)(),j=null!=C?C:o;return(0,f.jsx)(L,(0,l.ko)((0,l.IA)({ref:x,className:b({intent:j,size:u,className:h}),value:m,checked:n,defaultChecked:c,onCheckedChange:e=>{_(e),null==A||A(e)},name:v,required:p||g,"aria-invalid":N,"aria-describedby":I,"data-panot-component":"switch-input"},E),{children:(0,f.jsx)("span",{className:y({checked:T}),children:(0,f.jsxs)(D,{className:S({size:u,checked:T}),children:[T&&i&&(0,f.jsx)(s.DX,{className:R({size:u}),children:i}),!T&&d&&(0,f.jsx)(s.DX,{className:R({size:u}),children:d})]})})}))};O.displayName="SwitchInput";var w=e=>{var t=e,{size:n="md",id:a,className:s,disabled:c,ref:o}=t,d=(0,l.YG)(t,["size","id","className","disabled","ref"]);const u=(0,r.xq)(),m=a||u.id;return(0,f.jsx)("div",{"data-panot-component":"switch",className:(0,i.cn)("flex items-center gap-md text-body-1",s),children:(0,f.jsx)(O,(0,l.IA)({ref:o,size:n,id:m,disabled:c},d))})};w.displayName="Switch"},"mG/d":function(e,t,n){n.d(t,{Y:function(){return o}});var r=n("THle"),a=n("GiSx"),s=n("cmot"),i=n("ERkP"),l=n("jg1C"),c=(0,s.F)("inline-flex items-center outline-none focus-visible:u-ring underline-offset-2 gap-sm",{variants:{intent:{current:"text-current hover:opacity-dim-1",main:"text-main hover:text-main-hovered",support:"text-support hover:text-support-hovered",accent:"text-accent hover:text-accent-hovered",basic:"text-basic hover:text-basic-hovered",success:"text-success hover:text-success-hovered",alert:"text-alert hover:text-alert-hovered",danger:"text-error hover:text-error-hovered",info:"text-info hover:text-info-hovered",neutral:"text-neutral hover:text-neutral-hovered"},isUnderlined:{true:"underline",false:"hover:underline focus:underline"}},defaultVariants:{intent:"current",isUnderlined:!1}}),o=(0,i.forwardRef)(((e,t)=>{var n=e,{asChild:s=!1,children:i,className:o,intent:d="current",isUnderlined:u=!1}=n,m=(0,a.YG)(n,["asChild","children","className","intent","isUnderlined"]);const A=s?r.DX:"a";return(0,l.jsx)(A,(0,a.ko)((0,a.IA)({ref:t,className:c({intent:d,isUnderlined:u,className:o}),"data-panot-component":"text-link"},m),{children:i}))}))}}]);

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.