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AAO,SAASC,8BAAT,CAAwCC,MAAxC,EAAgD;AACnD,aAAOP,gDAAI,CAACH,2CAAI,CAACK,WAAD,EAAcC,IAAd,CAAL,EAA0BL,mDAAQ,CAAC,CAAD,CAAlC,EAAuCC,+DAAc,CAACI,IAAD,CAArD,CAAJ,CAAiEI,MAAjE,CAAP;AACH,KAFD;AAGH;;AACD,SAAO,SAASC,sBAAT,CAAgCD,MAAhC,EAAwC;AAC3C,WAAOP,gDAAI,CAACH,2CAAI,CAAC,CAACY,GAAD,EAAMC,KAAN,EAAaC,KAAb,KAAuBT,WAAW,CAACO,GAAD,EAAMC,KAAN,EAAaC,KAAK,GAAG,CAArB,CAAnC,CAAL,EAAkEb,mDAAQ,CAAC,CAAD,CAA1E,CAAJ,CAAmFS,MAAnF,CAAP;AACH,GAFD;AAGH;;;;;;;;;;;;;;;ACbD;;AACA,SAASK,cAAT,CAAwBC,GAAxB,EAA6BC,IAA7B,EAAmCH,KAAnC,EAA0C;AACtC,MAAIA,KAAK,KAAK,CAAd,EAAiB;AACb,WAAO,CAACG,IAAD,CAAP;AACH;;AACDD,EAAAA,GAAG,CAACE,IAAJ,CAASD,IAAT;AACA,SAAOD,GAAP;AACH;;AACM,SAASG,OAAT,GAAmB;AACtB,SAAOf,+CAAM,CAACW,cAAD,EAAiB,EAAjB,CAAb;AACH","sources":["./projects/desktop/src/app/root/root-main/header-member/MemberPcitureAndNicknameWindow.ts","./projects/lwlib/src/save-count-limit-popup/save-limit.ts","./node_modules/rxjs/_esm2015/internal/operators/reduce.js","./node_modules/rxjs/_esm2015/internal/operators/toArray.js"],"sourcesContent":["\r\nexport class MemberPcitureAndNicknameWindow {\r\n clickShowWindow: boolean = false;\r\n\r\n // 檢查點擊視窗關閉與否\r\n checkClickWindowCloseOrNot(ev: MouseEvent): void {\r\n // console.log('checkClickWindowCloseOrNot');\r\n if (!this.checkCursorClickTarget(ev)) {\r\n this.hideClickWindow();\r\n }\r\n }\r\n\r\n // 檢查指標點擊目標\r\n checkCursorClickTarget(ev: MouseEvent): boolean {\r\n const memberPictureAndNickname: Element = document.querySelector('.member-picture-and-nickname');\r\n return memberPictureAndNickname.contains(ev.target as Node);\r\n }\r\n\r\n // 決定點擊視窗顯示與否\r\n decideClickShowWindow(): void {\r\n if (this.clickShowWindow) {\r\n this.hideClickWindow();\r\n } else {\r\n this.showClickWindow();\r\n }\r\n }\r\n\r\n // 顯示點擊視窗\r\n showClickWindow(): void {\r\n this.clickShowWindow = true;\r\n }\r\n\r\n // 隱藏點擊視窗\r\n hideClickWindow(): void {\r\n this.clickShowWindow = false;\r\n }\r\n}\r\n","export class SaveLimit {\r\n judgment_note_save_max: number = 1;\r\n judgment_summary_save_max: number;\r\n lawRule_note_save_max: number;\r\n lawRule_summary_save_max: number;\r\n judicialInterpret_note_save_max: number;\r\n judicialInterpret_summary_save_max: number;\r\n total_note_save_max: number;\r\n total_summary_save_max: number;\r\n\r\n constructor() {\r\n this.judgment_note_save_max = 20;\r\n this.judgment_summary_save_max = 99999999;\r\n this.lawRule_note_save_max = 20;\r\n this.lawRule_summary_save_max = 20;\r\n this.judicialInterpret_note_save_max = 20;\r\n this.judicialInterpret_summary_save_max = 99999999;\r\n this.total_note_save_max = 50;\r\n this.total_summary_save_max = 50;\r\n }\r\n}","import { scan } from './scan';\nimport { takeLast } from './takeLast';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { pipe } from '../util/pipe';\nexport function reduce(accumulator, seed) {\n if (arguments.length >= 2) {\n return function reduceOperatorFunctionWithSeed(source) {\n return pipe(scan(accumulator, seed), takeLast(1), defaultIfEmpty(seed))(source);\n };\n }\n return function reduceOperatorFunction(source) {\n return pipe(scan((acc, value, index) => accumulator(acc, value, index + 1)), takeLast(1))(source);\n };\n}\n","import { reduce } from './reduce';\nfunction toArrayReducer(arr, item, index) {\n if (index === 0) {\n return [item];\n }\n arr.push(item);\n return arr;\n}\nexport function toArray() {\n return reduce(toArrayReducer, []);\n}\n"],"names":["MemberPcitureAndNicknameWindow","constructor","checkClickWindowCloseOrNot","ev","checkCursorClickTarget","hideClickWindow","memberPictureAndNickname","document","querySelector","contains","target","decideClickShowWindow","clickShowWindow","showClickWindow","SaveLimit","judgment_note_save_max","judgment_summary_save_max","lawRule_note_save_max","lawRule_summary_save_max","judicialInterpret_note_save_max","judicialInterpret_summary_save_max","total_note_save_max","total_summary_save_max","scan","takeLast","defaultIfEmpty","pipe","reduce","accumulator","seed","arguments","length","reduceOperatorFunctionWithSeed","source","reduceOperatorFunction","acc","value","index","toArrayReducer","arr","item","push","toArray"],"sourceRoot":"webpack:///"}