PageSourceSearch

https://techfeed.io/6808.21f1b4b8cef9e0a8.js

js techfeed.io collected 2026-10-01 12:06:56 UTC 167,980 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6808],{87295:(Fe,R,l)=>{l.d(R,{y:()=>O});var U=l(27910),B=l(94650);class O{}O.\u0275fac=function(m){return new(m||O)},O.\u0275mod=B.oAB({type:O}),O.\u0275inj=B.cJS({imports:[U.L]})},6808:(Fe,R,l)=>{l.r(R),l.d(R,{PeopleModule:()=>he});var U=l(27910),B=l(32076),O=l(34793),M=l(15861),m=l(95133),S=l(15439),q=l(47668),F=l(34986),E=l(18297),k=l(95115),j=l(19249),Se=l(46370),L=l(92725),ee=l(37556),se=l(89204),z=l(5806),ae=l(57067),ke=l(84331),t=l(91957),H=l(4898),W=l(4625),le=l(31621),Ne=l(78366),_=l(56994),N=l(95699),Pe=l(90003),Ce=l(80825),ne=(l(26460),l(10195)),xe=l(59748),ie=l(88334),ve=l(21102),e=l(94650),Z=l(36895),A=l(24006),K=l(5694);function be(i,o){if(1&i&&e._UZ(0,"span",11),2&i){const n=e.oxw();e.Q6J("innerHTML",n.showValue(n.value),e.oJD)}}function Me(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"span")(1,"select",12),e.NdJ("ngModelChange",function(r){e.CHM(n);const u=e.oxw(2);return e.KtG(u.value=r)}),e.TgZ(2,"option",13),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.TgZ(5,"option",14),e._uU(6),e.ALo(7,"tfI18n"),e.qZA(),e.TgZ(8,"option",15),e._uU(9),e.ALo(10,"tfI18n"),e.qZA(),e.TgZ(11,"option",16),e._uU(12),e.ALo(13,"tfI18n"),e.qZA()()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.value),e.xp6(2),e.Oqu(e.lcZ(4,5,"job-change.possibility.No")),e.xp6(3),e.Oqu(e.lcZ(7,7,"job-change.possibility.MayBeNo")),e.xp6(3),e.Oqu(e.lcZ(10,9,"job-change.possibility.MayBeYes")),e.xp6(3),e.Oqu(e.lcZ(13,11,"job-change.possibility.Yes"))}}function ye(i,o){if(1&i&&(e.TgZ(0,"option",18),e._uU(1),e.qZA()),2&i){const n=o.$implicit;e.s9C("value",n.id),e.xp6(1),e.Oqu(n.label.ja||n.label.en)}}function Ze(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"span")(1,"select",12),e.NdJ("ngModelChange",function(r){e.CHM(n);const u=e.oxw(2);return e.KtG(u.value.channelId=r)}),e.YNc(2,ye,2,2,"option",17),e.qZA(),e._UZ(3,"br"),e._uU(4," \u30ec\u30d9\u30eb "),e.TgZ(5,"select",12),e.NdJ("ngModelChange",function(r){e.CHM(n);const u=e.oxw(2);return e.KtG(u.value.level=r)}),e.TgZ(6,"option",13),e._uU(7),e.ALo(8,"tfI18n"),e.qZA(),e.TgZ(9,"option",14),e._uU(10),e.ALo(11,"tfI18n"),e.qZA(),e.TgZ(12,"option",15),e._uU(13),e.ALo(14,"tfI18n"),e.qZA(),e.TgZ(15,"option",16),e._uU(16),e.ALo(17,"tfI18n"),e.qZA()()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.value.channelId),e.xp6(1),e.Q6J("ngForOf",n.channels),e.xp6(3),e.Q6J("ngModel",n.value.level),e.xp6(2),e.Oqu(e.lcZ(8,7,"skill-level.0")),e.xp6(3),e.Oqu(e.lcZ(11,9,"skill-level.1")),e.xp6(3),e.Oqu(e.lcZ(14,11,"skill-level.2")),e.xp6(3),e.Oqu(e.lcZ(17,13,"skill-level.3"))}}function Ae(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"span")(1,"input",19),e.NdJ("ngModelChange",function(r){e.CHM(n);const u=e.oxw(2);return e.KtG(u.value=r)}),e.qZA()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngModel",n.value)}}function Te(i,o){if(1&i&&(e.ynx(0),e.YNc(1,Me,14,13,"span",5),e.YNc(2,Ze,18,15,"span",5),e.YNc(3,Ae,2,1,"span",5),e.BQk()),2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngIf","jobChangeWanted"===n.itemName),e.xp6(1),e.Q6J("ngIf","techSkills"===n.itemName),e.xp6(1),e.Q6J("ngIf","jobChangeWanted"!==n.itemName&&"techSkills"!==n.itemName)}}function Oe(i,o){if(1&i&&(e.TgZ(0,"span")(1,"a",20),e._uU(2),e.qZA()()),2&i){const n=e.oxw();e.xp6(1),e.s9C("href",n.sourceUrl,e.LSH),e.xp6(1),e.Oqu(n.sourceUrl)}}function De(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"span")(1,"input",19),e.NdJ("ngModelChange",function(r){e.CHM(n);const u=e.oxw();return e.KtG(u.sourceUrl=r)}),e.qZA()()}if(2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngModel",n.sourceUrl)}}function Ie(i,o){if(1&i&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&i){const n=e.oxw();e.xp6(1),e.hij(" ",n.memo," ")}}function $(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"span")(1,"input",19),e.NdJ("ngModelChange",function(r){e.CHM(n);const u=e.oxw();return e.KtG(u.memo=r)}),e.qZA()()}if(2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngModel",n.memo)}}function b(i,o){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"ion-button",21),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.close())}),e._uU(2,"\u30ad\u30e3\u30f3\u30bb\u30eb"),e.qZA(),e.TgZ(3,"ion-button",22),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.save())}),e._uU(4,"\u4fdd\u5b58"),e.qZA(),e.BQk()}if(2&i){const n=e.oxw();e.xp6(3),e.Q6J("disabled",!n.saveEnabled)}}function g(i,o){if(1&i){const n=e.EpF();e.ynx(0),e.TgZ(1,"ion-button",23),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.remove())}),e._uU(2,"\u524a\u9664"),e.qZA(),e.TgZ(3,"ion-button",21),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();
1return e.KtG(r.edit())}),e._uU(4,"\u7de8\u96c6"),e.qZA(),e.TgZ(5,"ion-button",24),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.close())}),e._uU(6,"\u9589\u3058\u308b"),e.qZA(),e.BQk()}}const P={jobTitle:"\u8077\u7a2e",age:"\u5e74\u9f62",location:"\u5c45\u4f4f\u5730",techSkills:"\u30b9\u30ad\u30eb",jobChangeWanted:"\u8ee2\u8077\u610f\u5411",email:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9",slackId:"Slack id",twitterId:"Twitter id"};class C{constructor(o,n){this._modalCtrl=o,this._i18nService=n,this.channels=[],this.sourceUrl="",this.memo=""}get item(){return this._item}set item(o){this.value=o.value,this.sourceUrl=o.source&&o.source.url||"",this.memo=o.memo||"",this._item=o}get saveEnabled(){return void 0!==this.value&&""!==this.value}get isAdd(){return"add"===this.editMode}get isEdit(){return"edit"===this.editMode}get isShow(){return"show"===this.editMode}get itemLabel(){return P[this.itemName]}get title(){const o=`${this.itemLabel}\u306e\u63a8\u6e2c\u5024`;return this.isAdd?`${o}\u3092\u8ffd\u52a0`:o}showValue(o){if("jobChangeWanted"===this.itemName)return this._i18nService.getMessage(`job-change.possibility.${N.Possibility[o]}`);if("techSkills"===this.itemName){const n=this._i18nService.getMessage(`skill-level.${o.level}`);return`${o.label}<br>${n}`}return o}save(){const{item:o}=this;if("jobChangeWanted"===this.itemName)o.value=Number.parseInt(this.value,10);else if("techSkills"===this.itemName){o.value=o.value||{},o.value.level=Number.parseInt(this.value.level,10);const n=this.channels.find(s=>s.id===o.value.channelId);o.value.label=n&&(n.label.ja||n.label.en)}else o.value=this.value;o.memo=this.memo,o.source=o.source||{},o.source.url=this.sourceUrl,this._modalCtrl.dismiss(o,"save")}close(){this._modalCtrl.dismiss(void 0,"cancel")}edit(){this.editMode="edit"}remove(){this._modalCtrl.dismiss(void 0,"remove")}}C.screenName="UserProfileEditModal",C.\u0275fac=function(o){return new(o||C)(e.Y36(m.IN),e.Y36(E.D))},C.\u0275cmp=e.Xpm({type:C,selectors:[["ng-component"]],inputs:{itemName:"itemName",editMode:"editMode",item:"item",channels:"channels"},decls:27,vars:10,consts:[[1,"content-wrapper"],[1,"item-grid"],[1,"item-type"],[1,"item-value"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[1,"source"],[1,"source-value"],[1,"memo"],[1,"memo-value"],[1,"buttons"],[3,"innerHTML"],[3,"ngModel","ngModelChange"],["value","0"],["value","1"],["value","2"],["value","3"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["type","text",3,"ngModel","ngModelChange"],["target","_blank",3,"href"],["fill","clear",3,"click"],["fill","solid","color","primary",3,"disabled","click"],["fill","clear","color","danger",1,"remove-button",3,"click"],["fill","solid","color","primary",3,"click"]],template:function(o,n){1&o&&(e.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),e._uU(3),e.qZA()()(),e.TgZ(4,"ion-content")(5,"div",0)(6,"div",1)(7,"div",2),e._uU(8),e.qZA(),e.TgZ(9,"div",3),e.YNc(10,be,1,1,"span",4),e.YNc(11,Te,4,3,"ng-container",5),e.qZA(),e.TgZ(12,"div",6),e._uU(13,"\u30bd\u30fc\u30b9URL"),e.qZA(),e.TgZ(14,"div",7),e.YNc(15,Oe,3,2,"span",5),e.YNc(16,De,2,1,"span",5),e.qZA(),e.TgZ(17,"div",8),e._uU(18,"\u30e1\u30e2"),e.qZA(),e.TgZ(19,"div",9),e.YNc(20,Ie,2,1,"span",5),e.YNc(21,$,2,1,"span",5),e.qZA()()()(),e.TgZ(22,"ion-footer")(23,"ion-toolbar")(24,"div",10),e.YNc(25,b,5,1,"ng-container",5),e.YNc(26,g,7,0,"ng-container",5),e.qZA()()()),2&o&&(e.xp6(3),e.Oqu(n.title),e.xp6(5),e.Oqu(n.itemLabel),e.xp6(2),e.Q6J("ngIf",n.isShow),e.xp6(1),e.Q6J("ngIf",n.isAdd||n.isEdit),e.xp6(4),e.Q6J("ngIf",n.isShow),e.xp6(1),e.Q6J("ngIf",n.isAdd||n.isEdit),e.xp6(4),e.Q6J("ngIf",n.isShow),e.xp6(1),e.Q6J("ngIf",n.isAdd||n.isEdit),e.xp6(4),e.Q6J("ngIf",n.isAdd||n.isEdit),e.xp6(1),e.Q6J("ngIf",n.isShow))},dependencies:[m.YG,m.W2,m.fr,m.Gu,m.wd,m.sr,Z.sg,Z.O5,A.YN,A.Kr,A.Fj,A.EJ,A.JJ,A.On,K.C],styles:[".content-wrapper[_ngcontent-%COMP%]{min-height:100%;display:flex;align-items:center;justify-content:center}.item-grid[_ngcontent-%COMP%]{margin:10px 40px;display:grid;grid-template-columns:100px 1fr;grid-gap:10px;gap:10px;width:100%;word-break:break-all}.item-grid[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}ion-footer[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between}ion-footer[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]{width:14rem}ion-footer[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]   .remove-button[_ngcontent-%COMP%]{margin-right:40px}"],changeDetection:0});var v=l(26026),y=l(55887),T=l(73071),Q=l(62498),J=l(23665),G=l(49048),we=l(60326);function Ye(i,o){if(1&i&&(e.TgZ(0,"ion-select-option",17),e._uU(1),e.qZA()),2&i){const n=o.$implicit;e.s9C("value",n.id),e.xp6(1),e.hij(" ",n.displayName," ")}}function Le(i,o){if(1&i&&(e.TgZ(0,"ion-select-option",17),e._uU(1),e.qZA()),2&i){const n=o.$implicit;e.s9C("value",n),e.xp6(1),e.Oqu(n)}}function Re(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"form",6)(1,"ion-list")(2,"ion-item")(3,"ion-label"),e._uU(4,"\u4f01\u696d"),e.qZA(),e.TgZ(5,"ion-select",7),e.YNc(6,Ye,2,2,"ion-select-option",8),e.qZA()(),e.TgZ(7,"ion-item")(8,"ion-label",9),e._uU(9,"\u30bf\u30a4\u30c8\u30eb"),e.qZA(),e._UZ(10,"ion-input",10),e.qZA(),e.TgZ(11,"ion-item")(12,"ion-label"),e._uU(13,"\u901a\u77e5\u30e1\u30c3\u30bb\u30fc\u30b8\uff08\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff09"),e.qZA(),e.TgZ(14,"ion-select",11),e.NdJ("ionChange",function(r){e.CHM(n);const u=e.oxw();return e.KtG(u.changeTemplate(r))}),e.YNc(15,Le,2,2,"ion-select-option",8),e.qZA()(),e.TgZ(16,"ion-item")(17,"ion-label",12),e._uU(18,"\u901a\u77e5\u30e1\u30c3\u30bb\u30fc\u30b8"),e.qZA(),e._UZ(19,"ion-input",13),e.qZA(),e.TgZ(20,"ion-item")(21,"ion-label"),e._uU(22,"\u30b9\u30ec\u30c3\u30c9\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b"),e.qZA(),e._UZ(23,"ion-toggle",14),e.qZA(),e.TgZ(24,"ion-item")(25,"ion-label"),e._uU(26,"\u30aa\u30d5\u30a1\u30fcID"),e.qZA(),e._UZ(27,"ion-input",15),e.qZA(),e.TgZ(28,"ion-item")(29,"ion-label"),e._uU(30,"\u8077\u7a2e"),e.qZA(),e._UZ(31,"ion-input",16),e.qZA()()()}if(2&i){const n=e.oxw();e.Q6J("formGroup",n.form),e.xp6(6),e.Q6J("ngForOf",n.groups),e.xp6(9),e.Q6J("ngForOf",n.defaultNotificationMessages)}}class te{constructor(o,n,s,r,u,d,x,I,D,Y){this._formService=o,this._authService=n,this._userService=s,this._chatCtrl=r,this._toastCtrl=u,this._i18nService=d,this._dialogCtrl=x,this._logger=I,this._modalCtrl=D,this._changeDetector=Y,this.defaultNotificationMessages=["\u3010\u53d6\u6750\u306e\u304a\u9858\u3044\u3011\u30a8\u30f3\u30b8\u30cb\u30a2\u30ad\u30e3\u30ea\u30a2\u306b\u95a2\u3059\u308b\u53d6\u6750\u3092\u3055\u305b\u3066\u3044\u305f\u3060\u3051\u307e\u305b\u3093\u3067\u3057\u3087\u3046\u304b\uff1f\uff08{{username}}\u69d8\uff09","\u3010\u3054\u76f8\u8ac7\u3011\u8ee2\u8077\u3084\u526f\u696d\u306b\u8208\u5473\u306e\u3042\u308b\u65b9\u3092\u63a2\u3057\u3066\u3044\u307e\u3059\uff08{{username}}\u69d8\uff09","\u3010\u3054\u76f8\u8ac7\u3011\u8ee2\u8077\u306b\u8208\u5473\u306e\u3042\u308b\u65b9\u3092\u63a2\u3057\u3066\u3044\u307e\u3059\uff08{{username}}\u69d8\uff09","\u3010\u3054\u76f8\u8ac7\u3011\u526f\u696d\u3084\u696d\u52d9\u59d4\u8a17\u306b\u8208\u5473\u306e\u3042\u308b\u65b9\u3092\u63a2\u3057\u3066\u3044\u307e\u3059\uff08{{username}}\u69d8\uff09","\u3010\u3054\u76f8\u8ac7\u3011\u526f\u696d\u306b\u8208\u5473\u306e\u3042\u308b\u65b9\u3092\u63a2\u3057\u3066\u3044\u307e\u3059\uff08{{username}}\u69d8\uff09","\u526f\u696d\u6848\u4ef6\u306e\u3054\u7d39\u4ecb\u306b\u304a\u7533\u3057\u8fbc\u307f\u9802\u304d\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff08{{username}}\u69d8\uff09","\u4f01\u696d\u306e\u3054\u7d39\u4ecb\u306b\u304a\u7533\u3057\u8fbc\u307f\u9802\u304d\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff08{{username}}\u69d8\uff09"],this._defineProperties=[{name:"groupId",value:""},{name:"title",value:"\u304a\u8a71\u3092\u805e\u304b\u305b\u3066\u304f\u3060\u3055\u3044"},{name:"notificationMessage",value:""},{name:"createNew"},{name:"offerId",value:"scout"},{name:"occupation",value:""}],this._subscription=new y.Subscription}ngOnInit(){var o=this;return(0,M.Z)(function*(){const n=yield o._authService.getCurrentUser(),s=new Set(["admin","tickets","developers"]),r=(yield o._userService.getGroups(n.id)).filter(x=>!s.has(x.name)),u=r.find(x=>"tf_company"===x.name);o.groups=r;o._defineProperties.find(x=>"groupId"===x.name).value=u?.id,o.form=o._formService.build(o._defineProperties),o.notificationMessageForm=o.form.controls.notificationMessage,o._changeDetector.markForCheck()})()}ngOnDestroy(){this._subscription.closed||this._subscription.unsubscribe()}close(){this._modalCtrl.dismiss()}changeTemplate(o){this.notificationMessageForm.setValue(o.detail.value),this._changeDetector.markForCheck()}openChat(){var o=this;return(0,M.Z)(function*(){if(!o.person)return void o._dialogCtrl.alert("\u30e6\u30fc\u30b6\u30fc\u304c\u3044\u307e\u305b\u3093");const n=o._formService.getFormData(o.form),{title:s,notificationMessage:r,groupId:u,createNew:d,offerId:x,occupation:I}=n;o._chatCtrl.open({members:[o.person.id],title:s,notificationMessage:r,groupId:u,createNew:d,offerId:x,occupation:I}).then(D=>
1{if(!D)return o._toastCtrl.failure(o._i18nService.getMessage("chat.error.common")),void o._logger.error("chat start error (empty thread id)");o._modalCtrl.dismiss({thread:D})}).catch(D=>{o._toastCtrl.failure(o._i18nService.getMessage("chat.error.common")),o._logger.error({err:D},"chat start error")})})()}}te.screenName="ChatStartDialog",te.\u0275fac=function(o){return new(o||te)(e.Y36(G.o),e.Y36(ee.e8),e.Y36(T.K),e.Y36(Q.v),e.Y36(ne.y),e.Y36(E.D),e.Y36(J.Y),e.Y36(j.Yd),e.Y36(m.IN),e.Y36(e.sBO))},te.\u0275cmp=e.Xpm({type:te,selectors:[["ng-component"]],inputs:{person:"person"},decls:16,vars:1,consts:[[1,"title"],["slot","primary"],[3,"click"],["name","fa-times","slot","icon-only"],[3,"formGroup",4,"ngIf"],["color","primary",3,"click"],[3,"formGroup"],["formControlName","groupId","interface","popover"],[3,"value",4,"ngFor","ngForOf"],["position","fixed"],["formControlName","title"],["interface","popover",3,"ionChange"],["position","stacked"],["formControlName","notificationMessage"],["formControlName","createNew","slot","end"],["formControlName","offerId"],["formControlName","occupation"],[3,"value"]],template:function(o,n){1&o&&(e.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"h1",0),e._uU(3,"\u30c1\u30e3\u30c3\u30c8\u30b9\u30ec\u30c3\u30c9\u4f5c\u6210"),e.qZA(),e.TgZ(4,"ion-buttons",1)(5,"ion-button",2),e.NdJ("click",function(){return n.close()}),e._UZ(6,"tf-icon",3),e.qZA()()()(),e.TgZ(7,"ion-content"),e.YNc(8,Re,32,3,"form",4),e.qZA(),e.TgZ(9,"ion-footer")(10,"ion-toolbar")(11,"ion-buttons")(12,"ion-button",5),e.NdJ("click",function(){return n.openChat()}),e._uU(13,"\u30c1\u30e3\u30c3\u30c8\u958b\u59cb"),e.qZA(),e.TgZ(14,"ion-button",2),e.NdJ("click",function(){return n.close()}),e._uU(15,"\u30ad\u30e3\u30f3\u30bb\u30eb"),e.qZA()()()()),2&o&&(e.xp6(8),e.Q6J("ngIf",!!n.form))},dependencies:[m.YG,m.Sm,m.W2,m.fr,m.Gu,m.pK,m.Ie,m.Q$,m.q_,m.t9,m.n0,m.ho,m.sr,m.w,m.QI,m.j9,Z.sg,Z.O5,A._Y,A.JJ,A.JL,A.sg,A.u,we.M],styles:['@charset "UTF-8";ion-toolbar[_ngcontent-%COMP%]{--padding-start: 20px;--padding-end: 20px;--padding-top: 10px;--padding-bottom: 10px}ion-list[_ngcontent-%COMP%]{--border-color: var(--tf-color-55)}.title[_ngcontent-%COMP%]{margin:0;font-size:2rem}.bot-username[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:700}.bot-profile[_ngcontent-%COMP%]{font-size:1rem}'],changeDetection:0});var We=l(75119),Be=l(23078),Ke=l(4767),Ge=l(96815),ze=l(60384),He=l(22119),V=l(20766),c=l(48854),p=l(73405),a=l(21263),h=l(85056),f=l(41442),w=l(42621),$e=l(46681),an=l(95042),Ee=l(18991),qe=l(211),tn=l(56247);function ln(i,o){1&i&&e._UZ(0,"tf-loading")}function cn(i,o){1&i&&e._UZ(0,"tf-no-results",11),2&i&&e.Q6J("addRefreshBtn",!1)}function _n(i,o){1&i&&e.GkF(0)}function un(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tf-intersection",18),e.NdJ("change$",function(r){e.CHM(n);const u=e.oxw(),d=u.first,x=u.last,I=e.oxw(3);return e.KtG(I.intersect(r,{isFirst:d,isLast:x}))}),e.qZA()}}const Ve=function(i){return{read:i}},on=function(i,o){return{story:i,pos:o}};function gn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",15),e.NdJ("click",function(r){const d=e.CHM(n).$implicit,x=e.oxw(3);return e.KtG(x.openStory(r,d))}),e.YNc(1,_n,1,0,"ng-container",16),e.YNc(2,un,1,0,"tf-intersection",17),e.qZA()}if(2&i){const n=o.$implicit,s=o.index,r=o.first,u=o.last;e.oxw(3);const d=e.MAs(2);e.Q6J("ngClass",e.VKq(4,Ve,n.read)),e.xp6(1),e.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",e.WLB(6,on,n,s)),e.xp6(1),e.Q6J("ngIf",r||u)}}function pn(i,o){if(1&i&&(e.TgZ(0,"div",12,13),e.YNc(2,gn,3,9,"div",14),e.qZA()),2&i){const n=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",n.items)("ngForTrackBy",n.trackByStory)}}function dn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"ion-slide",24),e.NdJ("click",function(r){e.CHM(n);const u=e.oxw().$implicit,d=e.oxw(3);return e.KtG(d.openStory(r,u))}),e.TgZ(1,"div",25)(2,"div",26)(3,"div",27),e._UZ(4,"h1",28),e.ALo(5,"tfI18n"),e.qZA(),e._UZ(6,"img",29),e.qZA()()()}if(2&i){const n=e.oxw().$implicit;e.Q6J("ngClass",e.VKq(4,Ve,n.read)),e.xp6(4),e.s9C("innerHTML",e.lcZ(5,2,"stories.what"),e.oJD)}}function fn(i,o){1&i&&e.GkF(0)}function mn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"ion-slide",15),e.NdJ("click",function(r){e.CHM(n);const u=e.oxw().$implicit,d=e.oxw(3);return e.KtG(d.openStory(r,u))}),e.YNc(1,fn,1,0,"ng-container",16),e.qZA()}if(2&i){const n=e.oxw(),s=n.$implicit,r=n.index;e.oxw(3);const u=e.MAs(2);e.Q6J("ngClass",e.VKq(3,Ve,s.read)),e.xp6(1),e.Q6J("ngTemplateOutlet",u)("ngTemplateOutletContext",e.WLB(5,on,s,r))}}function hn(i,o){if(1&i&&(e.ynx(0),e.YNc(1,dn,7,6,"ion-slide",22),e.YNc(2,mn,2,8,"ion-slide",23),e.BQk()),2&i){const n=o.$implicit;e.xp6(1),e.Q6J("ngIf","tutorial"===n.type&&"tutorial"===n.id),e.xp6(1),e.Q6J("ngIf","tutorial"!==n.type)}}function Pn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"ion-slides",19,20),e.NdJ("ionSlideWillChange",function(){e.CHM(n);const r=e.oxw(2);return e.KtG(r.updateButton())})("ionSlideReachStart",function(){e.CHM(n);const r=e.oxw(2);return e.KtG(r.reachStart())})("ionSlideReachEnd",function(){e.CHM(n);const r=e.oxw(2);return e.KtG(r.reachEnd())}),e.YNc(2,hn,3,2,"ng-container",21),e.qZA()}if(2&i){const n=e.oxw(2);e.Q6J("options",n.slideOptions),e.xp6(2),e.Q6J("ngForOf",n.items)("ngForTrackBy",n.trackByStory)}}function Cn(i,o){1&i&&e._UZ(0,"div",30)}function xn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div")(1,"div",2)(2,"h2",3),e._UZ(3,"tf-icon",4),e._uU(4),e.ALo(5,"tfI18n"),e.qZA(),e.TgZ(6,"p",5),e._uU(7),e.ALo(8,"tfI18n"),e.qZA()(),e.TgZ(9,"div",6),e.NdJ("touchstart",function(r){e.CHM(n);const u=e.oxw();return e.KtG(u.stopPropergation(r))}),e.YNc(10,ln,1,0,"tf-loading",0),e.YNc(11,cn,1,1,"tf-no-results",7),e.YNc(12,pn,3,2,"div",8),e.YNc(13,Pn,3,3,"ion-slides",9),e.qZA(),e.YNc(14,Cn,1,0,"div",10),e.qZA()}if(2&i){const n=e.oxw();
1e.xp6(4),e.Oqu(e.lcZ(5,7,"stories")),e.xp6(3),e.Oqu(e.lcZ(8,9,"stories.description.2")),e.xp6(3),e.Q6J("ngIf",n.loading),e.xp6(1),e.Q6J("ngIf",!n.loading&&0===n.items.length),e.xp6(1),e.Q6J("ngIf",n.isPCWebMode),e.xp6(1),e.Q6J("ngIf",!n.isPCWebMode),e.xp6(1),e.Q6J("ngIf",n.items.length>1)}}function vn(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"div",34),e._UZ(2,"tf-entry-listitem",35),e.qZA(),e.BQk()),2&i){const n=e.oxw(),s=n.story,r=n.pos;e.xp6(2),e.Q6J("entry",s.data)("pos",r)("storyStats",s.stats)}}const bn=function(i){return{gnyyy:i,showCommentInput:!1,forceMobileView:!0,stories:!0}};function Mn(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"div",34),e._UZ(2,"tf-entry-listitem",36),e.qZA(),e.BQk()),2&i){const n=e.oxw(),s=n.story,r=n.pos;e.xp6(2),e.Q6J("entry",s.data.entry)("optionsOverride",e.VKq(4,bn,s.data.comment.body.original))("pos",r)("storyStats",s.stats)}}function yn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tf-intersection",18),e.NdJ("change$",function(r){e.CHM(n);const u=e.oxw(3);return e.KtG(u.loadEntries(r))}),e.qZA()}}function Zn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tf-intersection",18),e.NdJ("change$",function(r){e.CHM(n);const u=e.oxw(2).story,d=e.oxw();return e.KtG(d.viewEntry(r,u))}),e.qZA()}}function An(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const n=e.oxw(3).story;e.xp6(1),e.Oqu(n.tag)}}function Tn(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.ALo(2,"tfI18nLabel"),e.BQk()),2&i){const n=e.oxw(3).story;e.xp6(1),e.hij("#",e.lcZ(2,1,n.data.channel.label),"")}}function On(i,o){if(1&i&&(e.TgZ(0,"span",43),e.YNc(1,An,2,1,"ng-container",0),e.YNc(2,Tn,3,3,"ng-container",0),e.qZA()),2&i){const n=e.oxw(2).story;e.xp6(1),e.Q6J("ngIf",n.tag),e.xp6(1),e.Q6J("ngIf",!n.tag&&"channel"===n.type)}}function Dn(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"span",44),e._uU(2),e.qZA(),e.TgZ(3,"span",44),e._uU(4),e.qZA(),e.BQk()),2&i){const n=e.oxw(2).story;e.xp6(2),e.Oqu(n.entryTitle),e.xp6(2),e.Oqu(n.title)}}function In(i,o){if(1&i&&(e.TgZ(0,"span",44),e._uU(1),e.qZA()),2&i){const n=e.oxw(2).story;e.xp6(1),e.Oqu(n.title)}}const wn=function(i){return{multi:i}};function En(i,o){if(1&i&&(e.ynx(0),e.YNc(1,yn,1,0,"tf-intersection",17),e.YNc(2,Zn,1,0,"tf-intersection",17),e.TgZ(3,"div",37),e._UZ(4,"img",38),e.YNc(5,On,3,2,"span",39),e.qZA(),e.TgZ(6,"div",27)(7,"h1",40),e.YNc(8,Dn,5,2,"ng-container",41),e.YNc(9,In,2,1,"ng-template",null,42,e.W1O),e.qZA()(),e.BQk()),2&i){const n=e.MAs(10),s=e.oxw().story,r=e.oxw();e.xp6(1),e.Q6J("ngIf",s.needFetch),e.xp6(1),e.Q6J("ngIf","entry"===s.type&&!s.viewed),e.xp6(2),e.s9C("src",r.getStoryThumbnailUrl(s),e.LSH),e.xp6(1),e.Q6J("ngIf",s.tag||"channel"===s.type),e.xp6(2),e.Q6J("ngClass",e.VKq(7,wn,s.entryTitle)),e.xp6(1),e.Q6J("ngIf",s.entryTitle)("ngIfElse",n)}}function Jn(i,o){if(1&i&&(e.ynx(0,31),e.YNc(1,vn,3,3,"ng-container",32),e.YNc(2,Mn,3,6,"ng-container",32),e.YNc(3,En,11,9,"ng-container",33),e.BQk()),2&i){const n=o.story;e.Q6J("ngSwitch",n.type),e.xp6(1),e.Q6J("ngSwitchCase","entry-list"),e.xp6(1),e.Q6J("ngSwitchCase","comment")}}class ce extends an.H{ngOnChanges(o){o.user.isFirstChange()||this._initStories()}_createStories(){return new $e.SH(this.user)}}ce.\u0275fac=function(){let i;return function(n){return(i||(i=e.n5z(ce)))(n||ce)}}(),ce.\u0275cmp=e.Xpm({type:ce,selectors:[["tf-person-stories"]],inputs:{user:"user"},features:[e.qOj,e.TTD],decls:3,vars:1,consts:[[4,"ngIf"],["slideContainer",""],["data-tuto-target","stories-title",1,"header"],[1,"stories-title"],["name","fa-heart","type","solid"],[1,"stories-description"],[1,"stories","tab-no-swiping",3,"touchstart"],[3,"addRefreshBtn",4,"ngIf"],["class","slides",4,"ngIf"],[3,"options","ionSlideWillChange","ionSlideReachStart","ionSlideReachEnd",4,"ngIf"],["class","swiper-pagination js-stories-pagination",4,"ngIf"],[3,"addRefreshBtn"],[1,"slides"],["pcSlides",""],["class","story",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"story",3,"ngClass","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"change$",4,"ngIf"],[3,"change$"],[3,"options","ionSlideWillChange","ionSlideReachStart","ionSlideReachEnd"],["slides",""],[4,"ngFor","ngForOf","ngForTrackBy"],["class","story tutorial",3,"ngClass","click",4,"ngIf"],["class","story",3,"ngClass","click",4,"ngIf"],[1,"story","tutorial",3,"ngClass","click"],[1,"story-content"],[1,"story-inner"],[1,"story-main"],[1,"story-tutorial-title",3,"innerHTML"],["src","images/icons/hand-pointer.svg","alt","",1,"tutorial-icon"],[1,"swiper-pagination","js-stories-pagination"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"story-main","comment"],["posKind","stories",3,"entry","pos","storyStats"],["posKind","stories",3,"entry","optionsOverride","pos","storyStats"],[1,"story-thumbn
1ail"],[3,"src"],["class","story-label tf-ellipsis",4,"ngIf"],[1,"story-title",3,"ngClass"],[4,"ngIf","ngIfElse"],["defaultTitle",""],[1,"story-label","tf-ellipsis"],[1,"story-title-inner"]],template:function(o,n){1&o&&(e.YNc(0,xn,15,11,"div",0),e.YNc(1,Jn,4,3,"ng-template",null,1,e.W1O)),2&o&&e.Q6J("ngIf",n.items.length>0)},dependencies:[m.A$,m.Hr,Z.mk,Z.sg,Z.O5,Z.tP,Z.RF,Z.n9,Z.ED,Be.Hl,Ee.N,qe.S,we.M,c.P,K.C,tn.c],styles:['@charset "UTF-8";.header[_ngcontent-%COMP%]{margin:12px 0 0;padding:12px;gap:4px;border-radius:8px 8px 0 0;background:var(--tf-page-header-background-color)}.stories-title[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0;font-size:2rem;font-weight:700;color:var(--tf-color-15);line-height:1.5}.stories-title[_ngcontent-%COMP%]   tf-icon[_ngcontent-%COMP%]{color:#ef5da8;margin:0 5px 0 0}.stories-description[_ngcontent-%COMP%]{margin:0;font-size:1.2rem;color:var(--tf-color-44)}.stories[_ngcontent-%COMP%]{position:relative;margin:0}.swiper-container[_ngcontent-%COMP%]{width:100%}.swiper-slide[_ngcontent-%COMP%]{width:auto;text-align:left}.story[_ngcontent-%COMP%]{flex:0 0 auto;position:relative;display:inline-block;width:238px;min-width:238px;max-width:238px;margin:0 10px 0 0;height:auto;border-radius:6px;border:1px solid var(--tf-color-55);overflow:hidden;background:var(--tf-entry-background-mobile)}@media (min-width: 768px){.story[_ngcontent-%COMP%]{background:var(--tf-entry-background)}}.story[_ngcontent-%COMP%]:last-child{margin:0 10px 0 0}.story.tutorial[_ngcontent-%COMP%]{width:123px;height:auto;padding:2px;background:var(--tf-stories-line)}.story.read[_ngcontent-%COMP%]{padding:0;opacity:.4}.story-content[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;border-radius:6px;background:url(background.0696a0a95740639f.jpg) center bottom no-repeat;background-size:cover;overflow:hidden}.story-inner[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:center;width:100%;height:100%;background-color:var(--tf-story-bg-mask)}.tutorial[_ngcontent-%COMP%]   .story-inner[_ngcontent-%COMP%]{align-items:center}.story-main[_ngcontent-%COMP%]{padding:10px}.story-title[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0;font-size:1.3rem;font-weight:700;line-height:1.5;height:4.5em;overflow:hidden}@media (min-width: 1024px){.story-title[_ngcontent-%COMP%]{font-size:1.6rem}}.story-title[_ngcontent-%COMP%]   .story-title-inner[_ngcontent-%COMP%]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:3em}.story-title.multi[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;justify-content:center}.story-title.multi[_ngcontent-%COMP%]   .story-title-inner[_ngcontent-%COMP%]:first-child{-webkit-line-clamp:2;min-height:1.5em}.story-title.multi[_ngcontent-%COMP%]   .story-title-inner[_ngcontent-%COMP%]:last-child{-webkit-line-clamp:1;min-height:1.5em}.story-tutorial-title[_ngcontent-%COMP%]{margin:0;font-size:1.5rem;font-weight:700;text-align:center;word-break:break-all;white-space:normal;color:transparent;background:var(--tf-stories-line);-webkit-background-clip:text;background-clip:text}.tutorial-icon[_ngcontent-%COMP%]{position:absolute;right:5px;bottom:-3px}.story-thumbnail[_ngcontent-%COMP%]{position:relative;width:100%;padding-top:52.3560209424%}.story-thumbnail[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.story-label[_ngcontent-%COMP%]{position:absolute;top:0;left:0;font-weight:700;font-size:1.4rem;background:var(--tf-color-1);padding:2px 8px;width:100%;opacity:.8}.tf-theme-dark[_nghost-%COMP%]   .story-label[_ngcontent-%COMP%], .tf-theme-dark   [_nghost-%COMP%]   .story-label[_ngcontent-%COMP%]{opacity:.6}.story-description[_ngcontent-%COMP%]{margin:10px 0 5px;font-size:1rem}.nav[_ngcontent-%COMP%]{position:absolute;z-index:1;top:50%;width:40px;height:40px;border-radius:50%;background:var(--tf-color-30);color:var(--tf-color-white);transform:translateY(-50%)}.nav.prev[_ngcontent-%COMP%]{left:5px}.nav.next[_ngcontent-%COMP%]{right:5px}.nav.hidden[_ngcontent-%COMP%]{visibility:hidden}.nav[_ngcontent-%COMP%]   tf-icon[_ngcontent-%COMP%]{font-size:1.6rem}.action-buttons[_ngcontent-%COMP%]{margin-top:5px}.comment[_ngcontent-%COMP%]{padding:0;display:flex;flex-direction:column;height:100%}.comment[_ngcontent-%COMP%]   tf-entry-listitem[_ngcontent-%COMP%]{--padding-bottom-desktop: 0;--tf-entry-border: 0}.comment-user[_ngcontent-%COMP%]{display:flex}
1.comment-user[_ngcontent-%COMP%]   tf-avatar[_ngcontent-%COMP%]{flex:0 0 auto;width:20px;margin:0 5px 0 0}.comment-user[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:0;overflow:hidden;line-height:1.25}.comment-user[_ngcontent-%COMP%]   .display-name[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;max-width:100%;font-size:1.2rem;font-weight:700;color:var(--tf-color-entry-text-secondary)}.comment-user[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:1.1rem;color:var(--tf-color-entry-text-secondary)}.comment-body[_ngcontent-%COMP%]{position:relative;font-size:1.4rem;line-height:1.4;margin:5px 0 auto;overflow:hidden;max-height:5.88rem}.comment-body[_ngcontent-%COMP%]   .comment-inner[_ngcontent-%COMP%]     *{margin:0;font-size:inherit}.comment-body[_ngcontent-%COMP%]   .readmore[_ngcontent-%COMP%]{position:absolute;top:3.92rem;right:0;display:inline-block;height:1.96rem;padding:0 0 0 10px;font-size:1.1rem;color:var(--tf-color-entry-text-secondary);background:linear-gradient(to right,rgba(var(--tf-entry-background-mobile-rgb),0),var(--tf-entry-background-mobile) 10px,var(--tf-entry-background-mobile) 100%)}@media (min-width: 768px){.comment-body[_ngcontent-%COMP%]   .readmore[_ngcontent-%COMP%]{background:linear-gradient(to right,rgba(var(--tf-entry-background-rgb),0),var(--tf-entry-background) 10px,var(--tf-entry-background) 100%)}}.comment-entry[_ngcontent-%COMP%]{padding:5px;border:1px solid var(--tf-color-55);border-radius:6px;font-size:1.2rem;background:var(--tf-entry-background)}.comment-entry[_ngcontent-%COMP%]   .entry-title[_ngcontent-%COMP%]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0}.comment-entry[_ngcontent-%COMP%]   .entry-domain[_ngcontent-%COMP%]{margin:0;font-size:1.1rem;color:var(--tf-color-entry-text-secondary);text-align:right}.swiper-pagination[_ngcontent-%COMP%]{position:relative!important;margin:5px 0 0;width:100%;--bullet-background: transparent;--bullet-background-active: var(--tf-color-gray-6)}.swiper-pagination[_ngcontent-%COMP%]     .swiper-pagination-bullet{width:12px;height:12px;margin:6px;border:2px solid var(--tf-color-gray-6)}.slides[_ngcontent-%COMP%]{display:flex;overflow-x:auto}.slides[_ngcontent-%COMP%]   tf-intersection[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}'],changeDetection:0});const Un=["activitySlides"],Fn=["activitySlideTab"];function Sn(i,o){if(1&i&&e._UZ(0,"tf-person-follow-button",20),2&i){const n=e.oxw(5);e.Q6J("user",n.person)}}function kn(i,o){if(1&i&&(e.ynx(0),e.YNc(1,Sn,1,1,"tf-person-follow-button",19),e.BQk()),2&i){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",!!n.person&&!n.isMyself&&!n.isBot)}}function Nn(i,o){if(1&i&&(e.TgZ(0,"div",17)(1,"h2",18),e._uU(2),e.ALo(3,"tfI18n"),e.qZA(),e.YNc(4,kn,2,1,"ng-container",1),e.qZA()),2&i){const n=e.oxw(3);e.xp6(2),e.Oqu((null==n.person?null:n.person.displayName)||e.lcZ(3,2,"unset")),e.xp6(2),e.Q6J("ngIf",n.showPersonFollowButton)}}function jn(i,o){if(1&i&&(e.TgZ(0,"div",14),e._UZ(1,"tf-avatar",15),e.YNc(2,Nn,5,4,"div",16),e.qZA()),2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("user",n.person)("responsive",!0),e.xp6(1),e.Q6J("ngIf",!(null!=n.person&&n.person.anonymous))}}function Bn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"ion-buttons",6)(1,"ion-button",21),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(2);return e.KtG(r.showEditModal())}),e._uU(2),e.ALo(3,"tfI18n"),e.qZA(),e.TgZ(4,"ion-button")(5,"tf-icon",22),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(2);return e.KtG(r.toSettings())}),e.qZA()()()}2&i&&(e.xp6(2),e.hij(" ",e.lcZ(3,1,"userProfile.editBtn.label")," "))}function qn(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"ion-buttons",5),e._UZ(2,"tf-menu-button"),e.qZA(),e.YNc(3,jn,3,3,"div",12),e.YNc(4,Bn,6,3,"ion-buttons",13),e.BQk()),2&i){const n=e.oxw();e.xp6(3),e.Q6J("ngIf",n.person),e.xp6(1),e.Q6J("ngIf",n.isMyself)}}function Qn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"ion-button",23),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.showEditModal())}),e._uU(1),e.ALo(2,"tfI18n"),e.qZA()}2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"userProfile.editBtn.label")," "))}function Yn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"ion-button",24),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.openChat())}),e._UZ(1,"tf-icon",25),e.qZA()}}function Ln(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"ion-button")(1,"tf-icon",22),e.NdJ("click",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.toSettings())}),e.qZA()()}}function Rn(i,o){if(1&i&&e._UZ(0,"tf-person-card-content",31),2&i){const n=e.oxw(2);e.Q6J("user",n.person)}}function Wn(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"div",32)(1,"ul",33),e._UZ(2,"li",34),e.ALo(3,"tfI18n"),e._UZ(4,"li",34),e.ALo(5,"tfI18n"),e._UZ(6,"li",34),e.ALo(7,"tfI18n"),e.qZA(),e.TgZ(8,"div",35)(9,"ion-button",24),e.NdJ("click",function(r){e.CHM(n);const u=e.oxw(2);return e.KtG(u.toLogin(r))}),e._uU(10),e.ALo(11,"tfI18n"),e.qZA(),e.TgZ(12,"ion-button",24),e.NdJ("click",function(r){e.CHM(n);const u=e.oxw(2);return e.KtG(u.toSignup(r))}),e._uU(13),e.ALo(14,"tfI18n"),e.qZA()()()}2&i&&(e.xp6(2),e.Q6J("innerHtml",e.lcZ(3,5,"login.advantages.1"),e.oJD),e.xp6(2),e.Q6J("innerHtml",e.lcZ(5,7,"login.advantages.2"),e.oJD),e.xp6(2),e.Q6J("innerHtml",e.lcZ(7,9,"login.advantages.3"),e.oJD),e.xp6(4),e.Oqu(e.l
1cZ(11,11,"login")),e.xp6(3),e.Oqu(e.lcZ(14,13,"signup")))}function Kn(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("twitterId"))}}function Gn(i,o){if(1&i&&(e.TgZ(0,"div",48)(1,"a",49),e._uU(2),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(1),e.MGl("href","https://twitter.com/",n.encode(null==n.person||null==n.person.personalData?null:n.person.personalData.twitterId),"",e.LSH),e.xp6(1),e.hij(" ",null==n.person||null==n.person.personalData?null:n.person.personalData.twitterId," ")}}function zn(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label"),e._UZ(2,"tf-icon",43),e.TgZ(3,"span",44),e._uU(4,"Twitter"),e.qZA(),e.YNc(5,Kn,1,1,"tf-icon",45),e.qZA(),e.YNc(6,Gn,3,2,"div",46),e.qZA()),2&i){const n=e.oxw(4),s=e.MAs(17);e.xp6(5),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",null==n.person||null==n.person.personalData?null:n.person.personalData.twitterId)("ngIfElse",s)}}function Hn(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("facebookId"))}}function $n(i,o){if(1&i&&(e.TgZ(0,"div",48)(1,"a",49),e._uU(2),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(1),e.MGl("href","https://www.facebook.com/",n.encode(null==n.person||null==n.person.personalData?null:n.person.personalData.facebookId),"",e.LSH),e.xp6(1),e.hij(" ",null==n.person||null==n.person.personalData?null:n.person.personalData.facebookId," ")}}function Vn(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label"),e._UZ(2,"tf-icon",50),e.TgZ(3,"span",44),e._uU(4,"Facebook"),e.qZA(),e.YNc(5,Hn,1,1,"tf-icon",45),e.qZA(),e.YNc(6,$n,3,2,"div",46),e.qZA()),2&i){const n=e.oxw(4),s=e.MAs(17);e.xp6(5),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",null==n.person||null==n.person.personalData?null:n.person.personalData.facebookId)("ngIfElse",s)}}function Xn(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("githubId"))}}function et(i,o){if(1&i&&(e.TgZ(0,"div",48)(1,"a",49),e._uU(2),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(1),e.MGl("href","https://github.com/",n.encode(null==n.person||null==n.person.personalData?null:n.person.personalData.githubId),"",e.LSH),e.xp6(1),e.hij(" ",null==n.person||null==n.person.personalData?null:n.person.personalData.githubId," ")}}function nt(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label"),e._UZ(2,"tf-icon",51),e.TgZ(3,"span",44),e._uU(4,"Github"),e.qZA(),e.YNc(5,Xn,1,1,"tf-icon",45),e.qZA(),e.YNc(6,et,3,2,"div",46),e.qZA()),2&i){const n=e.oxw(4),s=e.MAs(17);e.xp6(5),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",null==n.person||null==n.person.personalData?null:n.person.personalData.githubId)("ngIfElse",s)}}function tt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("blogUrl"))}}function ot(i,o){if(1&i&&(e.TgZ(0,"div",48)(1,"a",49),e._uU(2),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(1),e.s9C("href",null==n.person||null==n.person.personalData?null:n.person.personalData.blogUrl,e.LSH),e.xp6(1),e.hij(" ",null==n.person||null==n.person.personalData?null:n.person.personalData.blogUrl," ")}}function it(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3,"Blog"),e.qZA(),e.YNc(4,tt,1,1,"tf-icon",45),e.qZA(),e.YNc(5,ot,3,2,"div",46),e.qZA()),2&i){const n=e.oxw(4),s=e.MAs(17);e.xp6(4),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",null==n.person||null==n.person.personalData?null:n.person.personalData.blogUrl)("ngIfElse",s)}}function rt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("urls"))}}function st(i,o){if(1&i&&(e.TgZ(0,"a",49),e._uU(1),e.qZA()),2&i){const n=o.$implicit;e.s9C("href",n.url,e.LSH),e.xp6(1),e.hij(" ",n.description," ")}}function at(i,o){if(1&i&&(e.TgZ(0,"div",48),e.YNc(1,st,2,2,"a",52),e.qZA()),2&i){const n=e.oxw(5);e.xp6(1),e.Q6J("ngForOf",n.person.personalData.urls)}}function lt(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,rt,1,1,"tf-icon",45),e.qZA(),e.YNc(6,at,2,1,"div",46),e.qZA()),2&i){const n=e.oxw(4),s=e.MAs(17);e.xp6(3),e.Oqu(e.lcZ(4,4,"other")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",null==n.person||null==n.person.personalData?null:n.person.personalData.urls)("ngIfElse",s)}}function ct(i,o){if(1&i&&(e.TgZ(0,"section",42)(1,"h3"),e._uU(2),e.ALo(3,"tfI18n"),e.qZA(),e.TgZ(4,"ion-list"),e.YNc(5,zn,7,3,"ion-item",1),e.YNc(6,Vn,7,3,"ion-item",1),e.YNc(7,nt,7,3,"ion-item",1),e.YNc(8,it,6,3,"ion-item",1),e.YNc(9,lt,7,6,"ion-item",1),e.qZA()()),2&i){const n=e.oxw(3);
1e.xp6(2),e.Oqu(e.lcZ(3,6,"personalData.kind.internet")),e.xp6(3),e.Q6J("ngIf",n.hasData("twitterId")),e.xp6(1),e.Q6J("ngIf",n.hasData("facebookId")),e.xp6(1),e.Q6J("ngIf",n.hasData("githubId")),e.xp6(1),e.Q6J("ngIf",n.hasData("blogUrl")),e.xp6(1),e.Q6J("ngIf",n.hasData("urls"))}}function _t(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("name"))}}function ut(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,_t,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(3),e.Oqu(e.lcZ(4,4,"personalData.name")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.AsE(" ",null==n.person||null==n.person.personalData?null:n.person.personalData.familyName," ",null==n.person||null==n.person.personalData?null:n.person.personalData.givenName," ")}}function gt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("birthday"))}}function pt(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,gt,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(3),e.Oqu(e.lcZ(4,3,"personalData.birthday")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.hij(" ",n.getDateString(null==n.person||null==n.person.personalData?null:n.person.personalData.birthday,"ll")," ")}}function dt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("sex"))}}function ft(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,dt,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.ALo(8,"tfI18n"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(3),e.Oqu(e.lcZ(4,3,"personalData.sex")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.hij(" ",e.lcZ(8,5,"personalData.sex."+(null==n.person||null==n.person.personalData?null:n.person.personalData.sex))," ")}}function mt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("organization"))}}function ht(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,mt,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(3),e.Oqu(e.lcZ(4,3,"personalData.organization")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.hij(" ",null==n.person||null==n.person.personalData?null:n.person.personalData.organization," ")}}function Pt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("mate"))}}function Ct(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,Pt,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.ALo(8,"tfI18n"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(3),e.Oqu(e.lcZ(4,3,"personalData.mate")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.hij(" ",e.lcZ(8,5,"personalData.mate."+(null==n.person||null==n.person.personalData?null:n.person.personalData.mate))," ")}}function xt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("supportingDuty"))}}function vt(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,xt,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.ALo(8,"tfI18n"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(3),e.Oqu(e.lcZ(4,3,"personalData.supportingDuty")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.hij(" ",e.lcZ(8,5,"personalData.supportingDuty."+(null==n.person||null==n.person.personalData?null:n.person.personalData.supportingDuty))," ")}}function bt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("countOfDependants"))}}const Mt=function(i){return[i]};function yt(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,bt,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.ALo(8,"tfI18n"),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(3),e.Oqu(e.lcZ(4,3,"personalData.countOfDependants")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.hij(" ",e.xi3(8,5,(null==n.person||null==n.person.personalData?null:n.person.personalData.countOfDependants)&&"people",e.VKq(8,Mt,null==n.person||null==n.person.personalData?null:n.person.personalData.countOfDependants))," ")}}function Zt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("tel"))}}function At(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,Zt,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.qZA()()),2&i){const n=e.oxw(4);
1e.xp6(3),e.Oqu(e.lcZ(4,3,"personalData.tel")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.hij(" ",null==n.person||null==n.person.personalData?null:n.person.personalData.tel," ")}}function Tt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("nationality"))}}function Ot(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,Tt,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(3),e.Oqu(e.lcZ(4,3,"personalData.nationality")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.hij(" ",n.getCountryString(null==n.person||null==n.person.personalData?null:n.person.personalData.nationality)," ")}}function Dt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("address"))}}function It(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,Dt,1,1,"tf-icon",45),e.qZA(),e.TgZ(6,"div",48),e._uU(7),e.qZA()()),2&i){const n=e.oxw(4);e.xp6(3),e.Oqu(e.lcZ(4,7,"personalData.address")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(2),e.xDo(" ",n.getCountryString(null==n.person||null==n.person.personalData?null:n.person.personalData.country)," ",null==n.person||null==n.person.personalData?null:n.person.personalData.postalCode," ",null==n.person||null==n.person.personalData?null:n.person.personalData.address1," ",null==n.person||null==n.person.personalData?null:n.person.personalData.address2," ",null==n.person||null==n.person.personalData?null:n.person.personalData.address3," ")}}function wt(i,o){if(1&i&&(e.TgZ(0,"section",53)(1,"h3"),e._uU(2),e.ALo(3,"tfI18n"),e.qZA(),e.TgZ(4,"ion-list"),e.YNc(5,ut,8,6,"ion-item",1),e.YNc(6,pt,8,5,"i
1on-item",1),e.YNc(7,ft,9,7,"ion-item",1),e.YNc(8,ht,8,5,"ion-item",1),e.YNc(9,Ct,9,7,"ion-item",1),e.YNc(10,vt,9,7,"ion-item",1),e.YNc(11,yt,9,10,"ion-item",1),e.YNc(12,At,8,5,"ion-item",1),e.YNc(13,Ot,8,5,"ion-item",1),e.YNc(14,It,8,9,"ion-item",1),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(2),e.Oqu(e.lcZ(3,11,"personalData.kind.detail")),e.xp6(3),e.Q6J("ngIf",n.hasData("name")),e.xp6(1),e.Q6J("ngIf",n.hasData("birthday")),e.xp6(1),e.Q6J("ngIf",n.hasData("sex")),e.xp6(1),e.Q6J("ngIf",n.hasData("organization")),e.xp6(1),e.Q6J("ngIf",n.hasData("mate")),e.xp6(1),e.Q6J("ngIf",n.hasData("supportingDuty")),e.xp6(1),e.Q6J("ngIf",n.hasData("countOfDependants")),e.xp6(1),e.Q6J("ngIf",n.hasData("tel")),e.xp6(1),e.Q6J("ngIf",n.hasData("nationality")),e.xp6(1),e.Q6J("ngIf",n.hasData("address"))}}function Et(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("schoolCareer"))}}function Jt(i,o){if(1&i&&(e.TgZ(0,"tr")(1,"td",57),e._uU(2),e.ALo(3,"tfI18n"),e.ALo(4,"tfI18n"),e.qZA(),e.TgZ(5,"td",58),e._uU(6),e.qZA()()),2&i){const n=o.$implicit,s=e.oxw(6);e.xp6(2),e.AsE(" ",s.getDateString(n.from,e.lcZ(3,3,"personalData.history.dateFormat"))," \u301c ",s.getDateString(n.to,e.lcZ(4,5,"personalData.history.dateFormat"))," "),e.xp6(4),e.Oqu(n.title)}}function Ut(i,o){if(1&i&&(e.TgZ(0,"div",55)(1,"table"),e.YNc(2,Jt,7,7,"tr",56),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(2),e.Q6J("ngForOf",n.person.personalData.schoolCareer)}}function Ft(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,Et,1,1,"tf-icon",45),e.qZA(),e.YNc(6,Ut,3,1,"div",54),e.qZA()),2&i){const n=e.oxw(4),s=e.MAs(17);e.xp6(3),e.Oqu(e.lcZ(4,4,"personalData.schoolCareer")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",null==n.person||null==n.person.personalData?null:n.person.personalData.schoolCareer)("ngIfElse",s)}}function St(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("career"))}}function kt(i,o){if(1&i&&(e.TgZ(0,"tr")(1,"td",57),e._uU(2),e.ALo(3,"tfI18n"),e.ALo(4,"tfI18n"),e.qZA(),e.TgZ(5,"td",58),e._uU(6),e.qZA()()),2&i){const n=o.$implicit,s=e.oxw(6);e.xp6(2),e.AsE(" ",s.getDateString(n.from,e.lcZ(3,3,"personalData.history.dateFormat"))," \u301c ",s.getDateString(n.to,e.lcZ(4,5,"personalData.history.dateFormat"))," "),e.xp6(4),e.Oqu(n.title)}}function Nt(i,o){if(1&i&&(e.TgZ(0,"div",55)(1,"table"),e.YNc(2,kt,7,7,"tr",56),e.qZA()()),2&i){const n=e.oxw(5);e.xp6(2),e.Q6J("ngForOf",n.person.personalData.career)}}function jt(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,St,1,1,"tf-icon",45),e.qZA(),e.YNc(6,Nt,3,1,"div",54),e.qZA()),2&i){const n=e.oxw(4),s=e.MAs(17);e.xp6(3),e.Oqu(e.lcZ(4,4,"personalData.career")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",null==n.person||null==n.person.personalData?null:n.person.personalData.career)("ngIfElse",s)}}function Bt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("skills"))}}function qt(i,o){if(1&i&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"tfI18n"),e.qZA()),2&i){const n=o.$implicit;e.xp6(1),e.AsE(" ",n.customText," ",n.yearsOfExperience+e.lcZ(2,2,"year")," ")}}function Qt(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"div",48),e.YNc(2,qt,3,4,"div",56),e.qZA(),e.BQk()),2&i){const n=e.oxw(5);e.xp6(2),e.Q6J("ngForOf",n.person.personalData.skills)}}function Yt(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,Bt,1,1,"tf-icon",45),e.qZA(),e.YNc(6,Qt,3,1,"ng-container",59),e.qZA()),2&i){const n=e.oxw(4),s=e.MAs(17);e.xp6(3),e.Oqu(e.lcZ(4,4,"personalData.skills")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",null==n.person||null==n.person.personalData?null:n.person.personalData.skills)("ngIfElse",s)}}function Lt(i,o){if(1&i&&e._UZ(0,"tf-icon",47),2&i){const n=e.oxw(5);e.Q6J("name",n.getScopeIcon("qualifications"))}}function Rt(i,o){if(1&i&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"tfI18n"),e.qZA()),2&i){const n=o.$implicit,s=e.oxw(6);e.xp6(1),e.AsE(" ",s.getDateString(n.acquisitionDate,e.lcZ(2,2,"personalData.history.dateFormat"))," ",n.title," ")}}function Wt(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"div",48),e.YNc(2,Rt,3,4,"div",56),e.qZA(),e.BQk()),2&i){const n=e.oxw(5);e.xp6(2),e.Q6J("ngForOf",n.person.personalData.qualifications)}}function Kt(i,o){if(1&i&&(e.TgZ(0,"ion-item")(1,"ion-label")(2,"span",44),e._uU(3),e.ALo(4,"tfI18n"),e.qZA(),e.YNc(5,Lt,1,1,"tf-icon",45),e.qZA(),e.YNc(6,Wt,3,1,"ng-container",59),e.qZA()),2&i){const n=e.oxw(4),s=e.MAs(17);
1e.xp6(3),e.Oqu(e.lcZ(4,4,"personalData.qualifications")),e.xp6(2),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",null==n.person||null==n.person.personalData?null:n.person.personalData.qualifications)("ngIfElse",s)}}function Gt(i,o){if(1&i&&(e.TgZ(0,"section",53)(1,"h3"),e._uU(2),e.ALo(3,"tfI18n"),e.qZA(),e.TgZ(4,"ion-list"),e.YNc(5,Ft,7,6,"ion-item",1),e.YNc(6,jt,7,6,"ion-item",1),e.YNc(7,Yt,7,6,"ion-item",1),e.YNc(8,Kt,7,6,"ion-item",1),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(2),e.Oqu(e.lcZ(3,5,"personalData.kind.resume")),e.xp6(3),e.Q6J("ngIf",n.hasData("schoolCareer")),e.xp6(1),e.Q6J("ngIf",n.hasData("career")),e.xp6(1),e.Q6J("ngIf",n.hasData("skills")),e.xp6(1),e.Q6J("ngIf",n.hasData("qualifications"))}}function zt(i,o){if(1&i&&(e.TgZ(0,"li"),e._UZ(1,"img",62),e.ALo(2,"tfI18nLabel"),e.qZA()),2&i){const n=o.$implicit;e.xp6(1),e.s9C("title",e.lcZ(2,2,n.label)),e.Q6J("src",n.imageUrl,e.LSH)}}function Ht(i,o){if(1&i&&(e.TgZ(0,"section",60)(1,"h3"),e._uU(2),e.ALo(3,"tfI18n"),e.qZA(),e.TgZ(4,"ul",61),e.YNc(5,zt,3,4,"li",56),e.qZA()()),2&i){const n=e.oxw(3);e.xp6(2),e.Oqu(e.lcZ(3,2,"medal.gotten")),e.xp6(3),e.Q6J("ngForOf",n.person.medals)}}function $t(i,o){1&i&&(e.ynx(0),e._uU(1),e.ALo(2,"tfI18n"),e.BQk()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"readMore")," "))}function Vt(i,o){1&i&&(e.ynx(0),e._uU(1),e.ALo(2,"tfI18n"),e.BQk()),2&i&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"close")," "))}function Xt(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"ion-button",63),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(3);return e.KtG(r.toggleContent())}),e.YNc(1,$t,3,3,"ng-container",1),e.YNc(2,Vt,3,3,"ng-container",1),e._UZ(3,"tf-icon",64),e.qZA()}if(2&i){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",!n.showContent),e.xp6(1),e.Q6J("ngIf",n.showContent),e.xp6(1),e.Q6J("name",n.showContent?"fa-chevron-up":"fa-chevron-down")}}const eo=function(i){return{open:i}};function no(i,o){if(1&i&&(e.TgZ(0,"div",36)(1,"div",37),e.YNc(2,ct,10,8,"section",38),e.YNc(3,wt,15,13,"section",39),e.YNc(4,Gt,9,7,"section",39),e.YNc(5,Ht,6,4,"section",40),e.qZA(),e.YNc(6,Xt,4,3,"ion-button",41),e.qZA()),2&i){const n=e.oxw(2);e.Q6J("ngClass",e.VKq(6,eo,n.showContent)),e.xp6(2),e.Q6J("ngIf",n.showCategory("internet")),e.xp6(1),e.Q6J("ngIf",n.showCategory("detail")),e.xp6(1),e.Q6J("ngIf",n.showCategory("resume")),e.xp6(1),e.Q6J("ngIf",n.person&&n.person.medals&&n.person.medals.length),e.xp6(1),e.Q6J("ngIf",(null==n.person?null:n.person.profile)||(null==n.person?null:n.person.medals)&&(null==n.person||null==n.person.medals?null:n.person.medals.length)||n.showCategory("internet")||n.showCategory("detail")||n.showCategory("resume"))}}function to(i,o){if(1&i){const n=e.EpF();e.ynx(0),e.YNc(1,Rn,1,1,"tf-person-card-content",26),e.TgZ(2,"tf-intersection",27),e.NdJ("change$",function(r){e.CHM(n);const u=e.oxw();return e.KtG(u.toggleHeader(r))}),e.qZA(),e.TgZ(3,"div",28),e.YNc(4,Wn,15,15,"div",29),e.YNc(5,no,7,8,"div",30),e.qZA(),e.BQk()}if(2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.person&&!(null!=n.person&&n.person.anonymous)),e.xp6(3),e.Q6J("ngIf",null==n.person?null:n.person.anonymous),e.xp6(1),e.Q6J("ngIf",n.person&&!(null!=n.person&&n.person.anonymous))}}function oo(i,o){if(1&i&&(e.TgZ(0,"p",65),e._uU(1),e.ALo(2,"tfI18n"),e.qZA()),2&i){const n=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,"userProfile.notFound",n.usernameParam))}}function io(i,o){if(1&i&&e._UZ(0,"tf-person-stories",72),2&i){const n=e.oxw(2);e.Q6J("user",n.person)}}function ro(i,o){1&i&&e._UZ(0,"tf-icon",75)}function so(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tf-tab",24),e.NdJ("click",function(){const u=e.CHM(n).index,d=e.oxw(2);return e.KtG(d.changeActivitySlide(u))}),e.TgZ(1,"div",73),e.YNc(2,ro,1,0,"tf-icon",74),e._uU(3),e.ALo(4,"tfI18n"),e.qZA()()}if(2&i){const n=o.$implicit;e.xp6(2),e.Q6J("ngIf","job-profile"===n.tab),e.xp6(1),e.hij(" ",e.lcZ(4,2,"activity.filter.kind."+n.tab)," ")}}function ao(i,o){1&i&&e._UZ(0,"tf-action-bar")}const lo=function(){return{showComments:"follows",showTweets:!1}};function co(i,o){if(1&i&&e._UZ(0,"tf-entry-listitem",80),2&i){const n=o.$implicit;e.Q6J("entry",n)("optionsOverride",e.DdM(2,lo))}}function _o(i,o){if(1&i&&(e.ynx(0),e.YNc(1,co,1,3,"tf-entry-listitem",79),e.BQk()),2&i){const n=e.oxw(5);e.xp6(1),e.Q6J("ngForOf",n.entries)("ngForTrackBy",n.trackByEntry)}}function uo(i,o){if(1&i&&(e.ynx(0),e.YNc(1,ao,1,0,"tf-action-bar",1),e.YNc(2,_o,2,2,"ng-container",1),e.BQk()),2&i){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",n.isLauncherEnabled),e.xp6(1),e.Q6J("ngIf",n.entries)}}function go(i,o){if(1&i&&e._UZ(0,"tf-person-detail-activities",81),2&i){const n=e.oxw(2).$implicit,s=e.oxw(2);e.Q6J("person",s.person)("kind",n.kind)}}function po(i,o){if(1&i&&(e.ynx(0),e.YNc(1,uo,3,2,"ng-container",1),e.YNc(2,go,1,2,"tf-person-detail-activities",78),e.BQk()),2&i){const n=e.oxw(),s=n.index,r=n.$implicit;e.xp6(1),e.Q6J("ngIf",0===s),e.xp6(1),e.Q6J("ngIf",r.canShow)}}function fo(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"a",89),e.NdJ("click",function(){const r=e.CHM(n),u=r.$implicit,d=r.index,x=e.oxw(5);return e.KtG(x.showBasicItem("jobTitle",u,d))}),e._uU(1),e.qZA()}if(2&i){const n=o.$implicit;e.xp6(1),e.Oqu(n.value)}}function mo(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"a",89),e.NdJ("click",function(){const r=e.CHM(n),u=r.$implicit,d=r.index,x=e.oxw(5);return e.KtG(x.showBasicItem("age",u,d))}),e._uU(1),e.qZA()}if(2&i){const n=o.$implicit;e.xp6(1),e.Oqu(n.value)}}function ho(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"a",89),e.NdJ("click",function(){const r=e.CHM(n),u=r.$implicit,d=r.index,x=e.oxw(5);return e.KtG(x.showBasicItem("location",u,d))}),e._uU(1),e.qZA()}if(2&i){const n=o.$implicit;e.xp6(1),e.Oqu(n.value)}}function Po(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"a",89),e.NdJ("click",function(){const r=e.CHM(n),u=r.$implicit,d=r.index,x=e.oxw(5);return e.KtG(x.showBasicItem("techSkills",u,d))}),e._uU(1),e.qZA()}if(2&i){const n=o.$implicit;e.xp6(1),e.Oqu(n.value.label)}}function Co(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"a",89),e.NdJ("click",function(){const r=e.CHM(n),u=r.$implicit,d=r.index,x=e.oxw(5);return e.KtG(x.showBasicItem("jobChangeWanted",u,d))}),e._uU(1),e.qZA()}if(2&i){const n=o.$implicit,s=e.oxw(5);e.xp6(1),e.Oqu(s.getJobChangeWantedLabel(n.value))}}function xo(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"a",89),e.NdJ("click",function(){const r=e.CHM(n),u=r.$implicit,d=r.index,x=e.oxw(5);return e.KtG(x.showBasicItem("email",u,d))}),e._uU(1),e.qZA()}if(2&i){const n=o.$implicit;e.xp6(1),e.Oqu(n.value)}}function vo(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"a",89),e.NdJ("click",function(){const r=e.CHM(n),u=r.$implicit,d=r.index,x=e.oxw(5);return e.KtG(x.showBasicItem("slackId",u,d))}),e._uU(1),e.qZA()}if(2&i){const n=o.$implicit;e.xp6(1),e.Oqu(n.value)}}function bo(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"a",89),e.NdJ("click",function(){const r=e.CHM(n),u=r.$implicit,d=r.index,x=e.oxw(5);return e.KtG(x.showBasicItem("twitterId",u,d))}),e._uU(1),e.qZA()}if(2&i){const n=o.$implicit;e.xp6(1),e.Oqu(n.value)}}const oe=function(){return[]};function Mo(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"section",84)(1,"h3"),e._uU(2,"\u57fa\u672c\u60c5\u5831"),e.qZA(),e.TgZ(3,"ul")(4,"li",85)(5,"span",86),e._uU(6,"\u8077\u7a2e:"),e.qZA(),e.YNc(7,fo,2,1,"a",87),e.TgZ(8,"tf-icon",88),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(4);return e.KtG(r.addBasicItem("jobTitle"))}),e.qZA()(),e.TgZ(9,"li",85)(10,"span",86),e._uU(11,"\u5e74\u9f62:"),e.qZA(),e.YNc(12,mo,2,1,"a",87),e.TgZ(13,"tf-icon",88),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(4);return e.KtG(r.addBasicItem("age"))}),e.qZA()(),e.TgZ(14,"li",85)(15,"span",86),e._uU(16,"\u5c45\u4f4f\u5730:"),e.qZA(),e.YNc(17,ho,2,1,"a",87),e.TgZ(18,"tf-icon",88),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(4);return e.KtG(r.addBasicItem("location"))}),e.qZA()(),e.TgZ(19,"li",85)(20,"span",86),e._uU(21,"\u30b9\u30ad\u30eb:"),e.qZA(),e.YNc(22,Po,2,1,"a",87),e.TgZ(23,"tf-icon",88),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(4);return e.KtG(r.addBasicItem("techSkills"))}),e.qZA()(),e.TgZ(24,"li",85)(25,"span",86),e._uU(26,"\u8ee2\u8077\u610f\u5411:"),e.qZA(),e.YNc(27,C
1o,2,1,"a",87),e.TgZ(28,"tf-icon",88),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(4);return e.KtG(r.addBasicItem("jobChangeWanted"))}),e.qZA()(),e.TgZ(29,"li",85)(30,"span",86),e._uU(31,"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9:"),e.qZA(),e.YNc(32,xo,2,1,"a",87),e.TgZ(33,"tf-icon",88),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(4);return e.KtG(r.addBasicItem("email"))}),e.qZA()(),e.TgZ(34,"li",85)(35,"span",86),e._uU(36,"Slack id:"),e.qZA(),e.YNc(37,vo,2,1,"a",87),e.TgZ(38,"tf-icon",88),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(4);return e.KtG(r.addBasicItem("slackId"))}),e.qZA()(),e.TgZ(39,"li",85)(40,"span",86),e._uU(41,"Twitter id:"),e.qZA(),e.YNc(42,bo,2,1,"a",87),e.TgZ(43,"tf-icon",88),e.NdJ("click",function(){e.CHM(n);const r=e.oxw(4);return e.KtG(r.addBasicItem("twitterId"))}),e.qZA()()()()}if(2&i){const n=e.oxw(4);e.xp6(7),e.Q6J("ngForOf",n.userProfile.jobTitle||e.DdM(8,oe)),e.xp6(5),e.Q6J("ngForOf",n.userProfile.age||e.DdM(9,oe)),e.xp6(5),e.Q6J("ngForOf",n.userProfile.location||e.DdM(10,oe)),e.xp6(5),e.Q6J("ngForOf",n.userProfile.techSkills||e.DdM(11,oe)),e.xp6(5),e.Q6J("ngForOf",n.userProfile.jobChangeWanted||e.DdM(12,oe)),e.xp6(5),e.Q6J("ngForOf",n.userProfile.email||e.DdM(13,oe)),e.xp6(5),e.Q6J("ngForOf",n.userProfile.slackId||e.DdM(14,oe)),e.xp6(5),e.Q6J("ngForOf",n.userProfile.twitterId||e.DdM(15,oe))}}function yo(i,o){1&i&&(e.TgZ(0,"div"),e._uU(1,"\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u7d50\u679c\u304c\u3042\u308a\u307e\u305b\u3093\u3002"),e.qZA())}function Zo(i,o){if(1&i&&(e.TgZ(0,"div",91)(1,"div",92)(2,"a",49),e._uU(3),e.qZA(),e.TgZ(4,"span",93),e._uU(5),e.qZA()(),e.TgZ(6,"div",94),e._uU(7),e.TgZ(8,"details")(9,"summary"),e._uU(10,"Details"),e.qZA(),e._uU(11),e.qZA()()()),2&i){const n=o.$implicit;e.xp6(2),e.s9C("href",n.link,e.LSH),e.xp6(1),e.Oqu(n.serviceId),e.xp6(2),e.hij("precision: ",n.precision,""),e.xp6(2),e.hij("profile: ",n.profile," "),e.xp6(4),e.hij(" ",n.details," ")}}function Ao(i,o){if(1&i&&(e.TgZ(0,"div"),e.YNc(1,Zo,12,5,"div",90),e.qZA()),2&i){const n=e.oxw(4);e.xp6(1),e.Q6J("ngForOf",n.userProfileResults)}}function To(i,o){if(1&i&&(e.TgZ(0,"section",82),e.YNc(1,Mo,44,16,"section",83),e.YNc(2,yo,2,0,"div",1),e.YNc(3,Ao,2,1,"div",1),e.qZA()),2&i){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",n.userProfile),e.xp6(1),e.Q6J("ngIf",!n.userProfileResults),e.xp6(1),e.Q6J("ngIf",n.userProfileResults)}}function Oo(i,o){if(1&i&&(e.TgZ(0,"section",82),e._UZ(1,"tf-person-job-profile",95),e.qZA()),2&i){const n=e.oxw(3);e.xp6(1),e.Q6J("userId",n.person.id)("isMyself",n.isMyself)("isBizUser",n.isMaybeBizUser)}}function Do(i,o){if(1&i&&(e.TgZ(0,"ion-slide")(1,"div",76),e.YNc(2,po,3,2,"ng-container",1),e.YNc(3,To,4,3,"section",77),e.YNc(4,Oo,2,3,"section",77),e.qZA()()),2&i){const n=o.$implicit;e.xp6(2),e.Q6J("ngIf","profile"!==n.tab&&"job-profile"!==n.tab),e.xp6(1),e.Q6J("ngIf","profile"===n.tab),e.xp6(1),e.Q6J("ngIf","job-profile"===n.tab)}}function Io(i,o){if(1&i){const n=e.EpF();e.ynx(0),e.YNc(1,io,1,1,"tf-person-stories",66),e.TgZ(2,"tf-tabs",67,68),e.YNc(4,so,5,4,"tf-tab",69),e.qZA(),e.TgZ(5,"ion-slides",70,71),e.NdJ("ionSlidesDidLoad",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.updateSwiperOptions())})("ionSlideWillChange",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.onSlideWillChange())})("ionSlideDidChange",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.updateSwiperOptions())}),e.YNc(7,Do,5,3,"ion-slide",56),e.qZA(),e.BQk()}if(2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.isAdmin),e.xp6(1),e.Q6J("selectedIndex",n.currentIndex),e.xp6(2),e.Q6J("ngForOf",n.activitySlideData),e.xp6(1),e.Q6J("options",n.slidesOptions),e.xp6(2),e.Q6J("ngForOf",n.activitySlideData)}}function wo(i,o){1&i&&(e.TgZ(0,"div",96),e._uU(1),e.ALo(2,"tfI18n"),e.qZA()),2&i&&(e.xp6(1),e.Oqu(e.lcZ(2,1,"unset")))}const Eo=function(i){return{show:i}},Jo=function(i){return{"background-image":i}};class re{constructor(o,n,s,r,u,d,x,I,D,Y,X,nn,li,ci,_i,ui,gi,pi,di,fi,mi,hi,Pi){this._tfContext=o,this._navCtrl=n,this._route=s,this._changeDetector=r,this._i18nService=u,this._logger=d,this._tracker=x,this._authService=I,this._personsApi=D,this._tfModalCtrl=Y,this._modalCtrl=X,this._authCtrl=nn,this._shareDialogCtrl=li,this._timelineMenuCtrl=ci,this._activationTracker=_i,this._setupGuard=ui,this._shareService=gi,this._popoverCtrl=pi,this._platform=di,this._toastCtrl=fi,this._wheelService=mi,this._channelApi=hi,this._titleService=Pi,this.profileNotFound=!1,this.usernameParam
1="",this.profileCoverUrl="",this.showFixedHeader=!1,this.showPersonFollowButton=!1,this.isPageVisible=!0,this.showContent=!1,this.currentIndex=0,this.activitySlideData=[],this._isMyself=!1,this._isAdmin=!1,this._isMaybeBizUser=!1,this._subscriptions=new se.Subscription,this._isLauncherEnabled=!1}get registrationDate(){return this._person&&this._person.createdAt?S(this._person.createdAt).format(this._registDateFormat):""}get person(){return this._person}get isMyself(){return this._isMyself}get isAdmin(){return this._isAdmin}get isMaybeBizUser(){return this._isMaybeBizUser}get isBot(){return(0,q.isTechFeedBot)(this._person)}get usernameLabel(){return this.person?this.isMyself?this._i18nService.getMessage("you"):this._i18nService.getMessage("san",[(0,q.userToString)(this.person)]):""}get isLauncherEnabled(){return this._isLauncherEnabled}get trendFollowChannelCount(){return this._person&&"number"==typeof this._person.followChannelCount&&"number"==typeof this._person.expertFollowChannelCount?this._person.followChannelCount-this._person.expertFollowChannelCount:0}get trendFollowChannelsLabel(){return this._person&&this._person.followChannels?this._person.followChannels.map(o=>this._i18nService.getLocalText(o.label)).join("/"):""}get expertFollowChannelsLabel(){return this._person&&this._person.expertFollowChannels?this._person.expertFollowChannels.map(o=>this._i18nService.getLocalText(o.label)).join("/"):""}get showFollowsDetail(){return!this._isMyself||!(!this._person||!this._person.followChannelCount)}
1ngOnInit(){var o=this;return(0,M.Z)(function*(){const n={initialSlide:0,speed:400,touchAngle:40,touchMoveStopPropagation:!1};o._platform.is("ios")?o.slidesOptions=Object.assign(n,{threshold:5,touchRatio:1.1}):o._platform.is("android")?o.slidesOptions=n:o.slidesOptions=Object.assign(n,{noSwipingClass:"activity-slides"});const s=o._route.paramMap.distinctUntilChanged((d,x)=>d.get("username")===x.get("username")).subscribe(function(){var d=(0,M.Z)(function*(x){const I=x.get("username"),D={};I&&(/^@.*/.test(I)?(o._username=I.replace(/^@/,""),D.username=o._username):(o._userId=I,D._id=o._userId));try{const[Y,X]=yield Promise.all([o._personsApi.getProfile$1(D),o._authService.getCurrentUser()]);if(!Y)throw new Error("not found person");o.profileNotFound=!1,o._isAdmin=(0,q.isAdmin)(X),o._isMyself=X.id===Y.id,o._isMaybeBizUser=!!X.groups?.some(nn=>!nn.id.startsWith(N.internalGroupIdPrefix)),o._isLauncherEnabled=((0,q.isAdmin)(X)||!!X.isExpert)&&o._isMyself,o.entries=[],o.init(Y)}catch(Y){o._logger.warn({err:Y},"user profile error"),o.profileNotFound=!0,o.usernameParam=o._username||o._userId}o._changeDetector.markForCheck(),o._content.scrollToTop()});return function(x){return d.apply(this,arguments)}}());o._subscriptions.add(s);const r=o._authCtrl.userModified$.subscribe(d=>{o._person&&d&&o._person.id===d.id&&(o._person.displayName=d.displayName,o._person.username=d.username,o._person.thumbnailUrl=d.thumbnailUrl,o._person.job=d.job,o._person.profile=d.profile,o._person.url=d.url,o._person.personalData=o._person.personalData,o._person.personalDataScope=o._person.personalDataScope,o._changeDetector.markForCheck())});o._subscriptions.add(r);const u=o._shareService.newEntry$.subscribe(d=>{o._changeDetector.markForCheck(),o._content.scrollToTop()});o._subscriptions.add(u),o._shareDialogCtrl.restore(),o._setupGuard.isGuard()})()}ionViewWillEnter(){var o=this;return(0,M.Z)(function*(){const n=yield o._authService.getCurrentUser();!n.anonymous&&n.setupCompleted2&&o._activationTracker.complete()})()}ionViewDidEnter(){this.isPageVisible=!0}ionViewDidLeave(){this.isPageVisible=!1}ionViewWillLeave(){this._titleService.restore()}
1ngAfterViewInit(){this._tfContext.isWideView&&this._subscriptions.add(this._wheelService.enableScrollContent(this._content))}ngOnDestroy(){this._subscriptions.closed||this._subscriptions.unsubscribe()}init(o){const{personalData:n={},personalDataScope:s={}}=o;if(!n.twitterId){const r=o.social&&o.social.twitter&&o.social.twitter.username||o.twitterUsername;r&&(n.twitterId=r)}if(!n.githubId){const r=o.social&&o.social.github&&o.social.github.username;r&&(n.githubId=r)}if(o.personalDataScope=Object.assign({},N.DEFAULT_PERSONAL_DATA_SCOPE,s),this._person=o,this._timelineMenuCtrl.selectedMenuChange$.emit({type:W.o.User,id:o.id}),o.anonymous&&!this.isMyself)throw new Error("Anonymous user's profile must be accessed by only themselves.");this.isMyself||this.isAdmin?this.activitySlideData=[{tab:"all",kind:["bookmark","share","comment","like","read","others"],canShow:!0},{tab:"bookmark",kind:["bookmark"]},{tab:"comment",kind:["comment"]},{tab:"read",kind:["read"]},{tab:"others",kind:["others"]}]:this.activitySlideData=[{tab:"all",kind:["comment","like","others"],canShow:!0},{tab:"comment",kind:["comment"]},{tab:"others",kind:["others"]}
1],this._tfContext.isFromBiz&&(this.isAdmin||this._isMaybeBizUser)?this.activitySlideData.unshift({tab:"job-profile",kind:[]}):(this.isAdmin||this.isMyself)&&this.activitySlideData.push({tab:"job-profile",kind:[]}),this.isAdmin&&this._loadUserProfile(o.id),this._tfContext.isFromBiz&&(this.isAdmin||this._isMaybeBizUser)?this.showPersonFollowButton=!1:this.showPersonFollowButton=!0,this._titleService.set((0,q.userToString)(this._person),this._person.profile),this._changeDetector.markForCheck(),this._activitySlides.slideTo(0,0)}showEditModal(){var o=this;return(0,M.Z)(function*(){!o._person||(o._tracker.trackEvent("profile","profile.edit.start",o._person.id,1),o._tfContext.set(k.VB,o._person),o._navCtrl.navigateForward(`/people/@${o._person.username}/edit`))})()}showFollowList(o){if(o.preventDefault(),!this._person)return;this._tfContext.set(k.VB,this._person);const n=(0,L.jg)(this._route).concat(["people",this._person.id,"follows"]);this._navCtrl.navigateForward(n)}showFollowerList(o){if(o.preventDefault(),!this._person)return;this._tfContext.set(k.VB,this._person);const n=(0,L.jg)(this._route).concat(["people",this._person.id,"followers"]);this._navCtrl.navigateForward(n)}showChannelList(o){if(o.preventDefault(),!this._person)return;this._tfContext.set(k.VB,this._person);const n=(0,L.jg)(this._route).concat(["people",this._person.id,"followChannels"]);this._navCtrl.navigateForward(n)}
1toChannelDetailPage(o,n){if(o.preventDefault(),this._tfContext.isMobile||this._tfContext.isTablet)return;this._tfContext.set(k.hW,n),this._timelineMenuCtrl.selectedMenuChange$.next({type:W.o.Channel,id:n.id});const s=(0,L.jg)(this._route).concat(["channels",n.path||n.label.en]);this._navCtrl.navigateForward(s)}toLogin(o){o.stopPropagation();const n=(0,L.jg)(this._route).concat(["anonymous","login"]);this._navCtrl.navigateForward(n)}toSignup(o){o.stopPropagation();const n=(0,L.jg)(this._route).concat(["anonymous","signup"]);this._navCtrl.navigateForward(n)}toSettings(){this._navCtrl.navigateForward(["/settings"])}track(o){const[n,s,r]=(0,H.getTrackingCodes)("lp_invitation",{from:o});this._tracker.trackEvent(n,s,r)}trackByEntry(o,n){return n.id||n._id||o}toggleHeader(o){!this.isPageVisible||(this.showFixedHeader=0===o,this._changeDetector.markForCheck())}toggleContent(){this.showContent=!this.showContent,this._changeDetector.markForCheck()}getScopeIcon(o){if(!this.person||!this.person.personalDataScope)return"fa-ban";const{personalDataScope:n}=this.person,s=n[o];return s===N.ProfileScope.Public?"fa-globe":s===N.ProfileScope.Followings?"fa-user-friends":s===N.ProfileScope.Restricted?"fa-lock-alt":"fa-ban"}showCategory(o){const n=N.PERSONAL_DATA_CATEGORIES[o];return!!n&&n.some(s=>this.hasData(s))}hasData(o){if(!this.person)return!1;if(this.isMyself)return!0;const{personalData:n}=this.person;return!!n&&(!(!N.PERSONAL_DATA_QUESTIONNAIRE_IDS[o]||!N.PERSONAL_DATA_QUESTIONNAIRE_IDS[o].some(s=>!!n[s]))||!!n[o])}getDateString(o,n){return S(o).format(n)}getCountryString(o){if(!o||"jp"===o)return"";const n=Pe.J.find(s=>s.code===o);return n?this._i18nService.getLocalText(n.label):""}encode(o){return encodeURIComponent(o)}showChannelSettings(o){var n=this;return(0,M.Z)(function*(){o.preventDefault(),o.stopPropagation(),yield n._tfModalCtrl.show("channel-settings",{cssClass:["channel-follow-modal"]},!0)})()}showChannelTooltip(o){var n=this;return(0,M.Z)(function*(){o.preventDefault(),o.stopPropagation(),yield(yield n._popoverCtrl.create({component:Ce.K,componentProps:{options:{content:n._i18nService.getMessage("channel.follow.tooltip")}},event:o,cssClass:["tooltip","tf-popover"],backdropDismiss:!0})).present()})()}changeActivitySlide(o){var n=this;return(0,M.Z)(function*(){if(n._activitySlides)return n._activitySlides.slideTo(o)})()}onSlideWillChange(){var o=this;return(0,M.Z)(function*(){const[n,s]=yield Promise.all([o._activitySlides.getActiveIndex(),o._activitySlides.length()]);n>=s||(o._activitySlideTab.select(n),o.currentIndex=n,o.activitySlideData[n]&&!o.activitySlideData[n].canShow&&(o.activitySlideData[n].canShow=!0),o._changeDetector.markForCheck())})()}updateSwiperOptions(){var o=this;return(0,M.Z)(function*(){const n=yield o._activitySlides.getSwiper(),s=0===n.activeIndex;o._timelineMenuCtrl.menuSwipeGesture$.emit(s),n.allowSlidePrev=!s})()}getUserProfileResults(o){const n=o&&o.results;if(!n)return[];const{detectedIds:s={}}=o,r=[];for(const u of Object.keys(n)){const d=n[u]||{},x=d.profile||{},I=Object.assign({},d);delete I.profile;const D=s[u],Y=D?(0,ve.getProfileUrl)(D.id,u):"",X={serviceId:u,profile:JSON.stringify(x,null,2),details:JSON.stringify(I,null,2),precision:D?D.precision:0,link:Y};r.push(X)}return r}getJobChangeWantedLabel(o){return this._i18nService.getMessage(`job-change.possibility.${N.Possibility[o]}`)}addBasicItem(o){var n=this;return(0,M.Z)(function*(){if(!n._person||!n.userProfile)return;const s=new z.SingleMayBe;"techSkills"===o?s.value={channelId:"000000000000000000000062",level:0}:"jobChangeWanted"===o&&(s.value=0);const r=yield n._showEditItemDialog("add",o,s),{data:u}=r;if("save"===r.role&&u&&typeof u.value<"u"&&""!==u.value)try{const d=yield n._authService.getCurrentUser();u.addedBy=d.id,yield n._personsApi.addUserProfileItem$1(n._person.id,o,u);const x=n.userProfile[o]||[];x.push(u),n.userProfile[o]=x,n._changeDetector.markForCheck()}catch(d){n._logger.warn({err:d},"Error addUserProfileItem"),n._toastCtrl.failure()}})()}showBasicItem(o,n,s){var r=this;return(0,M.Z)(function*(){if(!r._person||!r.userProfile)return;const u=yield r._showEditItemDialog("show",o,n),{data:d}=u;if("save"===u.role&&d&&typeof d.value<"u"&&""!==d.value)try{yield r._personsApi.updateUserProfileItem$1(r._person.id,o,s,d),r._changeDetector.markForCheck()}catch(x){r._logger.warn({err:x},"Error editUserProfileItem"),r._toastCtrl.failure()}else if("remove"===u.role)try{yield r._personsApi.removeUserProfileItem$1(r._person.id,o,s);const x=r.userProfile[o]||[];x.splice(s,1),r.userProfile[o]=x,r._changeDetector.markForCheck()}catch(x){r._logger.warn({err:x},"Error removeUserProfileItem"),r._toastCtrl.failure()}})()}openChat(){var o=this;return(0,M.Z)(function*(){if(!o._person)return;const n=yield o._modalCtrl.create({component:te,componentProps:{person:o._person},backdropDismiss:!0});yield n.present();const s=(yield n.onDidDismiss()).data,{thread:r}=s||{};r&&o._navCtrl.navigateForward(`/threads/${r.id}`)})()}_showEditItemDialog(o,n,s){var r=this;return(0,M.Z)(function*(){r._logger.debug({editMode:o,itemName:n,item:s},"_showEditItemDialog call");let u=[];"techSkills"===n&&(u=yield r._channelApi.find$1({limit:500}),u=u.filter(D=>
1!D.isSpecial));let d={cssClass:"user-profile-item-dialog",component:C,componentProps:{itemName:n,editMode:o,item:s,channels:u}};const x=yield r._modalCtrl.create(d);return yield x.present(),yield x.onDidDismiss()})()}_loadUserProfile(o){var n=this;return(0,M.Z)(function*(){try{const s=yield n._personsApi.getUserProfile$1(o);s&&(n.userProfile=s,n.userProfileResults=n.getUserProfileResults(s),n.activitySlideData.push({tab:"profile",kind:[]}),n._changeDetector.markForCheck())}catch(s){if(s instanceof ie.tc&&404===s.additionalData.statusCode)return;console.error(s)}})()}}re.screenName="PersonDetailPage",re.\u0275fac=function(o){return new(o||re)(e.Y36(F.qe),e.Y36(m.SH),e.Y36(O.gz),e.Y36(e.sBO),e.Y36(E.D),e.Y36(j.Yd),e.Y36(Se.e2),e.Y36(ee.e8),e.Y36(z.PersonApi),e.Y36(ae.F),e.Y36(m.IN),e.Y36(ke.l),e.Y36(t.W),e.Y36(W.N),e.Y36(le.K),e.Y36(Ne.Y),e.Y36(_.t),e.Y36(m.Dh),e.Y36(m.t4),e.Y36(ne.y),e.Y36(xe.$),e.Y36(z.ChannelApi),e.Y36(v.y))},re.\u0275cmp=e.Xpm({type:re,selectors:[["ng-component"]],viewQuery:function(o,n){if(1&o&&(e.Gf(m.W2,5),e.Gf(Un,5),e.Gf(Fn,5)),2&o){let s;e.iGM(s=e.CRH())&&(n._content=s.first),e.iGM(s=e.CRH())&&(n._activitySlides=s.first),e.iGM(s=e.CRH())&&(n._activitySlideTab=s.first)}},decls:18,vars:13,consts:[[1,"tf-header","small","fixed-toolbar",3,"ngClass","ngStyle"],[4,"ngIf"],[1,"profile"],[1,"profile-header"],[1,"tf-header","small"],["slot","start"],["slot","end"],["type","button","fill","solid","color","primary",3,"click",4,"ngIf"],[3,"click",4,"ngIf"],["class","ion-padding ion-text-center",4,"ngIf"],["slot","fixed","from","person"],["unset",""],["class","tf-header-content","slot","start",4,"ngIf"],["slot","end",4,"ngIf"],["slot","start",1,"tf-header-content"],["size","medium","shape","circle",1,"person-photo",3,"user","responsive"],["class","person-main",4,"ngIf"],[1,"person-main"],[1,"person-display-name"],["size","small",3,"user",4,"ngIf"],["size","small",3,"user"],["type","button","fill","solid","color","primary","size","small",3,"click"],["name","fa-cog","type","light",1,"settings-icon",3,"click"],["type","button","fill","solid","color","primary",3,"click"],[3,"click"],["name","fa-envelope","type","light",1,"settings-icon"],["type","page",3,"user",4,"ngIf"],[3,"change$"],[1,"profile-block"],["class","anonymous-person-profile",4,"ngIf"],["class","article-content",3,"ngClass",4,"ngIf"],["type","page",3,"user"],[1,"anonymous-person-profile"],[1,"features"],[3,"innerHtml"],[1,"auth-buttons"],[1,"article-content",3,"ngClass"],[1,"article-content-inner"],["class","profile-section","iab","",4,"ngIf"],["class","profile-section",4,"ngIf"],["class","profile-section medals",4,"ngIf"],["class","accordion-button","color","primary","fill","outline",3,"click",4,"ngIf"],["iab","",1,"profile-section"],["name","fa-twitter","type","brand",1,"item-icon"],[1,"item-name"],["class","scope-icon",3,"name",4,"ngIf"],["class","item-value",4,"ngIf","ngIfElse"],[1,"scope-icon",3,"name"],[1,"item-value"],["target","_blank",3,"href"],["name","fa-facebook","type","brand",1,"item-icon"],["name","fa-github","type","brand",1,"item-icon"],["target","_blank",3,"href",4,"ngFor","ngForOf"],[1,"profile-section"],["class","item-value history",4,"ngIf","ngIfElse"],[1,"item-value","history"],[4,"ngFor","ngForOf"],[1,"period"],[1,"text"],[4,"ngIf","ngIfElse"],[1,"profile-section","medals"],[1,"medal-list"],[1,"medal",3,"src","title"],["color","primary","fill","outline",1,"accordion-button",3,"click"],[3,"name"],[1,"ion-padding","ion-text-center"],[3,"user",4,"ngIf"],[3,"selectedIndex"],["activitySlideTab",""],[3,"click",4,"ngFor","ngForOf"],[1,"activity-slides",3,"options","ionSlidesDidLoad","ionSlideWillChange","ionSlideDidChange"],["activitySlides",""],[3,"user"],[1,"tab-label"],["name","fa-lock-keyhole","type","solid","size","1em",4,"ngIf"],["name","fa-lock-keyhole","type","solid","size","1em"],[1,"slide-content"],["class","profile-detail",4,"ngIf"],[3,"person","kind",4,"ngIf"],[3,"entry","optionsOverride",4,"ngFor","ngForOf","ngForTrackBy"],[3,"entry","optionsOverride"],[3,"person","kind"],[1,"profile-detail"],["class","userProfile-basic",4,"ngIf"],[1,"userProfile-basic"],[1,"userProfile-basic-item"],[1,"userProfile-basic-item-label"],["class","userProfile-basic-item-value",3,"click",4,"ngFor","ngForOf"],["name","fa-pen",3,"click"],[1,"userProfile-basic-item-value",3,"click"],["class","userProfile-result",4,"ngFor","ngForOf"],[1,"userProfile-result"],[1,"userProfile-result-serviceId"],[1,"precision"],[1,"userProfile-result-value"],[3,"userId","isMyself","isBizUser"],[1,"item-value","unset"]],template:function(o,n){1&o&&(e.TgZ(0,"ion-content")(1,"ion-toolbar",0),e.YNc(2,qn,5,2,"ng-container",1),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"ion-toolbar",4)(6,"ion-buttons",5),e._UZ(7,"tf-menu-button"),e.qZA(),e.TgZ(8,"ion-buttons",6),e.YNc(9,Qn,3,3,"ion-button",7),e.YNc(10,Yn,2,0,"ion-button",8),e.YNc(11,Ln,2,0,"ion-button",1),e.qZA()()(),e.YNc(12,to,6,3,"ng-container",1),e.qZA(),e.YNc(13,oo,3,4,"p",9),e.YNc(14,Io,8,5,"ng-container",1),e._UZ(15,"tf-floating-button",10),e.qZA(),e.YNc(16,wo,3,3,"ng-template",null,11,e.W1O)),2&o&&(e.xp6(1),e.Q6J("ngClass",e.VKq(9,Eo,n.showFixedHeader))("ngStyle",e.VKq(11,Jo,n.profileCoverUrl)),e.xp6(1),e.Q6J("ngIf",n.showFixedHeader),e.xp6(7),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",!!n.person&&!(null!=n.person&&n.person.anonymous)&&!n.isMyself&&!n.isBot&&n.isAdmin),e.xp6(1),e.Q6J("ngIf",n.isMyself),e.xp6(1),e.Q6J("ngIf",!n.profileNotFound),e.xp6(1),e.Q6J("ngIf",n.profileNotFound),e.xp6(1),e.Q6J("ngIf",!n.profileNotFound))},dependencies:[m.YG,m.Sm,m.W2,m.Ie,m.Q$,m.q_,m.A$,m.Hr,m.sr,Z.mk,Z.sg,Z.O5,Z.PC,We.Ao,Be.Hl,Ke.i,Ge.n,ze.f,He.a,we.M,V.c,c.P,p.w,a.K,h.P,f.g,w.F,ce,K.C,tn.c],styles:['@charset "UTF-8";ion-content[_ngcontent-%COMP%]{--background: var(--tf-color-35)}.fixed-toolbar[_ngcontent-%COMP%]{z-index:1000;position:fixed;top:0;left:0;--padding-end: 5px;--background: none;background-color:var(--tf-color-35);background-position:center;background-size:auto;transform:translate3d(0,-100%,0);transition:transform .2s ease-in}.fixed-toolbar.show[_ngcontent-%COMP%]{transform:translateZ(0);transition:transform .3s ease-out}.fixed-toolbar[_ngcontent-%COMP%]   .person-photo[_ngcontent-%COMP%]{width:26px;height:26px;flex:0 0 auto}.fixed-toolbar[_ngcontent-%COMP%]   .person-main[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;align-items:center}
1.fixed-toolbar[_ngcontent-%COMP%]   .person-display-name[_ngcontent-%COMP%]{margin:0 10px;padding:0;font-weight:800;font-size:1.4rem;color:var(--tf-color-15)}.fixed-toolbar[_ngcontent-%COMP%]   .edit-button[_ngcontent-%COMP%]{margin:0 5px 0 0}.profile[_ngcontent-%COMP%]{background:var(--tf-color-32)}.profile-header[_ngcontent-%COMP%]{position:absolute;width:100%;height:50px}.profile-header[_ngcontent-%COMP%]   ion-toolbar[_ngcontent-%COMP%]{position:absolute;left:0;top:0;--background: none;--border-width: 0}.profile-block[_ngcontent-%COMP%]{padding:0 20px 20px;color:var(--tf-color-44)}.person-info[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 0 5px}.expert-label[_ngcontent-%COMP%]{padding:2px 10px;color:var(--tf-color-51);background:var(--tf-color-2);border-radius:6px;font-size:12px;font-weight:700}.expert-number[_ngcontent-%COMP%]{margin:0 0 0 5px;color:var(--tf-color-43);font-weight:400;font-size:1rem}.expert-channel[_ngcontent-%COMP%]{display:inline-flex}.expert-channel-icon[_ngcontent-%COMP%]{display:inline-flex;margin:0 0 0 5px}.expert-channel-icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:22px;height:22px;-o-object-fit:contain;object-fit:contain;overflow:hidden}.anonymous-person-profile[_ngcontent-%COMP%]{margin:24px 0 16px}.anonymous-person-profile[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]{margin:16px 0;padding-left:16px;line-height:1.6}.anonymous-person-profile[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{margin-bottom:8px}tf-person-follow-button[_ngcontent-%COMP%], .edit-button[_ngcontent-%COMP%]{margin:0 0 0 auto}.edit-button[_ngcontent-%COMP%]{font-size:1.4rem}.person-profile[_ngcontent-%COMP%]{word-break:break-all;margin:0}.person-profile[_ngcontent-%COMP%]   ion-textarea[_ngcontent-%COMP%]{font-size:1.3rem}.person-profile[_ngcontent-%COMP%]   pre[_ngcontent-%COMP%]{margin:0;font-family:Hiragino Sans,-apple-system,Helvetica Neue,Roboto,sans-serif}.person-profile[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0}@media (min-width: 1024px){.person-profile[_ngcontent-%COMP%]{word-break:normal}}.person-follow[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]{display:flex;font-size:1.2rem}.person-follow[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]:not(:first-child){margin:5px 0 0}.person-follow[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   tf-icon[_ngcontent-%COMP%]{margin:0 4px 0 0;font-size:1.2rem}.person-follow[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   tf-icon.channels-icon[_ngcontent-%COMP%]{margin:0 9px 0 0}.person-follow[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none;color:inherit;margin:0 .8rem 0 0;overflow:hidden}.person-follow[_ngcontent-%COMP%]   .follows[_ngcontent-%COMP%]   .person-count[_ngcontent-%COMP%]{font-weight:700}.person-follow[_ngcontent-%COMP%]   .follows-detail[_ngcontent-%COMP%]{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-follow[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{color:var(--tf-color-18);font-weight:700}.person-follow[_ngcontent-%COMP%]   .no-follow[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{position:relative;margin:0}.person-follow[_ngcontent-%COMP%]   .no-follow[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   tf-icon[_ngcontent-%COMP%]{position:absolute;top:-3px;right:-25px;font-size:1.6rem;padding:0 2px;color:var(--tf-color-15);cursor:pointer}.person-follow[_ngcontent-%COMP%]   .channel-select-button[_ngcontent-%COMP%]{--padding-start: 10px;--padding-end: 10px;--padding-top: 8px;--padding-bottom: 8px;font-size:1.3rem}.person-url[_ngcontent-%COMP%]{margin:20px 0 0;list-style:none;padding:0}.person-url[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{margin:10px 0 0}.person-url[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}.person-url[_ngcontent-%COMP%]   tf-icon[_ngcontent-%COMP%]{font-size:1em;width:1em;margin:0 5px 0 0}.medals[_ngcontent-%COMP%]{margin:20px 0 0;color:var(--tf-color-51)}.medals[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0 0 5px;font-size:1.4rem}.medal-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:10px 0 0}.medal-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;width:32px;height:32px;margin:0 5px 5px 0}img.medal[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:100%;border:1px solid var(--tf-color-55);display:inline-block;padding:3px}.placeholder[_ngcontent-%COMP%]{color:var(--tf-color-51)}pre[_ngcontent-%COMP%]{white-space:pre-wrap}.settings-icon[_ngcontent-%COMP%]{font-size:1.8rem;color:var(--tf-color-6)}tf-tabs[_ngcontent-%COMP%]{height:50px;padding:10px;border-bottom:1px solid var(--tf-header-border-color)}.slide-content[_ngcontent-%COMP%]{width:100%;text-align:left}
1tf-action-bar[_ngcontent-%COMP%], tf-person-detail-activities[_ngcontent-%COMP%]{width:100%}tf-action-bar[_ngcontent-%COMP%]{margin:0;border-bottom:solid 1px var(--tf-color-55)}tf-entry-listitem[_ngcontent-%COMP%]{--padding-bottom-desktop: 0;border-bottom:solid 1px var(--tf-color-55);background:var(--tf-entry-background-mobile)}@media (min-width: 768px){tf-entry-listitem[_ngcontent-%COMP%]{background:var(--tf-entry-background)}}.article-content[_ngcontent-%COMP%]{box-sizing:content-box;margin:0 0 36px;min-height:20px;position:relative}.article-content[_ngcontent-%COMP%]   .article-content-inner[_ngcontent-%COMP%]{line-height:1.8;font-size:1.4rem;max-height:15.12rem;position:relative;overflow:hidden}.article-content[_ngcontent-%COMP%]   .article-content-inner[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:136px;background:linear-gradient(180deg,rgba(var(--tf-color-32-rgb),0),var(--tf-color-32))}.article-content[_ngcontent-%COMP%]   .accordion-button[_ngcontent-%COMP%]{position:absolute;bottom:-22px;left:50%;min-width:100px;transform:translate(-50%);z-index:999;font-size:1.2rem}.article-content[_ngcontent-%COMP%]   .accordion-button[_ngcontent-%COMP%]   tf-icon[_ngcontent-%COMP%]{margin:0 0 0 4px;font-size:1.4rem}.article-content.open[_ngcontent-%COMP%]   .article-content-inner[_ngcontent-%COMP%]{max-height:none}.article-content.open[_ngcontent-%COMP%]   .article-content-inner[_ngcontent-%COMP%]:after{display:none}.profile-section[_ngcontent-%COMP%]{margin:48px 0 0;padding:0}.profile-section[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0 0 10px;font-size:1.6rem;font-weight:700}.profile-section[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]{--padding-start: 0;--inner-padding-end: 0}.profile-section[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{flex:0 0 auto;height:calc(100% - 20px)}.profile-section[_ngcontent-%COMP%]   .item-name[_ngcontent-%COMP%], .profile-section[_ngcontent-%COMP%]   .item-value[_ngcontent-%COMP%]{font-size:1.4rem}.profile-section[_ngcontent-%COMP%]   .item-value[_ngcontent-%COMP%]{flex:1 1 auto;display:block;color:var(--tf-color-15);text-align:right;overflow:hidden;text-overflow:ellipsis;min-width:0;margin:10px 0 10px 8px}.profile-section[_ngcontent-%COMP%]   .item-value[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 0 4px}.profile-section[_ngcontent-%COMP%]   .item-value[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:block;color:var(--tf-color-15);text-decoration:none;overflow:hidden;text-overflow:ellipsis}.profile-section[_ngcontent-%COMP%]   .item-value[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{opacity:.85}.profile-section[_ngcontent-%COMP%]   .item-value[_ngcontent-%COMP%] > table[_ngcontent-%COMP%]{margin:0 0 0 auto}.profile-section[_ngcontent-%COMP%]   .item-value.unset[_ngcontent-%COMP%]{color:var(--tf-color-44)}.profile-section[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%], .profile-section[_ngcontent-%COMP%]   .scope-icon[_ngcontent-%COMP%]{font-size:1.4rem;margin:0 4px 0 0;color:var(--tf-color-44)}.profile-section[_ngcontent-%COMP%]   .scope-icon[_ngcontent-%COMP%]{margin:0 0 0 4px}.history[_ngcontent-%COMP%]{margin:10px 0;display:flex;justify-content:flex-end}.history[_ngcontent-%COMP%]   .period[_ngcontent-%COMP%]{padding:0 1em 0 0;text-align:left;vertical-align:top}.history[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{text-align:right;vertical-align:top}.profile-detail[_ngcontent-%COMP%]{padding:20px;font-size:1.4rem;-webkit-user-select:text;-moz-user-select:text;user-select:text}.userProfile-result[_ngcontent-%COMP%]{margin:10px 0;cursor:text}.userProfile-result-serviceId[_ngcontent-%COMP%]{font-weight:700;line-height:2;text-transform:capitalize}.userProfile-result-value[_ngcontent-%COMP%]{white-space:pre;font-family:Monaco,monospace;background:var(--tf-color-4);padding:10px;line-height:1.4}.precision[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:400;margin-left:1rem}.userProfile-basic[_ngcontent-%COMP%]{margin-bottom:20px}.userProfile-basic[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:700}.userProfile-basic[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0 0 0 14px}.userProfile-basic[_ngcontent-%COMP%]   .userProfile-basic-item[_ngcontent-%COMP%]{padding:4px 0}.userProfile-basic[_ngcontent-%COMP%]   .userProfile-basic-item[_ngcontent-%COMP%]   tf-icon[_ngcontent-%COMP%]{cursor:pointer;font-size:1.2rem;background:var(--tf-color-4);border-radius:10px;width:20px;height:20px;padding-left:4px}.userProfile-basic[_ngcontent-%COMP%]   .userProfile-basic-item-label[_ngcontent-%COMP%]{margin-right:10px}.userProfile-basic[_ngcontent-%COMP%]   .userProfile-basic-item-value[_ngcontent-%COMP%]{margin-right:10px;text-decoration:underline;color:var(--tf-color-51)}'],changeDetection:0});var Uo=l(27198),Fo=l(15358),Je=l(47936),Xe=l(70211);function So(i,o){if(1&i&&(e.TgZ(0,"p",3),e._uU(1),e.ALo(2,"tfI18n"),e.qZA()),2&i){const n=e.oxw();e.xp6(1),e.Oqu(e.xi3(2,1,"userProfile.notFound",n.usernameParam))}}function ko(i,o){1&i&&e._UZ(0,"tf-loading")}function No(i,o){1&i&&e._UZ(0,"tf-no-results")}function jo(i,o){if(1&i&&(e.TgZ(0,"div"),e._UZ(1,"tf-channel-list",5),e.qZA()),2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("channels",n.channels)}}function Bo(i,o){if(1&i&&(e.YNc(0,ko,1,0,"tf-loading",4),e.YNc(1,No,1,0,"tf-no-results",4),e.YNc(2,jo,2,1,"div",4)),2&i){const n=e.oxw();e.Q6J("ngIf",!n.channels),e.xp6(1),e.Q6J("ngIf",!!n.channels&&0===n.channels.length),e.xp6(1),e.Q6J("ngIf",!!n.channels&&0!==n.channels.length)}}class _e{constructor(o,n,s,r,u,d,x,I,D,Y){this._tfContext=o,this._logger=n,this._changeDetector=s,this._i18nService=r,this._channelService=u,this._channelApi=d,this._personApi=x,this._route=I,this._toastCtrl=D,this._titleService=Y,this.followingChannelsCount=0,this.profileNotFound=!1,this._subscriptions=new Array}get subtitle(){return this._i18nService.getMessage("channel.numFollowings",this.followingChannelsCount)}ngOnInit(){this._init().then(()=>
1{if(this.person&&this.person.id===this._tfContext.currentUserId){const o=this._channelService.channelFollow$.subscribe(n=>{!n.channels[0]||(n.channels[0].following?this.followingChannelsCount++:this.followingChannelsCount--,this._changeDetector.markForCheck())});this._subscriptions.push(o)}})}ngOnDestroy(){this._subscriptions.forEach(o=>o.closed||o.unsubscribe())}ionViewWillLeave(){this._titleService.restore()}_init(){var o=this;return(0,M.Z)(function*(){o.usernameParam=o._route.snapshot.paramMap.get("username");try{if(o.person=yield o._getPerson(),!o.person)throw new Error("Not Found Person");o.channels=yield o._channelApi.getFollowings$1(o.person.id),o.followingChannelsCount=o.channels.length,o._channelService.orderBy(o.channels),o._changeDetector.markForCheck(),o._titleService.set(`${(0,q.userToString)(o.person)} ${o._i18nService.getMessage("channels.following")}`)}catch(n){o._logger.error({error:n},"init error"),o._toastCtrl.failureWithKey("error.app.unknown"),o.profileNotFound=!0,o._changeDetector.markForCheck()}})()}_getPerson(){var o=this;return(0,M.Z)(function*(){const n=o._tfContext.getAndDelete(k.VB);if(n)return n;const s={};/^@.*/.test(o.usernameParam)?s.username=o.usernameParam.replace(/^@/,""):s._id=o.usernameParam;const[r]=yield o._personApi.find$1({filter:{criteria:s},limit:1});return r})()}}_e.screenName="PersonChannelListPage",_e.\u0275fac=function(o){return new(o||_e)(e.Y36(F.qe),e.Y36(j.Yd),e.Y36(e.sBO),e.Y36(E.D),e.Y36(Uo.T),e.Y36(z.ChannelApi),e.Y36(z.PersonApi),e.Y36(O.gz),e.Y36(ne.y),e.Y36(v.y))},_e.\u0275cmp=e.Xpm({type:_e,selectors:[["ng-component"]],decls:7,vars:6,consts:[[3,"title","subtitle"],["class","ion-text-center",4,"ngIf","ngIfElse"],["elseTemplate",""],[1,"ion-text-center"],[4,"ngIf"],[3,"channels"]],template:function(o,n){if(1&o&&(e.TgZ(0,"ion-header"),e._UZ(1,"tf-navbar",0),e.ALo(2,"tfUsername"),e.qZA(),e.TgZ(3,"ion-content"),e.YNc(4,So,3,4,"p",1),e.YNc(5,Bo,3,3,"ng-template",null,2,e.W1O),e.qZA()),2&o){const s=e.MAs(6);e.xp6(1),e.s9C("title",e.lcZ(2,4,n.person)),e.Q6J("subtitle",n.subtitle),e.xp6(3),e.Q6J("ngIf",n.profileNotFound)("ngIfElse",s)}},dependencies:[m.W2,m.Gu,Z.O5,Fo.e,Ee.N,Je.S,qe.S,K.C,Xe.s],styles:['@charset "UTF-8";'],changeDetection:0});var qo=l(27061),Qo=l(3551);function Yo(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"ion-item",1),e.NdJ("click",function(r){const d=e.CHM(n).$implicit,x=e.oxw();return e.KtG(x.openActivity(r,d))}),e._UZ(1,"tf-activity-item",2),e.qZA()}if(2&i){const n=o.$implicit;e.xp6(1),e.Q6J("activity",n)}}class Ue{constructor(o,n,s){this._route=o,this._activityService=n,this._navCtrl=s,this.filter={limit:20,order:"createdAt DESC"}}set userId(o){this._userId=o,o&&this.loadActivities()}loadActivities(){this.activities=this._activityService.getActivities(this._userId,this.filter)}identify(o,n){return n.id}openActivity(o,n){o.preventDefault();const s=n.getTransitionPath();if(s&&s.length>0){const r=(0,L.jg)(this._route).concat(s);this._navCtrl.navigateForward(r)}}}Ue.\u0275fac=function(o){return new(o||Ue)(e.Y36(O.gz),e.Y36(qo.M),e.Y36(m.SH))},Ue.\u0275cmp=e.Xpm({type:Ue,selectors:[["tf-activities"]],inputs:{userId:"userId"},decls:3,vars:4,consts:[[3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[3,"click"],[3,"activity"]],template:function(o,n){1&o&&(e.TgZ(0,"ion-list"),e.YNc(1,Yo,2,1,"ion-item",0),e.ALo(2,"async"),e.qZA()),2&o&&(e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,2,n.activities))("ngForTrackBy",n.identify))},dependencies:[m.Ie,m.q_,Z.sg,Qo.$,Z.Ov],styles:["tf-activity-item[_ngcontent-%COMP%]{width:100%}"]});class ue{constructor(o,n,s,r){this._route=o,this._userService=n,this._titleService=s,this._i18nService=r,this.profileNotFound=!1;const u=this._route.snapshot.paramMap.get("username");!u||this._userService.getProfile({userId:u}).then(d=>{this.userId=d.id,this._titleService.set(`${d.displayName} ${this._i18nService.getMessage("activity")}`)})}ionViewWillLeave(){this._titleService.restore()}}ue.screenName="ActivityPage",ue.\u0275fac=function(o){return new(o||ue)(e.Y36(O.gz),e.Y36(T.K),e.Y36(v.y),e.Y36(E.D))},ue.\u0275cmp=e.Xpm({type:ue,selectors:[["ng-component"]],decls:5,vars:4,consts:[[3,"title"],[1,"ion-padding"],[3,"userId"]],template:function(o,n){1&o&&(e.TgZ(0,"ion-header"),e._UZ(1,"tf-navbar",0),e.ALo(2,"tfI18n"),e.qZA(),e.TgZ(3,"ion-content",1),e._UZ(4,"tf-activities",2),e.qZA()),2&o&&(e.xp6(1),e.s9C("title",e.lcZ(2,2,"activity")),e.xp6(3),e.Q6J("userId",n.userId))},dependencies:[m.W2,m.Gu,Je.S,Ue,K.C]});var Qe=l(97882),Lo=l(9413);function Ro(i,o){1&i&&e._UZ(0,"tf-loading")}function Wo(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tf-no-results",4),e.NdJ("refresh$",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.refresh())}),e.qZA()}}function Ko(i,o){if(1&i&&(e.TgZ(0,"ion-item"),e._UZ(1,"tf-user-listitem",7),e.qZA()),2&i){const n=o.$implicit,s=e.oxw(2);e.xp6(1),e.Q6J("user",n)("showFollowButton",s.isMyPage)}}function Go(i,o){if(1&i&&(e.TgZ(0,"ion-list",5),e.YNc(1,Ko,2,2,"ion-item",6),e.qZA()),2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.groups)("ngForTrackBy",n.trackBy)}}class ge{constructor(o,n,s,r,u,d){this._tfContext=o,this._userService=n,this._logger=s,this._changeDetector=r,this._i18nService=u,this._route=d,this.userIdOrName="",this.userId="",this.username=""}get isMyPage(){return!!this._tfContext.currentUser&&(this.person.id===this._tfContext.currentUser.id||this.person.username===this._tfContext.currentUser.username)}get subtitle(){const o=this.groups&&this.groups.length||0;return this._i18nService.getMessage("groupNumFollows",o)}ngOnInit(){const o=this._tfContext.getAndDelete(k.VB);o?this.userIdOrName=o.id:this._route.snapshot.paramMap.has("username")&&(this.userIdOrName=this._route.snapshot.paramMap.get("username"));try{/^@/.test(this.userIdOrName)?this.username=this.userIdOrName.replace(/^@/,""):this.userId=this.userIdOrName}catch(n){this._logger.warn({err:n,userIdOrName:this.userIdOrName},"GroupFollowListPage require user id or name.")}!o||o.id!==this.userId&&o.username!==this.username?this.person={username:this.username}:this.person=o}ionViewDidEnter(){this.refresh()}refresh(){this._userService.getGroupFollows(this.userIdOrName).then(o=>{this.setData(this.sort(o).filter(n=>!!n.group).map(n=>{const s=n.group;return this.isMyPage&&(s.isFollowing=!0,s.groupFollow=n),s}))})}sort(o){return o.sort((n,s)=>n.createdAt&&s.createdAt?(0,Qe.yC)(s.createdAt)-(0,Qe.yC)(n.createdAt):0)}setData(o){this.groups=o,this._changeDetector.markForCheck()}trackBy(o,n){return n&&n.id}}ge.screenName="PersonGroupFollowListPage",ge.\u0275fac=function(o){return new(o||ge)(e.Y36(F.qe),e.Y36(T.K),e.Y36(j.Yd),e.Y36(e.sBO),e.Y36(E.D),e.Y36(O.gz))},ge.\u0275cmp=e.Xpm({type:ge,selectors:[["ng-component"]],decls:7,vars:7,consts:[[3,"title","subtitle"],[4,"ngIf"],[3,"refresh$",4,"ngIf"],["lines","full",4,"ngIf"],[3,"refresh$"],["lines","full"],[4,"ngFor","ngForOf","ngForTrackBy"],[2,"width","100%",3,"user","showFollowButton"]],template:function(o,n){1&o&&(e.TgZ(0,"ion-header"),e._UZ(1,"tf-navbar",0),e.ALo(2,"tfUsername"),e.qZA(),e.TgZ(3,"ion-content"),e.YNc(4,Ro,1,0,"tf-loading",1),e.YNc(5,Wo,1,0,"tf-no-results",2),e.YNc(6,Go,2,2,"ion-list",3),e.qZA()),2&o&&(e.xp6(1),e.s9C("title",e.lcZ(2,5,n.person)),e.Q6J("subtitle",n.subtitle),e.xp6(3),e.Q6J("ngIf",!n.groups),e.xp6(1),e.Q6J("ngIf",!!n.groups&&0===n.groups.length),e.xp6(1),e.Q6J("ngIf",!!n.groups&&n.groups.length>0))},dependencies:[m.W2,m.Gu,m.Ie,m.q_,Z.sg,Z.O5,Ee.N,Je.S,qe.S,Lo.r,Xe.s],encapsulation:2,changeDetection:0});
1var rn=l(25206);function zo(i,o){1&i&&e._UZ(0,"tf-loading")}function Ho(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"tf-no-results",3),e.NdJ("refresh$",function(){e.CHM(n);const r=e.oxw();return e.KtG(r.refresh())}),e.qZA()}}function $o(i,o){if(1&i&&(e.TgZ(0,"div"),e._UZ(1,"tf-user-list",4),e.qZA()),2&i){const n=e.oxw();e.xp6(1),e.Q6J("users",n.users)}}class pe{constructor(o,n,s,r,u,d,x,I){this._tfContext=o,this._route=n,this._userService=s,this._logger=r,this._changeDetector=u,this._i18nService=d,this._navCtrl=x,this._titleService=I,this.userIdOrName="",this.userId="",this.username=""}get subtitle(){const o=this.users&&this.users.length||0;return"follows"===this.type?this._i18nService.getMessage("personNumFollows",o):this._i18nService.getMessage("personNumFollowers",o)}ngOnInit(){var o=this;return(0,M.Z)(function*(){let n=o._tfContext.getAndDelete(k.VB);if(!n){const d=o._route.snapshot.paramMap.get("username");if(!d)throw new Error("userId param not found.");n=yield o._userService.getProfile({userId:d})}const s=o.userIdOrName=n.id;try{/^@/.test(s)?o.username=s.replace(/^@/,""):o.userId=s}catch(d){o._logger.warn({err:d,userIdOrName:s},"PersonFollowListPage require user id or name.")}!n||n.id!==o.userId&&n.username!==o.username?o.person={username:o.username}:o.person=n;const r=o._route.snapshot.paramMap.get("type")||void 0;"follows"!==r&&"followers"!==r&&o._navCtrl.navigateRoot(["people",s]),o.type=r;let u="";"follows"===r?u=o._i18nService.getMessage("personFollowsList"):"followers"===r&&(u=o._i18nService.getMessage("personFollowersList")),o._titleService.set(`${(0,q.userToString)(o.person)} ${u}`)})()}ionViewDidEnter(){this.refresh()}ionViewWillLeave(){this._titleService.restore()}refresh(){"follows"===this.type?this._userService.getFollows(this.userIdOrName).then(o=>{this.setUsers(this.sort(o).map(n=>n.toUser))}):this._userService.getFollowers(this.userIdOrName).then(o=>this.setUsers(this.sort(o).map(n=>n.fromUser)))}sort(o){return o.sort((n,s)=>n.createdAt&&s.createdAt?(0,Qe.yC)(s.createdAt)-(0,Qe.yC)(n.createdAt):0)}setUsers(o){this.users=o,this._changeDetector.markForCheck()}}pe.screenName="PersonFollowListPage",pe.\u0275fac=function(o){return new(o||pe)(e.Y36(F.qe),e.Y36(O.gz),e.Y36(T.K),e.Y36(j.Yd),e.Y36(e.sBO),e.Y36(E.D),e.Y36(m.SH),e.Y36(v.y))},pe.\u0275cmp=e.Xpm({type:pe,selectors:[["ng-component"]],decls:7,vars:7,consts:[[3,"title","subtitle"],[4,"ngIf"],[3,"refresh$",4,"ngIf"],[3,"refresh$"],[3,"users"]],template:function(o,n){1&o&&(e.TgZ(0,"ion-header"),e._UZ(1,"tf-navbar",0),e.ALo(2,"tfUsername"),e.qZA(),e.TgZ(3,"ion-content"),e.YNc(4,zo,1,0,"tf-loading",1),e.YNc(5,Ho,1,0,"tf-no-results",2),e.YNc(6,$o,2,1,"div",1),e.qZA()),2&o&&(e.xp6(1),e.s9C("title",e.lcZ(2,5,n.person)),e.Q6J("subtitle",n.subtitle),e.xp6(3),e.Q6J("ngIf",!n.users),e.xp6(1),e.Q6J("ngIf",!!n.users&&0===n.users.length),e.xp6(1),e.Q6J("ngIf",!!n.users))},dependencies:[m.W2,m.Gu,Z.O5,Ee.N,Je.S,qe.S,rn.Y,Xe.s],styles:['@charset "UTF-8";'],changeDetection:0});var Vo=l(24627);class de{constructor(o,n,s){this._authService=o,this._router=n,this._loginGuardCtrl=s}canActivate(o,n){var s=this;return(0,M.Z)(function*(){yield s._loginGuardCtrl.isLoginSetupGuard();const r=yield s._authService.getCurrentUser();return s._router.navigate([`/people/@${r.username}`]),!1})()}}de.\u0275fac=function(o){return new(o||de)(e.LFG(ee.e8),e.LFG(O.F0),e.LFG(Vo.d))},de.\u0275prov=e.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"});var Xo=l(35859);function ei(i,o){1&i&&e._UZ(0,"tf-loading")}function ni(i,o){if(1&i&&e._UZ(0,"tf-user-list",67),2&i){const n=e.oxw();e.Q6J("users",n.results)}}function ti(i,o){1&i&&(e.TgZ(0,"div",68),e._uU(1,"\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002"),e.qZA())}class fe{constructor(o,n){this._toastCtrl=o,this._personApi=n,this.placeholderDetailFilter='{\n  $or: [\n    {"github.profile.self.publicRepos": {$gt: 10}},\n    {"speakerdeck.profile.slideCount": {$gt: 1}}\n  ]\n}',this.placeholderDetailSort='{\n  "github.profile.self.publicRepos": -1\n}',this.searchType="summary",this.summaryJobTitle="",this.summaryLocation="",this.summaryAge={age10:!1,age20:!1,age30:!1,age40:!1,age50:!1},this.summaryJobChangeWanted={yes:!1,maybeYes:!1,maybeNo:!1,no:!1,unknown:!1},this.scoutStatus="unknown",this.haveSeenRecruitment=!1,this.haveSeenRecruitmentCount=2,this.haveSeenRecruitmentPastMonth=6,this.recruitmentRecommendationAllow=!1,this.haveClickJobDraft=!1,this.haveAp
1pliedRecruitment=!1,this.detailFilterText="",this.detailSortText="",this.enableNonActiveUser=!1,this.activeTerm=2,this.enableLatestUser=!1,this.enableLowIdDetectionRate=!1,this.idDetectionRateThreshold=20,this.summarySort="dataDesc",this.skip=0,this.limit=100,this.isLoading=!1,this.showLoading=!1,this.summaryAgeValues={age10:"10",age20:"20",age30:"30",age40:"40",age50:"50"},this.summaryJobChangeWantedValues={yes:"Yes",maybeYes:"MayBeYes",maybeNo:"MayBeNo",no:"No",unknown:"Unknown"}}get isNoResults(){return!!this.results&&0===this.results.length&&!this.isLoading}ngOnInit(){}ngOnDestroy(){}onSubmit(){var o=this;return(0,M.Z)(function*(){const{searchType:n,skip:s,limit:r}=o;try{let u;if("summary"===n)u=o._getSummarySearchParam();else{if("detail"!==n)return void o._toastCtrl.warning("\u4e0d\u660e\u306a\u691c\u7d22\u30bf\u30a4\u30d7\u3067\u3059");u=o._getDetailSearchParam()}u.options={},o.enableNonActiveUser&&(u.options.enableNonActiveUser=!0,u.options.activeTerm=o.activeTerm),o.enableLatestUser&&(u.options.enableLatestUser=!0),o.enableLowIdDetectionRate&&(u.options.enableLowIdDetectionRate=!0,u.options.idDetectionRateThreshold=o.idDetectionRateThreshold),u.skip=s,u.limit=r,o.results=[],o.isLoading=!0;const d=setTimeout(()=>{o.showLoading=!0},2e3);o.results=yield o._personApi.search$1(u),clearTimeout(d),o.isLoading=!1,o.showLoading=!1}catch(u){const d=u,x=d.cause&&(d.cause.message||d.cause)||d.message;d instanceof ie.MS?o._toastCtrl.failure(`\u30b5\u30fc\u30d0\u30fc\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: ${x}`):o._toastCtrl.failure(x)}})()}_getSummarySearchParam(){const o={};let n;return this.summaryJobTitle&&(o.jobTitle=this.summaryJobTitle),this._isSomeChecked(this.summaryAge)&&(o.age=this._getCheckedValues(this.summaryAge,this.summaryAgeValues)),this.summaryLocation&&(o.location=this.summaryLocation),this._isSomeChecked(this.summaryJobChangeWanted)&&(o.jobChangeWanted=this._getCheckedValues(this.summaryJobChangeWanted,this.summaryJobChangeWantedValues)),this.haveSeenRecruitment&&(o.haveSeenRecruitment={count:this.haveSeenRecruitmentCount,pastMonths:this.haveSeenRecruitmentPastMonth}),this.recruitmentRecommendationAllow&&(o.recruitmentRecommendation="allow"),this.haveClickJobDraft&&(o.haveClickJobDraft=!0),this.haveAppliedRecruitment&&(o.haveAppliedRecruitment=!0),"dataDesc"===this.summarySort?n={key:"data",direction:"desc"}:"dataAsc"===this.summarySort&&(n={key:"data",direction:"asc"}),{searchType:"summary",filter:o,sort:n}}_isSomeChecked(o){return Object.keys(o).some(n=>o[n])}_getCheckedValues(o,n){return Object.keys(o).filter(s=>o[s]).map(s=>n[s])}_getDetailSearchParam(){if(!this.detailFilterText)throw new ie.hv("\u691c\u7d22\u6761\u4ef6\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044");return{searchType:"detail",filter:this.detailFilterText,sort:this.detailSortText?this.detailSortText:void 0}}}fe.screenName="PeopleSearchPage",fe.\u0275fac=function(o){return new(o||fe)(e.Y36(ne.y),e.Y36(z.PersonApi))},fe.\u0275cmp=e.Xpm({type:fe,selectors:[["ng-component"]],decls:155,vars:53,consts:[["title","\u30e6\u30fc\u30b6\u30fc\u691c\u7d22\uff08\u7ba1\u7406\u8005\u5411\u3051\uff09"],["name","searchForm",3,"submit"],["name","searchType",3,"ngModel","ngModelChange"],[1,"search-type"],["value","summary","mode","md"],[1,"summary-item-list"],[1,"summary-item"],[1,"summary-item-label"],[1,"summary-item-value"],["type","text","name","job",3,"ngModel","ngModelChange"],["type","checkbox","name","age10","id","age10-checkbox",3,"ngModel","ngModelChange"],["for","age10-checkbox"],["type","checkbox","name","age20","id","age20-checkbox",3,"ngModel","ngModelChange"],["for","age20-checkbox"],["type","checkbox","name","age30","id","age30-checkbox",3,"ngModel","ngModelChange"],["for","age30-checkbox"],["type","checkbox","name","age40","id","age40-checkbox",3,"ngModel","ngModelChange"],["for","age40-checkbox"],["type","checkbox","name","age50","id","age50-checkbox",3,"ngModel","ngModelChange"],["for","age50-checkbox"],["type","text","name","location",3,"ngModel","ngModelChange"],["type","checkbox","name","jobChangeWanted3","id","jobChangeWanted3-checkbox",3,"ngModel","ngModelChange"],["for","jobChangeWanted3-checkbox"],["type","checkbox","name","jobChangeWanted2","id","jobChangeWanted2-checkbox",3,"ngModel","ngModelChange"],["for","jobChangeWanted2-checkbox"],["type","checkbox","name","jobChangeWanted1","id","jobChangeWanted1-checkbox",3,"ngModel","ngModelChange"],["for","jobChangeWanted1-checkbox"],["type","checkbox","name","jobChangeWanted0","id","jobChangeWanted0-checkbox",3,"ngModel","ngModelChange"],["for","jobChangeWanted0-checkbox"],["type","checkbox","name","jobChangeWantedUnknown","id","jobChangeWantedUnknown-checkbox",3,"ngModel","ngModelChange"],["for","jobChangeWantedUnknown-checkbox"],["name","haveSeenRecruitment","type","checkbox","id","haveSeenRecruitment-check",1,"option-check",3,"ngModel","ngModelChange"],["for","haveSeenRecruitment-check"],["name","haveSeenRecruitmentPastMonth","type","number",1,"option-input",3,"ngModel","disabled","ngModelChange"],["name","haveSeenRecruitmentCount","type","number",1,"option-input",3,"ngModel","disabled","ngModelChange"],["name","recruitmentRecommendationAllow","type","checkbox","id","recruitmentRecommendationAllow-check",1,"option-check",3,"ngModel","ngModelChange"],["for","recruitmentRecommendationAllow-check"],["name","haveClickJobDraft","type","checkbox","id","haveClickJobDraft-check",1,"option-check",3,"ngModel","ngModelChange"],["for","haveClickJobDraft-check"],["name","haveAppliedRecruitment","type","checkbox","id","haveAppliedRecruitment-check",1,"option-check",3,"ngModel","ngModelChange"],["for","haveAppliedRecruitment-check"],["name","summarySort",3,"ngModel","ngModelChange"],["value","dataDesc"],["value","detail","mode","md"],[1,"detail-filter"],[1,"descriotion"],["name","detailFilterText","rows","6",3,"ngModel","placeholder","ngModelChange"],[1,"detail-sort"],["name","detailSortText","rows","3",3,"ngModel","placeholder","ngModelChange"],[1,"search-options"],["name","enableNonActiveUser","type","checkbox","id","enableNonActiveUser-check",1,"option-check",3,"ngModel","ngModelChange"],["for","enableNonActiveUser-check"],["name","activeTerm","type","number",1,"option-input",3,"ngModel","disabled","ngModelChange"],["name","enableLatestUser","type","checkbox","id","enableLatestUser-check",1,"option-check",3,"ngModel","ngModelChange"],["for","enableLatestUser-check"],["name","enableLowIdDetectionRate","type","checkbox","id","enableLowIdDetectionRate-check",1,"option-check",3,"ngModel","ngModelChange"],["for","enableLowIdDetectionRate-check"],["name","idDetectionRateThreshold","type","number",1,"option-input",3,"ngModel","disabled","ngModelChange"],[1,"detail-limit-skip"],["type","number","name","skip",3,"ngModel","ngModelChange"],["type","number","name","limit",3,"ngModel","ngModelChange"],[1,"buttons"],["type","submit"],[1,"user-list"],[4,"ngIf"],[3,"users",4,"ngIf"],["class","empty",4,"ngIf"],[3,"users"],[1,"empty"]],template:function(o,n){1&o&&(e.TgZ(0,"ion-header"),e._UZ(1,"tf-navbar",0),e.qZA(),e.TgZ(2,"ion-content")(3,"form",1),e.NdJ("submit",function(){return n.onSubmit()}),e.TgZ(4,"ion-radio-group",2),e.NdJ("ngModelChange",function(r){return n.searchType=r}),e.TgZ(5,"section",3)(6,"ion-item"),e._UZ(7,"ion-radio",4),e.TgZ(8,"label"),e._uU(9,"\u30b5\u30de\u30ea\u30fc\u3067\u691c\u7d22"),e.qZA()(),e.TgZ(10,"ul",5)(11,"li",6)(12,"span",7),e._uU(13,"\u8077\u7a2e"),e.qZA(),e.TgZ(14,"span",8)(15,"input",9),e.NdJ("ngModelChange",function(r){return n.summaryJobTitle=r}),e.qZA()()(),e.TgZ(16,"li",6)(17,"span",7),e._uU(18,"\u5e74\u9f62"),e.qZA(),e.TgZ(19,"span",8)(20,"input",10),e.NdJ("ngModelChange",function(r){return n.summaryAge.age10=r}),e.qZA(),e.TgZ(21,"label",11),e._uU(22," 10\u4ee3"),e.qZA(),e.TgZ(23,"input",12),e.NdJ("ngModelChange",function(r){return n.summaryAge.age20=r}),e.qZA(),e.TgZ(24,"label",13),e._uU(25," 20\u4ee3"),e.qZA(),e.TgZ(26,"input",14),e.NdJ("ngModelChange",function(r){return n.summaryAge.age30=r}),e.qZA(),e.TgZ(27,"label",15),e._uU(28," 30\u4ee3"),e.qZA(),e.TgZ(29,"input",16),e.NdJ("ngModelChange",function(r){return n.summaryAge.age40=r}),e.qZA(),e.TgZ(30,"label",17),e._uU(31," 40\u4ee3"),e.qZA(),e.TgZ(32,"input",18),e.NdJ("ngModelChange",function(r){return n.summaryAge.age50=r}),e.qZA(),e.TgZ(33,"label",19),e._uU(34," 50\u4ee3"),e.qZA()()(),e.TgZ(35,"li",6)(36,"span",7),e._uU(37,"\u5c45\u4f4f\u5730"),e.qZA(),e.TgZ(38,"span",8)(39,"input",20),e.NdJ("ngModelChange",function(r){return n.summaryLocation=r}),e.qZA()()(),e.TgZ(40,"li",6)(41,"span",7),e._uU(42,"\u8ee2\u8077\u610f\u5411"),e.qZA(),e.TgZ(43,"span",8)(44,"input",21),e.NdJ("ngModelChange",function(r){return n.summaryJobChangeWanted.yes=r}),e.qZA(),e.TgZ(45,"label",22),e._uU(46),e.ALo(47,"tfI18n"),e.qZA(),e.TgZ(48,"input",23),e.NdJ("ngModelChange",function(r){return n.summaryJobChangeWanted.maybeYes=r}),e.qZA(),e.TgZ(49,"label",24),e._uU(50),e.ALo(51,"tfI18n"),e.qZA(),e.TgZ(52,"input",25),e.NdJ("ngModelChange",function(r){return n.summaryJobChangeWanted.maybeNo=r}),e.qZA(),e.TgZ(53,"label",26),e._uU(54),e.ALo(55,"tfI18n"),e.qZA(),e.TgZ(56,"input",27),e.NdJ("ngModelChange",function(r){return n.summaryJobChangeWanted.no=r}),e.qZA(),e.TgZ(57,"label",28),e._uU(58),e.ALo(59,"tfI18n"),e.qZA(),e.TgZ(60,"input",29),e.NdJ("ngModelChange",function(r){return n.summaryJobChangeWanted.unknown=r}),e.qZA(),e.TgZ(61,"label",30),e._uU(62),e.ALo(63,"tfI18n"),e.qZA()()(),e.TgZ(64,"li",6)(65,"span",7),e._uU(66,"\u52df\u96c6\u8981\u9805"),e.qZA(),e.TgZ(67,"span",8)(68,"input",31),e.NdJ("ngModelChange",function(r){return n.haveSeenRecruitment=r}),e.qZA(),e.TgZ(69,"label",32),e._uU(70," \u898b\u305f\u3053\u3068\u304c\u3042\u308b: "),e.qZA(),e.TgZ(71,"span"),e._uU(72," \u904e\u53bb "),e.TgZ(73,"input",33),e.NdJ("ngModelChange",function(r){return n.haveSeenRecruitmentPastMonth=r}),e.qZA(),e._uU(74," \u30f6\u6708\u4ee5\u5185\u306b "),e.qZA(),e.TgZ(75,"span")(76,"input",34),e.NdJ("ngModelChange",function(r){return n.haveSeenRecruitmentCount=r}),e.qZA(),e._uU(77," \u56de\u4ee5\u4e0a "),e.qZA()()(),e.TgZ(78,"li",6)(79,"span",7),e._uU(80,"\u6c42\u4eba\u30ec\u30b3\u30e1\u30f3\u30c9"),e.qZA(),e.TgZ(81,"span",8)(82,"input",35),e.NdJ("ngModelChange",function(r){return n.recruitmentRecommendationAllow=r}),e.qZA(),e.TgZ(83,"label",36),e._uU(84," \u8a31\u53ef "),e.qZA()()(),e.TgZ(85,"li",6)(86,"span",7),e._uU(87,"\u8ee2\u8077\u30c9\u30e9\u30d5\u30c8"),e.qZA(),e.TgZ(88,"span",8)(89,"input",37),e.NdJ("ngModelChange",function(r){return n.haveClickJobDraft=r}),e.qZA(),e.TgZ(90,"label",38),e._uU(91," \u5e83\u544a\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f "),e.qZA()()(),e.TgZ(92,"li",6)(93,"span",7),e._uU(94,"\u6c42\u4eba\u5fdc\u52df"),e.qZA(),e.TgZ(95,"span",8)(96,"input",39),e.NdJ("ngModelChange",function(r){return n.haveAppliedRecruitment=r}),e.qZA(),e.TgZ(97,"label",40),e._uU(98," \u5fdc\u52df\u3057\u305f\u3053\u3068\u304c\u3042\u308b "),e.qZA()()(),e.TgZ(99,"li",6)(100,"span",7),e._uU(101,"\u4e26\u3073\u9806"),e.qZA(),e.TgZ(102,"span",8)(103,"select",41),e.NdJ("ngModelChange",function(r){return n.summarySort=r}),e.TgZ(104,"option",42),e._uU(105,"\u30c7\u30fc\u30bf\u304c\u591a\u3044\u9806"),e.qZA()()()()()(),e.TgZ(106,"section",3)(107,"ion-item"),e._UZ(108,"ion-radio",43),e.TgZ(109,"label"),e._uU(110,"\u8a73\u7d30\u691c\u7d22"),e.qZA()(),e.TgZ(111,"div",44)(112,"div",45),e._uU(113," UserProfile\u306b\u5bfe\u3059\u308b\u691c\u7d22\u6761\u4ef6\u3092JSON\u5f62\u5f0f\u3067\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff08UserProfile\u30c7\u30fc\u30bf\u306e\u4f8b\uff09."),e._UZ(114,"br"),e.qZA(),e.TgZ(115,"ion-textarea",46),e.NdJ("ngModelChange",function(r){return n.detailFilterText=r}),e.qZA()(),e.TgZ(116,"div",47)(117,"div",45),e._uU(118," UserProfile\u306b\u5bfe\u3059\u308b\u30bd\u30fc\u30c8\u6761\u4ef6\u3092JSON\u5f62\u5f0f\u3067\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002"),e._UZ(119,"br"),e.qZA(),e.TgZ(120,"ion-textarea",48),e.NdJ("ngModelChange",function(r){return n.detailSortText=r}),e.qZA()()()(),e.TgZ(121,"section",49)(122,"h3"),e._uU(123,"\u305d\u306e\u4ed6\u306e\u30aa\u30d7\u30b7\u30e7\u30f3"),e.qZA(),e.TgZ(124,"ul")(125,"li")(126,"input",50),e.NdJ("ngModelChange",function(r){return n.enableNonActiveUser=r}),e.qZA(),e.TgZ(127,"label",51),e._uU(128," \u975e\u30a2\u30af\u30c6\u30a3\u30d6\u30e6\u30fc\u30b6\u30fc\u3082\u5bfe\u8c61\u3068\u3059\u308b: "),e.TgZ(129,"input",52),e.NdJ("ngModelChange",function(r){return n.activeTerm=r}),e.qZA(),e._uU(130," \u30f6\u6708\u4ee5\u5185\u306e\u5229\u7528\u8005\u3092\u542b\u3081\u308b "),e.qZA()(),e.TgZ(131,"li")(132,"input",53),e.NdJ("ngModelChange",function(r){return n.enableLatestUser=r}),e.qZA(),e.TgZ(133,"label",54),e._uU(134," \u767b\u9332\u304b\u30891\u30f6\u6708\u4ee5\u5185\u306e\u30e6\u30fc\u30b6\u30fc\u3082\u5bfe\u8c61\u306b\u3059\u308b "),e.qZA()(),e.TgZ(135,"li")(136,"input",55),e.NdJ("ngModelChange",function(r){return n.enableLowIdDetectionRate=r}),e.qZA(),e.TgZ(137,"label",56),e._uU(138," idDetectionRate\u304c\u4f4e\u3044\u30e6\u30fc\u30b6\u30fc\u3082\u5bfe\u8c61\u306b\u3059\u308b: "),e.TgZ(139,"input",57),e.NdJ("ngModelChange",function(r){return n.idDetectionRateThreshold=r}),e.qZA(),e._uU(140," %\u4ee5\u4e0a "),e.qZA()()()(),e.TgZ(141,"section",58)(142,"p"),e._uU(143," Skip: "),e.TgZ(144,"ion-input",59),e.NdJ("ngModelChange",function(r){return n.skip=r}),e.qZA()(),e.TgZ(145,"p"),e._uU(146," Limit: "),e.TgZ(147,"ion-input",60),e.NdJ("ngModelChange",function(r){return n.limit=r}),e.qZA()()(),e.TgZ(148,"section",61)(149,"ion-button",62),e._uU(150,"\u691c\u7d22"),e.qZA()()(),e.TgZ(151,"section",63),e.YNc(152,ei,1,0,"tf-loading",64),e.YNc(153,ni,1,1,"tf-user-list",65),e.YNc(154,ti,2,0,"div",66),e.qZA()()),2&o&&(e.xp6(4),e.Q6J("ngModel",n.searchType),e.xp6(11),e.Q6J("ngModel",n.summaryJobTitle),e.xp6(5),e.Q6J("ngModel",n.summaryAge.age10),e.xp6(3),e.Q6J("ngModel",n.summaryAge.age20),e.xp6(3),e.Q6J("ngModel",n.summaryAge.age30),e.xp6(3),e.Q6J("ngModel",n.summaryAge.age40),e.xp6(3),e.Q6J("ngModel",n.summaryAge.age50),e.xp6(7),e.Q6J("ngModel",n.summaryLocation),e.xp6(
15),e.Q6J("ngModel",n.summaryJobChangeWanted.yes),e.xp6(2),e.hij(" ",e.lcZ(47,43,"job-change.possibility.Yes"),""),e.xp6(2),e.Q6J("ngModel",n.summaryJobChangeWanted.maybeYes),e.xp6(2),e.hij(" ",e.lcZ(51,45,"job-change.possibility.MayBeYes"),""),e.xp6(2),e.Q6J("ngModel",n.summaryJobChangeWanted.maybeNo),e.xp6(2),e.hij(" ",e.lcZ(55,47,"job-change.possibility.MayBeNo"),""),e.xp6(2),e.Q6J("ngModel",n.summaryJobChangeWanted.no),e.xp6(2),e.hij(" ",e.lcZ(59,49,"job-change.possibility.No"),""),e.xp6(2),e.Q6J("ngModel",n.summaryJobChangeWanted.unknown),e.xp6(2),e.hij(" ",e.lcZ(63,51,"job-change.possibility.Unknown"),""),e.xp6(6),e.Q6J("ngModel",n.haveSeenRecruitment),e.xp6(5),e.Q6J("ngModel",n.haveSeenRecruitmentPastMonth)("disabled",!n.haveSeenRecruitment),e.xp6(3),e.Q6J("ngModel",n.haveSeenRecruitmentCount)("disabled",!n.haveSeenRecruitment),e.xp6(6),e.Q6J("ngModel",n.recruitmentRecommendationAllow),e.xp6(7),e.Q6J("ngModel",n.haveClickJobDraft),e.xp6(7),e.Q6J("ngModel",n.haveAppliedRecruitment),e.xp6(7),e.Q6J("ngModel",n.summarySort),e.xp6(12),e.s9C("placeholder",n.placeholderDetailFilter),e.Q6J("ngModel",n.detailFilterText),e.xp6(5),e.s9C("placeholder",n.placeholderDetailSort),e.Q6J("ngModel",n.detailSortText),e.xp6(6),e.Q6J("ngModel",n.enableNonActiveUser),e.xp6(3),e.Q6J("ngModel",n.activeTerm)("disabled",!n.enableNonActiveUser),e.xp6(3),e.Q6J("ngModel",n.enableLatestUser),e.xp6(4),e.Q6J("ngModel",n.enableLowIdDetectionRate),e.xp6(3),e.Q6J("ngModel",n.idDetectionRateThreshold)("disabled",!n.enableLowIdDetectionRate),e.xp6(5),e.Q6J("ngModel",n.skip),e.xp6(3),e.Q6J("ngModel",n.limit),e.xp6(5),e.Q6J("ngIf",n.showLoading),e.xp6(1),e.Q6J("ngIf",!n.isNoResults),e.xp6(1),e.Q6J("ngIf",n.isNoResults))},dependencies:[m.YG,m.W2,m.Gu,m.pK,m.Ie,m.B7,m.se,m.g2,m.as,m.U5,m.QI,m.j9,Z.O5,A._Y,A.YN,A.Kr,A.Fj,A.wV,A.Wl,A.EJ,A.JJ,A.JL,A.On,A.F,Ee.N,Je.S,rn.Y,K.C],styles:['@charset "UTF-8";ion-content[_ngcontent-%COMP%]{--background: var(--tf-color-35)}form[_ngcontent-%COMP%]{padding:20px}ion-item[_ngcontent-%COMP%]{--border-style: none;--padding-start: 0}section.search-type[_ngcontent-%COMP%]{margin-bottom:20px}ion-radio[_ngcontent-%COMP%]{margin-right:1rem}.detail-filter[_ngcontent-%COMP%], .detail-sort[_ngcontent-%COMP%]{margin:10px}.detail-filter[_ngcontent-%COMP%]   .descriotion[_ngcontent-%COMP%], .detail-sort[_ngcontent-%COMP%]   .descriotion[_ngcontent-%COMP%]{font-size:12px;color:#a5a5a5}.detail-filter[_ngcontent-%COMP%]   ion-textarea[_ngcontent-%COMP%], .detail-sort[_ngcontent-%COMP%]   ion-textarea[_ngcontent-%COMP%]{border:1px solid #A5A5A5;--padding-start: 10px}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.buttons[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]{width:200px}.detail-limit-skip[_ngcontent-%COMP%]{margin:10px;display:flex;justify-content:flex-start}.detail-limit-skip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding-right:20px;display:flex;align-items:center}.detail-limit-skip[_ngcontent-%COMP%]   ion-input[_ngcontent-%COMP%]{margin-left:10px;border:1px solid #A5A5A5;--padding-start: 10px}.search-options[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.7rem}.search-options[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:10px;padding:0;list-style:none}.option-input[_ngcontent-%COMP%]{width:6rem;text-align:right}.user-list[_ngcontent-%COMP%]{border-top:solid 1px #ccc}.user-list[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]{margin:20px;text-align:center}.summary-item-list[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.summary-item[_ngcontent-%COMP%]{margin:10px}.summary-item-label[_ngcontent-%COMP%]{width:110px;display:inline-block}.summary-item-value[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-right:15px}.summary-item-value[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{padding:4px}']});var sn=l(62478),en=l(38941),oi=l(17908),ii=l(75064);const ri=[{path:"search",component:fe,canActivate:[sn.O]},{path:":username",component:re},{path:":username/analytics",loadChildren:()=>l.e(8592).then(l.bind(l,16298)).then(i=>i.AnalyticsModule),canLoad:[en.y]},{path:":username/feature-flags",loadChildren:()=>l.e(3952).then(l.bind(l,13952)).then(i=>i.FeatureFlagsModule),canLoad:[sn.O]},{path:":username/followChannels",component:_e},{path:":username/activities",component:ue},{path:":username/followGroups",component:ge},{path:":username/titles",loadChildren:()=>l.e(1047).then(l.bind(l,51047)).then(i=>
1i.TitlesModule),canLoad:[en.y]},{path:":username/edit",component:Xo.h},{path:":username/preview",loadChildren:()=>Promise.all([l.e(8592),l.e(9280)]).then(l.bind(l,29280)).then(i=>i.PersonDetailModule),canLoad:[ii.I]},{path:":username/pickup",loadChildren:()=>Promise.all([l.e(8592),l.e(358)]).then(l.bind(l,10358)).then(i=>i.PickupModule),canLoad:[en.y,oi.f]},{path:":username/:type",component:pe},{path:"",pathMatch:"full",canActivate:[de],component:re}];class me{}me.\u0275fac=function(o){return new(o||me)},me.\u0275mod=e.oAB({type:me}),me.\u0275inj=e.cJS({imports:[O.Bz.forChild(ri),O.Bz]});var si=l(33702),ai=l(87295);class he{}he.\u0275fac=function(o){return new(o||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({providers:[Q.v],imports:[U.L,B.D,me,si.c,ai.y]})},41442:(Fe,R,l)=>{l.d(R,{g:()=>$});var U=l(15861),B=l(55887),M=l(5806),S=l(95133),q=l(64450),F=l(61709),E=l(92198),k=l(40943),j=l(95699),L=l(73792),ee=l(56318),se=l(4898),ae=l(21102),t=l(46370),H=l(34986),W=l(27061),le=l(47668),_=l(94650),N=l(36895),Pe=l(23078),Ce=l(18991),je=l(211),ne=l(60326),xe=l(3551),ie=l(74250);function ve(b,g){1&b&&_._UZ(0,"tf-loading")}function e(b,g){1&b&&_._UZ(0,"tf-no-results",2),2&b&&_.Q6J("addRefreshBtn",!1)}function Z(b,g){if(1&b&&(_.TgZ(0,"div",8)(1,"span",9),_._uU(2),_.ALo(3,"tfDate"),_.qZA()()),2&b){const P=_.oxw().$implicit;_.xp6(2),_.Oqu(_.xi3(3,1,P.date,"absolute"))}}function A(b,g){if(1&b&&_._UZ(0,"tf-activity-item",14),2&b){const P=_.oxw().$implicit,C=_.oxw(3);_.Q6J("activity",P)("dateFormat",C.optionsOverride.dateFormat)}}function K(b,g){if(1&b&&(_.ynx(0),_._UZ(1,"tf-entry-listitem",17),_.BQk()),2&b){const P=_.oxw(2),C=P.$implicit,v=P.index,y=_.oxw(3);_.xp6(1),_.Q6J("entry",C.entry)("optionsOverride",y.getOptionsOverride(C))("pos",v)("mode",y.entryListItemMode)}}function be(b,g){if(1&b&&_._UZ(0,"tf-entry-listitem",18),2&b){const P=_.oxw(2),C=P.$implicit,v=P.index,y=_.oxw(3);_.Q6J("entry",C.entry)("optionsOverride",y.getOptionsOverride(C))("pos",v)}}function Me(b,g){if(1&b&&(_.YNc(0,K,2,4,"ng-container",15),_.YNc(1,be,1,3,"ng-template",null,16,_.W1O)),2&b){const P=_.MAs(2),C=_.oxw(4);_.Q6J("ngIf",C.entryListItemMode)("ngIfElse",P)}}function ye(b,g){if(1&b){const P=_.EpF();_.TgZ(0,"div",19)(1,"p",20),_._uU(2,"\u6280\u8853\u7684\u306a\u5185\u5bb9\u3067\u306a\u3044\u3068\u5224\u65ad\u3055\u308c\u3001\u516c\u958b\u304c\u4fdd\u7559\u3055\u308c\u3066\u3044\u307e\u3059\u3002"),_.qZA(),_.TgZ(3,"ion-button",21),_.NdJ("click",function(){_.CHM(P);const v=_.oxw().$implicit,y=_.oxw(3);return _.KtG(y.publishComment(v))}),_._UZ(4,"tf-icon",22),_.TgZ(5,"span",23),_._uU(6,"\u516c\u958b\u3059\u308b"),_.qZA()()()}if(2&b){const P=_.oxw(4);_.xp6(3),_.Q6J("disabled",!P.isMyself)}}const Ze=function(b){return{scoped:b}};function Ae(b,g){if(1&b&&(_.TgZ(0,"li",10),_.YNc(1,A,1,2,"tf-activity-item",11),_.YNc(2,Me,3,2,"ng-template",null,12,_.W1O),_.YNc(4,ye,7,1,"div",13),_.qZA()),2&b){const P=g.$implicit,C=_.MAs(3),v=_.oxw(3);_.Q6J("ngClass",_.VKq(4,Ze,v.grid&&P.hasUserScope)),_.xp6(1),_.Q6J("ngIf",!P.entry)("ngIfElse",C),_.xp6(3),_.Q6J("ngIf",v.grid&&v.showPublishButton(P))}}const Te=function(b){return{"grid grid-layout":b}};function Oe(b,g){if(1&b&&(_.ynx(0),_.YNc(1,Z,4,4,"div",5),_.TgZ(2,"ul",6),_.YNc(3,Ae,5,6,"li",7),_.qZA(),_.BQk()),2&b){const P=g.$implicit,C=_.oxw(2);_.xp6(1),_.Q6J("ngIf",C.grid),_.xp6(1),_.Q6J("ngClass",_.VKq(4,Te,C.grid)),_.xp6(1),_.Q6J("ngForOf",P.items)("ngForTrackBy",C.trackByActivities)}}function De(b,g){if(1&b){const P=_.EpF();_.TgZ(0,"ion-infinite-scroll",24),_.NdJ("ionInfinite",function(){_.CHM(P);const v=_.oxw(2);return _.KtG(v.doInfinite())}
1),_._UZ(1,"ion-infinite-scroll-content",25),_.qZA()}}function Ie(b,g){if(1&b&&(_.ynx(0),_.YNc(1,Oe,4,6,"ng-container",3),_.YNc(2,De,2,0,"ion-infinite-scroll",4),_.BQk()),2&b){const P=_.oxw();_.xp6(1),_.Q6J("ngForOf",P.activitiesByDate)("ngForTrackBy",P.trackByActivities),_.xp6(1),_.Q6J("ngIf",P.hasNextPage)}}class ${constructor(g,P,C,v,y,T,Q,J){this._tfContext=g,this._personsApi=P,this._entryApi=C,this._channelCtrl=v,this._commentService=y,this._tracker=T,this._activityService=Q,this._changeDetector=J,this.optionsOverride={showComments:"follows",showTweets:!1,dateFormat:"absolute"},this.priorities={Comment:1,Share:2,Pin:3,Reaction:4,Read:5},this.isEmpty=!1,this.isLoading=!1,this._activitiesByDate=[],this._activityIds=new Set,this._pageNumber=0,this._firstPageLimit=20,this._pageLimit=10,this._pageNumberLimit=10,this._isLoadAllActivities=!1,this._subscriptions=new B.Subscription}get activitiesByDate(){return this._activitiesByDate}get hasNextPage(){return!this._isLoadAllActivities}get isMyself(){return this.person?.id===this._tfContext.currentUserId}get isAdmin(){return(0,le.isAdmin)(this._tfContext.currentUser)}get isExpert(){return!!this._tfContext.currentUser?.isExpert}ngOnInit(){this._refresh(),this._subscribeActivity(),this._subscribeDeleteComment(),this._subscribePostComment()}ngOnDestroy(){this._subscriptions.closed||this._subscriptions.unsubscribe()}trackByActivities(g,P){return P.id}getOptionsOverride(g){const P=this._activityService.getEntryOptions(g);return Object.assign({},this.optionsOverride,P)}doInfinite(){this._pageNumber++,this._loadActivities().then(()=>{this._infiniteScroll&&this._infiniteScroll.complete()})}showPublishButton(g){return(this.isAdmin||this.isExpert)&&g.kind===j.ActivityKind.Comment&&!!g.hasUserScope}publishComment(g){var P=this;return(0,U.Z)(function*(){if(!P.isMyself)return;const C=g.comment||g.entry?.replies?.find(y=>y.id===g.refId);if(!C)return;const v={includes:{everyone:!0}};yield P._commentService.updateComment({id:C.id,body:C.body,target:C.target,entryId:C.entryId,scope:v}).toPromise(),C.scope=v,g.deleteHasUserScope(),P._changeDetector.markForCheck()})()}_refresh(){var g=this;return(0,U.Z)(function*(){g.isLoading=!0,g._changeDetector.markForCheck(),g._pageNumber=0,g._activitiesByDate=[],g._activityIds.clear(),g._isLoadAllActivities=!1,g._infiniteScroll&&(g._infiniteScroll.disabled=!1),g.person&&(g.optionsOverride.primaryActorId=g.person.id),yield g._loadActivities(),g.isLoading=!1,g._changeDetector.markForCheck()})()}_loadActivities(){var g=this;return(0,U.Z)(function*(){if(!g.person||!g.kind)return;if((g._pageNumber>=g._pageNumberLimit||g._isLoadAllActivities)&&g._infiniteScroll)return void(g._infiniteScroll.disabled=!0);const P={kind:g.kind,before:g._before,limit:0===g._pageNumber?g._firstPageLimit:g._pageLimit},C=yield g._personsApi.getActivities$3(g.person.id,P).then(y=>y.map(T=>g._activityService.objToDto(T)));g._before=C[C.length-1]?.createdAt,g._isLoadAllActivities=0===C.length,g._tracker.trackEvent(...(0,se.getTrackingCodes)("pageload",{screenName:`${g.constructor.screenName||g.constructor.name}?${(0,ae.obj2UrlParams)(P)}`,pageNumber:g._pageNumber}));const v=C.map(y=>g._activityService.convert(y,g.person)).filter(Boolean);g._addActivities(v),g.isEmpty=0===g._activitiesByDate.length||0===g._activitiesByDate[0].items.length,g._changeDetector.markForCheck()})()}_addActivities(g,P=!1){const C=this.person;!C||g.forEach(v=>{if(v.userId!==C.id)return;const y=!this._activityIds.has(v.id);if(y&&(0===this._activitiesByDate.length||this._activitiesByDate[this._activitiesByDate.length-1].items.length>=6)){const J=new Date(v.createdAt);return J.setHours(0,0,0,0),this._activitiesByDate.push({id:J.getTime().toString(),items:[v],date:J}),void this._activityIds.add(v.id)}let T=this._activitiesByDate.length-1,Q=-1;if(!y)for(;T>=0;T--){const J=this._activitiesByDate[T].items.findIndex(G=>G.id===v.id);if(J>=0){Q=J;break}}-1===Q?P?this._activitiesByDate[T].items.unshift(v):this._activitiesByDate[T].items.push(v):P?(this._activitiesByDate[T].items.splice(Q,1),this._activitiesByDate[T].items.unshift(v)):this._activitiesByDate[T].items[Q]=v,this._activityIds.add(v.id)})}_subscribeActivity(){var g=this;const P=this._channelCtrl.friendsActivities$.pipe((0,F.zg)(function(){var C=(0,U.Z)(function*(v){const{activity:y}=v,T=y.getEntryActivityData();return T&&(y.entry=yield g._entryApi.findById$1(T.id)),y});return function(v){return C.apply(this,arguments)}}())).subscribe(C=>{this._addActivities([C],!0),this._changeDetector.markForCheck()});this._subscriptions.add(P)}_subscribeDeleteComment(){this._commentService.changes$.pipe((0,E.h)(g=>!!g.data&&g.data.target.resourceType===j.ResourceType.Entry&&g.type===ee.u4.DELET
1E),(0,k.g)(300)).subscribe(g=>{for(let P=0;P<this._activitiesByDate.length;P++){const C=this._activitiesByDate[P].items.findIndex(v=>"Comment"===v.kind&&v.type===j.ActivityType.Add&&v.refId===g.id);if(C>=0){const[v]=this._activitiesByDate[P].items.splice(C,1);return 0===this._activitiesByDate[P].items.length&&this._activitiesByDate.splice(P,1),this._activityIds.delete(v.id),void this._changeDetector.markForCheck()}}})}_subscribePostComment(){var g=this;const P=this._commentService.changes$.pipe((0,E.h)(C=>!!C.data&&C.data.userId===this._tfContext.currentUserId&&C.data.target.resourceType===j.ResourceType.Entry&&C.type===ee.u4.ADD)).subscribe(function(){var C=(0,U.Z)(function*(v){if(!g.kind||!g.kind.includes("comment")||g._activitiesByDate.some(J=>J.items.some(G=>G.resourceId?.id===v.id&&G.resourceId.resourceType===j.ResourceType.Comment))||!g.person)return;const T=yield g._personsApi.getActivities$3(g.person.id,{kind:["comment"],limit:1}).then(J=>J.map(G=>g._activityService.objToDto(G)));if(0===T.length)return;const Q=T.map(J=>g._activityService.convert(J,g.person)).filter(Boolean);g._addActivities([Q[0]],!0),g._changeDetector.markForCheck(),g.isEmpty=0===g._activitiesByDate.length||0===g._activitiesByDate[0].items.length,g._changeDetector.markForCheck()});return function(v){return C.apply(this,arguments)}}());this._subscriptions.add(P)}}$.\u0275fac=function(g){return new(g||$)(_.Y36(H.qe),_.Y36(M.PersonApi),_.Y36(M.EntryApi),_.Y36(q.ux),_.Y36(L.O),_.Y36(t.e2),_.Y36(W.M),_.Y36(_.sBO))},$.\u0275cmp=_.Xpm({type:$,selectors:[["tf-person-detail-activities"]],viewQuery:function(g,P){if(1&g&&_.Gf(S.ju,5),2&g){let C;_.iGM(C=_.CRH())&&(P._infiniteScroll=C.first)}},inputs:{person:"person",kind:"kind",grid:"grid",entryListItemMode:"entryListItemMode"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"addRefreshBtn",4,"ngIf"],[3,"addRefreshBtn"],[4,"ngFor","ngForOf","ngForTrackBy"],["threshold","95%",3,"ionInfinite",4,"ngIf"],["class","divider",4,"ngIf"],[1,"activity-list",3,"ngClass"],[3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"divider"],[1,"label"],[3,"ngClass"],["class","item",3,"activity","dateFormat",4,"ngIf","ngIfElse"],["elseTemplate",""],["class","activity-actions tf-banner",4,"ngIf"],[1,"item",3,"activity","dateFormat"],[4,"ngIf","ngIfElse"],["elseNoEntryListItemMode",""],[1,"item",3,"entry","optionsOverride","pos","mode"],[1,"item",3,"entry","optionsOverride","pos"],[1,"activity-actions","tf-banner"],[1,"ion-text-center","tf-strong","ion-no-margin","ion-margin-bottom","tf-margin"],["color","primary","size","small","expand","block",3,"disabled","click"],["name","fa-arrow-up-from-bracket","type","regular","size","1em",1,"ion-margin-end","tf-margin-small"],[1,"tf-strong"],["threshold","95%",3,"ionInfinite"],["loadingSpinner","bubbles","loadingText",""]],template:function(g,P){1&g&&(_.YNc(0,ve,1,0,"tf-loading",0),_.YNc(1,e,1,1,"tf-no-results",1),_.YNc(2,Ie,3,3,"ng-container",0)),2&g&&(_.Q6J("ngIf",P.isLoading),_.xp6(1),_.Q6J("ngIf",!P.isLoading&&P.isEmpty),_.xp6(1),_.Q6J("ngIf",!P.isLoading&&!P.isEmpty))},dependencies:[S.YG,S.ju,S.MB,N.mk,N.sg,N.O5,Pe.Hl,Ce.N,je.S,ne.M,xe.$,ie.u],styles:['@charset "UTF-8";h2[_ngcontent-%COMP%], .tf-h-xxlarge[_ngcontent-%COMP%]{font-size:2.4rem;font-weight:700}h3[_ngcontent-%COMP%], .tf-h-xlarge[_ngcontent-%COMP%]{font-size:2.2rem;font-weight:700}h4[_ngcontent-%COMP%], .tf-h[_ngcontent-%COMP%]{font-size:2rem;font-weight:700}h5[_ngcontent-%COMP%], .tf-h-small[_ngcontent-%COMP%]{font-size:1.8rem;font-weight:700}h6[_ngcontent-%COMP%], .tf-h-xsmall[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:700}[_nghost-%COMP%], .tf-default[_ngcontent-%COMP%]{font-size:1.6rem}.tf-attention[_ngcontent-%COMP%]{font-size:1.8rem}.tf-small[_ngcontent-%COMP%]{font-size:1.4rem}.tf-xsmall[_ngcontent-%COMP%]{font-size:1.2rem}.tf-xxsmall[_ngcontent-%COMP%]{font-size:1rem}.tf-strong[_ngcontent-%COMP%]{font-weight:700}.tf-weak[_ngcontent-%COMP%]{color:var(--tf-color-43)}ion-badge.tf-attention[_ngcontent-%COMP%]{font-size:1.6rem}ion-badge[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:300}ion-badge.tf-small[_ngcontent-%COMP%]{font-size:1.2rem}ion-badge.tf-xsmall[_ngcontent-%COMP%]{font-size:1.1rem}ion-badge.tf-xxsmall[_ngcontent-%COMP%]{font-size:1rem}ion-badge.tf-strong[_ngcontent-%COMP%]{font-weight:700}ion-badge.tf-weak[_ngcontent-%COMP%]{color:var(--tf-color-43)}.tf-banner[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:300}.tf-banner.tf-attention[_ngcontent-%COMP%], .tf-banner[_ngcontent-%COMP%]   .tf-attention[_ngcontent-%COMP%]{font-size:1.6rem}.tf-banner.tf-default[_ngcontent-%COMP%], .tf-banner[_ngcontent-%COMP%]   .tf-default[_ngcontent-%COMP%]{font-size:1.4rem}.tf-banner.tf-small[_ngcontent-%COMP%], .tf-banner[_ngcontent-%COMP%]   .tf-small[_ngcontent-%COMP%]{font-size:1.2rem}.tf-banner.tf-xsmall[_ngcontent-%COMP%], .tf-banner[_ngcontent-%COMP%]   .tf-xsmall[_ngcontent-%COMP%]{font-size:1.1rem}.tf-banner.tf-xxsmall[_ngcontent-%COMP%], .tf-banner[_ngcontent-%COMP%]   .tf-xxsmall[_ngcontent-%COMP%]{font-size:1rem}.tf-overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}','@charset "UTF-8";.activity-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.activity-list.grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-gap:16px;gap:16px;align-items:flex-start}@media (min-width: 768px){.activity-list.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(410px,1fr))}}.activity-list.grid[_ngcontent-%COMP%] + .activity-list.grid[_ngcontent-%COMP%]{margin:16px 0 0}.activity-list.grid[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;border-radius:8px;border:solid 1px var(--tf-color-55);max-width:100%;overflow:hidden}.tf-theme-dark[_nghost-%COMP%]   .activity-list.grid[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .tf-theme-dark   [_nghost-%COMP%]   .activity-list.grid[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border:0}.activity-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border-bottom:solid 1px var(--tf-color-55);background:var(--tf-entry-background-mobile)}@media (min-width: 768px){.activity-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{background:var(--tf-entry-background)}}tf-entry-listitem[_ngcontent-%COMP%]{--padding-bottom-desktop: 0}.grid[_ngcontent-%COMP%]   tf-entry-listitem[_ngcontent-%COMP%]{height:100%;--tf-entry-border: 0}tf-activity-item[_ngcontent-%COMP%]{display:block}.scoped[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{opacity:.4}.activity-actions[_ngcontent-%COMP%]{margin-top:auto;padding:0 10px 10px}@media (min-width: 768px){.activity-actions[_ngcontent-%COMP%]{padding:0 15px 10px}}.divider[_ngcontent-%COMP%]{position:relative;margin:0 0 40px;text-align:center}.activity-list[_ngcontent-%COMP%] + .divider[_ngcontent-%COMP%]{margin:40px 0}.divider[_ngcontent-%COMP%]:before{position:absolute;top:50%;left:0;z-index:1;display:block;content:"";width:100%;height:2px;background:var(--tf-entry-border-color)}.tf-theme-dark[_nghost-%COMP%]   .divider[_ngcontent-%COMP%]:before, .tf-theme-dark   [_nghost-%COMP%]   .divider[_ngcontent-%COMP%]:before{background:var(--tf-entry-background)}.divider[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:inline-block;position:relative;z-index:2;border-radius:12px;background:var(--tf-entry-border-color);color:var(--tf-color-entry-text-secondary);font-size:1.2rem;padding:4px 16px;font-weight:700}.tf-theme-dark[_nghost-%COMP%]   .divider[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%], .tf-theme-dark   [_nghost-%COMP%]   .divider[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{background:var(--tf-entry-background)}'],changeDetection:0})},42621:(Fe,R,l)=>{l.d(R,{F:()=>V});var U=l(15861),B=l(24096),O=l(5806),m=l(93384),S=l(46287),q=l(67440),F=l(50241),E=l(98644),k=l(17404),j=l(40896),Se=l(7222),L=l(73671),ee=l(22874),se=l(73805),z=l(55990),ae=l(68669),ke=l(43544),t=l(94650),H=l(95133),W=l(36895),le=l(18991),Ne=l(60326),_=l(48854),N=l(5694);function Pe(c,p){if(1&c){const a=t.EpF();t.TgZ(0,"ion-button",22),t.NdJ("click",function(){t.CHM(a);const f=t.oxw(3);return t.KtG(f.editScout())}),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()}2&c&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"edit")))}function Ce(c,p){if(1&c&&(t.TgZ(0,"div",27),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()),2&c){const a=t.oxw(5);t.xp6(1),t.hij(" ",t.lcZ(2,1,"requestJob.jobPeriod."+a.jobProfile.jobChangePerio
1d)," ")}}const je=function(c){return[c]};function ne(c,p){if(1&c&&(t.ynx(0),t.TgZ(1,"div",24)(2,"div",25),t._uU(3),t.ALo(4,"tfI18n"),t.qZA(),t.YNc(5,Ce,3,3,"div",26),t.qZA(),t.BQk()),2&c){const a=t.oxw(4);let h;t.xp6(2),t.Q6J("ngClass",t.VKq(5,je,a.jobProfile.jobChangeDegree>=2?"highlight":"un-highlight")),t.xp6(1),t.hij(" ",t.lcZ(4,3,"requestJob.jobChange.profile."+(null!==(h=a.jobProfile.jobChangeDegree)&&void 0!==h?h:"0_user"))," "),t.xp6(2),t.Q6J("ngIf",a.jobProfile.jobChangeDegree>=2&&a.jobProfile.jobChangePeriod)}}function xe(c,p){1&c&&(t.TgZ(0,"div",24)(1,"div",27),t._uU(2),t.ALo(3,"tfI18n"),t.qZA()()),2&c&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"requestJob.jobChange.profile.0")))}function ie(c,p){if(1&c&&(t.ynx(0),t.YNc(1,ne,6,7,"ng-container",3),t.YNc(2,xe,4,3,"ng-template",null,23,t.W1O),t.BQk()),2&c){const a=t.MAs(3),h=t.oxw(3);t.xp6(1),t.Q6J("ngIf",h.jobProfile.jobChangeDegree)("ngIfElse",a)}}function ve(c,p){1&c&&(t.TgZ(0,"div",15),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()),2&c&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"unset")))}function e(c,p){if(1&c&&(t.ynx(0),t.TgZ(1,"div",25),t._uU(2),t.qZA(),t.BQk()),2&c){const a=t.oxw(4);t.xp6(1),t.Q6J("ngClass",a.isWorkHoursHighlight(a.jobProfile.criteria.sideJobConditions.workHours)?"highlight":"un-highlight"),t.xp6(1),t.Oqu(a.jobProfile.criteria.sideJobConditions.workHours)}}function Z(c,p){1&c&&(t.TgZ(0,"div",27),t._uU(1,"\u5c31\u696d\u6642\u9593\u306e\u76ee\u5b89: \u4e0d\u660e"),t.qZA())}function A(c,p){if(1&c&&(t.ynx(0),t.TgZ(1,"div",24),t.YNc(2,e,3,2,"ng-container",3),t.YNc(3,Z,2,0,"ng-template",null,28,t.W1O),t.qZA(),t.BQk()),2&c){const a=t.MAs(4),h=t.oxw(3);t.xp6(2),t.Q6J("ngIf",null==h.jobProfile.criteria||null==h.jobProfile.criteria.sideJobConditions?null:h.jobProfile.criteria.sideJobConditions.workHours)("ngIfElse",a)}}function K(c,p){1&c&&(t.TgZ(0,"div",15),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()),2&c&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"unset")))}function be(c,p){if(1&c){const a=t.EpF();t.TgZ(0,"ion-button",22),t.NdJ("click",function(){t.CHM(a);const f=t.oxw(3);return t.KtG(f.editBasic())}),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()}2&c&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"edit")))}function Me(c,p){if(1&c&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.TgZ(3,"span",29),t._uU(4),t.qZA(),t.BQk()),2&c){const a=t.oxw(3);t.xp6(1),t.hij(" ",t.xi3(2,2,a.jobProfile.criteria.basic.birthDate,"yyyy\u5e74M\u6708")," "),t.xp6(3),t.hij("\uff08\u73fe\u5728",a.getAge(a.jobProfile.criteria.basic.birthDate),"\u6b73\uff09")}}function ye(c,p){if(1&c&&(t.TgZ(0,"div",17),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()),2&c){const a=t.oxw(3);t.xp6(1),t.hij("\u30c7\u30b6\u30a4\u30ca\u30fc\uff1a",(null==a.jobProfile.criteria?null:a.jobProfile.criteria.experienceDesign)||t.lcZ(2,1,"unset"),"")}}function Ze(c,p){if(1&c){const a=t.EpF();t.TgZ(0,"ion-button",22),t.NdJ("click",function(f){t.CHM(a);const w=t.oxw(3);return t.KtG(w.editJobs(f))}),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()}2&c&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"edit")))}function Ae(c,p){if(1&c&&(t.TgZ(0,"ion-row")(1,"ion-col",9)(2,"div",10),t._uU(3,"\u73fe\u5728\uff08\u76f4\u8fd1\uff09\u5f93\u4e8b\u3057\u3066\u3044\u308b\u8077\u7a2e"),t.qZA()(),t.TgZ(4,"ion-col",11)(5,"div",15),t._uU(6),t.qZA()()()),2&c){const a=t.oxw(3);t.xp6(6),t.Oqu(null==a.jobProfile.criteria||null==a.jobProfile.criteria.primaryJobs?null:a.jobProfile.criteria.primaryJobs.join("\uff0f"))}}function Te(c,p){if(1&c&&(t.TgZ(0,"ion-row")(1,"ion-col",9)(2,"div",10),t._uU(3,"\u6b21\u306b\u5e0c\u671b\u3059\u308b\u8077\u7a2e"),t.qZA()(),t.TgZ(4,"ion-col",11)(5,"div",15),t._uU(6),t.qZA()()()),2&c){const a=t.oxw(3);t.xp6(6),t.Oqu(null==a.jobProfile.criteria||null==a.jobProfile.criteria.desiredJobs?null:a.jobProfile.criteria.desiredJobs.join("\uff0f"))}}function Oe(c,p){if(1&c){const a=t.EpF();t.TgZ(0,"ion-button",22),t.NdJ("click",function(){t.CHM(a);const f=t.oxw(3);return t.KtG(f.editSkills())}),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()}2&c&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"edit")))}function De(c,p){if(1&c&&(t.TgZ(0,"ion-row")(1,"ion-col",9)(2,"div",10),t._uU(3),t.qZA()(),t.TgZ(4,"ion-col",11)(5,"div",15),t._uU(6),t.ALo(7,"tfI18n"),t.qZA()()()),2&c){const a=p.$implicit;t.xp6(3),t.hij(" ",a.title," "),t.xp6(3),t.hij(" ",a.value&&0!==a.value.length?a.value.join("\uff0f"):t.lcZ(7,2,"unset")," ")}}function Ie(c,p){if(1&c){const a=t.EpF();t.TgZ(0,"ion-button",22),t.NdJ("click",function(){t.CHM(a);const f=t.oxw(4);
1return t.KtG(f.editCurrentJob())}),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()}2&c&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"edit")))}function $(c,p){if(1&c&&(t.TgZ(0,"section")(1,"h1",7),t._uU(2,"\u73fe\u5728\u306e\u8077\u696d"),t.YNc(3,Ie,3,3,"ion-button",8),t.qZA(),t.TgZ(4,"ion-grid")(5,"ion-row")(6,"ion-col",9)(7,"div",10),t._uU(8," \u6240\u5c5e\u4f01\u696d "),t.qZA()(),t.TgZ(9,"ion-col",11)(10,"div",15),t._uU(11),t.ALo(12,"tfI18n"),t.qZA()()(),t.TgZ(13,"ion-row")(14,"ion-col",9)(15,"div",10),t._uU(16," \u73fe\u8077\u306e\u4f01\u696d\u898f\u6a21 "),t.qZA()(),t.TgZ(17,"ion-col",11)(18,"div",15),t._uU(19),t.ALo(20,"tfI18n"),t.qZA()()()()()),2&c){const a=t.oxw(3);t.xp6(3),t.Q6J("ngIf",a.isMyself),t.xp6(8),t.hij(" ",(null==a.jobProfile.criteria||null==a.jobProfile.criteria.basic?null:a.jobProfile.criteria.basic.companyName)||t.lcZ(12,3,"unset")," "),t.xp6(8),t.hij(" ",(null==a.jobProfile.criteria||null==a.jobProfile.criteria.basic?null:a.jobProfile.criteria.basic.companyScale)||t.lcZ(20,5,"unset")," ")}}function b(c,p){if(1&c){const a=t.EpF();t.TgZ(0,"ion-button",22),t.NdJ("click",function(){t.CHM(a);const f=t.oxw(4);return t.KtG(f.editJobChange())}),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()}2&c&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"edit")))}function g(c,p){1&c&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2,"\uff08\u5834\u5408\u306b\u3088\u308a\u8ee2\u5c45\u3082\u53ef\uff09"),t.qZA(),t.BQk())}function P(c,p){if(1&c&&(t.ynx(0),t.TgZ(1,"div",16)(2,"div"),t._uU(3),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.qZA(),t.TgZ(6,"div"),t._uU(7),t.qZA()(),t.BQk()),2&c){const a=t.oxw(4);t.xp6(3),t.Oqu(null==a.jobProfile||null==a.jobProfile.criteria||null==a.jobProfile.criteria.jobChangeConditions?null:a.jobProfile.criteria.jobChangeConditions.schoolType),t.xp6(2),t.Oqu(null==a.jobProfile||null==a.jobProfile.criteria||null==a.jobProfile.criteria.jobChangeConditions?null:a.jobProfile.criteria.jobChangeConditions.schoolName),t.xp6(2),t.Oqu(null==a.jobProfile||null==a.jobProfile.criteria||null==a.jobProfile.criteria.jobChangeConditions?null:a.jobProfile.criteria.jobChangeConditions.schoolDepartment)}}function C(c,p){if(1&c&&(t.TgZ(0,"section")(1,"h1",7),t._uU(2,"\u8ee2\u8077\u306b\u95a2\u3059\u308b\u8a2d\u5b9a"),t.YNc(3,b,3,3,"ion-button",8),t.qZA(),t.TgZ(4,"ion-grid")(5,"ion-row")(6,"ion-col",9)(7,"div",10),t._uU(8," \u5c45\u4f4f\u56fd "),t.qZA()(),t.TgZ(9,"ion-col",11)(10,"div",15),t._uU(11),t.ALo(12,"tfI18n"),t.qZA()()(),t.TgZ(13,"ion-row")(14,"ion-col",9)(15,"div",10),t._uU(16," \u5c45\u4f4f\u5730 "),t.qZA()(),t.TgZ(17,"ion-col",11)(18,"div",15),t._uU(19),t.ALo(20,"tfI18n"),t.YNc(21,g,3,0,"ng-container",19),t.qZA()()(),t.TgZ(22,"ion-row")(23,"ion-col",9)(24,"div",10),t._uU(25," \u6700\u7d42\u5b66\u6b74 "),t.qZA()(),t.TgZ(26,"ion-col",11)(27,"div",15),t.YNc(28,P,8,3,"ng-container",3),t.qZA()()(),t.TgZ(29,"ion-row")(30,"ion-col",9)(31,"div",10),t._uU(32," \u73fe\u5728\u306e\u5e74\u53ce "),t.qZA()(),t.TgZ(33,"ion-col",11)(34,"div",15),t._uU(35),t.ALo(36,"tfI18n"),t.qZA()()(),t.TgZ(37,"ion-row")(38,"ion-col",9)(39,"div",10),t._uU(40," \u30ea\u30e2\u30fc\u30c8\u30ef\u30fc\u30af "),t.qZA()(),t.TgZ(41,"ion-col",11)(42,"div",15),t._uU(43),t.ALo(44,"tfI18n"),t.qZA()()()()()),2&c){const a=t.oxw(3),h=t.MAs(12);t.xp6(3),t.Q6J("ngIf",a.isMyself),t.xp6(8),t.hij(" ",(null==a.jobProfile.criteria||null==a.jobProfile.criteria.jobChangeConditions?null:a.jobProfile.criteria.jobChangeConditions.country)||t.lcZ(12,8,"unset")," "),t.xp6(8),t.hij(" ",(null==a.jobProfile.criteria||null==a.jobProfile.criteria.jobChangeConditions?null:a.jobProfile.criteria.jobChangeConditions.prefecture)||t.lcZ(20,10,"unset")," "),t.xp6(2),t.Q6J("ngIf",null==a.jobProfile.criteria||null==a.jobProfile.criteria.jobChangeConditions?null:a.jobProfile.criteria.jobChangeConditions.isWillingToMove),t.xp6(7),t.Q6J("ngIf",a.showHighestEducation)("ngIfElse",h),t.xp6(7),t.hij(" ",(null==a.jobProfile||null==a.jobProfile.criteria||null==a.jobProfile.criteria.jobChangeConditions?null:a.jobProfile.criteria.jobChangeConditions.income)||t.lcZ(36,12,"unset")," "),t.xp6(8),t.hij(" ",(null==a.jobProfile||null==a.jobProfile.criteria||null==a.jobProfile.criteria.jobChangeConditions?null:a.jobProfile.criteria.jobChangeConditions.remoteWork)||t.lcZ(44,14,"unset")," ")}}function v(c,p){if(1&c){const a=t.EpF();t.TgZ(0,"ion-button",22),t.NdJ("click",function(){t.CHM(a);const f=t.oxw(4);return t.KtG(f.editJobHistory())}),t._uU(1),t.ALo(2,"tfI18n"),t.qZA()}2&c&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"edit")))}function y(c,p){if(1&c&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&c){const a=t.oxw().$implicit;t.xp6(1),t.AsE("",null==a.period||null==a.period.to?null:a.period.to.getFullYear(),"\u5e74",(null==a.period||null==a.period.to?null:a.period.to.getMonth())+1,"\u6708")}}function T(c,p){if(1&c&&(t.TgZ(0,"div",31)(1,"ion-row")(2,"ion-col",9)(3,"div",10),t._uU(4," \u671f\u9593 "),t.qZA()(),t.TgZ(5,"ion-col",11)(6,"div",15),t._uU(7),t.YNc(8,y,2,2,"span",19),t.qZA()()(),t.TgZ(9,"ion-row")(10,"ion-col",9)(11,"div",10),t._uU(12," \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30fb\u6848\u4ef6\u540d "),t.qZA()(),t.TgZ(13,"ion-col",11)(14,"div",15),t._uU(15),t.qZA()()(),t.TgZ(16,"ion-row")(17,"ion-col",9)(18,"div",10),t._uU(19," \u62c5\u5f53\u30dd\u30b8\u30b7\u30e7\u30f3 "),t.qZA()(),t.TgZ(20,"ion-col",11)(21,"div",15),t._uU(22),t.qZA()()(),t.TgZ(23,"ion-row")(24,"ion-col",9)(25,"div",10),t._uU(26," \u4f7f\u7528\u30b9\u30ad\u30eb "),t.qZA()(),t.TgZ(27,"ion-col",11)(28,"div",15),t._uU(29),t.qZA()()(),t.TgZ(30,"ion-row")(31,"ion-col",9)(32,"div",10),t._uU(33," \u696d\u52d9\u5185\u5bb9 "),t.qZA()(),t.TgZ(34,"ion-col",11)(35,"div",15),t._uU(36),t.qZA()()(),t.TgZ(37,"ion-row")(38,"ion-col",9)(39,"div",10),t._uU(40," \u30c1\u30fc\u30e0\u4eba\u6570 "),t.qZA()(),t.TgZ(41,"ion-col",11)(42,"div",15),t._uU(43),t.qZA()()()()),2&c){const a=p.$implicit;t.xp6(7),t.AsE(" ",null==a.period||null==a.period.from?null:a.period.from.getFullYear(),"\u5e74",(null==a.period||null==a.period.from?null:a.period.from.getMonth())+1,"\u6708\u301c "),t.xp6(1),t.Q6J("ngIf",null==a||null==a.period?null:a.period.to),t.xp6(7),t.hij(" ",a.name," "),t.xp6(7),t.hij(" ",null==a||null==a.positions?null:a.positions.join(", ")," "),t.xp6(7),t.hij(" ",null==a||null==a.skills?null:a.skills.join("\uff0f")," "),t.xp6(7),t.hij(" ",null==a?null:a.remarks," "),t.xp6(7),t.hij(" ",null==a?null:a.teamMemberCount," ")}}function Q(c,p){if(1&c&&(t.TgZ(0,"div"),t.YNc(1,T,44,8,"div",30),t.qZA()),2&c){const a=t.oxw(4);t.xp6(1),t.Q6J("ngForOf",null==a.jobProfile||null==a.jobProfile.criteria?null:a.jobProfile.criteria.jobHistories)}}function J(c,p){if(1&c&&(t.TgZ(0,"section")(1,"h1",7),t._uU(2,"\u8077\u6b74\u306b\u95a2\u3059\u308b\u8a73\u7d30"),t.YNc(3,v,3,3,"ion-button",8),t.qZA(),t.YNc(4,Q,2,1,"div",3),t.qZA()),2&c){const a=t.oxw(3);t.xp6(3),t.Q6J("ngIf",a.isMyself),t.xp6(1),t.Q6J("ngIf",null==a.jobProfile||null==a.jobProfile.criteria||null==a.jobProfile.criteria.jobHistories?null:a.jobProfile.criteria.jobHistories.length)("ngIfElse",a.elseTemplate)}}function G(c,p){if(1&c&&(t.TgZ(0,"section")(1,"h1",7),t._uU(2,"\u526f\u696d\uff0f\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u306b\u95a2\u3059\u308b\u8a2d\u5b9a"),t.qZA(),t.TgZ(3,"ion-grid")(4,"ion-row")(5,"ion-col",9)(6,"div",10),t._uU(7," \u5c31\u696d\u6642\u9593\u306e\u76ee\u5b89 "),t.qZA()(),t.TgZ(8,"ion-col",11)(9,"div",15),t._uU(10),t.ALo(11,"tfI18n"),t.qZA()()(),t.TgZ(12,"ion-row")(13,"ion-col",9)(14,"div",10),t._uU(15," \u4e3b\u306a\u4f5c\u696d\u6642\u9593\u5e2f "),t.qZA()(),t.TgZ(16,"ion-col",11)(17,"div",15),t._uU(18),t.ALo(19,"tfI18n"),t.qZA()()()()()),2&c){const a=t.oxw(3);t.xp6(10),t.hij(" ",(null==a.jobProfile.criteria||null==a.jobProfile.criteria.sideJobConditions?null:a.jobProfile.criteria.sideJobConditions.workHours)||t.lcZ(11,2,"unset")," "),t.xp6(8),t.hij(" ",((null==a.jobProfile.criteria||null==a.jobProfile.criteria.sideJobConditions||null==a.jobProfile.criteria.sideJobConditions.workHourZones?null:a.jobProfile.criteria.sideJobConditions.workHourZones.length)||0)>0?null==a.jobProfile.criteria||null==a.jobProfile.criteria.sideJobConditions||null==a.jobProfile.criteria.sideJobConditions.workHourZones?null:a.jobProfile.criteria.sideJobConditions.workHourZones.join("\uff0f"):t.lcZ(19,4,"unset")," ")}}function we(c,p){if(1&c&&(t.ynx(0),t.TgZ(1,"ion-row")(2,"ion-col",9)(3,"div",10),t._uU(4),t.ALo(5,"tfI18n"),t.qZA()(),t.TgZ(6,"ion-col",11)(7,"div",15),t._uU(8),t.qZA()()(),t.BQk()),2&c){const a=t.oxw().$implicit,h=t.oxw(5);t.xp6(4),t.hij(" ",t.lcZ(5,2,"jobSpecialCondition."+a)," "),t.xp6(4),t.hij(" ",h.getSpecialConditions(a).join("\uff0f")," ")}}function Ye(c,p){if(1&c&&(t.ynx(0),t.YNc(1,we,9,4,"ng-container",19),t.BQk()),2&c){const a=p.$implicit,h=t.oxw(5);t.xp6(1),t.Q6J("ngIf",h.getSpecialConditions(a).length>0)}}function Le(c,p){if(1&c&&(t.ynx(0),t.YNc(1,Ye,2,1,"ng-container",20),t.BQk()),2&c){const a=t.oxw(4);t.xp6(1),t.Q6J("ngForOf",a.specialConditionProperties)}}function Re(c,p){if(1&c&&(t.TgZ(0,"section",32)(1,"h1",7),t._uU(2,"\u4f01\u696d\u306b\u5bfe\u3059\u308b\u3053\u3060\u308f\u308a"),t.qZA(),t.TgZ(3,"ion-grid"),t.YNc(4,Le,2,1,"ng-container",3),t.qZA()()),2&c){const a=t.oxw(3),h=t.MAs(12);t.xp6(4),t.Q6J("ngIf",a.hasJobChangeSpecialConditions())("ngIfElse",h)}}function te(c,p){if(1&c&&(t.ynx(0),t.TgZ(1,"section")(2,"h1",7),t._uU(3,"\u6c42\u8077\u306b\u95a2\u3059\u308b\u5e0c\u671b"),t.YNc(4,Pe,3,3,"ion-button",8),t.qZA(),t.TgZ(5,"ion-grid")(6,"ion-row")(7,"ion-col",9)(8,"span",10),t._uU(9," \u8ee2\u8077\uff0f\u30ad\u30e3\u30ea\u30a2\u30c1\u30a7\u30f3\u30b8 "),t.qZA()(),t.TgZ(10,"ion-col",11)(11,"div",12),t.YNc(12,ie,4,2,"ng-container",3),t.YNc(13,ve,3,3,"ng-template",null,13,t.W1O),t.qZA()()(),t.TgZ(15,"ion-row")(16,"ion-col",9)(17,"span",10),t._uU(18,"\u526f\u696d\uff0f\u8907\u696d\uff0f\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9"),t.qZA()(),t.TgZ(19,"ion-col",11)(20,"div",12),t.YNc(21,A,5,2,"ng-container",3),t.YNc(22,K,3,3,"ng-template",null,14,t.W1O),t.qZA()()()()(),t.TgZ(24,"section")(25,"h1",7),t._uU(26,"\u57fa\u672c\u60c5\u5831"),t.YNc(27,be,3,3,"ion-button",8),t.qZA(),t.TgZ(28,"ion-grid")(29,"ion-row")(30,"ion-col",9)(31,"div",10),t._uU(32,"\u751f\u5e74\u6708"),t.qZA()(),t.TgZ(33,"ion-col",11)(34,"div",15),t.YNc(35,Me,5,5,"ng-container",3),t.qZA()()(),t.ynx(36),t.TgZ(37,"ion-row")(38,"ion-col",9)(39,"div",10),t._uU(40,"\u304a\u4f4f\u307e\u3044\u306e\u90fd\u9053\u5e9c\u770c"),t.qZA()(),t.TgZ(41,"ion-col",11)(42,"div",15),t._uU(43),t.ALo(44,"tfI18n"),t.qZA()()(),t.TgZ(45,"ion-row")(46,"ion-col",9)(47,"div",10),t._uU(48,"\u73fe\u5728\u306e\u52e4\u52d9\u5f62\u614b\u30fb\u52e4\u52d9\u5148"),t.qZA()(),t.TgZ(49,"ion-col",11)(50,"div",15),t._uU(51),t.ALo(52,"tfI18n"),t.qZA()()(),t.BQk(),t.TgZ(53,"ion-row")(54,"ion-col",9)(55,"div",10),t._uU(56,"\u7d4c\u9a13\u5e74\u6570"),t.qZA()(),t.TgZ(57,"ion-col",11)(58,"div",16)(59,"div",17),t._uU(60),t.ALo(61,"tfI18n"),t.qZA(),t.TgZ(62,"div",17),t._uU(63),t.ALo(64,"tfI18n"),t.qZA(),t.YNc(65,ye,3,3,"div",18),t.qZA()()()()(),t.TgZ(66,"section")(67,"h1",7),t._uU(68,"\u8077\u7a2e"),t.YNc(69,Ze,3,3,"ion-button",8),t.qZA(),t.TgZ(70,"ion-grid")(71,"ion-row")(72,"ion-col",9)(73,"div",10),t._uU(74," \u76f4\u8fd15\u5e74\u4ee5\u5185\u306b\u7d4c\u9a13\u6e08\u307f "),t.qZA()(),t.TgZ(75,"ion-col",11)(76,"div",15),t._uU(77),t.ALo(78,"tfI18n"),t.qZA()()(),t.YNc(79,Ae,7,1,"ion-row",19),t.YNc(80,Te,7,1,"ion-row",19),t.qZA()(),t.TgZ(81,"section")(82,"h1",7),t._uU(83,"\u4fdd\u6709\u30b9\u30ad\u30eb"),t.YNc(84,Oe,3,3,"ion-button",8),t.qZA(),t.TgZ(85,"ion-grid"),t.YNc(86,De,8,4,"ion-row",20),t.qZA()(),t.YNc(87,$,21,7,"section",19),t.YNc(88,C,45,16,"section",19),t.YNc(89,J,5,3,"section",19),t.YNc(90,G,20,6,"section",19),t.YNc(91,Re,5,2,"section",21),t.BQk()),2&c){const a=t.MAs(14),h=t.MAs(23),f=t.oxw(2),w=t.MAs(12);t.xp6(4),t.Q6J("ngIf",f.isMyself),t.xp6(8),t.Q6J("ngIf",f.jobProfile.types&&f.jobProfile.types.includes(2))("ngIfElse",a),t.xp6(9),t.Q6J("ngIf",f.jobProfile.types&&(f.jobProfile.types.includes(0)||f.jobProfile.types.includes(1)))("ngIfElse",h),t.xp6(6),t.Q6J("ngIf",f.isMyself),t.xp6(8),t.Q6J("ngIf",null==f.jobProfile.criteria||null==f.jobProfile.criteria.basic?null:f.jobProfile.criteria.basic.birthDate)("ngIfElse",w),t.xp6(8),t.Oqu((null==f.jobProfile.criteria||null==f.jobProfile.criteria.jobChangeConditions?null:f.jobProfile.criteria.jobChangeConditions.prefecture)||t.lcZ(44,24,"unset")),t.xp6(8),t.Oqu((null==f.jobProfile.criteria||null==f.jobProfile.criteria.basic?null:f.jobProfile.criteria.basic.presentOffice)||t.lcZ(52,26,"unset")),t.xp6(9),t.hij("\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\uff1a",(null==f.jobProfile.criteria?null:f.jobProfile.criteria.experienceDevelopment)||t.lcZ(61,28,"unset"),""),t.xp6(3),t.hij("\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\uff1a",(null==f.jobProfile.criteria?null:f.jobProfile.criteria.experienceManagement)||t.lcZ(64,30,"unset"),""),t.xp6(2),t.Q6J("ngIf",f.isBizUser),t.xp6(4),t.Q6J("ngIf",f.isMyself),t.xp6(8),t.hij(" ",(null==f.jobProfile.criteria||null==f.jobProfile.criteria.jobs?null:f.jobProfile.criteria.jobs.join("\uff0f"))||t.lcZ(78,32,"unset")," "),t.xp6(2),t.Q6J("ngIf",f.isBizUser&&(null==f.jobProfile.criteria||null==f.jobProfile.criteria.primaryJobs?null:f.jobProfile.criteria.primaryJobs.length)),t.xp6(1),t.Q6J("ngIf",f.isBizUser&&(null==f.jobProfile.criteria||null==f.jobProfile.criteria.desiredJobs?null:f.jobProfile.criteria.desiredJobs.length)),t.xp6(4),t.Q6J("ngIf",f.isMyself),t.xp6(2),t.Q6J("ngForOf",f.skills),t.xp6(1),t.Q6J("ngIf",f.isBizUser&&f.hasCurrentJobInfo()),t.xp6(1),t.Q6J("ngIf",!f.isMyself&&f.jobProfile.types&&-1!==f.jobProfile.types.indexOf(2)&&f.hasJobChangeConditionDetail
1s()),t.xp6(1),t.Q6J("ngIf",f.isBizUser&&(null==f.jobProfile||null==f.jobProfile.criteria||null==f.jobProfile.criteria.jobHistories?null:f.jobProfile.criteria.jobHistories.length)),t.xp6(1),t.Q6J("ngIf",!f.isMyself&&f.jobProfile.types&&(-1!==f.jobProfile.types.indexOf(0)||-1!==f.jobProfile.types.indexOf(1))&&f.hasSideJobConditionDetails()),t.xp6(1),t.Q6J("ngIf",!f.isMyself&&f.jobProfile.types&&-1!==f.jobProfile.types.indexOf(2)&&f.hasJobChangeSpecialConditions())}}function We(c,p){if(1&c&&(t.ynx(0),t.YNc(1,te,92,34,"ng-container",3),t.BQk()),2&c){const a=t.oxw(),h=t.MAs(8);t.xp6(1),t.Q6J("ngIf",a.jobProfile)("ngIfElse",h)}}function Be(c,p){if(1&c){const a=t.EpF();t.ynx(0),t.TgZ(1,"p")(2,"b"),t._uU(3,"\u307e\u3060\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u4f01\u696d\u304b\u3089\u306e\u8ee2\u8077\u30b9\u30ab\u30a6\u30c8\u3084\u4ed5\u4e8b\u4f9d\u983c\u3092\u53d7\u3051\u53d6\u308c\u308b\u3088\u3046\u3001\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002"),t.qZA()(),t.TgZ(4,"ion-button",35),t.NdJ("click",function(){t.CHM(a);const f=t.oxw(2);return t.KtG(f.editAll())}),t._uU(5,"\u8a2d\u5b9a\u3059\u308b"),t.qZA(),t.BQk()}}function Ke(c,p){1&c&&(t.TgZ(0,"p")(1,"b"),t._uU(2),t.ALo(3,"tfI18n"),t.qZA()()),2&c&&(t.xp6(2),t.Oqu(t.lcZ(3,1,"noResults")))}function Ge(c,p){if(1&c&&(t.TgZ(0,"div",33),t.YNc(1,Be,6,0,"ng-container",3),t.YNc(2,Ke,4,3,"ng-template",null,34,t.W1O),t.qZA()),2&c){const a=t.MAs(3),h=t.oxw();t.xp6(1),t.Q6J("ngIf",h.isMyself)("ngIfElse",a)}}function ze(c,p){if(1&c){const a=t.EpF();t.TgZ(0,"tf-intersection",36),t.NdJ("change$",function(f){t.CHM(a);const w=t.oxw();return t.KtG(w.intersect(f))}),t.qZA(),t._UZ(1,"tf-loading")}}function He(c,p){1&c&&(t._uU(0),t.ALo(1,"tfI18n")),2&c&&t.Oqu(t.lcZ(1,1,"unset"))}class V{constructor(p,a,h,f,w,$e){this._personApi=p,this._requestJobApi=a,this._jobProfileCtrl=h,this._jobProfileActionCtrl=f,this._modalCtrl=w,this._changeDetector=$e,this.isBizUser=!1,this.isLoaded=!1,this.showAlertNoCompanySetting=!1,this.specialConditionProperties=["businesses","scales","industries","teams","growths","cultures","works","salaries","others"],this._subscription=new B.w}get types(){return this._myJobProfile?.types||[]}ngOnInit(){const p=this._jobProfileActionCtrl.change$.filter(a=>a.screenName!==V.screenName).subscribe(a=>{const{data:h}=a;0===h.types.length?(this.jobProfile=void 0,this._myJobProfile=void 0,this.skills=this._groupBySkills([])):(this.userId===h.userId&&(this.jobProfile=h,this.showAlertNoCompanySetting=!this._hasCompanyInfo(h),this.skills=this._groupBySkills(this.jobProfile?.criteria?.skills)),this._myJobProfile?.id===h.id&&(this._myJobProfile=h)),this._changeDetector.markForCheck()});this._subscription.add(p)}ngOnDestroy(){this._subscription.closed||this._subscription.unsubscribe()}intersect(p){var a=this;return(0,U.Z)(function*(){if(!a.isLoaded&&1===p){if(a.isMyself){const h=yield a._getMyJobProfile();0!==h?.types?.length&&(a.jobProfile=a._myJobProfile=h,a.showAlertNoCompanySetting=!a._hasCompanyInfo(h))}else{const h=yield a._personApi.jobProfile$1(a.userId);h&&0!==h?.types?.length&&(a.jobProfile=h,a.showAlertNoCompanySetting=!a._hasCompanyInfo(h))}a.skills=a._groupBySkills(a.jobProfile?.criteria?.skills),a.isLoaded=!0,a._changeDetector.markForCheck()}})()}get showHighestEducation(){return!!this.jobProfile?.criteria?.jobChangeConditions&&Object.keys(this.jobProfile.criteria.jobChangeConditions).filter(a=>a.startsWith("school")).some(a=>!!this.jobProfile?.criteria.jobChangeConditions&&!!this.jobProfile.criteria.jobChangeConditions[a])}editAll(){this._jobProfileCtrl.showJobProfileSettings(!1,!1,{},"person-job-profile")}editScout(){this._openModal(ee.q,{skipNext:!0})}editBasic(){this._openModal(S.a)}editJobs(p){p.preventDefault(),p.stopPropagation(),this._openModal(k.l)}editSkills(){this._openModal(j.H)}editJobChange(){this._openModal(E.D)}editJobChangeSpecialCondition(){this._openModal(ae.j)}editSideJob(){this._openModal(L.c)}editCurrentJob(){this._openModal(se.X)}editJobDetails(p){p.preventDefault(),p.stopPropagation(),this._openModal(z.W)}editJobHistory(){this._openModal(ke.e)}hasCurrentJobInfo(){const p=this.jobProfile?.criteria?.basic;return!(!p?.companyName&&!p?.companyScale)}
1hasJobChangeConditionDetails(){const p=this.jobProfile?.criteria?.jobChangeConditions;return!!p&&!!(this.showHighestEducation||p.income||p.remoteWork)}hasSideJobConditionDetails(){const p=this.jobProfile?.criteria?.sideJobConditions;return!!p&&!!p.workHourZones?.length}hasJobChangeSpecialConditions(){if(!this.jobProfile||!this.jobProfile.criteria||!this.jobProfile.criteria.jobChangeSpecialConditions)return!1;const p=this.jobProfile.criteria.jobChangeSpecialConditions;return Object.keys(p).some(a=>p[a].length>0)}getSpecialConditions(p){return this.jobProfile&&this.jobProfile.criteria&&this.jobProfile.criteria.jobChangeSpecialConditions&&this.jobProfile.criteria.jobChangeSpecialConditions[p]||[]}isWorkHoursHighlight(p){return["\u90313\u65e5\uff0824\u6642\u9593\uff09\u7a0b\u5ea6","\u90314\u65e5\uff0832\u6642\u9593\uff09\u7a0b\u5ea6","\u30d5\u30eb\u30bf\u30a4\u30e0\u53ef\u80fd"].includes(p)}getAge(p){if(!p)return null;const a=new Date(p),h=new Date;let f=h.getFullYear()-a.getFullYear();const w=h.getMonth()-a.getMonth();return(w<0||0===w&&h.getDate()<a.getDate())&&f--,f}_openModal(p,a={}){var h=this;return(0,U.Z)(function*(){(yield h._modalCtrl.create({component:q.v,componentProps:{modalPage:p,modalParams:{...a,page:0,skipCompleteDialog:!0,data:yield h._getMyJobProfile()}},backdropDismiss:!1})).present()})()}_getMyJobProfile(){var p=this;return(0,U.Z)(function*(){if(!p.isMyself)throw new Error("You are not allowed to edit this profile.");return p._myJobProfile||(p._myJobProfile=yield p._requestJobApi.getRequestJob$2()),p._myJobProfile})()}_groupBySkills(p){const a=new Set(p||[]),h=Se.ix.map(f=>({title:f.title,value:f.skills.filter(w=>a.has(w.label)).map(w=>(a.delete(w.label),w.label))}));if(a.size>0){const f=h.findIndex(w=>"\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af"===w.title);h[f].value=[...a]}return h}_hasCompanyInfo(p){return Object.keys(p?.criteria?.basic||{}).filter(h=>h.startsWith("company")).some(h=>!!p?.criteria?.basic&&!!p?.criteria?.basic[h])}}V.\u0275fac=function(p){return new(p||V)(t.Y36(O.PersonApi),t.Y36(O.RequestJobApi),t.Y36(m.V),t.Y36(F.g),t.Y36(H.IN),t.Y36(t.sBO))},V.\u0275cmp=t.Xpm({type:V,selectors:[["tf-person-job-profile"]],inputs:{userId:"userId",isMyself:"isMyself",isBizUser:"isBizUser"},decls:13,vars:2,consts:[[1,"privacy-title"],["name","fa-lock-keyhole","type","solid","size","1.25em"],[1,"privacy-detail"],[4,"ngIf","ngIfElse"],["emptyTemplate",""],["loadingTemplate",""],["unsetText",""],[1,"section-header"],["fill","clear","color","secondary","size","small",3,"click",4,"ngIf"],["size","3.5"],[1,"section-detail"],["size","8.5"],[2,"display","inline-block"],["noJobChange",""],["noSideJob",""],[1,"item-value"],[1,"item-value-multi"],[1,"item-sub-name"],["class","item-sub-name",4,"ngIf"],[4,"ngIf"],[4,"ngFor","ngForOf"],["class","special-conditions",4,"ngIf"],["fill","clear","color","secondary","size","small",3,"click"],["noJobChangeDegree",""],[1,"badge-group"],[3,"ngClass"],["class","un-highlight",4,"ngIf"],[1,"un-highlight"],["unsetWorkHours",""],[1,"birth-age"],["class","job-history",4,"ngFor","ngForOf"],[1,"job-history"],[1,"special-conditions"],[1,"ion-text-center","empty"],["noResultTemplate",""],["color","primary",3,"click"],[3,"change$"]],template:function(p,a){if(1&p&&(t.TgZ(0,"p",0),t._UZ(1,"tf-icon",1),t.TgZ(2,"span"),t._uU(3," \u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u306b\u914d\u616e\u3057\u3066\u3044\u307e\u3059 "),t.qZA()(),t.TgZ(4,"div",2),t._uU(5,"\u3053\u306e\u30bf\u30d6\u306f\u3042\u306a\u305f\u81ea\u8eab\u3001\u3082\u3057\u304f\u306f\u4f01\u696d\u306b\u3057\u304b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002"),t.qZA(),t.YNc(6,We,2,2,"ng-container",3),t.YNc(7,Ge,4,2,"ng-template",null,4,t.W1O),t.YNc(9,ze,2,0,"ng-template",null,5,t.W1O),t.YNc(11,He,2,3,"ng-template",null,6,t.W1O)),2&p){const h=t.MAs(10);t.xp6(6),t.Q6J("ngIf",a.isLoaded)("ngIfElse",h)}},dependencies:[H.YG,H.wI,H.jY,H.Nd,W.mk,W.sg,W.O5,le.N,Ne.M,_.P,W.uU,N.C],styles:['@charset "UTF-8";h1[_ngcontent-%COMP%]{font-size:2rem;margin-top:40px}h1[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]{vertical-align:middle;margin:0}dl.grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:max-content 1fr}dl[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:has(dl)){display:flex}dl[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{font-weight:400}dl[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]:after{content:":"}dl[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:0 0 0 1em;font-weight:700}.special-conditions[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:8px 0 16px 1em}ul[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-weight:700}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{content:"\\ff0f";margin:0 .25em;font-weight:400}.empty[_ngcontent-%COMP%]{margin:100px 0}.privacy-title[_ngcontent-%COMP%]{font-size:14px;font-weight:700}.privacy-title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:2px}.privacy-detail[_ngcontent-%COMP%]{font-size:12px;margin-top:-8px;color:var(--tf-color-5)}.privacy-alert-section[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:4px}.privacy-alert-section[_ngcontent-%COMP%]   tf-icon[_ngcontent-%COMP%]{color:var(--tf-color-18)}.privacy-alert-section[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{margin-top:2px;display:flex;flex-direction:row;justify-content:center;align-items:center}.privacy-alert-section[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--tf-color-18)}.privacy-alert-section[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]{--padding-start: 0}.section-header[_ngcontent-%COMP%]{font-size:20px;font-weight:600;padding-bottom:8px;border-bottom:1px solid #b9bbbd}.tf-theme-dark[_nghost-%COMP%]   .section-header[_ngcontent-%COMP%], .tf-theme-dark   [_nghost-%COMP%]   .section-header[_ngcontent-%COMP%]{border-bottom:1px solid #3a3a3a}.section-detail[_ngcontent-%COMP%]{font-size:14px;font-weight:600;color:var(--tf-color-15)}.tf-theme-dark[_nghost-%COMP%]   .section-detail[_ngcontent-%COMP%], .tf-theme-dark   [_nghost-%COMP%]   .section-detail[_ngcontent-%COMP%]{color:#f9f9f9}.badge-group[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;font-weight:500}.badge-group[_ngcontent-%COMP%]   .highlight[_ngcontent-%COMP%]{border-radius:4px;padding:2px 8px;background-color:#58cdff;color:var(--tf-color-white)}.tf-theme-dark[_nghost-%COMP%]   .badge-group[_ngcontent-%COMP%]   .highlight[_ngcontent-%COMP%], .tf-theme-dark   [_nghost-%COMP%]   .badge-group[_ngcontent-%COMP%]   .highlight[_ngcontent-%COMP%]{background-color:#2694bd;color:#f5f5f5}.badge-group[_ngcontent-%COMP%]   .un-highlight[_ngcontent-%COMP%]{border:1px solid #d0d6de;color:#a3a3a3;border-radius:4px;padding:2px 8px}
1.item-sub-name[_ngcontent-%COMP%]{display:inline-block;font-size:1.4rem;font-weight:300}.item-value[_ngcontent-%COMP%]{display:inline-block;font-size:1.4rem}.birth-age[_ngcontent-%COMP%]{font-size:1.2rem;color:var(--tf-color-entry-text-secondary)}.item-value-multi[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:5px}.special-conditions[_ngcontent-%COMP%]   .section-detail[_ngcontent-%COMP%]{padding:0 1em 0 0}.edit-link[_ngcontent-%COMP%]{font-size:1.3rem;text-decoration:none;color:#3dc2ff}.job-history[_ngcontent-%COMP%]{margin:0 0 1em}.job-history[_ngcontent-%COMP%] + .job-history[_ngcontent-%COMP%]{padding-top:10px;border-top:1px solid #b9bbbd}.tf-theme-dark[_nghost-%COMP%]   .job-history[_ngcontent-%COMP%] + .job-history[_ngcontent-%COMP%], .tf-theme-dark   [_nghost-%COMP%]   .job-history[_ngcontent-%COMP%] + .job-history[_ngcontent-%COMP%]{border-top:1px solid #3a3a3a}'],changeDetection:0})},75064:(Fe,R,l)=>{l.d(R,{I:()=>S});var U=l(15861),B=l(47668),M=l(37556),m=l(94650);class S{constructor(F){this._authService=F}canActivateChild(F,E){return this._isGuard()}canActivate(F,E){var k=this;return(0,U.Z)(function*(){return k._isGuard()})()}canLoad(F,E){var k=this;return(0,U.Z)(function*(){return k._isGuard()})()}_isGuard(){var F=this;return(0,U.Z)(function*(){const E=yield F._authService.getCurrentUser();return(0,B.isAdmin)(E)||(0,B.isProductAdvisor)(E)})()}}S.\u0275fac=function(F){return new(F||S)(m.LFG(M.e8))},S.\u0275prov=m.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}}]);

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.