1"use strict";(self.webpackChunkcitizen_web=self.webpackChunkcitizen_web||[]).push([[285],{9285:(K,_,o)=>{o.r(_),o.d(_,{MeetingApplyModule:()=>V});var h=o(8583),s=o(3679),z=o(7870),P=o(1834),t=o(8720),g=o(4762),U=o(9765),y=o(6215),v=o(9112),x=o(5917),Z=o(6782),k=o(8002),l=o(8049),f=o(9773),C=o(465),M=o(9688),d=o(7054),b=o(6299),A=o(4941),T=o(3084),G=o(6023),I=o(5978);let w=(()=>{class i{constructor(n,e,a,p,r,u){this.auth=n,this.authPageService=e,this.analytics=a,this.accountEntity=p,this.userRepository=r,this.accountRepository=u}execute(){return(0,g.mG)(this,void 0,void 0,function*(){const n=yield this.auth.isLogin().pipe((0,l.P)()).toPromise(),e=yield this.userRepository.getCurrentUser();if(!e||e.is_anonymous||!n)return void this.actionInCaseOfNotAuthorized();const a=yield this.accountRepository.myAccount();a?e&&this.isSetup(a,e.email)||this.actionInCaseOfAuthorizedAndNotSetup():this.actionInCaseOfNotAuthorized()})}isSetup(n,e){return!(!this.accountEntity.hasSetup(n)||!e)}actionInCaseOfNotAuthorized(){this.authPageService.navigateToAuth(d.p.SIGN_UP_PAGE,M.t.GENERAL),this.analytics.logEvent(C.dW.MUST_SIGN_UP_FLOW,{to_page:C.kv.SIGN_UP_PAGE})}actionInCaseOfAuthorizedAndNotSetup(){this.authPageService.navigateToAuth(d.p.SET_UP_PAGE,M.t.GENERAL)}}return i.\u0275fac=function(n){return new(n||i)(t.LFG(b.N),t.LFG(d.S),t.LFG(A.B),t.LFG(T.V),t.LFG(G.j),t.LFG(I.P))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();var L=o(7368),O=o(4672),$=o(9245),S=o(2363);let N=(()=>{class i{constructor(n,e,a,p,r,u,m){this.snackBar=n,this.router=e,this.auth=a,this.authPageService=p,this.participationRepository=r,this.analytics=u,this.accountEntity=m}execute(n,e,a,p,r,u){return(0,g.mG)(this,void 0,void 0,function*(){if(this.analytics.logEvent(C.dW.TAPPED_POST_MEETING),r&&u&&(!u.email||!this.accountEntity.hasSetup(r))&&this.actionInCaseOfAuthorizedAndNotSetup(),yield this.auth.isLoginPromise()){if(r){const m={citizen_account_id:r._id,politician_account_id:e,policy_id:O.Ag.isPolicyIDForMeetingPathWithoutPolicy(n)?null:n,meeting_id:a,intention_body:p,is_check_has_come:!1,is_check_safe:!1,is_check_irrelevant:!1,created_at:(0,L.G)()};yield this.actionInCaseOfAuthorizedAndSetup({citizen:r,policyIdForMeetingPath:n,meetingID:m.meeting_id,participation:m})}}else this.actionInCaseOfNotAuthorized()})}actionInCaseOfNotAuthorized(){this.authPageService.navigateToAuth(d.p.SIGN_UP_PAGE,M.t.SUBMIT_BUTTON),this.analytics.logEvent(C.dW.MUST_SIGN_UP_FLOW,{to_page:C.kv.SIGN_UP_PAGE})}actionInCaseOfAuthorizedAndSetup(n){return(0,g.mG)(this,void 0,void 0,function*(){yield this.participationRepository.create(n.policyIdForMeetingPath,n.meetingID,n.participation).then(()=>(0,g.mG)(this,void 0,void 0,function*(){this.router.navigate([`/projects/${n.policyIdForMeetingPath}/meetings/${n.meetingID}/sent`]),this.snackBar.open("\u9001\u4fe1\u6210\u529f\u3057\u307e\u3057\u305f",void 0,{duration:500})})).catch(()=>(0,g.mG)(this,void 0,void 0,function*(){}))})}actionInCaseOfAuthorizedAndNotSetup(){this.authPageService.navigateToAuth(d.p.SET_UP_PAGE,M.t.SUBMIT_BUTTON)}}return i.\u0275fac=function(n){return new(n||i)(t.LFG($.ux),t.LFG(P.F0),t.LFG(b.N),t.LFG(d.S),t.LFG(S.I),t.LFG(A.B),t.LFG(T.V))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();var R=o(181);let F=(()=>{class i{constructor(n,e,a,p,r,u,m){this.validateProfileUsecase=n,this.participationUseCase=e,this.meetingRepository=a,this.participationRepository=p,this.router=r,this.accountRepository=u,this.userRepository=m,this.policyIDForMeetingPath$=new y.X(""),this.meetingID$=new y.X("")}initialize(n,e){e.params.pipe((0,Z.R)(n),(0,k.U)(a=>{this.policyIDForMeetingPath$.next(a.projectId),this.meetingID$.next(a.meeting_id)})).subscribe()}redirectIfApplied(){return(0,g.mG)(this,void 0,void 0,function*(){(yield this.participation$().pipe((0,l.P)()).toPromise())&&this.toMeetingPage()})}account$(){return this.accountRepository.myAccount$()}user$(){return this.userRepository.getCurrentUser$()}destroy(n){n.next()}meeting$(){return(0,v.aj)([this.policyIDForMeetingPath$,this.meetingID$]).pipe((0,f.zg)(([n,e])=>this.meetingRepository.get$(n,e)))}politician$(){return this.meeting$().pipe((0,f.zg)(n=>n?this.accountRepository.getPolitician$(n.politician_account_id):(0,x.of)(void 0)))}participation$(){return(0,v.aj)([this.meeting$(),this.account$()]).pipe((0,f.zg)(([n,e])=>n?this.participationRepository.getByMeetingAndAccount$(n,null==e?void 0:e._id):(0,x.of)(void 0)))}onClickTextarea(){this.validateProfileUsecase.execute()}getRequestComment(n){return n.request_comments&&n.request_comments[0]?n.request_comments[0]:"\u307f\u306a\u3055\u3093\u304b\u3089\u76f4\u63a5\u3054\u610f\u898b\u3092\u805e\u304f\u3053\u3068\u3067\u3001\u3088\u308a\u826f\u3044\u653f\u7b56\u306b\u3067\u304d\u307e\u3059\u3002\u3069\u306a\u305f\u3067\u3082\u304a\u6c17\u8efd\u306b\u304a\u7533\u3057\u8fbc\u307f\u304f\u3060\u3055\u3044\uff01"}onSubmit(n){return(0,g.mG)(this,void 0,void 0,function*(){const e=yield this.policyIDForMeetingPath$.pipe((0,l.P)()).toPromise(),a=yield this.meetingID$.pipe((0,l.P)()).toPromise(),p=yield this.account$().pipe((0,l.P)()).toPromise(),r=yield this.user$().pipe((0,l.P)()).toPromise();this.participationUseCase.execute(e,n.politician_account_id,a,n.message,p,r)})}toMeetingPage(){return(0,g.mG)(this,void 0,void 0,function*(){const n=yield this.policyIDForMeetingPath$.pipe((0,l.P)()).toPromise(),e=yield this.meetingID$.pipe((0,l.P)()).toPromise();this.router.navigate([`/projects/${n}/meetings/${e}`])})}}
1return i.\u0275fac=function(n){return new(n||i)(t.LFG(w),t.LFG(N),t.LFG(R.s),t.LFG(S.I),t.LFG(P.F0),t.LFG(I.P),t.LFG(G.j))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();var E=o(6367);let D=(()=>{class i{constructor(){this.imageURL="",this.name="",this.title="",this.sentence=""}ngOnInit(){}}return i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-politician-message"]],inputs:{imageURL:"imageURL",name:"name",title:"title",sentence:"sentence"},decls:11,vars:5,consts:[[1,"container"],[1,"content"],[1,"politician"],["height","20px","width","20px","loading","lazy",1,"image",2,"margin-right","8px",3,"src","alt"],[1,"name"],[1,"title"],[1,"sentence"]],template:function(n,e){1&n&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t._UZ(3,"img",3),t.TgZ(4,"p"),t.TgZ(5,"span",4),t._uU(6),t.qZA(),t.TgZ(7,"span",5),t._uU(8),t.qZA(),t.qZA(),t.qZA(),t.TgZ(9,"p",6),t._uU(10),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(3),t.s9C("alt",e.name),t.Q6J("src",e.imageURL,t.LSH),t.xp6(3),t.Oqu(e.name),t.xp6(2),t.hij("",e.title,"\u304b\u3089\u306e\u30e1\u30c3\u30bb\u30fc\u30b8"),t.xp6(2),t.Oqu(e.sentence))},styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block}.container[_ngcontent-%COMP%]{box-sizing:border-box;box-shadow:0 2px 7px #0000001a;border-radius:8px;height:inherit;padding:12px 16px;background:#ffffff}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%] .politician[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:flex-start;margin-bottom:8px}.container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{border-radius:50%;object-fit:cover}.container[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{color:#1f1a1b;font-family:"Helvetica","Hiragino Kaku Gothic Pro","\\30d2\\30e9\\30ae\\30ce\\89d2\\30b4 Pro W3","\\30e1\\30a4\\30ea\\30aa","Meiryo","\\ff2d\\ff33 \\ff30\\30b4\\30b7\\30c3\\30af","Helvetica Neue","Arial",sans-serif;font-weight:700;font-size:14px;line-height:20px}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-left:4px;color:#666363;font-family:"Helvetica","Hiragino Kaku Gothic Pro","\\30d2\\30e9\\30ae\\30ce\\89d2\\30b4 Pro W3","\\30e1\\30a4\\30ea\\30aa","Meiryo","\\ff2d\\ff33 \\ff30\\30b4\\30b7\\30c3\\30af","Helvetica Neue","Arial",sans-serif;font-weight:normal;font-size:12px;line-height:16px;letter-spacing:.25px}.container[_ngcontent-%COMP%] .sentence[_ngcontent-%COMP%]{color:#1f1a1b;font-family:"Helvetica","Hiragino Kaku Gothic Pro","\\30d2\\30e9\\30ae\\30ce\\89d2\\30b4 Pro W3","\\30e1\\30a4\\30ea\\30aa","Meiryo","\\ff2d\\ff33 \\ff30\\30b4\\30b7\\30c3\\30af","Helvetica Neue","Arial",sans-serif;font-weight:normal;font-size:14px;line-height:20px;letter-spacing:.25px}'],changeDetection:0}),i})();var B=o(2958);let j=(()=>{class i{constructor(n,e){this.formBuilder=n,this.service=e,this.appSubmit=new t.vpe,this.date=new Date,this.sentence="",this.appClickTextarea=new t.vpe,this.formGroup=this.formBuilder.group({message:[null,s.kI.required]})}ngOnInit(){}getName(n){return O.mR.getName(n)}getTitle(n){return O.mR.getPoliticianTitle(n)}onClickTextarea(){this.appClickTextarea.emit()}back(){return(0,g.mG)(this,void 0,void 0,function*(){this.service.toMeetingPage()})}get messageControl(){return this.formGroup.get("message")}onSubmit(n){if(n){const e=this.formGroup.getRawValue().message;this.appSubmit.next({message:e,politician_account_id:n})}}}return i.\u0275fac=function(n){return new(n||i)(t.Y36(s.qu),t.Y36(F))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-meeting-apply-presentation"]],inputs:{date:"date",sentence:"sentence",politician:"politician"},outputs:{appClickTextarea:"appClickTextarea",appSubmit:"appSubmit"},decls:16,vars:14,consts:[[3,"clickClose"],[1,"container"],[1,"wrap"],[1,"message-column"],[3,"imageURL","name","title","sentence"],[1,"form-column"],[1,"heading"],[3,"formGroup","submit"],["required","","placeholder","\u71b1\u3044\u60f3\u3044\u3092\u5165\u529b\u3057\u3066\u3001\u5fdc\u52df\uff01",3,"formControl","click"],[2,"display","grid","place-items","center"],[1,"button-icon",3,"disabled"],["src","assets/images/submit.svg","loading","lazy","alt","\u9001\u4fe1\u3059\u308b","width","21px","height","18px",1,"button-icon-img"]],template:function(n,e){if(1&n&&(t.TgZ(0,"app-closable-header",0),t.NdJ("clickClose",function(){return e.back()}),t.qZA(),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t._UZ(4,"app-politician-message",4),t.qZA(),t.TgZ(5,"div",5),t.TgZ(6,"h3",6),t._uU(7),t.ALo(8,"politicianNameWithTitle"),t.ALo(9,"date"),t.qZA(),t.TgZ(10,"form",7),t.NdJ("submit",function(){return e.onSubmit(null==e.politician?null:e.politician._id)}),t.TgZ(11,"textarea",8),t.NdJ("click",function(){return e.onClickTextarea()}),t._uU(12," "),t.qZA(),t.TgZ(13,"div",9),t.TgZ(14,"button",10),t._UZ(15,"img",11),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){let a;t.xp6(4),t.Q6J("imageURL",null!==(a=null==e.politician?null:e.politician.image_url)&&void 0!==a?a:"")("name",e.getName(e.politician))("title",e.getTitle(e.politician))("sentence",e.sentence),t.xp6(3),t.AsE("",t.lcZ(8,9,e.politician),"\u306e\u30a4\u30d9\u30f3\u30c8\u306b\u7533\u3057\u8fbc\u3080(",t.xi3(9,11,e.date,"MM\u6708dd\u65e5"),")"),t.xp6(3),t.Q6J("formGroup",e.formGroup),t.xp6(1),t.Q6J("formControl",e.messageControl),t.xp6(3),t.Q6J("disabled",e.formGroup.invalid)}},directives:[E.H,D,s._Y,s.JL,s.sg,s.Fj,s.Q7,s.JJ,s.oH],pipes:[B.N,h.uU],styles:['@charset "UTF-8";body[_ngcontent-%COMP%]{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:hidden}
1ul[_ngcontent-%COMP%]{list-style:none}input[_ngcontent-%COMP%], button[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{vertical-align:middle;border-radius:0;border:0;background:none transparent;margin:0;padding:0;appearance:none;-webkit-appearance:none}input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button{margin:0;width:0;background-color:transparent}textarea[_ngcontent-%COMP%]{resize:none}input[_ngcontent-%COMP%]:-webkit-autofill{box-shadow:0 0 0 1000px #fff inset}a[_ngcontent-%COMP%]{text-decoration:none}hr[_ngcontent-%COMP%]{border:none}.on-boarding-container[_ngcontent-%COMP%] .mat-dialog-container[_ngcontent-%COMP%]{width:calc(100vw - 32px);padding:0;box-shadow:none;background:none;overflow-y:hidden}.dialog[_ngcontent-%COMP%]{border-radius:8px;background:#ffffff}.dialog-close[_ngcontent-%COMP%]{padding-bottom:16px;cursor:pointer}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], div[_ngcontent-%COMP%], span[_ngcontent-%COMP%], applet[_ngcontent-%COMP%], object[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], p[_ngcontent-%COMP%], blockquote[_ngcontent-%COMP%], pre[_ngcontent-%COMP%], a[_ngcontent-%COMP%], abbr[_ngcontent-%COMP%], acronym[_ngcontent-%COMP%], address[_ngcontent-%COMP%], big[_ngcontent-%COMP%], cite[_ngcontent-%COMP%], code[_ngcontent-%COMP%], del[_ngcontent-%COMP%], dfn[_ngcontent-%COMP%], em[_ngcontent-%COMP%], img[_ngcontent-%COMP%], ins[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], q[_ngcontent-%COMP%], s[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], small[_ngcontent-%COMP%], strike[_ngcontent-%COMP%], strong[_ngcontent-%COMP%], sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%], tt[_ngcontent-%COMP%], var[_ngcontent-%COMP%], b[_ngcontent-%COMP%], u[_ngcontent-%COMP%], i[_ngcontent-%COMP%], center[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dt[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], menu[_ngcontent-%COMP%], ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], li[_ngcontent-%COMP%], fieldset[_ngcontent-%COMP%], form[_ngcontent-%COMP%], label[_ngcontent-%COMP%], legend[_ngcontent-%COMP%], table[_ngcontent-%COMP%], caption[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%], tfoot[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tr[_ngcontent-%COMP%], th[_ngcontent-%COMP%], td[_ngcontent-%COMP%], article[_ngcontent-%COMP%], aside[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], details[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], figcaption[_ngcontent-%COMP%], footer[_ngcontent-%COMP%], header[_ngcontent-%COMP%], hgroup[_ngcontent-%COMP%], main[_ngcontent-%COMP%], menu[_ngcontent-%COMP%], nav[_ngcontent-%COMP%], output[_ngcontent-%COMP%], ruby[_ngcontent-%COMP%], section[_ngcontent-%COMP%], summary[_ngcontent-%COMP%], time[_ngcontent-%COMP%], mark[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article[_ngcontent-%COMP%], aside[_ngcontent-%COMP%], details[_ngcontent-%COMP%], figcaption[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], footer[_ngcontent-%COMP%], header[_ngcontent-%COMP%], hgroup[_ngcontent-%COMP%], main[_ngcontent-%COMP%], menu[_ngcontent-%COMP%], nav[_ngcontent-%COMP%], section[_ngcontent-%COMP%]{display:block}*[hidden][_ngcontent-%COMP%]{display:none}body[_ngcontent-%COMP%]{line-height:1}menu[_ngcontent-%COMP%], ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%]{list-style:none}blockquote[_ngcontent-%COMP%], q[_ngcontent-%COMP%]{quotes:none}blockquote[_ngcontent-%COMP%]:before, blockquote[_ngcontent-%COMP%]:after, q[_ngcontent-%COMP%]:before, q[_ngcontent-%COMP%]:after{content:"";content:none}table[_ngcontent-%COMP%]{border-collapse:collapse;border-spacing:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%;padding:0;margin:0;overflow-y:unset!important}body[_ngcontent-%COMP%]{overflow:scroll;background-color:#fff}.auto-link[_ngcontent-%COMP%]{word-break:break-all;cursor:pointer;text-decoration:underline;color:#065fd4}.auto-link[_ngcontent-%COMP%]:hover{text-decoration:none}[_nghost-%COMP%]{display:block}.container[_ngcontent-%COMP%]{max-width:1040px;margin:0 auto;padding-left:16px;padding-right:16px}@media (min-width: 768px) and (max-width: 1199px){.container[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}}@media all and (min-width: 1200px){.container[_ngcontent-%COMP%]{padding-left:80px;padding-right:80px}}.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;box-sizing:border-box;padding-top:16px;padding-bottom:16px}@media all and (min-width: 1200px){.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%]{flex-direction:row-reverse}}.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .message-column[_ngcontent-%COMP%]{margin-bottom:32px}@media all and (min-width: 1200px){.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .message-column[_ngcontent-%COMP%]{flex-basis:33.33%;margin-left:48px;margin-bottom:0}}@media all and (min-width: 1200px){.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .form-column[_ngcontent-%COMP%]{flex-basis:66.66%}}.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .form-column[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{color:#1f1a1b;font-family:Hiragino Kaku Gothic Pro;font-style:normal;font-weight:bold;font-size:22px;line-height:30px;letter-spacing:.5px}.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .form-column[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;height:160px;box-sizing:border-box;background:white;border:1px solid #dcdcdc;border-radius:4px;min-height:135px;padding:12px;resize:none;font-family:"Helvetica Neue","Arial","Hiragino Kaku Gothic ProN","\\6e38\\30b4\\30b7\\30c3\\30af",sans-serif;font-weight:normal;font-size:14px;line-height:20px;letter-spacing:.25px;margin:16px 0}.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .form-column[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus{outline:0}.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .form-column[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#9e9e9e}
1.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .form-column[_ngcontent-%COMP%] .button-icon[_ngcontent-%COMP%]{display:block;position:relative;border-radius:28px;height:56px;margin-bottom:8px;width:56px;background:#e31f3c;cursor:pointer}.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .form-column[_ngcontent-%COMP%] .button-icon-img[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .form-column[_ngcontent-%COMP%] .button-icon[_ngcontent-%COMP%]:hover{background:#cd1833}.container[_ngcontent-%COMP%] .wrap[_ngcontent-%COMP%] .form-column[_ngcontent-%COMP%] .button-icon[_ngcontent-%COMP%]:disabled{opacity:.38;pointer-events:none}'],changeDetection:0}),i})();function H(i,c){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"app-meeting-apply-presentation",1),t.NdJ("appClickTextarea",function(){return t.CHM(n),t.oxw(2).onClickTextarea()})("appSubmit",function(a){return t.CHM(n),t.oxw(2).onSubmit(a)}),t.ALo(2,"async"),t.qZA(),t.BQk()}if(2&i){const n=t.oxw().ngIf,e=t.oxw();
1t.xp6(1),t.Q6J("date",n.held_at.toDate())("politician",t.lcZ(2,3,e.politician$))("sentence",e.getRequestComment(n))}}function J(i,c){if(1&i&&(t.ynx(0),t.YNc(1,H,3,5,"ng-container",0),t.ALo(2,"async"),t.BQk()),2&i){const n=t.oxw();t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,n.politician$))}}let Q=(()=>{class i{constructor(n,e){this.activatedRoute=n,this.service=e,this.meeting$=this.service.meeting$(),this.politician$=this.service.politician$(),this.onDestroy$=new U.xQ}ngOnInit(){return(0,g.mG)(this,void 0,void 0,function*(){this.service.initialize(this.onDestroy$,this.activatedRoute),yield this.service.redirectIfApplied()})}ngOnDestroy(){this.service.destroy(this.onDestroy$)}onClickTextarea(){this.service.onClickTextarea()}getRequestComment(n){return this.service.getRequestComment(n)}onSubmit(n){return(0,g.mG)(this,void 0,void 0,function*(){yield this.service.onSubmit(n)})}}return i.\u0275fac=function(n){return new(n||i)(t.Y36(P.gz),t.Y36(F))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-meeting-apply-container"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"date","politician","sentence","appClickTextarea","appSubmit"]],template:function(n,e){1&n&&(t.YNc(0,J,3,3,"ng-container",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,e.meeting$))},directives:[h.O5,j],pipes:[h.Ov],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),i})();const W=[{path:"",component:(()=>{class i{constructor(){}ngOnInit(){}}return i.\u0275fac=function(n){return new(n||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-meeting-apply"]],decls:1,vars:0,template:function(n,e){1&n&&t._UZ(0,"app-meeting-apply-container")},directives:[Q],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),i})()}];let Y=(()=>{class i{}return i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[P.Bz.forChild(W)],P.Bz]}),i})();var q=o(507),X=o(2102);let V=(()=>{class i{}return i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[h.ez,Y,s.u5,s.UX,z.x,q.R,X.d]]}),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.