1"use strict";(self.webpackChunkota=self.webpackChunkota||[]).push([[2064],{72064(ut,f,a){a.d(f,{PagesFunnelModule:()=>dt});var r=a(70296),t=a(62552),_=a(6164),g=a(56872),T=a(35747),u=a(68534),S=a(15768),P=a(51286),m=a(65138),C=a(61629),I=a(41538),h=a(7865),y=a(20023),v=a(83697),O=a(17014);let M=(()=>{var e;class o extends y.s{static#t=e=()=>(this.\u0275fac=(()=>{let i;return function(s){return(i||(i=t.xGo(o)))(s||o)}})(),this.\u0275cmp=t.VBU({type:o,selectors:[["tori-funnel-media"]],standalone:!1,features:[t.Jv_([],[{provide:_.ZU,useExisting:_.cV}]),t.Vt3],decls:36,vars:2,consts:()=>{let i,l,s,d,c;return i=$localize`:Picutres|Tori funnel media title:Kuvat`,l=$localize`:Tori funnel media description: 2 Ilmoitukseen voi lisätä ${"\ufffd#5\ufffd"}:START_TAG_STRONG:5${"\ufffd/#5\ufffd"}:CLOSE_TAG_STRONG: kuvaa. Voit lisätä kuvia klikkaamalla alta "valitse kuvat laitteeltasi" tai raahata kuvat suoraan laatikon 3 päälle. 4`,s=$localize`:Change the order by dragging|Tori funnel benefit list entry:Muuta kuvien järjestystä raahaamalla kuvia`,d=$localize`:You can rotate images|Tori funnel benefit list entry:Voit kääntää kuvan`,c=$localize`:Select the cover image that is shown in search results|Tori funnel benefit list entry:Valitse kuvista kansikuva, joka näkyy esim. 5 kohdekorteissa hakusivulla`,[i,l,s,d,c,[1,"margined","margined--v10"],[1,"paragraph","paragraph--caption","margined","margined--v20"],[1,"icon-list","margined","margined--v40","margined--desktop-v50"],[1,"icon-list__item","icon-list__item--center-aligned","icon-list__item--small-on-small","margined","margined--v10"],["name","check","color","var(--primary-600)",1,"icon-list__icon"],[3,"onUpdate","onPromise","buildingId","value"]]},template:function(l,s){1&l&&(t.j41(0,"h2",5),t.pXf(1,0),t.k0s(),t.EFF(2,"\n\n"),t.j41(3,"p",6),t.PLo(4,1),t.nrm(5,"strong"),t.YFu(),t.k0s(),t.EFF(6,"\n\n"),t.j41(7,"ul",7),t.EFF(8,"\n\t"),t.j41(9,"li",8),t.EFF(10,"\n\t\t"),t.nrm(11,"icon",9),t.EFF(12,"\n\t\t"),t.j41(13,"b"),t.pXf(14,2),t.k0s(),t.EFF(15,"\n\t"),t.k0s(),t.EFF(16,"\n\t"),t.j41(17,"li",8),t.EFF(18,"\n\t\t"),t.nrm(19,"icon",9),t.EFF(20,"\n\t\t"),t.j41(21,"b"),t.pXf(22,3),t.k0s(),t.EFF(23,"\n\t"),t.k0s(),t.EFF(24,"\n\t"),t.j41(25,"li",8),t.EFF(26,"\n\t\t"),t.nrm(27,"icon",9),t.EFF(28,"\n\t\t"),t.j41(29,"b"),t.pXf(30,4),t.k0s(),t.EFF(31,"\n\t"),t.k0s(),t.EFF(32,"\n"),t.k0s(),t.EFF(33,"\n\n"),t.j41(34,"media",10),t.bIt("onUpdate",function(c){return s.setMedia(c.value)})("onPromise",function(c){return s.setMediaPromise(c.value)}),t.k0s(),t.EFF(35,"\n")),2&l&&(t.R7$(34),t.Y8G("buildingId",s.buildingId)("value",s.mediaModel))},dependencies:[v.w,O.IconComponent],styles:[".icon-list[_ngcontent-%COMP%]{list-style:none;text-align:left}.icon-list__item[_ngcontent-%COMP%]{display:flex}.icon-list__item--center-aligned[_ngcontent-%COMP%]{align-items:center}.icon-list__item--small-on-small[_ngcontent-%COMP%]{font-size:var(--font-copy-caption-text-size);line-height:var(--font-copy-caption-line-height);font-weight:var(--font-weight-regular)}@media screen and (min-width: 48rem){.icon-list__item--small-on-small[_ngcontent-%COMP%]{font-size:var(--font-copy-body-text-size)}}.icon-list__icon[_ngcontent-%COMP%]{margin-right:.625rem}.icon-list__icon--margin-large[_ngcontent-%COMP%]{margin-right:1.25rem}"]}))}return e(),o})();var A=a(41334),L=a(12798),R=a(9264),k=a(19977),G=a(30822),U=a(11429);function b(e,o){if(1&e&&t.nrm(0,"tori-listing-info-box",12),2&e){const n=t.XpG();t.Y8G("section",n.section)}}function D(e,o){if(1&e&&(t.j41(0,"funnel-heading",13),t.EFF(1,"\n\t\t\t"),t.k0s()),2&e){const n=t.XpG(),i=t.sdS(1);t.Y8G("mainForm",i)("isEdit",n.isEdit)("sellStatus",n.sellStatus)("section",n.section)("funnelPath",n.funnelPathState.steps)("showControls",!!n.cardId)("stepName",n.step)}}function $(e,o){1&e&&(t.j41(0,"funnel-notification",14),t.EFF(1,"\n\t\t\t\t"),t.j41(2,"ul",15),t.EFF(3,"\n\t\t\t\t\t"),t.j41(4,"li",16),t.pXf(5,1),t.k0s(),t.EFF(6,"\n\t\t\t\t\t"),t.j41(7,"li",16),t.pXf(8,2),t.k0s(),t.EFF(9,"\n\t\t\t\t"),t.k0s(),t.EFF(10,"\n\t\t\t"),t.k0s())}function x(e,o){if(1&e&&(t.j41(0,"tori-funnel-location",25),t.EFF(1,"\n\t\t\t\t"),t.k0s()),2&e){const n=t.XpG(2),i=t.sdS(1);t.Y8G("cardType",n.cardType)("card",n.card)("cardId",n.cardId)("isCompany",n.isCompany)("isEdit",n.isEdit)("section",n.section)("mainForm",i)}}function j(e,o){if(1&e&&(t.j41(0,"tori-funnel-information",26),t.EFF(1,"\n\t\t\t\t"),t.k0s()),2&e){const n=t.XpG(2);t.Y8G("section",n.section)("isCompany",n.isCompany)("cardType",n.cardType)("cardSubType",n.cardSubType)("estateOwnershipType",n.estateOwnershipType)("sellStatus",n.sellStatus)}}function Y(e,o){if(1&e&&(t.j41(0,"funnel-details",27),t.EFF(1,"\n\t\t\t\t"),t.k0s()),2&e){const n=t.XpG(2);t.Y8G("cardType",n.cardType)("cardSubType",n.cardSubType)("sellStatus",n.sellStatus)}}function X(e,o){if(1&e&&(t.j41(0,"tori-funnel-media",28),t.EFF(1,"\n\t\t\t\t"),t.k0s()),2&e){const n=t.XpG(2);t.Y8G("buildingId",n.buildingId)}}function w(e,o){if(1&e&&(t.j41(0,"tori-funnel-complete",29),t.EFF(1,"\n\t\t\t\t\t\t"),t.k0s()),2&e){const n=t.XpG(2);t.Y8G("cardId",n.cardId)("billId",n.billId)("cardType",n.cardType)("companyHasPackage",n.companyHasPackage)}}function H(e,o){if(1&e&&(t.qex(0,17),t.EFF(1,"\n\t\t\t\t"),t.DNE(2,x,2,7,"tori-funnel-location",18),t.EFF(3,"\n\t\t\t\t"),t.DNE(4,j,2,6,"tori-funnel-information",19),t.EFF(5,"\n\t\t\t\t"),t.DNE(6,Y,2,3,"funnel-details",20),t.EFF(7,"\n\t\t\t\t"),t.DNE(8,X,2,1,"tori-funnel-media",21),t.EFF(9,"\n\t\t\t\t"),t.j41(10,"div",22),t.EFF(11,"\n\t\t\t\t\t"),t.j41(12,"div",23),t.EFF(13,"\n\t\t\t\t\t\t"),t.DNE(14,w,2,4,"tori-funnel-complete",24),t.EFF(15,"\n\t\t\t\t\t"),t.k0s(),t.EFF(16,"\n\t\t\t\t"),t.k0s(),t.EFF(17,"\n\t\t\t"),t.bVm()),2&e){const n=t.XpG();t.Y8G("ngSwitch",n.step),t.R7$(2),t.Y8G("ngSwitchCase",n.FUNNEL_STEP_LOCATION),t.R7$(2),t.Y8G("ngSwitchCase",n.FUNNEL_STEP_INFORMATION),t.R7$(2),t.Y8G("ngSwitchCase",n.FUNNEL_STEP_DETAILS),t.R7$(2),t.Y8G("ngSwitchCase",n.FUNNEL_STEP_MEDIA),t.R7$(6),t.Y8G("ngSwitchCase",n.FUNNEL_STEP_COMPLETE)}}function V(e,o){if(1&e&&(t.j41(0,"funnel-move-to",36),t.EFF(1,"\n\t\t\t\t"),t.k0s()),2&e){const n=t.XpG(2),i=t.sdS(1);t.Y8G("mainForm",i)("secondary",!0)("url",n.funnelPathState.previousStepPath)("isEdit",n.isEdit)}}function z(e,o){if(1&e&&(t.j41(0,"funnel-move-to",37),t.EFF(1,"\n\t\t\t\t"),t.k0s()),2&e){const n=t.XpG(2),i=t.sdS(1);t.Y8G("mainForm",i)("text",n.funnelPathState.isLastStep?n.doneCTA:n.nextCTA)("url",n.funnelPathState.nextStepPath?n.funnelPathState.nextStepPath:"/omat-ilmoitukset/{cardId}")("isEdit",n.isEdit)}}function B(e,o){if(1&e&&(t.j41(0,"funnel-move-to",38),t.EFF(1,"\n\t\t\t\t"),t.k0s()),2&e){const n=t.XpG(2),i=t.sdS(1);t.Y8G("mainForm",i)("secondary",!0)("url",n.funnelPathState.previousStepPath)("isEdit",n.isEdit)}}function K(e,o){if(1&e&&(t.j41(0,"funnel-move-to",37),t.EFF(1,"\n\t\t\t\t"),t.k0s()),2&e){const n=t.XpG(2),i=t.sdS(1);t.Y8G("mainForm",i)("text",n.funnelPathState.isLastStep?n.doneCTA:n.nextCTA)("url",n.funnelPathState.nextStepPath?n.funnelPathState.nextStepPath:"/omat-ilmoitukset/{cardId}")("isEdit",n.isEdit)}}function Q(e,o){if(1&e&&(t.j41(0,"div",5),t.EFF(1,"\n\t\t\t"),t.nrm(2,"hr",30),t.EFF(3,"\n\t\t\t"),t.j41(4,"div",31),t.EFF(5,"\n\t\t\t\t"),t.DNE(6,V,2,4,"funnel-move-to",32),t.EFF(7,"\n\t\t\t\t"),t.DNE(8,z,2,4,"funnel-move-to",33),t.EFF(9,"\n\t\t\t"),t.k0s(),t.EFF(10,"\n\t\t\t"),t.j41(11,"div",34),t.EFF(12,"\n\t\t\t\t"),t.DNE(13,B,2,4,"funnel-move-to",35),t.EFF(14,"\n\t\t\t\t"),t.DNE(15,K,2,4,"funnel-move-to",33),t.EFF(16,"\n\t\t\t"),t.k0s(),t.EFF(17,"\n\t\t"),t.k0s()),2&e){const n=t.XpG();t.R7$(6),t.Y8G("ngIf",n.step!==n.FUNNEL_STEP_LOCATION),t.R7$(2),t.Y8G("ngIf",n.step!==n.FUNNEL_STEP_PAYMENT&&n.step!==n.FUNNEL_STEP_AUTHENTICATION),t.R7$(5),t.Y8G("ngIf",n.step!==n.FUNNEL_STEP_LOCATION),t.R7$(2),t.Y8G("ngIf",n.step!==n.FUNNEL_STEP_PAYMENT&&n.step!==n.FUNNEL_STEP_AUTHENTICATION)}}let W=(()=>{var e;class o extends m.M{constructor(){super(...arguments),this.sellStatus=u.SELL_STATUS_TORI}static#t=e=()=>(this.\u0275fac=(()=>{let i;return function(s){return(i||(i=t.xGo(o)))(s||o)}})(),this.\u0275cmp=t.VBU({type:o,selectors:[["funnel-tori"]],standalone:!1,features:[t.Vt3],decls:28,vars:5,consts:()=>{let i,l,s,d;return i=$localize`:Tori funnel edit listing help title:Muokatut tiedot voidaan tallentaa ja päivittää ilmoitukselle kahdella tavalla`,l=$localize`:Tori funnel edit point 1:Päivitä tiedot ilmoitukselle painamalla sivun ylälaidasta Tallenna-painikkeesta`,s=$localize`:Tori funnel edit point 2:Kun siirryt seuraavaan tai edelliseen vaiheeseen, ilmoituksen tiedot päivitetään automaattisesti`,d=$localize`:Previous|Go back:Edellinen`,[["mainForm","ngForm"],l,s,["ngForm","","novalidate",""],[1,"content","padded","padded--v20-h20","padded--desktop-v50-h2
50","margined","margined--v20","margined--desktop-v0"],[1,"content__section"],[3,"section",4,"ngIf"],["class","margined margined--block margined--v40 margined--desktop-v50",3,"mainForm","isEdit","sellStatus","section","funnelPath","showControls","stepName",4,"ngIf"],["title",i,4,"ngIf"],[3,"ngSwitch",4,"ngIf"],["class","content__section",4,"ngIf"],[1,"content","padded","padded--v40-h20","padded--desktop-v50-h0","padded--topless"],[3,"section"],[1,"margined","margined--block","margined--v40","margined--desktop-v50",3,"mainForm","isEdit","sellStatus","section","funnelPath","showControls","stepName"],["title",i],[1,"unordered-list"],[1,"unordered-list__entry","margined","margined--v5"],[3,"ngSwitch"],[3,"cardType","card","cardId","isCompany","isEdit","section","mainForm",4,"ngSwitchCase"],[3,"section","isCompany","cardType","cardSubType","estateOwnershipType","sellStatus",4,"ngSwitchCase"],[3,"cardType","cardSubType","sellStatus",4,"ngSwitchCase"],[3,"buildingId",4,"ngSwitchCase"],[1,"content-row"],[1,"content-row__column","content-row__column--large-8"],[3,"cardId","billId","cardType","companyHasPackage",4,"ngSwitchCase"],[3,"cardType","card","cardId","isCompany","isEdit","section","mainForm"],[3,"section","isCompany","cardType","cardSubType","estateOwnershipType","sellStatus"],[3,"cardType","cardSubType","sellStatus"],[3,"buildingId"],[3,"cardId","billId","cardType","companyHasPackage"],[1,"hr","hr--hide-small","hr--content"],[1,"funnel-step-buttons"],["class","funnel-step-buttons__back","text","Edellinen","direction","left",3,"mainForm","secondary","url","isEdit",4,"ngIf"],["class","funnel-step-buttons__forward","direction","right",3,"mainForm","text","url","isEdit",4,"ngIf"],[1,"funnel-step-buttons","funnel-step-buttons--mobile"],["class","funnel-step-buttons__back","text",d,"direction","left",3,"mainForm","secondary","url","isEdit",4,"ngIf"],["text","Edellinen","direction","left",1,"funnel-step-buttons__back",3,"mainForm","secondary","url","isEdit"],["direction","right",1,"funnel-step-buttons__forward",3,"mainForm","text","url","isEdit"],["text",d,"direction","left",1,"funnel-step-buttons__back",3,"mainForm","secondary","url","isEdit"]]},template:function(l,s){1&l&&(t.j41(0,"div",3,0),t.EFF(2,"\n\t"),t.j41(3,"div",4),t.EFF(4,"\n\t\t"),t.j41(5,"div",5),t.EFF(6,"\n\t\t\t"),t.DNE(7,b,1,1,"tori-listing-info-box",6),t.EFF(8,"\n\n\t\t\t"),t.DNE(9,D,2,7,"funnel-heading",7),t.EFF(10,"\n\n\n\t\t\t"),t.DNE(11,$,11,0,"funnel-notification",8),t.EFF(12,"\n\n\t\t\t"),t.DNE(13,H,18,6,"ng-container",9),t.EFF(14,"\n\t\t"),t.k0s(),t.EFF(15,"\n\n\t\t"),t.DNE(16,Q,18,4,"div",10),t.EFF(17,"\n\t"),t.k0s(),t.EFF(18,"\n\n\t"),t.j41(19,"div",11),t.EFF(20,"\n\t\t"),t.j41(21,"div",5),t.EFF(22,"\n\t\t\t"),t.nrm(23,"customer-service-information"),t.EFF(24,"\n\t\t"),t.k0s(),t.EFF(25,"\n\t"),t.k0s(),t.EFF(26,"\n"),t.k0s(),t.EFF(27,"\n")),2&l&&(t.R7$(7),t.Y8G("ngIf",s.step===s.FUNNEL_STEP_LOCATION),t.R7$(2),t.Y8G("ngIf",s.step!==s.FUNNEL_STEP_COMPLETE),t.R7$(2),t.Y8G("ngIf",s.isEdit),t.R7$(2),t.Y8G("ngIf",s.card),t.R7$(3),t.Y8G("ngIf",s.step!==s.FUNNEL_STEP_COMPLETE))},dependencies:[C.N,I.K,h.c,M,A.t,r.bT,r.ux,r.e1,_.cb,_.cV,L.E,R.Q,k.R,G.P,U.p],encapsulation:2}))}return e(),o})();function J(e,o){if(1&e&&(t.j41(0,"funnel-tori",4),t.EFF(1,"\n\t\t"),t.k0s()),2&e){const n=t.XpG(2);t.Y8G("contractType",n.contractType)("cardType",n.cardType)("section",n.section)("isEdit",n.isEdit)("buildingId",n.buildingId)("cardSubType",n.cardSubType)("estateOwnershipType",n.estateOwnerShipType)("isCompany",n.isCompany)("companyHasPackage",n.companyHasPackage)("cardId",n.cardId)("billId",n.billId)("basicNotAllowed",n.basicNotAllowed)("funnelPathState",n.funnelPath)("step",n.stepName)}}function Z(e,o){if(1&e&&(t.qex(0),t.EFF(1,"\n\t\t"),t.DNE(2,J,2,14,"funnel-tori",3),t.EFF(3,"\n\t"),t.bVm()),2&e){const n=t.XpG();t.R7$(2),t.Y8G("ngIf",n.stepName!==n.FUNNEL_STEP_AUTHENTICATION&&n.stepName!==n.FUNNEL_STEP_PAYMENT)}}function q(e,o){if(1&e&&(t.j41(0,"funnel",6),t.EFF(1,"\n\t\t"),t.k0s()),2&e){const n=t.XpG(2);t.Y8G("contractType",n.contractType)("cardType",n.cardType)("section",n.section)("sellStatus",n.sellStatus)("isEdit",n.isEdit)("buildingId",n.buildingId)("cardSubType",n.cardSubType)("estateOwnershipType",n.estateOwnerShipType)("isCompany",n.isCompany)("companyHasPackage",n.companyHasPackage)("cardId",n.cardId)("billId",n.billId)("basicNotAllowed",n.basicNotAllowed)("funnelPathState",n.funnelPath)("step",n.stepName)}}function tt(e,o){if(1&e&&(t.qex(0),t.EFF(1,"\n\t\t"),t.DNE(2,q,2,15,"funnel",5),t.EFF(3,"\n\t"),t.bVm()),2&e){const n=t.XpG();t.R7$(2),t.Y8G("ngIf",n.stepName!==n.FUNNEL_STEP_AUTHENTICATION&&n.stepName!==n.FUNNEL_STEP_PAYMENT)}}const nt=[{path:"**",component:(()=>{var e;class o{constructor(){this.FUNNEL_STEP_COMPLETE=u.FUNNEL_STEP_COMPLETE,this.FUNNEL_STEP_PAYMENT=u.FUNNEL_STEP_PAYMENT,this.FUNNEL_STEP_AUTHENTICATION=u.FUNNEL_STEP_AUTHENTICATION,this.SELL_STATUS_TORI=u.SELL_STATUS_TORI,this.CONTRACT_TYPE_SELL=u.CONTRACT_TYPE_SELL;const i=(0,t.WQX)(S.t);this.basicNotAllowed=i.otAsunnot.basicNotAllowed,this.isEdit=i.otAsunnot.isEdit,this.isCompany=i.otAsunnot.isCompany,this.companyHasPackage=i.otAsunnot.companyHasPackage,this.section=i.otAsunnot.section,this.stepName=i.otAsunnot.stepName,this.contractType=i.otAsunnot.contractType,this.cardId=i.otAsunnot.cardId,this.billId=i.otAsunnot.billId,this.buildingId=i.otAsunnot.buildingId,this.cardType=i.otAsunnot.cardType,this.cardSubType=i.otAsunnot.cardSubType,this.estateOwnerShipType=i.otAsunnot.estateOwnerShipType,this.sellStatus="tori"===this.section||"vuokraa-tori"===this.section?u.SELL_STATUS_TORI:i.otAsunnot.sellStatus,this.funnelPath=i.otAsunnot.funnelPath}static#t=e=()=>(this.\u0275fac=function(l){return new(l||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["ng-component"]],standalone:!1,decls:9,vars:2,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"contractType","cardType","section","isEdit","buildingId","cardSubType","estateOwnershipType","isCompany","companyHasPackage","cardId","billId","basicNotAllowed","funnelPathState","step",4,"ngIf"],[3,"contractType","cardType","section","isEdit","buildingId","cardSubType","estateOwnershipType","isCompany","companyHasPackage","cardId","billId","basicNotAllowed","funnelPathState","step"],[3,"contractType","cardType","section","sellStatus","isEdit","buildingId","cardSubType","estateOwnershipType","isCompany","companyHasPackage","cardId","billId","basicNotAllowed","funnelPathState","step",4,"ngIf"],[3,"contractType","cardType","section","sellStatus","isEdit","buildingId","cardSubType","estateOwnershipType","isCompany","companyHasPackage","cardId","billId","basicNotAllowed","funnelPathState","step"]],template:function(l,s){1&l&&(t.qex(0,0),t.EFF(1,"\n\t"),t.DNE(2,Z,4,1,"ng-container",1),t.EFF(3,"\n\n\t"),t.DNE(4,tt,4,1,"ng-container",2),t.EFF(5,"\n"),t.bVm(),t.EFF(6,"\n\n"),t.nrm(7,"funnel-error-reauthenticate"),t.EFF(8,"\n")),2&l&&(t.Y8G("ngSwitch",!0),t.R7$(2),t.Y8G("ngSwitchCase","tori"===s.section||s.c
5ontractType===s.CONTRACT_TYPE_SELL&&s.sellStatus===s.SELL_STATUS_TORI))},dependencies:[P.I,r.bT,r.ux,r.e1,r.fG,m.M,W],encapsulation:2}))}return e(),o})()}];let et=(()=>{var e;class o{static#t=e=()=>(this.\u0275fac=function(l){return new(l||o)},this.\u0275mod=t.$C({type:o}),this.\u0275inj=t.G2t({imports:[T.iI.forChild(nt),T.iI]}))}return e(),o})();var it=a(21989),ot=a(19762),at=a(95379),st=a(34001),F=a(79544),lt=a(84897),p=a(49089),ct=a(45954),N=a(68277),rt=a(279);let dt=(()=>{var e;class o{constructor(){(0,t.WQX)(g.be).bootstrap(document.documentElement,[...rt.m,it.A,...N.m,...st.m,...p.m,...F.m],{strictDi:!0})}static#t=e=()=>(this.\u0275fac=function(l){return new(l||o)},this.\u0275mod=t.$C({type:o}),this.\u0275inj=t.G2t({imports:[et,at.m,p.H,lt.O,ot.f,N.C,ct.y,r.MD,_.YN,F.$]}))}return e(),o})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.