@postnord/pn-marketweb-components 2.4.1 → 2.4.2
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/cjs/loader.cjs.js +1 -1
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-play-on-scroll.cjs.entry.js +13 -5
- package/cjs/pn-scroll_2.cjs.entry.js +3 -3
- package/collection/components/animation/pn-play-on-scroll/pn-play-on-scroll.css +9 -3
- package/collection/components/animation/pn-play-on-scroll/pn-play-on-scroll.js +13 -4
- package/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +12 -8
- package/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.js +2 -2
- package/components/pn-play-on-scroll.js +14 -5
- package/components/pn-video-overlay2.js +3 -3
- package/esm/loader.js +1 -1
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-play-on-scroll.entry.js +13 -5
- package/esm/pn-scroll_2.entry.js +3 -3
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-play-on-scroll.entry.js +1 -1
- package/esm-es5/pn-scroll_2.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/p-1590ae58.system.entry.js +1 -0
- package/pn-market-web-components/p-6525a912.entry.js +1 -0
- package/pn-market-web-components/p-b1935780.entry.js +1 -0
- package/pn-market-web-components/p-d295ef71.system.js +1 -1
- package/pn-market-web-components/p-e80d820e.system.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/animation/pn-play-on-scroll/pn-play-on-scroll.d.ts +2 -0
- package/types/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.d.ts +1 -1
- package/pn-market-web-components/p-1b18da01.entry.js +0 -1
- package/pn-market-web-components/p-3d4e0250.entry.js +0 -1
- package/pn-market-web-components/p-510b7ee1.system.entry.js +0 -1
- package/pn-market-web-components/p-8c493f7f.system.entry.js +0 -1
|
@@ -21,7 +21,7 @@ export declare class PnProxioPricegroup {
|
|
|
21
21
|
getPriceString(product: ProxioProduct): string;
|
|
22
22
|
getProductLink(product: ProxioProduct, productWeightGroupList: ProductWeightGroupListItem[]): string;
|
|
23
23
|
isActive(index: number): boolean;
|
|
24
|
-
getCarouselPosition(index: number):
|
|
24
|
+
getCarouselPosition(index: number): 1 | 0 | -1 | 2 | -2 | "outside";
|
|
25
25
|
getContainerPosition(): "default" | "end50" | "end75" | "start75" | "start50";
|
|
26
26
|
render(): any;
|
|
27
27
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as o,a as t,g as l}from"./p-7c1b31e8.js";import{v as e}from"./p-d3d7fec8.js";const i={root:null,threshold:0,rootMargin:"0px 0px 0px 0px"},r=class{constructor(o){s(this,o),this.testAdditionalParamIntoCallback=!0,this.handlePlayPauseClicked=()=>{this.video.paused||this.video.ended?(this.video.play(),this.isPaused=!1):(this.video.pause(),this.isPaused=!0)},this.videoSrc="",this.videoId="",this.isPaused=!1}generateUniqueId(){return e()}componentWillLoad(){this.videoId=this.generateUniqueId()}componentDidLoad(){this.video=document.getElementById(this.videoId),this.video.addEventListener("click",this.handlePlayPauseClicked)}render(){return o(t,null,o("pn-scroll",{intersectFunc:()=>{return s=this.video,void(this.isPaused||s&&s.play());var s},notIntersectFunc:()=>{var s;(s=this.video)&&s.pause()},shouldLoop:!0,behaviourClasses:"some-behaviour-class",observerOptions:i},o("div",{slot:"scroll-affected"},o("video",{muted:!0,autoPlay:!0,id:`${this.videoId}`},o("source",{src:this.videoSrc,type:"video/mp4"})),o("pn-video-overlay",{isPaused:this.isPaused,onPlayPauseClicked:this.handlePlayPauseClicked}))))}get hostElement(){return l(this)}};r.style="pn-play-on-scroll pn-scroll [slot=scroll-affected]{position:relative}pn-play-on-scroll pn-scroll [slot=scroll-affected] video{width:100%}pn-play-on-scroll pn-scroll [slot=scroll-affected] video:hover{cursor:pointer}pn-play-on-scroll pn-scroll [slot=scroll-affected] pn-video-overlay{position:absolute;bottom:0;left:0;padding:24px}";export{r as pn_play_on_scroll}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,a as i,g as s,e as l}from"./p-7c1b31e8.js";import{v as o}from"./p-d3d7fec8.js";const a={root:null,threshold:0,rootMargin:"0px 0px -150px 0px"},r="pn-scroll-wrapper-id-",n=class{constructor(t){e(this,t),this.observerOptions=a,this.behaviourClasses="fade slide-up",this.transitionDurationSeconds=.5,this.shouldLoop=!1,this.intersectFunc=void 0,this.notIntersectFunc=void 0,this.compId=null}generateUniqueId(){return o()}handleIntersection(e,t,i,s,l){e.forEach((e=>{if(l)e.target.classList.toggle("in-view",e.isIntersecting),e.isIntersecting?null==i||i(e,t):null==s||s(e,t);else{if(!e.isIntersecting)return void(null==s||s(e,t));e.target.classList.add("in-view"),null==i||i(e,t),t.unobserve(e.target)}}))}componentWillLoad(){this.compId=this.generateUniqueId()}componentDidLoad(){const e=new IntersectionObserver(((e,t)=>this.handleIntersection(e,t,this.intersectFunc,this.notIntersectFunc,this.shouldLoop)),this.observerOptions),t=document.getElementById(`${r}${this.compId}`);e.observe(t)}render(){return t(i,null,t("div",{class:`scroll-wrapper ${this.behaviourClasses}`,id:`${r}${this.compId}`,style:{"--transition-duration":`${this.transitionDurationSeconds}s`}},t("slot",{name:"scroll-affected"})))}get hostElement(){return s(this)}};n.style="pn-scroll .scroll-wrapper{-webkit-transition:all var(--transition-duration) ease-in-out 250ms;transition:all var(--transition-duration) ease-in-out 250ms}pn-scroll .scroll-wrapper.fade{opacity:0}pn-scroll .scroll-wrapper.fade.in-view{opacity:1}pn-scroll .scroll-wrapper.slide-up{-webkit-transform:translateY(50px);transform:translateY(50px)}pn-scroll .scroll-wrapper.slide-up.in-view{-webkit-transform:translateY(0);transform:translateY(0)}";const p={sv:{ariaLabel:"Spela eller pausa video"},en:{ariaLabel:"Play or pause video"},da:{ariaLabel:"Afspil eller sæt video på pause"},no:{ariaLabel:"Spill av eller sett video på pause"},fi:{ariaLabel:"Toista tai keskeytä video"},de:{ariaLabel:"Video abspielen oder anhalten"},zh:{sharelabel:"Play or pause video"},it:{sharelabel:"Play or pause video"},nl:{sharelabel:"Play or pause video"}},d=class{constructor(i){e(this,i),this.playPauseClicked=l(this,"playPauseClicked",7),this.handlePlayPauseClicked=()=>{this.playPauseClicked.emit()},this.renderPlayIcon=()=>t("svg",{width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 9.125C17 4.77576 13.4742 1.25 9.125 1.25C7.0653 1.25 5.19152 2.03991 3.78779 3.33445C3.53404 3.56846 3.13864 3.55246 2.90463 3.29871C2.67062 3.04496 2.68662 2.64956 2.94037 2.41555C4.56585 0.916511 6.7391 0 9.125 0C14.1646 0 18.25 4.0854 18.25 9.125C18.25 14.1646 14.1646 18.25 9.125 18.25C4.0854 18.25 0 14.1646 0 9.125C0 8.77982 0.279821 8.5 0.625 8.5C0.970178 8.5 1.25 8.77982 1.25 9.125C1.25 13.4742 4.77576 17 9.125 17C13.4742 17 17 13.4742 17 9.125ZM6.30222 4.5898C6.48977 4.47669 6.72286 4.47 6.91659 4.57219L13.9166 8.2645C14.1151 8.36921 14.2422 8.57231 14.2497 8.79661C14.2571 9.02091 14.1437 9.23198 13.9526 9.3496L6.95256 13.6573C6.75972 13.776 6.51778 13.781 6.32012 13.6706C6.12246 13.5601 6 13.3514 6 13.125V5.125C6 4.90597 6.11466 4.70292 6.30222 4.5898ZM7.25 6.16129V12.0065L12.3646 8.85909L7.25 6.16129ZM2.22949 4.85425C2.57467 4.85425 2.85449 4.57443 2.85449 4.22925C2.85449 3.88407 2.57467 3.60425 2.22949 3.60425C1.88431 3.60425 1.60449 3.88407 1.60449 4.22925C1.60449 4.57443 1.88431 4.85425 2.22949 4.85425Z",fill:"white"})),this.renderPauseIcon=()=>t("svg",{width:"20",height:"20",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 9.1C17 4.8 13.5 1.2 9.1 1.2C7.1 1.2 5.2 2 3.8 3.3C3.5 3.5 3.2 3.5 2.9 3.3C2.6 3.1 2.7 2.7 2.9 2.4C4.6 0.9 6.7 0 9.1 0C14.1 0 18.2 4.1 18.2 9.1C18.2 14.1 14.1 18.2 9.1 18.2C4.1 18.2 0 14.2 0 9.1C0 8.8 0.3 8.5 0.6 8.5C0.9 8.5 1.2 8.8 1.2 9.1C1.2 13.4 4.7 17 9.1 17C13.5 17 17 13.5 17 9.1ZM2.2 4.9C2.5 4.9 2.8 4.6 2.8 4.3C2.8 4 2.6 3.6 2.2 3.6C1.8 3.6 1.6 3.9 1.6 4.2C1.6 4.5 1.9 4.9 2.2 4.9Z",fill:"white"}),t("path",{d:"M10.7143 4C10.3733 4 10.0463 4.14223 9.80515 4.39541C9.56403 4.64858 9.42857 4.99196 9.42857 5.35V11.65C9.42857 12.008 9.56403 12.3514 9.80515 12.6046C10.0463 12.8578 10.3733 13 10.7143 13C11.0553 13 11.3823 12.8578 11.6234 12.6046C11.8645 12.3514 12 12.008 12 11.65V5.35C12 4.99196 11.8645 4.64858 11.6234 4.39541C11.3823 4.14223 11.0553 4 10.7143 4ZM11.1429 11.65C11.1428 11.7693 11.0977 11.8838 11.0173 11.9682C10.9369 12.0525 10.8279 12.0999 10.7143 12.0999C10.6006 12.0999 10.4916 12.0525 10.4113 11.9682C10.3309 11.8838 10.2857 11.7693 10.2857 11.65V5.35C10.2857 5.23066 10.3309 5.11622 10.4113 5.03185C10.4916 4.94747 10.6006 4.90007 10.7143 4.90007C10.8279 4.90007 10.9369 4.94747 11.0173 5.03185C11.0977 5.11622 11.1428 5.23066 11.1429 5.35V11.65ZM7.28571 4C6.94472 4 6.6177 4.14223 6.37658 4.39541C6.13546 4.64858 6 4.99196 6 5.35V11.65C6 12.008 6.13546 12.3514 6.37658 12.6046C6.6177 12.8578 6.94472 13 7.28571 13C7.62671 13 7.95373 12.8578 8.19485 12.6046C8.43597 12.3514 8.57143 12.008 8.57143 11.65V5.35C8.57143 4.99196 8.43597 4.64858 8.19485 4.39541C7.95373 4.14223 7.62671 4 7.28571 4ZM7.71429 11.65C7.71427 11.7693 7.66911 11.8838 7.58874 11.9682C7.50837 12.0525 7.39937 12.0999 7.28571 12.0999C7.17206 12.0999 7.06306 12.0525 6.98269 11.9682C6.90232 11.8838 6.85716 11.7693 6.85714 11.65V5.35C6.85716 5.23066 6.90232 5.11622 6.98269 5.03185C7.06306 4.94747 7.17206 4.90007 7.28571 4.90007C7.39937 4.90007 7.50837 4.94747 7.58874 5.03185C7.66911 5.11622 7.71427 5.23066 7.71429 5.35V11.65Z",fill:"white"})),this.language="en",this.isPaused=!1,this.i18n=void 0}componentWillLoad(){this.setTranslations()}setTranslations(){"nb"===this.language&&(this.language="no"),this.language&&p[this.language]&&(this.i18n=p[this.language])}onLanguageChange(){this.setTranslations()}render(){return t(i,null,t("button",{"aria-label":`${this.i18n.ariaLabel}`,onClick:this.handlePlayPauseClicked},this.isPaused?this.renderPlayIcon():this.renderPauseIcon()))}get hostElement(){return s(this)}static get watchers(){return{language:["onLanguageChange"]}}};d.style="pn-video-overlay button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;padding:12px;border:none;outline:none;cursor:pointer;background-color:#005D92}pn-video-overlay button:hover{background-color:#003d5f}pn-video-overlay button:active{background-color:#001c2c}pn-video-overlay button:focus,pn-video-overlay button:focus-visible{outline:2px solid #FFFFFF}pn-video-overlay button svg{width:20px;height:20px}";export{n as pn_scroll,d as pn_video_overlay}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-a5faec68.system.js","./p-e351523a.system.js"],(function(e){"use strict";var t,o,s,i,n;return{setters:[function(e){t=e.r;o=e.h;s=e.a;i=e.g},function(e){n=e.v}],execute:function(){var r="pn-play-on-scroll pn-scroll [slot=scroll-affected]{position:relative}pn-play-on-scroll pn-scroll [slot=scroll-affected] video{width:100%}pn-play-on-scroll pn-scroll [slot=scroll-affected] video:hover{cursor:pointer}pn-play-on-scroll pn-scroll [slot=scroll-affected] pn-video-overlay{position:absolute;bottom:0;left:0;padding:24px}";var l=function(e,t){if(!t){e&&e.play()}};var a=function(e){e&&e.pause()};var d={root:null,threshold:0,rootMargin:"0px 0px 0px 0px"};var c=e("pn_play_on_scroll",function(){function e(e){var o=this;t(this,e);this.testAdditionalParamIntoCallback=true;this.handlePlayPauseClicked=function(){if(o.video.paused||o.video.ended){o.video.play();o.isPaused=false}else{o.video.pause();o.isPaused=true}};this.videoSrc="";this.videoId="";this.isPaused=false}e.prototype.generateUniqueId=function(){return n()};e.prototype.componentWillLoad=function(){this.videoId=this.generateUniqueId()};e.prototype.componentDidLoad=function(){this.video=document.getElementById(this.videoId);this.video.addEventListener("click",this.handlePlayPauseClicked)};e.prototype.render=function(){var e=this;return o(s,null,o("pn-scroll",{intersectFunc:function(){return l(e.video,e.isPaused)},notIntersectFunc:function(){return a(e.video)},shouldLoop:true,behaviourClasses:"some-behaviour-class",observerOptions:d},o("div",{slot:"scroll-affected"},o("video",{muted:true,autoPlay:true,id:"".concat(this.videoId)},o("source",{src:this.videoSrc,type:"video/mp4"})),o("pn-video-overlay",{isPaused:this.isPaused,onPlayPauseClicked:this.handlePlayPauseClicked}))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());c.style=r}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-a5faec68.system.js","./p-e351523a.system.js"],(function(e){"use strict";var t,n,i,o,r,a;return{setters:[function(e){t=e.r;n=e.h;i=e.a;o=e.g;r=e.e},function(e){a=e.v}],execute:function(){var s="pn-scroll .scroll-wrapper{-webkit-transition:all var(--transition-duration) ease-in-out 250ms;transition:all var(--transition-duration) ease-in-out 250ms}pn-scroll .scroll-wrapper.fade{opacity:0}pn-scroll .scroll-wrapper.fade.in-view{opacity:1}pn-scroll .scroll-wrapper.slide-up{-webkit-transform:translateY(50px);transform:translateY(50px)}pn-scroll .scroll-wrapper.slide-up.in-view{-webkit-transform:translateY(0);transform:translateY(0)}";var l={root:null,threshold:0,rootMargin:"0px 0px -150px 0px"};var u="pn-scroll-wrapper-id-";var c=e("pn_scroll",function(){function e(e){t(this,e);this.observerOptions=l;this.behaviourClasses="fade slide-up";this.transitionDurationSeconds=.5;this.shouldLoop=false;this.intersectFunc=undefined;this.notIntersectFunc=undefined;this.compId=null}e.prototype.generateUniqueId=function(){return a()};e.prototype.handleIntersection=function(e,t,n,i,o){e.forEach((function(e){if(!o){if(!e.isIntersecting){i===null||i===void 0?void 0:i(e,t);return}e.target.classList.add("in-view");n===null||n===void 0?void 0:n(e,t);t.unobserve(e.target)}else{e.target.classList.toggle("in-view",e.isIntersecting);if(e.isIntersecting){n===null||n===void 0?void 0:n(e,t)}else{i===null||i===void 0?void 0:i(e,t)}}}))};e.prototype.componentWillLoad=function(){this.compId=this.generateUniqueId()};e.prototype.componentDidLoad=function(){var e=this;var t=new IntersectionObserver((function(t,n){return e.handleIntersection(t,n,e.intersectFunc,e.notIntersectFunc,e.shouldLoop)}),this.observerOptions);var n=document.getElementById("".concat(u).concat(this.compId));t.observe(n)};e.prototype.render=function(){return n(i,null,n("div",{class:"scroll-wrapper ".concat(this.behaviourClasses),id:"".concat(u).concat(this.compId),style:{"--transition-duration":"".concat(this.transitionDurationSeconds,"s")}},n("slot",{name:"scroll-affected"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());c.style=s;var d={sv:{ariaLabel:"Spela eller pausa video"},en:{ariaLabel:"Play or pause video"},da:{ariaLabel:"Afspil eller sæt video på pause"},no:{ariaLabel:"Spill av eller sett video på pause"},fi:{ariaLabel:"Toista tai keskeytä video"},de:{ariaLabel:"Video abspielen oder anhalten"},zh:{sharelabel:"Play or pause video"},it:{sharelabel:"Play or pause video"},nl:{sharelabel:"Play or pause video"}};var p="pn-video-overlay button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;padding:12px;border:none;outline:none;cursor:pointer;background-color:#005D92}pn-video-overlay button:hover{background-color:#003d5f}pn-video-overlay button:active{background-color:#001c2c}pn-video-overlay button:focus,pn-video-overlay button:focus-visible{outline:2px solid #FFFFFF}pn-video-overlay button svg{width:20px;height:20px}";var h=e("pn_video_overlay",function(){function e(e){var i=this;t(this,e);this.playPauseClicked=r(this,"playPauseClicked",7);this.handlePlayPauseClicked=function(){i.playPauseClicked.emit()};this.renderPlayIcon=function(){return n("svg",{width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 9.125C17 4.77576 13.4742 1.25 9.125 1.25C7.0653 1.25 5.19152 2.03991 3.78779 3.33445C3.53404 3.56846 3.13864 3.55246 2.90463 3.29871C2.67062 3.04496 2.68662 2.64956 2.94037 2.41555C4.56585 0.916511 6.7391 0 9.125 0C14.1646 0 18.25 4.0854 18.25 9.125C18.25 14.1646 14.1646 18.25 9.125 18.25C4.0854 18.25 0 14.1646 0 9.125C0 8.77982 0.279821 8.5 0.625 8.5C0.970178 8.5 1.25 8.77982 1.25 9.125C1.25 13.4742 4.77576 17 9.125 17C13.4742 17 17 13.4742 17 9.125ZM6.30222 4.5898C6.48977 4.47669 6.72286 4.47 6.91659 4.57219L13.9166 8.2645C14.1151 8.36921 14.2422 8.57231 14.2497 8.79661C14.2571 9.02091 14.1437 9.23198 13.9526 9.3496L6.95256 13.6573C6.75972 13.776 6.51778 13.781 6.32012 13.6706C6.12246 13.5601 6 13.3514 6 13.125V5.125C6 4.90597 6.11466 4.70292 6.30222 4.5898ZM7.25 6.16129V12.0065L12.3646 8.85909L7.25 6.16129ZM2.22949 4.85425C2.57467 4.85425 2.85449 4.57443 2.85449 4.22925C2.85449 3.88407 2.57467 3.60425 2.22949 3.60425C1.88431 3.60425 1.60449 3.88407 1.60449 4.22925C1.60449 4.57443 1.88431 4.85425 2.22949 4.85425Z",fill:"white"}))};this.renderPauseIcon=function(){return n("svg",{width:"20",height:"20",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 9.1C17 4.8 13.5 1.2 9.1 1.2C7.1 1.2 5.2 2 3.8 3.3C3.5 3.5 3.2 3.5 2.9 3.3C2.6 3.1 2.7 2.7 2.9 2.4C4.6 0.9 6.7 0 9.1 0C14.1 0 18.2 4.1 18.2 9.1C18.2 14.1 14.1 18.2 9.1 18.2C4.1 18.2 0 14.2 0 9.1C0 8.8 0.3 8.5 0.6 8.5C0.9 8.5 1.2 8.8 1.2 9.1C1.2 13.4 4.7 17 9.1 17C13.5 17 17 13.5 17 9.1ZM2.2 4.9C2.5 4.9 2.8 4.6 2.8 4.3C2.8 4 2.6 3.6 2.2 3.6C1.8 3.6 1.6 3.9 1.6 4.2C1.6 4.5 1.9 4.9 2.2 4.9Z",fill:"white"}),n("path",{d:"M10.7143 4C10.3733 4 10.0463 4.14223 9.80515 4.39541C9.56403 4.64858 9.42857 4.99196 9.42857 5.35V11.65C9.42857 12.008 9.56403 12.3514 9.80515 12.6046C10.0463 12.8578 10.3733 13 10.7143 13C11.0553 13 11.3823 12.8578 11.6234 12.6046C11.8645 12.3514 12 12.008 12 11.65V5.35C12 4.99196 11.8645 4.64858 11.6234 4.39541C11.3823 4.14223 11.0553 4 10.7143 4ZM11.1429 11.65C11.1428 11.7693 11.0977 11.8838 11.0173 11.9682C10.9369 12.0525 10.8279 12.0999 10.7143 12.0999C10.6006 12.0999 10.4916 12.0525 10.4113 11.9682C10.3309 11.8838 10.2857 11.7693 10.2857 11.65V5.35C10.2857 5.23066 10.3309 5.11622 10.4113 5.03185C10.4916 4.94747 10.6006 4.90007 10.7143 4.90007C10.8279 4.90007 10.9369 4.94747 11.0173 5.03185C11.0977 5.11622 11.1428 5.23066 11.1429 5.35V11.65ZM7.28571 4C6.94472 4 6.6177 4.14223 6.37658 4.39541C6.13546 4.64858 6 4.99196 6 5.35V11.65C6 12.008 6.13546 12.3514 6.37658 12.6046C6.6177 12.8578 6.94472 13 7.28571 13C7.62671 13 7.95373 12.8578 8.19485 12.6046C8.43597 12.3514 8.57143 12.008 8.57143 11.65V5.35C8.57143 4.99196 8.43597 4.64858 8.19485 4.39541C7.95373 4.14223 7.62671 4 7.28571 4ZM7.71429 11.65C7.71427 11.7693 7.66911 11.8838 7.58874 11.9682C7.50837 12.0525 7.39937 12.0999 7.28571 12.0999C7.17206 12.0999 7.06306 12.0525 6.98269 11.9682C6.90232 11.8838 6.85716 11.7693 6.85714 11.65V5.35C6.85716 5.23066 6.90232 5.11622 6.98269 5.03185C7.06306 4.94747 7.17206 4.90007 7.28571 4.90007C7.39937 4.90007 7.50837 4.94747 7.58874 5.03185C7.66911 5.11622 7.71427 5.23066 7.71429 5.35V11.65Z",fill:"white"}))};this.language="en";this.isPaused=false;this.i18n=undefined}e.prototype.componentWillLoad=function(){this.setTranslations()};e.prototype.setTranslations=function(){if(this.language==="nb"){this.language="no"}if(this.language&&d[this.language]){this.i18n=d[this.language]}};e.prototype.onLanguageChange=function(){this.setTranslations()};e.prototype.render=function(){return n(i,null,n("button",{"aria-label":"".concat(this.i18n.ariaLabel),onClick:this.handlePlayPauseClicked},this.isPaused?this.renderPlayIcon():this.renderPauseIcon()))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{language:["onLanguageChange"]}},enumerable:false,configurable:true});return e}());h.style=p}}}));
|