This repository has been archived by the owner on Aug 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path12-es2015.08565684c8b10f92f402.js
1 lines (1 loc) · 38.9 KB
/
12-es2015.08565684c8b10f92f402.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{mshI:function(e,t,n){"use strict";n.r(t);var l=n("8Y7J"),o=n("0qEG");class a{constructor(){this.item={cols:1,urls:{"zh-CN":"packages/cache/docs/getting-started.md"},content:{"zh-CN":{content:'<section class="markdown"><article><h2 id="\u5199\u5728\u524d\u9762">\u5199\u5728\u524d\u9762<a onclick="window.location.hash = \'\u5199\u5728\u524d\u9762\'" class="anchor">#</a></h2><p>\u901a\u5e38\u628a\u4e00\u4e9b\u8fdc\u7a0b\u6570\u636e\u7f13\u5b58\u5728\u5185\u5b58\u6216 <code>localStorage</code> \u6301\u4e45\u5316\uff0c\u76ee\u7684\u662f\u4e3a\u4e86\u51cf\u5c11 Http \u8bf7\u6c42\u7684\u6210\u672c\uff1b\u8fd9\u6837\u7684\u6570\u636e\u901a\u5e38\u662f\u5b57\u5178\u3001\u57ce\u5e02\u6570\u636e\u7b49\u3002</p><p>\u7f13\u5b58\u7684\u83b7\u53d6\u5e94\u8be5\u662f\u975e\u5e38\u7b80\u5355\u7684\uff0c\u6211\u4eec\u4e0d\u5e94\u8be5\u628a\u65f6\u95f4\u6d6a\u8d39\u5728\u5982\u4f55\u4fdd\u8bc1\u52a0\u8f7d\u8fd9\u4ef6\u4e8b\u60c5\u4e0a\uff0c\u56e0\u6b64 <code>@delon/cache</code> \u66f4\u591a\u662f\u4ee5<strong>\u7ea6\u5b9a</strong>\u4e3a\u524d\u63d0\u3002<code>key</code> \u4f5c\u4e3a\u7f13\u5b58\u7684\u552f\u4e00\u952e\u503c\uff0c\u5b83\u4e0d\u5e94\u8be5\u53ea\u662f\u5355\u7eaf\u7684\u4e00\u4e2a\u6807\u8bc6\u7b26\uff0c\u5982\u679c\u9075\u5b88\u67d0\u79cd\u7ea6\u5b9a\u5b83\u7684\u5b58\u5728\u4f1a\u66f4\u6709\u4ef7\u503c\u3002<code>@delon/cache</code> \u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4e0d\u5149\u628a <code>key</code> \u5f53\u4f5c\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u540c\u65f6\u5b83\u8fd8\u662f\u4e00\u4e2a\u7528\u4e8e\u83b7\u53d6\u8fdc\u7a0b\u6570\u636e\u7684\u6709\u6548HTTP\uff0c\u4f8b\u5982\uff1a</p><pre class="hljs language-ts"><code>cacheService.get(\'/data/unit\');</code></pre><p>\u5728\u4ee5\u5f80\u6211\u4eec\u4f1a\u8ba4\u4e3a\uff0c\u5728\u5b83\u4e4b\u524d\u5e94\u8be5\u9700\u8981\u52a0\u4e00\u4e2a\uff1a</p><pre class="hljs language-ts"><code>cacheService.set(\'/data/unit\', [ \'\u4e2a\', \'\u4ef6\' ]);</code></pre><p>\u624d\u80fd\u591f\u786e\u4fdd\u83b7\u53d6\u5230\u7f13\u5b58\u6570\u636e\u3002</p><p>\u800c\u5bf9\u4e8e <code>@delon/cache</code> \u800c\u8a00\uff0c\u4f60\u65e0\u987b <code>set</code> \u65b9\u6cd5\uff0c\u76f4\u63a5\u4f7f\u7528 <code>get</code> \u83b7\u53d6\u5230\u5355\u4f4d\u5b57\u5178\uff0c\u56e0\u4e3a\u6211\u4eec\u6709\u4e00\u79cd<strong>\u7ea6\u5b9a</strong>\uff0c\u5f53\u7f13\u5b58\u4e0d\u5b58\u5728\u900f\u8fc7 <code>key</code> \u4f5c\u4e3aHTTP\u8bf7\u6c42\u6570\u636e\u7f13\u5b58\u540e\u518d\u8fd4\u56de\u3002</p><p>\u7f13\u5b58\u7684\u83b7\u53d6\u4e0e\u8bbe\u7f6e\u90fd\u662f\u901a\u8fc7 <a href="/cache/service" data-url="/cache/service">CacheService</a> \u6765\u64cd\u4f5c\uff0c\u4f60\u53ea\u9700\u8981\u5c06 <code>CacheService</code> \u5bfc\u5165\u5bf9\u5e94\u7684\u7c7b\u5f53\u4e2d\u5373\u53ef\u3002</p><h2 id="\u5982\u4f55\u4f7f\u7528">\u5982\u4f55\u4f7f\u7528<a onclick="window.location.hash = \'\u5982\u4f55\u4f7f\u7528\'" class="anchor">#</a></h2><p><strong>\u5b89\u88c5</strong></p><pre class="hljs language-bash"><code>yarn add @delon/cache</code></pre><p><strong>\u6ce8\u518c</strong></p><p>\u5728\u6839\u6a21\u5757 <code>AppModule</code> \u5bfc\u5165 <code>DelonCacheModule</code>\uff1b</p><pre class="hljs language-ts"><code>import { DelonCacheModule } from \'@delon/cache\';\n\n@NgModule({\n imports: [\n DelonCacheModule\n ]\n})</code></pre><p><strong>\u6ce8</strong> \u5efa\u8bae\u5728\u6839\u6a21\u5757\u4e2d\u5bfc\u5165\uff0c\u56e0\u4e3a\u5b83\u53ea\u6709 Service \u4e3a\u4e86\u9632\u6b62\u91cd\u590d\u88ab\u5bfc\u5165\u3002</p><h3 id="DelonCacheConfig">DelonCacheConfig<a onclick="window.location.hash = \'DelonCacheConfig\'" class="anchor">#</a></h3><table><thead><tr><th>\u53c2\u6570\u540d</th><th>\u7c7b\u578b</th><th>\u9ed8\u8ba4\u503c</th><th>\u63cf\u8ff0</th></tr></thead><tbody><tr><td><code>[mode]</code></td><td><code>promise,none</code></td><td><code>promise</code></td><td>\u7f13\u5b58\u6a21\u5f0f\uff1b<code>promise</code> \u7ea6\u5b9a\u6a21\u5f0f\uff0c\u5141\u8bb8 <code>key</code> \u4f5c\u4e3a http \u83b7\u53d6\u6570\u636e\uff1b<code>none</code> \u6b63\u5e38\u6a21\u5f0f</td></tr><tr><td><code>[reName]</code></td><td><code>string</code></td><td>-</td><td>\u91cd\u547d\u540d\u8fd4\u56de\u53c2\u6570\uff0c\u4f8b\u5982\uff1a<br> <code>null</code> \u8fd4\u56de\u4f53\u4e3a\u5185\u5bb9<br><code>list</code> \u8fd4\u56de\u4f53\u5e94 <code>{ list: [] }</code><br><code>result.list</code> \u8fd4\u56de\u4f53\u5e94 <code>{ result: { list: [] } }</code></td></tr><tr><td><code>[expire]</code></td><td><code>number</code></td><td>-</td><td>\u8bbe\u7f6e\u9ed8\u8ba4\u8fc7\u671f\u65f6\u95f4\u503c\uff08\u5355\u4f4d\uff1a\u79d2\uff09</td></tr><tr><td><code>[prefix]</code></td><td><code>string</code></td><td>-</td><td>\u6301\u4e45\u5316\u6570\u636e\u952e\u503c\u524d\u7f00</td></tr><tr><td><code>[meta_key]</code></td><td><code>string</code></td><td><code>__cache_meta</code></td><td>\u6301\u4e45\u5316\u6570\u636e\u5143\u6570\u636e\u5b58\u50a8\u952e\u540d</td></tr></tbody></table></article></section>',meta:{order:1,title:"\u5f00\u59cb\u4f7f\u7528",type:"Documents",module:"DelonCacheModule",config:"DelonCacheConfig"},toc:[{id:"\u5199\u5728\u524d\u9762",title:"\u5199\u5728\u524d\u9762",h:2},{id:"\u5982\u4f55\u4f7f\u7528",title:"\u5982\u4f55\u4f7f\u7528",h:2},{id:"DelonCacheConfig",title:"DelonCacheConfig",h:3}]}},demo:!0},this.codes=[{id:"cache-getting-started-simple",meta:{title:{"zh-CN":"\u57fa\u7840\u6837\u4f8b","en-US":"Basic Usage"},order:0},summary:{"zh-CN":"<p>\u6700\u7b80\u5355\u7684\u7528\u6cd5\u3002</p>","en-US":"<p>Simplest of usage.</p>"},code:'import { Component, OnDestroy } from \'@angular/core\';\nimport { CacheService } from \'@delon/cache\';\nimport { NzMessageService } from \'ng-zorro-antd/message\';\nimport { Subscription } from \'rxjs\';\n\n@Component({\n selector: \'cache-getting-started-simple\',\n template: `\n <p>value: {{ value | json }}</p>\n <div class="pt-sm">\n Basic:\n <button nz-button (click)="srv.set(key, newValue)">Set</button>\n <button nz-button (click)="value = srv.getNone(key)">Get</button>\n <button nz-button (click)="srv.remove(key)">Remove</button>\n <button nz-button (click)="srv.clear()">Clear</button>\n </div>\n <div class="pt-sm">\n Key is valid request:\n <button nz-button (click)="getByHttp()">Get</button>\n </div>\n <div class="pt-sm">\n Notify:\n <button nz-button (click)="registerNotify()">Register</button>\n <button nz-button (click)="unRegisterNotify()">UnRegister</button>\n </div>\n `,\n})\nexport class CacheGettingStartedSimpleComponent implements OnDestroy {\n value: any;\n key = \'demo\';\n private notify$: Subscription;\n\n get newValue() {\n return +new Date();\n }\n\n constructor(public srv: CacheService, private msg: NzMessageService) {}\n\n getByHttp() {\n this.srv.get(`https://randomuser.me/api/?results=1`).subscribe(res => {\n this.value = res;\n });\n }\n\n registerNotify() {\n if (this.notify$) this.notify$.unsubscribe();\n this.notify$ = this.srv.notify(this.key).subscribe(res => {\n if (res == null) {\n this.msg.success(\'register success\');\n return;\n }\n this.msg.warning(`"${this.key}" new status: ${res.type}`);\n });\n }\n\n unRegisterNotify() {\n this.srv.cancelNotify(this.key);\n }\n\n ngOnDestroy() {\n if (this.notify$) this.notify$.unsubscribe();\n }\n}',name:"simple",urls:"packages/cache/docs/demo/simple.md",type:"demo",lang:"ts",componentName:"CacheGettingStartedSimpleComponent",point:0}]}}class c{constructor(e,t){this.srv=e,this.msg=t,this.key="demo"}get newValue(){return+new Date}getByHttp(){this.srv.get("https://randomuser.me/api/?results=1").subscribe(e=>{this.value=e})}registerNotify(){this.notify$&&this.notify$.unsubscribe(),this.notify$=this.srv.notify(this.key).subscribe(e=>{null!=e?this.msg.warning(`"${this.key}" new status: ${e.type}`):this.msg.success("register success")})}unRegisterNotify(){this.srv.cancelNotify(this.key)}ngOnDestroy(){this.notify$&&this.notify$.unsubscribe()}}class i{constructor(){this.item={cols:1,urls:{"zh-CN":"packages/cache/docs/service.md"},content:{"zh-CN":{content:'<section class="markdown"></section>',api:'<h2 id="API">API<a onclick="window.location.hash = \'API\'" class="anchor">#</a></h2><h3 id="set()">set()<a onclick="window.location.hash = \'set()\'" class="anchor">#</a></h3><table><thead><tr><th>\u53c2\u6570\u540d</th><th>\u7c7b\u578b</th><th>\u63cf\u8ff0</th></tr></thead><tbody><tr><td><code>key</code></td><td><code>string</code></td><td>\u7f13\u5b58\u552f\u4e00\u6807\u8bc6\u7b26</td></tr><tr><td><code>data</code></td><td><code>any | Observable<any></code></td><td>\u7f13\u5b58\u6570\u636e\u6e90\uff0c\u6570\u636e\u6e90\u4e3a <code>Observable</code> \u65f6\uff0c\u4f9d\u7136\u8fd4\u56de <code>Observable</code>\uff0c\u5426\u5219\u8fd4\u56de <code>void</code></td></tr><tr><td><code>options</code></td><td><code>{ type?: \'m\' | \'s\', expire?: number }</code></td><td><code>type</code> \u5b58\u50a8\u7c7b\u578b\uff0c\'m\' \u8868\u793a\u5185\u5b58\uff0c\'s\' \u8868\u793a\u6301\u4e45<br><code>expire</code> \u8fc7\u671f\u65f6\u95f4\uff0c\u5355\u4f4d <code>\u79d2</code></td></tr></tbody></table><h3 id="get()">get()<a onclick="window.location.hash = \'get()\'" class="anchor">#</a></h3><table><thead><tr><th>\u53c2\u6570\u540d</th><th>\u7c7b\u578b</th><th>\u63cf\u8ff0</th></tr></thead><tbody><tr><td><code>key</code></td><td><code>string</code></td><td>\u7f13\u5b58\u552f\u4e00\u6807\u8bc6\u7b26</td></tr><tr><td><code>options</code></td><td><code>{ mode?: \'promise\' | \'none\', type?: \'m\' | \'s\', expire?: number }</code></td><td><code>mode</code> \u6307\u5b9a\u83b7\u53d6\u7f13\u5b58\u7684\u6a21\u5f0f\uff1a<br>1\u3001<code>promise</code> \u8868\u793a\u82e5\u4e0d\u5b58 <code>key</code> \u5219\u628a <code>key</code> \u5f53URL\u53d1\u8d77\u8bf7\u6c42\u5e76\u7f13\u5b58\u4e14\u8fd4\u56de Observable<br>2\u3001<code>none</code> \u8868\u793a\u76f4\u63a5\u8fd4\u56de\u6570\u636e\u82e5KEY\u4e0d\u5b58\u5728\u5219\u76f4\u63a5\u8fd4\u56de <code>null</code><br><br><code>type</code> \u5b58\u50a8\u7c7b\u578b\uff0c\'m\' \u8868\u793a\u5185\u5b58\uff0c\'s\' \u8868\u793a\u6301\u4e45<br><code>expire</code> \u8fc7\u671f\u65f6\u95f4\uff0c\u5355\u4f4d <code>\u79d2</code></td></tr></tbody></table><h3 id="getNone()">getNone()<a onclick="window.location.hash = \'getNone()\'" class="anchor">#</a></h3><p>\u83b7\u53d6\u7f13\u5b58\u6570\u636e\uff0c\u82e5 <code>key</code> \u4e0d\u5b58\u5728\u6216\u5df2\u8fc7\u671f\u5219\u8fd4\u56de null\u3002</p><h3 id="tryGet()">tryGet()<a onclick="window.location.hash = \'tryGet()\'" class="anchor">#</a></h3><p>\u83b7\u53d6\u7f13\u5b58\uff0c\u82e5\u4e0d\u5b58\u5728\u5219\u8bbe\u7f6e\u7f13\u5b58\u5bf9\u8c61\uff0c\u53c2\u6570\u7b49\u540c <code>set()</code>\u3002</p><h3 id="has()">has()<a onclick="window.location.hash = \'has()\'" class="anchor">#</a></h3><p>\u662f\u5426\u7f13\u5b58 <code>key</code>\u3002</p><h3 id="remove()">remove()<a onclick="window.location.hash = \'remove()\'" class="anchor">#</a></h3><p>\u79fb\u9664\u7f13\u5b58 <code>key</code>\u3002</p><h3 id="clear()">clear()<a onclick="window.location.hash = \'clear()\'" class="anchor">#</a></h3><p>\u6e05\u7a7a\u6240\u6709\u7f13\u5b58\u3002</p><h3 id="notify()">notify()<a onclick="window.location.hash = \'notify()\'" class="anchor">#</a></h3><p><code>key</code> \u76d1\u542c\uff0c\u5f53 <code>key</code> \u53d8\u66f4\u3001\u8fc7\u671f\u3001\u79fb\u9664\u65f6\u901a\u77e5\uff0c\u6ce8\u610f\u4ee5\u4e0b\u82e5\u5e72\u7ec6\u8282\uff1a</p><ul><li><p>\u8c03\u7528\u540e\u9664\u518d\u6b21\u8c03\u7528 <code>cancelNotify</code> \u5426\u5219\u6c38\u8fdc\u4e0d\u8fc7\u671f</p></li><li><p>\u76d1\u542c\u5668\u6bcf <code>freq</code> (\u9ed8\u8ba4\uff1a3\u79d2) \u6267\u884c\u4e00\u6b21\u8fc7\u671f\u68c0\u67e5</p></li></ul><h3 id="cancelNotify()">cancelNotify()<a onclick="window.location.hash = \'cancelNotify()\'" class="anchor">#</a></h3><p>\u53d6\u6d88 <code>key</code> \u76d1\u542c</p><h3 id="hasNotify()">hasNotify()<a onclick="window.location.hash = \'hasNotify()\'" class="anchor">#</a></h3><p><code>key</code> \u662f\u5426\u5df2\u7ecf\u76d1\u542c</p><h3 id="clearNotify()">clearNotify()<a onclick="window.location.hash = \'clearNotify()\'" class="anchor">#</a></h3><p>\u6e05\u7a7a\u6240\u6709 <code>key</code> \u7684\u76d1\u542c</p><h3 id="freq()">freq()<a onclick="window.location.hash = \'freq()\'" class="anchor">#</a></h3><p>\u8bbe\u7f6e\u76d1\u542c\u9891\u7387\uff0c\u5355\u4f4d\uff1a\u6beb\u79d2\u4e14\u6700\u4f4e <code>20ms</code>\uff0c\u9ed8\u8ba4\uff1a<code>3000ms</code>\u3002</p><h2 id="get-\u548c-tryGet-\u7684\u533a\u522b"><code>get</code> \u548c <code>tryGet</code> \u7684\u533a\u522b<a onclick="window.location.hash = \'get-\u548c-tryGet-\u7684\u533a\u522b\'" class="anchor">#</a></h2><p>\u672c\u8d28\u90fd\u662f\u83b7\u53d6\u5e76\u8fd4\u56de\u7f13\u5b58\u6570\u636e\uff0c<code>get</code> \u76f8\u6bd4 <code>tryGet</code> \u66f4\u7b80\u5316\uff0c\u524d\u8005\u6309KEY\u5373\u662fURL\u7ea6\u5b9a\u7684\u98ce\u683c\uff0c\u540e\u8005\u9700\u6307\u5b9a\u6570\u636e\u6e90\u5bf9\u8c61\u3002</p><h2 id="\u9177\u64cd\u4f5c">\u9177\u64cd\u4f5c<a onclick="window.location.hash = \'\u9177\u64cd\u4f5c\'" class="anchor">#</a></h2><h3 id="async-\u7ba1\u9053">async \u7ba1\u9053<a onclick="window.location.hash = \'async-\u7ba1\u9053\'" class="anchor">#</a></h3><p>RxJS \u548c <code>async</code> \u7ba1\u9053\u4e8c\u8005\u7684\u914d\u5408\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u975e\u5e38\u53cb\u597d\u7684\u4f7f\u7528\u7f13\u5b58\u6570\u636e\uff0c\u4f8b\u5982\uff1a</p><pre class="hljs language-ts"><code>@Component({\n template: `<li *ngFor="let unit of units | async">{{unit}}</li>`\n})\nexport class Component {\n units: this.srv.get(\'/data/unit\')\n}</code></pre><h3 id="\u7f13\u5b58\u4e0e\u8bf7\u6c42">\u7f13\u5b58\u4e0e\u8bf7\u6c42<a onclick="window.location.hash = \'\u7f13\u5b58\u4e0e\u8bf7\u6c42\'" class="anchor">#</a></h3><p>\u6709\u65f6\u9700\u8981\u4f9d\u8d56\u5b57\u5178\u83b7\u53d6\u8fdc\u7a0b\u6570\u636e\u65f6\uff1a</p><pre class="hljs language-ts"><code>this.srv\n .get(\'/data/unit\')\n .pipe(\n map(units => this.http.get(`/trade?unit=${units}`))\n );</code></pre>',meta:{order:2,title:"CacheService",type:"Documents"},toc:[{id:"API",title:"API",h:2},{id:"set()",title:"set()",h:3},{id:"get()",title:"get()",h:3},{id:"getNone()",title:"getNone()",h:3},{id:"tryGet()",title:"tryGet()",h:3},{id:"has()",title:"has()",h:3},{id:"remove()",title:"remove()",h:3},{id:"clear()",title:"clear()",h:3},{id:"notify()",title:"notify()",h:3},{id:"cancelNotify()",title:"cancelNotify()",h:3},{id:"hasNotify()",title:"hasNotify()",h:3},{id:"clearNotify()",title:"clearNotify()",h:3},{id:"freq()",title:"freq()",h:3},{id:"get-\u548c-tryGet-\u7684\u533a\u522b",title:"get \u548c tryGet \u7684\u533a\u522b",h:2},{id:"\u9177\u64cd\u4f5c",title:"\u9177\u64cd\u4f5c",h:2},{id:"async-\u7ba1\u9053",title:"async \u7ba1\u9053",h:3},{id:"\u7f13\u5b58\u4e0e\u8bf7\u6c42",title:"\u7f13\u5b58\u4e0e\u8bf7\u6c42",h:3}]}},demo:!0},this.codes=[{id:"cache-service-simple",meta:{title:{"zh-CN":"\u57fa\u7840\u6837\u4f8b","en-US":"Basic Usage"},order:0},summary:{"zh-CN":"<p>\u6700\u7b80\u5355\u7684\u7528\u6cd5\u3002</p>","en-US":"<p>Simplest of usage.</p>"},code:'import { Component, OnDestroy } from \'@angular/core\';\nimport { CacheService } from \'@delon/cache\';\nimport { NzMessageService } from \'ng-zorro-antd/message\';\nimport { Subscription } from \'rxjs\';\n\n@Component({\n selector: \'cache-service-simple\',\n template: `\n <p>value: {{ value | json }}</p>\n <div class="pt-sm">\n Basic:\n <button nz-button (click)="srv.set(key, newValue)">Set</button>\n <button nz-button (click)="value = srv.getNone(key)">Get</button>\n <button nz-button (click)="srv.remove(key)">Remove</button>\n <button nz-button (click)="srv.clear()">Clear</button>\n </div>\n <div class="pt-sm">\n Key is valid request:\n <button nz-button (click)="getByHttp()">Get</button>\n </div>\n <div class="pt-sm">\n Notify:\n <button nz-button (click)="registerNotify()">Register</button>\n <button nz-button (click)="unRegisterNotify()">UnRegister</button>\n </div>\n `,\n})\nexport class CacheServiceSimpleComponent implements OnDestroy {\n value: any;\n key = \'demo\';\n private notify$: Subscription;\n\n get newValue() {\n return +new Date();\n }\n\n constructor(public srv: CacheService, private msg: NzMessageService) {}\n\n getByHttp() {\n this.srv.get(`https://randomuser.me/api/?results=1`).subscribe(res => {\n this.value = res;\n });\n }\n\n registerNotify() {\n if (this.notify$) this.notify$.unsubscribe();\n this.notify$ = this.srv.notify(this.key).subscribe(res => {\n if (res == null) {\n this.msg.success(\'register success\');\n return;\n }\n this.msg.warning(`"${this.key}" new status: ${res.type}`);\n });\n }\n\n unRegisterNotify() {\n this.srv.cancelNotify(this.key);\n }\n\n ngOnDestroy() {\n if (this.notify$) this.notify$.unsubscribe();\n }\n}',name:"simple",urls:"packages/cache/docs/demo/simple.md",type:"demo",lang:"ts",componentName:"CacheServiceSimpleComponent",point:0}]}}class s{constructor(e,t){this.srv=e,this.msg=t,this.key="demo"}get newValue(){return+new Date}getByHttp(){this.srv.get("https://randomuser.me/api/?results=1").subscribe(e=>{this.value=e})}registerNotify(){this.notify$&&this.notify$.unsubscribe(),this.notify$=this.srv.notify(this.key).subscribe(e=>{null!=e?this.msg.warning(`"${this.key}" new status: ${e.type}`):this.msg.success("register success")})}unRegisterNotify(){this.srv.cancelNotify(this.key)}ngOnDestroy(){this.notify$&&this.notify$.unsubscribe()}}class r{}var u=n("pMnS"),b=n("EdU/"),d=n("/Yna"),h=n("JRKe"),p=n("Ed4d"),m=n("8WaK"),y=n("QfCi"),f=n("CghO"),v=n("Sq/J"),g=n("GYi0"),G=n("EXx9"),k=n("R6D3"),w=n("WP5L"),N=n("71F0"),z=n("fE+l"),S=n("0RMT"),H=n("QcbP"),O=n("0D9X"),E=n("SpJI"),C=n("hBP+"),D=n("QPFe"),x=n("RdGh"),I=n("D9vs"),R=n("DyZ0"),M=n("TY3c"),B=n("u+Cy"),Q=n("8+8K"),j=n("YVZs"),T=n("F/j7"),$=n("/EOF"),q=n("ZKYL"),P=n("SZk1"),W=n("5eO6"),V=n("9BMt"),Y=n("kRch"),F=n("QkPN"),U=n("vBNu"),J=n("Z7t+"),A=n("II6v"),K=n("MRB6"),_=n("uU7u"),X=n("iInd"),Z=n("cUpR"),L=n("5VGP"),ee=n("tYkK"),te=n("7QIX"),ne=n("/HVE"),le=n("G9RP"),oe=n("NzjH"),ae=n("JXeA"),ce=n("/Rd2"),ie=n("SVse"),se=n("Irb3"),re=n("GaVp"),ue=n("POq0"),be=n("omvX"),de=n("rxuJ"),he=n.n(de),pe=n("HDdC"),me=n("LRne"),ye=n("2Vo4"),fe=n("vkgz"),ve=n("lJxs");let ge=(()=>{class e{constructor(){this.mode="promise",this.reName="",this.prefix="",this.meta_key="__cache_meta"}}return e.ngInjectableDef=l.Wb({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Ge=new l.p("DC_STORE_STORAGE_TOKEN",{providedIn:"root",factory:function(){return new ke}});class ke{get(e){return JSON.parse(localStorage.getItem(e)||"null")||null}set(e,t){return localStorage.setItem(e,JSON.stringify(t)),!0}remove(e){localStorage.removeItem(e)}}var we=n("IheW");let Ne=(()=>{class e{constructor(e,t,n){this.store=t,this.http=n,this.memory=new Map,this.notifyBuffer=new Map,this.meta=new Set,this.freqTick=3e3,this.cog={},Object.assign(this.cog,Object.assign({},new ge,e)),this.loadMeta(),this.startExpireNotify()}deepGet(e,t,n){if(!e)return n;if(t.length<=1){const l=t.length?e[t[0]]:e;return void 0===l?n:l}return t.reduce((e,t)=>e[t],e)||n}pushMeta(e){this.meta.has(e)||(this.meta.add(e),this.saveMeta())}removeMeta(e){this.meta.has(e)&&(this.meta.delete(e),this.saveMeta())}loadMeta(){const e=this.store.get(this.cog.meta_key);e&&e.v&&e.v.forEach(e=>this.meta.add(e))}saveMeta(){const e=[];this.meta.forEach(t=>e.push(t)),this.store.set(this.cog.meta_key,{v:e,e:0})}getMeta(){return this.meta}set(e,t,n={}){let l=0;const{type:o,expire:a}=this.cog;if((n=Object.assign({type:o,expire:a},n)).expire&&(l=he()(new Date,n.expire).valueOf()),t instanceof pe.a)return t.pipe(Object(fe.a)(t=>{this.save(n.type,e,{v:t,e:l})}));this.save(n.type,e,{v:t,e:l})}save(e,t,n){"m"===e?this.memory.set(t,n):(this.store.set(this.cog.prefix+t,n),this.pushMeta(t)),this.runNotify(t,"set")}get(e,t={}){const n="none"!==t.mode&&"promise"===this.cog.mode,l=this.memory.has(e)?this.memory.get(e):this.store.get(this.cog.prefix+e);return!l||l.e&&l.e>0&&l.e<(new Date).valueOf()?n?this.http.get(e).pipe(Object(ve.a)(e=>this.deepGet(e,this.cog.reName,null)),Object(fe.a)(n=>this.set(e,n,{type:t.type,expire:t.expire}))):null:n?Object(me.a)(l.v):l.v}getNone(e){return this.get(e,{mode:"none"})}tryGet(e,t,n={}){const l=this.getNone(e);return null===l?t instanceof pe.a?this.set(e,t,n):(this.set(e,t,n),t):Object(me.a)(l)}has(e){return this.memory.has(e)||this.meta.has(e)}_remove(e,t){t&&this.runNotify(e,"remove"),this.memory.has(e)?this.memory.delete(e):(this.store.remove(this.cog.prefix+e),this.removeMeta(e))}remove(e){this._remove(e,!0)}clear(){this.notifyBuffer.forEach((e,t)=>this.runNotify(t,"remove")),this.memory.clear(),this.meta.forEach(e=>this.store.remove(this.cog.prefix+e))}set freq(e){this.freqTick=Math.max(20,e),this.abortExpireNotify(),this.startExpireNotify()}startExpireNotify(){this.checkExpireNotify(),this.runExpireNotify()}runExpireNotify(){this.freqTime=setTimeout(()=>{this.checkExpireNotify(),this.runExpireNotify()},this.freqTick)}checkExpireNotify(){const e=[];this.notifyBuffer.forEach((t,n)=>{this.has(n)&&null===this.getNone(n)&&e.push(n)}),e.forEach(e=>{this.runNotify(e,"expire"),this._remove(e,!1)})}abortExpireNotify(){clearTimeout(this.freqTime)}runNotify(e,t){this.notifyBuffer.has(e)&&this.notifyBuffer.get(e).next({type:t,value:this.getNone(e)})}notify(e){if(!this.notifyBuffer.has(e)){const t=new ye.a(this.getNone(e));this.notifyBuffer.set(e,t)}return this.notifyBuffer.get(e).asObservable()}cancelNotify(e){this.notifyBuffer.has(e)&&(this.notifyBuffer.get(e).unsubscribe(),this.notifyBuffer.delete(e))}hasNotify(e){return this.notifyBuffer.has(e)}clearNotify(){this.notifyBuffer.forEach(e=>e.unsubscribe()),this.notifyBuffer.clear()}ngOnDestroy(){this.memory.clear(),this.abortExpireNotify(),this.clearNotify()}}return e.ngInjectableDef=l.Wb({factory:function(){return new e(l.Xb(ge),l.Xb(Ge),l.Xb(we.c))},token:e,providedIn:"root"}),e})();var ze=l.ub({encapsulation:2,styles:[],data:{}});function Se(e){return l.Sb(0,[(e()(),l.wb(0,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),l.Qb(1,null,["value: ",""])),l.Kb(0,ie.h,[]),(e()(),l.wb(3,0,null,null,21,"div",[["class","pt-sm"]],null,null,null,null,null)),(e()(),l.Qb(-1,null,[" Basic: "])),(e()(),l.wb(5,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0,o=e.component;return"click"===t&&(l=!1!==o.srv.set(o.key,o.newValue)&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(7,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,1,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Set"])),(e()(),l.wb(10,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0,o=e.component;return"click"===t&&(l=!1!==(o.value=o.srv.getNone(o.key))&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(12,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,2,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Get"])),(e()(),l.wb(15,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0,o=e.component;return"click"===t&&(l=!1!==o.srv.remove(o.key)&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(17,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,3,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Remove"])),(e()(),l.wb(20,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.srv.clear()&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(22,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,4,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Clear"])),(e()(),l.wb(25,0,null,null,6,"div",[["class","pt-sm"]],null,null,null,null,null)),(e()(),l.Qb(-1,null,[" Key is valid request: "])),(e()(),l.wb(27,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.getByHttp()&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(29,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,5,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Get"])),(e()(),l.wb(32,0,null,null,11,"div",[["class","pt-sm"]],null,null,null,null,null)),(e()(),l.Qb(-1,null,[" Notify: "])),(e()(),l.wb(34,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.registerNotify()&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(36,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,6,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Register"])),(e()(),l.wb(39,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.unRegisterNotify()&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(41,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,7,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["UnRegister"]))],(function(e,t){e(t,7,0),e(t,12,0),e(t,17,0),e(t,22,0),e(t,29,0),e(t,36,0),e(t,41,0)}),(function(e,t){var n=t.component;e(t,1,0,l.Rb(t,1,0,l.Ib(t,2).transform(n.value))),e(t,5,0,l.Ib(t,7).nzWave),e(t,10,0,l.Ib(t,12).nzWave),e(t,15,0,l.Ib(t,17).nzWave),e(t,20,0,l.Ib(t,22).nzWave),e(t,27,0,l.Ib(t,29).nzWave),e(t,34,0,l.Ib(t,36).nzWave),e(t,39,0,l.Ib(t,41).nzWave)}))}var He=l.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function Oe(e){return l.Sb(0,[(e()(),l.wb(0,0,null,null,11,"app-docs",[],null,null,null,J.b,J.a)),l.vb(1,245760,null,0,A.a,[K.a,_.a,X.p,Z.b],{codes:[0,"codes"],item:[1,"item"]},null),(e()(),l.wb(2,0,null,0,9,"nz-row",[],null,null,null,null,null)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(4,4931584,null,0,ee.c,[l.k,l.D,L.H,te.c,l.y,ne.a,L.p],{nzGutter:[0,"nzGutter"]},null),(e()(),l.wb(5,0,null,null,6,"nz-col",[["nzSpan","24"]],null,null,null,null,null)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(7,4931584,null,0,ee.a,[L.H,l.k,[2,ee.c],l.D],{nzSpan:[0,"nzSpan"]},null),(e()(),l.wb(8,0,null,null,3,"code-box",[],[[1,"id",0],[2,"code-box",null],[2,"expand",null]],null,null,le.b,le.a)),l.vb(9,180224,null,0,oe.a,[_.a,ae.g,ce.a,Z.b],{item:[0,"item"]},null),(e()(),l.wb(10,0,null,0,1,"cache-getting-started-simple",[],null,null,null,Se,ze)),l.vb(11,180224,null,0,c,[Ne,ae.g],null,null)],(function(e,t){var n=t.component;e(t,1,0,n.codes,n.item),e(t,4,0,16),e(t,7,0,"24"),e(t,9,0,n.codes[0])}),(function(e,t){e(t,8,0,t.component.codes[0].id,!0,l.Ib(t,9).expand)}))}function Ee(e){return l.Sb(0,[(e()(),l.wb(0,0,null,null,1,"app-cache-getting-started",[],null,null,null,Oe,He)),l.vb(1,49152,null,0,a,[],null,null)],null,null)}var Ce=l.sb("app-cache-getting-started",a,Ee,{},{},[]),De=l.ub({encapsulation:2,styles:[],data:{}});function xe(e){return l.Sb(0,[(e()(),l.wb(0,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),l.Qb(1,null,["value: ",""])),l.Kb(0,ie.h,[]),(e()(),l.wb(3,0,null,null,21,"div",[["class","pt-sm"]],null,null,null,null,null)),(e()(),l.Qb(-1,null,[" Basic: "])),(e()(),l.wb(5,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0,o=e.component;return"click"===t&&(l=!1!==o.srv.set(o.key,o.newValue)&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(7,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,1,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Set"])),(e()(),l.wb(10,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0,o=e.component;return"click"===t&&(l=!1!==(o.value=o.srv.getNone(o.key))&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(12,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,2,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Get"])),(e()(),l.wb(15,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0,o=e.component;return"click"===t&&(l=!1!==o.srv.remove(o.key)&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(17,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,3,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Remove"])),(e()(),l.wb(20,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.srv.clear()&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(22,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,4,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Clear"])),(e()(),l.wb(25,0,null,null,6,"div",[["class","pt-sm"]],null,null,null,null,null)),(e()(),l.Qb(-1,null,[" Key is valid request: "])),(e()(),l.wb(27,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.getByHttp()&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(29,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,5,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Get"])),(e()(),l.wb(32,0,null,null,11,"div",[["class","pt-sm"]],null,null,null,null,null)),(e()(),l.Qb(-1,null,[" Notify: "])),(e()(),l.wb(34,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.registerNotify()&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(36,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,6,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["Register"])),(e()(),l.wb(39,0,null,null,4,"button",[["nz-button",""]],[[1,"nz-wave",0]],[[null,"click"]],(function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.unRegisterNotify()&&l),l}),se.c,se.a)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(41,1818624,null,1,re.a,[l.k,l.h,l.D,ue.b,L.H,l.y,L.m,[2,L.i],[2,be.a]],null,null),l.Ob(603979776,7,{listOfIconElement:1}),(e()(),l.Qb(-1,0,["UnRegister"]))],(function(e,t){e(t,7,0),e(t,12,0),e(t,17,0),e(t,22,0),e(t,29,0),e(t,36,0),e(t,41,0)}),(function(e,t){var n=t.component;e(t,1,0,l.Rb(t,1,0,l.Ib(t,2).transform(n.value))),e(t,5,0,l.Ib(t,7).nzWave),e(t,10,0,l.Ib(t,12).nzWave),e(t,15,0,l.Ib(t,17).nzWave),e(t,20,0,l.Ib(t,22).nzWave),e(t,27,0,l.Ib(t,29).nzWave),e(t,34,0,l.Ib(t,36).nzWave),e(t,39,0,l.Ib(t,41).nzWave)}))}var Ie=l.ub({encapsulation:0,styles:["[_nghost-%COMP%] { display: block }"],data:{}});function Re(e){return l.Sb(0,[(e()(),l.wb(0,0,null,null,11,"app-docs",[],null,null,null,J.b,J.a)),l.vb(1,245760,null,0,A.a,[K.a,_.a,X.p,Z.b],{codes:[0,"codes"],item:[1,"item"]},null),(e()(),l.wb(2,0,null,0,9,"nz-row",[],null,null,null,null,null)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(4,4931584,null,0,ee.c,[l.k,l.D,L.H,te.c,l.y,ne.a,L.p],{nzGutter:[0,"nzGutter"]},null),(e()(),l.wb(5,0,null,null,6,"nz-col",[["nzSpan","24"]],null,null,null,null,null)),l.Nb(512,null,L.H,L.H,[l.E]),l.vb(7,4931584,null,0,ee.a,[L.H,l.k,[2,ee.c],l.D],{nzSpan:[0,"nzSpan"]},null),(e()(),l.wb(8,0,null,null,3,"code-box",[],[[1,"id",0],[2,"code-box",null],[2,"expand",null]],null,null,le.b,le.a)),l.vb(9,180224,null,0,oe.a,[_.a,ae.g,ce.a,Z.b],{item:[0,"item"]},null),(e()(),l.wb(10,0,null,0,1,"cache-service-simple",[],null,null,null,xe,De)),l.vb(11,180224,null,0,s,[Ne,ae.g],null,null)],(function(e,t){var n=t.component;e(t,1,0,n.codes,n.item),e(t,4,0,16),e(t,7,0,"24"),e(t,9,0,n.codes[0])}),(function(e,t){e(t,8,0,t.component.codes[0].id,!0,l.Ib(t,9).expand)}))}function Me(e){return l.Sb(0,[(e()(),l.wb(0,0,null,null,1,"app-cache-service",[],null,null,null,Re,Ie)),l.vb(1,49152,null,0,i,[],null,null)],null,null)}var Be=l.sb("app-cache-service",i,Me,{},{},[]),Qe=n("s7LF"),je=n("QQfA"),Te=n("IP0z"),$e=n("sAdM"),qe=n("ekcc"),Pe=n("pQl/"),We=n("g+Fz"),Ve=n("Ybye"),Ye=n("NFMk"),Fe=n("10Ig"),Ue=n("iC8E"),Je=n("v1Dh"),Ae=n("66zS"),Ke=n("5Izy"),_e=n("yTpB"),Xe=n("zMNK"),Ze=n("hOhj"),Le=n("r19J"),et=n("anqq"),tt=n("IYs4"),nt=n("EcpC"),lt=n("/L1H"),ot=n("phDe"),at=n("rJp6"),ct=n("Rgb0"),it=n("kS4m"),st=n("mW00"),rt=n("jTf7"),ut=n("WPSl"),bt=n("YdS3"),dt=n("wQFA"),ht=n("px0D"),pt=n("3ZFI"),mt=n("CYS+"),yt=n("oBm0"),ft=n("A7zk"),vt=n("YRt3"),gt=n("lAiz"),Gt=n("ce6n"),kt=n("SBNi"),wt=n("wf2+"),Nt=n("eCGT"),zt=n("nHXS"),St=n("fb/r"),Ht=n("zTFG"),Ot=n("JK0T"),Et=n("0CZq"),Ct=n("qU0y"),Dt=n("vZsH"),xt=n("W4B1"),It=n("SHEi"),Rt=n("FPpa"),Mt=n("RVNi"),Bt=n("NDed"),Qt=n("5A4h"),jt=n("N2O2"),Tt=n("ozKM"),$t=n("OvZZ"),qt=n("z+yo"),Pt=n("DQmg"),Wt=n("haRT"),Vt=n("1+nf"),Yt=n("XFzh"),Ft=n("p+Sl"),Ut=n("HhpN"),Jt=n("SN7N"),At=n("fwnu"),Kt=n("VbP7"),_t=n("gaRz"),Xt=n("e15G"),Zt=n("+YBk"),Lt=n("9J0+"),en=n("vIiB"),tn=n("CGSU"),nn=n("5CFV"),ln=n("GTZx"),on=n("hS58"),an=n("+ndR"),cn=n("EWQH"),sn=n("aq9g"),rn=n("7Dpl"),un=n("ekmu"),bn=n("vjj7"),dn=n("l/Xz"),hn=n("sRo1"),pn=n("BQzg"),mn=n("YQXl"),yn=n("dZIx"),fn=n("9bzR"),vn=n("WNQ9"),gn=n("5Oon"),Gn=n("lM9c"),kn=n("OSVY"),wn=n("MNSj"),Nn=n("MZBU"),zn=n("ev4S"),Sn=n("G1y0"),Hn=n("5sGc"),On=n("4/RT"),En=n("Q1qs"),Cn=n("k5cy"),Dn=n("ceoF"),xn=n("gQlp"),In=n("XYAa"),Rn=n("vrge"),Mn=n("nMAq"),Bn=n("5PV9"),Qn=n("nIn3"),jn=n("xo13"),Tn=n("CnVV"),$n=n("5p8d"),qn=n("qYUw"),Pn=n("JpOc"),Wn=n("VRoF"),Vn=n("Uto7"),Yn=n("/p+U"),Fn=n("ye40"),Un=n("qcxY"),Jn=n("T+Em"),An=n("ucmY"),Kn=n("sbFH"),_n=n("76lH"),Xn=n("TSSN"),Zn=n("Fg/6"),Ln=n("kzz5"),el=n("SqF5"),tl=n("Wl7g"),nl=n("+TYD"),ll=n("PCNd");n.d(t,"CacheModuleNgFactory",(function(){return ol}));var ol=l.tb(r,[],(function(e){return l.Fb([l.Gb(512,l.j,l.db,[[8,[u.a,b.a,b.b,d.a,h.a,p.a,m.a,y.a,f.a,v.a,g.a,G.a,k.a,w.a,N.a,z.a,S.a,H.a,O.a,E.a,C.a,D.a,x.a,I.a,R.a,M.a,B.a,Q.a,j.a,T.a,$.a,q.a,P.a,W.a,V.a,Y.a,F.a,U.a,Ce,Be]],[3,l.j],l.w]),l.Gb(4608,ie.p,ie.o,[l.t,[2,ie.K]]),l.Gb(4608,Qe.x,Qe.x,[]),l.Gb(4608,Qe.e,Qe.e,[]),l.Gb(5120,L.z,L.M,[ie.e,[3,L.z]]),l.Gb(4608,je.d,je.d,[je.k,je.f,l.j,je.i,je.g,l.q,l.y,ie.e,Te.b,[2,ie.j]]),l.Gb(5120,je.l,je.m,[je.d]),l.Gb(4608,ue.c,ue.c,[]),l.Gb(5120,$e.b,$e.a,[[3,$e.b],qe.a]),l.Gb(4608,Pe.d,Pe.d,[l.y]),l.Gb(4608,We.d,We.d,[ie.e]),l.Gb(4608,Ve.a,Ve.a,[Ye.g]),l.Gb(4608,Fe.a,Fe.a,[Ue.d]),l.Gb(1073742336,ie.c,ie.c,[]),l.Gb(1073742336,Qe.w,Qe.w,[]),l.Gb(1073742336,Qe.j,Qe.j,[]),l.Gb(1073742336,X.t,X.t,[[2,X.y],[2,X.p]]),l.Gb(1073742336,Qe.t,Qe.t,[]),l.Gb(1073742336,ne.b,ne.b,[]),l.Gb(1073742336,Je.b,Je.b,[]),l.Gb(1073742336,Ae.b,Ae.b,[]),l.Gb(1073742336,L.j,L.j,[]),l.Gb(1073742336,Ke.b,Ke.b,[]),l.Gb(1073742336,_e.a,_e.a,[]),l.Gb(1073742336,Te.a,Te.a,[]),l.Gb(1073742336,Xe.e,Xe.e,[]),l.Gb(1073742336,Ze.g,Ze.g,[]),l.Gb(1073742336,je.h,je.h,[]),l.Gb(1073742336,L.w,L.w,[]),l.Gb(1073742336,Le.b,Le.b,[]),l.Gb(1073742336,et.b,et.b,[]),l.Gb(1073742336,tt.b,tt.b,[]),l.Gb(1073742336,ue.d,ue.d,[]),l.Gb(1073742336,nt.b,nt.b,[]),l.Gb(1073742336,L.J,L.J,[]),l.Gb(1073742336,re.c,re.c,[]),l.Gb(1073742336,L.x,L.x,[]),l.Gb(1073742336,lt.e,lt.e,[]),l.Gb(1073742336,ot.i,ot.i,[]),l.Gb(1073742336,ot.a,ot.a,[]),l.Gb(1073742336,ot.f,ot.f,[]),l.Gb(1073742336,at.c,at.c,[]),l.Gb(1073742336,ct.b,ct.b,[]),l.Gb(1073742336,it.d,it.d,[]),l.Gb(1073742336,st.c,st.c,[]),l.Gb(1073742336,rt.h,rt.h,[]),l.Gb(1073742336,ut.f,ut.f,[]),l.Gb(1073742336,bt.d,bt.d,[]),l.Gb(1073742336,dt.d,dt.d,[]),l.Gb(1073742336,L.s,L.s,[]),l.Gb(1073742336,ht.d,ht.d,[]),l.Gb(1073742336,pt.b,pt.b,[]),l.Gb(1073742336,mt.c,mt.c,[]),l.Gb(1073742336,yt.a,yt.a,[]),l.Gb(1073742336,ft.a,ft.a,[]),l.Gb(1073742336,vt.b,vt.b,[]),l.Gb(1073742336,gt.g,gt.g,[]),l.Gb(1073742336,gt.b,gt.b,[]),l.Gb(1073742336,Gt.a,Gt.a,[]),l.Gb(1073742336,kt.b,kt.b,[]),l.Gb(1073742336,Ue.e,Ue.e,[]),l.Gb(1073742336,Ue.b,Ue.b,[]),l.Gb(1073742336,te.b,te.b,[]),l.Gb(1073742336,ee.b,ee.b,[]),l.Gb(1073742336,wt.g,wt.g,[]),l.Gb(1073742336,Nt.b,Nt.b,[]),l.Gb(1073742336,zt.a,zt.a,[]),l.Gb(1073742336,St.b,St.b,[]),l.Gb(1073742336,Ht.d,Ht.d,[]),l.Gb(1073742336,Ot.b,Ot.b,[]),l.Gb(1073742336,ae.h,ae.h,[]),l.Gb(1073742336,ae.f,ae.f,[]),l.Gb(1073742336,L.y,L.y,[]),l.Gb(1073742336,Ye.h,Ye.h,[]),l.Gb(1073742336,Ye.d,Ye.d,[]),l.Gb(1073742336,Ye.e,Ye.e,[]),l.Gb(1073742336,Et.f,Et.f,[]),l.Gb(1073742336,Et.e,Et.e,[]),l.Gb(1073742336,Ct.a,Ct.a,[]),l.Gb(1073742336,Dt.b,Dt.b,[]),l.Gb(1073742336,xt.b,xt.b,[]),l.Gb(1073742336,It.c,It.c,[]),l.Gb(1073742336,Rt.c,Rt.c,[]),l.Gb(1073742336,Mt.b,Mt.b,[]),l.Gb(1073742336,Bt.c,Bt.c,[]),l.Gb(1073742336,Qt.a,Qt.a,[]),l.Gb(1073742336,jt.b,jt.b,[]),l.Gb(1073742336,Tt.d,Tt.d,[]),l.Gb(1073742336,$t.a,$t.a,[]),l.Gb(1073742336,qt.c,qt.c,[]),l.Gb(1073742336,Pt.b,Pt.b,[]),l.Gb(1073742336,Wt.b,Wt.b,[]),l.Gb(1073742336,Vt.f,Vt.f,[]),l.Gb(1073742336,Yt.b,Yt.b,[]),l.Gb(1073742336,Ft.a,Ft.a,[]),l.Gb(1073742336,L.D,L.D,[]),l.Gb(1073742336,Ut.c,Ut.c,[]),l.Gb(1073742336,Jt.b,Jt.b,[]),l.Gb(1073742336,At.b,At.b,[]),l.Gb(1073742336,L.o,L.o,[]),l.Gb(1073742336,Kt.a,Kt.a,[]),l.Gb(1073742336,_t.d,_t.d,[]),l.Gb(1073742336,Xt.a,Xt.a,[]),l.Gb(1073742336,Zt.a,Zt.a,[]),l.Gb(1073742336,Lt.a,Lt.a,[Ae.c]),l.Gb(1073742336,en.a,en.a,[]),l.Gb(1073742336,tn.a,tn.a,[]),l.Gb(1073742336,nn.a,nn.a,[]),l.Gb(1073742336,ln.a,ln.a,[]),l.Gb(1073742336,on.a,on.a,[]),l.Gb(1073742336,an.a,an.a,[]),l.Gb(1073742336,cn.a,cn.a,[]),l.Gb(1073742336,sn.a,sn.a,[]),l.Gb(1073742336,rn.a,rn.a,[]),l.Gb(1073742336,un.a,un.a,[]),l.Gb(1073742336,bn.a,bn.a,[]),l.Gb(1073742336,dn.a,dn.a,[]),l.Gb(1073742336,hn.a,hn.a,[]),l.Gb(1073742336,pn.a,pn.a,[]),l.Gb(1073742336,Pe.c,Pe.c,[]),l.Gb(1073742336,mn.a,mn.a,[]),l.Gb(1073742336,yn.a,yn.a,[]),l.Gb(1073742336,fn.a,fn.a,[]),l.Gb(1073742336,vn.a,vn.a,[]),l.Gb(1073742336,gn.a,gn.a,[]),l.Gb(1073742336,Gn.a,Gn.a,[]),l.Gb(1073742336,kn.a,kn.a,[]),l.Gb(1073742336,wn.a,wn.a,[]),l.Gb(1073742336,Nn.a,Nn.a,[]),l.Gb(1073742336,zn.a,zn.a,[]),l.Gb(1073742336,Sn.a,Sn.a,[]),l.Gb(1073742336,Hn.a,Hn.a,[]),l.Gb(1073742336,On.a,On.a,[]),l.Gb(1073742336,En.a,En.a,[]),l.Gb(1073742336,Cn.a,Cn.a,[]),l.Gb(1073742336,Dn.a,Dn.a,[]),l.Gb(1073742336,xn.a,xn.a,[]),l.Gb(1073742336,In.a,In.a,[]),l.Gb(1073742336,Rn.a,Rn.a,[]),l.Gb(1073742336,Mn.a,Mn.a,[]),l.Gb(1073742336,Bn.a,Bn.a,[]),l.Gb(1073742336,Qn.a,Qn.a,[]),l.Gb(1073742336,jn.a,jn.a,[]),l.Gb(1073742336,Tn.a,Tn.a,[]),l.Gb(1073742336,$n.a,$n.a,[]),l.Gb(1073742336,qn.a,qn.a,[]),l.Gb(1073742336,Pn.a,Pn.a,[]),l.Gb(1073742336,Wn.a,Wn.a,[]),l.Gb(1073742336,Vn.a,Vn.a,[]),l.Gb(1073742336,Yn.a,Yn.a,[]),l.Gb(1073742336,Fn.a,Fn.a,[]),l.Gb(1073742336,Un.a,Un.a,[]),l.Gb(1073742336,Jn.a,Jn.a,[]),l.Gb(1073742336,An.a,An.a,[]),l.Gb(1073742336,Kn.a,Kn.a,[]),l.Gb(1073742336,_n.a,_n.a,[]),l.Gb(1073742336,Xn.h,Xn.h,[]),l.Gb(1073742336,Zn.b,Zn.b,[]),l.Gb(1073742336,Ln.a,Ln.a,[]),l.Gb(1073742336,We.c,We.c,[]),l.Gb(1073742336,el.c,el.c,[]),l.Gb(1073742336,tl.d,tl.d,[]),l.Gb(1073742336,tl.h,tl.h,[]),l.Gb(1073742336,tl.b,tl.b,[]),l.Gb(1073742336,tl.j,tl.j,[]),l.Gb(1073742336,tl.l,tl.l,[]),l.Gb(1073742336,tl.p,tl.p,[]),l.Gb(1073742336,tl.t,tl.t,[]),l.Gb(1073742336,nl.a,nl.a,[]),l.Gb(1073742336,ll.a,ll.a,[]),l.Gb(1073742336,r,r,[]),l.Gb(256,ae.b,{nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24},[]),l.Gb(256,Et.b,{nzTop:"24px",nzBottom:"24px",nzPlacement:"topRight",nzDuration:4500,nzMaxStack:7,nzPauseOnHover:!0,nzAnimate:!0},[]),l.Gb(256,qe.a,Zt.b,[]),l.Gb(1024,X.n,(function(){return[[{path:"",component:o.a,children:[{path:"",redirectTo:"getting-started/zh",pathMatch:"full"},{path:"getting-started",redirectTo:"getting-started/zh",pathMatch:"full"},{path:"getting-started/:lang",component:a},{path:"service",redirectTo:"service/zh",pathMatch:"full"},{path:"service/:lang",component:i}]}]]}),[])])}))}}]);