@ptcwebops/ptcw-design 6.1.39 → 6.1.41

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.
Files changed (87) hide show
  1. package/dist/cjs/{core-d64db970.js → core-58fa1795.js} +1 -0
  2. package/dist/cjs/{icon-asset_12.cjs.entry.js → event-jumbotron-example_15.cjs.entry.js} +424 -179
  3. package/dist/cjs/featured-events-slider-example.cjs.entry.js +443 -0
  4. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{pagination-468c8158.js → pagination-96df6fcc.js} +1 -1
  7. package/dist/cjs/ptc-card-bottom.cjs.entry.js +46 -0
  8. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +2 -2
  9. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +3 -2
  10. package/dist/cjs/ptc-icon-component.cjs.entry.js +4 -349
  11. package/dist/cjs/ptc-picture.cjs.entry.js +163 -0
  12. package/dist/cjs/ptc-two-column-media.cjs.entry.js +26 -0
  13. package/dist/cjs/ptcw-design.cjs.js +1 -1
  14. package/dist/cjs/scrollbar-18e63a0e.js +352 -0
  15. package/dist/cjs/sequential-bundle-example.cjs.entry.js +1 -1
  16. package/dist/cjs/sequential-bundle.cjs.entry.js +1 -1
  17. package/dist/collection/collection-manifest.json +2 -0
  18. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +238 -0
  19. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +154 -0
  20. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +1189 -0
  21. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.js +53 -0
  22. package/dist/collection/components/ptc-card-content/ptc-card-content.js +2 -2
  23. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +10 -2
  24. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +20 -1
  25. package/dist/collection/components/ptc-link/ptc-link.css +0 -1
  26. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  27. package/dist/collection/components/ptc-social-share/ptc-social-share.css +8 -0
  28. package/dist/collection/components/ptc-social-share/ptc-social-share.js +20 -1
  29. package/dist/custom-elements/index.d.ts +12 -0
  30. package/dist/custom-elements/index.js +949 -390
  31. package/dist/esm/{core-ebde74a2.js → core-9dcd68aa.js} +1 -1
  32. package/dist/esm/{icon-asset_12.entry.js → event-jumbotron-example_15.entry.js} +422 -180
  33. package/dist/esm/featured-events-slider-example.entry.js +439 -0
  34. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  35. package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
  36. package/dist/esm/loader.js +1 -1
  37. package/dist/esm/{pagination-726fafd1.js → pagination-191217c1.js} +1 -1
  38. package/dist/esm/ptc-card-bottom.entry.js +42 -0
  39. package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
  40. package/dist/esm/ptc-filter-dropdown_4.entry.js +3 -2
  41. package/dist/esm/ptc-icon-component.entry.js +3 -348
  42. package/dist/esm/ptc-picture.entry.js +159 -0
  43. package/dist/esm/ptc-two-column-media.entry.js +22 -0
  44. package/dist/esm/ptcw-design.js +1 -1
  45. package/dist/esm/scrollbar-b41be07f.js +350 -0
  46. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  47. package/dist/esm/sequential-bundle.entry.js +1 -1
  48. package/dist/ptcw-design/{p-7e4a71ff.entry.js → p-0151c2ee.entry.js} +1 -1
  49. package/dist/ptcw-design/p-0abb6e77.entry.js +1 -0
  50. package/dist/ptcw-design/{p-b6e5c0f7.entry.js → p-37899461.entry.js} +1 -1
  51. package/dist/ptcw-design/{p-6914b70c.js → p-5292a000.js} +1 -1
  52. package/dist/ptcw-design/{p-56430000.entry.js → p-5db96118.entry.js} +1 -1
  53. package/dist/ptcw-design/p-6b271c11.entry.js +1 -0
  54. package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
  55. package/dist/ptcw-design/p-78252282.entry.js +1 -0
  56. package/dist/ptcw-design/p-794eebdb.entry.js +1 -0
  57. package/dist/ptcw-design/p-7f3ba557.entry.js +1 -0
  58. package/dist/ptcw-design/{p-4e7809ba.entry.js → p-aaf8fb04.entry.js} +1 -1
  59. package/dist/ptcw-design/p-b5d0e4a2.entry.js +1 -0
  60. package/dist/ptcw-design/p-d9c54a1d.js +1 -0
  61. package/dist/ptcw-design/p-f31ae1ba.entry.js +1 -0
  62. package/dist/ptcw-design/{p-8f6af405.js → p-f5dfa530.js} +1 -1
  63. package/dist/ptcw-design/ptcw-design.css +1 -1
  64. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  65. package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +29 -0
  66. package/dist/types/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.d.ts +10 -0
  67. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +1 -1
  68. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +4 -0
  69. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +4 -0
  70. package/dist/types/components.d.ts +48 -2
  71. package/package.json +1 -1
  72. package/readme.md +1 -1
  73. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +0 -131
  74. package/dist/cjs/ptc-card-content.cjs.entry.js +0 -68
  75. package/dist/cjs/ptc-img.cjs.entry.js +0 -133
  76. package/dist/cjs/ptc-overlay.cjs.entry.js +0 -34
  77. package/dist/esm/ptc-card-bottom_2.entry.js +0 -126
  78. package/dist/esm/ptc-card-content.entry.js +0 -64
  79. package/dist/esm/ptc-img.entry.js +0 -129
  80. package/dist/esm/ptc-overlay.entry.js +0 -30
  81. package/dist/ptcw-design/p-1e44cf5e.entry.js +0 -1
  82. package/dist/ptcw-design/p-1eb92079.entry.js +0 -1
  83. package/dist/ptcw-design/p-2a3735a5.entry.js +0 -1
  84. package/dist/ptcw-design/p-318168f1.entry.js +0 -1
  85. package/dist/ptcw-design/p-847c7f33.entry.js +0 -1
  86. package/dist/ptcw-design/p-df712bfe.entry.js +0 -1
  87. package/dist/ptcw-design/p-e2da0ca3.entry.js +0 -1
