@colijnit/product 2.9.1 → 12.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/components/core/header/header.module.d.ts +2 -0
- package/app/components/image-carousel/image-carousel.module.d.ts +2 -0
- package/app/components/product-additional-description/product-additional-description.module.d.ts +2 -0
- package/app/components/product-additional-info/product-additional-info.module.d.ts +2 -0
- package/app/components/product-addtocart/product-addtocart.module.d.ts +2 -0
- package/app/components/product-delivery/product-delivery.module.d.ts +2 -0
- package/app/components/product-description/product-description.module.d.ts +2 -0
- package/app/components/product-documents/product-document.module.d.ts +2 -0
- package/app/components/product-info-tabs/product-info-tabs.module.d.ts +2 -0
- package/app/components/product-page/product-page.component.d.ts +3 -1
- package/app/components/product-price/product-price.module.d.ts +2 -0
- package/app/components/product-properties/product-properties.module.d.ts +2 -0
- package/app/components/product-related/product-related.module.d.ts +2 -0
- package/app/components/product-selector-type/product-selector-type.module.d.ts +2 -0
- package/app/components/product-stock/product-stock.component.d.ts +3 -1
- package/app/components/product-stock/product-stock.module.d.ts +2 -0
- package/app/components/product-symbols/product-symbols.module.d.ts +2 -0
- package/app/ione-product.component.d.ts +2 -0
- package/bundles/colijnit-product.umd.js +1433 -959
- package/bundles/colijnit-product.umd.js.map +1 -1
- package/colijnit-product.d.ts +40 -27
- package/colijnit-product.metadata.json +1 -1
- package/esm2015/app/components/core/header/header.component.js +21 -17
- package/esm2015/app/components/core/header/header.module.js +19 -0
- package/esm2015/app/components/image-carousel/image-carousel.component.js +51 -35
- package/esm2015/app/components/image-carousel/image-carousel.module.js +23 -0
- package/esm2015/app/components/product-additional-description/product-additional-description.component.js +20 -15
- package/esm2015/app/components/product-additional-description/product-additional-description.module.js +21 -0
- package/esm2015/app/components/product-additional-info/product-additional-info.component.js +22 -20
- package/esm2015/app/components/product-additional-info/product-additional-info.module.js +21 -0
- package/esm2015/app/components/product-addtocart/product-addtocart.component.js +43 -40
- package/esm2015/app/components/product-addtocart/product-addtocart.module.js +24 -0
- package/esm2015/app/components/product-delivery/product-delivery.component.js +22 -15
- package/esm2015/app/components/product-delivery/product-delivery.module.js +23 -0
- package/esm2015/app/components/product-description/product-description.component.js +18 -14
- package/esm2015/app/components/product-description/product-description.module.js +19 -0
- package/esm2015/app/components/product-documents/product-document.module.js +25 -0
- package/esm2015/app/components/product-documents/product-documents.component.js +19 -18
- package/esm2015/app/components/product-external-source/product-external-source.component.js +32 -45
- package/esm2015/app/components/product-external-source/product-external-source.module.js +17 -19
- package/esm2015/app/components/product-info-tabs/product-info-tabs.component.js +36 -18
- package/esm2015/app/components/product-info-tabs/product-info-tabs.module.js +29 -0
- package/esm2015/app/components/product-page/product-page.component.js +56 -60
- package/esm2015/app/components/product-page/product-page.module.js +40 -62
- package/esm2015/app/components/product-price/product-price.component.js +26 -19
- package/esm2015/app/components/product-price/product-price.module.js +23 -0
- package/esm2015/app/components/product-properties/product-properties.component.js +24 -17
- package/esm2015/app/components/product-properties/product-properties.module.js +21 -0
- package/esm2015/app/components/product-related/product-related.component.js +33 -24
- package/esm2015/app/components/product-related/product-related.module.js +24 -0
- package/esm2015/app/components/product-selector-type/product-selector-type.component.js +30 -28
- package/esm2015/app/components/product-selector-type/product-selector-type.module.js +26 -0
- package/esm2015/app/components/product-stock/product-stock.component.js +29 -16
- package/esm2015/app/components/product-stock/product-stock.module.js +23 -0
- package/esm2015/app/components/product-symbols/product-symbols.component.js +28 -17
- package/esm2015/app/components/product-symbols/product-symbols.module.js +26 -0
- package/esm2015/app/enum/icon.enum.js +1 -1
- package/esm2015/app/enum/language-code.enum.js +1 -1
- package/esm2015/app/enum/selector-type.enum.js +1 -1
- package/esm2015/app/ione-product.component.js +39 -51
- package/esm2015/app/ione-product.module.js +21 -27
- package/esm2015/app/model/article-quantity.model.js +1 -1
- package/esm2015/app/model/icon.js +1 -1
- package/esm2015/app/model/productSettings.js +1 -1
- package/esm2015/app/model/render-modes.js +1 -1
- package/esm2015/app/model/render-parameters.js +1 -1
- package/esm2015/app/model/settings-options.js +1 -1
- package/esm2015/app/model/stock-and-delivery.js +1 -1
- package/esm2015/app/pipe/localize.pipe.js +8 -12
- package/esm2015/app/pipe/pipe.module.js +16 -18
- package/esm2015/app/product-version.js +3 -3
- package/esm2015/app/service/dictionary.service.js +10 -11
- package/esm2015/app/service/icon-cache.service.js +10 -12
- package/esm2015/app/service/product-connector-adapter.service.js +8 -8
- package/esm2015/app/service/product-connector.service.js +7 -8
- package/esm2015/app/service/product-event.service.js +12 -20
- package/esm2015/app/service/product-settings.service.js +7 -8
- package/esm2015/app/utils/bit-utils.js +1 -1
- package/esm2015/app/utils/json-utils.service.js +9 -10
- package/esm2015/assets/dictionary/text.properties.js +1 -1
- package/esm2015/colijnit-product.js +41 -28
- package/esm2015/public_api.js +2 -1
- package/fesm2015/colijnit-product.js +1053 -722
- package/fesm2015/colijnit-product.js.map +1 -1
- package/package.json +15 -18
- package/public_api.d.ts +1 -0
- package/app/components/product-info/product-info.component.d.ts +0 -14
- package/bundles/colijnit-product.umd.min.js +0 -16
- package/bundles/colijnit-product.umd.min.js.map +0 -1
- package/esm2015/app/components/product-info/product-info.component.js +0 -38
- package/esm5/app/components/core/header/header.component.js +0 -24
- package/esm5/app/components/image-carousel/image-carousel.component.js +0 -170
- package/esm5/app/components/product-additional-description/product-additional-description.component.js +0 -59
- package/esm5/app/components/product-additional-info/product-additional-info.component.js +0 -142
- package/esm5/app/components/product-addtocart/product-addtocart.component.js +0 -133
- package/esm5/app/components/product-delivery/product-delivery.component.js +0 -47
- package/esm5/app/components/product-description/product-description.component.js +0 -21
- package/esm5/app/components/product-documents/product-documents.component.js +0 -31
- package/esm5/app/components/product-external-source/product-external-source.component.js +0 -126
- package/esm5/app/components/product-external-source/product-external-source.module.js +0 -26
- package/esm5/app/components/product-info/product-info.component.js +0 -39
- package/esm5/app/components/product-info-tabs/product-info-tabs.component.js +0 -70
- package/esm5/app/components/product-page/product-page.component.js +0 -247
- package/esm5/app/components/product-page/product-page.module.js +0 -69
- package/esm5/app/components/product-price/product-price.component.js +0 -74
- package/esm5/app/components/product-properties/product-properties.component.js +0 -60
- package/esm5/app/components/product-related/product-related.component.js +0 -78
- package/esm5/app/components/product-selector-type/product-selector-type.component.js +0 -54
- package/esm5/app/components/product-stock/product-stock.component.js +0 -41
- package/esm5/app/components/product-symbols/product-symbols.component.js +0 -43
- package/esm5/app/enum/icon.enum.js +0 -19
- package/esm5/app/enum/language-code.enum.js +0 -8
- package/esm5/app/enum/selector-type.enum.js +0 -7
- package/esm5/app/ione-product.component.js +0 -194
- package/esm5/app/ione-product.module.js +0 -35
- package/esm5/app/model/article-quantity.model.js +0 -7
- package/esm5/app/model/icon.js +0 -18
- package/esm5/app/model/productSettings.js +0 -18
- package/esm5/app/model/render-modes.js +0 -7
- package/esm5/app/model/render-parameters.js +0 -12
- package/esm5/app/model/settings-options.js +0 -15
- package/esm5/app/model/stock-and-delivery.js +0 -10
- package/esm5/app/pipe/localize.pipe.js +0 -33
- package/esm5/app/pipe/pipe.module.js +0 -23
- package/esm5/app/product-version.js +0 -12
- package/esm5/app/service/dictionary.service.js +0 -95
- package/esm5/app/service/icon-cache.service.js +0 -47
- package/esm5/app/service/product-connector-adapter.service.js +0 -248
- package/esm5/app/service/product-connector.service.js +0 -141
- package/esm5/app/service/product-event.service.js +0 -38
- package/esm5/app/service/product-settings.service.js +0 -107
- package/esm5/app/utils/bit-utils.js +0 -22
- package/esm5/app/utils/json-utils.service.js +0 -42
- package/esm5/assets/dictionary/text.properties.js +0 -67
- package/esm5/colijnit-product.js +0 -33
- package/esm5/public_api.js +0 -5
- package/fesm5/colijnit-product.js +0 -2581
- package/fesm5/colijnit-product.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,39 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/product",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"description": "Product detail page project for iOne",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@colijnit/articleapi": ">=1.0.27",
|
|
8
|
-
"@colijnit/corecomponents": ">=1.
|
|
8
|
+
"@colijnit/corecomponents": ">=1.12.0",
|
|
9
9
|
"@colijnit/ioneconnector": ">=3.1.5",
|
|
10
10
|
"@colijnit/mainapi": ">=1.0.23",
|
|
11
11
|
"@colijnit/transactionapi": ">=1.1.98"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@angular/animations": "~
|
|
15
|
-
"@angular/common": "~
|
|
16
|
-
"@angular/compiler": "~
|
|
17
|
-
"@angular/core": "~
|
|
18
|
-
"@angular/elements": "^
|
|
19
|
-
"@angular/forms": "~
|
|
20
|
-
"@angular/platform-browser": "~
|
|
21
|
-
"@angular/platform-browser-dynamic": "~
|
|
22
|
-
"@angular/router": "~
|
|
14
|
+
"@angular/animations": "~12.2.17",
|
|
15
|
+
"@angular/common": "~12.2.17",
|
|
16
|
+
"@angular/compiler": "~12.2.17",
|
|
17
|
+
"@angular/core": "~12.2.17",
|
|
18
|
+
"@angular/elements": "^12.2.17",
|
|
19
|
+
"@angular/forms": "~12.2.17",
|
|
20
|
+
"@angular/platform-browser": "~12.2.17",
|
|
21
|
+
"@angular/platform-browser-dynamic": "~12.2.17",
|
|
22
|
+
"@angular/router": "~12.2.17",
|
|
23
23
|
"core-js": "^2.5.4",
|
|
24
|
-
"elements-zone-strategy": "^9.0.0",
|
|
25
24
|
"rxjs": "~6.6.7",
|
|
26
|
-
"tslib": "^
|
|
27
|
-
"zone.js": "~0.
|
|
25
|
+
"tslib": "^2.0.0",
|
|
26
|
+
"zone.js": "~0.11.4"
|
|
28
27
|
},
|
|
29
28
|
"main": "bundles/colijnit-product.umd.js",
|
|
30
|
-
"module": "
|
|
29
|
+
"module": "fesm2015/colijnit-product.js",
|
|
31
30
|
"es2015": "fesm2015/colijnit-product.js",
|
|
32
|
-
"esm5": "esm5/colijnit-product.js",
|
|
33
31
|
"esm2015": "esm2015/colijnit-product.js",
|
|
34
|
-
"fesm5": "fesm5/colijnit-product.js",
|
|
35
32
|
"fesm2015": "fesm2015/colijnit-product.js",
|
|
36
33
|
"typings": "colijnit-product.d.ts",
|
|
37
34
|
"metadata": "colijnit-product.metadata.json",
|
|
38
35
|
"sideEffects": false
|
|
39
|
-
}
|
|
36
|
+
}
|
package/public_api.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./app/product-version";
|
|
2
2
|
export * from './app/ione-product.module';
|
|
3
|
+
export * from './app/ione-product.component';
|
|
3
4
|
export * from "./app/components/product-external-source/product-external-source.component";
|
|
4
5
|
export * from "./app/components/product-external-source/product-external-source.module";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
3
|
-
export declare enum TabType {
|
|
4
|
-
Additional = "additional",
|
|
5
|
-
Properties = "properties"
|
|
6
|
-
}
|
|
7
|
-
export declare class ProductInfoComponent implements OnInit {
|
|
8
|
-
readonly tabType: typeof TabType;
|
|
9
|
-
article: ArticleFullObject;
|
|
10
|
-
currentTab: TabType;
|
|
11
|
-
constructor();
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
switchTab(tab: TabType): void;
|
|
14
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("rxjs"),require("@colijnit/ioneconnector/build/model/options"),require("@colijnit/articleapi/build/model/article-full-object"),require("@colijnit/articleapi/build/model/super-article"),require("@colijnit/articleapi/build/articles"),require("@colijnit/articleapi/build/model/delivery-prognosis"),require("@colijnit/articleapi/build/model/document-content"),require("@colijnit/ioneconnector/build/service/business-object-factory"),require("@colijnit/transactionapi/build/transaction"),require("@colijnit/mainapi"),require("@angular/common/http"),require("@colijnit/ioneconnector/build/utils/string-utils"),require("@angular/common"),require("@angular/platform-browser"),require("@angular/animations"),require("@colijnit/mainapi/build/model/co-document"),require("@colijnit/corecomponents"),require("@colijnit/articleapi/build/model/configurator-statistics-environment")):"function"==typeof define&&define.amd?define("@colijnit/product",["exports","@angular/core","rxjs","@colijnit/ioneconnector/build/model/options","@colijnit/articleapi/build/model/article-full-object","@colijnit/articleapi/build/model/super-article","@colijnit/articleapi/build/articles","@colijnit/articleapi/build/model/delivery-prognosis","@colijnit/articleapi/build/model/document-content","@colijnit/ioneconnector/build/service/business-object-factory","@colijnit/transactionapi/build/transaction","@colijnit/mainapi","@angular/common/http","@colijnit/ioneconnector/build/utils/string-utils","@angular/common","@angular/platform-browser","@angular/animations","@colijnit/mainapi/build/model/co-document","@colijnit/corecomponents","@colijnit/articleapi/build/model/configurator-statistics-environment"],e):e(((t=t||self).colijnit=t.colijnit||{},t.colijnit.product={}),t.ng.core,t.rxjs,t.options,t.articleFullObject,t.superArticle,t.articles,t.deliveryPrognosis,t.documentContent,t.businessObjectFactory,t.transaction,t.mainapi,t.ng.common.http,t.stringUtils,t.ng.common,t.ng.platformBrowser,t.ng.animations,t.coDocument,t.corecomponents,t.configuratorStatisticsEnvironment)}(this,(function(t,e,i,n,r,o,a,l,c,s,p,d,u,f,g,h,m,y,b,v){"use strict";
|
|
2
|
-
/*! *****************************************************************************
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
-
purpose with or without fee is hereby granted.
|
|
7
|
-
|
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */function x(t,e,i,n){var r,o=arguments.length,a=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,i,a):r(e,i))||a);return o>3&&a&&Object.defineProperty(e,i,a),a}function w(t,e,i,n){return new(i||(i=Promise))((function(r,o){function a(t){try{c(n.next(t))}catch(t){o(t)}}function l(t){try{c(n.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(a,l)}c((n=n.apply(t,e||[])).next())}))}function _(t,e){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}function k(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,o=i.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function S(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(k(arguments[e]));return t}var I,C=function(){this.name="@colijnit/product",this.description="Product detail page project for iOne",this.symVer="2.9.1",this.publishDate="14-9-2023 16:32:35"},T=function(){function t(){}return t.prototype.readJsonFile=function(t){return w(this,void 0,void 0,(function(){var e,i;return _(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,fetch(t)];case 1:return(e=n.sent()).ok?[2,e.json()]:[2,null];case 2:return i=n.sent(),console.error("Error getting file:",i.message),[2,""];case 3:return[2]}}))}))},t.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t=x([e.Injectable({providedIn:"root"})],t)}(),D=function(){this.showStockStatus=!1,this.showZoomButton=!1,this.showTagFilter=!1,this.showAsConfigured=!1,this.inlineAnswers=!1,this.showArButton=!1,this.arEnabled=!1,this.vrEnabled=!1};!function(t){t.RenderRoom="render_room",t.RenderShop="render_shop",t.RenderIone="render_ione"}(I||(I={}));var A,O=function(){this.host="",this.port=0,this.secure=!1,this.renderMode=I.RenderShop},E=function(){this.session=void 0,this.useGroups=!0,this.useRenders=!1,this.useLoginEncryption=!0,this.createWebOrder=!0,this.useMatch=!1,this.currencySymbol="€",this.options=new D,this.renderParameters=new O},R=function(){function t(){this.showLoader=new i.Subject,this._boFactory=new s.BusinessObjectFactory}return t.prototype.ngOnDestroy=function(){this.articleConnector.showLoader.unsubscribe()},t.prototype.initConnector=function(t){return w(this,void 0,void 0,(function(){var e=this;return _(this,(function(i){switch(i.label){case 0:return this.articleConnector=new a.Articles(t),[4,this.articleConnector.connect()];case 1:return i.sent(),this.transactionConnector=new p.Transaction(t),this.articleConnector.showLoader.subscribe((function(t){return e.showLoader.next(t)})),[2]}}))}))},t.prototype.setInstance=function(t){},t.prototype.getProductBundleSettings=function(t,e){return w(this,void 0,void 0,(function(){var i,n;return _(this,(function(r){switch(r.label){case 0:return(i=new E).url=t,i.schema=e.toString(),[4,new d.MainApi(i).getPublicParams(e)];case 1:return(n=r.sent())?[2,n.productSettings]:[2,""]}}))}))},t.prototype.getDeliveryPrognosis=function(t,e){return w(this,void 0,void 0,(function(){var e;return _(this,(function(i){switch(i.label){case 0:return[4,this.getSelectorDeliveryDate()];case 1:return(e=i.sent())&&e.returnValue?[2,e]:[2,this.getDeliveryDate2(t)]}}))}))},t.prototype.getSelectorDeliveryDate=function(){return w(this,void 0,void 0,(function(){var t;return _(this,(function(e){switch(e.label){case 0:return[4,this.articleConnector.getSelectorDeliveryDate()];case 1:return(t=e.sent())&&t.validationResult&&t.validationResult.success?[2,this._boFactory.makeWithRawBackendData(l.DeliveryPrognosis,t.resultObject)]:[2,null]}}))}))},t.prototype.getDeliveryDate2=function(t){return w(this,void 0,void 0,(function(){var e;return _(this,(function(i){switch(i.label){case 0:return[4,this.articleConnector.getDeliveryDate2(t)];case 1:return(e=i.sent())&&e.validationResult&&e.validationResult.success?[2,this._boFactory.makeWithRawBackendData(l.DeliveryPrognosis,e.resultObject)]:[2,null]}}))}))},t.prototype.getJsonConfiguredArticles=function(t){return w(this,void 0,void 0,(function(){var e;return _(this,(function(i){switch(i.label){case 0:return[4,this.articleConnector.getJsonConfiguredArticles(t)];case 1:return(e=i.sent())&&e.validationResult&&e.validationResult.success?[2,e.resultObject]:[2,""]}}))}))},t.prototype.getJsonArticleFlatTree=function(t,e,i,n,r,o){return void 0===n&&(n=!0),w(this,void 0,void 0,(function(){return _(this,(function(a){return[2,this.articleConnector.getJsonArticleFlatTree(t,e,i,n,r,o)]}))}))},t.prototype.getGoodIdFromArticleNr=function(t){return w(this,void 0,void 0,(function(){var e;return _(this,(function(i){switch(i.label){case 0:return[4,this.articleConnector.getGoodIdFromArticleNr(t)];case 1:return(e=i.sent())&&e.validationResult&&e.validationResult.success?[2,e.resultObject]:[2,null]}}))}))},t.prototype.getArticleFullObject=function(t){return w(this,void 0,void 0,(function(){var e;return _(this,(function(i){switch(i.label){case 0:return[4,this.articleConnector.getArticleFullObject(t)];case 1:return(e=i.sent())&&e.validationResult&&e.validationResult.success?[2,this._boFactory.makeWithRawBackendData(r.ArticleFullObject,e.resultObject)]:[2,null]}}))}))},t.prototype.getSuperArticle=function(t,e){return w(this,void 0,void 0,(function(){var i;return _(this,(function(n){switch(n.label){case 0:return[4,this.articleConnector.getSuperArticleQuickSel(t,e)];case 1:return(i=n.sent())&&i.validationResult&&i.validationResult.success?[2,this._boFactory.makeWithRawBackendData(o.SuperArticle,i.resultObject)]:[2,null]}}))}))},t.prototype.getDocumentContent=function(t,e){return void 0===e&&(e=!0),w(this,void 0,void 0,(function(){var i;return _(this,(function(n){switch(n.label){case 0:return[4,this.articleConnector.getDocumentContent(t,e)];case 1:return(i=n.sent())&&i.validationResult&&i.validationResult.success?[2,this._boFactory.makeWithRawBackendData(c.DocumentContent,i.resultObject)]:[2,null]}}))}))},t.prototype.addWebSessionTransactionLine=function(t,e){return w(this,void 0,void 0,(function(){return _(this,(function(i){switch(i.label){case 0:return[4,this.transactionConnector.addWebSessionTransactionLine(t,e)];case 1:return[2,i.sent()]}}))}))},t.prototype.getWebTransaction=function(){return w(this,void 0,void 0,(function(){return _(this,(function(t){switch(t.label){case 0:return[4,this.transactionConnector.getWebSessionSalesOrder()];case 1:return[2,t.sent()]}}))}))},t=x([e.Injectable()],t)}();!function(t){t.Dutch="nl-NL",t.English="en-GB",t.German="de-DE",t.French="fr-FR"}(A||(A={}));var P,j,z=function(){this.strings={nl:{ADDITIONAL_DATA:"Extra informatie",ALTERNATIVE_PRODUCTS:"Alternatieve producten",ARTICLE_NUMBER:"Artikel nummer",CATEGORY:"Categorie",CATEGORY_TYPE:"Categorie type",CONFIGURE:"Configureren",DELIVERY_TIME_PERIOD:"Levertijd",DESCRIPTION:"Omschrijving",DOCUMENTS:"Documenten",DOWNLOADS:"Downloads",FEATURES:"Kenmerken",HEIGHT:"Hoogte",MATERIAL:"Materiaal",PRODUCT_IN_STOCK:"Op voorraad",PRODUCT_NOT_IN_STOCK:"Niet op voorraad",PROPERTIES:"Eigenschappen",QUOTATION:"Quotatie",READ_MORE:"Lees meer",RELATED_PRODUCTS:"Gerelateerde producten",SHOPPING_CART_IN:"In winkelwagen",SHOW_IN:"Laat zien",STOCK:"Voorraad",SYMBOLS:"Symbolen",TITLE:"Titel",TURNOVERGROUP:"Omzetgroep",VARIANTS:"Varianten",WIDTH:"Breedte"},de:{ADDITIONAL_DATA:"Extra informatie",ALTERNATIVE_PRODUCTS:"Alternative Produkte",ARTICLE_NUMBER:"Artikelnummer",CATEGORY:"Kategorie",CATEGORY_TYPE:"Kategorietype",CONFIGURE:"Konfigurieren",DELIVERY_TIME_PERIOD:"Lieferzeit",DESCRIPTION:"Beschreibung",DOCUMENTS:"Dateien",DOWNLOADS:"Downloads",FEATURES:"Eigenschaften",HEIGHT:"Höhe",MATERIAL:"Material",PRODUCT_IN_STOCK:"Auf lager",PRODUCT_NOT_IN_STOCK:"Nicht auf lager",PROPERTIES:"Eigenschaften",QUOTATION:"Angebot",READ_MORE:"Lesen Sie mehr",RELATED_PRODUCTS:"Verwandte Produkte",SHOPPING_CART_IN:"Im Einkaufswagen",SHOW_IN:"Zeigen",STOCK:"Vorrat",SYMBOLS:"Symbole",TITLE:"Titulatur",TURNOVERGROUP:"Umsatzgruppe",VARIANTS:"Varianten",WIDTH:"Breite"}}},L=function(){function t(t,e){this._http=t,this._jsonUtils=e,this.dictionaryUrl="js/browser/res/dictionary/",this._dictionaries=new Map,this._placeholder="|~"}return Object.defineProperty(t.prototype,"language",{get:function(){return this._language},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootUrl",{set:function(t){this._rootUrl=t,this._dictBasePath=this._rootUrl+"/"+this.dictionaryUrl},enumerable:!0,configurable:!0}),t.prototype.setDictionary=function(t){return w(this,void 0,void 0,(function(){var e;return _(this,(function(i){return this._language=t||A.Dutch,this._dictionaries.has(this._language)||void 0!==(e=new z).strings[this._language.substr(0,2).toLowerCase()]&&this._dictionaries.set(this._language,e.strings[this._language.substr(0,2).toLowerCase()]),[2]}))}))},t.prototype.get=function(t,e){void 0===e&&(e=!0);for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];if(!f.StringUtils.IsStringWithLength(t))return t||"";var r=this._dictionaries.get(this.language)[t];return r=f.StringUtils.IsStringWithLength(r)?r:t,r=e?r.charAt(0).toUpperCase()+r.slice(1):r.charAt(0).toLowerCase()+r.slice(1),i.length>0&&(r=f.StringUtils.ReplaceOccurrencesIn.apply(f.StringUtils,S([r,this._placeholder],i))),r},t.ctorParameters=function(){return[{type:u.HttpClient},{type:T}]},t.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(u.HttpClient),e.ɵɵinject(T))},token:t,providedIn:"root"}),t=x([e.Injectable({providedIn:"root"})],t)}(),M=function(){function t(t,e){this._jsonUtilsService=t,this._dictionaryService=e,this.settingsLoaded=new i.BehaviorSubject(!1)}return Object.defineProperty(t.prototype,"settings",{get:function(){return this._settings},set:function(t){this._settings=t},enumerable:!0,configurable:!0}),t.prototype.initializeSettings=function(){return w(this,void 0,void 0,(function(){var t;return _(this,(function(e){switch(e.label){case 0:return"undefined"!=typeof settings?[3,2]:[4,this._jsonUtilsService.readJsonFile("product-settings.json")];case 1:return(t=e.sent())&&(this.settings=Object.assign(new E,t),this.settings.options=Object.assign(new D,this.settings.options),this.settingsFinished()),[3,3];case 2:this.settings=Object.assign(new E,settings),this.settings.options=Object.assign(new D,this.settings.options),this.settingsFinished(),e.label=3;case 3:return[2]}}))}))},t.prototype.createSettingsFromObject=function(t){return w(this,void 0,void 0,(function(){var e,i;return _(this,(function(n){return this.settings||(this.settings=new E),e=Object.assign({},this.settings.options),i=Object.assign({},this.settings.renderParameters),this.settings=Object.assign({},this.settings,t),t.renderParameters&&(this.settings.renderParameters=Object.assign({},i,t.renderParameters)),t.options&&(this.settings.options=Object.assign({},e,t.options)),t.hasOwnProperty("assetPath")&&(this.settings.assetPath=t.assetPath,"/"!==this.settings.assetPath[this.settings.assetPath.length-1]&&(this.settings.assetPath+="/"),this.settings.threeDAssetPath=this.settings.assetPath),t.hasOwnProperty("threeDAssetPath")&&(this.settings.threeDAssetPath=t.threeDAssetPath,"/"!==this.settings.threeDAssetPath[this.settings.threeDAssetPath.length-1]&&(this.settings.threeDAssetPath+="/")),this.settingsFinished(),[2]}))}))},t.prototype.settingsFinished=function(){return w(this,void 0,void 0,(function(){return _(this,(function(t){switch(t.label){case 0:return[4,this._dictionaryService.setDictionary(this.settings.languageCode)];case 1:return t.sent(),this.settingsLoaded.next(!0),[2]}}))}))},t.ctorParameters=function(){return[{type:T},{type:L}]},t=x([e.Injectable()],t)}(),N=function(){function t(t,e){this._adapterService=t,this._settingsService=e,this.controllerInitialized=new i.BehaviorSubject(!1),this._initializing=!1,this._initialized=!1,this.connectorOptions=new n.Options,this.subs=[]}return Object.defineProperty(t.prototype,"shouldShowLoader",{get:function(){return this._shouldShowLoader},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.subs.forEach((function(t){return t.unsubscribe()}))},t.prototype.initConnection=function(){return w(this,void 0,void 0,(function(){var t;return _(this,(function(e){switch(e.label){case 0:if(this._initialized||this._initializing)return[2];this._initializing=!0,e.label=1;case 1:if(e.trys.push([1,3,,4]),!(t=this._settingsService.settings))throw Error("Settings are not defined!");return this.connectorOptions=Object.assign(new n.Options,t),[4,this._adapterService.initConnector(this.connectorOptions)];case 2:return e.sent(),this.controllerInitialized.next(!0),this._initialized=!0,this._initializing=!1,[3,4];case 3:return e.sent(),this._initializing=!1,[3,4];case 4:return[2]}}))}))},t.prototype.getProductBundleSettings=function(t,e){return w(this,void 0,void 0,(function(){return _(this,(function(i){return[2,this._adapterService.getProductBundleSettings(t,e)]}))}))},t.prototype.setInstance=function(t){this._instanceId=t,this._adapterService.setInstance(t)},t.prototype.getFullArticle=function(t){return w(this,void 0,void 0,(function(){var e;return _(this,(function(i){switch(i.label){case 0:return[4,this._adapterService.getGoodIdFromArticleNr(t)];case 1:return(e=i.sent())?[2,this._adapterService.getArticleFullObject(e)]:[2,null]}}))}))},t.prototype.getDocumentContent=function(t,e){return void 0===e&&(e=!0),this._adapterService.getDocumentContent(t,e)},t.prototype.getDeliveryPrognosis=function(t){return this._adapterService.getDeliveryPrognosis(t)},t.prototype.getSelectorDeliveryDate=function(){return w(this,void 0,void 0,(function(){return _(this,(function(t){return[2,this._adapterService.getSelectorDeliveryDate()]}))}))},t.prototype.getDeliveryDate2=function(t){return this._adapterService.getDeliveryDate2(t)},t.prototype.getSuperArticle=function(t){return this._adapterService.getSuperArticle(t)},t.prototype.getJsonArticleFlatTree=function(t,e,i,n,r){return void 0===n&&(n=!0),this._adapterService.getJsonArticleFlatTree(t,e,i,n,this._instanceId,r)},t.prototype.addWebSessionTransactionLine=function(t,e){return w(this,void 0,void 0,(function(){return _(this,(function(i){switch(i.label){case 0:return[4,this._adapterService.addWebSessionTransactionLine(t,e)];case 1:return[2,i.sent()]}}))}))},t.prototype.getWebTransaction=function(){this._adapterService.getWebTransaction().then((function(t){console.log(t)}))},t.prototype.onShowLoaderChange=function(t){this._shouldShowLoader=t},t.ctorParameters=function(){return[{type:R},{type:M}]},t=x([e.Injectable()],t)}(),H=function(){function t(){this.onAddToCart=new i.Subject,this.onAlternativeClick=new i.Subject,this.onAddToQuote=new i.Subject,this.onForceRenderImage=new i.Subject,this.onArticleReceived=new i.Subject,this.onSelectionsReceived=new i.Subject,this.onImageReceived=new i.Subject,this.onRenderStarted=new i.Subject,this.onRenderImageReceived=new i.Subject,this.onDraftRenderImageReceived=new i.Subject,this.onArticleInfoReceived=new i.Subject,this.onUpdateProductInfoTab=new i.Subject}return x([e.Output()],t.prototype,"onAddToCart",void 0),x([e.Output()],t.prototype,"onAlternativeClick",void 0),x([e.Output()],t.prototype,"onAddToQuote",void 0),x([e.Output()],t.prototype,"onForceRenderImage",void 0),t=x([e.Directive(),e.Injectable()],t)}(),F=function(){function t(t,i,n,r,o,a){var l=this;this._dictionary=t,this._jsonUtils=i,this._ione=n,this._changeDetector=r,this._appEventService=o,this._settingsService=a,this.onAddToCart=new e.EventEmitter,this.forceRenderImage=new e.EventEmitter,this.onAlternativeClick=new e.EventEmitter,this.onArticleInfoReceived=new e.EventEmitter,this.onArticleReceived=new e.EventEmitter,this.onSelectionsReceived=new e.EventEmitter,this.onAddToQuote=new e.EventEmitter,this.settingsLoaded=!1,this._subs=[],this._subs.push(this._appEventService.onAddToCart.subscribe((function(t){l._handleAddToCart(t)})),this._appEventService.onAddToQuote.subscribe((function(t){return l.onAddToQuote.emit(t)})),this._appEventService.onAlternativeClick.subscribe((function(t){return l.onAlternativeClick.emit(t)})),this._appEventService.onArticleInfoReceived.subscribe((function(t){return l._handleAnswerInfoReceived(t)})),this._appEventService.onArticleReceived.subscribe((function(t){return l.onArticleReceived.emit(t)})),this._appEventService.onSelectionsReceived.subscribe((function(t){return l.onSelectionsReceived.emit(t)})),this._settingsService.settingsLoaded.subscribe((function(t){l.settingsLoaded=t})))}return Object.defineProperty(t.prototype,"settings",{get:function(){return this._settings},set:function(t){if(t){var e=void 0;e="string"==typeof t?JSON.parse(t):t,this._settingsService.createSettingsFromObject(e)}},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){return w(this,void 0,void 0,(function(){return _(this,(function(t){switch(t.label){case 0:return[4,this._settingsService.initializeSettings()];case 1:return t.sent(),[2]}}))}))},t.prototype.ngOnChanges=function(t){this._changeDetector.detectChanges()},t.prototype.ngOnDestroy=function(){this._subs.forEach((function(t){return t.unsubscribe()}))},t.prototype._handleAnswerInfoReceived=function(t){this.onArticleInfoReceived.next(t)},t.prototype._handleAddToCart=function(t){return w(this,void 0,void 0,(function(){var e,i,n,r,o;return _(this,(function(a){switch(a.label){case 0:if(!this._settingsService.settings.createWebOrder)return[3,7];if(!t)return[3,7];if(!(e=JSON.parse(t)).articleTree||!e.articleTree.article)return[3,7];if(!(e.articleTree.compositeGoods&&Array.isArray(e.articleTree.compositeGoods)&&e.articleTree.compositeGoods.length>0&&e.articleTree.subArticles&&Array.isArray(e.articleTree.subArticles)))return[3,5];(i=e.articleTree.compositeGoods).sort((function(t,e){return t.versionNumber<e.versionNumber?-1:1})),n=function(t){var n,o;return _(this,(function(a){switch(a.label){case 0:return n=i[t],(o=e.articleTree.subArticles.find((function(t){return t.goodId===n.memberGoodId})))?[4,r._ione.addWebSessionTransactionLine(o.articleNumber,n.quantity)]:[3,2];case 1:a.sent(),a.label=2;case 2:return[2]}}))},r=this,o=0,a.label=1;case 1:return o<i.length?[5,n(o)]:[3,4];case 2:a.sent(),a.label=3;case 3:return o++,[3,1];case 4:return[3,7];case 5:return[4,this._ione.addWebSessionTransactionLine(e.articleTree.article.articleNumber,1)];case 6:a.sent(),a.label=7;case 7:return this.onAddToCart.emit(t),[2]}}))}))},t.ctorParameters=function(){return[{type:L},{type:T},{type:N},{type:e.ChangeDetectorRef},{type:H},{type:M}]},x([e.Input()],t.prototype,"sku",void 0),x([e.Input()],t.prototype,"settings",null),x([e.Output()],t.prototype,"onAddToCart",void 0),x([e.Output()],t.prototype,"forceRenderImage",void 0),x([e.Output()],t.prototype,"onAlternativeClick",void 0),x([e.Output()],t.prototype,"onArticleInfoReceived",void 0),x([e.Output()],t.prototype,"onArticleReceived",void 0),x([e.Output()],t.prototype,"onSelectionsReceived",void 0),x([e.Output()],t.prototype,"onAddToQuote",void 0),t=x([e.Component({selector:"app-ione-product",template:'\n <app-product-page *ngIf="settingsLoaded"\n [sku]="sku"\n ></app-product-page>\n ',providers:[H,M,R,N],encapsulation:e.ViewEncapsulation.Emulated,styles:[""]})],t)}(),V=function(){function t(t,i,n){this._sanitizer=t,this._productConnectorService=i,this._appEventService=n,this.addToCart=new e.EventEmitter,this.addToQuote=new e.EventEmitter,this.alternativeClick=new e.EventEmitter,this.showProduct=!1,this.loaded=!1,this.externalSettings={},this._subs=[]}return Object.defineProperty(t.prototype,"externalSource",{get:function(){return this._externalSource},set:function(t){this._externalSource=t,this.loaded=!1,this._prepareExternalSource()},enumerable:!0,configurable:!0}),t.prototype.showClass=function(){return!0},t.prototype.ngOnInit=function(){var t=this;this._subs.push(this._appEventService.onAddToCart.subscribe((function(e){return t.addToCart.next(e)})),this._appEventService.onAddToQuote.subscribe((function(e){return t.addToQuote.next(e)})),this._appEventService.onAlternativeClick.subscribe((function(e){return t.alternativeClick.next(e)})))},t.prototype.ngOnDestroy=function(){this._subs.forEach((function(t){return t.unsubscribe()}))},t.prototype._prepareExternalSource=function(){return w(this,void 0,void 0,(function(){var t;return _(this,(function(e){switch(e.label){case 0:return this._externalSource?(this.externalUrl=void 0,this.externalSettings={},"CATF"!==this.externalSource.type?[3,2]:[4,this._productConnectorService.getProductBundleSettings(this.externalSource.url,parseInt(this.externalSource.schema,0))]):[2];case 1:return t=e.sent(),this.externalSettings=JSON.parse(t),this.options&&(this.externalSettings.options=this.options),this.externalSource.username&&this.externalSource.password&&(this.externalSettings.useLoginEncryption=!0,this.externalSettings.username=this.externalSource.username,this.externalSettings.password=this.externalSource.password),this.showProduct=!0,[3,3];case 2:this.externalUrl=this.externalSource.url,this.safeUrl=this._sanitizer.bypassSecurityTrustResourceUrl(this.externalUrl),this.showProduct=!1,e.label=3;case 3:return this.loaded=!0,[2]}}))}))},t.ctorParameters=function(){return[{type:h.DomSanitizer},{type:N},{type:H}]},x([e.Input()],t.prototype,"sku",void 0),x([e.Input()],t.prototype,"externalSource",null),x([e.Input()],t.prototype,"options",void 0),x([e.Output()],t.prototype,"addToCart",void 0),x([e.Output()],t.prototype,"addToQuote",void 0),x([e.Output()],t.prototype,"alternativeClick",void 0),x([e.HostBinding("class.co-product-external-source")],t.prototype,"showClass",null),t=x([e.Component({selector:"co-product-external-source",template:'\n <ng-container *ngIf="loaded">\n <ng-container *ngIf="showProduct">\n <app-product-page\n [sku]="sku"\n [settings]="externalSettings"\n ></app-product-page>\n </ng-container>\n <ng-container *ngIf="!showProduct">\n <iframe width="100%" height="100%" [src]="safeUrl" frameborder="0" allowfullscreen></iframe>\n </ng-container>\n </ng-container>\n ',providers:[H,M,R,N],encapsulation:e.ViewEncapsulation.None})],t)}(),B=function(t,e){this.stock=0,this.stock=t,this.deliveryDescription=e};!function(t){t.TwoD="2D",t.ThreeD="3D",t.Omni="Omni"}(P||(P={})),function(t){t.AddToCartDrop="add_to_cart_drop",t.DeliveryTruck="delivery_truck",t.Download="download",t.FullScreen="full_screen",t.Location="location",t.Logo="logo",t.MagicWand="magic_wand",t.NormalScreen="normal_screen",t.Quote="quote",t.Refresh="refresh",t.ThreeD="three_d",t.Truck="truck",t.TwoD="two_d",t.Warehouse="warehouse"}(j||(j={}));var U,W={add_to_cart_drop:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M16.58,34.84a1.8,1.8,0,1,0,1.8,1.8A1.79,1.79,0,0,0,16.58,34.84Z" fill="#484f60"/><path d="M31.49,34.84a1.8,1.8,0,1,0,1.8,1.8A1.79,1.79,0,0,0,31.49,34.84Z" fill="#484f60"/><path d="M35.6,17.9l-1.51.18L31.88,20.3l1.31-.17a.88.88,0,0,1,1,1.08L32.35,29.5a1.52,1.52,0,0,1-1.44,1.2H16.51a1.75,1.75,0,0,1-1.57-1.17l-2.31-5.6a1,1,0,0,1,.85-1.29l4.43-.56-1.86-1.86-5.13.61a1,1,0,0,0-.87,1.28l3.34,9.44A1.73,1.73,0,0,0,15,32.72H32.64a1.51,1.51,0,0,0,1.43-1.2L36.6,19A.89.89,0,0,0,35.6,17.9Z" fill="#484f60"/><path d="M39,17a1.87,1.87,0,0,0-1.36,1.46l-.42,2.89c-.1.67.31,1,.9.7a2.75,2.75,0,0,0,1.33-1.7L40,18A.73.73,0,0,0,39,17Z" fill="#484f60"/><polygon points="24 25.35 32.04 17.3 27.04 17.3 27.04 10 20.95 10 20.95 17.3 15.96 17.3 24 25.35" fill="#484f60"/></svg>',delivery_truck:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M25,45A20,20,0,1,1,45,25,20,20,0,0,1,25,45ZM25,6.29A18.71,18.71,0,1,0,43.71,25,18.73,18.73,0,0,0,25,6.29Z" fill="#484f60"/><path d="M21.86,24.09a7.14,7.14,0,0,1,.72-3.24,6.94,6.94,0,0,1,1.18-1.66H13v10.1h8.51a3.25,3.25,0,0,1,3.27-3.07A3.33,3.33,0,0,1,27,27V25.75H21.9Z" fill="#484f60" opacity="0.5"/><path d="M21.65,30.47h-.48a3.51,3.51,0,0,1,1.13,2.19h1.57a3.22,3.22,0,0,1-1.41-.83A3.13,3.13,0,0,1,21.65,30.47Z" fill="#484f60" opacity="0.5"/><path d="M34.63,21.89H28.87c-.3.25-.5.43-.63.56v8H28a3.19,3.19,0,0,1-.82,1.37,3.3,3.3,0,0,1-1.41.82H29a3.53,3.53,0,0,1,7,0h1V27.1Zm-.2,5.38H30.8a.47.47,0,0,1-.46-.46V23.36a.46.46,0,0,1,.46-.46h2.1a.45.45,0,0,1,.42.27l1.53,3.45A.46.46,0,0,1,34.43,27.27Z" fill="#484f60" opacity="0.5"/><path d="M16.42,30.47a3.51,3.51,0,0,0-1.13,2.19H14.6l-1.6-1V30.47Z" fill="#484f60" opacity="0.5"/><path d="M30,33.08a2.53,2.53,0,1,0,2.53-2.53A2.52,2.52,0,0,0,30,33.08Z" fill="#484f60" opacity="0.5"/><path d="M16.27,33.08a2.53,2.53,0,1,0,2.53-2.53A2.52,2.52,0,0,0,16.27,33.08Z" fill="#484f60" opacity="0.5"/><path d="M22.45,17.27h-3.2a4.29,4.29,0,0,1,1.61-3.49,6.45,6.45,0,0,1,4.31-1.38,6.79,6.79,0,0,1,2.92.57A4.72,4.72,0,0,1,30,14.62a4,4,0,0,1,.72,2.26,3.74,3.74,0,0,1-.23,1.27,5.31,5.31,0,0,1-.73,1.29,12,12,0,0,1-1.4,1.29A8.74,8.74,0,0,0,27.06,22a3.17,3.17,0,0,0-.46.94,7.56,7.56,0,0,0-.23,1.65h-3.3v-.49a6,6,0,0,1,.59-2.68,6.8,6.8,0,0,1,1.94-2.25,9.44,9.44,0,0,0,1.56-1.41,1.5,1.5,0,0,0,.27-.9,1.47,1.47,0,0,0-.65-1.19A2.9,2.9,0,0,0,25,15.14a2.77,2.77,0,0,0-1.84.6A1.91,1.91,0,0,0,22.45,17.27Z" fill="#484f60"/><path d="M24.78,27.42a2.06,2.06,0,0,1,1.51.61,2,2,0,0,1,.63,1.47A2,2,0,0,1,26.3,31a2.08,2.08,0,0,1-1.5.62A2,2,0,0,1,23.31,31a2.08,2.08,0,0,1,0-2.95A2,2,0,0,1,24.78,27.42Z" fill="#484f60"/></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" version="1.1" sodipodi:docname="download.svg" inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1017" showgr inkscape:zoom="6.675088" inkscape:cx="-14.056273" inkscape:cy="29.806579" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg8" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 498.966,339.946 c -7.197,0 -13.034,5.837 -13.034,13.034 v 49.804 c 0,28.747 -23.388,52.135 -52.135,52.135 H 78.203 c -28.747,0 -52.135,-23.388 -52.135,-52.135 V 352.98 c 0,-7.197 -5.835,-13.034 -13.034,-13.034 C 5.835,339.946 0,345.782 0,352.98 v 49.804 c 0,43.121 35.082,78.203 78.203,78.203 h 355.594 c 43.121,0 78.203,-35.082 78.203,-78.203 V 352.98 c 0,-7.198 -5.835,-13.034 -13.034,-13.034 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="M 419.833,391.3 H 92.167 c -7.197,0 -13.034,5.837 -13.034,13.034 0,7.197 5.835,13.034 13.034,13.034 h 327.665 c 7.199,0 13.034,-5.835 13.034,-13.034 0,-7.197 -5.835,-13.034 -13.033,-13.034 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 387.919,207.93 c -4.795,-5.367 -13.034,-5.834 -18.404,-1.038 L 269.033,296.657 V 44.048 c 0,-7.197 -5.835,-13.034 -13.034,-13.034 -7.197,0 -13.034,5.835 -13.034,13.034 V 296.657 L 142.483,206.893 c -5.367,-4.796 -13.607,-4.328 -18.404,1.038 -4.794,5.369 -4.331,13.609 1.037,18.404 l 109.174,97.527 c 6.187,5.529 13.946,8.292 21.708,8.292 7.759,0 15.519,-2.763 21.708,-8.289 l 109.174,-97.53 c 5.37,-4.798 5.834,-13.038 1.039,-18.405 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05555739,0,0,0.05555739,10.739964,11.357401)" style="fill:#484f60;fill-opacity:1" /></svg>',full_screen:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M38,38.17H12v-26H38ZM13.24,36.93H36.76V13.4H13.24Z" fill="#484f60"/><polygon points="17.35 32.81 17.35 26.75 19.46 28.86 28.69 19.63 26.59 17.52 32.65 17.52 32.65 23.58 30.54 21.47 21.31 30.71 23.41 32.81 17.35 32.81" fill="#484f60"/></svg>',location:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M25,12.67A8.33,8.33,0,0,0,16.67,21c0,4.6,8.33,16.67,8.33,16.67S33.33,25.6,33.33,21A8.33,8.33,0,0,0,25,12.67Zm0,10.41A2.08,2.08,0,1,1,27.08,21,2.08,2.08,0,0,1,25,23.08Z" fill="#484f60"/></svg>',logo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><rect x="10" y="21.19" width="2.04" height="6.32" fill="#484f60"/><path d="M18.66,29.24a3.84,3.84,0,0,1-2.85-1.19,4.19,4.19,0,0,1,0-5.77,4,4,0,0,1,5.71,0,4.19,4.19,0,0,1,0,5.77A3.85,3.85,0,0,1,18.66,29.24Zm0-6.16a1.79,1.79,0,0,0-1.38.58,2.12,2.12,0,0,0-.57,1.51,2,2,0,0,0,.57,1.49,1.94,1.94,0,0,0,2.76,0,2.08,2.08,0,0,0,.56-1.5,2.15,2.15,0,0,0-.56-1.51A1.76,1.76,0,0,0,18.67,23.08Z" fill="#484f60"/><polygon points="31.05 29.18 27.33 25.02 27.33 29.14 25.29 29.14 25.29 21.15 26.57 21.15 30.29 25.33 30.29 21.19 32.33 21.19 32.33 29.18 31.05 29.18" fill="#484f60"/><polygon points="35.34 29.14 35.34 21.19 39.9 21.19 39.9 23.17 37.38 23.17 37.38 23.9 39.66 23.9 39.66 25.87 37.38 25.87 37.38 27.14 40 27.14 40 29.14 35.34 29.14" fill="#484f60"/></svg>',magic_wand:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><title>magic_wand</title><g style="isolation:isolate"><path d="M20.45,10.71a.28.28,0,0,1,.49-.19l1.4,1.25a.93.93,0,0,0,.83.23L25,11.62a.29.29,0,0,1,.34.41l-.76,1.71a.93.93,0,0,0,0,.86l.93,1.62c.12.26,0,.45-.29.45l-1.86-.2a1,1,0,0,0-.81.32l-1.26,1.38a.28.28,0,0,1-.5-.14l-.39-1.83a1,1,0,0,0-.55-.67l-1.71-.77a.28.28,0,0,1,0-.52l1.62-.94a1,1,0,0,0,.48-.73Z" fill="#484f60"/><g style="mix-blend-mode:lighten"><path d="M23.3,16.21a1,1,0,0,0-.8.31l-1,1.13a.29.29,0,0,1-.51-.14L20.66,16a1,1,0,0,0-.55-.68l-1.39-.62a.28.28,0,0,1,0-.52L20,13.45a1,1,0,0,0,.48-.73l.16-1.5a.29.29,0,0,1,.49-.2l1.13,1a.93.93,0,0,0,.83.23L24.58,12a.29.29,0,0,1,.34.41l-.62,1.38a.91.91,0,0,0,.05.86l.75,1.32a.29.29,0,0,1-.29.44Z" fill="#484f60"/></g><path d="M33.57,36.76a.53.53,0,0,1,0,.72l-2.37,2.18a.48.48,0,0,1-.7,0L18,25.34a.51.51,0,0,1,0-.71l2.36-2.19a.49.49,0,0,1,.7,0Z" fill="#484f60"/><path d="M18.6,19.94a.51.51,0,0,1,0,.71L16.2,22.84a.48.48,0,0,1-.7,0l-2.76-3.13a.51.51,0,0,1,0-.71l2.37-2.19a.48.48,0,0,1,.7,0Z" fill="#484f60"/><path d="M30.67,10.55a.29.29,0,0,1,.47.24v1.12a1,1,0,0,0,.4.77l.9.66a.29.29,0,0,1-.08.52l-1.07.35a1,1,0,0,0-.61.61l-.35,1.06a.28.28,0,0,1-.51.09l-.67-.91a1,1,0,0,0-.77-.4H27.27a.29.29,0,0,1-.25-.47l.66-.9a.93.93,0,0,0,.14-.85l-.35-1.07a.29.29,0,0,1,.38-.38l1.07.35a1,1,0,0,0,.85-.13Z" fill="#484f60"/><g style="mix-blend-mode:lighten"><path d="M29.25,14.88a1,1,0,0,0-.77-.4h-.86a.29.29,0,0,1-.24-.47l.5-.69a.93.93,0,0,0,.14-.85l-.26-.82c-.07-.27.1-.44.37-.37l.82.26a1,1,0,0,0,.85-.13l.69-.51a.29.29,0,0,1,.47.25V12a.94.94,0,0,0,.39.76l.7.51a.29.29,0,0,1-.09.52l-.81.26a1,1,0,0,0-.62.61l-.26.82a.29.29,0,0,1-.52.08Z" fill="#484f60"/></g><path d="M37,15.81a.29.29,0,0,1,.32.43l-.13.26a.91.91,0,0,0,0,.85l.15.26A.29.29,0,0,1,37,18l-.29,0a.93.93,0,0,0-.81.27l-.2.21a.28.28,0,0,1-.5-.16l0-.29a1,1,0,0,0-.52-.69l-.27-.13a.28.28,0,0,1,0-.52l.26-.13a.93.93,0,0,0,.5-.71l0-.29a.29.29,0,0,1,.5-.17l.21.21a.92.92,0,0,0,.82.26Z" fill="#484f60"/><g style="mix-blend-mode:lighten"><path d="M35.25,18a1,1,0,0,0-.52-.7l-.12-.05a.28.28,0,0,1,0-.52l.12-.06a1,1,0,0,0,.51-.7V15.8a.29.29,0,0,1,.5-.18l.09.1a.92.92,0,0,0,.82.26l.13,0a.29.29,0,0,1,.32.42L37,16.5a.91.91,0,0,0,0,.85l.07.12a.29.29,0,0,1-.31.43l-.13,0a1,1,0,0,0-.82.28l-.09.1a.28.28,0,0,1-.5-.16Z" fill="#484f60"/></g></g></svg>',normal_screen:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M38,38.17H12v-26H38ZM13.24,36.93H36.76V13.4H13.24Z" fill="#484f60"/><polygon points="22.18 29.83 24.29 31.93 24.29 25.87 18.23 25.87 20.34 27.98 16.43 31.89 18.28 33.73 22.18 29.83" fill="#484f60"/><polygon points="33.57 18.44 31.73 16.6 27.82 20.51 25.71 18.4 25.71 24.46 31.77 24.46 29.66 22.35 33.57 18.44" fill="#484f60"/></svg>',quote:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M14.5,31.51V12a.5.5,0,0,1,.5-.5H35a.5.5,0,0,1,.5.5V38a.5.5,0,0,1-.5.5H21.27V40H35a2,2,0,0,0,2-2V12a2,2,0,0,0-2-2H15a2,2,0,0,0-2,2V31.51Z" fill="#484f60"/><path d="M21.27,40V33.56c0-1.78-.27-2.05-2.05-2.05H13Z" fill="#484f60"/><rect x="17.5" y="18.5" width="6" height="4" fill="#484f60"/><rect x="25.5" y="21.5" width="7" height="1" fill="#484f60"/><rect x="25.5" y="18.5" width="7" height="1" fill="#484f60"/><rect x="26.5" y="25.5" width="6" height="4" transform="translate(59 55) rotate(-180)" fill="#484f60"/><rect x="17.5" y="28.5" width="7" height="1" fill="#484f60"/><rect x="17.5" y="25.5" width="7" height="1" fill="#484f60"/><rect x="17.5" y="14.5" width="6" height="1" fill="#484f60"/><rect x="26.5" y="34.5" width="6" height="1" fill="#484f60"/></svg>',refresh:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" version="1.1" sodipodi:docname="refresh.svg" inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1017" showgr inkscape:zoom="9.44" inkscape:cx="13.990693" inkscape:cy="13.961336" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg6" /><g transform="matrix(0.05356365,0,0,0.05356365,11.44076,11.82465)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="M 414.32892,173.53368 397.86852,58.29997 c -1.3534,-9.447409 -12.96516,-13.373353 -19.75699,-6.581524 l -23.97472,23.97472 C 323.3074,57.095569 288.30682,47.308258 252.3168,47.308258 c -108.23157,0 -195.126154,84.711612 -197.8314,192.852392 -0.147446,5.91103 4.149441,10.98085 9.992183,11.82206 l 46.516107,6.64982 c 6.93462,1.01194 13.38577,-4.43269 13.28954,-11.68548 -0.9646,-71.37163 56.68057,-129.79595 128.03357,-129.79595 17.27835,0 34.3526,3.51232 50.13165,10.23043 l -23.11022,23.11022 c -6.74915,6.74915 -2.91866,18.3966 6.58152,19.75699 l 115.23371,16.4604 c 7.59269,1.14465 14.26423,-5.4586 13.17546,-13.17546 z" style="fill:#484f60;fill-opacity:1;stroke-width:0.77603161" /></g></g><path inkscape:connector-curvature="0" d="m 35.105827,24.725982 -2.489742,-0.355606 c -0.321647,-0.04073 -0.711797,0.234897 -0.711797,0.671018 0,3.781814 -3.076753,6.858567 -6.858567,6.858567 -0.920628,0 -1.830946,-0.186303 -2.673013,-0.542533 l 1.198298,-1.198297 c 0.361507,-0.361507 0.156331,-0.985389 -0.352533,-1.058254 l -6.172336,-0.882302 c -0.405403,-0.05792 -0.764422,0.289765 -0.705726,0.705725 l 0.881637,6.172381 c 0.07258,0.506577 0.694003,0.71545 1.058254,0.352527 l 1.315225,-1.314599 c 1.643397,0.987012 3.516951,1.506391 5.450194,1.506391 5.769264,0 10.423029,-4.514936 10.595325,-10.27871 0.0091,-0.317237 -0.221012,-0.591248 -0.535219,-0.636308 z" style="fill:#484f60;fill-opacity:1;stroke-width:0.04156709" /></svg>',three_d:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M16.08,30.77a4.85,4.85,0,0,1-3-.8,4,4,0,0,0-2.49-.15,6.21,6.21,0,0,0,2.53,1.09,12.84,12.84,0,0,0,2.93-.14" fill="#484f60" opacity="0.5"/><path d="M14.27,19.68A4.71,4.71,0,0,0,11,20.78l2,.14c.31,0,1.2-.69,1.55-.81a3.88,3.88,0,0,1,1.65-.24l-1.94-.19" fill="#484f60" opacity="0.5"/><path d="M21.64,28.79a4.13,4.13,0,0,0-3.1-4c.89-.7,1.77-1.09,2.26-2.21a5.12,5.12,0,0,0,.35-1.9c-.13-3.24-2.64-3.73-5.29-4.15a4,4,0,0,1,3.44,3.7,4.61,4.61,0,0,1-.83,3.12,9.7,9.7,0,0,1-1.82,1.43,4.3,4.3,0,0,1,3.17,4.34,4.9,4.9,0,0,1-4.21,5c2.09-.34,4.37-.64,5.46-2.69a5,5,0,0,0,.57-2.58" fill="#484f60" opacity="0.5"/><path d="M28.44,18.88l.38-.07.48-.06.57,0h.75l.36,0,.35.05c-.2,0-.42-.08-1.57-.25l-.36-.05-.37,0h-.77l-.59,0-.49.07a3.08,3.08,0,0,0-.39.07l-.3.07V31.38H27l.13,0h1.63l.21,0h.2l.2,0h.05l1.55-.24h0l-.34.05-.33,0H29.12l-.36,0-.33,0a1.15,1.15,0,0,1-.28-.06V19Z" fill="#484f60" opacity="0.5"/><path d="M40,24.34a9,9,0,0,0-3-7.1,11.06,11.06,0,0,0-4.47-1.86c4.38,1.13,6.23,5.31,6.13,9.54-.12,4.5-2.27,8.55-6.86,9.66,2.59-.63,5-1.41,6.52-3.78A12,12,0,0,0,40,24.34" fill="#484f60" opacity="0.5"/><path d="M35.38,16.71A7.32,7.32,0,0,1,36.74,18a7.82,7.82,0,0,1,1,1.73,10.32,10.32,0,0,1,.68,2.16,13.86,13.86,0,0,1,.23,2.59,15,15,0,0,1-.25,2.78,11.39,11.39,0,0,1-.68,2.31,9.34,9.34,0,0,1-1,1.85,8.23,8.23,0,0,1-1.28,1.4,7.76,7.76,0,0,1-1.7,1.07,9.07,9.07,0,0,1-2,.69,13.36,13.36,0,0,1-2.26.33,18.25,18.25,0,0,1-2.45,0c-.5,0-1-.08-1.39-.12l-1.17-.14c-.36,0-.68-.11-1-.16l-.77-.15V15.86c.34-.09.71-.18,1.09-.26s.81-.15,1.24-.21.88-.12,1.34-.17.95-.1,1.44-.13a20.57,20.57,0,0,1,2.33,0,12,12,0,0,1,2,.24,8.24,8.24,0,0,1,1.72.55A7.1,7.1,0,0,1,35.38,16.71ZM27.92,31.53a6.53,6.53,0,0,0,2.46-.32A4.81,4.81,0,0,0,32.32,30a5.82,5.82,0,0,0,1.27-2.18A10.11,10.11,0,0,0,34,24.67a8.65,8.65,0,0,0-.42-2.85,4.94,4.94,0,0,0-1.18-2,4.45,4.45,0,0,0-1.83-1.11,6.55,6.55,0,0,0-2.35-.28l-.59,0-.49.07a3.08,3.08,0,0,0-.39.07l-.3.07V31.38a2.11,2.11,0,0,0,.29.06l.34,0,.37,0,.36,0h.07" fill="#484f60"/><path d="M14.57,16.47a5.49,5.49,0,0,1,2,.22,3.89,3.89,0,0,1,1.49.84A3.66,3.66,0,0,1,19,18.89a4.29,4.29,0,0,1,.33,1.7,5.29,5.29,0,0,1-.17,1.34,4.29,4.29,0,0,1-.5,1.16,4.17,4.17,0,0,1-.84.94,4.88,4.88,0,0,1-1.16.69v.05a3.7,3.7,0,0,1,1.22.5,4,4,0,0,1,1,.92,4.61,4.61,0,0,1,.69,1.3,5.24,5.24,0,0,1,.25,1.62,5.36,5.36,0,0,1-.42,2.15,4.44,4.44,0,0,1-1.2,1.64,4.84,4.84,0,0,1-1.86,1,6.78,6.78,0,0,1-2.39.23,7.69,7.69,0,0,1-2.36-.52,6.89,6.89,0,0,1-.9-.42,4.36,4.36,0,0,1-.69-.47l.62-2.9a4.12,4.12,0,0,0,.53.34,6.21,6.21,0,0,0,.73.36,5.69,5.69,0,0,0,.88.31,5.19,5.19,0,0,0,1,.15,3.11,3.11,0,0,0,1.1-.13,2,2,0,0,0,.8-.45,1.93,1.93,0,0,0,.49-.71,2.35,2.35,0,0,0,.17-.89A2.48,2.48,0,0,0,16,27.67a2.23,2.23,0,0,0-.63-.79,2.9,2.9,0,0,0-.89-.46,3.5,3.5,0,0,0-1-.15H12.2V23.44l1.23,0a3.44,3.44,0,0,0,.83-.11,2.83,2.83,0,0,0,.79-.36,2,2,0,0,0,.6-.62,2,2,0,0,0,.23-.94,1.8,1.8,0,0,0-.13-.71,1.36,1.36,0,0,0-.38-.56,1.58,1.58,0,0,0-.64-.35,2.79,2.79,0,0,0-.9-.1,4.07,4.07,0,0,0-.84.13c-.27.08-.53.18-.78.28a6.56,6.56,0,0,0-1.17.7L10.42,18a5,5,0,0,1,.72-.51,7.82,7.82,0,0,1,2.12-.82A8,8,0,0,1,14.57,16.47Z" fill="#484f60"/></svg>',truck:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" version="1.1" sodipodi:docname="truck.svg" inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1017" showgr inkscape:zoom="9.44" inkscape:cx="31.555563" inkscape:cy="21.585628" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg8" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 119.467,337.067 c -28.237,0 -51.2,22.963 -51.2,51.2 0,28.237 22.963,51.2 51.2,51.2 28.237,0 51.2,-22.963 51.2,-51.2 0,-28.237 -22.964,-51.2 -51.2,-51.2 z m 0,85.333 c -18.825,0 -34.133,-15.309 -34.133,-34.133 0,-18.825 15.309,-34.133 34.133,-34.133 18.824,0 34.133,15.309 34.133,34.133 0,18.824 -15.309,34.133 -34.133,34.133 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 409.6,337.067 c -28.237,0 -51.2,22.963 -51.2,51.2 0,28.237 22.963,51.2 51.2,51.2 28.237,0 51.2,-22.963 51.2,-51.2 0,-28.237 -22.963,-51.2 -51.2,-51.2 z m 0,85.333 c -18.825,0 -34.133,-15.309 -34.133,-34.133 0,-18.825 15.309,-34.133 34.133,-34.133 18.825,0 34.133,15.309 34.133,34.133 0,18.824 -15.308,34.133 -34.133,34.133 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 510.643,289.784 -76.8,-119.467 c -1.57,-2.441 -4.275,-3.917 -7.177,-3.917 H 332.8 c -4.719,0 -8.533,3.823 -8.533,8.533 v 213.333 c 0,4.719 3.814,8.533 8.533,8.533 h 34.133 v -17.067 h -25.6 V 183.467 h 80.674 l 72.926,113.442 v 82.825 H 452.266 V 396.8 h 51.2 c 4.719,0 8.533,-3.814 8.533,-8.533 V 294.4 c 10e-4,-1.63 -0.468,-3.243 -1.356,-4.616 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="M 375.467,277.333 V 217.6 h 68.267 v -17.067 h -76.8 c -4.719,0 -8.533,3.823 -8.533,8.533 v 76.8 c 0,4.719 3.814,8.533 8.533,8.533 h 128 V 277.332 H 375.467 Z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="M 332.8,106.667 H 8.533 C 3.823,106.667 0,110.49 0,115.2 v 273.067 c 0,4.719 3.823,8.533 8.533,8.533 H 76.8 V 379.733 H 17.067 v -256 h 307.2 v 256 H 162.133 V 396.8 H 332.8 c 4.719,0 8.533,-3.814 8.533,-8.533 V 115.2 c 0,-4.71 -3.814,-8.533 -8.533,-8.533 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><rect x="8.533" y="345.60001" width="51.200001" height="17.066999" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><rect x="179.2" y="345.60001" width="145.067" height="17.066999" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><rect x="469.33301" y="345.60001" width="34.132999" height="17.066999" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><rect x="34.132999" y="140.8" width="298.66699" height="17.066999" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><rect x="110.933" y="379.733" width="17.066999" height="17.066999" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><rect x="401.06699" y="379.733" width="17.066999" height="17.066999" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)" style="fill:#484f60;fill-opacity:1" /></svg>',two_d:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M22.41,33.89H11V31c.87-.76,1.75-1.56,2.62-2.41S15.2,27,15.73,26.39A11.84,11.84,0,0,0,17.4,24a4.45,4.45,0,0,0,.5-2,2.52,2.52,0,0,0-.64-1.85,2.47,2.47,0,0,0-1.84-.65,4.57,4.57,0,0,0-1.89.45,8.17,8.17,0,0,0-1.84,1.14h-.31V17.2a10.26,10.26,0,0,1,2-.73,10.46,10.46,0,0,1,2.71-.36,5.79,5.79,0,0,1,4.16,1.37,5.15,5.15,0,0,1,1.44,3.9,7.37,7.37,0,0,1-.69,3.14A12.94,12.94,0,0,1,19,27.59c-.6.66-1.19,1.26-1.79,1.81s-1,.93-1.28,1.15h6.53Z" fill="#484f60"/><path d="M38.14,20.79a7.49,7.49,0,0,0-2.37-3,6.52,6.52,0,0,0-2.17-1,11.93,11.93,0,0,0-3.06-.35H25.26V33.89h5.13a13.25,13.25,0,0,0,3-.3,6.61,6.61,0,0,0,2.33-1.08,7.71,7.71,0,0,0,2.34-3A9.9,9.9,0,0,0,39,25.19,10.47,10.47,0,0,0,38.14,20.79Zm-3.49,7.27a4,4,0,0,1-1.51,1.88,3.77,3.77,0,0,1-1.22.54,10.07,10.07,0,0,1-2,.14H29V19.7H30a9.8,9.8,0,0,1,1.81.13,3.75,3.75,0,0,1,1.18.46,4.07,4.07,0,0,1,1.65,1.92,7.4,7.4,0,0,1,.52,2.94A7.92,7.92,0,0,1,34.65,28.06Z" fill="#484f60"/></svg>',warehouse:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" version="1.1" sodipodi:docname="warehouse.svg" inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata ><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1017" showgr inkscape:zoom="6.675088" inkscape:cx="9.6569985" inkscape:cy="12.384637" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg8" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="M 507.785,146.242 260.318,1.175 c -2.603,-1.519 -5.803,-1.57 -8.439,-0.111 L 4.412,137.598 C 1.69,139.091 0,141.958 0,145.064 v 358.4 c 0,4.719 3.823,8.533 8.533,8.533 H 51.2 c 4.71,0 8.533,-3.814 8.533,-8.533 V 204.798 h 392.533 v 298.667 c 0,4.719 3.814,8.533 8.533,8.533 h 42.667 c 4.719,0 8.533,-3.814 8.533,-8.533 V 153.598 c 10e-4,-3.03 -1.603,-5.829 -4.214,-7.356 z m -12.852,348.689 h -25.6 V 196.264 c 0,-4.71 -3.814,-8.533 -8.533,-8.533 H 51.2 c -4.71,0 -8.533,3.823 -8.533,8.533 v 298.667 h -25.6 V 150.099 L 255.872,18.344 494.933,158.487 Z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 426.667,392.531 h -102.4 c -4.719,0 -8.533,3.814 -8.533,8.533 v 102.4 c 0,4.719 3.814,8.533 8.533,8.533 h 102.4 c 4.719,0 8.533,-3.814 8.533,-8.533 v -102.4 c 0,-4.719 -3.814,-8.533 -8.533,-8.533 z m -8.534,102.4 H 332.8 v -85.333 h 85.333 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 384,401.064 v 25.6 h -17.067 v -25.6 h -17.067 v 34.133 c 0,4.719 3.814,8.533 8.533,8.533 h 34.133 c 4.719,0 8.533,-3.814 8.533,-8.533 v -34.133 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 324.267,392.531 h -102.4 c -4.71,0 -8.533,3.814 -8.533,8.533 v 102.4 c 0,4.719 3.823,8.533 8.533,8.533 h 102.4 c 4.719,0 8.533,-3.814 8.533,-8.533 v -102.4 c 0,-4.719 -3.814,-8.533 -8.533,-8.533 z m -8.534,102.4 H 230.4 v -85.333 h 85.333 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 281.6,401.064 v 25.6 h -17.067 v -25.6 h -17.067 v 34.133 c 0,4.719 3.823,8.533 8.533,8.533 h 34.133 c 4.719,0 8.533,-3.814 8.533,-8.533 v -34.133 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 426.667,290.131 h -102.4 c -4.719,0 -8.533,3.814 -8.533,8.533 v 102.4 c 0,4.719 3.814,8.533 8.533,8.533 h 102.4 c 4.719,0 8.533,-3.814 8.533,-8.533 v -102.4 c 0,-4.719 -3.814,-8.533 -8.533,-8.533 z m -8.534,102.4 H 332.8 v -85.333 h 85.333 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 384,298.664 v 25.6 h -17.067 v -25.6 h -17.067 v 34.133 c 0,4.719 3.814,8.533 8.533,8.533 h 34.133 c 4.719,0 8.533,-3.814 8.533,-8.533 v -34.133 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><rect x="51.200001" y="255.998" width="409.60001" height="17.066999" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><rect x="51.200001" y="221.864" width="409.60001" height="17.066999" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1"><g style="fill:#484f60;fill-opacity:1"><path inkscape:connector-curvature="0" d="m 298.667,119.464 h -85.333 c -4.71,0 -8.533,3.823 -8.533,8.533 v 34.133 c 0,4.71 3.823,8.533 8.533,8.533 h 85.333 c 4.719,0 8.533,-3.823 8.533,-8.533 v -34.133 c 0,-4.71 -3.814,-8.533 -8.533,-8.533 z m -8.534,34.134 h -68.267 v -17.067 h 68.267 z" style="fill:#484f60;fill-opacity:1" /></g></g><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /><g transform="matrix(0.05570714,0,0,0.05570648,10.763,10.859394)" style="fill:#484f60;fill-opacity:1" /></svg>'},Z=function(){function t(t){this._sanitizer=t,this._iconCache={},this._allIcons=W,this.setIconCache()}return Object.defineProperty(t.prototype,"iconCache",{get:function(){return this._iconCache},enumerable:!0,configurable:!0}),t.prototype.getIcon=function(t){return this._iconCache[t.toLowerCase()]},t.prototype.setIconCache=function(){for(var t in this._allIcons)this._allIcons.hasOwnProperty(t)&&(this._iconCache[t.toLowerCase()]=this._sanitizer.bypassSecurityTrustHtml(this._allIcons[t]))},t.ctorParameters=function(){return[{type:h.DomSanitizer}]},t.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(h.DomSanitizer))},token:t,providedIn:"root"}),t=x([e.Injectable({providedIn:"root"})],t)}(),q=function(){function t(t,e,i,n,r,o){var a=this;this._ione=t,this._renderer=e,this._changeDetector=i,this.iconCache=n,this.settingsService=r,this.appEventService=o,this.icon=j,this.configurable=!1,this.threeD=!1,this.show2D=!0,this.show3D=!1,this.configuring=!1,this.fullscreenAnimationEnd=!1,this.settingsLoaded=!1,this._fullScreen=!1,this._subs=[],this._subs.push(this.appEventService.onForceRenderImage.subscribe((function(t){a.selections.nativeElement&&a.selections.nativeElement.forceRenderImage()})),this.settingsService.settingsLoaded.subscribe((function(t){return a._handleSettingsLoaded(t)})),this._ione.controllerInitialized.subscribe((function(t){a.settingsLoaded=t})))}return Object.defineProperty(t.prototype,"sku",{get:function(){return this._sku},set:function(t){t&&(this.configuring&&(this.show3D=!1,this.fullScreen=!1,this.configuring=!1,this._changeDetector.detectChanges()),this._sku=t,this._getArticle())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"settings",{get:function(){return this._settings},set:function(t){t&&(this._settings="string"==typeof t?JSON.parse(t):t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fullScreen",{get:function(){return this._fullScreen},set:function(t){this._fullScreen=t,this.fullscreenAnimationEnd=!0,this._changeDetector.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fullScreenIcon",{get:function(){return this.fullScreen?this.icon.NormalScreen:this.icon.FullScreen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentView",{get:function(){return this._currentView},set:function(t){this._currentView=t,this.show2D=this._currentView===P.TwoD,this.show3D=this._currentView===P.ThreeD,this._changeDetector.detectChanges()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._settings?(this.settingsService.settings=void 0,this.settingsService.createSettingsFromObject(this._settings)):this._settings=this.settingsService.settings},t.prototype.ngAfterViewInit=function(){},t.prototype.ngOnDestroy=function(){this._subs.forEach((function(t){return t.unsubscribe()})),this._initializedSub&&this._initializedSub.unsubscribe(),this.configurator=void 0,this.selections=void 0,this.fullscreenbutton=void 0},t.prototype.setInstance=function(t){t.detail&&this._ione.setInstance(t.detail)},t.prototype.handleStartConfiguration=function(){this.configuring=!0,this._changeDetector.detectChanges()},t.prototype.showFullScreen=function(){this.fullScreen=!this.fullScreen},t.prototype._handleSettingsLoaded=function(t){t&&this._ione.initConnection()},t.prototype._getArticle=function(){return w(this,void 0,void 0,(function(){var t=this;return _(this,(function(e){return this._initializedSub&&this._initializedSub.unsubscribe(),this._initializedSub=this._ione.controllerInitialized.subscribe((function(e){return w(t,void 0,void 0,(function(){var t=this;return _(this,(function(i){return e&&this._ione.getFullArticle(this._sku).then((function(e){t.article=e,t.article&&(t.configurable="B"===t.article.goodType,t.configurable&&(t.currentView=P.TwoD),t.threeD=t.article.is3D,t.selectorType=t.article.selectorTypeCustomer,t._ione.getDeliveryPrognosis(t.article.goodId).then((function(e){var i=e;t.stockAndDelivery=new B(0,i.returnValue?i.returnValue:" "),t._changeDetector.detectChanges()})),t._changeDetector.detectChanges())})),[2]}))}))})),[2]}))}))},t.ctorParameters=function(){return[{type:N},{type:e.Renderer2},{type:e.ChangeDetectorRef},{type:Z},{type:M},{type:H}]},x([e.ViewChild("configurator",{read:e.ElementRef})],t.prototype,"configurator",void 0),x([e.ViewChild("selections",{read:e.ElementRef})],t.prototype,"selections",void 0),x([e.ViewChild("fullscreenbutton",{read:e.ElementRef})],t.prototype,"fullscreenbutton",void 0),x([e.Input()],t.prototype,"sku",null),x([e.Input()],t.prototype,"settings",null),t=x([e.Component({selector:"app-product-page",template:'<ng-container *ngIf="settingsLoaded">\r\n <div class="page-wrapper">\r\n <div class="page-wrapper-content">\r\n <div class="page-wrapper-left">\r\n <div class="product-image-container">\r\n <div class="product-page-block-selector-type">\r\n <app-product-selector-type class="default-padding"\r\n [(currentType)]="currentView"\r\n [show2D]="configurable"\r\n [show3D]="threeD"\r\n ></app-product-selector-type>\r\n </div>\r\n <div class="product-page-block-image default-padding" [class.full]="fullScreen">\r\n <app-image-carousel [@toggleVisibilityByState]="show2D ? \'show\' : \'hide\'" [images]="article?.images" [showRefresh]="configurable && threeD"></app-image-carousel>\r\n <ng-container *ngIf="settingsLoaded">\r\n <threed-configurator #configurator class="threed-configurator"\r\n [class.configurator-full-screen]="fullScreen"\r\n [@toggleVisibilityByState]="show3D ? \'show\' : \'hide\'"\r\n [@toggleFullScreen]="fullScreen ? \'fullscreen\' : \'halfscreen\'"\r\n ></threed-configurator>\r\n </ng-container>\r\n <co-icon #fullscreenbutton class="fullscreen-button" *ngIf="show3D"\r\n [@toggleTopLeft]="fullScreen ? \'fullscreen\' : \'halfscreen\'"\r\n [iconData]="iconCache.getIcon(fullScreenIcon)"\r\n (click)="showFullScreen()"></co-icon>\r\n <co-icon class="threed-watermark" *ngIf="show3D && fullScreen"\r\n [iconData]="iconCache.getIcon(icon.Logo)"></co-icon>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="page-wrapper-right">\r\n <div class="product-page-block-description">\r\n <app-product-description class="default-padding" [article]="article"></app-product-description>\r\n </div>\r\n <div class="product-page-block-additional">\r\n <div class="product-page-block-additional-description">\r\n <app-product-additional-description class="default-padding" [article]="article"></app-product-additional-description>\r\n </div>\r\n <div class="product-page-block-price" [class.full]="configuring">\r\n <app-product-price class="s-padding" *ngIf="!configuring"\r\n [pricing]="article?.pricing"\r\n [configurable]="configurable"\r\n ></app-product-price>\r\n <ng-container *ngIf="settingsLoaded">\r\n <threed-selections #selections class="threed-selections" [class.show-selections]="configuring" [@toggleFullScreenRight]="fullScreen ? \'fullscreen\' : \'halfscreen\'"\r\n [class.default-padding]="!fullScreen"\r\n [class.show-full-screen]="fullScreen"\r\n [class.mini-scrollbar]="fullScreen"\r\n [sku]="sku"\r\n [settings]="settings"\r\n (onUserActionFromThreeD)="configuring = true"\r\n (instanceSet)="setInstance($event)"\r\n (onImageReceived)="appEventService.onImageReceived.next($event)"\r\n (onRenderStarted)="appEventService.onRenderStarted.next()"\r\n (onDraftRenderImageReceived)="appEventService.onDraftRenderImageReceived.next($event)"\r\n (onArticleReceived)="appEventService.onArticleReceived.next($event.detail)"\r\n (onSelectionsReceived)="appEventService.onSelectionsReceived.next($event.detail)"\r\n (onArticleInfoReceived)="appEventService.onArticleInfoReceived.next($event.detail)"\r\n ></threed-selections>\r\n </ng-container>\r\n </div>\r\n <div class="product-page-block-addtocart no-padding product-action-buttons" *ngIf="!configuring" [@toggleTopRight]="fullScreen ? \'fullscreen\' : \'halfscreen\'">\r\n <app-product-addtocart\r\n [configurable]="configurable"\r\n [configuring]="configuring"\r\n [article]="article"\r\n (startConfiguration)="handleStartConfiguration()"\r\n ></app-product-addtocart>\r\n </div>\r\n <div class="addtocart-reserved product-action-buttons" *ngIf="configuring" [class.full-screen]="fullScreen">\r\n <app-product-addtocart class="default-padding"\r\n [configurable]="false"\r\n [fullscreen]="fullScreen"\r\n [configuring]="configuring"\r\n [article]="article"\r\n (startConfiguration)="handleStartConfiguration()"\r\n ></app-product-addtocart>\r\n </div>\r\n <div class="product-page-block-variants">\r\n <app-product-related class="no-padding" *ngIf="article?.relatedArticles && article?.relatedArticles.length > 0"\r\n [articles]="article?.relatedArticles" [refType]="64" [label]="\'VARIANTS\' | localize"></app-product-related>\r\n </div>\r\n <div class="product-page-block-stock">\r\n <app-product-stock class="no-padding" [stockAndDelivery]="stockAndDelivery"></app-product-stock>\r\n </div>\r\n <div class="product-page-block-delivery">\r\n <app-product-delivery class="no-padding" [stockAndDelivery]="stockAndDelivery"></app-product-delivery>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="page-wrapper-content">\r\n <div class="page-wrapper-left">\r\n <app-product-info-tabs class="no-padding" [article]="article"></app-product-info-tabs>\r\n </div>\r\n <div class="page-wrapper-right">\r\n <div class="product-page-block-related s-padding">\r\n <app-product-related *ngIf="article?.relatedArticles && article?.relatedArticles.length > 0"\r\n [articles]="article?.relatedArticles" [refType]="1" [label]="\'RELATED_PRODUCTS\' | localize"></app-product-related>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="page-wrapper-content no-top-margin">\r\n <div class="page-wrapper-full">\r\n <div class="product-page-block-alternatives s-padding">\r\n <app-product-related *ngIf="article?.relatedArticles && article?.relatedArticles.length > 0"\r\n [articles]="article?.relatedArticles" [refType]="4" [isSmallModus]="false" [label]="\'ALTERNATIVE_PRODUCTS\' | localize"></app-product-related>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n',animations:[m.trigger("toggleFullScreen",[m.state("fullscreen",m.style({position:"fixed",top:"0",left:"0",width:"100%",height:"100%"})),m.state("halfscreen",m.style({position:"*",top:"*",left:"*",width:"*",height:"*"})),m.transition("halfscreen <=> fullscreen",m.animate("200ms ease-in-out"))]),m.trigger("toggleTopLeft",[m.state("fullscreen",m.style({position:"fixed",top:"0",left:"0"})),m.state("halfscreen",m.style({position:"absolute",top:"*",left:"*"})),m.transition("halfscreen <=> fullscreen",m.animate("200ms ease-in-out"))]),m.trigger("toggleTopRight",[m.state("fullscreen",m.style({position:"fixed",top:"0",right:"0"})),m.state("halfscreen",m.style({position:"*",top:"*",right:"*"})),m.transition("halfscreen <=> fullscreen",m.animate("200ms ease-in-out"))]),m.trigger("toggleFullScreenRight",[m.state("fullscreen",m.style({position:"fixed",width:"400px",top:"0",right:"0"})),m.state("halfscreen",m.style({position:"*",width:"*",top:"*",right:"*"})),m.transition("halfscreen <=> fullscreen",m.animate("200ms ease-in-out"))]),m.trigger("toggleVisibilityByState",[m.state("hide",m.style({opacity:"0",display:"none"})),m.state("show",m.style({display:"block",opacity:"1"})),m.transition("hide <=> show",m.animate("200ms 100ms ease-in-out"))]),m.trigger("toggleVisibility",[m.state("void",m.style({opacity:"0"})),m.state("*",m.style({opacity:"1"})),m.transition("void => *",m.animate("200ms ease-in-out"))])],styles:['.page-wrapper{font-family:iOneMontserrat;font-size:12px;display:flex;flex-direction:column;max-width:1400px;padding:0 15px;margin:0 auto}.page-wrapper-content{display:flex;flex-direction:row;margin:40px 0}.page-wrapper-content.no-top-margin,.page-wrapper-content:first-child{margin-top:0}.page-wrapper-left{display:flex;width:55%;flex-direction:column}.page-wrapper-right{display:flex;width:45%;flex-direction:column}.page-wrapper-full{display:flex;width:100%;flex-direction:column}.page-wrapper-66{display:flex;width:60%;flex-direction:column}.page-wrapper-33{display:flex;width:40%;flex-direction:column}.threed-selections{display:none}.threed-selections.show-selections{display:block}.threed-selections ::ng-deep .rp-lite-selector .rp-answers-slideout ::ng-deep co-slideout{width:480px;z-index:3}.product-action-buttons{position:relative}.product-action-buttons.full-screen{z-index:10}.product-image-container{grid-column:1/7;grid-row:1/6;position:relative}.product-page-block-selector-type{width:auto;position:absolute;top:10px;right:10px;z-index:2}.product-page-block-image{box-sizing:border-box;width:100%;z-index:1;position:relative}.product-page-block-image .threed-configurator{border:1px solid #efefef}.product-page-block-image .threed-configurator .layer .viewer canvas{height:100%;width:100%}.product-page-block-image .threed-configurator ::ng-deep .rp-element-toolbar{top:30px}.product-page-block-image app-image-carousel.show-animated,.product-page-block-image threed-configurator.show-animated{opacity:1;z-index:0;transition:.2s ease-in-out}.product-page-block-image .fullscreen-button{cursor:pointer;height:50px;width:50px;position:absolute;left:30px;z-index:100;top:30px}.product-page-block-image.full{grid-column:1/11;grid-row:2/span 10;z-index:3}.product-page-block-description{grid-column:7/12;grid-row:1/1}.product-page-block-additional,.product-page-block-additional-description{width:100%}.product-page-block-price{grid-column:1/3;grid-row:2/2;align-self:center}.product-page-block-price.full{grid-column:1/5}.product-page-block-addtocart{grid-column:3/5;grid-row:2/2;align-self:center;padding-top:30px!important}.product-page-block-addtocart ::ng-deep co-number-picker ::ng-deep co-button{cursor:pointer}.product-page-block-addtocart ::ng-deep co-number-picker ::ng-deep co-button:hover div.rippler{background:#f6f5f4}.product-page-block-addtocart ::ng-deep co-number-picker ::ng-deep co-button ::ng-deep co-icon{position:relative;z-index:2}.product-page-block-addtocart ::ng-deep co-button.cart-button{cursor:pointer}.product-page-block-addtocart ::ng-deep co-button.cart-button:hover{background:#74b77f}.addtocart-reserved{grid-column:1/3;grid-row:3/3}.product-page-block-stock{grid-column:1/3;grid-row:4/4}.product-page-block-delivery{grid-column:3/5;grid-row:4/4}::ng-deep co-scroll-container{overflow:hidden;position:relative}::ng-deep co-scroll-container .content-wrapper{padding:0}::ng-deep co-scroll-container .scroll-layer{left:0;top:0}::ng-deep co-scroll-container .scroll-layer .scroller{width:34px;height:34px;border-radius:36px;background:#fff;cursor:pointer;box-shadow:0 0 5px 0 rgba(0,0,0,.2)}::ng-deep co-scroll-container .scroll-layer .scroller:hover{background:#f6f5f4}::ng-deep co-scroll-container .scroll-layer .scroller.left-scroll{left:5px}::ng-deep co-scroll-container .scroll-layer .scroller.left-scroll:before{border-width:0 3px 3px 0;padding:4px;margin-left:13px;margin-top:11px}::ng-deep co-scroll-container .scroll-layer .scroller.right-scroll{right:5px}::ng-deep co-scroll-container .scroll-layer .scroller.right-scroll:after{border-width:0 3px 3px 0;padding:4px;margin-left:9px;margin-top:11px}.product-page-block-variants{margin:20px 0 0}.product-page-block-variants ::ng-deep app-product-related>div{display:flex;gap:15px;align-items:center;border-top:1px solid #f6f5f4;padding:5px 0 7px 15px}.product-page-block-variants ::ng-deep app-product-related>div ::ng-deep app-header h3{font-size:14px}.product-page-block-variants ::ng-deep app-product-related>div ::ng-deep co-scroll-container{width:320px;max-width:100%;padding:0 16px}.product-page-block-variants ::ng-deep app-product-related>div ::ng-deep co-scroll-container .scroller{width:26px;height:26px}.product-page-block-variants ::ng-deep app-product-related>div ::ng-deep co-scroll-container .scroller.left-scroll{left:5px}.product-page-block-variants ::ng-deep app-product-related>div ::ng-deep co-scroll-container .scroller.left-scroll:before{border-width:0 2px 2px 0;margin-left:9px;margin-top:9px}.product-page-block-variants ::ng-deep app-product-related>div ::ng-deep co-scroll-container .scroller.right-scroll{right:5px}.product-page-block-variants ::ng-deep app-product-related>div ::ng-deep co-scroll-container .scroller.right-scroll:after{border-width:0 2px 2px 0;margin-left:6px;margin-top:9px}.product-page-block-variants ::ng-deep co-tile.small{min-width:50px!important;max-width:50px!important;border:1px solid #f6f5f4;margin:0 10px 0 0;border-radius:4px}.product-page-block-variants ::ng-deep co-tile.small:hover{border-color:#22313c}.product-page-block-variants ::ng-deep co-tile.small .tile-wrapper{padding:0}.product-page-block-variants ::ng-deep co-tile.small .tile-wrapper .tile-top{display:none}.product-page-block-variants ::ng-deep co-tile.small .tile-wrapper .image{height:40px!important;padding:5px}.product-page-block-variants ::ng-deep co-tile.small .tile-wrapper .image .no-image-wrapper .no-image{width:40px;height:40px}.product-page-block-variants ::ng-deep co-tile.small .tile-wrapper .image .no-image-wrapper span{display:none!important}.product-page-block-variants ::ng-deep co-tile.small .tile-wrapper .tile-bottom{display:none}.product-page-block-variants ::ng-deep co-tile.small .tile-extra-bottom{display:none}.product-page-block-alternatives ::ng-deep .article-wrapper{margin:0 20px 0 0}.product-page-block-alternatives ::ng-deep .article-wrapper:last-child{margin:0}.product-page-block-alternatives ::ng-deep co-tile{cursor:pointer;transition:.14s ease-out;border:1px solid transparent;border-bottom-color:#f6f5f4;padding:15px 10px 0;width:319px;max-width:none;min-width:0;box-sizing:border-box}.product-page-block-alternatives ::ng-deep co-tile:hover{box-shadow:none;border-color:#f6f5f4}.product-page-block-alternatives ::ng-deep co-tile:hover .tile-wrapper div.image co-image{transform:scale(1.05)}.product-page-block-alternatives ::ng-deep co-tile:hover .tile-wrapper .tile-bottom{margin:0}.product-page-block-alternatives ::ng-deep co-tile:hover .tile-extra-bottom .main .description{text-decoration:underline}.product-page-block-alternatives ::ng-deep co-tile .tile-wrapper{padding:0;position:relative;outline:0;overflow:hidden}.product-page-block-alternatives ::ng-deep co-tile .tile-wrapper .tile-top{position:absolute;left:0;top:0;width:100%}.product-page-block-alternatives ::ng-deep co-tile .tile-wrapper div.image{position:relative;padding:1px;display:flex;align-items:center;justify-content:center;overflow:hidden;max-width:250px;margin:0 auto;height:auto}.product-page-block-alternatives ::ng-deep co-tile .tile-wrapper div.image:after{content:"";padding:100% 0 0;float:left;width:100%}.product-page-block-alternatives ::ng-deep co-tile .tile-wrapper div.image co-image{position:absolute;left:0;top:0;overflow:hidden;width:100%;height:100%;-o-object-fit:contain;object-fit:contain;z-index:-1;transition:.2s}.product-page-block-alternatives ::ng-deep co-tile .tile-wrapper div.image .no-image-wrapper{position:absolute;display:flex;left:50%;top:50%;margin:-48px 0 0 -54px;flex-direction:column;align-items:center;opacity:.25}.product-page-block-alternatives ::ng-deep co-tile .tile-wrapper .tile-bottom{position:absolute;right:0;bottom:0;margin:0 -40px 0 0;transition:.2s;height:auto}.product-page-block-alternatives ::ng-deep co-tile .tile-wrapper .tile-bottom ::ng-deep co-button{margin:0 0 5px!important;width:36px;height:36px;border:1px solid #22313c;cursor:pointer;border-radius:4px;padding:0!important;font-size:0}.product-page-block-alternatives ::ng-deep co-tile .tile-wrapper .tile-bottom ::ng-deep co-button co-icon{width:32px;height:32px;margin:0 2px}.product-page-block-alternatives ::ng-deep co-tile .tile-extra-bottom{outline:0;padding:15px 0;background:0 0!important;min-height:60px}.product-page-block-alternatives ::ng-deep co-tile .tile-extra-bottom .main{padding:0 10px}.product-page-block-alternatives ::ng-deep co-tile .tile-extra-bottom .main .description{font-size:15px;font-weight:700;margin:0 0 2px}.product-page-block-alternatives ::ng-deep co-tile .tile-extra-bottom .main .price{font-size:16px;margin:15px 0 0;font-weight:700;color:#2b60a7}.product-page-block-additional-information{grid-column:1/6;grid-row:4/4}.product-page-block-properties{grid-column:7/10;grid-row:3/3}.product-page-block-related-articles{grid-column:2/6;grid-row:4/4}.product-page-block-alternative-articles{grid-column:6/10;grid-row:4/4}.product-page-block-documents{grid-column:2/6;grid-row:5/5}.product-page-block-symbols{grid-column:6/10;grid-row:5/5}@media screen and (max-width:950px){.default-padding{padding-top:20px;padding-bottom:20px}.m-padding{padding-top:15px;padding-bottom:15px}.s-padding{padding-top:5px;padding-bottom:5px}.page-wrapper{max-width:650px}.page-wrapper .page-wrapper-content{flex-direction:column;margin:30px 0}.page-wrapper .page-wrapper-content .page-wrapper-left,.page-wrapper .page-wrapper-content .page-wrapper-right{width:100%}.product-page-block-alternatives ::ng-deep co-tile{width:284px!important}}@media screen and (max-width:650px){[class*=-padding]{padding-left:0!important;padding-right:0!important}.product-page-block-addtocart ::ng-deep co-number-picker co-button{height:38px!important}.product-page-block-addtocart ::ng-deep co-number-picker co-input-text{height:38px!important;width:36px!important}.product-page-block-addtocart ::ng-deep co-button.cart-button{height:40px;font-size:13px}}']})],t)}(),G=function(){function t(t,i){this._iconCache=t,this._changeDetector=i,this.type=P,this.icons=j,this.onIconClick=new e.EventEmitter,this.currentTypeChange=new e.EventEmitter,this.twoDIcon=this._iconCache.getIcon(this.icons.TwoD),this.threeDIcon=this._iconCache.getIcon(this.icons.ThreeD)}return t.prototype.ngOnInit=function(){},t.prototype.handleIconClick=function(t){this.currentType=t,this.currentTypeChange.next(this.currentType),this.onIconClick.next(this.currentType),this._changeDetector.detectChanges()},t.ctorParameters=function(){return[{type:Z},{type:e.ChangeDetectorRef}]},x([e.Input()],t.prototype,"show2D",void 0),x([e.Input()],t.prototype,"show3D",void 0),x([e.Input()],t.prototype,"currentType",void 0),x([e.Output()],t.prototype,"onIconClick",void 0),x([e.Output()],t.prototype,"currentTypeChange",void 0),t=x([e.Component({selector:"app-product-selector-type",template:'<div *ngIf="show2D || show3D" class="show-in" [textContent]="\'SHOW_IN\' | localize"></div>\n<co-icon *ngIf="show2D" class="selector-type-icon"\n [class.active]="currentType === type.TwoD"\n [iconData]="twoDIcon"\n (click)="handleIconClick(type.TwoD)"\n></co-icon>\n<co-icon *ngIf="show3D" class="selector-type-icon"\n [class.active]="currentType === type.ThreeD"\n [iconData]="threeDIcon"\n (click)="handleIconClick(type.ThreeD)"\n></co-icon>\n',styles:[":host{display:flex;flex-direction:row;align-items:center}:host .show-in{display:none}:host>:not(:last-child){margin-right:10px}::ng-deep co-icon.selector-type-icon{box-shadow:inset 0 0 0 1px #22313c;border-radius:50%;background:0 0;height:34px;width:34px;cursor:pointer}::ng-deep co-icon.selector-type-icon.active{box-shadow:none;background:#74b77f;transition:.2s ease-in-out}::ng-deep co-icon.selector-type-icon.active [fill]{fill:#fff}"]})],t)}(),Q=function(){function t(t,e,i,n,r){var o=this;this._ione=t,this._appEventService=e,this._changeDetector=i,this._domSanitizer=n,this.iconCache=r,this.icons=j,this.showLoader=!1,this.showRefresh=!1,this.resizing=!1,this._currentIndex=0,this._images=[],this._subs=[],this._subs.push(this._appEventService.onRenderStarted.subscribe((function(){o.showLoader=!0})),this._appEventService.onDraftRenderImageReceived.subscribe((function(t){o._images[0]instanceof y.CoDocument?o._images.unshift(t):o._images[0]=t,o.showLoader=!1})))}return Object.defineProperty(t.prototype,"images",{get:function(){return this._images},set:function(t){t&&t.length>0&&(this._images=t,this._loadImages(),this._changeDetector.detectChanges())},enumerable:!0,configurable:!0}),t.prototype.handleWindowResize=function(){var t=this;this.resizing=!0,this._scrollCarouselToIndex(),clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout((function(){t.resizing=!1}),200)},t.prototype.gotoNextSlide=function(){this.currentIndex++},t.prototype.gotoPrevSlide=function(){this.currentIndex--},t.prototype.isCurrentIndex=function(t){return this.currentIndex===t},Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(t){this._currentIndex=t,this._scrollCarouselToIndex()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.ngOnDestroy=function(){this.carousel=void 0,this._subs.forEach((function(t){return t.unsubscribe()}))},t.prototype.handleThumbClick=function(t){this.currentIndex=t},t.prototype.onForceRenderImage=function(){this._appEventService.onForceRenderImage.next()},t.prototype.getImageSrc=function(t){var e="";return t instanceof y.CoDocument?e=t.filePath?t.filePath:t.documentBodyAsDataUri:void 0!==t.detail&&(e=t.detail),this._domSanitizer.bypassSecurityTrustUrl(e)},t.prototype._loadImages=function(){var t=this;this._images&&this._images.forEach((function(e){e.documentBody||e.filePath||t._ione.getDocumentContent(e.documentId,!1).then((function(t){t&&(e.documentBody=t.documentContent)}))}))},t.prototype._scrollCarouselToIndex=function(){if(this.currentIndex>-1&&this.currentIndex<=this.images.length){var t=this.currentIndex*this.carousel.nativeElement.clientWidth;this.carousel&&this.carousel.nativeElement&&(this.carousel.nativeElement.scrollLeft=t)}},t.ctorParameters=function(){return[{type:N},{type:H},{type:e.ChangeDetectorRef},{type:h.DomSanitizer},{type:Z}]},x([e.ViewChild("carousel",{read:e.ElementRef})],t.prototype,"carousel",void 0),x([e.Input()],t.prototype,"showRefresh",void 0),x([e.Input()],t.prototype,"images",null),x([e.HostListener("window:resize")],t.prototype,"handleWindowResize",null),x([e.HostListener("swipeleft")],t.prototype,"gotoNextSlide",null),x([e.HostListener("swiperight")],t.prototype,"gotoPrevSlide",null),x([e.HostBinding("class.resizing")],t.prototype,"resizing",void 0),t=x([e.Component({selector:"app-image-carousel",template:'<div id="product_page_carousel">\n <div id="product_page_carousel_items">\n <co-loader [isShown]="showLoader"></co-loader>\n <div #carousel class="inner-carousel">\n \x3c!-- This has been taken out of the for loop to prevent flashing images when updating. --\x3e\n <div *ngIf="images[0]" class="carousel-item" [id]="\'slide-0\'" [class.active]="isCurrentIndex(0)">\n <img [src]="getImageSrc(images[0])">\n </div>\n <div *ngFor="let image of images.slice(1); let index = index" class="carousel-item" [id]="\'slide-\' + (index + 1)" [class.active]="isCurrentIndex((index + 1))">\n <img [src]="getImageSrc(image)">\n </div>\n <div class="carousel-scroller-layer" *ngIf="images && images.length > 1">\n <div class="carousel-item-scroller prev" (click)="gotoPrevSlide()" *ngIf="currentIndex > 0"></div>\n <div class="carousel-item-scroller next" (click)="gotoNextSlide()" *ngIf="currentIndex < images.length - 1"></div>\n </div>\n </div>\n <co-icon class="selector-type-icon refresh-button" [iconData]="iconCache.getIcon(icons.Refresh)" (click)="onForceRenderImage()" [class.loading]="showLoader" *ngIf="showRefresh"></co-icon>\n </div>\n\n <div id="product_page_carousel_thumbs">\n <co-scroll-container class="scroll-container" *ngIf="images && images.length > 1">\n <div *ngFor="let image of images; let index = index" class="carousel-thumb" [class.active]="index === currentIndex">\n <img [src]="getImageSrc(image)" (click)="handleThumbClick(index)"/>\n </div>\n </co-scroll-container>\n </div>\n</div>\n',styles:[":host{max-height:540px;height:100%;position:relative}:host:not(.resizing) .inner-carousel{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory}#product_page_carousel{position:relative}#product_page_carousel .refresh-button{position:absolute;bottom:10px;right:10px;background:#fff}#product_page_carousel .refresh-button.loading{-webkit-animation:1s linear infinite spin;animation:1s linear infinite spin}#product_page_carousel .refresh-button:hover{box-shadow:none;background:#74b77f;transition:.2s ease-in-out}#product_page_carousel .refresh-button:hover ::ng-deep svg path{fill:#fff!important}#product_page_carousel #product_page_carousel_items{position:relative;margin-bottom:10px}#product_page_carousel #product_page_carousel_items ::ng-deep co-loader{position:absolute}#product_page_carousel .inner-carousel{display:flex;flex-direction:row;align-items:center;overflow:hidden;max-height:500px;border:1px solid #efefef}#product_page_carousel .carousel-item{max-height:500px;width:100%;display:flex;flex-shrink:0;flex-grow:0}#product_page_carousel .carousel-item img{width:100%;height:auto;-o-object-fit:contain;object-fit:contain}#product_page_carousel .carousel-scroller-layer{height:100%;width:100%;position:absolute;pointer-events:none;top:0;left:0}#product_page_carousel #product_page_carousel_thumbs{display:flex;justify-content:flex-start;height:80px;margin-left:auto;margin-right:auto}#product_page_carousel #product_page_carousel_thumbs ::ng-deep co-scroll-container{padding:0 22px}#product_page_carousel #product_page_carousel_thumbs ::ng-deep co-scroll-container .content-wrapper{padding:0}#product_page_carousel #product_page_carousel_thumbs .carousel-thumb{opacity:1;cursor:pointer;transition:.2s;padding:4px;border:1px solid #f6f5f4}#product_page_carousel #product_page_carousel_thumbs .carousel-thumb.active,#product_page_carousel #product_page_carousel_thumbs .carousel-thumb:hover{border-color:#22313c}#product_page_carousel #product_page_carousel_thumbs .carousel-thumb:not(:last-child){margin-right:10px}#product_page_carousel #product_page_carousel_thumbs .carousel-thumb img{height:68px}@media screen and (max-width:650px){#product_page_carousel_thumbs{height:57px!important}#product_page_carousel_thumbs .carousel-thumb img{height:50px!important}}@-webkit-keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]})],t)}(),Y=function(){function t(){}return t.prototype.ngOnInit=function(){},x([e.Input()],t.prototype,"article",void 0),t=x([e.Component({selector:"app-product-description",template:'<div class="pd-title-wrapper">\n <span class="pd-description" [textContent]="article?.descriptionRetail" *ngIf="article?.descriptionRetail"></span>\n <span class="pd-sku" [textContent]="article?.articleNr" *ngIf="article?.articleNr"></span>\n</div>\n',styles:[":host{display:block}.pd-title-wrapper{margin:20px 0 0}.pd-description{color:#22313c;font-size:25px;font-weight:700;width:100%;display:block}.pd-sku{color:#5b6875;font-size:16px}@media screen and (max-width:650px){.pd-description{font-size:21px}.pd-sku{font-size:13px}}"]})],t)}(),J=function(){function t(){}return t.IsShortDescription=function(t){return(1&t)>0},t.IsFullDescription=function(t){return(2&t)>0},t.IsMetaTitle=function(t){return(4&t)>0},t.IsMetaDescription=function(t){return(8&t)>0},t.IsMetaKeys=function(t){return(16&t)>0},t}(),K=function(){function t(t){this._appEventService=t}return Object.defineProperty(t.prototype,"article",{get:function(){return this._article},set:function(t){this._article=t,this._article&&(this.description=this.article.additionalDescription,this._prepareDescription())},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.onReadMore=function(){this._appEventService.onUpdateProductInfoTab.next(0)},t.prototype._prepareDescription=function(){var t=this;this.description="",this.article.texts&&this.article.texts.length>0&&(this.article.texts.forEach((function(e){J.IsShortDescription(e.publication)&&(t.description+=e.text)})),this.description=this.description.replace(/<[^>]*>?/gm,""),this.description.length>250&&(this.description=this.description.substr(0,250)+" [..]"))},t.ctorParameters=function(){return[{type:H}]},x([e.Input()],t.prototype,"article",null),t=x([e.Component({selector:"app-product-additional-description",template:'<ng-container *ngIf="description !== \'\'">\n <div class="pd-additional-description">\n <p [innerHTML]="description"></p>\n <button class="pd-read-more-btn" [textContent]="\'READ_MORE\' | localize" (click)="onReadMore()"></button>\n </div>\n</ng-container>\n',styles:[":host{display:block;padding-top:0!important}:host :focus{outline:0!important}:host .pd-additional-description{line-height:190%;color:#22313c;font-size:13px}:host .pd-read-more-btn{color:#2b60a7;border:none;background:0 0;cursor:pointer;text-decoration:underline;font-family:iOneMontserrat}:host .pd-read-more-btn:hover{color:#74b77f}@media screen and (max-width:650px){:host .pd-additional-description{font-size:12px}}"]})],t)}(),$=function(){function t(t){this._changeDetector=t,this.showFromPrice=!1,this._configurable=!1}return Object.defineProperty(t.prototype,"pricing",{get:function(){return this._pricing},set:function(t){this._pricing=t,this._setPrices()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"configurable",{set:function(t){this._configurable=t,this._setPrices()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype._setPrices=function(){this._pricing&&(this.valutaSign=this._getSign(this._pricing.retailCurrency),this._configurable?(this.fromPrice=this._pricing.retailBasePrice?this._pricing.retailBasePrice:this._pricing.priceBaseline,this.fromLabel=this._pricing.retailBasePrice?"PRICE":"FROM",this.toPrice=void 0):(this.fromPrice=this._pricing.retailSuggestedPrice?this._pricing.retailSuggestedPrice:this._pricing.retailBasePrice,this.fromLabel=this._pricing.retailSuggestedPrice?"Was":"PRICE",this.toPrice=this._pricing.retailSuggestedPrice?this._pricing.retailBasePrice:void 0,this.toLabel=this._pricing.retailSuggestedPrice?"IS_NOW":""),this._changeDetector.detectChanges())},t.prototype._getSign=function(t){switch(t){case"EUR":default:return"€"}},t.ctorParameters=function(){return[{type:e.ChangeDetectorRef}]},x([e.Input()],t.prototype,"pricing",null),x([e.Input()],t.prototype,"configurable",null),t=x([e.Component({selector:"app-product-price",template:'<div *ngIf="toPrice">\n <div class="price-wrapper" *ngIf="fromPrice > toPrice">\n <div class="from-price-label" [textContent]="fromLabel | localize"></div>\n <div class="from-price" [textContent]="fromPrice | priceDisplay"></div>\n </div>\n <div class="price-wrapper">\n <div class="to-price-label" [textContent]="toLabel | localize"></div>\n <div class="to-price" [textContent]="toPrice | priceDisplay"></div>\n </div>\n</div>\n',styles:[":host{display:flex;flex-direction:column}.price-wrapper{width:100%;font-size:15px;margin:0 0 5px;display:inline-block}.price-wrapper:last-child{margin:0}.from-price-label,.to-price-label{color:#5b6875;display:none}.from-price{font-size:16px;font-weight:700;text-decoration:line-through;color:#5b6875}.to-price{font-size:25px;font-weight:700;color:#74b77f}@media screen and (max-width:650px){.from-price{font-size:13px}.to-price{font-size:21px}}"]})],t)}(),X=function(){function t(t,i,n,r){this.iconCache=t,this._ioneControllerService=i,this._appEventService=n,this._settingsService=r,this.icon=j,this.configurable=!1,this.configuring=!1,this.fullscreen=!1,this.startConfiguration=new e.EventEmitter,this.addToCartClick=new e.EventEmitter,this.addToQuoteClick=new e.EventEmitter,this.showQuoteButton=!1,this._quantity=1}return Object.defineProperty(t.prototype,"quantity",{get:function(){return this._quantity},set:function(t){this._quantity=Math.max(1,t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.ngOnDestroy=function(){this.addToCartButton=void 0},t.prototype.handleAddToCartClick=function(t){return w(this,void 0,void 0,(function(){var e,i;return _(this,(function(n){switch(n.label){case 0:return i=(e=this._appEventService.onAddToCart).next,[4,this._getJSONFromArticleObject({article:this.article,quantity:t})];case 1:return i.apply(e,[n.sent()]),[2]}}))}))},t.prototype.handleAddToQuoteClick=function(t){return w(this,void 0,void 0,(function(){var e,i;return _(this,(function(n){switch(n.label){case 0:return i=(e=this._appEventService.onAddToQuote).next,[4,this._getJSONFromArticleObject({article:this.article,quantity:t})];case 1:return i.apply(e,[n.sent()]),[2]}}))}))},t.prototype._getJSONFromArticleObject=function(t){return w(this,void 0,void 0,(function(){var e;return _(this,(function(i){switch(i.label){case 0:return(e=new v.ConfiguratorStatisticsEnvironment).userType="iOneProductPage",e.transactionType="Sales",e.actionDomain="bundle",e.sessionId=this._settingsService.settings.session?this._settingsService.settings.session.sessionId:"unknown",e.webHost=window.location.host,e.bundleHost=window.location.host,[4,this._ioneControllerService.getJsonArticleFlatTree(t.article.goodId,t.article.goodType,t.quantity,!0,e)];case 1:return[2,i.sent()]}}))}))},t.ctorParameters=function(){return[{type:Z},{type:N},{type:H},{type:M}]},x([e.ViewChild("addtocartbutton",{read:e.ElementRef})],t.prototype,"addToCartButton",void 0),x([e.Input()],t.prototype,"article",void 0),x([e.Input()],t.prototype,"configurable",void 0),x([e.Input()],t.prototype,"configuring",void 0),x([e.HostBinding("class.full-screen"),e.Input()],t.prototype,"fullscreen",void 0),x([e.Input()],t.prototype,"quantity",null),x([e.Output()],t.prototype,"startConfiguration",void 0),x([e.Output()],t.prototype,"addToCartClick",void 0),x([e.Output()],t.prototype,"addToQuoteClick",void 0),t=x([e.Component({selector:"app-product-addtocart",template:'<div class="atc-wrapper">\n <co-number-picker *ngIf="!configurable && !configuring" class="quantity-select" [(model)]="quantity" [min]="1" horizontal></co-number-picker>\n <div class="button-wrapper">\n <co-button class="configure-button" *ngIf="configurable"\n [iconData]="iconCache.getIcon(icon.MagicWand)"\n [label]="\'CONFIGURE\' | localize"\n (onClick)="startConfiguration.emit()"\n ></co-button>\n <co-button #addtocartbutton class="cart-button" *ngIf="!configurable"\n [iconData]="iconCache.getIcon(icon.AddToCartDrop)"\n [label]="\'SHOPPING_CART_IN\' | localize"\n (onClick)="handleAddToCartClick(quantity)"\n ></co-button>\n <co-button class="cart-button quote" *ngIf="!configurable && showQuoteButton"\n [iconData]="iconCache.getIcon(icon.Quote)"\n [label]="\'QUOTATION\' | localize"\n (onClick)="handleAddToQuoteClick(quantity)"\n ></co-button>\n </div>\n</div>\n',styles:[":host{display:flex;flex-direction:column}:host :not(:last-child){margin-bottom:5px}:host .atc-wrapper{display:flex;flex-direction:row;align-items:baseline}:host .atc-wrapper .quantity-select{margin-right:5px}:host.full-screen .cart-button{position:fixed;right:20px;bottom:20px;z-index:3}::ng-deep co-number-picker{max-width:100px;border:2px solid #f6f5f4;border-radius:5px}::ng-deep co-number-picker ::ng-deep co-input-text{height:50px!important;border:none!important;width:50px!important}::ng-deep co-number-picker ::ng-deep co-input-text:after{display:none}::ng-deep co-number-picker ::ng-deep co-input-text.focused{box-shadow:none!important;border:none!important;background:0 0!important}::ng-deep co-number-picker ::ng-deep co-input-text .clear-icon{display:none}::ng-deep co-number-picker ::ng-deep co-input-text input{width:100%;text-align:center}::ng-deep co-number-picker ::ng-deep co-button{justify-content:center;padding:0!important;margin:0!important;height:50px!important;background-color:transparent!important}::ng-deep co-number-picker ::ng-deep co-button ::ng-deep co-icon [fill]{fill:#22313c!important}.button-wrapper ::ng-deep co-button{height:50px;max-width:300px;justify-content:center;font-size:15px;border-radius:5px!important;cursor:pointer;padding:0 20px!important}.button-wrapper ::ng-deep co-button:hover{background:#74b77f}::ng-deep co-button.cart-button{border-radius:5px}::ng-deep co-button.cart-button.quote{background:#7292b6}"]})],t)}(),tt=function(){function t(t,e){this._iOne=t,this._appEventService=e,this.isSmallModus=!0,this._articles=[]}return Object.defineProperty(t.prototype,"articles",{get:function(){return this._articles},set:function(t){var e=this;t&&(this.refType&&void 0!==this.refType?t.length>0&&t.forEach((function(t){t.refType===e.refType&&e._articles.push(t)})):this._articles=t,this._loadImages())},enumerable:!0,configurable:!0}),t.prototype.handleContentClick=function(t){this._appEventService.onAlternativeClick.next(t)},t.prototype._loadImages=function(){var t=this;this._articles.forEach((function(e){e.image.documentBody||t._iOne.getDocumentContent(e.image.documentId).then((function(t){t&&(e.image.documentBody=t.documentContent)}))}))},t.ctorParameters=function(){return[{type:N},{type:H}]},x([e.Input()],t.prototype,"refType",void 0),x([e.Input()],t.prototype,"label",void 0),x([e.Input()],t.prototype,"isSmallModus",void 0),x([e.Input()],t.prototype,"articles",null),t=x([e.Component({selector:"app-product-related",template:'<div *ngIf="articles && articles.length > 0">\n <app-header [label]="label" [amount]="articles?.length" *ngIf="label"></app-header>\n <co-scroll-container>\n <div class="article-wrapper" *ngFor="let article of articles">\n <co-article-tile\n [imageData]="article.image.documentBodyAsDataUri"\n [description]="article.description"\n [price]="article.price"\n [level]="article.stockStatus"\n [isSmallModus]="isSmallModus"\n [hasConfigureButton]="article.goodType === \'B\'"\n (contentClick)="handleContentClick(article)"\n ></co-article-tile>\n </div>\n </co-scroll-container>\n</div>\n',styles:[":host{display:block}.article-wrapper{display:flex;flex-direction:row}.article-wrapper ::ng-deep co-tile.small{min-width:189px;max-width:189px;height:100%}.article-wrapper ::ng-deep co-tile.small:hover{box-shadow:none;cursor:pointer}.article-wrapper ::ng-deep co-tile.small:hover .tile-bottom .left-buttons{margin:0!important}.article-wrapper ::ng-deep co-tile.small .tile-wrapper{outline:0!important;padding-bottom:0;overflow:hidden}.article-wrapper ::ng-deep co-tile.small .tile-wrapper div.image{height:100px}.article-wrapper ::ng-deep co-tile.small .tile-wrapper .tile-bottom .left-buttons{position:absolute;top:0;right:0;margin:0 -32px 0 0;align-items:flex-end;transition:.2s ease-in-out}.article-wrapper ::ng-deep co-tile.small .tile-wrapper .tile-bottom .left-buttons ::ng-deep co-button.card-button.mini{width:30px;height:30px;transform:none;border-radius:4px;margin:0 0 5px}.article-wrapper ::ng-deep co-tile.small .tile-wrapper .tile-bottom .left-buttons ::ng-deep co-button.card-button.mini ::ng-deep co-icon{width:30px;height:30px}.article-wrapper ::ng-deep co-tile.small .tile-extra-bottom{outline:0!important;background:0 0!important}.article-wrapper ::ng-deep co-tile.small .tile-extra-bottom .price{color:#74b77f;margin:5px 0 0;font-weight:400;font-size:12px}"]})],t)}(),et=function(){function t(t,e){this._iOne=t,this._iconCache=e,this.icon=j,this.iconData=this._iconCache.getIcon(this.icon.Warehouse)}return Object.defineProperty(t.prototype,"stockAndDelivery",{set:function(t){t&&(this.numberInStock=t.stock)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.ctorParameters=function(){return[{type:N},{type:Z}]},x([e.Input()],t.prototype,"stockAndDelivery",null),t=x([e.Component({selector:"app-product-stock",template:'\x3c!--<app-header [label]="\'STOCK\' | localize"></app-header>--\x3e\n\x3c!--<co-level-indicator [model]="\'medium\'"></co-level-indicator>--\x3e\n<div class="product-stock-wrapper">\n <co-icon class="stock-icon" [iconData]="iconData"></co-icon>\n <div class="product-stock-fields">\n <div class="pp-default-label in-stock" [textContent]="\'PRODUCT_IN_STOCK\' | localize" *ngIf="numberInStock > 0"></div>\n <div class="pp-default-label not-in-stock" [textContent]="\'PRODUCT_NOT_IN_STOCK\' | localize" *ngIf="!(numberInStock > 0)"></div>\n </div>\n</div>\n',styles:[':host{display:block}.product-stock-wrapper{display:flex;flex-direction:row;align-items:center;border-top:1px solid #f6f5f4;border-bottom:1px solid #f6f5f4;padding:20px 15px}.product-stock-wrapper .stock-icon{margin:0 15px 0 0;width:40px;height:37px}.product-stock-wrapper .product-stock-fields{display:flex;flex-direction:row}.product-stock-wrapper .product-stock-fields .pp-default-label{font-size:14px;margin:0}.product-stock-wrapper .product-stock-fields .pp-default-label:after{content:"";width:10px;height:10px;border-radius:10px;background:#74b77f;display:inline-block;margin:0 0 0 15px}.product-stock-wrapper .product-stock-fields .pp-default-label.not-in-stock:after{background:#f15152}@media screen and (max-width:400px){.product-stock-wrapper{padding:15px 0 15px 10px}.product-stock-wrapper .stock-icon{margin:0 15px 0 0;width:32px;height:28px}.product-stock-wrapper .product-stock-fields .pp-default-label{font-size:13px}}']})],t)}(),it=function(){function t(t){this._dictionaryService=t}return t.prototype.transform=function(t,e,i){var n;return void 0===e&&(e=!0),void 0===i&&(i=[]),t?(i=i||[],Array.isArray(i)||(i=[i]),(n=this._dictionaryService).get.apply(n,S([t,e],i))):""},t.ctorParameters=function(){return[{type:L}]},t=x([e.Pipe({name:"localize"})],t)}(),nt=function(){function t(t,e,i){this._localizePipe=t,this._iOne=e,this._iconCache=i,this.icon=j,this.iconData=this._iconCache.getIcon(this.icon.Truck)}return Object.defineProperty(t.prototype,"stockAndDelivery",{set:function(t){t&&(this.deliveryDescription=t.deliveryDescription,this.deliveryDescription.length>0&&" "===this.deliveryDescription[0]&&(this.deliveryDescription=this._localizePipe.transform("ASK_FOR_INFORMATION")))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.ctorParameters=function(){return[{type:it},{type:N},{type:Z}]},x([e.Input()],t.prototype,"stockAndDelivery",null),t=x([e.Component({selector:"app-product-delivery",template:'\x3c!--<app-header [label]="\'DELIVERY_TIME_PERIOD\' | localize"></app-header>--\x3e\n<div class="product-delivery-wrapper">\n <co-icon class="delivery-icon" [iconData]="iconData"></co-icon>\n <div class="product-delivery-fields">\n <div class="pp-default-label" [textContent]="\'DELIVERY_TIME_PERIOD\' | localize"></div>\n <div class="pp-default-description" [textContent]="deliveryDescription | date:\'dd MMMM yyyy\'"></div>\n </div>\n</div>\n',styles:[":host{display:block}.product-delivery-wrapper{display:flex;flex-direction:row;align-items:center;border-bottom:1px solid #f6f5f4;padding:20px 15px}.product-delivery-wrapper .delivery-icon{margin:0 15px 0 0;width:40px;height:37px}.product-delivery-wrapper .product-delivery-fields{display:flex;flex-direction:column}.product-delivery-wrapper .product-delivery-fields .pp-default-label{font-size:14px;margin:0}@media screen and (max-width:400px){.product-delivery-wrapper{padding:15px 0 15px 10px}.product-delivery-wrapper .delivery-icon{margin:0 15px 0 0;width:32px;height:28px}.product-delivery-wrapper .product-delivery-fields .pp-default-label{font-size:13px}}"]})],t)}(),rt=function(){function t(t){var e=this;this._appEventService=t,this.activeTabHeight=0,this.tabs=[],this._subs=[],this._subs.push(this._appEventService.onUpdateProductInfoTab.subscribe((function(t){e.updateTab(t),e.tabContent.nativeElement.scrollIntoView({behavior:"smooth"})})))}return Object.defineProperty(t.prototype,"article",{set:function(t){t&&(this.articleObject=t,this._setupTabs(),this.updateTab(0))},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._subs.forEach((function(t){return t.unsubscribe()}))},t.prototype.updateTab=function(t){this.activeTab=t,this.updateHeight(t)},t.prototype.updateHeight=function(t){this.tabContent.nativeElement.children.length>0&&void 0!==this.tabContent.nativeElement.children[t]&&(this.activeTabHeight=this.tabContent.nativeElement.children[t].offsetHeight)},t.prototype._setupTabs=function(){this.tabs.push({title:"DESCRIPTION"}),this.tabs.push({title:"FEATURES"}),void 0!==this.articleObject.documents&&this.articleObject.documents.length>0&&this.tabs.push({title:"DOWNLOADS"}),void 0!==this.articleObject.symbols&&this.articleObject.symbols.length>0&&this.tabs.push({title:"SYMBOLS"})},t.ctorParameters=function(){return[{type:H}]},x([e.ViewChild("tabContent")],t.prototype,"tabContent",void 0),x([e.Input()],t.prototype,"article",null),t=x([e.Component({selector:"app-product-info-tabs",template:'<div class="tab-container">\r\n <div class="tab-header">\r\n <button *ngFor="let tab of tabs; let i = index" class="tab-header-button" [class.active]="activeTab === i" [textContent]="tab.title | localize" (click)="updateTab(i)"></button>\r\n </div>\r\n <div class="tab-content" #tabContent [style.height.px]="(activeTabHeight > 0 ? activeTabHeight : \'\')">\r\n <div class="tab-content-item" *ngFor="let tab of tabs; let i = index" [class.active]="activeTab === i">\r\n <ng-container *ngIf="i === 0">\r\n <app-product-additional-info class="" [article]="articleObject" [showLabel]="false"></app-product-additional-info>\r\n </ng-container>\r\n <ng-container *ngIf="i === 1">\r\n <app-product-properties class="" [article]="articleObject" [showLabel]="false"></app-product-properties>\r\n </ng-container>\r\n <ng-container *ngIf="i === 2">\r\n <app-product-documents [showLabel]="false" class="" *ngIf="articleObject?.documents && articleObject?.documents.length > 0" [documents]="articleObject?.documents"></app-product-documents>\r\n </ng-container>\r\n <ng-container *ngIf="i === 3">\r\n <app-product-symbols class="" *ngIf="articleObject?.symbols && articleObject?.symbols.length > 0" [symbols]="articleObject?.symbols"></app-product-symbols>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</div>\r\n',styles:[":focus{outline:0}:host .tab-header{border-bottom:3px solid #f6f5f4;margin:0 0 30px}:host .tab-header .tab-header-button{background:0 0;border:none;border-bottom:3px solid transparent;line-height:20px;padding:15px 20px;cursor:pointer;font-family:iOneMontserrat;color:#22313c;font-weight:700;margin:0 0 -3px;opacity:.5}:host .tab-header .tab-header-button:hover{opacity:1}:host .tab-header .tab-header-button.active{opacity:1;border-color:#74b77f}:host .tab-content{padding:0 20px 30px;margin:0 0 20px;border-bottom:2px solid #f6f5f4;transition:.2s ease-in-out;position:relative}:host .tab-content .tab-content-item{opacity:0;position:absolute;left:0;top:0;visibility:hidden;width:100%}:host .tab-content .tab-content-item.active{opacity:1;visibility:visible;position:static}@media screen and (max-width:650px){:host .tab-content{padding:0 10px 15px}}@media screen and (max-width:450px){:host .tab-header{display:flex}:host .tab-header .tab-header-button{width:100%;padding:10px;font-size:11px}}"]})],t)}(),ot=function(){function t(){}return t=x([e.NgModule({exports:[it],declarations:[it],providers:[it]})],t)}(),at=function(){function t(t){this.iconCache=t,this.icon=j,this.showLabel=!1,this.documents=[]}return t.ctorParameters=function(){return[{type:Z}]},x([e.Input()],t.prototype,"showLabel",void 0),x([e.Input()],t.prototype,"documents",void 0),t=x([e.Component({selector:"app-product-documents",template:'<app-header *ngIf="showLabel" [label]="\'DOCUMENTS\' | localize" [amount]="documents?.length"></app-header>\n<div *ngIf="documents && documents.length > 0">\n <co-files-upload [documents]="documents" [canAdd]="false" readonly></co-files-upload>\n</div>\n',styles:[":host{display:block}::ng-deep co-files-upload{flex-direction:column!important;width:100%}::ng-deep co-file-upload{margin:0!important;border-bottom:1px solid #f6f5f4}::ng-deep co-file-upload:first-child{border-top:1px solid #f6f5f4}::ng-deep co-files-upload .files-upload-wrapper{flex-direction:column!important;width:100%}::ng-deep co-file-upload co-tile{max-width:100%!important;width:100%;position:relative}::ng-deep co-file-upload co-tile:hover{box-shadow:none!important}::ng-deep co-file-upload co-tile:hover .tile-extra-bottom{background-color:#f6f5f4!important}::ng-deep co-file-upload co-tile .tile-wrapper{position:absolute!important;left:0;top:0;width:100%;height:100%;z-index:2;opacity:0;box-sizing:border-box}::ng-deep co-file-upload co-tile .tile-wrapper .image{position:absolute!important;left:0;top:0;width:100%!important;height:100%!important;cursor:pointer}::ng-deep co-file-upload co-tile .tile-extra-bottom{outline:0!important;border:none!important;background:url(../../../assets/icons/download.svg) left 6px center/36px auto no-repeat!important;line-height:20px;padding:20px 20px 20px 60px!important;margin:0!important}::ng-deep co-file-upload co-tile .tile-extra-bottom .main{padding:0!important}"]})],t)}(),lt=function(){function t(){}return t.prototype.ngOnInit=function(){},x([e.Input()],t.prototype,"label",void 0),x([e.Input()],t.prototype,"amount",void 0),t=x([e.Component({selector:"app-header",template:'<ng-container *ngIf="label">\n <div class="header-wrapper">\n <h3 [textContent]="label"></h3>\n <span *ngIf="amount" class="amount" [textContent]="\'(\' + amount + \')\'"></span>\n </div>\n</ng-container>\n',styles:[".header-wrapper{display:flex;flex-direction:row;align-items:center}.header-wrapper .amount{margin-left:5px}"]})],t)}();!function(t){t.Additional="additional",t.Properties="properties"}(U||(U={}));var ct=function(){function t(){this.tabType=U,this.currentTab=U.Additional}return t.prototype.ngOnInit=function(){},t.prototype.switchTab=function(t){this.currentTab=t},x([e.Input()],t.prototype,"article",void 0),t=x([e.Component({selector:"app-product-info",template:'<div>\n <div class="info-wrapper">\n <div class="info-navigation">\n <span [textContent]="\'ADDITIONAL_DATA\' | localize" class="navigator" [class.selected]="currentTab === tabType.Additional" (mouseup)="switchTab(tabType.Additional)"></span>\n <span [textContent]="\'PROPERTIES\' | localize" class="navigator" [class.selected]="currentTab === tabType.Properties" (mouseup)="switchTab(tabType.Properties)"></span>\n </div>\n <ng-container [ngSwitch]="currentTab" class="content">\n <div *ngSwitchCase="tabType.Additional" @showContent>\n <app-product-additional-info\n [article]="article"\n ></app-product-additional-info>\n </div>\n <div *ngSwitchCase="tabType.Properties" @showContent>\n <app-product-properties [article]="article"></app-product-properties>\n </div>\n </ng-container>\n </div>\n</div>\n',animations:[m.trigger("showContent",[m.state("void",m.style({opacity:"0"})),m.state("*",m.style({opacity:"1"})),m.transition("void => *",m.animate("200ms 100ms ease-in-out"))])],styles:[".info-navigation{margin:30px 0}.info-navigation .navigator:not(:last-child){margin-right:30px}.navigator{font-size:15px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.navigator.selected{color:#2b60a7}"]})],t)}(),st=function(){function t(t,e,i){this._sanitizer=t,this._connectorService=e,this._changeDetector=i,this.showLabel=!1,this.textParts=[],this._superArticles=new Map}return Object.defineProperty(t.prototype,"article",{get:function(){return this._article},set:function(t){var e=this;t&&(this._article=t,this._buildInfo().then((function(){e._changeDetector.detectChanges()})))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype._getTextsSuperArticle=function(){return w(this,void 0,void 0,(function(){var t=this;return _(this,(function(i){return[2,new Promise((function(i,n){return w(t,void 0,void 0,(function(){var t,n,r=this;return _(this,(function(o){switch(o.label){case 0:return t=[],this.article.superArticleNr?(n=void 0,this._superArticles.has(this.article.superArticleNr)?(n=this._superArticles.get(this.article.superArticleNr),[3,3]):[3,1]):[3,4];case 1:return[4,this._connectorService.getSuperArticle(this.article.superArticleNr)];case 2:n=o.sent(),this._superArticles.set(this.article.superArticleNr,n),o.label=3;case 3:return n.texts.forEach((function(i){if(J.IsFullDescription(i.publication)){var n=r._sanitizer.sanitize(e.SecurityContext.HTML,i.text);t.push(n)}})),i(t),[3,5];case 4:i(t),o.label=5;case 5:return[2]}}))}))}))]}))}))},t.prototype._prepareArticleTexts=function(){return w(this,void 0,void 0,(function(){var t,i,n=this;return _(this,(function(r){switch(r.label){case 0:return[4,this._getTextsSuperArticle()];case 1:return(t=r.sent()).length>0&&(i=this.textParts).push.apply(i,S(t)),this.article.texts&&this.article.texts.forEach((function(t){if(J.IsFullDescription(t.publication)){var i=n._sanitizer.sanitize(e.SecurityContext.HTML,t.text);n.textParts.push(i)}})),[2]}}))}))},t.prototype._buildInfo=function(){return w(this,void 0,void 0,(function(){return _(this,(function(t){switch(t.label){case 0:return this.textParts.length=0,[4,this._prepareArticleTexts()];case 1:return t.sent(),0===this.textParts.length&&(this.article.additionalDescription?this.textParts.push(this.article.additionalDescription):this.article.description&&this.textParts.push(this.article.description)),[2]}}))}))},t.ctorParameters=function(){return[{type:h.DomSanitizer},{type:N},{type:e.ChangeDetectorRef}]},x([e.Input()],t.prototype,"article",null),x([e.Input()],t.prototype,"showLabel",void 0),t=x([e.Component({selector:"app-product-additional-info",template:'<h3 *ngIf="showLabel" [textContent]="\'ADDITIONAL_DATA\' | localize"></h3>\n<ng-container *ngIf="textParts && textParts.length > 0">\n <div class="additional-info-parts" *ngFor="let text of textParts" [innerHTML]="text"></div>\n</ng-container>\n',styles:[":host{display:block}:host .additional-info-parts{margin-bottom:20px;line-height:190%;color:#22313c;font-size:13px}:host ::ng-deep p{line-height:190%;margin:15px 0}:host ::ng-deep font{font-family:iOneMontserrat}:host .additional-info-parts>:first-child{margin-top:0}:host .additional-info-parts>:last-child{margin-bottom:0}"]})],t)}(),pt=new Map([["articleNr","ARTICLE_NUMBER"],["catExtra","CATEGORY"],["catType","CATEGORY_TYPE"],["description","DESCRIPTION"],["material","MATERIAL"],["title","TITLE"],["turnOverGroup","TURNOVERGROUP"],["height","HEIGHT"],["width","WIDTH"]]),dt=function(){function t(){this.showLabel=!1,this.properties=[]}return Object.defineProperty(t.prototype,"article",{get:function(){return this._article},set:function(t){this._article=t,this._prepareProperties()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype._prepareProperties=function(){var t=this;this.properties.length=0,this._article&&pt.forEach((function(e,i){t.article.hasOwnProperty(i)&&t.properties.push({key:e,value:t.article[i]})}))},x([e.Input()],t.prototype,"article",null),x([e.Input()],t.prototype,"showLabel",void 0),t=x([e.Component({selector:"app-product-properties",template:'<div class="article-properties-wrapper">\n <h3 *ngIf="showLabel" [textContent]="\'PROPERTIES\' | localize"></h3>\n <ng-container *ngFor="let property of properties">\n <div class="article-property">\n <div class="article-property-key" [textContent]="property.key | localize"></div>\n <div class="article-property-value" [textContent]="property.value"></div>\n </div>\n </ng-container>\n</div>\n',styles:[":host{display:block}.article-properties-wrapper{display:flex;flex-direction:column}.article-property{display:flex;flex-direction:row;border-bottom:1px solid #f6f5f4;padding:11px 0;font-size:13px}.article-property:first-child{border-top:1px solid #f6f5f4}.article-property-key{flex-basis:200px;flex-shrink:0;color:#5b6875}@media screen and (max-width:450px){.article-property-key{flex-basis:130px}}"]})],t)}(),ut=function(){function t(){this.symbolStrings=[]}return Object.defineProperty(t.prototype,"symbols",{get:function(){return this._symbols},set:function(t){if(this._symbols=t,this._symbols&&this._symbols.hasOwnProperty("fontCode")&&(this._className="VLOER"===this._symbols.fontCode?"floor":"WAS"===this._className?"ginetex":""),this._symbols&&this._symbols.hasOwnProperty("symbolString"))for(var e=0;e<this._symbols.symbolString.length;e++)this.symbolStrings.push(this._symbols.symbolString[e])},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},x([e.Input()],t.prototype,"symbols",null),x([e.HostBinding("class")],t.prototype,"_className",void 0),t=x([e.Component({selector:"app-product-symbols",template:'<div *ngIf="symbols && symbols.length > 0">\n <app-header [label]="\'SYMBOLS\' | localize" [amount]="symbols?.length"></app-header>\n <co-scroll-container>\n <co-tile small noImagePlaceholder *ngFor="let symbol of symbolStrings">\n <ng-container tile-over-image>\n <div class="symbol" [textContent]="symbol"></div>\n </ng-container>\n <ng-container tile-extra-bottom-content>\n <div class="symbol-name" [textContent]="\'Wat moet hier?\'"></div>\n </ng-container>\n </co-tile>\n </co-scroll-container>\n</div>\n',styles:[":host{display:block}:host.floor .symbol{font-family:iOneFloorsymbols}:host.ginetex .symbol{font-family:iOneGinetexsymbols}.symbol{font-size:100px}"]})],t)}(),ft=function(){function t(){}return t=x([e.NgModule({imports:[g.CommonModule,b.IconModule,b.LoaderModule,ot,b.NumberPickerModule,b.ButtonModule,b.PriceDisplayPipeModule,b.InputTextModule,b.FilesUploadModule,b.ScrollContainerModule,b.TileModule,b.LevelIndicatorModule,b.ArticleTileModule],schemas:[e.CUSTOM_ELEMENTS_SCHEMA],declarations:[q,G,Q,Y,K,$,X,tt,et,nt,rt,at,lt,ct,st,dt,ut],exports:[q]})],t)}(),gt=function(){function t(){}return t=x([e.NgModule({imports:[g.CommonModule,ft],declarations:[V],exports:[V]})],t)}(),ht=function(){function t(){}return t=x([e.NgModule({imports:[g.CommonModule,gt,ft],declarations:[F],entryComponents:[F],providers:[],exports:[F],bootstrap:[F]})],t)}();t.IoneProductModule=ht,t.ProductExternalSourceComponent=V,t.ProductExternalSourceModule=gt,t.Version=C,t.ɵa=ft,t.ɵb=ot,t.ɵba=ut,t.ɵbb=F,t.ɵc=it,t.ɵd=L,t.ɵe=T,t.ɵf=q,t.ɵg=N,t.ɵh=R,t.ɵi=M,t.ɵj=Z,t.ɵk=H,t.ɵl=G,t.ɵm=Q,t.ɵn=Y,t.ɵo=K,t.ɵp=$,t.ɵq=X,t.ɵr=tt,t.ɵs=et,t.ɵt=nt,t.ɵu=rt,t.ɵv=at,t.ɵw=lt,t.ɵx=ct,t.ɵy=st,t.ɵz=dt,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
16
|
-
//# sourceMappingURL=colijnit-product.umd.min.js.map
|