@@ -1,352 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
- import { g as getDocument, c as createElement, j as nextTick, k as elementOffset, S as Swiper } from './core-ebde74a2.js';
3
- import { c as createElementIfNotDefined, N as Navigation, P as Pagination } from './pagination-726fafd1.js';
4
-
5
- function Scrollbar({
6
- swiper,
7
- extendParams,
8
- on,
9
- emit
10
- }) {
11
- const document = getDocument();
12
- let isTouched = false;
13
- let timeout = null;
14
- let dragTimeout = null;
15
- let dragStartPos;
16
- let dragSize;
17
- let trackSize;
18
- let divider;
19
- extendParams({
20
- scrollbar: {
21
- el: null,
22
- dragSize: 'auto',
23
- hide: false,
24
- draggable: false,
25
- snapOnRelease: true,
26
- lockClass: 'swiper-scrollbar-lock',
27
- dragClass: 'swiper-scrollbar-drag',
28
- scrollbarDisabledClass: 'swiper-scrollbar-disabled',
29
- horizontalClass: `swiper-scrollbar-horizontal`,
30
- verticalClass: `swiper-scrollbar-vertical`
31
- }
32
- });
33
- swiper.scrollbar = {
34
- el: null,
35
- dragEl: null
36
- };
37
- function setTranslate() {
38
- if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
39
- const {
40
- scrollbar,
41
- rtlTranslate: rtl
42
- } = swiper;
43
- const {
44
- dragEl,
45
- el
46
- } = scrollbar;
47
- const params = swiper.params.scrollbar;
48
- const progress = swiper.params.loop ? swiper.progressLoop : swiper.progress;
49
- let newSize = dragSize;
50
- let newPos = (trackSize - dragSize) * progress;
51
- if (rtl) {
52
- newPos = -newPos;
53
- if (newPos > 0) {
54
- newSize = dragSize - newPos;
55
- newPos = 0;
56
- } else if (-newPos + dragSize > trackSize) {
57
- newSize = trackSize + newPos;
58
- }
59
- } else if (newPos < 0) {
60
- newSize = dragSize + newPos;
61
- newPos = 0;
62
- } else if (newPos + dragSize > trackSize) {
63
- newSize = trackSize - newPos;
64
- }
65
- if (swiper.isHorizontal()) {
66
- dragEl.style.transform = `translate3d(${newPos}px, 0, 0)`;
67
- dragEl.style.width = `${newSize}px`;
68
- } else {
69
- dragEl.style.transform = `translate3d(0px, ${newPos}px, 0)`;
70
- dragEl.style.height = `${newSize}px`;
71
- }
72
- if (params.hide) {
73
- clearTimeout(timeout);
74
- el.style.opacity = 1;
75
- timeout = setTimeout(() => {
76
- el.style.opacity = 0;
77
- el.style.transitionDuration = '400ms';
78
- }, 1000);
79
- }
80
- }
81
- function setTransition(duration) {
82
- if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
83
- swiper.scrollbar.dragEl.style.transitionDuration = `${duration}ms`;
84
- }
85
- function updateSize() {
86
- if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
87
- const {
88
- scrollbar
89
- } = swiper;
90
- const {
91
- dragEl,
92
- el
93
- } = scrollbar;
94
- dragEl.style.width = '';
95
- dragEl.style.height = '';
96
- trackSize = swiper.isHorizontal() ? el.offsetWidth : el.offsetHeight;
97
- divider = swiper.size / (swiper.virtualSize + swiper.params.slidesOffsetBefore - (swiper.params.centeredSlides ? swiper.snapGrid[0] : 0));
98
- if (swiper.params.scrollbar.dragSize === 'auto') {
99
- dragSize = trackSize * divider;
100
- } else {
101
- dragSize = parseInt(swiper.params.scrollbar.dragSize, 10);
102
- }
103
- if (swiper.isHorizontal()) {
104
- dragEl.style.width = `${dragSize}px`;
105
- } else {
106
- dragEl.style.height = `${dragSize}px`;
107
- }
108
- if (divider >= 1) {
109
- el.style.display = 'none';
110
- } else {
111
- el.style.display = '';
112
- }
113
- if (swiper.params.scrollbar.hide) {
114
- el.style.opacity = 0;
115
- }
116
- if (swiper.params.watchOverflow && swiper.enabled) {
117
- scrollbar.el.classList[swiper.isLocked ? 'add' : 'remove'](swiper.params.scrollbar.lockClass);
118
- }
119
- }
120
- function getPointerPosition(e) {
121
- return swiper.isHorizontal() ? e.clientX : e.clientY;
122
- }
123
- function setDragPosition(e) {
124
- const {
125
- scrollbar,
126
- rtlTranslate: rtl
127
- } = swiper;
128
- const {
129
- el
130
- } = scrollbar;
131
- let positionRatio;
132
- positionRatio = (getPointerPosition(e) - elementOffset(el)[swiper.isHorizontal() ? 'left' : 'top'] - (dragStartPos !== null ? dragStartPos : dragSize / 2)) / (trackSize - dragSize);
133
- positionRatio = Math.max(Math.min(positionRatio, 1), 0);
134
- if (rtl) {
135
- positionRatio = 1 - positionRatio;
136
- }
137
- const position = swiper.minTranslate() + (swiper.maxTranslate() - swiper.minTranslate()) * positionRatio;
138
- swiper.updateProgress(position);
139
- swiper.setTranslate(position);
140
- swiper.updateActiveIndex();
141
- swiper.updateSlidesClasses();
142
- }
143
- function onDragStart(e) {
144
- const params = swiper.params.scrollbar;
145
- const {
146
- scrollbar,
147
- wrapperEl
148
- } = swiper;
149
- const {
150
- el,
151
- dragEl
152
- } = scrollbar;
153
- isTouched = true;
154
- dragStartPos = e.target === dragEl ? getPointerPosition(e) - e.target.getBoundingClientRect()[swiper.isHorizontal() ? 'left' : 'top'] : null;
155
- e.preventDefault();
156
- e.stopPropagation();
157
- wrapperEl.style.transitionDuration = '100ms';
158
- dragEl.style.transitionDuration = '100ms';
159
- setDragPosition(e);
160
- clearTimeout(dragTimeout);
161
- el.style.transitionDuration = '0ms';
162
- if (params.hide) {
163
- el.style.opacity = 1;
164
- }
165
- if (swiper.params.cssMode) {
166
- swiper.wrapperEl.style['scroll-snap-type'] = 'none';
167
- }
168
- emit('scrollbarDragStart', e);
169
- }
170
- function onDragMove(e) {
171
- const {
172
- scrollbar,
173
- wrapperEl
174
- } = swiper;
175
- const {
176
- el,
177
- dragEl
178
- } = scrollbar;
179
- if (!isTouched) return;
180
- if (e.preventDefault) e.preventDefault();else e.returnValue = false;
181
- setDragPosition(e);
182
- wrapperEl.style.transitionDuration = '0ms';
183
- el.style.transitionDuration = '0ms';
184
- dragEl.style.transitionDuration = '0ms';
185
- emit('scrollbarDragMove', e);
186
- }
187
- function onDragEnd(e) {
188
- const params = swiper.params.scrollbar;
189
- const {
190
- scrollbar,
191
- wrapperEl
192
- } = swiper;
193
- const {
194
- el
195
- } = scrollbar;
196
- if (!isTouched) return;
197
- isTouched = false;
198
- if (swiper.params.cssMode) {
199
- swiper.wrapperEl.style['scroll-snap-type'] = '';
200
- wrapperEl.style.transitionDuration = '';
201
- }
202
- if (params.hide) {
203
- clearTimeout(dragTimeout);
204
- dragTimeout = nextTick(() => {
205
- el.style.opacity = 0;
206
- el.style.transitionDuration = '400ms';
207
- }, 1000);
208
- }
209
- emit('scrollbarDragEnd', e);
210
- if (params.snapOnRelease) {
211
- swiper.slideToClosest();
212
- }
213
- }
214
- function events(method) {
215
- const {
216
- scrollbar,
217
- params
218
- } = swiper;
219
- const el = scrollbar.el;
220
- if (!el) return;
221
- const target = el;
222
- const activeListener = params.passiveListeners ? {
223
- passive: false,
224
- capture: false
225
- } : false;
226
- const passiveListener = params.passiveListeners ? {
227
- passive: true,
228
- capture: false
229
- } : false;
230
- if (!target) return;
231
- const eventMethod = method === 'on' ? 'addEventListener' : 'removeEventListener';
232
- target[eventMethod]('pointerdown', onDragStart, activeListener);
233
- document[eventMethod]('pointermove', onDragMove, activeListener);
234
- document[eventMethod]('pointerup', onDragEnd, passiveListener);
235
- }
236
- function enableDraggable() {
237
- if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
238
- events('on');
239
- }
240
- function disableDraggable() {
241
- if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
242
- events('off');
243
- }
244
- function init() {
245
- const {
246
- scrollbar,
247
- el: swiperEl
248
- } = swiper;
249
- swiper.params.scrollbar = createElementIfNotDefined(swiper, swiper.originalParams.scrollbar, swiper.params.scrollbar, {
250
- el: 'swiper-scrollbar'
251
- });
252
- const params = swiper.params.scrollbar;
253
- if (!params.el) return;
254
- let el;
255
- if (typeof params.el === 'string' && swiper.isElement) {
256
- el = swiper.el.shadowRoot.querySelector(params.el);
257
- }
258
- if (!el && typeof params.el === 'string') {
259
- el = document.querySelectorAll(params.el);
260
- } else if (!el) {
261
- el = params.el;
262
- }
263
- if (swiper.params.uniqueNavElements && typeof params.el === 'string' && el.length > 1 && swiperEl.querySelectorAll(params.el).length === 1) {
264
- el = swiperEl.querySelector(params.el);
265
- }
266
- if (el.length > 0) el = el[0];
267
- el.classList.add(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);
268
- let dragEl;
269
- if (el) {
270
- dragEl = el.querySelector(`.${swiper.params.scrollbar.dragClass}`);
271
- if (!dragEl) {
272
- dragEl = createElement('div', swiper.params.scrollbar.dragClass);
273
- el.append(dragEl);
274
- }
275
- }
276
- Object.assign(scrollbar, {
277
- el,
278
- dragEl
279
- });
280
- if (params.draggable) {
281
- enableDraggable();
282
- }
283
- if (el) {
284
- el.classList[swiper.enabled ? 'remove' : 'add'](swiper.params.scrollbar.lockClass);
285
- }
286
- }
287
- function destroy() {
288
- const params = swiper.params.scrollbar;
289
- const el = swiper.scrollbar.el;
290
- if (el) {
291
- el.classList.remove(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);
292
- }
293
- disableDraggable();
294
- }
295
- on('init', () => {
296
- if (swiper.params.scrollbar.enabled === false) {
297
- // eslint-disable-next-line
298
- disable();
299
- } else {
300
- init();
301
- updateSize();
302
- setTranslate();
303
- }
304
- });
305
- on('update resize observerUpdate lock unlock', () => {
306
- updateSize();
307
- });
308
- on('setTranslate', () => {
309
- setTranslate();
310
- });
311
- on('setTransition', (_s, duration) => {
312
- setTransition(duration);
313
- });
314
- on('enable disable', () => {
315
- const {
316
- el
317
- } = swiper.scrollbar;
318
- if (el) {
319
- el.classList[swiper.enabled ? 'remove' : 'add'](swiper.params.scrollbar.lockClass);
320
- }
321
- });
322
- on('destroy', () => {
323
- destroy();
324
- });
325
- const enable = () => {
326
- swiper.el.classList.remove(swiper.params.scrollbar.scrollbarDisabledClass);
327
- if (swiper.scrollbar.el) {
328
- swiper.scrollbar.el.classList.remove(swiper.params.scrollbar.scrollbarDisabledClass);
329
- }
330
- init();
331
- updateSize();
332
- setTranslate();
333
- };
334
- const disable = () => {
335
- swiper.el.classList.add(swiper.params.scrollbar.scrollbarDisabledClass);
336
- if (swiper.scrollbar.el) {
337
- swiper.scrollbar.el.classList.add(swiper.params.scrollbar.scrollbarDisabledClass);
338
- }
339
- destroy();
340
- };
341
- Object.assign(swiper.scrollbar, {
342
- enable,
343
- disable,
344
- updateSize,
345
- setTranslate,
346
- init,
347
- destroy
348
- });
349
- }
2
+ import { S as Swiper } from './core-9dcd68aa.js';
3
+ import { N as Navigation, P as Pagination } from './pagination-191217c1.js';
4
+ import { S as Scrollbar } from './scrollbar-b41be07f.js';
350
5
 
351
6
  const ptcIconComponentCss = "@font-face{font-family:'swiper-icons';src:url('data:application/font-woff;charset=utf-8;base64, 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');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px, 0, 0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform, height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;transition:300ms opacity;transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:200ms transform, 200ms top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:200ms transform, 200ms left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:200ms transform, 200ms right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}:root{}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;-ms-touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none !important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-vertical{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification,swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev,.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:0.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-top,.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform, opacity, height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;width:100%;margin:auto;padding:0}@media only screen and (min-width: 768px){:host{padding:0 24px;max-width:100%}}@media only screen and (min-width: 992px){:host{padding:0 56px}}@media only screen and (min-width: 1440px){:host{padding:0}}:host .icon-component-row{display:flex;flex-wrap:wrap;margin:0 -24px;justify-content:center}@media only screen and (min-width: 992px){:host .icon-component-row{margin:0 -40px}}:host .icon-component-row ::slotted(.icon-component){flex-grow:1;max-width:50%;width:50%;padding:0 24px;margin:40px 0}@media only screen and (min-width: 992px){:host .icon-component-row ::slotted(.icon-component){padding:0 40px;margin:44px 0}}@media only screen and (min-width: 1440px){:host .icon-component-row ::slotted(.icon-component){max-width:33.333333%;width:33.333333%}}:host .swiper-container{position:relative;padding:44px 0;height:100%}:host .swiper-container .swiper-wrapper{height:auto;min-height:100%}:host .swiper-container .icon-component{text-align:center}:host .swiper-container .icon-component ptc-tooltip>.sc-ptc-tooltip:last-child{display:none}:host .swiper-container .icon-component ptc-title .sc-ptc-title-s{margin:12px auto 6px auto;max-width:85%;display:block}:host .swiper-container .swiper-pagination-fraction{top:0px;bottom:auto}:host .swiper-container .swiper-pagination-bullet{width:20px;height:20px;text-align:center;line-height:20px;font-size:12px;opacity:1;border-radius:50%;margin:0px 14px;cursor:pointer;border:2px solid var(--color-gray-03);background-color:transparent;position:relative}:host .swiper-container .swiper-pagination-bullet::after{content:\"\";display:block;position:absolute;width:32px;height:1px;border-top:2px solid var(--color-gray-03);margin-top:-1px;z-index:-1;top:50%;left:20px}:host .swiper-container .swiper-pagination-bullet:last-child::after{display:none}:host .swiper-container .swiper-pagination-bullet-active{color:var(--color-white);background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><defs><style> .cls-1 { fill: %2300890B; } .cls-2 { fill: %23f3f3f3; } </style></defs><circle id=\"Ellipse_1_copy_2\" data-name=\"Ellipse 1 copy 2\" class=\"cls-1\" cx=\"10\" cy=\"10\" r=\"10\"/><circle id=\"Ellipse_1_copy\" data-name=\"Ellipse 1 copy\" class=\"cls-2\" cx=\"10\" cy=\"10\" r=\"7.781\"/><circle class=\"cls-1\" cx=\"10\" cy=\"10\" r=\"5\"/></svg>');background-position:50%;background-repeat:no-repeat;border:2px solid transparent}:host .swiper-container .swiper-button-next:after,:host .swiper-container .swiper-button-prev:after{display:none}:host .swiper-container .swiper-button-next{right:0;top:84px;width:44px;height:44px}:host .swiper-container .swiper-button-prev{left:0;top:84px;height:44px;width:44px}:host .ptc-link{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .ptc-link:hover{color:var(--color-green-06)}:host .ptc-link:visited{color:var(--color-gray-10)}:host .ptc-link:active,:host .ptc-link:visited:active{transition:none;color:var(--color-green-06)}:host .ptc-link:hover,:host .ptc-link:visited:hover{color:var(--color-green-06)}:host(.mobileView) .icon-component-row{display:none}:host(.mobileView) .swiper-container{display:block}:host(.desktopView) .icon-component-row{display:flex}:host(.desktopView) .swiper-container{display:none}";
352
7
 
@@ -0,0 +1,159 @@
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
+ import { a as ResponsivePictureVariables } from './interfaces-4caedd26.js';
3
+
4
+ const ptcPictureCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-pill{border-radius:var(--ptc-border-radius-pill)}.radius-circle{border-radius:var(--ptc-border-radius-circle)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
5
+
6
+ const PtcPicture = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.src = undefined;
10
+ this.alt = 'image';
11
+ this.sizeXs = '510x340';
12
+ this.sizeSm = '1240x496';
13
+ this.sizeMd = '1366x500';
14
+ this.sizeLg = '1920x1080';
15
+ this.disableResize = false;
16
+ this.oldSrc = undefined;
17
+ this.imagePosition = 'static';
18
+ this.borderRadius = undefined;
19
+ this.height = undefined;
20
+ this.width = undefined;
21
+ this.objectFit = 'cover';
22
+ this.isFullHeight = false;
23
+ this.isFullWidth = false;
24
+ this.styles = undefined;
25
+ this.imageAlignment = 'left';
26
+ this.maxWidth = undefined;
27
+ this.displayImage = 'block';
28
+ }
29
+ WindowResize() {
30
+ this.addIntersectionObserver();
31
+ }
32
+ componentWillLoad() {
33
+ if (this.disableResize) {
34
+ this.sizeXs = undefined;
35
+ this.sizeSm = undefined;
36
+ this.sizeMd = undefined;
37
+ this.sizeLg = undefined;
38
+ }
39
+ }
40
+ componentDidLoad() {
41
+ this.addIntersectionObserver();
42
+ }
43
+ componentWillUpdate() {
44
+ if (this.src !== this.oldSrc) {
45
+ this.addIntersectionObserver();
46
+ }
47
+ this.oldSrc = this.src;
48
+ }
49
+ //lazy-loading
50
+ addIntersectionObserver() {
51
+ if (!this.src) {
52
+ return;
53
+ }
54
+ if ('IntersectionObserver' in window) {
55
+ let lazyLoadImages = new IntersectionObserver(entries => {
56
+ entries.forEach(entry => {
57
+ if (entry.isIntersecting) {
58
+ const image = this.el.shadowRoot.querySelector('img');
59
+ image.src = this.setResponsiveBg();
60
+ lazyLoadImages.unobserve(image);
61
+ }
62
+ });
63
+ });
64
+ let tempImg = this.el.shadowRoot.querySelector('img');
65
+ if (tempImg) {
66
+ lazyLoadImages.observe(tempImg);
67
+ }
68
+ }
69
+ else {
70
+ // fall back to setTimeout for Safari and IE
71
+ setTimeout(() => {
72
+ const image = this.el.shadowRoot.querySelector('img');
73
+ image.src = this.setResponsiveBg();
74
+ image.onload = () => {
75
+ image.removeAttribute('data-src');
76
+ console.log('loaded fallback');
77
+ };
78
+ }, 5000);
79
+ }
80
+ }
81
+ //responsive image
82
+ setResponsiveBg() {
83
+ // Define local variables
84
+ let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
85
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
86
+ // Set current variables
87
+ el = backgrounds[i];
88
+ elData = el.getAttribute('data-' + currentBreakpoint);
89
+ if (elData !== null) {
90
+ return elData;
91
+ }
92
+ else {
93
+ if (typeof console == 'object') {
94
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
95
+ }
96
+ }
97
+ }
98
+ }
99
+ render() {
100
+ const classMap = this.getCssClassMap();
101
+ const classMapHost = this.getCssClassMapHost();
102
+ return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth ? { maxWidth: this.maxWidth + 'px' } : {})) })), h("slot", null)));
103
+ }
104
+ getCurrentBreakPoints() {
105
+ // Define local variables
106
+ let doc = window.document, temp = doc.createElement('div'), env;
107
+ // Append test node
108
+ doc.body.appendChild(temp);
109
+ // Loop through breakpoints
110
+ for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
111
+ env = ResponsivePictureVariables.envs[i];
112
+ // Add classes
113
+ temp.className = 'hidden-' + env;
114
+ // Found breakpoint
115
+ if (temp.offsetParent === null) {
116
+ // Remove our test node
117
+ doc.body.removeChild(temp);
118
+ // Return current breakpoint
119
+ return env;
120
+ }
121
+ }
122
+ // Breakpoint not found, try fallback
123
+ doc.body.removeChild(temp);
124
+ return this.getFallbackBreakpoint();
125
+ }
126
+ getFallbackBreakpoint() {
127
+ if (window.matchMedia('(min-width: 992px)').matches) {
128
+ return 'lg';
129
+ }
130
+ else if (window.matchMedia('(min-width: 768px)').matches) {
131
+ return 'md';
132
+ }
133
+ else if (window.matchMedia('(min-width: 576px)').matches) {
134
+ return 'sm';
135
+ }
136
+ else {
137
+ return 'xs';
138
+ }
139
+ }
140
+ getCssClassMap() {
141
+ return {
142
+ [this.borderRadius]: this.borderRadius ? true : false,
143
+ [this.objectFit]: true,
144
+ [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
145
+ [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
146
+ [this.displayImage]: true
147
+ };
148
+ }
149
+ getCssClassMapHost() {
150
+ return {
151
+ [this.imagePosition]: true,
152
+ [this.imageAlignment]: true,
153
+ };
154
+ }
155
+ get el() { return getElement(this); }
156
+ };
157
+ PtcPicture.style = ptcPictureCss;
158
+
159
+ export { PtcPicture as ptc_picture };
@@ -0,0 +1,22 @@
1
+ import { r as registerInstance, h, H as Host } from './index-0bf594c4.js';
2
+
3
+ const ptcTwoColumnMediaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;padding:var(--ptc-layout-spacing-02) 0}@media only screen and (min-width: 992px){:host{padding:var(--ptc-layout-spacing-04) 0}}";
4
+
5
+ const PtcTwoColumnMedia = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.componentType = undefined;
9
+ }
10
+ render() {
11
+ const classMap = this.getCssClassMap();
12
+ return (h(Host, { class: classMap }, h("slot", null)));
13
+ }
14
+ getCssClassMap() {
15
+ return {
16
+ [this.componentType]: this.componentType ? true : false
17
+ };
18
+ }
19
+ };
20
+ PtcTwoColumnMedia.style = ptcTwoColumnMediaCss;
21
+
22
+ export { PtcTwoColumnMedia as ptc_two_column_media };