Premium Addons for Elementor - Version 3.20.0

Version Description

  • New: Introducing Lottie Animations Integration for all the widgets including icon options.
  • Tweak: Added Circle and Dots layouts in Progress Bar widget.
  • Tweak: Added Icon Spacing icon option in Title widget.
  • Tweak: Added Custom Image icon option in Title widget.
  • Tweak: Added Icon Position option in Title widget.
  • Tweak: Added Icon/Text Color option to control feature list items colors separately in Pricing Table widget.
  • Tweak: Added Separator Align option in Testimonials widget.
  • Tweak: Added Text Shadow options for person/company name in Testimonials widget.
  • Tweak: Added Hover CSS Filters in Image Separator widget.
  • Tweak: Modal Box widget improved for faster editing experience.
  • Fixed: Images not re-align on window resize in Media Grid widget.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 3.20.0
Comparing to
See all releases

Code changes from version 3.12.3 to 3.20.0

admin/assets/css/admin-rtl.css CHANGED
@@ -1,358 +1,358 @@
1
- .pa-header-wrapper{
2
- padding:20px;
3
- overflow:hidden
4
- }
5
- .pa-title-left{
6
- width:80%;
7
- float:right
8
- }
9
- h1.pa-title-main{
10
- padding:0;
11
- line-height:1.3em;
12
- font-size:42px;
13
- margin-top:5px
14
- }
15
- .pa-title-sub{
16
- color:#777;
17
- font-weight:400;
18
- margin-right:3px
19
- }
20
- .pa-title-right{
21
- float:left
22
- }
23
- .pa-title-right img{
24
- width:100px;
25
- height:100px
26
- }
27
- .button.pa-btn{
28
- border:none;
29
- color:#fff;
30
- text-align:center;
31
- padding:3px;
32
- max-width:250px;
33
- height:auto;
34
- margin-bottom:15px;
35
- display:block;
36
- font-weight:700;
37
- box-shadow:none
38
- }
39
- .pa-btn.pa-save-button{
40
- background-color:#1A7FC2;
41
- margin-bottom:0;
42
- margin-top:30px;
43
- padding:3px 10px
44
- }
45
- .pa-btn.pa-save-button:hover{
46
- background:#0e629a;
47
- color:#fff
48
- }
49
- .pa-btn.pa-save-button:focus{
50
- background:#0e629a;
51
- color:#fff
52
- }
53
- .pa-settings-tabs-list{
54
- margin:0;
55
- border-bottom:1px solid #ccc
56
- }
57
- .pa-settings-tabs-list li{
58
- display:inline-block;
59
- margin-bottom:4px;
60
- margin-right:.5em
61
- }
62
- .pa-tab-list-item{
63
- background:#e5e5e5;
64
- padding:9px 15px;
65
- line-height:30px;
66
- font-size:18px;
67
- font-weight:700;
68
- color:#444;
69
- text-decoration:none;
70
- border:1px solid #ccc;
71
- border-bottom:none
72
- }
73
- .pa-tab-list-item:focus{
74
- box-shadow:none
75
- }
76
- li.ui-state-default:not(.ui-state-active):hover a{
77
- background:#fff;
78
- color:#444
79
- }
80
- li.ui-state-active a{
81
- outline:none;
82
- color:#000;
83
- background:transparent;
84
- box-shadow:none;
85
- border-bottom:1px solid #f1f1f1
86
- }
87
- .pa-row{
88
- width:100%;
89
- overflow:hidden
90
- }
91
- .pa-settings-tabs{
92
- padding:15px 25px;
93
- margin-top:-3em
94
- }
95
- #pa-about{
96
- margin-top:50px
97
- }
98
- .pa-col-half{
99
- width:40%;
100
- height:auto;
101
- float:right
102
- }
103
- .pa-about-panel{
104
- width:100%;
105
- display:inline-block;
106
- margin-bottom:20px
107
- }
108
- .pa-icon-container{
109
- float:right;
110
- display:inline-block;
111
- width:45px
112
- }
113
- .pa-icon-container i{
114
- font-size:25px
115
- }
116
- .pa-text-container{
117
- display:inline-block;
118
- width:80%
119
- }
120
- .pa-text-container h4{
121
- margin:0;
122
- font-weight:400;
123
- font-size:18px
124
- }
125
- .pa-text-container p{
126
- line-height:22px;
127
- color:#444;
128
- font-size:13px;
129
- margin:1em 0
130
- }
131
- .pa-elements-table{
132
- border-collapse:collapse;
133
- margin-top:.5em;
134
- margin-right:5px;
135
- width:80%;
136
- clear:both
137
- }
138
- .pa-elements-table th{
139
- vertical-align:top;
140
- text-align:right;
141
- padding:20px 0 20px 10px;
142
- width:200px;
143
- line-height:1.3;
144
- font-weight:500
145
- }
146
- .pa-elements-table tr{
147
- border-bottom:1px solid #ddd
148
- }
149
- .pa-elements-table td{
150
- margin-bottom:9px;
151
- padding:15px 10px;
152
- line-height:1.3;
153
- vertical-align:middle
154
- }
155
- .pa-elements-table .pa-element-desc{
156
- font-weight:300;
157
- padding-bottom:1.5em;
158
- border-bottom:1px solid #ddd
159
- }
160
- .switch{
161
- position:relative;
162
- display:inline-block;
163
- width:70px;
164
- height:33px
165
- }
166
- .switch input{
167
- display:none
168
- }
169
- .slider,.pro-slider{
170
- position:absolute;
171
- cursor:pointer;
172
- top:0;
173
- right:0;
174
- left:0;
175
- bottom:0;
176
- background-color:#f2f2f2;
177
- box-shadow:0 0 2px 1px #ccc inset;
178
- -webkit-transition:.4s;
179
- transition:.4s
180
- }
181
- .slider:before,.pro-slider:before{
182
- position:absolute;
183
- content:"";
184
- height:27.5px;
185
- width:27.5px;
186
- right:0;
187
- bottom:1.1px;
188
- background:radial-gradient(farthest-corner at 14px 0px,#f0f0f0 50%,#cacaca 100%);
189
- -webkit-transition:.4s;
190
- transition:.4s;
191
- padding:0;
192
- margin:0;
193
- border:1px solid #c6c6c6;
194
- box-shadow:0 2.5px 5px #b8b8b9
195
- }
196
- input:checked + .slider{
197
- background-color:#18a4fd;
198
- box-shadow:0 0 2px 1px #149afd inset;
199
- border:1px solid #149afd
200
- }
201
- input:focus + .slider{
202
- box-shadow:0 0 1px #18a4fd
203
- }
204
- input:checked + .slider:before{
205
- box-shadow:0 2.5px 5px #0d6fbd;
206
- border:1px solid #0d6fbd;
207
- -webkit-transform:translateX(-40px);
208
- -ms-transform:translateX(-40px);
209
- transform:translateX(-40px)
210
- }
211
- .slider.round,.pro-slider.round{
212
- border:1px solid #b8b8b9;
213
- border-radius:34px
214
- }
215
- .slider.round:before,.pro-slider.round:before{
216
- border-radius:50%
217
- }
218
- .pa-maps-table{
219
- text-align:right
220
- }
221
- .pa-api-title{
222
- display:inline-block;
223
- margin:0
224
- }
225
- .pa-maps-table select {
226
- width: 100%;
227
- max-width: 100%;
228
- }
229
- .pa-maps-table #premium-map-api{
230
- width: 100%;
231
- }
232
- .pa-maps-table tr td:first-of-type{
233
- padding-left: 1.2em;
234
- }
235
- .pa-maps-table td:first-of-type .pa-api-disable-title {
236
- margin:0.6em 0;
237
- }
238
- .pa-api-disable-title label,.pa-is-beta label{
239
- margin-left:15px
240
- }
241
- .pa-api-disable-title span,.pa-is-beta span{
242
- font-weight:400
243
- }
244
- .pa-maps-api-notice{
245
- margin:0.5em 0
246
- }
247
- .pa-api-title input{
248
- margin-top:10px;
249
- font-size:normal;
250
- font-weight:400;
251
- width:400px;
252
- margin-right:30px
253
- }
254
- #pa-maintenance{
255
- margin-top:30px
256
- }
257
- .pa-beta-table tr{
258
- text-align:right
259
- }
260
- .pa-roll-back,.pa-beta-test{
261
- text-align:right;
262
- font-size:20px;
263
- font-weight:400;
264
- margin-top:15px;
265
- margin-bottom:10px
266
- }
267
- .pa-beta-test{
268
- margin-top:0
269
- }
270
- .pa-roll-back-span,.pa-beta-test-span{
271
- line-height:22px;
272
- color:#444;
273
- font-size:13px;
274
- margin:0;
275
- font-weight:400
276
- }
277
- .pa-roll-row,.pa-beta-row{
278
- float:right
279
- }
280
- .pa-beta-row{
281
- margin-top:13px
282
- }
283
- .pa-roll-row th,.pa-beta-row th{
284
- vertical-align:top;
285
- text-align:right;
286
- padding:20px 0 20px 10px;
287
- width:200px;
288
- line-height:1.3
289
- }
290
- .pa-roll-row td{
291
- padding:15px 10px
292
- }
293
- .pa-beta-row td{
294
- padding:22px 10px
295
- }
296
- .pa-roll-row .pa-rollback-button{
297
- box-shadow:0 1px 0 #ccc;
298
- color:#555;
299
- border:1px solid #ccc;
300
- background:#f7f7f7;
301
- vertical-align:top;
302
- margin:0;
303
- padding:0 10px 1px
304
- }
305
- .pa-roll-row .pa-rollback-button:hover{
306
- background:#fafafa;
307
- border-color:#999;
308
- color:#23282d
309
- }
310
- .pa-roll-row .pa-roll-desc{
311
- font-style:italic;
312
- color:red;
313
- margin-top:4px
314
- }
315
- .pa-beta-row .pa-beta-desc{
316
- font-style:italic;
317
- margin-top:4px
318
- }
319
- .pa-sys-info-tab{
320
- background:#f7f7f7;
321
- margin:8px;
322
- border:2px solid #ddd;
323
- border-radius:3px;
324
- padding:0
325
- }
326
- .pa-system-info-container{
327
- padding:10px
328
- }
329
- .pa-sys-info-tab .pa-sys-info-title{
330
- margin:0;
331
- margin-bottom:0;
332
- padding:10px;
333
- border-bottom:2px solid #ddd;
334
- background:#fff;
335
- margin-bottom:10px;
336
- font-weight:500
337
- }
338
- tr.pa-sec-elems-tr{
339
- border:none
340
- }
341
- tr.pa-sec-elems-tr th{
342
- padding-bottom:0
343
- }
344
- tr.pa-sec-elems-tr th h1{
345
- font-weight:700;
346
- font-size:25px;
347
- letter-spacing:1px;
348
- color:#555;
349
- margin-bottom:0
350
- }
351
- .pa-swal-head{
352
- display:block;
353
- margin-bottom:20px
354
- }
355
- .pa-swal-desc{
356
- font-weight:700;
357
- color:#0f6aa7
358
- }
1
+ .pa-header-wrapper{
2
+ padding:20px;
3
+ overflow:hidden
4
+ }
5
+ .pa-title-left{
6
+ width:80%;
7
+ float:right
8
+ }
9
+ h1.pa-title-main{
10
+ padding:0;
11
+ line-height:1.3em;
12
+ font-size:42px;
13
+ margin-top:5px
14
+ }
15
+ .pa-title-sub{
16
+ color:#777;
17
+ font-weight:400;
18
+ margin-right:3px
19
+ }
20
+ .pa-title-right{
21
+ float:left
22
+ }
23
+ .pa-title-right img{
24
+ width:100px;
25
+ height:100px
26
+ }
27
+ .button.pa-btn{
28
+ border:none;
29
+ color:#fff;
30
+ text-align:center;
31
+ padding:3px;
32
+ max-width:250px;
33
+ height:auto;
34
+ margin-bottom:15px;
35
+ display:block;
36
+ font-weight:700;
37
+ box-shadow:none
38
+ }
39
+ .pa-btn.pa-save-button{
40
+ background-color:#1A7FC2;
41
+ margin-bottom:0;
42
+ margin-top:30px;
43
+ padding:3px 10px
44
+ }
45
+ .pa-btn.pa-save-button:hover{
46
+ background:#0e629a;
47
+ color:#fff
48
+ }
49
+ .pa-btn.pa-save-button:focus{
50
+ background:#0e629a;
51
+ color:#fff
52
+ }
53
+ .pa-settings-tabs-list{
54
+ margin:0;
55
+ border-bottom:1px solid #ccc
56
+ }
57
+ .pa-settings-tabs-list li{
58
+ display:inline-block;
59
+ margin-bottom:4px;
60
+ margin-right:.5em
61
+ }
62
+ .pa-tab-list-item{
63
+ background:#e5e5e5;
64
+ padding:9px 15px;
65
+ line-height:30px;
66
+ font-size:18px;
67
+ font-weight:700;
68
+ color:#444;
69
+ text-decoration:none;
70
+ border:1px solid #ccc;
71
+ border-bottom:none
72
+ }
73
+ .pa-tab-list-item:focus{
74
+ box-shadow:none
75
+ }
76
+ li.ui-state-default:not(.ui-state-active):hover a{
77
+ background:#fff;
78
+ color:#444
79
+ }
80
+ li.ui-state-active a{
81
+ outline:none;
82
+ color:#000;
83
+ background:transparent;
84
+ box-shadow:none;
85
+ border-bottom:1px solid #f1f1f1
86
+ }
87
+ .pa-row{
88
+ width:100%;
89
+ overflow:hidden
90
+ }
91
+ .pa-settings-tabs{
92
+ padding:15px 25px;
93
+ margin-top:-3em
94
+ }
95
+ #pa-about{
96
+ margin-top:50px
97
+ }
98
+ .pa-col-half{
99
+ width:40%;
100
+ height:auto;
101
+ float:right
102
+ }
103
+ .pa-about-panel{
104
+ width:100%;
105
+ display:inline-block;
106
+ margin-bottom:20px
107
+ }
108
+ .pa-icon-container{
109
+ float:right;
110
+ display:inline-block;
111
+ width:45px
112
+ }
113
+ .pa-icon-container i{
114
+ font-size:25px
115
+ }
116
+ .pa-text-container{
117
+ display:inline-block;
118
+ width:80%
119
+ }
120
+ .pa-text-container h4{
121
+ margin:0;
122
+ font-weight:400;
123
+ font-size:18px
124
+ }
125
+ .pa-text-container p{
126
+ line-height:22px;
127
+ color:#444;
128
+ font-size:13px;
129
+ margin:1em 0
130
+ }
131
+ .pa-elements-table{
132
+ border-collapse:collapse;
133
+ margin-top:.5em;
134
+ margin-right:5px;
135
+ width:80%;
136
+ clear:both
137
+ }
138
+ .pa-elements-table th{
139
+ vertical-align:top;
140
+ text-align:right;
141
+ padding:20px 0 20px 10px;
142
+ width:200px;
143
+ line-height:1.3;
144
+ font-weight:500
145
+ }
146
+ .pa-elements-table tr{
147
+ border-bottom:1px solid #ddd
148
+ }
149
+ .pa-elements-table td{
150
+ margin-bottom:9px;
151
+ padding:15px 10px;
152
+ line-height:1.3;
153
+ vertical-align:middle
154
+ }
155
+ .pa-elements-table .pa-element-desc{
156
+ font-weight:300;
157
+ padding-bottom:1.5em;
158
+ border-bottom:1px solid #ddd
159
+ }
160
+ .switch{
161
+ position:relative;
162
+ display:inline-block;
163
+ width:70px;
164
+ height:33px
165
+ }
166
+ .switch input{
167
+ display:none
168
+ }
169
+ .slider,.pro-slider{
170
+ position:absolute;
171
+ cursor:pointer;
172
+ top:0;
173
+ right:0;
174
+ left:0;
175
+ bottom:0;
176
+ background-color:#f2f2f2;
177
+ box-shadow:0 0 2px 1px #ccc inset;
178
+ -webkit-transition:.4s;
179
+ transition:.4s
180
+ }
181
+ .slider:before,.pro-slider:before{
182
+ position:absolute;
183
+ content:"";
184
+ height:27.5px;
185
+ width:27.5px;
186
+ right:0;
187
+ bottom:1.1px;
188
+ background:radial-gradient(farthest-corner at 14px 0px,#f0f0f0 50%,#cacaca 100%);
189
+ -webkit-transition:.4s;
190
+ transition:.4s;
191
+ padding:0;
192
+ margin:0;
193
+ border:1px solid #c6c6c6;
194
+ box-shadow:0 2.5px 5px #b8b8b9
195
+ }
196
+ input:checked + .slider{
197
+ background-color:#18a4fd;
198
+ box-shadow:0 0 2px 1px #149afd inset;
199
+ border:1px solid #149afd
200
+ }
201
+ input:focus + .slider{
202
+ box-shadow:0 0 1px #18a4fd
203
+ }
204
+ input:checked + .slider:before{
205
+ box-shadow:0 2.5px 5px #0d6fbd;
206
+ border:1px solid #0d6fbd;
207
+ -webkit-transform:translateX(-40px);
208
+ -ms-transform:translateX(-40px);
209
+ transform:translateX(-40px)
210
+ }
211
+ .slider.round,.pro-slider.round{
212
+ border:1px solid #b8b8b9;
213
+ border-radius:34px
214
+ }
215
+ .slider.round:before,.pro-slider.round:before{
216
+ border-radius:50%
217
+ }
218
+ .pa-maps-table{
219
+ text-align:right
220
+ }
221
+ .pa-api-title{
222
+ display:inline-block;
223
+ margin:0
224
+ }
225
+ .pa-maps-table select {
226
+ width: 100%;
227
+ max-width: 100%;
228
+ }
229
+ .pa-maps-table #premium-map-api{
230
+ width: 100%;
231
+ }
232
+ .pa-maps-table tr td:first-of-type{
233
+ padding-left: 1.2em;
234
+ }
235
+ .pa-maps-table td:first-of-type .pa-api-disable-title {
236
+ margin:0.6em 0;
237
+ }
238
+ .pa-api-disable-title label,.pa-is-beta label{
239
+ margin-left:15px
240
+ }
241
+ .pa-api-disable-title span,.pa-is-beta span{
242
+ font-weight:400
243
+ }
244
+ .pa-maps-api-notice{
245
+ margin:0.5em 0
246
+ }
247
+ .pa-api-title input{
248
+ margin-top:10px;
249
+ font-size:normal;
250
+ font-weight:400;
251
+ width:400px;
252
+ margin-right:30px
253
+ }
254
+ #pa-maintenance{
255
+ margin-top:30px
256
+ }
257
+ .pa-beta-table tr{
258
+ text-align:right
259
+ }
260
+ .pa-roll-back,.pa-beta-test{
261
+ text-align:right;
262
+ font-size:20px;
263
+ font-weight:400;
264
+ margin-top:15px;
265
+ margin-bottom:10px
266
+ }
267
+ .pa-beta-test{
268
+ margin-top:0
269
+ }
270
+ .pa-roll-back-span,.pa-beta-test-span{
271
+ line-height:22px;
272
+ color:#444;
273
+ font-size:13px;
274
+ margin:0;
275
+ font-weight:400
276
+ }
277
+ .pa-roll-row,.pa-beta-row{
278
+ float:right
279
+ }
280
+ .pa-beta-row{
281
+ margin-top:13px
282
+ }
283
+ .pa-roll-row th,.pa-beta-row th{
284
+ vertical-align:top;
285
+ text-align:right;
286
+ padding:20px 0 20px 10px;
287
+ width:200px;
288
+ line-height:1.3
289
+ }
290
+ .pa-roll-row td{
291
+ padding:15px 10px
292
+ }
293
+ .pa-beta-row td{
294
+ padding:22px 10px
295
+ }
296
+ .pa-roll-row .pa-rollback-button{
297
+ box-shadow:0 1px 0 #ccc;
298
+ color:#555;
299
+ border:1px solid #ccc;
300
+ background:#f7f7f7;
301
+ vertical-align:top;
302
+ margin:0;
303
+ padding:0 10px 1px
304
+ }
305
+ .pa-roll-row .pa-rollback-button:hover{
306
+ background:#fafafa;
307
+ border-color:#999;
308
+ color:#23282d
309
+ }
310
+ .pa-roll-row .pa-roll-desc{
311
+ font-style:italic;
312
+ color:red;
313
+ margin-top:4px
314
+ }
315
+ .pa-beta-row .pa-beta-desc{
316
+ font-style:italic;
317
+ margin-top:4px
318
+ }
319
+ .pa-sys-info-tab{
320
+ background:#f7f7f7;
321
+ margin:8px;
322
+ border:2px solid #ddd;
323
+ border-radius:3px;
324
+ padding:0
325
+ }
326
+ .pa-system-info-container{
327
+ padding:10px
328
+ }
329
+ .pa-sys-info-tab .pa-sys-info-title{
330
+ margin:0;
331
+ margin-bottom:0;
332
+ padding:10px;
333
+ border-bottom:2px solid #ddd;
334
+ background:#fff;
335
+ margin-bottom:10px;
336
+ font-weight:500
337
+ }
338
+ tr.pa-sec-elems-tr{
339
+ border:none
340
+ }
341
+ tr.pa-sec-elems-tr th{
342
+ padding-bottom:0
343
+ }
344
+ tr.pa-sec-elems-tr th h1{
345
+ font-weight:700;
346
+ font-size:25px;
347
+ letter-spacing:1px;
348
+ color:#555;
349
+ margin-bottom:0
350
+ }
351
+ .pa-swal-head{
352
+ display:block;
353
+ margin-bottom:20px
354
+ }
355
+ .pa-swal-desc{
356
+ font-weight:700;
357
+ color:#0f6aa7
358
+ }
admin/assets/css/admin.css CHANGED
@@ -1,358 +1,358 @@
1
- .pa-header-wrapper{
2
- padding:20px;
3
- overflow:hidden
4
- }
5
- .pa-title-left{
6
- width:80%;
7
- float:left
8
- }
9
- h1.pa-title-main{
10
- padding:0;
11
- line-height:1.3em;
12
- font-size:42px;
13
- margin-top:5px
14
- }
15
- .pa-title-sub{
16
- color:#777;
17
- font-weight:400;
18
- margin-left:3px
19
- }
20
- .pa-title-right{
21
- float:right
22
- }
23
- .pa-title-right img{
24
- width:100px;
25
- height:100px
26
- }
27
- .button.pa-btn{
28
- border:none;
29
- color:#fff;
30
- text-align:center;
31
- padding:3px;
32
- max-width:250px;
33
- height:auto;
34
- margin-bottom:15px;
35
- display:block;
36
- font-weight:700;
37
- box-shadow:none
38
- }
39
- .pa-btn.pa-save-button{
40
- background-color:#1A7FC2;
41
- margin-bottom:0;
42
- margin-top:30px;
43
- padding:3px 10px
44
- }
45
- .pa-btn.pa-save-button:hover{
46
- background:#0e629a;
47
- color:#fff
48
- }
49
- .pa-btn.pa-save-button:focus{
50
- background:#0e629a;
51
- color:#fff
52
- }
53
- .pa-settings-tabs-list{
54
- margin:0;
55
- border-bottom:1px solid #ccc
56
- }
57
- .pa-settings-tabs-list li{
58
- display:inline-block;
59
- margin-bottom:4px;
60
- margin-left:.5em
61
- }
62
- .pa-tab-list-item{
63
- background:#e5e5e5;
64
- padding:9px 15px;
65
- line-height:30px;
66
- font-size:18px;
67
- font-weight:700;
68
- color:#444;
69
- text-decoration:none;
70
- border:1px solid #ccc;
71
- border-bottom:none
72
- }
73
- .pa-tab-list-item:focus{
74
- box-shadow:none
75
- }
76
- li.ui-state-default:not(.ui-state-active):hover a{
77
- background:#fff;
78
- color:#444
79
- }
80
- li.ui-state-active a{
81
- outline:none;
82
- color:#000;
83
- background:transparent;
84
- box-shadow:none;
85
- border-bottom:1px solid #f1f1f1
86
- }
87
- .pa-row{
88
- width:100%;
89
- overflow:hidden
90
- }
91
- .pa-settings-tabs{
92
- padding:15px 25px;
93
- margin-top:-3em
94
- }
95
- #pa-about{
96
- margin-top:50px
97
- }
98
- .pa-col-half{
99
- width:40%;
100
- height:auto;
101
- float:left
102
- }
103
- .pa-about-panel{
104
- width:100%;
105
- display:inline-block;
106
- margin-bottom:20px
107
- }
108
- .pa-icon-container{
109
- float:left;
110
- display:inline-block;
111
- width:45px
112
- }
113
- .pa-icon-container i{
114
- font-size:25px
115
- }
116
- .pa-text-container{
117
- display:inline-block;
118
- width:80%
119
- }
120
- .pa-text-container h4{
121
- margin:0;
122
- font-weight:400;
123
- font-size:18px
124
- }
125
- .pa-text-container p{
126
- line-height:22px;
127
- color:#444;
128
- font-size:13px;
129
- margin:1em 0
130
- }
131
- .pa-elements-table{
132
- border-collapse:collapse;
133
- margin-top:.5em;
134
- margin-left:5px;
135
- width:80%;
136
- clear:both
137
- }
138
- .pa-elements-table th{
139
- vertical-align:top;
140
- text-align:left;
141
- padding:20px 10px 20px 0;
142
- width:200px;
143
- line-height:1.3;
144
- font-weight:500
145
- }
146
- .pa-elements-table tr{
147
- border-bottom:1px solid #ddd
148
- }
149
- .pa-elements-table td{
150
- margin-bottom:9px;
151
- padding:15px 10px;
152
- line-height:1.3;
153
- vertical-align:middle
154
- }
155
- .pa-elements-table .pa-element-desc{
156
- font-weight:300;
157
- padding-bottom:1.5em;
158
- border-bottom:1px solid #ddd
159
- }
160
- .switch{
161
- position:relative;
162
- display:inline-block;
163
- width:70px;
164
- height:33px
165
- }
166
- .switch input{
167
- display:none
168
- }
169
- .slider,.pro-slider{
170
- position:absolute;
171
- cursor:pointer;
172
- top:0;
173
- left:0;
174
- right:0;
175
- bottom:0;
176
- background-color:#f2f2f2;
177
- box-shadow:0 0 2px 1px #ccc inset;
178
- -webkit-transition:.4s;
179
- transition:.4s
180
- }
181
- .slider:before,.pro-slider:before{
182
- position:absolute;
183
- content:"";
184
- height:27.5px;
185
- width:27.5px;
186
- left:0;
187
- bottom:1.1px;
188
- background:radial-gradient(farthest-corner at 14px 0px,#f0f0f0 50%,#cacaca 100%);
189
- -webkit-transition:.4s;
190
- transition:.4s;
191
- padding:0;
192
- margin:0;
193
- border:1px solid #c6c6c6;
194
- box-shadow:0 2.5px 5px #b8b8b9
195
- }
196
- input:checked + .slider{
197
- background-color:#18a4fd;
198
- box-shadow:0 0 2px 1px #149afd inset;
199
- border:1px solid #149afd
200
- }
201
- input:focus + .slider{
202
- box-shadow:0 0 1px #18a4fd
203
- }
204
- input:checked + .slider:before{
205
- box-shadow:0 2.5px 5px #0d6fbd;
206
- border:1px solid #0d6fbd;
207
- -webkit-transform:translateX(40px);
208
- -ms-transform:translateX(40px);
209
- transform:translateX(40px)
210
- }
211
- .slider.round,.pro-slider.round{
212
- border:1px solid #b8b8b9;
213
- border-radius:34px
214
- }
215
- .slider.round:before,.pro-slider.round:before{
216
- border-radius:50%
217
- }
218
- .pa-maps-table{
219
- text-align:left
220
- }
221
- .pa-api-title{
222
- display:inline-block;
223
- margin:0
224
- }
225
- .pa-maps-table select {
226
- width: 100%;
227
- max-width: 100%;
228
- }
229
- .pa-maps-table #premium-map-api{
230
- width: 100%;
231
- }
232
- .pa-maps-table tr td:first-of-type{
233
- padding-right: 1.2em;
234
- }
235
- .pa-maps-table td:first-of-type .pa-api-disable-title {
236
- margin:0.6em 0;
237
- }
238
- .pa-api-disable-title label,.pa-is-beta label{
239
- margin-right:15px
240
- }
241
- .pa-api-disable-title span,.pa-is-beta span{
242
- font-weight:400
243
- }
244
- .pa-maps-api-notice{
245
- margin:0.5em 0
246
- }
247
- .pa-api-title input{
248
- margin-top:10px;
249
- font-size:normal;
250
- font-weight:400;
251
- width:400px;
252
- margin-left:30px
253
- }
254
- #pa-maintenance{
255
- margin-top:30px
256
- }
257
- .pa-beta-table tr{
258
- text-align:left
259
- }
260
- .pa-roll-back,.pa-beta-test{
261
- text-align:left;
262
- font-size:20px;
263
- font-weight:400;
264
- margin-top:15px;
265
- margin-bottom:10px
266
- }
267
- .pa-beta-test{
268
- margin-top:0
269
- }
270
- .pa-roll-back-span,.pa-beta-test-span{
271
- line-height:22px;
272
- color:#444;
273
- font-size:13px;
274
- margin:0;
275
- font-weight:400
276
- }
277
- .pa-roll-row,.pa-beta-row{
278
- float:left
279
- }
280
- .pa-beta-row{
281
- margin-top:13px
282
- }
283
- .pa-roll-row th,.pa-beta-row th{
284
- vertical-align:top;
285
- text-align:left;
286
- padding:20px 10px 20px 0;
287
- width:200px;
288
- line-height:1.3
289
- }
290
- .pa-roll-row td{
291
- padding:15px 10px
292
- }
293
- .pa-beta-row td{
294
- padding:22px 10px
295
- }
296
- .pa-roll-row .pa-rollback-button{
297
- box-shadow:0 1px 0 #ccc;
298
- color:#555;
299
- border:1px solid #ccc;
300
- background:#f7f7f7;
301
- vertical-align:top;
302
- margin:0;
303
- padding:0 10px 1px
304
- }
305
- .pa-roll-row .pa-rollback-button:hover{
306
- background:#fafafa;
307
- border-color:#999;
308
- color:#23282d
309
- }
310
- .pa-roll-row .pa-roll-desc{
311
- font-style:italic;
312
- color:red;
313
- margin-top:4px
314
- }
315
- .pa-beta-row .pa-beta-desc{
316
- font-style:italic;
317
- margin-top:4px
318
- }
319
- .pa-sys-info-tab{
320
- background:#f7f7f7;
321
- margin:8px;
322
- border:2px solid #ddd;
323
- border-radius:3px;
324
- padding:0
325
- }
326
- .pa-system-info-container{
327
- padding:10px
328
- }
329
- .pa-sys-info-tab .pa-sys-info-title{
330
- margin:0;
331
- margin-bottom:0;
332
- padding:10px;
333
- border-bottom:2px solid #ddd;
334
- background:#fff;
335
- margin-bottom:10px;
336
- font-weight:500
337
- }
338
- tr.pa-sec-elems-tr{
339
- border:none
340
- }
341
- tr.pa-sec-elems-tr th{
342
- padding-bottom:0
343
- }
344
- tr.pa-sec-elems-tr th h1{
345
- font-weight:700;
346
- font-size:25px;
347
- letter-spacing:1px;
348
- color:#555;
349
- margin-bottom:0
350
- }
351
- .pa-swal-head{
352
- display:block;
353
- margin-bottom:20px
354
- }
355
- .pa-swal-desc{
356
- font-weight:700;
357
- color:#0f6aa7
358
- }
1
+ .pa-header-wrapper{
2
+ padding:20px;
3
+ overflow:hidden
4
+ }
5
+ .pa-title-left{
6
+ width:80%;
7
+ float:left
8
+ }
9
+ h1.pa-title-main{
10
+ padding:0;
11
+ line-height:1.3em;
12
+ font-size:42px;
13
+ margin-top:5px
14
+ }
15
+ .pa-title-sub{
16
+ color:#777;
17
+ font-weight:400;
18
+ margin-left:3px
19
+ }
20
+ .pa-title-right{
21
+ float:right
22
+ }
23
+ .pa-title-right img{
24
+ width:100px;
25
+ height:100px
26
+ }
27
+ .button.pa-btn{
28
+ border:none;
29
+ color:#fff;
30
+ text-align:center;
31
+ padding:3px;
32
+ max-width:250px;
33
+ height:auto;
34
+ margin-bottom:15px;
35
+ display:block;
36
+ font-weight:700;
37
+ box-shadow:none
38
+ }
39
+ .pa-btn.pa-save-button{
40
+ background-color:#1A7FC2;
41
+ margin-bottom:0;
42
+ margin-top:30px;
43
+ padding:3px 10px
44
+ }
45
+ .pa-btn.pa-save-button:hover{
46
+ background:#0e629a;
47
+ color:#fff
48
+ }
49
+ .pa-btn.pa-save-button:focus{
50
+ background:#0e629a;
51
+ color:#fff
52
+ }
53
+ .pa-settings-tabs-list{
54
+ margin:0;
55
+ border-bottom:1px solid #ccc
56
+ }
57
+ .pa-settings-tabs-list li{
58
+ display:inline-block;
59
+ margin-bottom:4px;
60
+ margin-left:.5em
61
+ }
62
+ .pa-tab-list-item{
63
+ background:#e5e5e5;
64
+ padding:9px 15px;
65
+ line-height:30px;
66
+ font-size:18px;
67
+ font-weight:700;
68
+ color:#444;
69
+ text-decoration:none;
70
+ border:1px solid #ccc;
71
+ border-bottom:none
72
+ }
73
+ .pa-tab-list-item:focus{
74
+ box-shadow:none
75
+ }
76
+ li.ui-state-default:not(.ui-state-active):hover a{
77
+ background:#fff;
78
+ color:#444
79
+ }
80
+ li.ui-state-active a{
81
+ outline:none;
82
+ color:#000;
83
+ background:transparent;
84
+ box-shadow:none;
85
+ border-bottom:1px solid #f1f1f1
86
+ }
87
+ .pa-row{
88
+ width:100%;
89
+ overflow:hidden
90
+ }
91
+ .pa-settings-tabs{
92
+ padding:15px 25px;
93
+ margin-top:-3em
94
+ }
95
+ #pa-about{
96
+ margin-top:50px
97
+ }
98
+ .pa-col-half{
99
+ width:40%;
100
+ height:auto;
101
+ float:left
102
+ }
103
+ .pa-about-panel{
104
+ width:100%;
105
+ display:inline-block;
106
+ margin-bottom:20px
107
+ }
108
+ .pa-icon-container{
109
+ float:left;
110
+ display:inline-block;
111
+ width:45px
112
+ }
113
+ .pa-icon-container i{
114
+ font-size:25px
115
+ }
116
+ .pa-text-container{
117
+ display:inline-block;
118
+ width:80%
119
+ }
120
+ .pa-text-container h4{
121
+ margin:0;
122
+ font-weight:400;
123
+ font-size:18px
124
+ }
125
+ .pa-text-container p{
126
+ line-height:22px;
127
+ color:#444;
128
+ font-size:13px;
129
+ margin:1em 0
130
+ }
131
+ .pa-elements-table{
132
+ border-collapse:collapse;
133
+ margin-top:.5em;
134
+ margin-left:5px;
135
+ width:80%;
136
+ clear:both
137
+ }
138
+ .pa-elements-table th{
139
+ vertical-align:top;
140
+ text-align:left;
141
+ padding:20px 10px 20px 0;
142
+ width:200px;
143
+ line-height:1.3;
144
+ font-weight:500
145
+ }
146
+ .pa-elements-table tr{
147
+ border-bottom:1px solid #ddd
148
+ }
149
+ .pa-elements-table td{
150
+ margin-bottom:9px;
151
+ padding:15px 10px;
152
+ line-height:1.3;
153
+ vertical-align:middle
154
+ }
155
+ .pa-elements-table .pa-element-desc{
156
+ font-weight:300;
157
+ padding-bottom:1.5em;
158
+ border-bottom:1px solid #ddd
159
+ }
160
+ .switch{
161
+ position:relative;
162
+ display:inline-block;
163
+ width:70px;
164
+ height:33px
165
+ }
166
+ .switch input{
167
+ display:none
168
+ }
169
+ .slider,.pro-slider{
170
+ position:absolute;
171
+ cursor:pointer;
172
+ top:0;
173
+ left:0;
174
+ right:0;
175
+ bottom:0;
176
+ background-color:#f2f2f2;
177
+ box-shadow:0 0 2px 1px #ccc inset;
178
+ -webkit-transition:.4s;
179
+ transition:.4s
180
+ }
181
+ .slider:before,.pro-slider:before{
182
+ position:absolute;
183
+ content:"";
184
+ height:27.5px;
185
+ width:27.5px;
186
+ left:0;
187
+ bottom:1.1px;
188
+ background:radial-gradient(farthest-corner at 14px 0px,#f0f0f0 50%,#cacaca 100%);
189
+ -webkit-transition:.4s;
190
+ transition:.4s;
191
+ padding:0;
192
+ margin:0;
193
+ border:1px solid #c6c6c6;
194
+ box-shadow:0 2.5px 5px #b8b8b9
195
+ }
196
+ input:checked + .slider{
197
+ background-color:#18a4fd;
198
+ box-shadow:0 0 2px 1px #149afd inset;
199
+ border:1px solid #149afd
200
+ }
201
+ input:focus + .slider{
202
+ box-shadow:0 0 1px #18a4fd
203
+ }
204
+ input:checked + .slider:before{
205
+ box-shadow:0 2.5px 5px #0d6fbd;
206
+ border:1px solid #0d6fbd;
207
+ -webkit-transform:translateX(40px);
208
+ -ms-transform:translateX(40px);
209
+ transform:translateX(40px)
210
+ }
211
+ .slider.round,.pro-slider.round{
212
+ border:1px solid #b8b8b9;
213
+ border-radius:34px
214
+ }
215
+ .slider.round:before,.pro-slider.round:before{
216
+ border-radius:50%
217
+ }
218
+ .pa-maps-table{
219
+ text-align:left
220
+ }
221
+ .pa-api-title{
222
+ display:inline-block;
223
+ margin:0
224
+ }
225
+ .pa-maps-table select {
226
+ width: 100%;
227
+ max-width: 100%;
228
+ }
229
+ .pa-maps-table #premium-map-api{
230
+ width: 100%;
231
+ }
232
+ .pa-maps-table tr td:first-of-type{
233
+ padding-right: 1.2em;
234
+ }
235
+ .pa-maps-table td:first-of-type .pa-api-disable-title {
236
+ margin:0.6em 0;
237
+ }
238
+ .pa-api-disable-title label,.pa-is-beta label{
239
+ margin-right:15px
240
+ }
241
+ .pa-api-disable-title span,.pa-is-beta span{
242
+ font-weight:400
243
+ }
244
+ .pa-maps-api-notice{
245
+ margin:0.5em 0
246
+ }
247
+ .pa-api-title input{
248
+ margin-top:10px;
249
+ font-size:normal;
250
+ font-weight:400;
251
+ width:400px;
252
+ margin-left:30px
253
+ }
254
+ #pa-maintenance{
255
+ margin-top:30px
256
+ }
257
+ .pa-beta-table tr{
258
+ text-align:left
259
+ }
260
+ .pa-roll-back,.pa-beta-test{
261
+ text-align:left;
262
+ font-size:20px;
263
+ font-weight:400;
264
+ margin-top:15px;
265
+ margin-bottom:10px
266
+ }
267
+ .pa-beta-test{
268
+ margin-top:0
269
+ }
270
+ .pa-roll-back-span,.pa-beta-test-span{
271
+ line-height:22px;
272
+ color:#444;
273
+ font-size:13px;
274
+ margin:0;
275
+ font-weight:400
276
+ }
277
+ .pa-roll-row,.pa-beta-row{
278
+ float:left
279
+ }
280
+ .pa-beta-row{
281
+ margin-top:13px
282
+ }
283
+ .pa-roll-row th,.pa-beta-row th{
284
+ vertical-align:top;
285
+ text-align:left;
286
+ padding:20px 10px 20px 0;
287
+ width:200px;
288
+ line-height:1.3
289
+ }
290
+ .pa-roll-row td{
291
+ padding:15px 10px
292
+ }
293
+ .pa-beta-row td{
294
+ padding:22px 10px
295
+ }
296
+ .pa-roll-row .pa-rollback-button{
297
+ box-shadow:0 1px 0 #ccc;
298
+ color:#555;
299
+ border:1px solid #ccc;
300
+ background:#f7f7f7;
301
+ vertical-align:top;
302
+ margin:0;
303
+ padding:0 10px 1px
304
+ }
305
+ .pa-roll-row .pa-rollback-button:hover{
306
+ background:#fafafa;
307
+ border-color:#999;
308
+ color:#23282d
309
+ }
310
+ .pa-roll-row .pa-roll-desc{
311
+ font-style:italic;
312
+ color:red;
313
+ margin-top:4px
314
+ }
315
+ .pa-beta-row .pa-beta-desc{
316
+ font-style:italic;
317
+ margin-top:4px
318
+ }
319
+ .pa-sys-info-tab{
320
+ background:#f7f7f7;
321
+ margin:8px;
322
+ border:2px solid #ddd;
323
+ border-radius:3px;
324
+ padding:0
325
+ }
326
+ .pa-system-info-container{
327
+ padding:10px
328
+ }
329
+ .pa-sys-info-tab .pa-sys-info-title{
330
+ margin:0;
331
+ margin-bottom:0;
332
+ padding:10px;
333
+ border-bottom:2px solid #ddd;
334
+ background:#fff;
335
+ margin-bottom:10px;
336
+ font-weight:500
337
+ }
338
+ tr.pa-sec-elems-tr{
339
+ border:none
340
+ }
341
+ tr.pa-sec-elems-tr th{
342
+ padding-bottom:0
343
+ }
344
+ tr.pa-sec-elems-tr th h1{
345
+ font-weight:700;
346
+ font-size:25px;
347
+ letter-spacing:1px;
348
+ color:#555;
349
+ margin-bottom:0
350
+ }
351
+ .pa-swal-head{
352
+ display:block;
353
+ margin-bottom:20px
354
+ }
355
+ .pa-swal-desc{
356
+ font-weight:700;
357
+ color:#0f6aa7
358
+ }
admin/assets/css/notice-rtl.css CHANGED
@@ -1,106 +1,106 @@
1
- .error.pa-notice-wrap {
2
- display: flex;
3
- border: none;
4
- padding: 0;
5
- margin: 0;
6
- min-height: 120px;
7
- padding-left: 1em;
8
- align-items: center;
9
- }
10
-
11
- .error.pa-notice-wrap div {
12
- padding: 0;
13
- margin: 0;
14
- }
15
-
16
- .error.pa-notice-wrap .pa-img-wrap {
17
- display: flex;
18
- align-items: center;
19
- min-height: 120px;
20
- padding: 0 0.7em;
21
- }
22
-
23
- .error.pa-black-notice,
24
- .error.pa-black-notice .pa-img-wrap {
25
- min-height: auto;
26
- }
27
-
28
- .pa-new-feature-notice .pa-text-wrap {
29
- display: -ms-flexbox;
30
- display: -webkit-flex;
31
- display: -moz-flex;
32
- display: -ms-flex;
33
- display: flex;
34
- align-items: center;
35
- padding: 10px 0 10px 10px;
36
- }
37
-
38
- .pa-new-feature-notice .pa-text-wrap .pa-notice-logo {
39
- width: 40px;
40
- margin-left: 0.8em;
41
- }
42
-
43
- .pa-new-feature-notice .pa-text-wrap .pa-notice-close {
44
- text-decoration: none;
45
- margin-right: 1em;
46
- margin-right: auto;
47
- }
48
-
49
- .error .pa-text-wrap a:focus {
50
- box-shadow: none;
51
- outline: none;
52
-
53
- }
54
-
55
- .error.pa-notice-wrap .pa-text-wrap {
56
- padding-top: 0.3em;
57
- }
58
-
59
- .error.pa-notice-wrap .pa-img-wrap img {
60
- width: 40px;
61
- }
62
-
63
- .error.pa-notice-wrap .pa-text-wrap a {
64
- margin-left: 0.3em;
65
- text-transform: uppercase;
66
- font-weight: 500;
67
- font-style: normal;
68
- }
69
-
70
- .error.pa-notice-wrap .pa-text-wrap a i {
71
- margin-left: 0.1em;
72
- margin-top: 0.1em;
73
- }
74
-
75
- .error.pa-notice-wrap .pa-text-wrap a:first-of-type {
76
- background: #0f6aa7
77
- }
78
-
79
- .error.pa-black-notice .pa-text-wrap a:first-of-type {
80
- background: transparent;
81
- text-transform: none;
82
- }
83
-
84
- .error .pa-text-wrap a {
85
- margin: 0;
86
- }
87
-
88
- .pa-notice-wrap .pa-notice-close {
89
- -webkit-flex-basis: 56%;
90
- -ms-flex-preferred-size: 56%;
91
- flex-basis: 56%;
92
- }
93
-
94
- .pa-notice-close a:focus {
95
- outline: none;
96
- box-shadow: none;
97
- }
98
-
99
- .pa-notice-close span {
100
- float: left;
101
- text-decoration: none;
102
- }
103
-
104
- .error.pa-notice-wrap .pa-text-wrap a:not(:first-of-type) {
105
- margin-right: 0.3em;
106
  }
1
+ .error.pa-notice-wrap {
2
+ display: flex;
3
+ border: none;
4
+ padding: 0;
5
+ margin: 0;
6
+ min-height: 120px;
7
+ padding-left: 1em;
8
+ align-items: center;
9
+ }
10
+
11
+ .error.pa-notice-wrap div {
12
+ padding: 0;
13
+ margin: 0;
14
+ }
15
+
16
+ .error.pa-notice-wrap .pa-img-wrap {
17
+ display: flex;
18
+ align-items: center;
19
+ min-height: 120px;
20
+ padding: 0 0.7em;
21
+ }
22
+
23
+ .error.pa-black-notice,
24
+ .error.pa-black-notice .pa-img-wrap {
25
+ min-height: auto;
26
+ }
27
+
28
+ .pa-new-feature-notice .pa-text-wrap {
29
+ display: -ms-flexbox;
30
+ display: -webkit-flex;
31
+ display: -moz-flex;
32
+ display: -ms-flex;
33
+ display: flex;
34
+ align-items: center;
35
+ padding: 10px 0 10px 10px;
36
+ }
37
+
38
+ .pa-new-feature-notice .pa-text-wrap .pa-notice-logo {
39
+ width: 40px;
40
+ margin-left: 0.8em;
41
+ }
42
+
43
+ .pa-new-feature-notice .pa-text-wrap .pa-notice-close {
44
+ text-decoration: none;
45
+ margin-right: 1em;
46
+ margin-right: auto;
47
+ }
48
+
49
+ .error .pa-text-wrap a:focus {
50
+ box-shadow: none;
51
+ outline: none;
52
+
53
+ }
54
+
55
+ .error.pa-notice-wrap .pa-text-wrap {
56
+ padding-top: 0.3em;
57
+ }
58
+
59
+ .error.pa-notice-wrap .pa-img-wrap img {
60
+ width: 40px;
61
+ }
62
+
63
+ .error.pa-notice-wrap .pa-text-wrap a {
64
+ margin-left: 0.3em;
65
+ text-transform: uppercase;
66
+ font-weight: 500;
67
+ font-style: normal;
68
+ }
69
+
70
+ .error.pa-notice-wrap .pa-text-wrap a i {
71
+ margin-left: 0.1em;
72
+ margin-top: 0.1em;
73
+ }
74
+
75
+ .error.pa-notice-wrap .pa-text-wrap a:first-of-type {
76
+ background: #0f6aa7
77
+ }
78
+
79
+ .error.pa-black-notice .pa-text-wrap a:first-of-type {
80
+ background: transparent;
81
+ text-transform: none;
82
+ }
83
+
84
+ .error .pa-text-wrap a {
85
+ margin: 0;
86
+ }
87
+
88
+ .pa-notice-wrap .pa-notice-close {
89
+ -webkit-flex-basis: 56%;
90
+ -ms-flex-preferred-size: 56%;
91
+ flex-basis: 56%;
92
+ }
93
+
94
+ .pa-notice-close a:focus {
95
+ outline: none;
96
+ box-shadow: none;
97
+ }
98
+
99
+ .pa-notice-close span {
100
+ float: left;
101
+ text-decoration: none;
102
+ }
103
+
104
+ .error.pa-notice-wrap .pa-text-wrap a:not(:first-of-type) {
105
+ margin-right: 0.3em;
106
  }
admin/assets/css/notice.css CHANGED
@@ -1,106 +1,106 @@
1
- .error.pa-notice-wrap {
2
- display: flex;
3
- border: none;
4
- padding: 0;
5
- margin: 0;
6
- min-height: 120px;
7
- padding-right: 1em;
8
- align-items: center;
9
- }
10
-
11
- .error.pa-notice-wrap div {
12
- padding: 0;
13
- margin: 0;
14
- }
15
-
16
- .error.pa-notice-wrap .pa-img-wrap {
17
- display: flex;
18
- align-items: center;
19
- min-height: 120px;
20
- padding: 0 0.7em;
21
- }
22
-
23
- .error.pa-black-notice,
24
- .error.pa-black-notice .pa-img-wrap {
25
- min-height: auto;
26
- }
27
-
28
- .pa-new-feature-notice .pa-text-wrap {
29
- display: -ms-flexbox;
30
- display: -webkit-flex;
31
- display: -moz-flex;
32
- display: -ms-flex;
33
- display: flex;
34
- align-items: center;
35
- padding: 10px 10px 10px 0;
36
- }
37
-
38
- .pa-new-feature-notice .pa-text-wrap .pa-notice-logo {
39
- width: 40px;
40
- margin-right: 0.8em;
41
- }
42
-
43
- .pa-new-feature-notice .pa-text-wrap .pa-notice-close {
44
- text-decoration: none;
45
- margin-left: 1em;
46
- margin-left: auto;
47
- }
48
-
49
- .error .pa-text-wrap a:focus {
50
- box-shadow: none;
51
- outline: none;
52
-
53
- }
54
-
55
- .error.pa-notice-wrap .pa-text-wrap {
56
- padding-top: 0.3em;
57
- }
58
-
59
- .error.pa-notice-wrap .pa-img-wrap img {
60
- width: 40px;
61
- }
62
-
63
- .error.pa-notice-wrap .pa-text-wrap a {
64
- margin-right: 0.3em;
65
- text-transform: uppercase;
66
- font-weight: 500;
67
- font-style: normal;
68
- }
69
-
70
- .error.pa-notice-wrap .pa-text-wrap a i {
71
- margin-right: 0.1em;
72
- margin-top: 0.1em;
73
- }
74
-
75
- .error.pa-notice-wrap .pa-text-wrap a:first-of-type {
76
- background: #0f6aa7
77
- }
78
-
79
- .error.pa-black-notice .pa-text-wrap a:first-of-type {
80
- background: transparent;
81
- text-transform: none;
82
- }
83
-
84
- .error .pa-text-wrap a {
85
- margin: 0;
86
- }
87
-
88
- .pa-notice-wrap .pa-notice-close {
89
- -webkit-flex-basis: 56%;
90
- -ms-flex-preferred-size: 56%;
91
- flex-basis: 56%;
92
- }
93
-
94
- .pa-notice-close a:focus {
95
- outline: none;
96
- box-shadow: none;
97
- }
98
-
99
- .pa-notice-close span {
100
- float: right;
101
- text-decoration: none;
102
- }
103
-
104
- .error.pa-notice-wrap .pa-text-wrap a:not(:first-of-type) {
105
- margin-left: 0.3em;
106
  }
1
+ .error.pa-notice-wrap {
2
+ display: flex;
3
+ border: none;
4
+ padding: 0;
5
+ margin: 0;
6
+ min-height: 120px;
7
+ padding-right: 1em;
8
+ align-items: center;
9
+ }
10
+
11
+ .error.pa-notice-wrap div {
12
+ padding: 0;
13
+ margin: 0;
14
+ }
15
+
16
+ .error.pa-notice-wrap .pa-img-wrap {
17
+ display: flex;
18
+ align-items: center;
19
+ min-height: 120px;
20
+ padding: 0 0.7em;
21
+ }
22
+
23
+ .error.pa-black-notice,
24
+ .error.pa-black-notice .pa-img-wrap {
25
+ min-height: auto;
26
+ }
27
+
28
+ .pa-new-feature-notice .pa-text-wrap {
29
+ display: -ms-flexbox;
30
+ display: -webkit-flex;
31
+ display: -moz-flex;
32
+ display: -ms-flex;
33
+ display: flex;
34
+ align-items: center;
35
+ padding: 10px 10px 10px 0;
36
+ }
37
+
38
+ .pa-new-feature-notice .pa-text-wrap .pa-notice-logo {
39
+ width: 40px;
40
+ margin-right: 0.8em;
41
+ }
42
+
43
+ .pa-new-feature-notice .pa-text-wrap .pa-notice-close {
44
+ text-decoration: none;
45
+ margin-left: 1em;
46
+ margin-left: auto;
47
+ }
48
+
49
+ .error .pa-text-wrap a:focus {
50
+ box-shadow: none;
51
+ outline: none;
52
+
53
+ }
54
+
55
+ .error.pa-notice-wrap .pa-text-wrap {
56
+ padding-top: 0.3em;
57
+ }
58
+
59
+ .error.pa-notice-wrap .pa-img-wrap img {
60
+ width: 40px;
61
+ }
62
+
63
+ .error.pa-notice-wrap .pa-text-wrap a {
64
+ margin-right: 0.3em;
65
+ text-transform: uppercase;
66
+ font-weight: 500;
67
+ font-style: normal;
68
+ }
69
+
70
+ .error.pa-notice-wrap .pa-text-wrap a i {
71
+ margin-right: 0.1em;
72
+ margin-top: 0.1em;
73
+ }
74
+
75
+ .error.pa-notice-wrap .pa-text-wrap a:first-of-type {
76
+ background: #0f6aa7
77
+ }
78
+
79
+ .error.pa-black-notice .pa-text-wrap a:first-of-type {
80
+ background: transparent;
81
+ text-transform: none;
82
+ }
83
+
84
+ .error .pa-text-wrap a {
85
+ margin: 0;
86
+ }
87
+
88
+ .pa-notice-wrap .pa-notice-close {
89
+ -webkit-flex-basis: 56%;
90
+ -ms-flex-preferred-size: 56%;
91
+ flex-basis: 56%;
92
+ }
93
+
94
+ .pa-notice-close a:focus {
95
+ outline: none;
96
+ box-shadow: none;
97
+ }
98
+
99
+ .pa-notice-close span {
100
+ float: right;
101
+ text-decoration: none;
102
+ }
103
+
104
+ .error.pa-notice-wrap .pa-text-wrap a:not(:first-of-type) {
105
+ margin-left: 0.3em;
106
  }
admin/assets/fonts/pa-icon.svg CHANGED
@@ -1,11 +1,11 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata>Generated by IcoMoon</metadata>
5
- <defs>
6
- <font id="icomoon" horiz-adv-x="1024">
7
- <font-face units-per-em="1024" ascent="960" descent="-64" />
8
- <missing-glyph horiz-adv-x="1024" />
9
- <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
- <glyph unicode="&#xe900;" glyph-name="pa-admin-icon" d="M918.187 628.907c0-13.653-13.653-27.307-27.307-27.307h-249.173c-13.653 0-30.72 10.24-34.133 23.893l-81.92 256c-3.413 13.653 3.413 23.893 6.827 23.893s17.067-6.827 30.72-17.067l314.027-180.907c13.653-6.827 37.547-27.307 40.96-37.547-3.413-6.827 0-27.307 0-40.96zM501.76 881.493l-81.92-256c-3.413-13.653-20.48-23.893-34.133-23.893h-252.587c-13.653 0-27.307 13.653-27.307 27.307s6.827 47.787 10.24 54.613c6.827 6.827 20.48 20.48 34.133 27.307l314.027 180.907c13.653 6.827 30.72 17.067 37.547 17.067 3.413 0 3.413-13.653 0-27.307zM723.627 103.253l-163.84-98.987c-13.653-6.827-44.373-20.48-51.2-17.067-10.24 3.413-27.307 10.24-40.96 17.067l-167.253 95.573c-13.653 6.827-13.653 20.48 0 30.72l191.147 139.947c13.653 6.827 30.72 6.827 44.373 0l191.147-139.947c10.24-6.827 10.24-20.48-3.413-27.307zM918.187 553.813v-286.72c0-13.653-6.827-47.787-10.24-54.613-6.827-6.827-20.48-17.067-34.133-27.307l-81.92-44.373c-13.653-6.827-27.307-3.413-30.72 10.24l-75.093 228.693c-3.413 13.653 0 34.133 13.653 40.96l197.973 143.36c10.24 10.24 20.48 6.827 20.48-10.24zM337.92 383.147l-75.093-228.693c-3.413-13.653-20.48-20.48-30.72-10.24l-78.507 47.787c-13.653 6.827-37.547 27.307-40.96 37.547s-6.827 27.307-6.827 44.373v286.72c0 13.653 10.24 20.48 20.48 10.24l197.973-143.36c13.653-13.653 17.067-30.72 13.653-44.373z" />
11
  </font></defs></svg>
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="pa-admin-icon" d="M918.187 628.907c0-13.653-13.653-27.307-27.307-27.307h-249.173c-13.653 0-30.72 10.24-34.133 23.893l-81.92 256c-3.413 13.653 3.413 23.893 6.827 23.893s17.067-6.827 30.72-17.067l314.027-180.907c13.653-6.827 37.547-27.307 40.96-37.547-3.413-6.827 0-27.307 0-40.96zM501.76 881.493l-81.92-256c-3.413-13.653-20.48-23.893-34.133-23.893h-252.587c-13.653 0-27.307 13.653-27.307 27.307s6.827 47.787 10.24 54.613c6.827 6.827 20.48 20.48 34.133 27.307l314.027 180.907c13.653 6.827 30.72 17.067 37.547 17.067 3.413 0 3.413-13.653 0-27.307zM723.627 103.253l-163.84-98.987c-13.653-6.827-44.373-20.48-51.2-17.067-10.24 3.413-27.307 10.24-40.96 17.067l-167.253 95.573c-13.653 6.827-13.653 20.48 0 30.72l191.147 139.947c13.653 6.827 30.72 6.827 44.373 0l191.147-139.947c10.24-6.827 10.24-20.48-3.413-27.307zM918.187 553.813v-286.72c0-13.653-6.827-47.787-10.24-54.613-6.827-6.827-20.48-17.067-34.133-27.307l-81.92-44.373c-13.653-6.827-27.307-3.413-30.72 10.24l-75.093 228.693c-3.413 13.653 0 34.133 13.653 40.96l197.973 143.36c10.24 10.24 20.48 6.827 20.48-10.24zM337.92 383.147l-75.093-228.693c-3.413-13.653-20.48-20.48-30.72-10.24l-78.507 47.787c-13.653 6.827-37.547 27.307-40.96 37.547s-6.827 27.307-6.827 44.373v286.72c0 13.653 10.24 20.48 20.48 10.24l197.973-143.36c13.653-13.653 17.067-30.72 13.653-44.373z" />
11
  </font></defs></svg>
admin/assets/fonts/style.css CHANGED
@@ -1,38 +1,38 @@
1
- @font-face {
2
- font-family: 'pa-icon';
3
- src: url('pa-icon.eot?uo4nkm');
4
- src: url('pa-icon.eot?uo4nkm#iefix') format('embedded-opentype'),
5
- url('pa-icon.ttf?uo4nkm') format('truetype'),
6
- url('pa-icon.woff?uo4nkm') format('woff'),
7
- url('pa-icon.svg?uo4nkm#pa-elements') format('svg');
8
- font-weight: normal;
9
- font-style: normal;
10
- }
11
- .toplevel_page_premium-addons > div.wp-menu-image::before {
12
- position: relative;
13
- top: 5px;
14
- content: "\e900";
15
- /* use !important to prevent issues with browser extensions that change fonts */
16
- font-family: 'pa-icon' !important;
17
- speak: none;
18
- font-style: normal;
19
- font-variant: normal;
20
- text-transform: none;
21
- line-height: 1;
22
- /* Better Font Rendering =========== */
23
- -webkit-font-smoothing: antialiased;
24
- -moz-osx-font-smoothing: grayscale;
25
- font-size: 21px;
26
- }
27
- #toplevel_page_premium-addons a[href="admin.php?page=premium-addons-pro"] {
28
- color:#1A7FC2;
29
- }
30
- #toplevel_page_premium-addons a[href="admin.php?page=premium-addons-pro"]:hover {
31
- color:#1A7FC2;
32
- }
33
- #toplevel_page_premium-addons li.current a[href="admin.php?page=premium-addons-pro"] {
34
- color:#1A7FC2;
35
- }
36
- #toplevel_page_premium-addons li.current a[href="admin.php?page=premium-addons-pro"]:hover {
37
- color:#1A7FC2;
38
  }
1
+ @font-face {
2
+ font-family: 'pa-icon';
3
+ src: url('pa-icon.eot?uo4nkm');
4
+ src: url('pa-icon.eot?uo4nkm#iefix') format('embedded-opentype'),
5
+ url('pa-icon.ttf?uo4nkm') format('truetype'),
6
+ url('pa-icon.woff?uo4nkm') format('woff'),
7
+ url('pa-icon.svg?uo4nkm#pa-elements') format('svg');
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ }
11
+ .toplevel_page_premium-addons > div.wp-menu-image::before {
12
+ position: relative;
13
+ top: 5px;
14
+ content: "\e900";
15
+ /* use !important to prevent issues with browser extensions that change fonts */
16
+ font-family: 'pa-icon' !important;
17
+ speak: none;
18
+ font-style: normal;
19
+ font-variant: normal;
20
+ text-transform: none;
21
+ line-height: 1;
22
+ /* Better Font Rendering =========== */
23
+ -webkit-font-smoothing: antialiased;
24
+ -moz-osx-font-smoothing: grayscale;
25
+ font-size: 21px;
26
+ }
27
+ #toplevel_page_premium-addons a[href="admin.php?page=premium-addons-pro"] {
28
+ color:#1A7FC2;
29
+ }
30
+ #toplevel_page_premium-addons a[href="admin.php?page=premium-addons-pro"]:hover {
31
+ color:#1A7FC2;
32
+ }
33
+ #toplevel_page_premium-addons li.current a[href="admin.php?page=premium-addons-pro"] {
34
+ color:#1A7FC2;
35
+ }
36
+ #toplevel_page_premium-addons li.current a[href="admin.php?page=premium-addons-pro"]:hover {
37
+ color:#1A7FC2;
38
  }
admin/assets/js/admin.js CHANGED
@@ -1,134 +1,134 @@
1
- ( function ( $ ) {
2
-
3
- var redirectionLink = " https://premiumaddons.com/pro/?utm_source=wp-menu&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=";
4
- "use strict";
5
-
6
- $(".pa-checkbox").on("click", function() {
7
- if($(this).prop("checked") == true) {
8
- $(".pa-elements-table input").prop("checked", 1);
9
- }else if($(this).prop("checked") == false){
10
- $(".pa-elements-table input").prop("checked", 0);
11
- }
12
- });
13
-
14
- $(".pro-slider").on('click', function(){
15
-
16
- swal({
17
- title: '<span class="pa-swal-head">Get PRO Widgets & Addons<span>',
18
- html: 'Supercharge your Elementor with PRO widgets and addons that you won’t find anywhere else.',
19
- type: 'warning',
20
- showCloseButton: true,
21
- showCancelButton: true,
22
- cancelButtonText: "More Info",
23
- focusConfirm: true
24
- }).then(function(json_data) {}, function(dismiss) {
25
- if (dismiss === 'cancel') {
26
- window.open( redirectionLink + settings.theme, '_blank' );
27
- }
28
- });
29
- });
30
-
31
- $( 'form#pa-settings' ).on( 'submit', function(e) {
32
- e.preventDefault();
33
- $.ajax( {
34
- url: settings.ajaxurl,
35
- type: 'post',
36
- data: {
37
- action: 'pa_save_admin_addons_settings',
38
- security: settings.nonce,
39
- fields: $( 'form#pa-settings' ).serialize(),
40
- },
41
- success: function( response ) {
42
- swal(
43
- 'Settings Saved!',
44
- 'Click OK to continue',
45
- 'success'
46
- );
47
- },
48
- error: function() {
49
- swal(
50
- 'Oops...',
51
- 'Something Wrong!',
52
- );
53
- }
54
- } );
55
-
56
- } );
57
-
58
- $('form#pa-maps').on('submit',function(e){
59
- e.preventDefault();
60
- $.ajax( {
61
- url: settings.ajaxurl,
62
- type: 'post',
63
- data: {
64
- action: 'pa_maps_save_settings',
65
- security: settings.nonce,
66
- fields: $('form#pa-maps').serialize(),
67
- },
68
- success: function (response){
69
- swal(
70
- 'Settings Saved!',
71
- 'Click OK to continue',
72
- 'success'
73
- );
74
- },
75
- error: function(){
76
- swal(
77
- 'Oops...',
78
- 'Something Wrong!',
79
- );
80
- }
81
- });
82
- });
83
-
84
-
85
- $('form#pa-beta-form').on('submit',function(e){
86
- e.preventDefault();
87
- $.ajax( {
88
- url: settings.ajaxurl,
89
- type: 'post',
90
- data: {
91
- action: 'pa_beta_save_settings',
92
- security: settings.nonce,
93
- fields: $('form#pa-beta-form').serialize(),
94
- },
95
- success: function (response){
96
- swal(
97
- 'Settings Saved!',
98
- 'Click OK to continue',
99
- 'success'
100
- );
101
- },
102
- error: function(){
103
- swal(
104
- 'Oops...',
105
- 'Something Wrong!',
106
- );
107
- }
108
- });
109
- });
110
-
111
-
112
-
113
- $( '.pa-rollback-button' ).on( 'click', function( event ) {
114
- event.preventDefault();
115
-
116
- var $this = $( this ),
117
- dialogsManager = new DialogsManager.Instance();
118
-
119
- dialogsManager.createWidget( 'confirm', {
120
- headerMessage: premiumRollBackConfirm.i18n.rollback_to_previous_version,
121
- message: premiumRollBackConfirm.i18n.rollback_confirm,
122
- strings: {
123
- cancel: premiumRollBackConfirm.i18n.cancel,
124
- confirm: premiumRollBackConfirm.i18n.yes,
125
- },
126
- onConfirm: function() {
127
- $this.addClass( 'loading' );
128
-
129
- location.href = $this.attr( 'href' );
130
- }
131
- } ).show();
132
- } );
133
-
134
  } )(jQuery);
1
+ ( function ( $ ) {
2
+
3
+ var redirectionLink = " https://premiumaddons.com/pro/?utm_source=wp-menu&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=";
4
+ "use strict";
5
+
6
+ $(".pa-checkbox").on("click", function() {
7
+ if($(this).prop("checked") == true) {
8
+ $(".pa-elements-table input").prop("checked", 1);
9
+ }else if($(this).prop("checked") == false){
10
+ $(".pa-elements-table input").prop("checked", 0);
11
+ }
12
+ });
13
+
14
+ $(".pro-slider").on('click', function(){
15
+
16
+ swal({
17
+ title: '<span class="pa-swal-head">Get PRO Widgets & Addons<span>',
18
+ html: 'Supercharge your Elementor with PRO widgets and addons that you won’t find anywhere else.',
19
+ type: 'warning',
20
+ showCloseButton: true,
21
+ showCancelButton: true,
22
+ cancelButtonText: "More Info",
23
+ focusConfirm: true
24
+ }).then(function(json_data) {}, function(dismiss) {
25
+ if (dismiss === 'cancel') {
26
+ window.open( redirectionLink + settings.theme, '_blank' );
27
+ }
28
+ });
29
+ });
30
+
31
+ $( 'form#pa-settings' ).on( 'submit', function(e) {
32
+ e.preventDefault();
33
+ $.ajax( {
34
+ url: settings.ajaxurl,
35
+ type: 'post',
36
+ data: {
37
+ action: 'pa_save_admin_addons_settings',
38
+ security: settings.nonce,
39
+ fields: $( 'form#pa-settings' ).serialize(),
40
+ },
41
+ success: function( response ) {
42
+ swal(
43
+ 'Settings Saved!',
44
+ 'Click OK to continue',
45
+ 'success'
46
+ );
47
+ },
48
+ error: function() {
49
+ swal(
50
+ 'Oops...',
51
+ 'Something Wrong!',
52
+ );
53
+ }
54
+ } );
55
+
56
+ } );
57
+
58
+ $('form#pa-maps').on('submit',function(e){
59
+ e.preventDefault();
60
+ $.ajax( {
61
+ url: settings.ajaxurl,
62
+ type: 'post',
63
+ data: {
64
+ action: 'pa_maps_save_settings',
65
+ security: settings.nonce,
66
+ fields: $('form#pa-maps').serialize(),
67
+ },
68
+ success: function (response){
69
+ swal(
70
+ 'Settings Saved!',
71
+ 'Click OK to continue',
72
+ 'success'
73
+ );
74
+ },
75
+ error: function(){
76
+ swal(
77
+ 'Oops...',
78
+ 'Something Wrong!',
79
+ );
80
+ }
81
+ });
82
+ });
83
+
84
+
85
+ $('form#pa-beta-form').on('submit',function(e){
86
+ e.preventDefault();
87
+ $.ajax( {
88
+ url: settings.ajaxurl,
89
+ type: 'post',
90
+ data: {
91
+ action: 'pa_beta_save_settings',
92
+ security: settings.nonce,
93
+ fields: $('form#pa-beta-form').serialize(),
94
+ },
95
+ success: function (response){
96
+ swal(
97
+ 'Settings Saved!',
98
+ 'Click OK to continue',
99
+ 'success'
100
+ );
101
+ },
102
+ error: function(){
103
+ swal(
104
+ 'Oops...',
105
+ 'Something Wrong!',
106
+ );
107
+ }
108
+ });
109
+ });
110
+
111
+
112
+
113
+ $( '.pa-rollback-button' ).on( 'click', function( event ) {
114
+ event.preventDefault();
115
+
116
+ var $this = $( this ),
117
+ dialogsManager = new DialogsManager.Instance();
118
+
119
+ dialogsManager.createWidget( 'confirm', {
120
+ headerMessage: premiumRollBackConfirm.i18n.rollback_to_previous_version,
121
+ message: premiumRollBackConfirm.i18n.rollback_confirm,
122
+ strings: {
123
+ cancel: premiumRollBackConfirm.i18n.cancel,
124
+ confirm: premiumRollBackConfirm.i18n.yes,
125
+ },
126
+ onConfirm: function() {
127
+ $this.addClass( 'loading' );
128
+
129
+ location.href = $this.attr( 'href' );
130
+ }
131
+ } ).show();
132
+ } );
133
+
134
  } )(jQuery);
admin/assets/js/dialog/dialog.js CHANGED
@@ -1,830 +1,830 @@
1
- /*!
2
- * Dialogs Manager v4.2.1
3
- * https://github.com/kobizz/dialogs-manager
4
- *
5
- * Copyright Kobi Zaltzberg
6
- * Released under the MIT license
7
- * https://github.com/kobizz/dialogs-manager/blob/master/LICENSE.txt
8
- */
9
-
10
- (function ($, global) {
11
- 'use strict';
12
-
13
- /*
14
- * Dialog Manager
15
- */
16
- var DialogsManager = {
17
- widgetsTypes: {},
18
- createWidgetType: function (typeName, properties, Parent) {
19
-
20
- if (!Parent) {
21
- Parent = this.Widget;
22
- }
23
-
24
- var WidgetType = function () {
25
-
26
- Parent.apply(this, arguments);
27
- };
28
-
29
- var prototype = WidgetType.prototype = new Parent(typeName);
30
-
31
- prototype.types = prototype.types.concat([typeName]);
32
-
33
- $.extend(prototype, properties);
34
-
35
- prototype.constructor = WidgetType;
36
-
37
- WidgetType.extend = function (typeName, properties) {
38
-
39
- return DialogsManager.createWidgetType(typeName, properties, WidgetType);
40
- };
41
-
42
- return WidgetType;
43
- },
44
- addWidgetType: function (typeName, properties, Parent) {
45
-
46
- if (properties && properties.prototype instanceof this.Widget) {
47
- return this.widgetsTypes[typeName] = properties;
48
- }
49
-
50
- return this.widgetsTypes[typeName] = this.createWidgetType(typeName, properties, Parent);
51
- },
52
- getWidgetType: function (widgetType) {
53
-
54
- return this.widgetsTypes[widgetType];
55
- }
56
- };
57
-
58
- /*
59
- * Dialog Manager instances constructor
60
- */
61
- DialogsManager.Instance = function () {
62
-
63
- var self = this,
64
- elements = {},
65
- settings = {};
66
-
67
- var initElements = function () {
68
-
69
- elements.body = $('body');
70
- };
71
-
72
- var initSettings = function (options) {
73
-
74
- var defaultSettings = {
75
- classPrefix: 'dialog',
76
- effects: {
77
- show: 'fadeIn',
78
- hide: 'fadeOut'
79
- }
80
- };
81
-
82
- $.extend(settings, defaultSettings, options);
83
- };
84
-
85
- this.createWidget = function (widgetType, properties) {
86
-
87
- var WidgetTypeConstructor = DialogsManager.getWidgetType(widgetType),
88
- widget = new WidgetTypeConstructor(widgetType);
89
-
90
- properties = properties || {};
91
-
92
- widget.init(self, properties);
93
-
94
- widget.setMessage(properties.message);
95
-
96
- return widget;
97
- };
98
-
99
- this.getSettings = function (property) {
100
-
101
- if (property) {
102
- return settings[property];
103
- }
104
-
105
- return Object.create(settings);
106
- };
107
-
108
- this.init = function (settings) {
109
-
110
- initSettings(settings);
111
-
112
- initElements();
113
-
114
- return self;
115
- };
116
-
117
- self.init();
118
- };
119
-
120
- /*
121
- * Widget types constructor
122
- */
123
- DialogsManager.Widget = function (widgetName) {
124
-
125
- var self = this,
126
- settings = {},
127
- events = {},
128
- elements = {},
129
- hideTimeOut = 0,
130
- baseClosureMethods = ['refreshPosition'];
131
-
132
- var bindEvents = function () {
133
-
134
- elements.window.on('keyup', onWindowKeyUp);
135
-
136
- if (settings.hide.onOutsideClick) {
137
- elements.window[0].addEventListener('click', hideOnOutsideClick, true);
138
- }
139
-
140
- if (settings.hide.onClick || settings.hide.onBackgroundClick) {
141
- elements.widget.on('click', hideOnClick);
142
- }
143
-
144
- if (settings.position.autoRefresh) {
145
- elements.window.on('resize', self.refreshPosition);
146
- }
147
- };
148
-
149
- var callEffect = function (intent, params) {
150
-
151
- var effect = settings.effects[intent],
152
- $widget = elements.widget;
153
-
154
- if ($.isFunction(effect)) {
155
- effect.apply($widget, params);
156
- }
157
- else {
158
-
159
- if ($widget[effect]) {
160
- $widget[effect].apply($widget, params);
161
- }
162
- else {
163
- throw 'Reference Error: The effect ' + effect + ' not found';
164
- }
165
- }
166
- };
167
-
168
- var ensureClosureMethods = function() {
169
-
170
- var closureMethodsNames = baseClosureMethods.concat(self.getClosureMethods());
171
-
172
- $.each(closureMethodsNames, function () {
173
-
174
- var methodName = this,
175
- oldMethod = self[methodName];
176
-
177
- self[methodName] = function () {
178
-
179
- oldMethod.apply(self, arguments);
180
- };
181
- });
182
- };
183
-
184
- var initElements = function () {
185
-
186
- self.addElement('widget');
187
-
188
- self.addElement('message');
189
-
190
- self.addElement('window', window);
191
-
192
- self.addElement('container', settings.container);
193
-
194
- var id = self.getSettings('id');
195
-
196
- if (id) {
197
- self.setID(id);
198
- }
199
-
200
- var classes = [];
201
-
202
- $.each(self.types, function() {
203
- classes.push(settings.classes.globalPrefix + '-type-' + this);
204
- });
205
-
206
- classes.push(self.getSettings('className'));
207
-
208
- self.getElements('widget').addClass(classes.join(' '));
209
- };
210
-
211
- var initSettings = function (parent, userSettings) {
212
-
213
- var parentSettings = $.extend(true, {}, parent.getSettings());
214
-
215
- settings = {
216
- effects: parentSettings.effects,
217
- classes: {
218
- globalPrefix: parentSettings.classPrefix,
219
- prefix: parentSettings.classPrefix + '-' + widgetName
220
- },
221
- selectors: {
222
- preventClose: '.' + parentSettings.classPrefix + '-prevent-close'
223
- },
224
- container: 'body',
225
- position: {
226
- element: 'widget',
227
- my: 'center',
228
- at: 'center',
229
- of: 'container',
230
- enable: true,
231
- autoRefresh: false
232
- },
233
- hide: {
234
- auto: false,
235
- autoDelay: 5000,
236
- onClick: false,
237
- onOutsideClick: true,
238
- onBackgroundClick: true
239
- }
240
- };
241
-
242
- $.extend(true, settings, self.getDefaultSettings(), userSettings);
243
-
244
- initSettingsEvents();
245
- };
246
-
247
- var initSettingsEvents = function () {
248
-
249
- $.each(settings, function (settingKey) {
250
-
251
- var eventName = settingKey.match(/^on([A-Z].*)/);
252
-
253
- if (!eventName) {
254
- return;
255
- }
256
-
257
- eventName = eventName[1].charAt(0).toLowerCase() + eventName[1].slice(1);
258
-
259
- self.on(eventName, this);
260
- });
261
- };
262
-
263
- var normalizeClassName = function (name) {
264
-
265
- return name.replace(/([a-z])([A-Z])/g, function () {
266
-
267
- return arguments[1] + '-' + arguments[2].toLowerCase();
268
- });
269
- };
270
-
271
- var hideOnClick = function(event) {
272
-
273
- if (settings.hide.onClick) {
274
-
275
- if ($(event.target).closest(settings.selectors.preventClose).length) {
276
- return;
277
- }
278
- } else if (event.target !== this) {
279
- return;
280
- }
281
-
282
- self.hide();
283
- };
284
-
285
- var hideOnOutsideClick = function(event) {
286
- if ($(event.target).closest(elements.widget).length) {
287
- return;
288
- }
289
-
290
- self.hide();
291
- };
292
-
293
- var onWindowKeyUp = function(event) {
294
- var ESC_KEY = 27,
295
- keyCode = event.which;
296
-
297
- if (ESC_KEY === keyCode) {
298
- self.hide();
299
- }
300
- };
301
-
302
- var unbindEvents = function() {
303
-
304
- elements.window.off('keyup', onWindowKeyUp);
305
-
306
- if (settings.hide.onOutsideClick) {
307
- elements.window[0].removeEventListener('click', hideOnOutsideClick, true);
308
- }
309
-
310
- if (settings.hide.onClick || settings.hide.onBackgroundClick) {
311
- elements.widget.off('click', hideOnClick);
312
- }
313
-
314
- if (settings.position.autoRefresh) {
315
- elements.window.off('resize', self.refreshPosition);
316
- }
317
- };
318
-
319
- this.addElement = function (name, element, type) {
320
-
321
- var $newElement = elements[name] = $(element || '<div>'),
322
- normalizedName = normalizeClassName(name),
323
- className = [];
324
-
325
- if (type) {
326
- className.push(settings.classes.globalPrefix + '-' + type);
327
- }
328
-
329
- className.push(settings.classes.globalPrefix + '-' + normalizedName);
330
-
331
- className.push(settings.classes.prefix + '-' + normalizedName);
332
-
333
- $newElement.addClass(className.join(' '));
334
-
335
- return $newElement;
336
- };
337
-
338
- this.getSettings = function (setting) {
339
-
340
- var copy = Object.create(settings);
341
-
342
- if (setting) {
343
- return copy[setting];
344
- }
345
-
346
- return copy;
347
- };
348
-
349
- this.init = function (parent, properties) {
350
-
351
- if (!(parent instanceof DialogsManager.Instance)) {
352
- throw 'The ' + self.widgetName + ' must to be initialized from an instance of DialogsManager.Instance';
353
- }
354
-
355
- ensureClosureMethods();
356
-
357
- self.trigger('init', properties);
358
-
359
- initSettings(parent, properties);
360
-
361
- initElements();
362
-
363
- self.buildWidget();
364
-
365
- if (self.attachEvents) {
366
- self.attachEvents();
367
- }
368
-
369
- self.trigger('ready');
370
-
371
- return self;
372
- };
373
-
374
- this.getElements = function (item) {
375
-
376
- return item ? elements[item] : elements;
377
- };
378
-
379
- this.hide = function () {
380
-
381
- clearTimeout(hideTimeOut);
382
-
383
- callEffect('hide', arguments);
384
-
385
- unbindEvents();
386
-
387
- self.trigger('hide');
388
-
389
- return self;
390
- };
391
-
392
- this.isVisible = function() {
393
-
394
- return elements.widget.is(':visible');
395
- };
396
-
397
- this.on = function (eventName, callback) {
398
-
399
- if ('object' === typeof eventName) {
400
- $.each(eventName, function(singleEventName) {
401
- self.on(singleEventName, this);
402
- });
403
-
404
- return self;
405
- }
406
-
407
- var eventNames = eventName.split(' ');
408
-
409
- eventNames.forEach(function(singleEventName) {
410
- if (! events[singleEventName]) {
411
- events[singleEventName] = [];
412
- }
413
-
414
- events[singleEventName].push(callback);
415
- });
416
-
417
- return self;
418
- };
419
-
420
- this.setMessage = function (message) {
421
-
422
- elements.message.html(message);
423
-
424
- return self;
425
- };
426
-
427
- this.setID = function (id) {
428
-
429
- self.getElements('widget').attr('id', id);
430
-
431
- return self;
432
- };
433
-
434
- this.setSettings = function(key, value) {
435
-
436
- if ('object' === typeof value) {
437
- $.extend(true, settings[key], value);
438
- } else {
439
- settings[key] = value;
440
- }
441
-
442
- return self;
443
- };
444
-
445
- this.show = function () {
446
-
447
- clearTimeout(hideTimeOut);
448
-
449
- elements.widget.appendTo(elements.container).hide();
450
-
451
- callEffect('show', arguments);
452
-
453
- self.refreshPosition();
454
-
455
- if (settings.hide.auto) {
456
- hideTimeOut = setTimeout(self.hide, settings.hide.autoDelay);
457
- }
458
-
459
- bindEvents();
460
-
461
- self.trigger('show');
462
-
463
- return self;
464
- };
465
-
466
- this.refreshPosition = function () {
467
-
468
- if (! settings.position.enable) {
469
- return;
470
- }
471
-
472
- var position = $.extend({}, settings.position);
473
-
474
- if (elements[position.of]) {
475
- position.of = elements[position.of];
476
- }
477
-
478
- elements[position.element].position(position);
479
- };
480
-
481
- this.trigger = function (eventName, params) {
482
-
483
- var methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1);
484
-
485
- if (self[methodName]) {
486
- self[methodName](params);
487
- }
488
-
489
- var callbacks = events[eventName];
490
-
491
- if (!callbacks) {
492
- return;
493
- }
494
-
495
- $.each(callbacks, function (index, callback) {
496
-
497
- callback.call(self, params);
498
- });
499
-
500
- return self;
501
- };
502
-
503
- this.destroy = function() {
504
-
505
- unbindEvents();
506
-
507
- elements.widget.remove();
508
-
509
- self.trigger('destroy');
510
-
511
- return self;
512
- };
513
- };
514
-
515
- DialogsManager.Widget.prototype.types = [];
516
-
517
- // Inheritable widget methods
518
- DialogsManager.Widget.prototype.buildWidget = function () {
519
-
520
- var elements = this.getElements();
521
-
522
- elements.widget.html(elements.message);
523
- };
524
-
525
- DialogsManager.Widget.prototype.getDefaultSettings = function () {
526
-
527
- return {};
528
- };
529
-
530
- DialogsManager.Widget.prototype.getClosureMethods = function() {
531
-
532
- return [];
533
- };
534
-
535
- DialogsManager.Widget.prototype.onHide = function () {
536
- };
537
-
538
- DialogsManager.Widget.prototype.onShow = function () {
539
- };
540
-
541
- DialogsManager.Widget.prototype.onInit = function () {
542
- };
543
-
544
- DialogsManager.Widget.prototype.onReady = function () {
545
- };
546
-
547
- DialogsManager.widgetsTypes.simple = DialogsManager.Widget;
548
-
549
- DialogsManager.addWidgetType('buttons', {
550
- activeKeyUp: function (event) {
551
-
552
- var TAB_KEY = 9;
553
-
554
- if (event.which === TAB_KEY) {
555
- event.preventDefault();
556
- }
557
-
558
- if (this.hotKeys[event.which]) {
559
- this.hotKeys[event.which](this);
560
- }
561
- },
562
- activeKeyDown: function (event) {
563
-
564
- var TAB_KEY = 9;
565
-
566
- if (event.which === TAB_KEY) {
567
- event.preventDefault();
568
-
569
- var currentButtonIndex = this.focusedButton.index(),
570
- nextButtonIndex;
571
-
572
- if (event.shiftKey) {
573
-
574
- nextButtonIndex = currentButtonIndex - 1;
575
-
576
- if (nextButtonIndex < 0) {
577
- nextButtonIndex = this.buttons.length - 1;
578
- }
579
- } else {
580
-
581
- nextButtonIndex = currentButtonIndex + 1;
582
-
583
- if (nextButtonIndex >= this.buttons.length) {
584
- nextButtonIndex = 0;
585
- }
586
- }
587
-
588
- this.focusedButton = this.buttons[nextButtonIndex].focus();
589
- }
590
- },
591
- addButton: function (options) {
592
-
593
- var self = this,
594
- $button = self.addElement(options.name, $('<' + this.getSettings('buttonTag') + '>').text(options.text), 'button');
595
-
596
- self.buttons.push($button);
597
-
598
- var buttonFn = function () {
599
-
600
- if (self.getSettings('hide').onButtonClick) {
601
- self.hide();
602
- }
603
-
604
- if ($.isFunction(options.callback)) {
605
- options.callback.call(this, self);
606
- }
607
- };
608
-
609
- $button.on('click', buttonFn);
610
-
611
- if (options.hotKey) {
612
- this.hotKeys[options.hotKey] = buttonFn;
613
- }
614
-
615
- this.getElements('buttonsWrapper').append($button);
616
-
617
- if (options.focus) {
618
- this.focusedButton = $button;
619
- }
620
-
621
- return self;
622
- },
623
- bindHotKeys: function () {
624
-
625
- this.getElements('window').on({
626
- keyup: this.activeKeyUp,
627
- keydown: this.activeKeyDown
628
- });
629
- },
630
- buildWidget: function () {
631
-
632
- DialogsManager.Widget.prototype.buildWidget.apply(this, arguments);
633
-
634
- var $buttonsWrapper = this.addElement('buttonsWrapper');
635
-
636
- this.getElements('widget').append($buttonsWrapper);
637
- },
638
- getClosureMethods: function () {
639
-
640
- return [
641
- 'activeKeyUp',
642
- 'activeKeyDown'
643
- ];
644
- },
645
- getDefaultSettings: function () {
646
-
647
- return {
648
- hide: {
649
- onButtonClick: true
650
- },
651
- buttonTag: 'button'
652
- };
653
- },
654
- onHide: function () {
655
-
656
- this.unbindHotKeys();
657
- },
658
- onInit: function () {
659
-
660
- this.buttons = [];
661
-
662
- this.hotKeys = {};
663
-
664
- this.focusedButton = null;
665
- },
666
- onShow: function () {
667
-
668
- this.bindHotKeys();
669
-
670
- if (!this.focusedButton) {
671
- this.focusedButton = this.buttons[0];
672
- }
673
-
674
- if (this.focusedButton) {
675
- this.focusedButton.focus();
676
- }
677
- },
678
- unbindHotKeys: function () {
679
-
680
- this.getElements('window').off({
681
- keyup: this.activeKeyUp,
682
- keydown: this.activeKeyDown
683
- });
684
- }
685
- });
686
-
687
- DialogsManager.addWidgetType('lightbox', DialogsManager.getWidgetType('buttons').extend('lightbox', {
688
- getDefaultSettings: function () {
689
-
690
- var settings = DialogsManager.getWidgetType('buttons').prototype.getDefaultSettings.apply(this, arguments);
691
-
692
- return $.extend(true, settings, {
693
- headerMessage: '',
694
- contentWidth: 'auto',
695
- contentHeight: 'auto',
696
- closeButton: false,
697
- closeButtonClass: 'fa fa-times',
698
- position: {
699
- element: 'widgetContent',
700
- of: 'widget',
701
- autoRefresh: true
702
- }
703
- });
704
- },
705
- buildWidget: function () {
706
-
707
- DialogsManager.getWidgetType('buttons').prototype.buildWidget.apply(this, arguments);
708
-
709
- var $widgetHeader = this.addElement('widgetHeader'),
710
- $widgetContent = this.addElement('widgetContent');
711
-
712
- var elements = this.getElements();
713
-
714
- $widgetContent.append($widgetHeader, elements.message, elements.buttonsWrapper);
715
-
716
- elements.widget.html($widgetContent);
717
-
718
- if (! this.getSettings('closeButton')) {
719
- return;
720
- }
721
-
722
- var $closeButton = this.addElement('closeButton', '<div><i class="' + this.getSettings('closeButtonClass') + '"></i></div>');
723
-
724
- $widgetContent.prepend($closeButton);
725
- },
726
- attachEvents: function() {
727
- if (this.getSettings('closeButton')) {
728
- this.getElements('closeButton').on('click', this.hide);
729
- }
730
- },
731
- onReady: function(){
732
-
733
- var elements = this.getElements(),
734
- settings = this.getSettings();
735
-
736
- if ('auto' !== settings.contentWidth) {
737
- elements.message.width(settings.contentWidth);
738
- }
739
-
740
- if ('auto' !== settings.contentHeight) {
741
- elements.message.height(settings.contentHeight);
742
- }
743
-
744
- this.setHeaderMessage(settings.headerMessage);
745
- },
746
- setHeaderMessage: function (message) {
747
-
748
- this.getElements('widgetHeader').html(message);
749
-
750
- return this;
751
- }
752
- }));
753
-
754
- DialogsManager.addWidgetType('confirm', DialogsManager.getWidgetType('lightbox').extend('confirm', {
755
- onReady: function () {
756
-
757
- DialogsManager.getWidgetType('lightbox').prototype.onReady.apply(this, arguments);
758
-
759
- var strings = this.getSettings('strings'),
760
- isDefaultCancel = this.getSettings('defaultOption') === 'cancel';
761
-
762
- this.addButton({
763
- name: 'cancel',
764
- text: strings.cancel,
765
- callback: function (widget) {
766
-
767
- widget.trigger('cancel');
768
- },
769
- focus: isDefaultCancel
770
- });
771
-
772
- this.addButton({
773
- name: 'ok',
774
- text: strings.confirm,
775
- callback: function (widget) {
776
-
777
- widget.trigger('confirm');
778
- },
779
- focus: !isDefaultCancel
780
- });
781
- },
782
- getDefaultSettings: function () {
783
-
784
- var settings = DialogsManager.getWidgetType('lightbox').prototype.getDefaultSettings.apply(this, arguments);
785
-
786
- settings.strings = {
787
- confirm: 'OK',
788
- cancel: 'Cancel'
789
- };
790
-
791
- settings.defaultOption = 'cancel';
792
-
793
- return settings;
794
- }
795
- }));
796
-
797
- DialogsManager.addWidgetType('alert', DialogsManager.getWidgetType('lightbox').extend('alert', {
798
- onReady: function () {
799
-
800
- DialogsManager.getWidgetType('lightbox').prototype.onReady.apply(this, arguments);
801
-
802
- var strings = this.getSettings('strings');
803
-
804
- this.addButton({
805
- name: 'ok',
806
- text: strings.confirm,
807
- callback: function (widget) {
808
-
809
- widget.trigger('confirm');
810
- }
811
- });
812
- },
813
- getDefaultSettings: function () {
814
-
815
- var settings = DialogsManager.getWidgetType('lightbox').prototype.getDefaultSettings.apply(this, arguments);
816
-
817
- settings.strings = {
818
- confirm: 'OK'
819
- };
820
-
821
- return settings;
822
- }
823
- }));
824
-
825
- // Exporting the DialogsManager variable to global
826
- global.DialogsManager = DialogsManager;
827
- })(
828
- typeof jQuery !== 'undefined' ? jQuery : typeof require === 'function' && require('jquery'),
829
- typeof module !== 'undefined' ? module.exports : window
830
- );
1
+ /*!
2
+ * Dialogs Manager v4.2.1
3
+ * https://github.com/kobizz/dialogs-manager
4
+ *
5
+ * Copyright Kobi Zaltzberg
6
+ * Released under the MIT license
7
+ * https://github.com/kobizz/dialogs-manager/blob/master/LICENSE.txt
8
+ */
9
+
10
+ (function ($, global) {
11
+ 'use strict';
12
+
13
+ /*
14
+ * Dialog Manager
15
+ */
16
+ var DialogsManager = {
17
+ widgetsTypes: {},
18
+ createWidgetType: function (typeName, properties, Parent) {
19
+
20
+ if (!Parent) {
21
+ Parent = this.Widget;
22
+ }
23
+
24
+ var WidgetType = function () {
25
+
26
+ Parent.apply(this, arguments);
27
+ };
28
+
29
+ var prototype = WidgetType.prototype = new Parent(typeName);
30
+
31
+ prototype.types = prototype.types.concat([typeName]);
32
+
33
+ $.extend(prototype, properties);
34
+
35
+ prototype.constructor = WidgetType;
36
+
37
+ WidgetType.extend = function (typeName, properties) {
38
+
39
+ return DialogsManager.createWidgetType(typeName, properties, WidgetType);
40
+ };
41
+
42
+ return WidgetType;
43
+ },
44
+ addWidgetType: function (typeName, properties, Parent) {
45
+
46
+ if (properties && properties.prototype instanceof this.Widget) {
47
+ return this.widgetsTypes[typeName] = properties;
48
+ }
49
+
50
+ return this.widgetsTypes[typeName] = this.createWidgetType(typeName, properties, Parent);
51
+ },
52
+ getWidgetType: function (widgetType) {
53
+
54
+ return this.widgetsTypes[widgetType];
55
+ }
56
+ };
57
+
58
+ /*
59
+ * Dialog Manager instances constructor
60
+ */
61
+ DialogsManager.Instance = function () {
62
+
63
+ var self = this,
64
+ elements = {},
65
+ settings = {};
66
+
67
+ var initElements = function () {
68
+
69
+ elements.body = $('body');
70
+ };
71
+
72
+ var initSettings = function (options) {
73
+
74
+ var defaultSettings = {
75
+ classPrefix: 'dialog',
76
+ effects: {
77
+ show: 'fadeIn',
78
+ hide: 'fadeOut'
79
+ }
80
+ };
81
+
82
+ $.extend(settings, defaultSettings, options);
83
+ };
84
+
85
+ this.createWidget = function (widgetType, properties) {
86
+
87
+ var WidgetTypeConstructor = DialogsManager.getWidgetType(widgetType),
88
+ widget = new WidgetTypeConstructor(widgetType);
89
+
90
+ properties = properties || {};
91
+
92
+ widget.init(self, properties);
93
+
94
+ widget.setMessage(properties.message);
95
+
96
+ return widget;
97
+ };
98
+
99
+ this.getSettings = function (property) {
100
+
101
+ if (property) {
102
+ return settings[property];
103
+ }
104
+
105
+ return Object.create(settings);
106
+ };
107
+
108
+ this.init = function (settings) {
109
+
110
+ initSettings(settings);
111
+
112
+ initElements();
113
+
114
+ return self;
115
+ };
116
+
117
+ self.init();
118
+ };
119
+
120
+ /*
121
+ * Widget types constructor
122
+ */
123
+ DialogsManager.Widget = function (widgetName) {
124
+
125
+ var self = this,
126
+ settings = {},
127
+ events = {},
128
+ elements = {},
129
+ hideTimeOut = 0,
130
+ baseClosureMethods = ['refreshPosition'];
131
+
132
+ var bindEvents = function () {
133
+
134
+ elements.window.on('keyup', onWindowKeyUp);
135
+
136
+ if (settings.hide.onOutsideClick) {
137
+ elements.window[0].addEventListener('click', hideOnOutsideClick, true);
138
+ }
139
+
140
+ if (settings.hide.onClick || settings.hide.onBackgroundClick) {
141
+ elements.widget.on('click', hideOnClick);
142
+ }
143
+
144
+ if (settings.position.autoRefresh) {
145
+ elements.window.on('resize', self.refreshPosition);
146
+ }
147
+ };
148
+
149
+ var callEffect = function (intent, params) {
150
+
151
+ var effect = settings.effects[intent],
152
+ $widget = elements.widget;
153
+
154
+ if ($.isFunction(effect)) {
155
+ effect.apply($widget, params);
156
+ }
157
+ else {
158
+
159
+ if ($widget[effect]) {
160
+ $widget[effect].apply($widget, params);
161
+ }
162
+ else {
163
+ throw 'Reference Error: The effect ' + effect + ' not found';
164
+ }
165
+ }
166
+ };
167
+
168
+ var ensureClosureMethods = function() {
169
+
170
+ var closureMethodsNames = baseClosureMethods.concat(self.getClosureMethods());
171
+
172
+ $.each(closureMethodsNames, function () {
173
+
174
+ var methodName = this,
175
+ oldMethod = self[methodName];
176
+
177
+ self[methodName] = function () {
178
+
179
+ oldMethod.apply(self, arguments);
180
+ };
181
+ });
182
+ };
183
+
184
+ var initElements = function () {
185
+
186
+ self.addElement('widget');
187
+
188
+ self.addElement('message');
189
+
190
+ self.addElement('window', window);
191
+
192
+ self.addElement('container', settings.container);
193
+
194
+ var id = self.getSettings('id');
195
+
196
+ if (id) {
197
+ self.setID(id);
198
+ }
199
+
200
+ var classes = [];
201
+
202
+ $.each(self.types, function() {
203
+ classes.push(settings.classes.globalPrefix + '-type-' + this);
204
+ });
205
+
206
+ classes.push(self.getSettings('className'));
207
+
208
+ self.getElements('widget').addClass(classes.join(' '));
209
+ };
210
+
211
+ var initSettings = function (parent, userSettings) {
212
+
213
+ var parentSettings = $.extend(true, {}, parent.getSettings());
214
+
215
+ settings = {
216
+ effects: parentSettings.effects,
217
+ classes: {
218
+ globalPrefix: parentSettings.classPrefix,
219
+ prefix: parentSettings.classPrefix + '-' + widgetName
220
+ },
221
+ selectors: {
222
+ preventClose: '.' + parentSettings.classPrefix + '-prevent-close'
223
+ },
224
+ container: 'body',
225
+ position: {
226
+ element: 'widget',
227
+ my: 'center',
228
+ at: 'center',
229
+ of: 'container',
230
+ enable: true,
231
+ autoRefresh: false
232
+ },
233
+ hide: {
234
+ auto: false,
235
+ autoDelay: 5000,
236
+ onClick: false,
237
+ onOutsideClick: true,
238
+ onBackgroundClick: true
239
+ }
240
+ };
241
+
242
+ $.extend(true, settings, self.getDefaultSettings(), userSettings);
243
+
244
+ initSettingsEvents();
245
+ };
246
+
247
+ var initSettingsEvents = function () {
248
+
249
+ $.each(settings, function (settingKey) {
250
+
251
+ var eventName = settingKey.match(/^on([A-Z].*)/);
252
+
253
+ if (!eventName) {
254
+ return;
255
+ }
256
+
257
+ eventName = eventName[1].charAt(0).toLowerCase() + eventName[1].slice(1);
258
+
259
+ self.on(eventName, this);
260
+ });
261
+ };
262
+
263
+ var normalizeClassName = function (name) {
264
+
265
+ return name.replace(/([a-z])([A-Z])/g, function () {
266
+
267
+ return arguments[1] + '-' + arguments[2].toLowerCase();
268
+ });
269
+ };
270
+
271
+ var hideOnClick = function(event) {
272
+
273
+ if (settings.hide.onClick) {
274
+
275
+ if ($(event.target).closest(settings.selectors.preventClose).length) {
276
+ return;
277
+ }
278
+ } else if (event.target !== this) {
279
+ return;
280
+ }
281
+
282
+ self.hide();
283
+ };
284
+
285
+ var hideOnOutsideClick = function(event) {
286
+ if ($(event.target).closest(elements.widget).length) {
287
+ return;
288
+ }
289
+
290
+ self.hide();
291
+ };
292
+
293
+ var onWindowKeyUp = function(event) {
294
+ var ESC_KEY = 27,
295
+ keyCode = event.which;
296
+
297
+ if (ESC_KEY === keyCode) {
298
+ self.hide();
299
+ }
300
+ };
301
+
302
+ var unbindEvents = function() {
303
+
304
+ elements.window.off('keyup', onWindowKeyUp);
305
+
306
+ if (settings.hide.onOutsideClick) {
307
+ elements.window[0].removeEventListener('click', hideOnOutsideClick, true);
308
+ }
309
+
310
+ if (settings.hide.onClick || settings.hide.onBackgroundClick) {
311
+ elements.widget.off('click', hideOnClick);
312
+ }
313
+
314
+ if (settings.position.autoRefresh) {
315
+ elements.window.off('resize', self.refreshPosition);
316
+ }
317
+ };
318
+
319
+ this.addElement = function (name, element, type) {
320
+
321
+ var $newElement = elements[name] = $(element || '<div>'),
322
+ normalizedName = normalizeClassName(name),
323
+ className = [];
324
+
325
+ if (type) {
326
+ className.push(settings.classes.globalPrefix + '-' + type);
327
+ }
328
+
329
+ className.push(settings.classes.globalPrefix + '-' + normalizedName);
330
+
331
+ className.push(settings.classes.prefix + '-' + normalizedName);
332
+
333
+ $newElement.addClass(className.join(' '));
334
+
335
+ return $newElement;
336
+ };
337
+
338
+ this.getSettings = function (setting) {
339
+
340
+ var copy = Object.create(settings);
341
+
342
+ if (setting) {
343
+ return copy[setting];
344
+ }
345
+
346
+ return copy;
347
+ };
348
+
349
+ this.init = function (parent, properties) {
350
+
351
+ if (!(parent instanceof DialogsManager.Instance)) {
352
+ throw 'The ' + self.widgetName + ' must to be initialized from an instance of DialogsManager.Instance';
353
+ }
354
+
355
+ ensureClosureMethods();
356
+
357
+ self.trigger('init', properties);
358
+
359
+ initSettings(parent, properties);
360
+
361
+ initElements();
362
+
363
+ self.buildWidget();
364
+
365
+ if (self.attachEvents) {
366
+ self.attachEvents();
367
+ }
368
+
369
+ self.trigger('ready');
370
+
371
+ return self;
372
+ };
373
+
374
+ this.getElements = function (item) {
375
+
376
+ return item ? elements[item] : elements;
377
+ };
378
+
379
+ this.hide = function () {
380
+
381
+ clearTimeout(hideTimeOut);
382
+
383
+ callEffect('hide', arguments);
384
+
385
+ unbindEvents();
386
+
387
+ self.trigger('hide');
388
+
389
+ return self;
390
+ };
391
+
392
+ this.isVisible = function() {
393
+
394
+ return elements.widget.is(':visible');
395
+ };
396
+
397
+ this.on = function (eventName, callback) {
398
+
399
+ if ('object' === typeof eventName) {
400
+ $.each(eventName, function(singleEventName) {
401
+ self.on(singleEventName, this);
402
+ });
403
+
404
+ return self;
405
+ }
406
+
407
+ var eventNames = eventName.split(' ');
408
+
409
+ eventNames.forEach(function(singleEventName) {
410
+ if (! events[singleEventName]) {
411
+ events[singleEventName] = [];
412
+ }
413
+
414
+ events[singleEventName].push(callback);
415
+ });
416
+
417
+ return self;
418
+ };
419
+
420
+ this.setMessage = function (message) {
421
+
422
+ elements.message.html(message);
423
+
424
+ return self;
425
+ };
426
+
427
+ this.setID = function (id) {
428
+
429
+ self.getElements('widget').attr('id', id);
430
+
431
+ return self;
432
+ };
433
+
434
+ this.setSettings = function(key, value) {
435
+
436
+ if ('object' === typeof value) {
437
+ $.extend(true, settings[key], value);
438
+ } else {
439
+ settings[key] = value;
440
+ }
441
+
442
+ return self;
443
+ };
444
+
445
+ this.show = function () {
446
+
447
+ clearTimeout(hideTimeOut);
448
+
449
+ elements.widget.appendTo(elements.container).hide();
450
+
451
+ callEffect('show', arguments);
452
+
453
+ self.refreshPosition();
454
+
455
+ if (settings.hide.auto) {
456
+ hideTimeOut = setTimeout(self.hide, settings.hide.autoDelay);
457
+ }
458
+
459
+ bindEvents();
460
+
461
+ self.trigger('show');
462
+
463
+ return self;
464
+ };
465
+
466
+ this.refreshPosition = function () {
467
+
468
+ if (! settings.position.enable) {
469
+ return;
470
+ }
471
+
472
+ var position = $.extend({}, settings.position);
473
+
474
+ if (elements[position.of]) {
475
+ position.of = elements[position.of];
476
+ }
477
+
478
+ elements[position.element].position(position);
479
+ };
480
+
481
+ this.trigger = function (eventName, params) {
482
+
483
+ var methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1);
484
+
485
+ if (self[methodName]) {
486
+ self[methodName](params);
487
+ }
488
+
489
+ var callbacks = events[eventName];
490
+
491
+ if (!callbacks) {
492
+ return;
493
+ }
494
+
495
+ $.each(callbacks, function (index, callback) {
496
+
497
+ callback.call(self, params);
498
+ });
499
+
500
+ return self;
501
+ };
502
+
503
+ this.destroy = function() {
504
+
505
+ unbindEvents();
506
+
507
+ elements.widget.remove();
508
+
509
+ self.trigger('destroy');
510
+
511
+ return self;
512
+ };
513
+ };
514
+
515
+ DialogsManager.Widget.prototype.types = [];
516
+
517
+ // Inheritable widget methods
518
+ DialogsManager.Widget.prototype.buildWidget = function () {
519
+
520
+ var elements = this.getElements();
521
+
522
+ elements.widget.html(elements.message);
523
+ };
524
+
525
+ DialogsManager.Widget.prototype.getDefaultSettings = function () {
526
+
527
+ return {};
528
+ };
529
+
530
+ DialogsManager.Widget.prototype.getClosureMethods = function() {
531
+
532
+ return [];
533
+ };
534
+
535
+ DialogsManager.Widget.prototype.onHide = function () {
536
+ };
537
+
538
+ DialogsManager.Widget.prototype.onShow = function () {
539
+ };
540
+
541
+ DialogsManager.Widget.prototype.onInit = function () {
542
+ };
543
+
544
+ DialogsManager.Widget.prototype.onReady = function () {
545
+ };
546
+
547
+ DialogsManager.widgetsTypes.simple = DialogsManager.Widget;
548
+
549
+ DialogsManager.addWidgetType('buttons', {
550
+ activeKeyUp: function (event) {
551
+
552
+ var TAB_KEY = 9;
553
+
554
+ if (event.which === TAB_KEY) {
555
+ event.preventDefault();
556
+ }
557
+
558
+ if (this.hotKeys[event.which]) {
559
+ this.hotKeys[event.which](this);
560
+ }
561
+ },
562
+ activeKeyDown: function (event) {
563
+
564
+ var TAB_KEY = 9;
565
+
566
+ if (event.which === TAB_KEY) {
567
+ event.preventDefault();
568
+
569
+ var currentButtonIndex = this.focusedButton.index(),
570
+ nextButtonIndex;
571
+
572
+ if (event.shiftKey) {
573
+
574
+ nextButtonIndex = currentButtonIndex - 1;
575
+
576
+ if (nextButtonIndex < 0) {
577
+ nextButtonIndex = this.buttons.length - 1;
578
+ }
579
+ } else {
580
+
581
+ nextButtonIndex = currentButtonIndex + 1;
582
+
583
+ if (nextButtonIndex >= this.buttons.length) {
584
+ nextButtonIndex = 0;
585
+ }
586
+ }
587
+
588
+ this.focusedButton = this.buttons[nextButtonIndex].focus();
589
+ }
590
+ },
591
+ addButton: function (options) {
592
+
593
+ var self = this,
594
+ $button = self.addElement(options.name, $('<' + this.getSettings('buttonTag') + '>').text(options.text), 'button');
595
+
596
+ self.buttons.push($button);
597
+
598
+ var buttonFn = function () {
599
+
600
+ if (self.getSettings('hide').onButtonClick) {
601
+ self.hide();
602
+ }
603
+
604
+ if ($.isFunction(options.callback)) {
605
+ options.callback.call(this, self);
606
+ }
607
+ };
608
+
609
+ $button.on('click', buttonFn);
610
+
611
+ if (options.hotKey) {
612
+ this.hotKeys[options.hotKey] = buttonFn;
613
+ }
614
+
615
+ this.getElements('buttonsWrapper').append($button);
616
+
617
+ if (options.focus) {
618
+ this.focusedButton = $button;
619
+ }
620
+
621
+ return self;
622
+ },
623
+ bindHotKeys: function () {
624
+
625
+ this.getElements('window').on({
626
+ keyup: this.activeKeyUp,
627
+ keydown: this.activeKeyDown
628
+ });
629
+ },
630
+ buildWidget: function () {
631
+
632
+ DialogsManager.Widget.prototype.buildWidget.apply(this, arguments);
633
+
634
+ var $buttonsWrapper = this.addElement('buttonsWrapper');
635
+
636
+ this.getElements('widget').append($buttonsWrapper);
637
+ },
638
+ getClosureMethods: function () {
639
+
640
+ return [
641
+ 'activeKeyUp',
642
+ 'activeKeyDown'
643
+ ];
644
+ },
645
+ getDefaultSettings: function () {
646
+
647
+ return {
648
+ hide: {
649
+ onButtonClick: true
650
+ },
651
+ buttonTag: 'button'
652
+ };
653
+ },
654
+ onHide: function () {
655
+
656
+ this.unbindHotKeys();
657
+ },
658
+ onInit: function () {
659
+
660
+ this.buttons = [];
661
+
662
+ this.hotKeys = {};
663
+
664
+ this.focusedButton = null;
665
+ },
666
+ onShow: function () {
667
+
668
+ this.bindHotKeys();
669
+
670
+ if (!this.focusedButton) {
671
+ this.focusedButton = this.buttons[0];
672
+ }
673
+
674
+ if (this.focusedButton) {
675
+ this.focusedButton.focus();
676
+ }
677
+ },
678
+ unbindHotKeys: function () {
679
+
680
+ this.getElements('window').off({
681
+ keyup: this.activeKeyUp,
682
+ keydown: this.activeKeyDown
683
+ });
684
+ }
685
+ });
686
+
687
+ DialogsManager.addWidgetType('lightbox', DialogsManager.getWidgetType('buttons').extend('lightbox', {
688
+ getDefaultSettings: function () {
689
+
690
+ var settings = DialogsManager.getWidgetType('buttons').prototype.getDefaultSettings.apply(this, arguments);
691
+
692
+ return $.extend(true, settings, {
693
+ headerMessage: '',
694
+ contentWidth: 'auto',
695
+ contentHeight: 'auto',
696
+ closeButton: false,
697
+ closeButtonClass: 'fa fa-times',
698
+ position: {
699
+ element: 'widgetContent',
700
+ of: 'widget',
701
+ autoRefresh: true
702
+ }
703
+ });
704
+ },
705
+ buildWidget: function () {
706
+
707
+ DialogsManager.getWidgetType('buttons').prototype.buildWidget.apply(this, arguments);
708
+
709
+ var $widgetHeader = this.addElement('widgetHeader'),
710
+ $widgetContent = this.addElement('widgetContent');
711
+
712
+ var elements = this.getElements();
713
+
714
+ $widgetContent.append($widgetHeader, elements.message, elements.buttonsWrapper);
715
+
716
+ elements.widget.html($widgetContent);
717
+
718
+ if (! this.getSettings('closeButton')) {
719
+ return;
720
+ }
721
+
722
+ var $closeButton = this.addElement('closeButton', '<div><i class="' + this.getSettings('closeButtonClass') + '"></i></div>');
723
+
724
+ $widgetContent.prepend($closeButton);
725
+ },
726
+ attachEvents: function() {
727
+ if (this.getSettings('closeButton')) {
728
+ this.getElements('closeButton').on('click', this.hide);
729
+ }
730
+ },
731
+ onReady: function(){
732
+
733
+ var elements = this.getElements(),
734
+ settings = this.getSettings();
735
+
736
+ if ('auto' !== settings.contentWidth) {
737
+ elements.message.width(settings.contentWidth);
738
+ }
739
+
740
+ if ('auto' !== settings.contentHeight) {
741
+ elements.message.height(settings.contentHeight);
742
+ }
743
+
744
+ this.setHeaderMessage(settings.headerMessage);
745
+ },
746
+ setHeaderMessage: function (message) {
747
+
748
+ this.getElements('widgetHeader').html(message);
749
+
750
+ return this;
751
+ }
752
+ }));
753
+
754
+ DialogsManager.addWidgetType('confirm', DialogsManager.getWidgetType('lightbox').extend('confirm', {
755
+ onReady: function () {
756
+
757
+ DialogsManager.getWidgetType('lightbox').prototype.onReady.apply(this, arguments);
758
+
759
+ var strings = this.getSettings('strings'),
760
+ isDefaultCancel = this.getSettings('defaultOption') === 'cancel';
761
+
762
+ this.addButton({
763
+ name: 'cancel',
764
+ text: strings.cancel,
765
+ callback: function (widget) {
766
+
767
+ widget.trigger('cancel');
768
+ },
769
+ focus: isDefaultCancel
770
+ });
771
+
772
+ this.addButton({
773
+ name: 'ok',
774
+ text: strings.confirm,
775
+ callback: function (widget) {
776
+
777
+ widget.trigger('confirm');
778
+ },
779
+ focus: !isDefaultCancel
780
+ });
781
+ },
782
+ getDefaultSettings: function () {
783
+
784
+ var settings = DialogsManager.getWidgetType('lightbox').prototype.getDefaultSettings.apply(this, arguments);
785
+
786
+ settings.strings = {
787
+ confirm: 'OK',
788
+ cancel: 'Cancel'
789
+ };
790
+
791
+ settings.defaultOption = 'cancel';
792
+
793
+ return settings;
794
+ }
795
+ }));
796
+
797
+ DialogsManager.addWidgetType('alert', DialogsManager.getWidgetType('lightbox').extend('alert', {
798
+ onReady: function () {
799
+
800
+ DialogsManager.getWidgetType('lightbox').prototype.onReady.apply(this, arguments);
801
+
802
+ var strings = this.getSettings('strings');
803
+
804
+ this.addButton({
805
+ name: 'ok',
806
+ text: strings.confirm,
807
+ callback: function (widget) {
808
+
809
+ widget.trigger('confirm');
810
+ }
811
+ });
812
+ },
813
+ getDefaultSettings: function () {
814
+
815
+ var settings = DialogsManager.getWidgetType('lightbox').prototype.getDefaultSettings.apply(this, arguments);
816
+
817
+ settings.strings = {
818
+ confirm: 'OK'
819
+ };
820
+
821
+ return settings;
822
+ }
823
+ }));
824
+
825
+ // Exporting the DialogsManager variable to global
826
+ global.DialogsManager = DialogsManager;
827
+ })(
828
+ typeof jQuery !== 'undefined' ? jQuery : typeof require === 'function' && require('jquery'),
829
+ typeof module !== 'undefined' ? module.exports : window
830
+ );
admin/assets/js/pa-notice.js CHANGED
@@ -1,53 +1,53 @@
1
- ( function ( $ ) {
2
-
3
- var $noticeWrap = $( ".pa-notice-wrap" ),
4
- notice = $noticeWrap.data('notice');
5
-
6
- if( undefined !== notice ) {
7
-
8
- $noticeWrap.find('.pa-notice-reset').on( "click", function() {
9
-
10
- $noticeWrap.css('display', 'none');
11
-
12
- $.ajax({
13
- url: ajaxurl,
14
- type: 'POST',
15
- data: {
16
- action: 'pa_reset_admin_notice',
17
- notice: $noticeWrap.data( 'notice' )
18
- }
19
- });
20
-
21
-
22
- } );
23
- }
24
-
25
- $(".pa-notice-close").on("click", function() {
26
-
27
- var noticeID = $( this ).data('notice');
28
-
29
- if( noticeID ) {
30
- $( this ).closest('.pa-new-feature-notice').remove();
31
-
32
- $.ajax({
33
- url: ajaxurl,
34
- type: 'POST',
35
- data: {
36
- action: 'pa_dismiss_admin_notice',
37
- notice: noticeID
38
- },
39
- success: function(res) {
40
- console.log(res);
41
- },
42
- error: function(err){
43
- console.log(err);
44
- }
45
- });
46
- }
47
-
48
-
49
-
50
- });
51
-
52
-
53
  } )(jQuery);
1
+ ( function ( $ ) {
2
+
3
+ var $noticeWrap = $( ".pa-notice-wrap" ),
4
+ notice = $noticeWrap.data('notice');
5
+
6
+ if( undefined !== notice ) {
7
+
8
+ $noticeWrap.find('.pa-notice-reset').on( "click", function() {
9
+
10
+ $noticeWrap.css('display', 'none');
11
+
12
+ $.ajax({
13
+ url: ajaxurl,
14
+ type: 'POST',
15
+ data: {
16
+ action: 'pa_reset_admin_notice',
17
+ notice: $noticeWrap.data( 'notice' )
18
+ }
19
+ });
20
+
21
+
22
+ } );
23
+ }
24
+
25
+ $(".pa-notice-close").on("click", function() {
26
+
27
+ var noticeID = $( this ).data('notice');
28
+
29
+ if( noticeID ) {
30
+ $( this ).closest('.pa-new-feature-notice').remove();
31
+
32
+ $.ajax({
33
+ url: ajaxurl,
34
+ type: 'POST',
35
+ data: {
36
+ action: 'pa_dismiss_admin_notice',
37
+ notice: noticeID
38
+ },
39
+ success: function(res) {
40
+ console.log(res);
41
+ },
42
+ error: function(err){
43
+ console.log(err);
44
+ }
45
+ });
46
+ }
47
+
48
+
49
+
50
+ });
51
+
52
+
53
  } )(jQuery);
admin/assets/js/sweetalert2/core.js CHANGED
@@ -1,7613 +1,7613 @@
1
- /**
2
- * core-js 2.4.1
3
- * https://github.com/zloirock/core-js
4
- * License: http://rock.mit-license.org
5
- * © 2016 Denis Pushkarev
6
- */
7
- !function(__e, __g, undefined){
8
- 'use strict';
9
- /******/ (function(modules) { // webpackBootstrap
10
- /******/ // The module cache
11
- /******/ var installedModules = {};
12
-
13
- /******/ // The require function
14
- /******/ function __webpack_require__(moduleId) {
15
-
16
- /******/ // Check if module is in cache
17
- /******/ if(installedModules[moduleId])
18
- /******/ return installedModules[moduleId].exports;
19
-
20
- /******/ // Create a new module (and put it into the cache)
21
- /******/ var module = installedModules[moduleId] = {
22
- /******/ exports: {},
23
- /******/ id: moduleId,
24
- /******/ loaded: false
25
- /******/ };
26
-
27
- /******/ // Execute the module function
28
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
29
-
30
- /******/ // Flag the module as loaded
31
- /******/ module.loaded = true;
32
-
33
- /******/ // Return the exports of the module
34
- /******/ return module.exports;
35
- /******/ }
36
-
37
-
38
- /******/ // expose the modules object (__webpack_modules__)
39
- /******/ __webpack_require__.m = modules;
40
-
41
- /******/ // expose the module cache
42
- /******/ __webpack_require__.c = installedModules;
43
-
44
- /******/ // __webpack_public_path__
45
- /******/ __webpack_require__.p = "";
46
-
47
- /******/ // Load entry module and return exports
48
- /******/ return __webpack_require__(0);
49
- /******/ })
50
- /************************************************************************/
51
- /******/ ([
52
- /* 0 */
53
- /***/ function(module, exports, __webpack_require__) {
54
-
55
- __webpack_require__(1);
56
- __webpack_require__(50);
57
- __webpack_require__(51);
58
- __webpack_require__(52);
59
- __webpack_require__(54);
60
- __webpack_require__(55);
61
- __webpack_require__(58);
62
- __webpack_require__(59);
63
- __webpack_require__(60);
64
- __webpack_require__(61);
65
- __webpack_require__(62);
66
- __webpack_require__(63);
67
- __webpack_require__(64);
68
- __webpack_require__(65);
69
- __webpack_require__(66);
70
- __webpack_require__(68);
71
- __webpack_require__(70);
72
- __webpack_require__(72);
73
- __webpack_require__(74);
74
- __webpack_require__(77);
75
- __webpack_require__(78);
76
- __webpack_require__(79);
77
- __webpack_require__(83);
78
- __webpack_require__(86);
79
- __webpack_require__(87);
80
- __webpack_require__(88);
81
- __webpack_require__(89);
82
- __webpack_require__(91);
83
- __webpack_require__(92);
84
- __webpack_require__(93);
85
- __webpack_require__(94);
86
- __webpack_require__(95);
87
- __webpack_require__(97);
88
- __webpack_require__(99);
89
- __webpack_require__(100);
90
- __webpack_require__(101);
91
- __webpack_require__(103);
92
- __webpack_require__(104);
93
- __webpack_require__(105);
94
- __webpack_require__(107);
95
- __webpack_require__(108);
96
- __webpack_require__(109);
97
- __webpack_require__(111);
98
- __webpack_require__(112);
99
- __webpack_require__(113);
100
- __webpack_require__(114);
101
- __webpack_require__(115);
102
- __webpack_require__(116);
103
- __webpack_require__(117);
104
- __webpack_require__(118);
105
- __webpack_require__(119);
106
- __webpack_require__(120);
107
- __webpack_require__(121);
108
- __webpack_require__(122);
109
- __webpack_require__(123);
110
- __webpack_require__(124);
111
- __webpack_require__(126);
112
- __webpack_require__(130);
113
- __webpack_require__(131);
114
- __webpack_require__(132);
115
- __webpack_require__(133);
116
- __webpack_require__(137);
117
- __webpack_require__(139);
118
- __webpack_require__(140);
119
- __webpack_require__(141);
120
- __webpack_require__(142);
121
- __webpack_require__(143);
122
- __webpack_require__(144);
123
- __webpack_require__(145);
124
- __webpack_require__(146);
125
- __webpack_require__(147);
126
- __webpack_require__(148);
127
- __webpack_require__(149);
128
- __webpack_require__(150);
129
- __webpack_require__(151);
130
- __webpack_require__(152);
131
- __webpack_require__(158);
132
- __webpack_require__(159);
133
- __webpack_require__(161);
134
- __webpack_require__(162);
135
- __webpack_require__(163);
136
- __webpack_require__(167);
137
- __webpack_require__(168);
138
- __webpack_require__(169);
139
- __webpack_require__(170);
140
- __webpack_require__(171);
141
- __webpack_require__(173);
142
- __webpack_require__(174);
143
- __webpack_require__(175);
144
- __webpack_require__(176);
145
- __webpack_require__(179);
146
- __webpack_require__(181);
147
- __webpack_require__(182);
148
- __webpack_require__(183);
149
- __webpack_require__(185);
150
- __webpack_require__(187);
151
- __webpack_require__(189);
152
- __webpack_require__(190);
153
- __webpack_require__(191);
154
- __webpack_require__(193);
155
- __webpack_require__(194);
156
- __webpack_require__(195);
157
- __webpack_require__(196);
158
- __webpack_require__(203);
159
- __webpack_require__(206);
160
- __webpack_require__(207);
161
- __webpack_require__(209);
162
- __webpack_require__(210);
163
- __webpack_require__(211);
164
- __webpack_require__(212);
165
- __webpack_require__(213);
166
- __webpack_require__(214);
167
- __webpack_require__(215);
168
- __webpack_require__(216);
169
- __webpack_require__(217);
170
- __webpack_require__(218);
171
- __webpack_require__(219);
172
- __webpack_require__(220);
173
- __webpack_require__(222);
174
- __webpack_require__(223);
175
- __webpack_require__(224);
176
- __webpack_require__(225);
177
- __webpack_require__(226);
178
- __webpack_require__(227);
179
- __webpack_require__(228);
180
- __webpack_require__(229);
181
- __webpack_require__(231);
182
- __webpack_require__(234);
183
- __webpack_require__(235);
184
- __webpack_require__(237);
185
- __webpack_require__(238);
186
- __webpack_require__(239);
187
- __webpack_require__(240);
188
- __webpack_require__(241);
189
- __webpack_require__(242);
190
- __webpack_require__(243);
191
- __webpack_require__(244);
192
- __webpack_require__(245);
193
- __webpack_require__(246);
194
- __webpack_require__(247);
195
- __webpack_require__(249);
196
- __webpack_require__(250);
197
- __webpack_require__(251);
198
- __webpack_require__(252);
199
- __webpack_require__(253);
200
- __webpack_require__(254);
201
- __webpack_require__(255);
202
- __webpack_require__(256);
203
- __webpack_require__(258);
204
- __webpack_require__(259);
205
- __webpack_require__(261);
206
- __webpack_require__(262);
207
- __webpack_require__(263);
208
- __webpack_require__(264);
209
- __webpack_require__(267);
210
- __webpack_require__(268);
211
- __webpack_require__(269);
212
- __webpack_require__(270);
213
- __webpack_require__(271);
214
- __webpack_require__(272);
215
- __webpack_require__(273);
216
- __webpack_require__(274);
217
- __webpack_require__(276);
218
- __webpack_require__(277);
219
- __webpack_require__(278);
220
- __webpack_require__(279);
221
- __webpack_require__(280);
222
- __webpack_require__(281);
223
- __webpack_require__(282);
224
- __webpack_require__(283);
225
- __webpack_require__(284);
226
- __webpack_require__(285);
227
- __webpack_require__(286);
228
- __webpack_require__(287);
229
- __webpack_require__(288);
230
- __webpack_require__(291);
231
- __webpack_require__(156);
232
- __webpack_require__(293);
233
- __webpack_require__(292);
234
- __webpack_require__(294);
235
- __webpack_require__(295);
236
- __webpack_require__(296);
237
- __webpack_require__(297);
238
- __webpack_require__(298);
239
- __webpack_require__(300);
240
- __webpack_require__(301);
241
- __webpack_require__(302);
242
- __webpack_require__(304);
243
- module.exports = __webpack_require__(305);
244
-
245
-
246
- /***/ },
247
- /* 1 */
248
- /***/ function(module, exports, __webpack_require__) {
249
-
250
- 'use strict';
251
- // ECMAScript 6 symbols shim
252
- var global = __webpack_require__(2)
253
- , has = __webpack_require__(3)
254
- , DESCRIPTORS = __webpack_require__(4)
255
- , $export = __webpack_require__(6)
256
- , redefine = __webpack_require__(16)
257
- , META = __webpack_require__(20).KEY
258
- , $fails = __webpack_require__(5)
259
- , shared = __webpack_require__(21)
260
- , setToStringTag = __webpack_require__(22)
261
- , uid = __webpack_require__(17)
262
- , wks = __webpack_require__(23)
263
- , wksExt = __webpack_require__(24)
264
- , wksDefine = __webpack_require__(25)
265
- , keyOf = __webpack_require__(27)
266
- , enumKeys = __webpack_require__(40)
267
- , isArray = __webpack_require__(43)
268
- , anObject = __webpack_require__(10)
269
- , toIObject = __webpack_require__(30)
270
- , toPrimitive = __webpack_require__(14)
271
- , createDesc = __webpack_require__(15)
272
- , _create = __webpack_require__(44)
273
- , gOPNExt = __webpack_require__(47)
274
- , $GOPD = __webpack_require__(49)
275
- , $DP = __webpack_require__(9)
276
- , $keys = __webpack_require__(28)
277
- , gOPD = $GOPD.f
278
- , dP = $DP.f
279
- , gOPN = gOPNExt.f
280
- , $Symbol = global.Symbol
281
- , $JSON = global.JSON
282
- , _stringify = $JSON && $JSON.stringify
283
- , PROTOTYPE = 'prototype'
284
- , HIDDEN = wks('_hidden')
285
- , TO_PRIMITIVE = wks('toPrimitive')
286
- , isEnum = {}.propertyIsEnumerable
287
- , SymbolRegistry = shared('symbol-registry')
288
- , AllSymbols = shared('symbols')
289
- , OPSymbols = shared('op-symbols')
290
- , ObjectProto = Object[PROTOTYPE]
291
- , USE_NATIVE = typeof $Symbol == 'function'
292
- , QObject = global.QObject;
293
- // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
294
- var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
295
-
296
- // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
297
- var setSymbolDesc = DESCRIPTORS && $fails(function(){
298
- return _create(dP({}, 'a', {
299
- get: function(){ return dP(this, 'a', {value: 7}).a; }
300
- })).a != 7;
301
- }) ? function(it, key, D){
302
- var protoDesc = gOPD(ObjectProto, key);
303
- if(protoDesc)delete ObjectProto[key];
304
- dP(it, key, D);
305
- if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);
306
- } : dP;
307
-
308
- var wrap = function(tag){
309
- var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
310
- sym._k = tag;
311
- return sym;
312
- };
313
-
314
- var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){
315
- return typeof it == 'symbol';
316
- } : function(it){
317
- return it instanceof $Symbol;
318
- };
319
-
320
- var $defineProperty = function defineProperty(it, key, D){
321
- if(it === ObjectProto)$defineProperty(OPSymbols, key, D);
322
- anObject(it);
323
- key = toPrimitive(key, true);
324
- anObject(D);
325
- if(has(AllSymbols, key)){
326
- if(!D.enumerable){
327
- if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));
328
- it[HIDDEN][key] = true;
329
- } else {
330
- if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;
331
- D = _create(D, {enumerable: createDesc(0, false)});
332
- } return setSymbolDesc(it, key, D);
333
- } return dP(it, key, D);
334
- };
335
- var $defineProperties = function defineProperties(it, P){
336
- anObject(it);
337
- var keys = enumKeys(P = toIObject(P))
338
- , i = 0
339
- , l = keys.length
340
- , key;
341
- while(l > i)$defineProperty(it, key = keys[i++], P[key]);
342
- return it;
343
- };
344
- var $create = function create(it, P){
345
- return P === undefined ? _create(it) : $defineProperties(_create(it), P);
346
- };
347
- var $propertyIsEnumerable = function propertyIsEnumerable(key){
348
- var E = isEnum.call(this, key = toPrimitive(key, true));
349
- if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;
350
- return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
351
- };
352
- var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){
353
- it = toIObject(it);
354
- key = toPrimitive(key, true);
355
- if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;
356
- var D = gOPD(it, key);
357
- if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;
358
- return D;
359
- };
360
- var $getOwnPropertyNames = function getOwnPropertyNames(it){
361
- var names = gOPN(toIObject(it))
362
- , result = []
363
- , i = 0
364
- , key;
365
- while(names.length > i){
366
- if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);
367
- } return result;
368
- };
369
- var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
370
- var IS_OP = it === ObjectProto
371
- , names = gOPN(IS_OP ? OPSymbols : toIObject(it))
372
- , result = []
373
- , i = 0
374
- , key;
375
- while(names.length > i){
376
- if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);
377
- } return result;
378
- };
379
-
380
- // 19.4.1.1 Symbol([description])
381
- if(!USE_NATIVE){
382
- $Symbol = function Symbol(){
383
- if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');
384
- var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
385
- var $set = function(value){
386
- if(this === ObjectProto)$set.call(OPSymbols, value);
387
- if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;
388
- setSymbolDesc(this, tag, createDesc(1, value));
389
- };
390
- if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});
391
- return wrap(tag);
392
- };
393
- redefine($Symbol[PROTOTYPE], 'toString', function toString(){
394
- return this._k;
395
- });
396
-
397
- $GOPD.f = $getOwnPropertyDescriptor;
398
- $DP.f = $defineProperty;
399
- __webpack_require__(48).f = gOPNExt.f = $getOwnPropertyNames;
400
- __webpack_require__(42).f = $propertyIsEnumerable;
401
- __webpack_require__(41).f = $getOwnPropertySymbols;
402
-
403
- if(DESCRIPTORS && !__webpack_require__(26)){
404
- redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
405
- }
406
-
407
- wksExt.f = function(name){
408
- return wrap(wks(name));
409
- }
410
- }
411
-
412
- $export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});
413
-
414
- for(var symbols = (
415
- // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
416
- 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
417
- ).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);
418
-
419
- for(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);
420
-
421
- $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
422
- // 19.4.2.1 Symbol.for(key)
423
- 'for': function(key){
424
- return has(SymbolRegistry, key += '')
425
- ? SymbolRegistry[key]
426
- : SymbolRegistry[key] = $Symbol(key);
427
- },
428
- // 19.4.2.5 Symbol.keyFor(sym)
429
- keyFor: function keyFor(key){
430
- if(isSymbol(key))return keyOf(SymbolRegistry, key);
431
- throw TypeError(key + ' is not a symbol!');
432
- },
433
- useSetter: function(){ setter = true; },
434
- useSimple: function(){ setter = false; }
435
- });
436
-
437
- $export($export.S + $export.F * !USE_NATIVE, 'Object', {
438
- // 19.1.2.2 Object.create(O [, Properties])
439
- create: $create,
440
- // 19.1.2.4 Object.defineProperty(O, P, Attributes)
441
- defineProperty: $defineProperty,
442
- // 19.1.2.3 Object.defineProperties(O, Properties)
443
- defineProperties: $defineProperties,
444
- // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
445
- getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
446
- // 19.1.2.7 Object.getOwnPropertyNames(O)
447
- getOwnPropertyNames: $getOwnPropertyNames,
448
- // 19.1.2.8 Object.getOwnPropertySymbols(O)
449
- getOwnPropertySymbols: $getOwnPropertySymbols
450
- });
451
-
452
- // 24.3.2 JSON.stringify(value [, replacer [, space]])
453
- $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){
454
- var S = $Symbol();
455
- // MS Edge converts symbol values to JSON as {}
456
- // WebKit converts symbol values to JSON as null
457
- // V8 throws on boxed symbols
458
- return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';
459
- })), 'JSON', {
460
- stringify: function stringify(it){
461
- if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined
462
- var args = [it]
463
- , i = 1
464
- , replacer, $replacer;
465
- while(arguments.length > i)args.push(arguments[i++]);
466
- replacer = args[1];
467
- if(typeof replacer == 'function')$replacer = replacer;
468
- if($replacer || !isArray(replacer))replacer = function(key, value){
469
- if($replacer)value = $replacer.call(this, key, value);
470
- if(!isSymbol(value))return value;
471
- };
472
- args[1] = replacer;
473
- return _stringify.apply($JSON, args);
474
- }
475
- });
476
-
477
- // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
478
- $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(8)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
479
- // 19.4.3.5 Symbol.prototype[@@toStringTag]
480
- setToStringTag($Symbol, 'Symbol');
481
- // 20.2.1.9 Math[@@toStringTag]
482
- setToStringTag(Math, 'Math', true);
483
- // 24.3.3 JSON[@@toStringTag]
484
- setToStringTag(global.JSON, 'JSON', true);
485
-
486
- /***/ },
487
- /* 2 */
488
- /***/ function(module, exports) {
489
-
490
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
491
- var global = module.exports = typeof window != 'undefined' && window.Math == Math
492
- ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
493
- if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
494
-
495
- /***/ },
496
- /* 3 */
497
- /***/ function(module, exports) {
498
-
499
- var hasOwnProperty = {}.hasOwnProperty;
500
- module.exports = function(it, key){
501
- return hasOwnProperty.call(it, key);
502
- };
503
-
504
- /***/ },
505
- /* 4 */
506
- /***/ function(module, exports, __webpack_require__) {
507
-
508
- // Thank's IE8 for his funny defineProperty
509
- module.exports = !__webpack_require__(5)(function(){
510
- return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
511
- });
512
-
513
- /***/ },
514
- /* 5 */
515
- /***/ function(module, exports) {
516
-
517
- module.exports = function(exec){
518
- try {
519
- return !!exec();
520
- } catch(e){
521
- return true;
522
- }
523
- };
524
-
525
- /***/ },
526
- /* 6 */
527
- /***/ function(module, exports, __webpack_require__) {
528
-
529
- var global = __webpack_require__(2)
530
- , core = __webpack_require__(7)
531
- , hide = __webpack_require__(8)
532
- , redefine = __webpack_require__(16)
533
- , ctx = __webpack_require__(18)
534
- , PROTOTYPE = 'prototype';
535
-
536
- var $export = function(type, name, source){
537
- var IS_FORCED = type & $export.F
538
- , IS_GLOBAL = type & $export.G
539
- , IS_STATIC = type & $export.S
540
- , IS_PROTO = type & $export.P
541
- , IS_BIND = type & $export.B
542
- , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]
543
- , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
544
- , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})
545
- , key, own, out, exp;
546
- if(IS_GLOBAL)source = name;
547
- for(key in source){
548
- // contains in native
549
- own = !IS_FORCED && target && target[key] !== undefined;
550
- // export native or passed
551
- out = (own ? target : source)[key];
552
- // bind timers to global for call from export context
553
- exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
554
- // extend global
555
- if(target)redefine(target, key, out, type & $export.U);
556
- // export
557
- if(exports[key] != out)hide(exports, key, exp);
558
- if(IS_PROTO && expProto[key] != out)expProto[key] = out;
559
- }
560
- };
561
- global.core = core;
562
- // type bitmap
563
- $export.F = 1; // forced
564
- $export.G = 2; // global
565
- $export.S = 4; // static
566
- $export.P = 8; // proto
567
- $export.B = 16; // bind
568
- $export.W = 32; // wrap
569
- $export.U = 64; // safe
570
- $export.R = 128; // real proto method for `library`
571
- module.exports = $export;
572
-
573
- /***/ },
574
- /* 7 */
575
- /***/ function(module, exports) {
576
-
577
- var core = module.exports = {version: '2.4.0'};
578
- if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
579
-
580
- /***/ },
581
- /* 8 */
582
- /***/ function(module, exports, __webpack_require__) {
583
-
584
- var dP = __webpack_require__(9)
585
- , createDesc = __webpack_require__(15);
586
- module.exports = __webpack_require__(4) ? function(object, key, value){
587
- return dP.f(object, key, createDesc(1, value));
588
- } : function(object, key, value){
589
- object[key] = value;
590
- return object;
591
- };
592
-
593
- /***/ },
594
- /* 9 */
595
- /***/ function(module, exports, __webpack_require__) {
596
-
597
- var anObject = __webpack_require__(10)
598
- , IE8_DOM_DEFINE = __webpack_require__(12)
599
- , toPrimitive = __webpack_require__(14)
600
- , dP = Object.defineProperty;
601
-
602
- exports.f = __webpack_require__(4) ? Object.defineProperty : function defineProperty(O, P, Attributes){
603
- anObject(O);
604
- P = toPrimitive(P, true);
605
- anObject(Attributes);
606
- if(IE8_DOM_DEFINE)try {
607
- return dP(O, P, Attributes);
608
- } catch(e){ /* empty */ }
609
- if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
610
- if('value' in Attributes)O[P] = Attributes.value;
611
- return O;
612
- };
613
-
614
- /***/ },
615
- /* 10 */
616
- /***/ function(module, exports, __webpack_require__) {
617
-
618
- var isObject = __webpack_require__(11);
619
- module.exports = function(it){
620
- if(!isObject(it))throw TypeError(it + ' is not an object!');
621
- return it;
622
- };
623
-
624
- /***/ },
625
- /* 11 */
626
- /***/ function(module, exports) {
627
-
628
- module.exports = function(it){
629
- return typeof it === 'object' ? it !== null : typeof it === 'function';
630
- };
631
-
632
- /***/ },
633
- /* 12 */
634
- /***/ function(module, exports, __webpack_require__) {
635
-
636
- module.exports = !__webpack_require__(4) && !__webpack_require__(5)(function(){
637
- return Object.defineProperty(__webpack_require__(13)('div'), 'a', {get: function(){ return 7; }}).a != 7;
638
- });
639
-
640
- /***/ },
641
- /* 13 */
642
- /***/ function(module, exports, __webpack_require__) {
643
-
644
- var isObject = __webpack_require__(11)
645
- , document = __webpack_require__(2).document
646
- // in old IE typeof document.createElement is 'object'
647
- , is = isObject(document) && isObject(document.createElement);
648
- module.exports = function(it){
649
- return is ? document.createElement(it) : {};
650
- };
651
-
652
- /***/ },
653
- /* 14 */
654
- /***/ function(module, exports, __webpack_require__) {
655
-
656
- // 7.1.1 ToPrimitive(input [, PreferredType])
657
- var isObject = __webpack_require__(11);
658
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
659
- // and the second argument - flag - preferred type is a string
660
- module.exports = function(it, S){
661
- if(!isObject(it))return it;
662
- var fn, val;
663
- if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
664
- if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;
665
- if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
666
- throw TypeError("Can't convert object to primitive value");
667
- };
668
-
669
- /***/ },
670
- /* 15 */
671
- /***/ function(module, exports) {
672
-
673
- module.exports = function(bitmap, value){
674
- return {
675
- enumerable : !(bitmap & 1),
676
- configurable: !(bitmap & 2),
677
- writable : !(bitmap & 4),
678
- value : value
679
- };
680
- };
681
-
682
- /***/ },
683
- /* 16 */
684
- /***/ function(module, exports, __webpack_require__) {
685
-
686
- var global = __webpack_require__(2)
687
- , hide = __webpack_require__(8)
688
- , has = __webpack_require__(3)
689
- , SRC = __webpack_require__(17)('src')
690
- , TO_STRING = 'toString'
691
- , $toString = Function[TO_STRING]
692
- , TPL = ('' + $toString).split(TO_STRING);
693
-
694
- __webpack_require__(7).inspectSource = function(it){
695
- return $toString.call(it);
696
- };
697
-
698
- (module.exports = function(O, key, val, safe){
699
- var isFunction = typeof val == 'function';
700
- if(isFunction)has(val, 'name') || hide(val, 'name', key);
701
- if(O[key] === val)return;
702
- if(isFunction)has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
703
- if(O === global){
704
- O[key] = val;
705
- } else {
706
- if(!safe){
707
- delete O[key];
708
- hide(O, key, val);
709
- } else {
710
- if(O[key])O[key] = val;
711
- else hide(O, key, val);
712
- }
713
- }
714
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
715
- })(Function.prototype, TO_STRING, function toString(){
716
- return typeof this == 'function' && this[SRC] || $toString.call(this);
717
- });
718
-
719
- /***/ },
720
- /* 17 */
721
- /***/ function(module, exports) {
722
-
723
- var id = 0
724
- , px = Math.random();
725
- module.exports = function(key){
726
- return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
727
- };
728
-
729
- /***/ },
730
- /* 18 */
731
- /***/ function(module, exports, __webpack_require__) {
732
-
733
- // optional / simple context binding
734
- var aFunction = __webpack_require__(19);
735
- module.exports = function(fn, that, length){
736
- aFunction(fn);
737
- if(that === undefined)return fn;
738
- switch(length){
739
- case 1: return function(a){
740
- return fn.call(that, a);
741
- };
742
- case 2: return function(a, b){
743
- return fn.call(that, a, b);
744
- };
745
- case 3: return function(a, b, c){
746
- return fn.call(that, a, b, c);
747
- };
748
- }
749
- return function(/* ...args */){
750
- return fn.apply(that, arguments);
751
- };
752
- };
753
-
754
- /***/ },
755
- /* 19 */
756
- /***/ function(module, exports) {
757
-
758
- module.exports = function(it){
759
- if(typeof it != 'function')throw TypeError(it + ' is not a function!');
760
- return it;
761
- };
762
-
763
- /***/ },
764
- /* 20 */
765
- /***/ function(module, exports, __webpack_require__) {
766
-
767
- var META = __webpack_require__(17)('meta')
768
- , isObject = __webpack_require__(11)
769
- , has = __webpack_require__(3)
770
- , setDesc = __webpack_require__(9).f
771
- , id = 0;
772
- var isExtensible = Object.isExtensible || function(){
773
- return true;
774
- };
775
- var FREEZE = !__webpack_require__(5)(function(){
776
- return isExtensible(Object.preventExtensions({}));
777
- });
778
- var setMeta = function(it){
779
- setDesc(it, META, {value: {
780
- i: 'O' + ++id, // object ID
781
- w: {} // weak collections IDs
782
- }});
783
- };
784
- var fastKey = function(it, create){
785
- // return primitive with prefix
786
- if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
787
- if(!has(it, META)){
788
- // can't set metadata to uncaught frozen object
789
- if(!isExtensible(it))return 'F';
790
- // not necessary to add metadata
791
- if(!create)return 'E';
792
- // add missing metadata
793
- setMeta(it);
794
- // return object ID
795
- } return it[META].i;
796
- };
797
- var getWeak = function(it, create){
798
- if(!has(it, META)){
799
- // can't set metadata to uncaught frozen object
800
- if(!isExtensible(it))return true;
801
- // not necessary to add metadata
802
- if(!create)return false;
803
- // add missing metadata
804
- setMeta(it);
805
- // return hash weak collections IDs
806
- } return it[META].w;
807
- };
808
- // add metadata on freeze-family methods calling
809
- var onFreeze = function(it){
810
- if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);
811
- return it;
812
- };
813
- var meta = module.exports = {
814
- KEY: META,
815
- NEED: false,
816
- fastKey: fastKey,
817
- getWeak: getWeak,
818
- onFreeze: onFreeze
819
- };
820
-
821
- /***/ },
822
- /* 21 */
823
- /***/ function(module, exports, __webpack_require__) {
824
-
825
- var global = __webpack_require__(2)
826
- , SHARED = '__core-js_shared__'
827
- , store = global[SHARED] || (global[SHARED] = {});
828
- module.exports = function(key){
829
- return store[key] || (store[key] = {});
830
- };
831
-
832
- /***/ },
833
- /* 22 */
834
- /***/ function(module, exports, __webpack_require__) {
835
-
836
- var def = __webpack_require__(9).f
837
- , has = __webpack_require__(3)
838
- , TAG = __webpack_require__(23)('toStringTag');
839
-
840
- module.exports = function(it, tag, stat){
841
- if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
842
- };
843
-
844
- /***/ },
845
- /* 23 */
846
- /***/ function(module, exports, __webpack_require__) {
847
-
848
- var store = __webpack_require__(21)('wks')
849
- , uid = __webpack_require__(17)
850
- , Symbol = __webpack_require__(2).Symbol
851
- , USE_SYMBOL = typeof Symbol == 'function';
852
-
853
- var $exports = module.exports = function(name){
854
- return store[name] || (store[name] =
855
- USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
856
- };
857
-
858
- $exports.store = store;
859
-
860
- /***/ },
861
- /* 24 */
862
- /***/ function(module, exports, __webpack_require__) {
863
-
864
- exports.f = __webpack_require__(23);
865
-
866
- /***/ },
867
- /* 25 */
868
- /***/ function(module, exports, __webpack_require__) {
869
-
870
- var global = __webpack_require__(2)
871
- , core = __webpack_require__(7)
872
- , LIBRARY = __webpack_require__(26)
873
- , wksExt = __webpack_require__(24)
874
- , defineProperty = __webpack_require__(9).f;
875
- module.exports = function(name){
876
- var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
877
- if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});
878
- };
879
-
880
- /***/ },
881
- /* 26 */
882
- /***/ function(module, exports) {
883
-
884
- module.exports = false;
885
-
886
- /***/ },
887
- /* 27 */
888
- /***/ function(module, exports, __webpack_require__) {
889
-
890
- var getKeys = __webpack_require__(28)
891
- , toIObject = __webpack_require__(30);
892
- module.exports = function(object, el){
893
- var O = toIObject(object)
894
- , keys = getKeys(O)
895
- , length = keys.length
896
- , index = 0
897
- , key;
898
- while(length > index)if(O[key = keys[index++]] === el)return key;
899
- };
900
-
901
- /***/ },
902
- /* 28 */
903
- /***/ function(module, exports, __webpack_require__) {
904
-
905
- // 19.1.2.14 / 15.2.3.14 Object.keys(O)
906
- var $keys = __webpack_require__(29)
907
- , enumBugKeys = __webpack_require__(39);
908
-
909
- module.exports = Object.keys || function keys(O){
910
- return $keys(O, enumBugKeys);
911
- };
912
-
913
- /***/ },
914
- /* 29 */
915
- /***/ function(module, exports, __webpack_require__) {
916
-
917
- var has = __webpack_require__(3)
918
- , toIObject = __webpack_require__(30)
919
- , arrayIndexOf = __webpack_require__(34)(false)
920
- , IE_PROTO = __webpack_require__(38)('IE_PROTO');
921
-
922
- module.exports = function(object, names){
923
- var O = toIObject(object)
924
- , i = 0
925
- , result = []
926
- , key;
927
- for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
928
- // Don't enum bug & hidden keys
929
- while(names.length > i)if(has(O, key = names[i++])){
930
- ~arrayIndexOf(result, key) || result.push(key);
931
- }
932
- return result;
933
- };
934
-
935
- /***/ },
936
- /* 30 */
937
- /***/ function(module, exports, __webpack_require__) {
938
-
939
- // to indexed object, toObject with fallback for non-array-like ES3 strings
940
- var IObject = __webpack_require__(31)
941
- , defined = __webpack_require__(33);
942
- module.exports = function(it){
943
- return IObject(defined(it));
944
- };
945
-
946
- /***/ },
947
- /* 31 */
948
- /***/ function(module, exports, __webpack_require__) {
949
-
950
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
951
- var cof = __webpack_require__(32);
952
- module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
953
- return cof(it) == 'String' ? it.split('') : Object(it);
954
- };
955
-
956
- /***/ },
957
- /* 32 */
958
- /***/ function(module, exports) {
959
-
960
- var toString = {}.toString;
961
-
962
- module.exports = function(it){
963
- return toString.call(it).slice(8, -1);
964
- };
965
-
966
- /***/ },
967
- /* 33 */
968
- /***/ function(module, exports) {
969
-
970
- // 7.2.1 RequireObjectCoercible(argument)
971
- module.exports = function(it){
972
- if(it == undefined)throw TypeError("Can't call method on " + it);
973
- return it;
974
- };
975
-
976
- /***/ },
977
- /* 34 */
978
- /***/ function(module, exports, __webpack_require__) {
979
-
980
- // false -> Array#indexOf
981
- // true -> Array#includes
982
- var toIObject = __webpack_require__(30)
983
- , toLength = __webpack_require__(35)
984
- , toIndex = __webpack_require__(37);
985
- module.exports = function(IS_INCLUDES){
986
- return function($this, el, fromIndex){
987
- var O = toIObject($this)
988
- , length = toLength(O.length)
989
- , index = toIndex(fromIndex, length)
990
- , value;
991
- // Array#includes uses SameValueZero equality algorithm
992
- if(IS_INCLUDES && el != el)while(length > index){
993
- value = O[index++];
994
- if(value != value)return true;
995
- // Array#toIndex ignores holes, Array#includes - not
996
- } else for(;length > index; index++)if(IS_INCLUDES || index in O){
997
- if(O[index] === el)return IS_INCLUDES || index || 0;
998
- } return !IS_INCLUDES && -1;
999
- };
1000
- };
1001
-
1002
- /***/ },
1003
- /* 35 */
1004
- /***/ function(module, exports, __webpack_require__) {
1005
-
1006
- // 7.1.15 ToLength
1007
- var toInteger = __webpack_require__(36)
1008
- , min = Math.min;
1009
- module.exports = function(it){
1010
- return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1011
- };
1012
-
1013
- /***/ },
1014
- /* 36 */
1015
- /***/ function(module, exports) {
1016
-
1017
- // 7.1.4 ToInteger
1018
- var ceil = Math.ceil
1019
- , floor = Math.floor;
1020
- module.exports = function(it){
1021
- return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1022
- };
1023
-
1024
- /***/ },
1025
- /* 37 */
1026
- /***/ function(module, exports, __webpack_require__) {
1027
-
1028
- var toInteger = __webpack_require__(36)
1029
- , max = Math.max
1030
- , min = Math.min;
1031
- module.exports = function(index, length){
1032
- index = toInteger(index);
1033
- return index < 0 ? max(index + length, 0) : min(index, length);
1034
- };
1035
-
1036
- /***/ },
1037
- /* 38 */
1038
- /***/ function(module, exports, __webpack_require__) {
1039
-
1040
- var shared = __webpack_require__(21)('keys')
1041
- , uid = __webpack_require__(17);
1042
- module.exports = function(key){
1043
- return shared[key] || (shared[key] = uid(key));
1044
- };
1045
-
1046
- /***/ },
1047
- /* 39 */
1048
- /***/ function(module, exports) {
1049
-
1050
- // IE 8- don't enum bug keys
1051
- module.exports = (
1052
- 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
1053
- ).split(',');
1054
-
1055
- /***/ },
1056
- /* 40 */
1057
- /***/ function(module, exports, __webpack_require__) {
1058
-
1059
- // all enumerable object keys, includes symbols
1060
- var getKeys = __webpack_require__(28)
1061
- , gOPS = __webpack_require__(41)
1062
- , pIE = __webpack_require__(42);
1063
- module.exports = function(it){
1064
- var result = getKeys(it)
1065
- , getSymbols = gOPS.f;
1066
- if(getSymbols){
1067
- var symbols = getSymbols(it)
1068
- , isEnum = pIE.f
1069
- , i = 0
1070
- , key;
1071
- while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);
1072
- } return result;
1073
- };
1074
-
1075
- /***/ },
1076
- /* 41 */
1077
- /***/ function(module, exports) {
1078
-
1079
- exports.f = Object.getOwnPropertySymbols;
1080
-
1081
- /***/ },
1082
- /* 42 */
1083
- /***/ function(module, exports) {
1084
-
1085
- exports.f = {}.propertyIsEnumerable;
1086
-
1087
- /***/ },
1088
- /* 43 */
1089
- /***/ function(module, exports, __webpack_require__) {
1090
-
1091
- // 7.2.2 IsArray(argument)
1092
- var cof = __webpack_require__(32);
1093
- module.exports = Array.isArray || function isArray(arg){
1094
- return cof(arg) == 'Array';
1095
- };
1096
-
1097
- /***/ },
1098
- /* 44 */
1099
- /***/ function(module, exports, __webpack_require__) {
1100
-
1101
- // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
1102
- var anObject = __webpack_require__(10)
1103
- , dPs = __webpack_require__(45)
1104
- , enumBugKeys = __webpack_require__(39)
1105
- , IE_PROTO = __webpack_require__(38)('IE_PROTO')
1106
- , Empty = function(){ /* empty */ }
1107
- , PROTOTYPE = 'prototype';
1108
-
1109
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1110
- var createDict = function(){
1111
- // Thrash, waste and sodomy: IE GC bug
1112
- var iframe = __webpack_require__(13)('iframe')
1113
- , i = enumBugKeys.length
1114
- , lt = '<'
1115
- , gt = '>'
1116
- , iframeDocument;
1117
- iframe.style.display = 'none';
1118
- __webpack_require__(46).appendChild(iframe);
1119
- iframe.src = 'javascript:'; // eslint-disable-line no-script-url
1120
- // createDict = iframe.contentWindow.Object;
1121
- // html.removeChild(iframe);
1122
- iframeDocument = iframe.contentWindow.document;
1123
- iframeDocument.open();
1124
- iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
1125
- iframeDocument.close();
1126
- createDict = iframeDocument.F;
1127
- while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];
1128
- return createDict();
1129
- };
1130
-
1131
- module.exports = Object.create || function create(O, Properties){
1132
- var result;
1133
- if(O !== null){
1134
- Empty[PROTOTYPE] = anObject(O);
1135
- result = new Empty;
1136
- Empty[PROTOTYPE] = null;
1137
- // add "__proto__" for Object.getPrototypeOf polyfill
1138
- result[IE_PROTO] = O;
1139
- } else result = createDict();
1140
- return Properties === undefined ? result : dPs(result, Properties);
1141
- };
1142
-
1143
-
1144
- /***/ },
1145
- /* 45 */
1146
- /***/ function(module, exports, __webpack_require__) {
1147
-
1148
- var dP = __webpack_require__(9)
1149
- , anObject = __webpack_require__(10)
1150
- , getKeys = __webpack_require__(28);
1151
-
1152
- module.exports = __webpack_require__(4) ? Object.defineProperties : function defineProperties(O, Properties){
1153
- anObject(O);
1154
- var keys = getKeys(Properties)
1155
- , length = keys.length
1156
- , i = 0
1157
- , P;
1158
- while(length > i)dP.f(O, P = keys[i++], Properties[P]);
1159
- return O;
1160
- };
1161
-
1162
- /***/ },
1163
- /* 46 */
1164
- /***/ function(module, exports, __webpack_require__) {
1165
-
1166
- module.exports = __webpack_require__(2).document && document.documentElement;
1167
-
1168
- /***/ },
1169
- /* 47 */
1170
- /***/ function(module, exports, __webpack_require__) {
1171
-
1172
- // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
1173
- var toIObject = __webpack_require__(30)
1174
- , gOPN = __webpack_require__(48).f
1175
- , toString = {}.toString;
1176
-
1177
- var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
1178
- ? Object.getOwnPropertyNames(window) : [];
1179
-
1180
- var getWindowNames = function(it){
1181
- try {
1182
- return gOPN(it);
1183
- } catch(e){
1184
- return windowNames.slice();
1185
- }
1186
- };
1187
-
1188
- module.exports.f = function getOwnPropertyNames(it){
1189
- return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
1190
- };
1191
-
1192
-
1193
- /***/ },
1194
- /* 48 */
1195
- /***/ function(module, exports, __webpack_require__) {
1196
-
1197
- // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
1198
- var $keys = __webpack_require__(29)
1199
- , hiddenKeys = __webpack_require__(39).concat('length', 'prototype');
1200
-
1201
- exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){
1202
- return $keys(O, hiddenKeys);
1203
- };
1204
-
1205
- /***/ },
1206
- /* 49 */
1207
- /***/ function(module, exports, __webpack_require__) {
1208
-
1209
- var pIE = __webpack_require__(42)
1210
- , createDesc = __webpack_require__(15)
1211
- , toIObject = __webpack_require__(30)
1212
- , toPrimitive = __webpack_require__(14)
1213
- , has = __webpack_require__(3)
1214
- , IE8_DOM_DEFINE = __webpack_require__(12)
1215
- , gOPD = Object.getOwnPropertyDescriptor;
1216
-
1217
- exports.f = __webpack_require__(4) ? gOPD : function getOwnPropertyDescriptor(O, P){
1218
- O = toIObject(O);
1219
- P = toPrimitive(P, true);
1220
- if(IE8_DOM_DEFINE)try {
1221
- return gOPD(O, P);
1222
- } catch(e){ /* empty */ }
1223
- if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);
1224
- };
1225
-
1226
- /***/ },
1227
- /* 50 */
1228
- /***/ function(module, exports, __webpack_require__) {
1229
-
1230
- var $export = __webpack_require__(6);
1231
- // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
1232
- $export($export.S + $export.F * !__webpack_require__(4), 'Object', {defineProperty: __webpack_require__(9).f});
1233
-
1234
- /***/ },
1235
- /* 51 */
1236
- /***/ function(module, exports, __webpack_require__) {
1237
-
1238
- var $export = __webpack_require__(6);
1239
- // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
1240
- $export($export.S + $export.F * !__webpack_require__(4), 'Object', {defineProperties: __webpack_require__(45)});
1241
-
1242
- /***/ },
1243
- /* 52 */
1244
- /***/ function(module, exports, __webpack_require__) {
1245
-
1246
- // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
1247
- var toIObject = __webpack_require__(30)
1248
- , $getOwnPropertyDescriptor = __webpack_require__(49).f;
1249
-
1250
- __webpack_require__(53)('getOwnPropertyDescriptor', function(){
1251
- return function getOwnPropertyDescriptor(it, key){
1252
- return $getOwnPropertyDescriptor(toIObject(it), key);
1253
- };
1254
- });
1255
-
1256
- /***/ },
1257
- /* 53 */
1258
- /***/ function(module, exports, __webpack_require__) {
1259
-
1260
- // most Object methods by ES6 should accept primitives
1261
- var $export = __webpack_require__(6)
1262
- , core = __webpack_require__(7)
1263
- , fails = __webpack_require__(5);
1264
- module.exports = function(KEY, exec){
1265
- var fn = (core.Object || {})[KEY] || Object[KEY]
1266
- , exp = {};
1267
- exp[KEY] = exec(fn);
1268
- $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
1269
- };
1270
-
1271
- /***/ },
1272
- /* 54 */
1273
- /***/ function(module, exports, __webpack_require__) {
1274
-
1275
- var $export = __webpack_require__(6)
1276
- // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
1277
- $export($export.S, 'Object', {create: __webpack_require__(44)});
1278
-
1279
- /***/ },
1280
- /* 55 */
1281
- /***/ function(module, exports, __webpack_require__) {
1282
-
1283
- // 19.1.2.9 Object.getPrototypeOf(O)
1284
- var toObject = __webpack_require__(56)
1285
- , $getPrototypeOf = __webpack_require__(57);
1286
-
1287
- __webpack_require__(53)('getPrototypeOf', function(){
1288
- return function getPrototypeOf(it){
1289
- return $getPrototypeOf(toObject(it));
1290
- };
1291
- });
1292
-
1293
- /***/ },
1294
- /* 56 */
1295
- /***/ function(module, exports, __webpack_require__) {
1296
-
1297
- // 7.1.13 ToObject(argument)
1298
- var defined = __webpack_require__(33);
1299
- module.exports = function(it){
1300
- return Object(defined(it));
1301
- };
1302
-
1303
- /***/ },
1304
- /* 57 */
1305
- /***/ function(module, exports, __webpack_require__) {
1306
-
1307
- // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
1308
- var has = __webpack_require__(3)
1309
- , toObject = __webpack_require__(56)
1310
- , IE_PROTO = __webpack_require__(38)('IE_PROTO')
1311
- , ObjectProto = Object.prototype;
1312
-
1313
- module.exports = Object.getPrototypeOf || function(O){
1314
- O = toObject(O);
1315
- if(has(O, IE_PROTO))return O[IE_PROTO];
1316
- if(typeof O.constructor == 'function' && O instanceof O.constructor){
1317
- return O.constructor.prototype;
1318
- } return O instanceof Object ? ObjectProto : null;
1319
- };
1320
-
1321
- /***/ },
1322
- /* 58 */
1323
- /***/ function(module, exports, __webpack_require__) {
1324
-
1325
- // 19.1.2.14 Object.keys(O)
1326
- var toObject = __webpack_require__(56)
1327
- , $keys = __webpack_require__(28);
1328
-
1329
- __webpack_require__(53)('keys', function(){
1330
- return function keys(it){
1331
- return $keys(toObject(it));
1332
- };
1333
- });
1334
-
1335
- /***/ },
1336
- /* 59 */
1337
- /***/ function(module, exports, __webpack_require__) {
1338
-
1339
- // 19.1.2.7 Object.getOwnPropertyNames(O)
1340
- __webpack_require__(53)('getOwnPropertyNames', function(){
1341
- return __webpack_require__(47).f;
1342
- });
1343
-
1344
- /***/ },
1345
- /* 60 */
1346
- /***/ function(module, exports, __webpack_require__) {
1347
-
1348
- // 19.1.2.5 Object.freeze(O)
1349
- var isObject = __webpack_require__(11)
1350
- , meta = __webpack_require__(20).onFreeze;
1351
-
1352
- __webpack_require__(53)('freeze', function($freeze){
1353
- return function freeze(it){
1354
- return $freeze && isObject(it) ? $freeze(meta(it)) : it;
1355
- };
1356
- });
1357
-
1358
- /***/ },
1359
- /* 61 */
1360
- /***/ function(module, exports, __webpack_require__) {
1361
-
1362
- // 19.1.2.17 Object.seal(O)
1363
- var isObject = __webpack_require__(11)
1364
- , meta = __webpack_require__(20).onFreeze;
1365
-
1366
- __webpack_require__(53)('seal', function($seal){
1367
- return function seal(it){
1368
- return $seal && isObject(it) ? $seal(meta(it)) : it;
1369
- };
1370
- });
1371
-
1372
- /***/ },
1373
- /* 62 */
1374
- /***/ function(module, exports, __webpack_require__) {
1375
-
1376
- // 19.1.2.15 Object.preventExtensions(O)
1377
- var isObject = __webpack_require__(11)
1378
- , meta = __webpack_require__(20).onFreeze;
1379
-
1380
- __webpack_require__(53)('preventExtensions', function($preventExtensions){
1381
- return function preventExtensions(it){
1382
- return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;
1383
- };
1384
- });
1385
-
1386
- /***/ },
1387
- /* 63 */
1388
- /***/ function(module, exports, __webpack_require__) {
1389
-
1390
- // 19.1.2.12 Object.isFrozen(O)
1391
- var isObject = __webpack_require__(11);
1392
-
1393
- __webpack_require__(53)('isFrozen', function($isFrozen){
1394
- return function isFrozen(it){
1395
- return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
1396
- };
1397
- });
1398
-
1399
- /***/ },
1400
- /* 64 */
1401
- /***/ function(module, exports, __webpack_require__) {
1402
-
1403
- // 19.1.2.13 Object.isSealed(O)
1404
- var isObject = __webpack_require__(11);
1405
-
1406
- __webpack_require__(53)('isSealed', function($isSealed){
1407
- return function isSealed(it){
1408
- return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
1409
- };
1410
- });
1411
-
1412
- /***/ },
1413
- /* 65 */
1414
- /***/ function(module, exports, __webpack_require__) {
1415
-
1416
- // 19.1.2.11 Object.isExtensible(O)
1417
- var isObject = __webpack_require__(11);
1418
-
1419
- __webpack_require__(53)('isExtensible', function($isExtensible){
1420
- return function isExtensible(it){
1421
- return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
1422
- };
1423
- });
1424
-
1425
- /***/ },
1426
- /* 66 */
1427
- /***/ function(module, exports, __webpack_require__) {
1428
-
1429
- // 19.1.3.1 Object.assign(target, source)
1430
- var $export = __webpack_require__(6);
1431
-
1432
- $export($export.S + $export.F, 'Object', {assign: __webpack_require__(67)});
1433
-
1434
- /***/ },
1435
- /* 67 */
1436
- /***/ function(module, exports, __webpack_require__) {
1437
-
1438
- 'use strict';
1439
- // 19.1.2.1 Object.assign(target, source, ...)
1440
- var getKeys = __webpack_require__(28)
1441
- , gOPS = __webpack_require__(41)
1442
- , pIE = __webpack_require__(42)
1443
- , toObject = __webpack_require__(56)
1444
- , IObject = __webpack_require__(31)
1445
- , $assign = Object.assign;
1446
-
1447
- // should work with symbols and should have deterministic property order (V8 bug)
1448
- module.exports = !$assign || __webpack_require__(5)(function(){
1449
- var A = {}
1450
- , B = {}
1451
- , S = Symbol()
1452
- , K = 'abcdefghijklmnopqrst';
1453
- A[S] = 7;
1454
- K.split('').forEach(function(k){ B[k] = k; });
1455
- return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
1456
- }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
1457
- var T = toObject(target)
1458
- , aLen = arguments.length
1459
- , index = 1
1460
- , getSymbols = gOPS.f
1461
- , isEnum = pIE.f;
1462
- while(aLen > index){
1463
- var S = IObject(arguments[index++])
1464
- , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
1465
- , length = keys.length
1466
- , j = 0
1467
- , key;
1468
- while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
1469
- } return T;
1470
- } : $assign;
1471
-
1472
- /***/ },
1473
- /* 68 */
1474
- /***/ function(module, exports, __webpack_require__) {
1475
-
1476
- // 19.1.3.10 Object.is(value1, value2)
1477
- var $export = __webpack_require__(6);
1478
- $export($export.S, 'Object', {is: __webpack_require__(69)});
1479
-
1480
- /***/ },
1481
- /* 69 */
1482
- /***/ function(module, exports) {
1483
-
1484
- // 7.2.9 SameValue(x, y)
1485
- module.exports = Object.is || function is(x, y){
1486
- return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
1487
- };
1488
-
1489
- /***/ },
1490
- /* 70 */
1491
- /***/ function(module, exports, __webpack_require__) {
1492
-
1493
- // 19.1.3.19 Object.setPrototypeOf(O, proto)
1494
- var $export = __webpack_require__(6);
1495
- $export($export.S, 'Object', {setPrototypeOf: __webpack_require__(71).set});
1496
-
1497
- /***/ },
1498
- /* 71 */
1499
- /***/ function(module, exports, __webpack_require__) {
1500
-
1501
- // Works with __proto__ only. Old v8 can't work with null proto objects.
1502
- /* eslint-disable no-proto */
1503
- var isObject = __webpack_require__(11)
1504
- , anObject = __webpack_require__(10);
1505
- var check = function(O, proto){
1506
- anObject(O);
1507
- if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
1508
- };
1509
- module.exports = {
1510
- set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
1511
- function(test, buggy, set){
1512
- try {
1513
- set = __webpack_require__(18)(Function.call, __webpack_require__(49).f(Object.prototype, '__proto__').set, 2);
1514
- set(test, []);
1515
- buggy = !(test instanceof Array);
1516
- } catch(e){ buggy = true; }
1517
- return function setPrototypeOf(O, proto){
1518
- check(O, proto);
1519
- if(buggy)O.__proto__ = proto;
1520
- else set(O, proto);
1521
- return O;
1522
- };
1523
- }({}, false) : undefined),
1524
- check: check
1525
- };
1526
-
1527
- /***/ },
1528
- /* 72 */
1529
- /***/ function(module, exports, __webpack_require__) {
1530
-
1531
- 'use strict';
1532
- // 19.1.3.6 Object.prototype.toString()
1533
- var classof = __webpack_require__(73)
1534
- , test = {};
1535
- test[__webpack_require__(23)('toStringTag')] = 'z';
1536
- if(test + '' != '[object z]'){
1537
- __webpack_require__(16)(Object.prototype, 'toString', function toString(){
1538
- return '[object ' + classof(this) + ']';
1539
- }, true);
1540
- }
1541
-
1542
- /***/ },
1543
- /* 73 */
1544
- /***/ function(module, exports, __webpack_require__) {
1545
-
1546
- // getting tag from 19.1.3.6 Object.prototype.toString()
1547
- var cof = __webpack_require__(32)
1548
- , TAG = __webpack_require__(23)('toStringTag')
1549
- // ES3 wrong here
1550
- , ARG = cof(function(){ return arguments; }()) == 'Arguments';
1551
-
1552
- // fallback for IE11 Script Access Denied error
1553
- var tryGet = function(it, key){
1554
- try {
1555
- return it[key];
1556
- } catch(e){ /* empty */ }
1557
- };
1558
-
1559
- module.exports = function(it){
1560
- var O, T, B;
1561
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1562
- // @@toStringTag case
1563
- : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
1564
- // builtinTag case
1565
- : ARG ? cof(O)
1566
- // ES3 arguments fallback
1567
- : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
1568
- };
1569
-
1570
- /***/ },
1571
- /* 74 */
1572
- /***/ function(module, exports, __webpack_require__) {
1573
-
1574
- // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
1575
- var $export = __webpack_require__(6);
1576
-
1577
- $export($export.P, 'Function', {bind: __webpack_require__(75)});
1578
-
1579
- /***/ },
1580
- /* 75 */
1581
- /***/ function(module, exports, __webpack_require__) {
1582
-
1583
- 'use strict';
1584
- var aFunction = __webpack_require__(19)
1585
- , isObject = __webpack_require__(11)
1586
- , invoke = __webpack_require__(76)
1587
- , arraySlice = [].slice
1588
- , factories = {};
1589
-
1590
- var construct = function(F, len, args){
1591
- if(!(len in factories)){
1592
- for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';
1593
- factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
1594
- } return factories[len](F, args);
1595
- };
1596
-
1597
- module.exports = Function.bind || function bind(that /*, args... */){
1598
- var fn = aFunction(this)
1599
- , partArgs = arraySlice.call(arguments, 1);
1600
- var bound = function(/* args... */){
1601
- var args = partArgs.concat(arraySlice.call(arguments));
1602
- return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
1603
- };
1604
- if(isObject(fn.prototype))bound.prototype = fn.prototype;
1605
- return bound;
1606
- };
1607
-
1608
- /***/ },
1609
- /* 76 */
1610
- /***/ function(module, exports) {
1611
-
1612
- // fast apply, http://jsperf.lnkit.com/fast-apply/5
1613
- module.exports = function(fn, args, that){
1614
- var un = that === undefined;
1615
- switch(args.length){
1616
- case 0: return un ? fn()
1617
- : fn.call(that);
1618
- case 1: return un ? fn(args[0])
1619
- : fn.call(that, args[0]);
1620
- case 2: return un ? fn(args[0], args[1])
1621
- : fn.call(that, args[0], args[1]);
1622
- case 3: return un ? fn(args[0], args[1], args[2])
1623
- : fn.call(that, args[0], args[1], args[2]);
1624
- case 4: return un ? fn(args[0], args[1], args[2], args[3])
1625
- : fn.call(that, args[0], args[1], args[2], args[3]);
1626
- } return fn.apply(that, args);
1627
- };
1628
-
1629
- /***/ },
1630
- /* 77 */
1631
- /***/ function(module, exports, __webpack_require__) {
1632
-
1633
- var dP = __webpack_require__(9).f
1634
- , createDesc = __webpack_require__(15)
1635
- , has = __webpack_require__(3)
1636
- , FProto = Function.prototype
1637
- , nameRE = /^\s*function ([^ (]*)/
1638
- , NAME = 'name';
1639
-
1640
- var isExtensible = Object.isExtensible || function(){
1641
- return true;
1642
- };
1643
-
1644
- // 19.2.4.2 name
1645
- NAME in FProto || __webpack_require__(4) && dP(FProto, NAME, {
1646
- configurable: true,
1647
- get: function(){
1648
- try {
1649
- var that = this
1650
- , name = ('' + that).match(nameRE)[1];
1651
- has(that, NAME) || !isExtensible(that) || dP(that, NAME, createDesc(5, name));
1652
- return name;
1653
- } catch(e){
1654
- return '';
1655
- }
1656
- }
1657
- });
1658
-
1659
- /***/ },
1660
- /* 78 */
1661
- /***/ function(module, exports, __webpack_require__) {
1662
-
1663
- 'use strict';
1664
- var isObject = __webpack_require__(11)
1665
- , getPrototypeOf = __webpack_require__(57)
1666
- , HAS_INSTANCE = __webpack_require__(23)('hasInstance')
1667
- , FunctionProto = Function.prototype;
1668
- // 19.2.3.6 Function.prototype[@@hasInstance](V)
1669
- if(!(HAS_INSTANCE in FunctionProto))__webpack_require__(9).f(FunctionProto, HAS_INSTANCE, {value: function(O){
1670
- if(typeof this != 'function' || !isObject(O))return false;
1671
- if(!isObject(this.prototype))return O instanceof this;
1672
- // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
1673
- while(O = getPrototypeOf(O))if(this.prototype === O)return true;
1674
- return false;
1675
- }});
1676
-
1677
- /***/ },
1678
- /* 79 */
1679
- /***/ function(module, exports, __webpack_require__) {
1680
-
1681
- 'use strict';
1682
- var global = __webpack_require__(2)
1683
- , has = __webpack_require__(3)
1684
- , cof = __webpack_require__(32)
1685
- , inheritIfRequired = __webpack_require__(80)
1686
- , toPrimitive = __webpack_require__(14)
1687
- , fails = __webpack_require__(5)
1688
- , gOPN = __webpack_require__(48).f
1689
- , gOPD = __webpack_require__(49).f
1690
- , dP = __webpack_require__(9).f
1691
- , $trim = __webpack_require__(81).trim
1692
- , NUMBER = 'Number'
1693
- , $Number = global[NUMBER]
1694
- , Base = $Number
1695
- , proto = $Number.prototype
1696
- // Opera ~12 has broken Object#toString
1697
- , BROKEN_COF = cof(__webpack_require__(44)(proto)) == NUMBER
1698
- , TRIM = 'trim' in String.prototype;
1699
-
1700
- // 7.1.3 ToNumber(argument)
1701
- var toNumber = function(argument){
1702
- var it = toPrimitive(argument, false);
1703
- if(typeof it == 'string' && it.length > 2){
1704
- it = TRIM ? it.trim() : $trim(it, 3);
1705
- var first = it.charCodeAt(0)
1706
- , third, radix, maxCode;
1707
- if(first === 43 || first === 45){
1708
- third = it.charCodeAt(2);
1709
- if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix
1710
- } else if(first === 48){
1711
- switch(it.charCodeAt(1)){
1712
- case 66 : case 98 : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
1713
- case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
1714
- default : return +it;
1715
- }
1716
- for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){
1717
- code = digits.charCodeAt(i);
1718
- // parseInt parses a string to a first unavailable symbol
1719
- // but ToNumber should return NaN if a string contains unavailable symbols
1720
- if(code < 48 || code > maxCode)return NaN;
1721
- } return parseInt(digits, radix);
1722
- }
1723
- } return +it;
1724
- };
1725
-
1726
- if(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){
1727
- $Number = function Number(value){
1728
- var it = arguments.length < 1 ? 0 : value
1729
- , that = this;
1730
- return that instanceof $Number
1731
- // check on 1..constructor(foo) case
1732
- && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)
1733
- ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
1734
- };
1735
- for(var keys = __webpack_require__(4) ? gOPN(Base) : (
1736
- // ES3:
1737
- 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
1738
- // ES6 (in case, if modules with ES6 Number statics required before):
1739
- 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
1740
- 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
1741
- ).split(','), j = 0, key; keys.length > j; j++){
1742
- if(has(Base, key = keys[j]) && !has($Number, key)){
1743
- dP($Number, key, gOPD(Base, key));
1744
- }
1745
- }
1746
- $Number.prototype = proto;
1747
- proto.constructor = $Number;
1748
- __webpack_require__(16)(global, NUMBER, $Number);
1749
- }
1750
-
1751
- /***/ },
1752
- /* 80 */
1753
- /***/ function(module, exports, __webpack_require__) {
1754
-
1755
- var isObject = __webpack_require__(11)
1756
- , setPrototypeOf = __webpack_require__(71).set;
1757
- module.exports = function(that, target, C){
1758
- var P, S = target.constructor;
1759
- if(S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf){
1760
- setPrototypeOf(that, P);
1761
- } return that;
1762
- };
1763
-
1764
- /***/ },
1765
- /* 81 */
1766
- /***/ function(module, exports, __webpack_require__) {
1767
-
1768
- var $export = __webpack_require__(6)
1769
- , defined = __webpack_require__(33)
1770
- , fails = __webpack_require__(5)
1771
- , spaces = __webpack_require__(82)
1772
- , space = '[' + spaces + ']'
1773
- , non = '\u200b\u0085'
1774
- , ltrim = RegExp('^' + space + space + '*')
1775
- , rtrim = RegExp(space + space + '*$');
1776
-
1777
- var exporter = function(KEY, exec, ALIAS){
1778
- var exp = {};
1779
- var FORCE = fails(function(){
1780
- return !!spaces[KEY]() || non[KEY]() != non;
1781
- });
1782
- var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
1783
- if(ALIAS)exp[ALIAS] = fn;
1784
- $export($export.P + $export.F * FORCE, 'String', exp);
1785
- };
1786
-
1787
- // 1 -> String#trimLeft
1788
- // 2 -> String#trimRight
1789
- // 3 -> String#trim
1790
- var trim = exporter.trim = function(string, TYPE){
1791
- string = String(defined(string));
1792
- if(TYPE & 1)string = string.replace(ltrim, '');
1793
- if(TYPE & 2)string = string.replace(rtrim, '');
1794
- return string;
1795
- };
1796
-
1797
- module.exports = exporter;
1798
-
1799
- /***/ },
1800
- /* 82 */
1801
- /***/ function(module, exports) {
1802
-
1803
- module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
1804
- '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1805
-
1806
- /***/ },
1807
- /* 83 */
1808
- /***/ function(module, exports, __webpack_require__) {
1809
-
1810
- 'use strict';
1811
- var $export = __webpack_require__(6)
1812
- , toInteger = __webpack_require__(36)
1813
- , aNumberValue = __webpack_require__(84)
1814
- , repeat = __webpack_require__(85)
1815
- , $toFixed = 1..toFixed
1816
- , floor = Math.floor
1817
- , data = [0, 0, 0, 0, 0, 0]
1818
- , ERROR = 'Number.toFixed: incorrect invocation!'
1819
- , ZERO = '0';
1820
-
1821
- var multiply = function(n, c){
1822
- var i = -1
1823
- , c2 = c;
1824
- while(++i < 6){
1825
- c2 += n * data[i];
1826
- data[i] = c2 % 1e7;
1827
- c2 = floor(c2 / 1e7);
1828
- }
1829
- };
1830
- var divide = function(n){
1831
- var i = 6
1832
- , c = 0;
1833
- while(--i >= 0){
1834
- c += data[i];
1835
- data[i] = floor(c / n);
1836
- c = (c % n) * 1e7;
1837
- }
1838
- };
1839
- var numToString = function(){
1840
- var i = 6
1841
- , s = '';
1842
- while(--i >= 0){
1843
- if(s !== '' || i === 0 || data[i] !== 0){
1844
- var t = String(data[i]);
1845
- s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;
1846
- }
1847
- } return s;
1848
- };
1849
- var pow = function(x, n, acc){
1850
- return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
1851
- };
1852
- var log = function(x){
1853
- var n = 0
1854
- , x2 = x;
1855
- while(x2 >= 4096){
1856
- n += 12;
1857
- x2 /= 4096;
1858
- }
1859
- while(x2 >= 2){
1860
- n += 1;
1861
- x2 /= 2;
1862
- } return n;
1863
- };
1864
-
1865
- $export($export.P + $export.F * (!!$toFixed && (
1866
- 0.00008.toFixed(3) !== '0.000' ||
1867
- 0.9.toFixed(0) !== '1' ||
1868
- 1.255.toFixed(2) !== '1.25' ||
1869
- 1000000000000000128..toFixed(0) !== '1000000000000000128'
1870
- ) || !__webpack_require__(5)(function(){
1871
- // V8 ~ Android 4.3-
1872
- $toFixed.call({});
1873
- })), 'Number', {
1874
- toFixed: function toFixed(fractionDigits){
1875
- var x = aNumberValue(this, ERROR)
1876
- , f = toInteger(fractionDigits)
1877
- , s = ''
1878
- , m = ZERO
1879
- , e, z, j, k;
1880
- if(f < 0 || f > 20)throw RangeError(ERROR);
1881
- if(x != x)return 'NaN';
1882
- if(x <= -1e21 || x >= 1e21)return String(x);
1883
- if(x < 0){
1884
- s = '-';
1885
- x = -x;
1886
- }
1887
- if(x > 1e-21){
1888
- e = log(x * pow(2, 69, 1)) - 69;
1889
- z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);
1890
- z *= 0x10000000000000;
1891
- e = 52 - e;
1892
- if(e > 0){
1893
- multiply(0, z);
1894
- j = f;
1895
- while(j >= 7){
1896
- multiply(1e7, 0);
1897
- j -= 7;
1898
- }
1899
- multiply(pow(10, j, 1), 0);
1900
- j = e - 1;
1901
- while(j >= 23){
1902
- divide(1 << 23);
1903
- j -= 23;
1904
- }
1905
- divide(1 << j);
1906
- multiply(1, 1);
1907
- divide(2);
1908
- m = numToString();
1909
- } else {
1910
- multiply(0, z);
1911
- multiply(1 << -e, 0);
1912
- m = numToString() + repeat.call(ZERO, f);
1913
- }
1914
- }
1915
- if(f > 0){
1916
- k = m.length;
1917
- m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));
1918
- } else {
1919
- m = s + m;
1920
- } return m;
1921
- }
1922
- });
1923
-
1924
- /***/ },
1925
- /* 84 */
1926
- /***/ function(module, exports, __webpack_require__) {
1927
-
1928
- var cof = __webpack_require__(32);
1929
- module.exports = function(it, msg){
1930
- if(typeof it != 'number' && cof(it) != 'Number')throw TypeError(msg);
1931
- return +it;
1932
- };
1933
-
1934
- /***/ },
1935
- /* 85 */
1936
- /***/ function(module, exports, __webpack_require__) {
1937
-
1938
- 'use strict';
1939
- var toInteger = __webpack_require__(36)
1940
- , defined = __webpack_require__(33);
1941
-
1942
- module.exports = function repeat(count){
1943
- var str = String(defined(this))
1944
- , res = ''
1945
- , n = toInteger(count);
1946
- if(n < 0 || n == Infinity)throw RangeError("Count can't be negative");
1947
- for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;
1948
- return res;
1949
- };
1950
-
1951
- /***/ },
1952
- /* 86 */
1953
- /***/ function(module, exports, __webpack_require__) {
1954
-
1955
- 'use strict';
1956
- var $export = __webpack_require__(6)
1957
- , $fails = __webpack_require__(5)
1958
- , aNumberValue = __webpack_require__(84)
1959
- , $toPrecision = 1..toPrecision;
1960
-
1961
- $export($export.P + $export.F * ($fails(function(){
1962
- // IE7-
1963
- return $toPrecision.call(1, undefined) !== '1';
1964
- }) || !$fails(function(){
1965
- // V8 ~ Android 4.3-
1966
- $toPrecision.call({});
1967
- })), 'Number', {
1968
- toPrecision: function toPrecision(precision){
1969
- var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');
1970
- return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);
1971
- }
1972
- });
1973
-
1974
- /***/ },
1975
- /* 87 */
1976
- /***/ function(module, exports, __webpack_require__) {
1977
-
1978
- // 20.1.2.1 Number.EPSILON
1979
- var $export = __webpack_require__(6);
1980
-
1981
- $export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});
1982
-
1983
- /***/ },
1984
- /* 88 */
1985
- /***/ function(module, exports, __webpack_require__) {
1986
-
1987
- // 20.1.2.2 Number.isFinite(number)
1988
- var $export = __webpack_require__(6)
1989
- , _isFinite = __webpack_require__(2).isFinite;
1990
-
1991
- $export($export.S, 'Number', {
1992
- isFinite: function isFinite(it){
1993
- return typeof it == 'number' && _isFinite(it);
1994
- }
1995
- });
1996
-
1997
- /***/ },
1998
- /* 89 */
1999
- /***/ function(module, exports, __webpack_require__) {
2000
-
2001
- // 20.1.2.3 Number.isInteger(number)
2002
- var $export = __webpack_require__(6);
2003
-
2004
- $export($export.S, 'Number', {isInteger: __webpack_require__(90)});
2005
-
2006
- /***/ },
2007
- /* 90 */
2008
- /***/ function(module, exports, __webpack_require__) {
2009
-
2010
- // 20.1.2.3 Number.isInteger(number)
2011
- var isObject = __webpack_require__(11)
2012
- , floor = Math.floor;
2013
- module.exports = function isInteger(it){
2014
- return !isObject(it) && isFinite(it) && floor(it) === it;
2015
- };
2016
-
2017
- /***/ },
2018
- /* 91 */
2019
- /***/ function(module, exports, __webpack_require__) {
2020
-
2021
- // 20.1.2.4 Number.isNaN(number)
2022
- var $export = __webpack_require__(6);
2023
-
2024
- $export($export.S, 'Number', {
2025
- isNaN: function isNaN(number){
2026
- return number != number;
2027
- }
2028
- });
2029
-
2030
- /***/ },
2031
- /* 92 */
2032
- /***/ function(module, exports, __webpack_require__) {
2033
-
2034
- // 20.1.2.5 Number.isSafeInteger(number)
2035
- var $export = __webpack_require__(6)
2036
- , isInteger = __webpack_require__(90)
2037
- , abs = Math.abs;
2038
-
2039
- $export($export.S, 'Number', {
2040
- isSafeInteger: function isSafeInteger(number){
2041
- return isInteger(number) && abs(number) <= 0x1fffffffffffff;
2042
- }
2043
- });
2044
-
2045
- /***/ },
2046
- /* 93 */
2047
- /***/ function(module, exports, __webpack_require__) {
2048
-
2049
- // 20.1.2.6 Number.MAX_SAFE_INTEGER
2050
- var $export = __webpack_require__(6);
2051
-
2052
- $export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
2053
-
2054
- /***/ },
2055
- /* 94 */
2056
- /***/ function(module, exports, __webpack_require__) {
2057
-
2058
- // 20.1.2.10 Number.MIN_SAFE_INTEGER
2059
- var $export = __webpack_require__(6);
2060
-
2061
- $export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});
2062
-
2063
- /***/ },
2064
- /* 95 */
2065
- /***/ function(module, exports, __webpack_require__) {
2066
-
2067
- var $export = __webpack_require__(6)
2068
- , $parseFloat = __webpack_require__(96);
2069
- // 20.1.2.12 Number.parseFloat(string)
2070
- $export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', {parseFloat: $parseFloat});
2071
-
2072
- /***/ },
2073
- /* 96 */
2074
- /***/ function(module, exports, __webpack_require__) {
2075
-
2076
- var $parseFloat = __webpack_require__(2).parseFloat
2077
- , $trim = __webpack_require__(81).trim;
2078
-
2079
- module.exports = 1 / $parseFloat(__webpack_require__(82) + '-0') !== -Infinity ? function parseFloat(str){
2080
- var string = $trim(String(str), 3)
2081
- , result = $parseFloat(string);
2082
- return result === 0 && string.charAt(0) == '-' ? -0 : result;
2083
- } : $parseFloat;
2084
-
2085
- /***/ },
2086
- /* 97 */
2087
- /***/ function(module, exports, __webpack_require__) {
2088
-
2089
- var $export = __webpack_require__(6)
2090
- , $parseInt = __webpack_require__(98);
2091
- // 20.1.2.13 Number.parseInt(string, radix)
2092
- $export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', {parseInt: $parseInt});
2093
-
2094
- /***/ },
2095
- /* 98 */
2096
- /***/ function(module, exports, __webpack_require__) {
2097
-
2098
- var $parseInt = __webpack_require__(2).parseInt
2099
- , $trim = __webpack_require__(81).trim
2100
- , ws = __webpack_require__(82)
2101
- , hex = /^[\-+]?0[xX]/;
2102
-
2103
- module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix){
2104
- var string = $trim(String(str), 3);
2105
- return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
2106
- } : $parseInt;
2107
-
2108
- /***/ },
2109
- /* 99 */
2110
- /***/ function(module, exports, __webpack_require__) {
2111
-
2112
- var $export = __webpack_require__(6)
2113
- , $parseInt = __webpack_require__(98);
2114
- // 18.2.5 parseInt(string, radix)
2115
- $export($export.G + $export.F * (parseInt != $parseInt), {parseInt: $parseInt});
2116
-
2117
- /***/ },
2118
- /* 100 */
2119
- /***/ function(module, exports, __webpack_require__) {
2120
-
2121
- var $export = __webpack_require__(6)
2122
- , $parseFloat = __webpack_require__(96);
2123
- // 18.2.4 parseFloat(string)
2124
- $export($export.G + $export.F * (parseFloat != $parseFloat), {parseFloat: $parseFloat});
2125
-
2126
- /***/ },
2127
- /* 101 */
2128
- /***/ function(module, exports, __webpack_require__) {
2129
-
2130
- // 20.2.2.3 Math.acosh(x)
2131
- var $export = __webpack_require__(6)
2132
- , log1p = __webpack_require__(102)
2133
- , sqrt = Math.sqrt
2134
- , $acosh = Math.acosh;
2135
-
2136
- $export($export.S + $export.F * !($acosh
2137
- // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
2138
- && Math.floor($acosh(Number.MAX_VALUE)) == 710
2139
- // Tor Browser bug: Math.acosh(Infinity) -> NaN
2140
- && $acosh(Infinity) == Infinity
2141
- ), 'Math', {
2142
- acosh: function acosh(x){
2143
- return (x = +x) < 1 ? NaN : x > 94906265.62425156
2144
- ? Math.log(x) + Math.LN2
2145
- : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
2146
- }
2147
- });
2148
-
2149
- /***/ },
2150
- /* 102 */
2151
- /***/ function(module, exports) {
2152
-
2153
- // 20.2.2.20 Math.log1p(x)
2154
- module.exports = Math.log1p || function log1p(x){
2155
- return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
2156
- };
2157
-
2158
- /***/ },
2159
- /* 103 */
2160
- /***/ function(module, exports, __webpack_require__) {
2161
-
2162
- // 20.2.2.5 Math.asinh(x)
2163
- var $export = __webpack_require__(6)
2164
- , $asinh = Math.asinh;
2165
-
2166
- function asinh(x){
2167
- return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
2168
- }
2169
-
2170
- // Tor Browser bug: Math.asinh(0) -> -0
2171
- $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});
2172
-
2173
- /***/ },
2174
- /* 104 */
2175
- /***/ function(module, exports, __webpack_require__) {
2176
-
2177
- // 20.2.2.7 Math.atanh(x)
2178
- var $export = __webpack_require__(6)
2179
- , $atanh = Math.atanh;
2180
-
2181
- // Tor Browser bug: Math.atanh(-0) -> 0
2182
- $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {
2183
- atanh: function atanh(x){
2184
- return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
2185
- }
2186
- });
2187
-
2188
- /***/ },
2189
- /* 105 */
2190
- /***/ function(module, exports, __webpack_require__) {
2191
-
2192
- // 20.2.2.9 Math.cbrt(x)
2193
- var $export = __webpack_require__(6)
2194
- , sign = __webpack_require__(106);
2195
-
2196
- $export($export.S, 'Math', {
2197
- cbrt: function cbrt(x){
2198
- return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
2199
- }
2200
- });
2201
-
2202
- /***/ },
2203
- /* 106 */
2204
- /***/ function(module, exports) {
2205
-
2206
- // 20.2.2.28 Math.sign(x)
2207
- module.exports = Math.sign || function sign(x){
2208
- return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
2209
- };
2210
-
2211
- /***/ },
2212
- /* 107 */
2213
- /***/ function(module, exports, __webpack_require__) {
2214
-
2215
- // 20.2.2.11 Math.clz32(x)
2216
- var $export = __webpack_require__(6);
2217
-
2218
- $export($export.S, 'Math', {
2219
- clz32: function clz32(x){
2220
- return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
2221
- }
2222
- });
2223
-
2224
- /***/ },
2225
- /* 108 */
2226
- /***/ function(module, exports, __webpack_require__) {
2227
-
2228
- // 20.2.2.12 Math.cosh(x)
2229
- var $export = __webpack_require__(6)
2230
- , exp = Math.exp;
2231
-
2232
- $export($export.S, 'Math', {
2233
- cosh: function cosh(x){
2234
- return (exp(x = +x) + exp(-x)) / 2;
2235
- }
2236
- });
2237
-
2238
- /***/ },
2239
- /* 109 */
2240
- /***/ function(module, exports, __webpack_require__) {
2241
-
2242
- // 20.2.2.14 Math.expm1(x)
2243
- var $export = __webpack_require__(6)
2244
- , $expm1 = __webpack_require__(110);
2245
-
2246
- $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', {expm1: $expm1});
2247
-
2248
- /***/ },
2249
- /* 110 */
2250
- /***/ function(module, exports) {
2251
-
2252
- // 20.2.2.14 Math.expm1(x)
2253
- var $expm1 = Math.expm1;
2254
- module.exports = (!$expm1
2255
- // Old FF bug
2256
- || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
2257
- // Tor Browser bug
2258
- || $expm1(-2e-17) != -2e-17
2259
- ) ? function expm1(x){
2260
- return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
2261
- } : $expm1;
2262
-
2263
- /***/ },
2264
- /* 111 */
2265
- /***/ function(module, exports, __webpack_require__) {
2266
-
2267
- // 20.2.2.16 Math.fround(x)
2268
- var $export = __webpack_require__(6)
2269
- , sign = __webpack_require__(106)
2270
- , pow = Math.pow
2271
- , EPSILON = pow(2, -52)
2272
- , EPSILON32 = pow(2, -23)
2273
- , MAX32 = pow(2, 127) * (2 - EPSILON32)
2274
- , MIN32 = pow(2, -126);
2275
-
2276
- var roundTiesToEven = function(n){
2277
- return n + 1 / EPSILON - 1 / EPSILON;
2278
- };
2279
-
2280
-
2281
- $export($export.S, 'Math', {
2282
- fround: function fround(x){
2283
- var $abs = Math.abs(x)
2284
- , $sign = sign(x)
2285
- , a, result;
2286
- if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
2287
- a = (1 + EPSILON32 / EPSILON) * $abs;
2288
- result = a - (a - $abs);
2289
- if(result > MAX32 || result != result)return $sign * Infinity;
2290
- return $sign * result;
2291
- }
2292
- });
2293
-
2294
- /***/ },
2295
- /* 112 */
2296
- /***/ function(module, exports, __webpack_require__) {
2297
-
2298
- // 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
2299
- var $export = __webpack_require__(6)
2300
- , abs = Math.abs;
2301
-
2302
- $export($export.S, 'Math', {
2303
- hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars
2304
- var sum = 0
2305
- , i = 0
2306
- , aLen = arguments.length
2307
- , larg = 0
2308
- , arg, div;
2309
- while(i < aLen){
2310
- arg = abs(arguments[i++]);
2311
- if(larg < arg){
2312
- div = larg / arg;
2313
- sum = sum * div * div + 1;
2314
- larg = arg;
2315
- } else if(arg > 0){
2316
- div = arg / larg;
2317
- sum += div * div;
2318
- } else sum += arg;
2319
- }
2320
- return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
2321
- }
2322
- });
2323
-
2324
- /***/ },
2325
- /* 113 */
2326
- /***/ function(module, exports, __webpack_require__) {
2327
-
2328
- // 20.2.2.18 Math.imul(x, y)
2329
- var $export = __webpack_require__(6)
2330
- , $imul = Math.imul;
2331
-
2332
- // some WebKit versions fails with big numbers, some has wrong arity
2333
- $export($export.S + $export.F * __webpack_require__(5)(function(){
2334
- return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
2335
- }), 'Math', {
2336
- imul: function imul(x, y){
2337
- var UINT16 = 0xffff
2338
- , xn = +x
2339
- , yn = +y
2340
- , xl = UINT16 & xn
2341
- , yl = UINT16 & yn;
2342
- return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
2343
- }
2344
- });
2345
-
2346
- /***/ },
2347
- /* 114 */
2348
- /***/ function(module, exports, __webpack_require__) {
2349
-
2350
- // 20.2.2.21 Math.log10(x)
2351
- var $export = __webpack_require__(6);
2352
-
2353
- $export($export.S, 'Math', {
2354
- log10: function log10(x){
2355
- return Math.log(x) / Math.LN10;
2356
- }
2357
- });
2358
-
2359
- /***/ },
2360
- /* 115 */
2361
- /***/ function(module, exports, __webpack_require__) {
2362
-
2363
- // 20.2.2.20 Math.log1p(x)
2364
- var $export = __webpack_require__(6);
2365
-
2366
- $export($export.S, 'Math', {log1p: __webpack_require__(102)});
2367
-
2368
- /***/ },
2369
- /* 116 */
2370
- /***/ function(module, exports, __webpack_require__) {
2371
-
2372
- // 20.2.2.22 Math.log2(x)
2373
- var $export = __webpack_require__(6);
2374
-
2375
- $export($export.S, 'Math', {
2376
- log2: function log2(x){
2377
- return Math.log(x) / Math.LN2;
2378
- }
2379
- });
2380
-
2381
- /***/ },
2382
- /* 117 */
2383
- /***/ function(module, exports, __webpack_require__) {
2384
-
2385
- // 20.2.2.28 Math.sign(x)
2386
- var $export = __webpack_require__(6);
2387
-
2388
- $export($export.S, 'Math', {sign: __webpack_require__(106)});
2389
-
2390
- /***/ },
2391
- /* 118 */
2392
- /***/ function(module, exports, __webpack_require__) {
2393
-
2394
- // 20.2.2.30 Math.sinh(x)
2395
- var $export = __webpack_require__(6)
2396
- , expm1 = __webpack_require__(110)
2397
- , exp = Math.exp;
2398
-
2399
- // V8 near Chromium 38 has a problem with very small numbers
2400
- $export($export.S + $export.F * __webpack_require__(5)(function(){
2401
- return !Math.sinh(-2e-17) != -2e-17;
2402
- }), 'Math', {
2403
- sinh: function sinh(x){
2404
- return Math.abs(x = +x) < 1
2405
- ? (expm1(x) - expm1(-x)) / 2
2406
- : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
2407
- }
2408
- });
2409
-
2410
- /***/ },
2411
- /* 119 */
2412
- /***/ function(module, exports, __webpack_require__) {
2413
-
2414
- // 20.2.2.33 Math.tanh(x)
2415
- var $export = __webpack_require__(6)
2416
- , expm1 = __webpack_require__(110)
2417
- , exp = Math.exp;
2418
-
2419
- $export($export.S, 'Math', {
2420
- tanh: function tanh(x){
2421
- var a = expm1(x = +x)
2422
- , b = expm1(-x);
2423
- return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
2424
- }
2425
- });
2426
-
2427
- /***/ },
2428
- /* 120 */
2429
- /***/ function(module, exports, __webpack_require__) {
2430
-
2431
- // 20.2.2.34 Math.trunc(x)
2432
- var $export = __webpack_require__(6);
2433
-
2434
- $export($export.S, 'Math', {
2435
- trunc: function trunc(it){
2436
- return (it > 0 ? Math.floor : Math.ceil)(it);
2437
- }
2438
- });
2439
-
2440
- /***/ },
2441
- /* 121 */
2442
- /***/ function(module, exports, __webpack_require__) {
2443
-
2444
- var $export = __webpack_require__(6)
2445
- , toIndex = __webpack_require__(37)
2446
- , fromCharCode = String.fromCharCode
2447
- , $fromCodePoint = String.fromCodePoint;
2448
-
2449
- // length should be 1, old FF problem
2450
- $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
2451
- // 21.1.2.2 String.fromCodePoint(...codePoints)
2452
- fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars
2453
- var res = []
2454
- , aLen = arguments.length
2455
- , i = 0
2456
- , code;
2457
- while(aLen > i){
2458
- code = +arguments[i++];
2459
- if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');
2460
- res.push(code < 0x10000
2461
- ? fromCharCode(code)
2462
- : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)
2463
- );
2464
- } return res.join('');
2465
- }
2466
- });
2467
-
2468
- /***/ },
2469
- /* 122 */
2470
- /***/ function(module, exports, __webpack_require__) {
2471
-
2472
- var $export = __webpack_require__(6)
2473
- , toIObject = __webpack_require__(30)
2474
- , toLength = __webpack_require__(35);
2475
-
2476
- $export($export.S, 'String', {
2477
- // 21.1.2.4 String.raw(callSite, ...substitutions)
2478
- raw: function raw(callSite){
2479
- var tpl = toIObject(callSite.raw)
2480
- , len = toLength(tpl.length)
2481
- , aLen = arguments.length
2482
- , res = []
2483
- , i = 0;
2484
- while(len > i){
2485
- res.push(String(tpl[i++]));
2486
- if(i < aLen)res.push(String(arguments[i]));
2487
- } return res.join('');
2488
- }
2489
- });
2490
-
2491
- /***/ },
2492
- /* 123 */
2493
- /***/ function(module, exports, __webpack_require__) {
2494
-
2495
- 'use strict';
2496
- // 21.1.3.25 String.prototype.trim()
2497
- __webpack_require__(81)('trim', function($trim){
2498
- return function trim(){
2499
- return $trim(this, 3);
2500
- };
2501
- });
2502
-
2503
- /***/ },
2504
- /* 124 */
2505
- /***/ function(module, exports, __webpack_require__) {
2506
-
2507
- 'use strict';
2508
- var $export = __webpack_require__(6)
2509
- , $at = __webpack_require__(125)(false);
2510
- $export($export.P, 'String', {
2511
- // 21.1.3.3 String.prototype.codePointAt(pos)
2512
- codePointAt: function codePointAt(pos){
2513
- return $at(this, pos);
2514
- }
2515
- });
2516
-
2517
- /***/ },
2518
- /* 125 */
2519
- /***/ function(module, exports, __webpack_require__) {
2520
-
2521
- var toInteger = __webpack_require__(36)
2522
- , defined = __webpack_require__(33);
2523
- // true -> String#at
2524
- // false -> String#codePointAt
2525
- module.exports = function(TO_STRING){
2526
- return function(that, pos){
2527
- var s = String(defined(that))
2528
- , i = toInteger(pos)
2529
- , l = s.length
2530
- , a, b;
2531
- if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
2532
- a = s.charCodeAt(i);
2533
- return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
2534
- ? TO_STRING ? s.charAt(i) : a
2535
- : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
2536
- };
2537
- };
2538
-
2539
- /***/ },
2540
- /* 126 */
2541
- /***/ function(module, exports, __webpack_require__) {
2542
-
2543
- // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
2544
- 'use strict';
2545
- var $export = __webpack_require__(6)
2546
- , toLength = __webpack_require__(35)
2547
- , context = __webpack_require__(127)
2548
- , ENDS_WITH = 'endsWith'
2549
- , $endsWith = ''[ENDS_WITH];
2550
-
2551
- $export($export.P + $export.F * __webpack_require__(129)(ENDS_WITH), 'String', {
2552
- endsWith: function endsWith(searchString /*, endPosition = @length */){
2553
- var that = context(this, searchString, ENDS_WITH)
2554
- , endPosition = arguments.length > 1 ? arguments[1] : undefined
2555
- , len = toLength(that.length)
2556
- , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)
2557
- , search = String(searchString);
2558
- return $endsWith
2559
- ? $endsWith.call(that, search, end)
2560
- : that.slice(end - search.length, end) === search;
2561
- }
2562
- });
2563
-
2564
- /***/ },
2565
- /* 127 */
2566
- /***/ function(module, exports, __webpack_require__) {
2567
-
2568
- // helper for String#{startsWith, endsWith, includes}
2569
- var isRegExp = __webpack_require__(128)
2570
- , defined = __webpack_require__(33);
2571
-
2572
- module.exports = function(that, searchString, NAME){
2573
- if(isRegExp(searchString))throw TypeError('String#' + NAME + " doesn't accept regex!");
2574
- return String(defined(that));
2575
- };
2576
-
2577
- /***/ },
2578
- /* 128 */
2579
- /***/ function(module, exports, __webpack_require__) {
2580
-
2581
- // 7.2.8 IsRegExp(argument)
2582
- var isObject = __webpack_require__(11)
2583
- , cof = __webpack_require__(32)
2584
- , MATCH = __webpack_require__(23)('match');
2585
- module.exports = function(it){
2586
- var isRegExp;
2587
- return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
2588
- };
2589
-
2590
- /***/ },
2591
- /* 129 */
2592
- /***/ function(module, exports, __webpack_require__) {
2593
-
2594
- var MATCH = __webpack_require__(23)('match');
2595
- module.exports = function(KEY){
2596
- var re = /./;
2597
- try {
2598
- '/./'[KEY](re);
2599
- } catch(e){
2600
- try {
2601
- re[MATCH] = false;
2602
- return !'/./'[KEY](re);
2603
- } catch(f){ /* empty */ }
2604
- } return true;
2605
- };
2606
-
2607
- /***/ },
2608
- /* 130 */
2609
- /***/ function(module, exports, __webpack_require__) {
2610
-
2611
- // 21.1.3.7 String.prototype.includes(searchString, position = 0)
2612
- 'use strict';
2613
- var $export = __webpack_require__(6)
2614
- , context = __webpack_require__(127)
2615
- , INCLUDES = 'includes';
2616
-
2617
- $export($export.P + $export.F * __webpack_require__(129)(INCLUDES), 'String', {
2618
- includes: function includes(searchString /*, position = 0 */){
2619
- return !!~context(this, searchString, INCLUDES)
2620
- .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
2621
- }
2622
- });
2623
-
2624
- /***/ },
2625
- /* 131 */
2626
- /***/ function(module, exports, __webpack_require__) {
2627
-
2628
- var $export = __webpack_require__(6);
2629
-
2630
- $export($export.P, 'String', {
2631
- // 21.1.3.13 String.prototype.repeat(count)
2632
- repeat: __webpack_require__(85)
2633
- });
2634
-
2635
- /***/ },
2636
- /* 132 */
2637
- /***/ function(module, exports, __webpack_require__) {
2638
-
2639
- // 21.1.3.18 String.prototype.startsWith(searchString [, position ])
2640
- 'use strict';
2641
- var $export = __webpack_require__(6)
2642
- , toLength = __webpack_require__(35)
2643
- , context = __webpack_require__(127)
2644
- , STARTS_WITH = 'startsWith'
2645
- , $startsWith = ''[STARTS_WITH];
2646
-
2647
- $export($export.P + $export.F * __webpack_require__(129)(STARTS_WITH), 'String', {
2648
- startsWith: function startsWith(searchString /*, position = 0 */){
2649
- var that = context(this, searchString, STARTS_WITH)
2650
- , index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length))
2651
- , search = String(searchString);
2652
- return $startsWith
2653
- ? $startsWith.call(that, search, index)
2654
- : that.slice(index, index + search.length) === search;
2655
- }
2656
- });
2657
-
2658
- /***/ },
2659
- /* 133 */
2660
- /***/ function(module, exports, __webpack_require__) {
2661
-
2662
- 'use strict';
2663
- var $at = __webpack_require__(125)(true);
2664
-
2665
- // 21.1.3.27 String.prototype[@@iterator]()
2666
- __webpack_require__(134)(String, 'String', function(iterated){
2667
- this._t = String(iterated); // target
2668
- this._i = 0; // next index
2669
- // 21.1.5.2.1 %StringIteratorPrototype%.next()
2670
- }, function(){
2671
- var O = this._t
2672
- , index = this._i
2673
- , point;
2674
- if(index >= O.length)return {value: undefined, done: true};
2675
- point = $at(O, index);
2676
- this._i += point.length;
2677
- return {value: point, done: false};
2678
- });
2679
-
2680
- /***/ },
2681
- /* 134 */
2682
- /***/ function(module, exports, __webpack_require__) {
2683
-
2684
- 'use strict';
2685
- var LIBRARY = __webpack_require__(26)
2686
- , $export = __webpack_require__(6)
2687
- , redefine = __webpack_require__(16)
2688
- , hide = __webpack_require__(8)
2689
- , has = __webpack_require__(3)
2690
- , Iterators = __webpack_require__(135)
2691
- , $iterCreate = __webpack_require__(136)
2692
- , setToStringTag = __webpack_require__(22)
2693
- , getPrototypeOf = __webpack_require__(57)
2694
- , ITERATOR = __webpack_require__(23)('iterator')
2695
- , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
2696
- , FF_ITERATOR = '@@iterator'
2697
- , KEYS = 'keys'
2698
- , VALUES = 'values';
2699
-
2700
- var returnThis = function(){ return this; };
2701
-
2702
- module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
2703
- $iterCreate(Constructor, NAME, next);
2704
- var getMethod = function(kind){
2705
- if(!BUGGY && kind in proto)return proto[kind];
2706
- switch(kind){
2707
- case KEYS: return function keys(){ return new Constructor(this, kind); };
2708
- case VALUES: return function values(){ return new Constructor(this, kind); };
2709
- } return function entries(){ return new Constructor(this, kind); };
2710
- };
2711
- var TAG = NAME + ' Iterator'
2712
- , DEF_VALUES = DEFAULT == VALUES
2713
- , VALUES_BUG = false
2714
- , proto = Base.prototype
2715
- , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
2716
- , $default = $native || getMethod(DEFAULT)
2717
- , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined
2718
- , $anyNative = NAME == 'Array' ? proto.entries || $native : $native
2719
- , methods, key, IteratorPrototype;
2720
- // Fix native
2721
- if($anyNative){
2722
- IteratorPrototype = getPrototypeOf($anyNative.call(new Base));
2723
- if(IteratorPrototype !== Object.prototype){
2724
- // Set @@toStringTag to native iterators
2725
- setToStringTag(IteratorPrototype, TAG, true);
2726
- // fix for some old engines
2727
- if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
2728
- }
2729
- }
2730
- // fix Array#{values, @@iterator}.name in V8 / FF
2731
- if(DEF_VALUES && $native && $native.name !== VALUES){
2732
- VALUES_BUG = true;
2733
- $default = function values(){ return $native.call(this); };
2734
- }
2735
- // Define iterator
2736
- if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
2737
- hide(proto, ITERATOR, $default);
2738
- }
2739
- // Plug for library
2740
- Iterators[NAME] = $default;
2741
- Iterators[TAG] = returnThis;
2742
- if(DEFAULT){
2743
- methods = {
2744
- values: DEF_VALUES ? $default : getMethod(VALUES),
2745
- keys: IS_SET ? $default : getMethod(KEYS),
2746
- entries: $entries
2747
- };
2748
- if(FORCED)for(key in methods){
2749
- if(!(key in proto))redefine(proto, key, methods[key]);
2750
- } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
2751
- }
2752
- return methods;
2753
- };
2754
-
2755
- /***/ },
2756
- /* 135 */
2757
- /***/ function(module, exports) {
2758
-
2759
- module.exports = {};
2760
-
2761
- /***/ },
2762
- /* 136 */
2763
- /***/ function(module, exports, __webpack_require__) {
2764
-
2765
- 'use strict';
2766
- var create = __webpack_require__(44)
2767
- , descriptor = __webpack_require__(15)
2768
- , setToStringTag = __webpack_require__(22)
2769
- , IteratorPrototype = {};
2770
-
2771
- // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
2772
- __webpack_require__(8)(IteratorPrototype, __webpack_require__(23)('iterator'), function(){ return this; });
2773
-
2774
- module.exports = function(Constructor, NAME, next){
2775
- Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});
2776
- setToStringTag(Constructor, NAME + ' Iterator');
2777
- };
2778
-
2779
- /***/ },
2780
- /* 137 */
2781
- /***/ function(module, exports, __webpack_require__) {
2782
-
2783
- 'use strict';
2784
- // B.2.3.2 String.prototype.anchor(name)
2785
- __webpack_require__(138)('anchor', function(createHTML){
2786
- return function anchor(name){
2787
- return createHTML(this, 'a', 'name', name);
2788
- }
2789
- });
2790
-
2791
- /***/ },
2792
- /* 138 */
2793
- /***/ function(module, exports, __webpack_require__) {
2794
-
2795
- var $export = __webpack_require__(6)
2796
- , fails = __webpack_require__(5)
2797
- , defined = __webpack_require__(33)
2798
- , quot = /"/g;
2799
- // B.2.3.2.1 CreateHTML(string, tag, attribute, value)
2800
- var createHTML = function(string, tag, attribute, value) {
2801
- var S = String(defined(string))
2802
- , p1 = '<' + tag;
2803
- if(attribute !== '')p1 += ' ' + attribute + '="' + String(value).replace(quot, '&quot;') + '"';
2804
- return p1 + '>' + S + '</' + tag + '>';
2805
- };
2806
- module.exports = function(NAME, exec){
2807
- var O = {};
2808
- O[NAME] = exec(createHTML);
2809
- $export($export.P + $export.F * fails(function(){
2810
- var test = ''[NAME]('"');
2811
- return test !== test.toLowerCase() || test.split('"').length > 3;
2812
- }), 'String', O);
2813
- };
2814
-
2815
- /***/ },
2816
- /* 139 */
2817
- /***/ function(module, exports, __webpack_require__) {
2818
-
2819
- 'use strict';
2820
- // B.2.3.3 String.prototype.big()
2821
- __webpack_require__(138)('big', function(createHTML){
2822
- return function big(){
2823
- return createHTML(this, 'big', '', '');
2824
- }
2825
- });
2826
-
2827
- /***/ },
2828
- /* 140 */
2829
- /***/ function(module, exports, __webpack_require__) {
2830
-
2831
- 'use strict';
2832
- // B.2.3.4 String.prototype.blink()
2833
- __webpack_require__(138)('blink', function(createHTML){
2834
- return function blink(){
2835
- return createHTML(this, 'blink', '', '');
2836
- }
2837
- });
2838
-
2839
- /***/ },
2840
- /* 141 */
2841
- /***/ function(module, exports, __webpack_require__) {
2842
-
2843
- 'use strict';
2844
- // B.2.3.5 String.prototype.bold()
2845
- __webpack_require__(138)('bold', function(createHTML){
2846
- return function bold(){
2847
- return createHTML(this, 'b', '', '');
2848
- }
2849
- });
2850
-
2851
- /***/ },
2852
- /* 142 */
2853
- /***/ function(module, exports, __webpack_require__) {
2854
-
2855
- 'use strict';
2856
- // B.2.3.6 String.prototype.fixed()
2857
- __webpack_require__(138)('fixed', function(createHTML){
2858
- return function fixed(){
2859
- return createHTML(this, 'tt', '', '');
2860
- }
2861
- });
2862
-
2863
- /***/ },
2864
- /* 143 */
2865
- /***/ function(module, exports, __webpack_require__) {
2866
-
2867
- 'use strict';
2868
- // B.2.3.7 String.prototype.fontcolor(color)
2869
- __webpack_require__(138)('fontcolor', function(createHTML){
2870
- return function fontcolor(color){
2871
- return createHTML(this, 'font', 'color', color);
2872
- }
2873
- });
2874
-
2875
- /***/ },
2876
- /* 144 */
2877
- /***/ function(module, exports, __webpack_require__) {
2878
-
2879
- 'use strict';
2880
- // B.2.3.8 String.prototype.fontsize(size)
2881
- __webpack_require__(138)('fontsize', function(createHTML){
2882
- return function fontsize(size){
2883
- return createHTML(this, 'font', 'size', size);
2884
- }
2885
- });
2886
-
2887
- /***/ },
2888
- /* 145 */
2889
- /***/ function(module, exports, __webpack_require__) {
2890
-
2891
- 'use strict';
2892
- // B.2.3.9 String.prototype.italics()
2893
- __webpack_require__(138)('italics', function(createHTML){
2894
- return function italics(){
2895
- return createHTML(this, 'i', '', '');
2896
- }
2897
- });
2898
-
2899
- /***/ },
2900
- /* 146 */
2901
- /***/ function(module, exports, __webpack_require__) {
2902
-
2903
- 'use strict';
2904
- // B.2.3.10 String.prototype.link(url)
2905
- __webpack_require__(138)('link', function(createHTML){
2906
- return function link(url){
2907
- return createHTML(this, 'a', 'href', url);
2908
- }
2909
- });
2910
-
2911
- /***/ },
2912
- /* 147 */
2913
- /***/ function(module, exports, __webpack_require__) {
2914
-
2915
- 'use strict';
2916
- // B.2.3.11 String.prototype.small()
2917
- __webpack_require__(138)('small', function(createHTML){
2918
- return function small(){
2919
- return createHTML(this, 'small', '', '');
2920
- }
2921
- });
2922
-
2923
- /***/ },
2924
- /* 148 */
2925
- /***/ function(module, exports, __webpack_require__) {
2926
-
2927
- 'use strict';
2928
- // B.2.3.12 String.prototype.strike()
2929
- __webpack_require__(138)('strike', function(createHTML){
2930
- return function strike(){
2931
- return createHTML(this, 'strike', '', '');
2932
- }
2933
- });
2934
-
2935
- /***/ },
2936
- /* 149 */
2937
- /***/ function(module, exports, __webpack_require__) {
2938
-
2939
- 'use strict';
2940
- // B.2.3.13 String.prototype.sub()
2941
- __webpack_require__(138)('sub', function(createHTML){
2942
- return function sub(){
2943
- return createHTML(this, 'sub', '', '');
2944
- }
2945
- });
2946
-
2947
- /***/ },
2948
- /* 150 */
2949
- /***/ function(module, exports, __webpack_require__) {
2950
-
2951
- 'use strict';
2952
- // B.2.3.14 String.prototype.sup()
2953
- __webpack_require__(138)('sup', function(createHTML){
2954
- return function sup(){
2955
- return createHTML(this, 'sup', '', '');
2956
- }
2957
- });
2958
-
2959
- /***/ },
2960
- /* 151 */
2961
- /***/ function(module, exports, __webpack_require__) {
2962
-
2963
- // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
2964
- var $export = __webpack_require__(6);
2965
-
2966
- $export($export.S, 'Array', {isArray: __webpack_require__(43)});
2967
-
2968
- /***/ },
2969
- /* 152 */
2970
- /***/ function(module, exports, __webpack_require__) {
2971
-
2972
- 'use strict';
2973
- var ctx = __webpack_require__(18)
2974
- , $export = __webpack_require__(6)
2975
- , toObject = __webpack_require__(56)
2976
- , call = __webpack_require__(153)
2977
- , isArrayIter = __webpack_require__(154)
2978
- , toLength = __webpack_require__(35)
2979
- , createProperty = __webpack_require__(155)
2980
- , getIterFn = __webpack_require__(156);
2981
-
2982
- $export($export.S + $export.F * !__webpack_require__(157)(function(iter){ Array.from(iter); }), 'Array', {
2983
- // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
2984
- from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){
2985
- var O = toObject(arrayLike)
2986
- , C = typeof this == 'function' ? this : Array
2987
- , aLen = arguments.length
2988
- , mapfn = aLen > 1 ? arguments[1] : undefined
2989
- , mapping = mapfn !== undefined
2990
- , index = 0
2991
- , iterFn = getIterFn(O)
2992
- , length, result, step, iterator;
2993
- if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
2994
- // if object isn't iterable or it's array with default iterator - use simple case
2995
- if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){
2996
- for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){
2997
- createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
2998
- }
2999
- } else {
3000
- length = toLength(O.length);
3001
- for(result = new C(length); length > index; index++){
3002
- createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
3003
- }
3004
- }
3005
- result.length = index;
3006
- return result;
3007
- }
3008
- });
3009
-
3010
-
3011
- /***/ },
3012
- /* 153 */
3013
- /***/ function(module, exports, __webpack_require__) {
3014
-
3015
- // call something on iterator step with safe closing on error
3016
- var anObject = __webpack_require__(10);
3017
- module.exports = function(iterator, fn, value, entries){
3018
- try {
3019
- return entries ? fn(anObject(value)[0], value[1]) : fn(value);
3020
- // 7.4.6 IteratorClose(iterator, completion)
3021
- } catch(e){
3022
- var ret = iterator['return'];
3023
- if(ret !== undefined)anObject(ret.call(iterator));
3024
- throw e;
3025
- }
3026
- };
3027
-
3028
- /***/ },
3029
- /* 154 */
3030
- /***/ function(module, exports, __webpack_require__) {
3031
-
3032
- // check on default Array iterator
3033
- var Iterators = __webpack_require__(135)
3034
- , ITERATOR = __webpack_require__(23)('iterator')
3035
- , ArrayProto = Array.prototype;
3036
-
3037
- module.exports = function(it){
3038
- return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
3039
- };
3040
-
3041
- /***/ },
3042
- /* 155 */
3043
- /***/ function(module, exports, __webpack_require__) {
3044
-
3045
- 'use strict';
3046
- var $defineProperty = __webpack_require__(9)
3047
- , createDesc = __webpack_require__(15);
3048
-
3049
- module.exports = function(object, index, value){
3050
- if(index in object)$defineProperty.f(object, index, createDesc(0, value));
3051
- else object[index] = value;
3052
- };
3053
-
3054
- /***/ },
3055
- /* 156 */
3056
- /***/ function(module, exports, __webpack_require__) {
3057
-
3058
- var classof = __webpack_require__(73)
3059
- , ITERATOR = __webpack_require__(23)('iterator')
3060
- , Iterators = __webpack_require__(135);
3061
- module.exports = __webpack_require__(7).getIteratorMethod = function(it){
3062
- if(it != undefined)return it[ITERATOR]
3063
- || it['@@iterator']
3064
- || Iterators[classof(it)];
3065
- };
3066
-
3067
- /***/ },
3068
- /* 157 */
3069
- /***/ function(module, exports, __webpack_require__) {
3070
-
3071
- var ITERATOR = __webpack_require__(23)('iterator')
3072
- , SAFE_CLOSING = false;
3073
-
3074
- try {
3075
- var riter = [7][ITERATOR]();
3076
- riter['return'] = function(){ SAFE_CLOSING = true; };
3077
- Array.from(riter, function(){ throw 2; });
3078
- } catch(e){ /* empty */ }
3079
-
3080
- module.exports = function(exec, skipClosing){
3081
- if(!skipClosing && !SAFE_CLOSING)return false;
3082
- var safe = false;
3083
- try {
3084
- var arr = [7]
3085
- , iter = arr[ITERATOR]();
3086
- iter.next = function(){ return {done: safe = true}; };
3087
- arr[ITERATOR] = function(){ return iter; };
3088
- exec(arr);
3089
- } catch(e){ /* empty */ }
3090
- return safe;
3091
- };
3092
-
3093
- /***/ },
3094
- /* 158 */
3095
- /***/ function(module, exports, __webpack_require__) {
3096
-
3097
- 'use strict';
3098
- var $export = __webpack_require__(6)
3099
- , createProperty = __webpack_require__(155);
3100
-
3101
- // WebKit Array.of isn't generic
3102
- $export($export.S + $export.F * __webpack_require__(5)(function(){
3103
- function F(){}
3104
- return !(Array.of.call(F) instanceof F);
3105
- }), 'Array', {
3106
- // 22.1.2.3 Array.of( ...items)
3107
- of: function of(/* ...args */){
3108
- var index = 0
3109
- , aLen = arguments.length
3110
- , result = new (typeof this == 'function' ? this : Array)(aLen);
3111
- while(aLen > index)createProperty(result, index, arguments[index++]);
3112
- result.length = aLen;
3113
- return result;
3114
- }
3115
- });
3116
-
3117
- /***/ },
3118
- /* 159 */
3119
- /***/ function(module, exports, __webpack_require__) {
3120
-
3121
- 'use strict';
3122
- // 22.1.3.13 Array.prototype.join(separator)
3123
- var $export = __webpack_require__(6)
3124
- , toIObject = __webpack_require__(30)
3125
- , arrayJoin = [].join;
3126
-
3127
- // fallback for not array-like strings
3128
- $export($export.P + $export.F * (__webpack_require__(31) != Object || !__webpack_require__(160)(arrayJoin)), 'Array', {
3129
- join: function join(separator){
3130
- return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);
3131
- }
3132
- });
3133
-
3134
- /***/ },
3135
- /* 160 */
3136
- /***/ function(module, exports, __webpack_require__) {
3137
-
3138
- var fails = __webpack_require__(5);
3139
-
3140
- module.exports = function(method, arg){
3141
- return !!method && fails(function(){
3142
- arg ? method.call(null, function(){}, 1) : method.call(null);
3143
- });
3144
- };
3145
-
3146
- /***/ },
3147
- /* 161 */
3148
- /***/ function(module, exports, __webpack_require__) {
3149
-
3150
- 'use strict';
3151
- var $export = __webpack_require__(6)
3152
- , html = __webpack_require__(46)
3153
- , cof = __webpack_require__(32)
3154
- , toIndex = __webpack_require__(37)
3155
- , toLength = __webpack_require__(35)
3156
- , arraySlice = [].slice;
3157
-
3158
- // fallback for not array-like ES3 strings and DOM objects
3159
- $export($export.P + $export.F * __webpack_require__(5)(function(){
3160
- if(html)arraySlice.call(html);
3161
- }), 'Array', {
3162
- slice: function slice(begin, end){
3163
- var len = toLength(this.length)
3164
- , klass = cof(this);
3165
- end = end === undefined ? len : end;
3166
- if(klass == 'Array')return arraySlice.call(this, begin, end);
3167
- var start = toIndex(begin, len)
3168
- , upTo = toIndex(end, len)
3169
- , size = toLength(upTo - start)
3170
- , cloned = Array(size)
3171
- , i = 0;
3172
- for(; i < size; i++)cloned[i] = klass == 'String'
3173
- ? this.charAt(start + i)
3174
- : this[start + i];
3175
- return cloned;
3176
- }
3177
- });
3178
-
3179
- /***/ },
3180
- /* 162 */
3181
- /***/ function(module, exports, __webpack_require__) {
3182
-
3183
- 'use strict';
3184
- var $export = __webpack_require__(6)
3185
- , aFunction = __webpack_require__(19)
3186
- , toObject = __webpack_require__(56)
3187
- , fails = __webpack_require__(5)
3188
- , $sort = [].sort
3189
- , test = [1, 2, 3];
3190
-
3191
- $export($export.P + $export.F * (fails(function(){
3192
- // IE8-
3193
- test.sort(undefined);
3194
- }) || !fails(function(){
3195
- // V8 bug
3196
- test.sort(null);
3197
- // Old WebKit
3198
- }) || !__webpack_require__(160)($sort)), 'Array', {
3199
- // 22.1.3.25 Array.prototype.sort(comparefn)
3200
- sort: function sort(comparefn){
3201
- return comparefn === undefined
3202
- ? $sort.call(toObject(this))
3203
- : $sort.call(toObject(this), aFunction(comparefn));
3204
- }
3205
- });
3206
-
3207
- /***/ },
3208
- /* 163 */
3209
- /***/ function(module, exports, __webpack_require__) {
3210
-
3211
- 'use strict';
3212
- var $export = __webpack_require__(6)
3213
- , $forEach = __webpack_require__(164)(0)
3214
- , STRICT = __webpack_require__(160)([].forEach, true);
3215
-
3216
- $export($export.P + $export.F * !STRICT, 'Array', {
3217
- // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
3218
- forEach: function forEach(callbackfn /* , thisArg */){
3219
- return $forEach(this, callbackfn, arguments[1]);
3220
- }
3221
- });
3222
-
3223
- /***/ },
3224
- /* 164 */
3225
- /***/ function(module, exports, __webpack_require__) {
3226
-
3227
- // 0 -> Array#forEach
3228
- // 1 -> Array#map
3229
- // 2 -> Array#filter
3230
- // 3 -> Array#some
3231
- // 4 -> Array#every
3232
- // 5 -> Array#find
3233
- // 6 -> Array#findIndex
3234
- var ctx = __webpack_require__(18)
3235
- , IObject = __webpack_require__(31)
3236
- , toObject = __webpack_require__(56)
3237
- , toLength = __webpack_require__(35)
3238
- , asc = __webpack_require__(165);
3239
- module.exports = function(TYPE, $create){
3240
- var IS_MAP = TYPE == 1
3241
- , IS_FILTER = TYPE == 2
3242
- , IS_SOME = TYPE == 3
3243
- , IS_EVERY = TYPE == 4
3244
- , IS_FIND_INDEX = TYPE == 6
3245
- , NO_HOLES = TYPE == 5 || IS_FIND_INDEX
3246
- , create = $create || asc;
3247
- return function($this, callbackfn, that){
3248
- var O = toObject($this)
3249
- , self = IObject(O)
3250
- , f = ctx(callbackfn, that, 3)
3251
- , length = toLength(self.length)
3252
- , index = 0
3253
- , result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined
3254
- , val, res;
3255
- for(;length > index; index++)if(NO_HOLES || index in self){
3256
- val = self[index];
3257
- res = f(val, index, O);
3258
- if(TYPE){
3259
- if(IS_MAP)result[index] = res; // map
3260
- else if(res)switch(TYPE){
3261
- case 3: return true; // some
3262
- case 5: return val; // find
3263
- case 6: return index; // findIndex
3264
- case 2: result.push(val); // filter
3265
- } else if(IS_EVERY)return false; // every
3266
- }
3267
- }
3268
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
3269
- };
3270
- };
3271
-
3272
- /***/ },
3273
- /* 165 */
3274
- /***/ function(module, exports, __webpack_require__) {
3275
-
3276
- // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
3277
- var speciesConstructor = __webpack_require__(166);
3278
-
3279
- module.exports = function(original, length){
3280
- return new (speciesConstructor(original))(length);
3281
- };
3282
-
3283
- /***/ },
3284
- /* 166 */
3285
- /***/ function(module, exports, __webpack_require__) {
3286
-
3287
- var isObject = __webpack_require__(11)
3288
- , isArray = __webpack_require__(43)
3289
- , SPECIES = __webpack_require__(23)('species');
3290
-
3291
- module.exports = function(original){
3292
- var C;
3293
- if(isArray(original)){
3294
- C = original.constructor;
3295
- // cross-realm fallback
3296
- if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;
3297
- if(isObject(C)){
3298
- C = C[SPECIES];
3299
- if(C === null)C = undefined;
3300
- }
3301
- } return C === undefined ? Array : C;
3302
- };
3303
-
3304
- /***/ },
3305
- /* 167 */
3306
- /***/ function(module, exports, __webpack_require__) {
3307
-
3308
- 'use strict';
3309
- var $export = __webpack_require__(6)
3310
- , $map = __webpack_require__(164)(1);
3311
-
3312
- $export($export.P + $export.F * !__webpack_require__(160)([].map, true), 'Array', {
3313
- // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
3314
- map: function map(callbackfn /* , thisArg */){
3315
- return $map(this, callbackfn, arguments[1]);
3316
- }
3317
- });
3318
-
3319
- /***/ },
3320
- /* 168 */
3321
- /***/ function(module, exports, __webpack_require__) {
3322
-
3323
- 'use strict';
3324
- var $export = __webpack_require__(6)
3325
- , $filter = __webpack_require__(164)(2);
3326
-
3327
- $export($export.P + $export.F * !__webpack_require__(160)([].filter, true), 'Array', {
3328
- // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
3329
- filter: function filter(callbackfn /* , thisArg */){
3330
- return $filter(this, callbackfn, arguments[1]);
3331
- }
3332
- });
3333
-
3334
- /***/ },
3335
- /* 169 */
3336
- /***/ function(module, exports, __webpack_require__) {
3337
-
3338
- 'use strict';
3339
- var $export = __webpack_require__(6)
3340
- , $some = __webpack_require__(164)(3);
3341
-
3342
- $export($export.P + $export.F * !__webpack_require__(160)([].some, true), 'Array', {
3343
- // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
3344
- some: function some(callbackfn /* , thisArg */){
3345
- return $some(this, callbackfn, arguments[1]);
3346
- }
3347
- });
3348
-
3349
- /***/ },
3350
- /* 170 */
3351
- /***/ function(module, exports, __webpack_require__) {
3352
-
3353
- 'use strict';
3354
- var $export = __webpack_require__(6)
3355
- , $every = __webpack_require__(164)(4);
3356
-
3357
- $export($export.P + $export.F * !__webpack_require__(160)([].every, true), 'Array', {
3358
- // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
3359
- every: function every(callbackfn /* , thisArg */){
3360
- return $every(this, callbackfn, arguments[1]);
3361
- }
3362
- });
3363
-
3364
- /***/ },
3365
- /* 171 */
3366
- /***/ function(module, exports, __webpack_require__) {
3367
-
3368
- 'use strict';
3369
- var $export = __webpack_require__(6)
3370
- , $reduce = __webpack_require__(172);
3371
-
3372
- $export($export.P + $export.F * !__webpack_require__(160)([].reduce, true), 'Array', {
3373
- // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
3374
- reduce: function reduce(callbackfn /* , initialValue */){
3375
- return $reduce(this, callbackfn, arguments.length, arguments[1], false);
3376
- }
3377
- });
3378
-
3379
- /***/ },
3380
- /* 172 */
3381
- /***/ function(module, exports, __webpack_require__) {
3382
-
3383
- var aFunction = __webpack_require__(19)
3384
- , toObject = __webpack_require__(56)
3385
- , IObject = __webpack_require__(31)
3386
- , toLength = __webpack_require__(35);
3387
-
3388
- module.exports = function(that, callbackfn, aLen, memo, isRight){
3389
- aFunction(callbackfn);
3390
- var O = toObject(that)
3391
- , self = IObject(O)
3392
- , length = toLength(O.length)
3393
- , index = isRight ? length - 1 : 0
3394
- , i = isRight ? -1 : 1;
3395
- if(aLen < 2)for(;;){
3396
- if(index in self){
3397
- memo = self[index];
3398
- index += i;
3399
- break;
3400
- }
3401
- index += i;
3402
- if(isRight ? index < 0 : length <= index){
3403
- throw TypeError('Reduce of empty array with no initial value');
3404
- }
3405
- }
3406
- for(;isRight ? index >= 0 : length > index; index += i)if(index in self){
3407
- memo = callbackfn(memo, self[index], index, O);
3408
- }
3409
- return memo;
3410
- };
3411
-
3412
- /***/ },
3413
- /* 173 */
3414
- /***/ function(module, exports, __webpack_require__) {
3415
-
3416
- 'use strict';
3417
- var $export = __webpack_require__(6)
3418
- , $reduce = __webpack_require__(172);
3419
-
3420
- $export($export.P + $export.F * !__webpack_require__(160)([].reduceRight, true), 'Array', {
3421
- // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
3422
- reduceRight: function reduceRight(callbackfn /* , initialValue */){
3423
- return $reduce(this, callbackfn, arguments.length, arguments[1], true);
3424
- }
3425
- });
3426
-
3427
- /***/ },
3428
- /* 174 */
3429
- /***/ function(module, exports, __webpack_require__) {
3430
-
3431
- 'use strict';
3432
- var $export = __webpack_require__(6)
3433
- , $indexOf = __webpack_require__(34)(false)
3434
- , $native = [].indexOf
3435
- , NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;
3436
-
3437
- $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(160)($native)), 'Array', {
3438
- // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
3439
- indexOf: function indexOf(searchElement /*, fromIndex = 0 */){
3440
- return NEGATIVE_ZERO
3441
- // convert -0 to +0
3442
- ? $native.apply(this, arguments) || 0
3443
- : $indexOf(this, searchElement, arguments[1]);
3444
- }
3445
- });
3446
-
3447
- /***/ },
3448
- /* 175 */
3449
- /***/ function(module, exports, __webpack_require__) {
3450
-
3451
- 'use strict';
3452
- var $export = __webpack_require__(6)
3453
- , toIObject = __webpack_require__(30)
3454
- , toInteger = __webpack_require__(36)
3455
- , toLength = __webpack_require__(35)
3456
- , $native = [].lastIndexOf
3457
- , NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;
3458
-
3459
- $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(160)($native)), 'Array', {
3460
- // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
3461
- lastIndexOf: function lastIndexOf(searchElement /*, fromIndex = @[*-1] */){
3462
- // convert -0 to +0
3463
- if(NEGATIVE_ZERO)return $native.apply(this, arguments) || 0;
3464
- var O = toIObject(this)
3465
- , length = toLength(O.length)
3466
- , index = length - 1;
3467
- if(arguments.length > 1)index = Math.min(index, toInteger(arguments[1]));
3468
- if(index < 0)index = length + index;
3469
- for(;index >= 0; index--)if(index in O)if(O[index] === searchElement)return index || 0;
3470
- return -1;
3471
- }
3472
- });
3473
-
3474
- /***/ },
3475
- /* 176 */
3476
- /***/ function(module, exports, __webpack_require__) {
3477
-
3478
- // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
3479
- var $export = __webpack_require__(6);
3480
-
3481
- $export($export.P, 'Array', {copyWithin: __webpack_require__(177)});
3482
-
3483
- __webpack_require__(178)('copyWithin');
3484
-
3485
- /***/ },
3486
- /* 177 */
3487
- /***/ function(module, exports, __webpack_require__) {
3488
-
3489
- // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
3490
- 'use strict';
3491
- var toObject = __webpack_require__(56)
3492
- , toIndex = __webpack_require__(37)
3493
- , toLength = __webpack_require__(35);
3494
-
3495
- module.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){
3496
- var O = toObject(this)
3497
- , len = toLength(O.length)
3498
- , to = toIndex(target, len)
3499
- , from = toIndex(start, len)
3500
- , end = arguments.length > 2 ? arguments[2] : undefined
3501
- , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)
3502
- , inc = 1;
3503
- if(from < to && to < from + count){
3504
- inc = -1;
3505
- from += count - 1;
3506
- to += count - 1;
3507
- }
3508
- while(count-- > 0){
3509
- if(from in O)O[to] = O[from];
3510
- else delete O[to];
3511
- to += inc;
3512
- from += inc;
3513
- } return O;
3514
- };
3515
-
3516
- /***/ },
3517
- /* 178 */
3518
- /***/ function(module, exports, __webpack_require__) {
3519
-
3520
- // 22.1.3.31 Array.prototype[@@unscopables]
3521
- var UNSCOPABLES = __webpack_require__(23)('unscopables')
3522
- , ArrayProto = Array.prototype;
3523
- if(ArrayProto[UNSCOPABLES] == undefined)__webpack_require__(8)(ArrayProto, UNSCOPABLES, {});
3524
- module.exports = function(key){
3525
- ArrayProto[UNSCOPABLES][key] = true;
3526
- };
3527
-
3528
- /***/ },
3529
- /* 179 */
3530
- /***/ function(module, exports, __webpack_require__) {
3531
-
3532
- // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
3533
- var $export = __webpack_require__(6);
3534
-
3535
- $export($export.P, 'Array', {fill: __webpack_require__(180)});
3536
-
3537
- __webpack_require__(178)('fill');
3538
-
3539
- /***/ },
3540
- /* 180 */
3541
- /***/ function(module, exports, __webpack_require__) {
3542
-
3543
- // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
3544
- 'use strict';
3545
- var toObject = __webpack_require__(56)
3546
- , toIndex = __webpack_require__(37)
3547
- , toLength = __webpack_require__(35);
3548
- module.exports = function fill(value /*, start = 0, end = @length */){
3549
- var O = toObject(this)
3550
- , length = toLength(O.length)
3551
- , aLen = arguments.length
3552
- , index = toIndex(aLen > 1 ? arguments[1] : undefined, length)
3553
- , end = aLen > 2 ? arguments[2] : undefined
3554
- , endPos = end === undefined ? length : toIndex(end, length);
3555
- while(endPos > index)O[index++] = value;
3556
- return O;
3557
- };
3558
-
3559
- /***/ },
3560
- /* 181 */
3561
- /***/ function(module, exports, __webpack_require__) {
3562
-
3563
- 'use strict';
3564
- // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
3565
- var $export = __webpack_require__(6)
3566
- , $find = __webpack_require__(164)(5)
3567
- , KEY = 'find'
3568
- , forced = true;
3569
- // Shouldn't skip holes
3570
- if(KEY in [])Array(1)[KEY](function(){ forced = false; });
3571
- $export($export.P + $export.F * forced, 'Array', {
3572
- find: function find(callbackfn/*, that = undefined */){
3573
- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3574
- }
3575
- });
3576
- __webpack_require__(178)(KEY);
3577
-
3578
- /***/ },
3579
- /* 182 */
3580
- /***/ function(module, exports, __webpack_require__) {
3581
-
3582
- 'use strict';
3583
- // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
3584
- var $export = __webpack_require__(6)
3585
- , $find = __webpack_require__(164)(6)
3586
- , KEY = 'findIndex'
3587
- , forced = true;
3588
- // Shouldn't skip holes
3589
- if(KEY in [])Array(1)[KEY](function(){ forced = false; });
3590
- $export($export.P + $export.F * forced, 'Array', {
3591
- findIndex: function findIndex(callbackfn/*, that = undefined */){
3592
- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3593
- }
3594
- });
3595
- __webpack_require__(178)(KEY);
3596
-
3597
- /***/ },
3598
- /* 183 */
3599
- /***/ function(module, exports, __webpack_require__) {
3600
-
3601
- 'use strict';
3602
- var addToUnscopables = __webpack_require__(178)
3603
- , step = __webpack_require__(184)
3604
- , Iterators = __webpack_require__(135)
3605
- , toIObject = __webpack_require__(30);
3606
-
3607
- // 22.1.3.4 Array.prototype.entries()
3608
- // 22.1.3.13 Array.prototype.keys()
3609
- // 22.1.3.29 Array.prototype.values()
3610
- // 22.1.3.30 Array.prototype[@@iterator]()
3611
- module.exports = __webpack_require__(134)(Array, 'Array', function(iterated, kind){
3612
- this._t = toIObject(iterated); // target
3613
- this._i = 0; // next index
3614
- this._k = kind; // kind
3615
- // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
3616
- }, function(){
3617
- var O = this._t
3618
- , kind = this._k
3619
- , index = this._i++;
3620
- if(!O || index >= O.length){
3621
- this._t = undefined;
3622
- return step(1);
3623
- }
3624
- if(kind == 'keys' )return step(0, index);
3625
- if(kind == 'values')return step(0, O[index]);
3626
- return step(0, [index, O[index]]);
3627
- }, 'values');
3628
-
3629
- // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
3630
- Iterators.Arguments = Iterators.Array;
3631
-
3632
- addToUnscopables('keys');
3633
- addToUnscopables('values');
3634
- addToUnscopables('entries');
3635
-
3636
- /***/ },
3637
- /* 184 */
3638
- /***/ function(module, exports) {
3639
-
3640
- module.exports = function(done, value){
3641
- return {value: value, done: !!done};
3642
- };
3643
-
3644
- /***/ },
3645
- /* 185 */
3646
- /***/ function(module, exports, __webpack_require__) {
3647
-
3648
- __webpack_require__(186)('Array');
3649
-
3650
- /***/ },
3651
- /* 186 */
3652
- /***/ function(module, exports, __webpack_require__) {
3653
-
3654
- 'use strict';
3655
- var global = __webpack_require__(2)
3656
- , dP = __webpack_require__(9)
3657
- , DESCRIPTORS = __webpack_require__(4)
3658
- , SPECIES = __webpack_require__(23)('species');
3659
-
3660
- module.exports = function(KEY){
3661
- var C = global[KEY];
3662
- if(DESCRIPTORS && C && !C[SPECIES])dP.f(C, SPECIES, {
3663
- configurable: true,
3664
- get: function(){ return this; }
3665
- });
3666
- };
3667
-
3668
- /***/ },
3669
- /* 187 */
3670
- /***/ function(module, exports, __webpack_require__) {
3671
-
3672
- var global = __webpack_require__(2)
3673
- , inheritIfRequired = __webpack_require__(80)
3674
- , dP = __webpack_require__(9).f
3675
- , gOPN = __webpack_require__(48).f
3676
- , isRegExp = __webpack_require__(128)
3677
- , $flags = __webpack_require__(188)
3678
- , $RegExp = global.RegExp
3679
- , Base = $RegExp
3680
- , proto = $RegExp.prototype
3681
- , re1 = /a/g
3682
- , re2 = /a/g
3683
- // "new" creates a new object, old webkit buggy here
3684
- , CORRECT_NEW = new $RegExp(re1) !== re1;
3685
-
3686
- if(__webpack_require__(4) && (!CORRECT_NEW || __webpack_require__(5)(function(){
3687
- re2[__webpack_require__(23)('match')] = false;
3688
- // RegExp constructor can alter flags and IsRegExp works correct with @@match
3689
- return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
3690
- }))){
3691
- $RegExp = function RegExp(p, f){
3692
- var tiRE = this instanceof $RegExp
3693
- , piRE = isRegExp(p)
3694
- , fiU = f === undefined;
3695
- return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
3696
- : inheritIfRequired(CORRECT_NEW
3697
- ? new Base(piRE && !fiU ? p.source : p, f)
3698
- : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
3699
- , tiRE ? this : proto, $RegExp);
3700
- };
3701
- var proxy = function(key){
3702
- key in $RegExp || dP($RegExp, key, {
3703
- configurable: true,
3704
- get: function(){ return Base[key]; },
3705
- set: function(it){ Base[key] = it; }
3706
- });
3707
- };
3708
- for(var keys = gOPN(Base), i = 0; keys.length > i; )proxy(keys[i++]);
3709
- proto.constructor = $RegExp;
3710
- $RegExp.prototype = proto;
3711
- __webpack_require__(16)(global, 'RegExp', $RegExp);
3712
- }
3713
-
3714
- __webpack_require__(186)('RegExp');
3715
-
3716
- /***/ },
3717
- /* 188 */
3718
- /***/ function(module, exports, __webpack_require__) {
3719
-
3720
- 'use strict';
3721
- // 21.2.5.3 get RegExp.prototype.flags
3722
- var anObject = __webpack_require__(10);
3723
- module.exports = function(){
3724
- var that = anObject(this)
3725
- , result = '';
3726
- if(that.global) result += 'g';
3727
- if(that.ignoreCase) result += 'i';
3728
- if(that.multiline) result += 'm';
3729
- if(that.unicode) result += 'u';
3730
- if(that.sticky) result += 'y';
3731
- return result;
3732
- };
3733
-
3734
- /***/ },
3735
- /* 189 */
3736
- /***/ function(module, exports, __webpack_require__) {
3737
-
3738
- 'use strict';
3739
- __webpack_require__(190);
3740
- var anObject = __webpack_require__(10)
3741
- , $flags = __webpack_require__(188)
3742
- , DESCRIPTORS = __webpack_require__(4)
3743
- , TO_STRING = 'toString'
3744
- , $toString = /./[TO_STRING];
3745
-
3746
- var define = function(fn){
3747
- __webpack_require__(16)(RegExp.prototype, TO_STRING, fn, true);
3748
- };
3749
-
3750
- // 21.2.5.14 RegExp.prototype.toString()
3751
- if(__webpack_require__(5)(function(){ return $toString.call({source: 'a', flags: 'b'}) != '/a/b'; })){
3752
- define(function toString(){
3753
- var R = anObject(this);
3754
- return '/'.concat(R.source, '/',
3755
- 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
3756
- });
3757
- // FF44- RegExp#toString has a wrong name
3758
- } else if($toString.name != TO_STRING){
3759
- define(function toString(){
3760
- return $toString.call(this);
3761
- });
3762
- }
3763
-
3764
- /***/ },
3765
- /* 190 */
3766
- /***/ function(module, exports, __webpack_require__) {
3767
-
3768
- // 21.2.5.3 get RegExp.prototype.flags()
3769
- if(__webpack_require__(4) && /./g.flags != 'g')__webpack_require__(9).f(RegExp.prototype, 'flags', {
3770
- configurable: true,
3771
- get: __webpack_require__(188)
3772
- });
3773
-
3774
- /***/ },
3775
- /* 191 */
3776
- /***/ function(module, exports, __webpack_require__) {
3777
-
3778
- // @@match logic
3779
- __webpack_require__(192)('match', 1, function(defined, MATCH, $match){
3780
- // 21.1.3.11 String.prototype.match(regexp)
3781
- return [function match(regexp){
3782
- 'use strict';
3783
- var O = defined(this)
3784
- , fn = regexp == undefined ? undefined : regexp[MATCH];
3785
- return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
3786
- }, $match];
3787
- });
3788
-
3789
- /***/ },
3790
- /* 192 */
3791
- /***/ function(module, exports, __webpack_require__) {
3792
-
3793
- 'use strict';
3794
- var hide = __webpack_require__(8)
3795
- , redefine = __webpack_require__(16)
3796
- , fails = __webpack_require__(5)
3797
- , defined = __webpack_require__(33)
3798
- , wks = __webpack_require__(23);
3799
-
3800
- module.exports = function(KEY, length, exec){
3801
- var SYMBOL = wks(KEY)
3802
- , fns = exec(defined, SYMBOL, ''[KEY])
3803
- , strfn = fns[0]
3804
- , rxfn = fns[1];
3805
- if(fails(function(){
3806
- var O = {};
3807
- O[SYMBOL] = function(){ return 7; };
3808
- return ''[KEY](O) != 7;
3809
- })){
3810
- redefine(String.prototype, KEY, strfn);
3811
- hide(RegExp.prototype, SYMBOL, length == 2
3812
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
3813
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
3814
- ? function(string, arg){ return rxfn.call(string, this, arg); }
3815
- // 21.2.5.6 RegExp.prototype[@@match](string)
3816
- // 21.2.5.9 RegExp.prototype[@@search](string)
3817
- : function(string){ return rxfn.call(string, this); }
3818
- );
3819
- }
3820
- };
3821
-
3822
- /***/ },
3823
- /* 193 */
3824
- /***/ function(module, exports, __webpack_require__) {
3825
-
3826
- // @@replace logic
3827
- __webpack_require__(192)('replace', 2, function(defined, REPLACE, $replace){
3828
- // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)
3829
- return [function replace(searchValue, replaceValue){
3830
- 'use strict';
3831
- var O = defined(this)
3832
- , fn = searchValue == undefined ? undefined : searchValue[REPLACE];
3833
- return fn !== undefined
3834
- ? fn.call(searchValue, O, replaceValue)
3835
- : $replace.call(String(O), searchValue, replaceValue);
3836
- }, $replace];
3837
- });
3838
-
3839
- /***/ },
3840
- /* 194 */
3841
- /***/ function(module, exports, __webpack_require__) {
3842
-
3843
- // @@search logic
3844
- __webpack_require__(192)('search', 1, function(defined, SEARCH, $search){
3845
- // 21.1.3.15 String.prototype.search(regexp)
3846
- return [function search(regexp){
3847
- 'use strict';
3848
- var O = defined(this)
3849
- , fn = regexp == undefined ? undefined : regexp[SEARCH];
3850
- return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
3851
- }, $search];
3852
- });
3853
-
3854
- /***/ },
3855
- /* 195 */
3856
- /***/ function(module, exports, __webpack_require__) {
3857
-
3858
- // @@split logic
3859
- __webpack_require__(192)('split', 2, function(defined, SPLIT, $split){
3860
- 'use strict';
3861
- var isRegExp = __webpack_require__(128)
3862
- , _split = $split
3863
- , $push = [].push
3864
- , $SPLIT = 'split'
3865
- , LENGTH = 'length'
3866
- , LAST_INDEX = 'lastIndex';
3867
- if(
3868
- 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
3869
- 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
3870
- 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
3871
- '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
3872
- '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
3873
- ''[$SPLIT](/.?/)[LENGTH]
3874
- ){
3875
- var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group
3876
- // based on es5-shim implementation, need to rework it
3877
- $split = function(separator, limit){
3878
- var string = String(this);
3879
- if(separator === undefined && limit === 0)return [];
3880
- // If `separator` is not a regex, use native split
3881
- if(!isRegExp(separator))return _split.call(string, separator, limit);
3882
- var output = [];
3883
- var flags = (separator.ignoreCase ? 'i' : '') +
3884
- (separator.multiline ? 'm' : '') +
3885
- (separator.unicode ? 'u' : '') +
3886
- (separator.sticky ? 'y' : '');
3887
- var lastLastIndex = 0;
3888
- var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;
3889
- // Make `global` and avoid `lastIndex` issues by working with a copy
3890
- var separatorCopy = new RegExp(separator.source, flags + 'g');
3891
- var separator2, match, lastIndex, lastLength, i;
3892
- // Doesn't need flags gy, but they don't hurt
3893
- if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags);
3894
- while(match = separatorCopy.exec(string)){
3895
- // `separatorCopy.lastIndex` is not reliable cross-browser
3896
- lastIndex = match.index + match[0][LENGTH];
3897
- if(lastIndex > lastLastIndex){
3898
- output.push(string.slice(lastLastIndex, match.index));
3899
- // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG
3900
- if(!NPCG && match[LENGTH] > 1)match[0].replace(separator2, function(){
3901
- for(i = 1; i < arguments[LENGTH] - 2; i++)if(arguments[i] === undefined)match[i] = undefined;
3902
- });
3903
- if(match[LENGTH] > 1 && match.index < string[LENGTH])$push.apply(output, match.slice(1));
3904
- lastLength = match[0][LENGTH];
3905
- lastLastIndex = lastIndex;
3906
- if(output[LENGTH] >= splitLimit)break;
3907
- }
3908
- if(separatorCopy[LAST_INDEX] === match.index)separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
3909
- }
3910
- if(lastLastIndex === string[LENGTH]){
3911
- if(lastLength || !separatorCopy.test(''))output.push('');
3912
- } else output.push(string.slice(lastLastIndex));
3913
- return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
3914
- };
3915
- // Chakra, V8
3916
- } else if('0'[$SPLIT](undefined, 0)[LENGTH]){
3917
- $split = function(separator, limit){
3918
- return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);
3919
- };
3920
- }
3921
- // 21.1.3.17 String.prototype.split(separator, limit)
3922
- return [function split(separator, limit){
3923
- var O = defined(this)
3924
- , fn = separator == undefined ? undefined : separator[SPLIT];
3925
- return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);
3926
- }, $split];
3927
- });
3928
-
3929
- /***/ },
3930
- /* 196 */
3931
- /***/ function(module, exports, __webpack_require__) {
3932
-
3933
- 'use strict';
3934
- var LIBRARY = __webpack_require__(26)
3935
- , global = __webpack_require__(2)
3936
- , ctx = __webpack_require__(18)
3937
- , classof = __webpack_require__(73)
3938
- , $export = __webpack_require__(6)
3939
- , isObject = __webpack_require__(11)
3940
- , aFunction = __webpack_require__(19)
3941
- , anInstance = __webpack_require__(197)
3942
- , forOf = __webpack_require__(198)
3943
- , speciesConstructor = __webpack_require__(199)
3944
- , task = __webpack_require__(200).set
3945
- , microtask = __webpack_require__(201)()
3946
- , PROMISE = 'Promise'
3947
- , TypeError = global.TypeError
3948
- , process = global.process
3949
- , $Promise = global[PROMISE]
3950
- , process = global.process
3951
- , isNode = classof(process) == 'process'
3952
- , empty = function(){ /* empty */ }
3953
- , Internal, GenericPromiseCapability, Wrapper;
3954
-
3955
- var USE_NATIVE = !!function(){
3956
- try {
3957
- // correct subclassing with @@species support
3958
- var promise = $Promise.resolve(1)
3959
- , FakePromise = (promise.constructor = {})[__webpack_require__(23)('species')] = function(exec){ exec(empty, empty); };
3960
- // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
3961
- return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise;
3962
- } catch(e){ /* empty */ }
3963
- }();
3964
-
3965
- // helpers
3966
- var sameConstructor = function(a, b){
3967
- // with library wrapper special case
3968
- return a === b || a === $Promise && b === Wrapper;
3969
- };
3970
- var isThenable = function(it){
3971
- var then;
3972
- return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
3973
- };
3974
- var newPromiseCapability = function(C){
3975
- return sameConstructor($Promise, C)
3976
- ? new PromiseCapability(C)
3977
- : new GenericPromiseCapability(C);
3978
- };
3979
- var PromiseCapability = GenericPromiseCapability = function(C){
3980
- var resolve, reject;
3981
- this.promise = new C(function($$resolve, $$reject){
3982
- if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');
3983
- resolve = $$resolve;
3984
- reject = $$reject;
3985
- });
3986
- this.resolve = aFunction(resolve);
3987
- this.reject = aFunction(reject);
3988
- };
3989
- var perform = function(exec){
3990
- try {
3991
- exec();
3992
- } catch(e){
3993
- return {error: e};
3994
- }
3995
- };
3996
- var notify = function(promise, isReject){
3997
- if(promise._n)return;
3998
- promise._n = true;
3999
- var chain = promise._c;
4000
- microtask(function(){
4001
- var value = promise._v
4002
- , ok = promise._s == 1
4003
- , i = 0;
4004
- var run = function(reaction){
4005
- var handler = ok ? reaction.ok : reaction.fail
4006
- , resolve = reaction.resolve
4007
- , reject = reaction.reject
4008
- , domain = reaction.domain
4009
- , result, then;
4010
- try {
4011
- if(handler){
4012
- if(!ok){
4013
- if(promise._h == 2)onHandleUnhandled(promise);
4014
- promise._h = 1;
4015
- }
4016
- if(handler === true)result = value;
4017
- else {
4018
- if(domain)domain.enter();
4019
- result = handler(value);
4020
- if(domain)domain.exit();
4021
- }
4022
- if(result === reaction.promise){
4023
- reject(TypeError('Promise-chain cycle'));
4024
- } else if(then = isThenable(result)){
4025
- then.call(result, resolve, reject);
4026
- } else resolve(result);
4027
- } else reject(value);
4028
- } catch(e){
4029
- reject(e);
4030
- }
4031
- };
4032
- while(chain.length > i)run(chain[i++]); // variable length - can't use forEach
4033
- promise._c = [];
4034
- promise._n = false;
4035
- if(isReject && !promise._h)onUnhandled(promise);
4036
- });
4037
- };
4038
- var onUnhandled = function(promise){
4039
- task.call(global, function(){
4040
- var value = promise._v
4041
- , abrupt, handler, console;
4042
- if(isUnhandled(promise)){
4043
- abrupt = perform(function(){
4044
- if(isNode){
4045
- process.emit('unhandledRejection', value, promise);
4046
- } else if(handler = global.onunhandledrejection){
4047
- handler({promise: promise, reason: value});
4048
- } else if((console = global.console) && console.error){
4049
- console.error('Unhandled promise rejection', value);
4050
- }
4051
- });
4052
- // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
4053
- promise._h = isNode || isUnhandled(promise) ? 2 : 1;
4054
- } promise._a = undefined;
4055
- if(abrupt)throw abrupt.error;
4056
- });
4057
- };
4058
- var isUnhandled = function(promise){
4059
- if(promise._h == 1)return false;
4060
- var chain = promise._a || promise._c
4061
- , i = 0
4062
- , reaction;
4063
- while(chain.length > i){
4064
- reaction = chain[i++];
4065
- if(reaction.fail || !isUnhandled(reaction.promise))return false;
4066
- } return true;
4067
- };
4068
- var onHandleUnhandled = function(promise){
4069
- task.call(global, function(){
4070
- var handler;
4071
- if(isNode){
4072
- process.emit('rejectionHandled', promise);
4073
- } else if(handler = global.onrejectionhandled){
4074
- handler({promise: promise, reason: promise._v});
4075
- }
4076
- });
4077
- };
4078
- var $reject = function(value){
4079
- var promise = this;
4080
- if(promise._d)return;
4081
- promise._d = true;
4082
- promise = promise._w || promise; // unwrap
4083
- promise._v = value;
4084
- promise._s = 2;
4085
- if(!promise._a)promise._a = promise._c.slice();
4086
- notify(promise, true);
4087
- };
4088
- var $resolve = function(value){
4089
- var promise = this
4090
- , then;
4091
- if(promise._d)return;
4092
- promise._d = true;
4093
- promise = promise._w || promise; // unwrap
4094
- try {
4095
- if(promise === value)throw TypeError("Promise can't be resolved itself");
4096
- if(then = isThenable(value)){
4097
- microtask(function(){
4098
- var wrapper = {_w: promise, _d: false}; // wrap
4099
- try {
4100
- then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
4101
- } catch(e){
4102
- $reject.call(wrapper, e);
4103
- }
4104
- });
4105
- } else {
4106
- promise._v = value;
4107
- promise._s = 1;
4108
- notify(promise, false);
4109
- }
4110
- } catch(e){
4111
- $reject.call({_w: promise, _d: false}, e); // wrap
4112
- }
4113
- };
4114
-
4115
- // constructor polyfill
4116
- if(!USE_NATIVE){
4117
- // 25.4.3.1 Promise(executor)
4118
- $Promise = function Promise(executor){
4119
- anInstance(this, $Promise, PROMISE, '_h');
4120
- aFunction(executor);
4121
- Internal.call(this);
4122
- try {
4123
- executor(ctx($resolve, this, 1), ctx($reject, this, 1));
4124
- } catch(err){
4125
- $reject.call(this, err);
4126
- }
4127
- };
4128
- Internal = function Promise(executor){
4129
- this._c = []; // <- awaiting reactions
4130
- this._a = undefined; // <- checked in isUnhandled reactions
4131
- this._s = 0; // <- state
4132
- this._d = false; // <- done
4133
- this._v = undefined; // <- value
4134
- this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
4135
- this._n = false; // <- notify
4136
- };
4137
- Internal.prototype = __webpack_require__(202)($Promise.prototype, {
4138
- // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
4139
- then: function then(onFulfilled, onRejected){
4140
- var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
4141
- reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
4142
- reaction.fail = typeof onRejected == 'function' && onRejected;
4143
- reaction.domain = isNode ? process.domain : undefined;
4144
- this._c.push(reaction);
4145
- if(this._a)this._a.push(reaction);
4146
- if(this._s)notify(this, false);
4147
- return reaction.promise;
4148
- },
4149
- // 25.4.5.1 Promise.prototype.catch(onRejected)
4150
- 'catch': function(onRejected){
4151
- return this.then(undefined, onRejected);
4152
- }
4153
- });
4154
- PromiseCapability = function(){
4155
- var promise = new Internal;
4156
- this.promise = promise;
4157
- this.resolve = ctx($resolve, promise, 1);
4158
- this.reject = ctx($reject, promise, 1);
4159
- };
4160
- }
4161
-
4162
- $export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: $Promise});
4163
- __webpack_require__(22)($Promise, PROMISE);
4164
- __webpack_require__(186)(PROMISE);
4165
- Wrapper = __webpack_require__(7)[PROMISE];
4166
-
4167
- // statics
4168
- $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
4169
- // 25.4.4.5 Promise.reject(r)
4170
- reject: function reject(r){
4171
- var capability = newPromiseCapability(this)
4172
- , $$reject = capability.reject;
4173
- $$reject(r);
4174
- return capability.promise;
4175
- }
4176
- });
4177
- $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
4178
- // 25.4.4.6 Promise.resolve(x)
4179
- resolve: function resolve(x){
4180
- // instanceof instead of internal slot check because we should fix it without replacement native Promise core
4181
- if(x instanceof $Promise && sameConstructor(x.constructor, this))return x;
4182
- var capability = newPromiseCapability(this)
4183
- , $$resolve = capability.resolve;
4184
- $$resolve(x);
4185
- return capability.promise;
4186
- }
4187
- });
4188
- $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(157)(function(iter){
4189
- $Promise.all(iter)['catch'](empty);
4190
- })), PROMISE, {
4191
- // 25.4.4.1 Promise.all(iterable)
4192
- all: function all(iterable){
4193
- var C = this
4194
- , capability = newPromiseCapability(C)
4195
- , resolve = capability.resolve
4196
- , reject = capability.reject;
4197
- var abrupt = perform(function(){
4198
- var values = []
4199
- , index = 0
4200
- , remaining = 1;
4201
- forOf(iterable, false, function(promise){
4202
- var $index = index++
4203
- , alreadyCalled = false;
4204
- values.push(undefined);
4205
- remaining++;
4206
- C.resolve(promise).then(function(value){
4207
- if(alreadyCalled)return;
4208
- alreadyCalled = true;
4209
- values[$index] = value;
4210
- --remaining || resolve(values);
4211
- }, reject);
4212
- });
4213
- --remaining || resolve(values);
4214
- });
4215
- if(abrupt)reject(abrupt.error);
4216
- return capability.promise;
4217
- },
4218
- // 25.4.4.4 Promise.race(iterable)
4219
- race: function race(iterable){
4220
- var C = this
4221
- , capability = newPromiseCapability(C)
4222
- , reject = capability.reject;
4223
- var abrupt = perform(function(){
4224
- forOf(iterable, false, function(promise){
4225
- C.resolve(promise).then(capability.resolve, reject);
4226
- });
4227
- });
4228
- if(abrupt)reject(abrupt.error);
4229
- return capability.promise;
4230
- }
4231
- });
4232
-
4233
- /***/ },
4234
- /* 197 */
4235
- /***/ function(module, exports) {
4236
-
4237
- module.exports = function(it, Constructor, name, forbiddenField){
4238
- if(!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)){
4239
- throw TypeError(name + ': incorrect invocation!');
4240
- } return it;
4241
- };
4242
-
4243
- /***/ },
4244
- /* 198 */
4245
- /***/ function(module, exports, __webpack_require__) {
4246
-
4247
- var ctx = __webpack_require__(18)
4248
- , call = __webpack_require__(153)
4249
- , isArrayIter = __webpack_require__(154)
4250
- , anObject = __webpack_require__(10)
4251
- , toLength = __webpack_require__(35)
4252
- , getIterFn = __webpack_require__(156)
4253
- , BREAK = {}
4254
- , RETURN = {};
4255
- var exports = module.exports = function(iterable, entries, fn, that, ITERATOR){
4256
- var iterFn = ITERATOR ? function(){ return iterable; } : getIterFn(iterable)
4257
- , f = ctx(fn, that, entries ? 2 : 1)
4258
- , index = 0
4259
- , length, step, iterator, result;
4260
- if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');
4261
- // fast case for arrays with default iterator
4262
- if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){
4263
- result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
4264
- if(result === BREAK || result === RETURN)return result;
4265
- } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){
4266
- result = call(iterator, f, step.value, entries);
4267
- if(result === BREAK || result === RETURN)return result;
4268
- }
4269
- };
4270
- exports.BREAK = BREAK;
4271
- exports.RETURN = RETURN;
4272
-
4273
- /***/ },
4274
- /* 199 */
4275
- /***/ function(module, exports, __webpack_require__) {
4276
-
4277
- // 7.3.20 SpeciesConstructor(O, defaultConstructor)
4278
- var anObject = __webpack_require__(10)
4279
- , aFunction = __webpack_require__(19)
4280
- , SPECIES = __webpack_require__(23)('species');
4281
- module.exports = function(O, D){
4282
- var C = anObject(O).constructor, S;
4283
- return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
4284
- };
4285
-
4286
- /***/ },
4287
- /* 200 */
4288
- /***/ function(module, exports, __webpack_require__) {
4289
-
4290
- var ctx = __webpack_require__(18)
4291
- , invoke = __webpack_require__(76)
4292
- , html = __webpack_require__(46)
4293
- , cel = __webpack_require__(13)
4294
- , global = __webpack_require__(2)
4295
- , process = global.process
4296
- , setTask = global.setImmediate
4297
- , clearTask = global.clearImmediate
4298
- , MessageChannel = global.MessageChannel
4299
- , counter = 0
4300
- , queue = {}
4301
- , ONREADYSTATECHANGE = 'onreadystatechange'
4302
- , defer, channel, port;
4303
- var run = function(){
4304
- var id = +this;
4305
- if(queue.hasOwnProperty(id)){
4306
- var fn = queue[id];
4307
- delete queue[id];
4308
- fn();
4309
- }
4310
- };
4311
- var listener = function(event){
4312
- run.call(event.data);
4313
- };
4314
- // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
4315
- if(!setTask || !clearTask){
4316
- setTask = function setImmediate(fn){
4317
- var args = [], i = 1;
4318
- while(arguments.length > i)args.push(arguments[i++]);
4319
- queue[++counter] = function(){
4320
- invoke(typeof fn == 'function' ? fn : Function(fn), args);
4321
- };
4322
- defer(counter);
4323
- return counter;
4324
- };
4325
- clearTask = function clearImmediate(id){
4326
- delete queue[id];
4327
- };
4328
- // Node.js 0.8-
4329
- if(__webpack_require__(32)(process) == 'process'){
4330
- defer = function(id){
4331
- process.nextTick(ctx(run, id, 1));
4332
- };
4333
- // Browsers with MessageChannel, includes WebWorkers
4334
- } else if(MessageChannel){
4335
- channel = new MessageChannel;
4336
- port = channel.port2;
4337
- channel.port1.onmessage = listener;
4338
- defer = ctx(port.postMessage, port, 1);
4339
- // Browsers with postMessage, skip WebWorkers
4340
- // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
4341
- } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){
4342
- defer = function(id){
4343
- global.postMessage(id + '', '*');
4344
- };
4345
- global.addEventListener('message', listener, false);
4346
- // IE8-
4347
- } else if(ONREADYSTATECHANGE in cel('script')){
4348
- defer = function(id){
4349
- html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){
4350
- html.removeChild(this);
4351
- run.call(id);
4352
- };
4353
- };
4354
- // Rest old browsers
4355
- } else {
4356
- defer = function(id){
4357
- setTimeout(ctx(run, id, 1), 0);
4358
- };
4359
- }
4360
- }
4361
- module.exports = {
4362
- set: setTask,
4363
- clear: clearTask
4364
- };
4365
-
4366
- /***/ },
4367
- /* 201 */
4368
- /***/ function(module, exports, __webpack_require__) {
4369
-
4370
- var global = __webpack_require__(2)
4371
- , macrotask = __webpack_require__(200).set
4372
- , Observer = global.MutationObserver || global.WebKitMutationObserver
4373
- , process = global.process
4374
- , Promise = global.Promise
4375
- , isNode = __webpack_require__(32)(process) == 'process';
4376
-
4377
- module.exports = function(){
4378
- var head, last, notify;
4379
-
4380
- var flush = function(){
4381
- var parent, fn;
4382
- if(isNode && (parent = process.domain))parent.exit();
4383
- while(head){
4384
- fn = head.fn;
4385
- head = head.next;
4386
- try {
4387
- fn();
4388
- } catch(e){
4389
- if(head)notify();
4390
- else last = undefined;
4391
- throw e;
4392
- }
4393
- } last = undefined;
4394
- if(parent)parent.enter();
4395
- };
4396
-
4397
- // Node.js
4398
- if(isNode){
4399
- notify = function(){
4400
- process.nextTick(flush);
4401
- };
4402
- // browsers with MutationObserver
4403
- } else if(Observer){
4404
- var toggle = true
4405
- , node = document.createTextNode('');
4406
- new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new
4407
- notify = function(){
4408
- node.data = toggle = !toggle;
4409
- };
4410
- // environments with maybe non-completely correct, but existent Promise
4411
- } else if(Promise && Promise.resolve){
4412
- var promise = Promise.resolve();
4413
- notify = function(){
4414
- promise.then(flush);
4415
- };
4416
- // for other environments - macrotask based on:
4417
- // - setImmediate
4418
- // - MessageChannel
4419
- // - window.postMessag
4420
- // - onreadystatechange
4421
- // - setTimeout
4422
- } else {
4423
- notify = function(){
4424
- // strange IE + webpack dev server bug - use .call(global)
4425
- macrotask.call(global, flush);
4426
- };
4427
- }
4428
-
4429
- return function(fn){
4430
- var task = {fn: fn, next: undefined};
4431
- if(last)last.next = task;
4432
- if(!head){
4433
- head = task;
4434
- notify();
4435
- } last = task;
4436
- };
4437
- };
4438
-
4439
- /***/ },
4440
- /* 202 */
4441
- /***/ function(module, exports, __webpack_require__) {
4442
-
4443
- var redefine = __webpack_require__(16);
4444
- module.exports = function(target, src, safe){
4445
- for(var key in src)redefine(target, key, src[key], safe);
4446
- return target;
4447
- };
4448
-
4449
- /***/ },
4450
- /* 203 */
4451
- /***/ function(module, exports, __webpack_require__) {
4452
-
4453
- 'use strict';
4454
- var strong = __webpack_require__(204);
4455
-
4456
- // 23.1 Map Objects
4457
- module.exports = __webpack_require__(205)('Map', function(get){
4458
- return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
4459
- }, {
4460
- // 23.1.3.6 Map.prototype.get(key)
4461
- get: function get(key){
4462
- var entry = strong.getEntry(this, key);
4463
- return entry && entry.v;
4464
- },
4465
- // 23.1.3.9 Map.prototype.set(key, value)
4466
- set: function set(key, value){
4467
- return strong.def(this, key === 0 ? 0 : key, value);
4468
- }
4469
- }, strong, true);
4470
-
4471
- /***/ },
4472
- /* 204 */
4473
- /***/ function(module, exports, __webpack_require__) {
4474
-
4475
- 'use strict';
4476
- var dP = __webpack_require__(9).f
4477
- , create = __webpack_require__(44)
4478
- , redefineAll = __webpack_require__(202)
4479
- , ctx = __webpack_require__(18)
4480
- , anInstance = __webpack_require__(197)
4481
- , defined = __webpack_require__(33)
4482
- , forOf = __webpack_require__(198)
4483
- , $iterDefine = __webpack_require__(134)
4484
- , step = __webpack_require__(184)
4485
- , setSpecies = __webpack_require__(186)
4486
- , DESCRIPTORS = __webpack_require__(4)
4487
- , fastKey = __webpack_require__(20).fastKey
4488
- , SIZE = DESCRIPTORS ? '_s' : 'size';
4489
-
4490
- var getEntry = function(that, key){
4491
- // fast case
4492
- var index = fastKey(key), entry;
4493
- if(index !== 'F')return that._i[index];
4494
- // frozen object case
4495
- for(entry = that._f; entry; entry = entry.n){
4496
- if(entry.k == key)return entry;
4497
- }
4498
- };
4499
-
4500
- module.exports = {
4501
- getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
4502
- var C = wrapper(function(that, iterable){
4503
- anInstance(that, C, NAME, '_i');
4504
- that._i = create(null); // index
4505
- that._f = undefined; // first entry
4506
- that._l = undefined; // last entry
4507
- that[SIZE] = 0; // size
4508
- if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
4509
- });
4510
- redefineAll(C.prototype, {
4511
- // 23.1.3.1 Map.prototype.clear()
4512
- // 23.2.3.2 Set.prototype.clear()
4513
- clear: function clear(){
4514
- for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){
4515
- entry.r = true;
4516
- if(entry.p)entry.p = entry.p.n = undefined;
4517
- delete data[entry.i];
4518
- }
4519
- that._f = that._l = undefined;
4520
- that[SIZE] = 0;
4521
- },
4522
- // 23.1.3.3 Map.prototype.delete(key)
4523
- // 23.2.3.4 Set.prototype.delete(value)
4524
- 'delete': function(key){
4525
- var that = this
4526
- , entry = getEntry(that, key);
4527
- if(entry){
4528
- var next = entry.n
4529
- , prev = entry.p;
4530
- delete that._i[entry.i];
4531
- entry.r = true;
4532
- if(prev)prev.n = next;
4533
- if(next)next.p = prev;
4534
- if(that._f == entry)that._f = next;
4535
- if(that._l == entry)that._l = prev;
4536
- that[SIZE]--;
4537
- } return !!entry;
4538
- },
4539
- // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
4540
- // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
4541
- forEach: function forEach(callbackfn /*, that = undefined */){
4542
- anInstance(this, C, 'forEach');
4543
- var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)
4544
- , entry;
4545
- while(entry = entry ? entry.n : this._f){
4546
- f(entry.v, entry.k, this);
4547
- // revert to the last existing entry
4548
- while(entry && entry.r)entry = entry.p;
4549
- }
4550
- },
4551
- // 23.1.3.7 Map.prototype.has(key)
4552
- // 23.2.3.7 Set.prototype.has(value)
4553
- has: function has(key){
4554
- return !!getEntry(this, key);
4555
- }
4556
- });
4557
- if(DESCRIPTORS)dP(C.prototype, 'size', {
4558
- get: function(){
4559
- return defined(this[SIZE]);
4560
- }
4561
- });
4562
- return C;
4563
- },
4564
- def: function(that, key, value){
4565
- var entry = getEntry(that, key)
4566
- , prev, index;
4567
- // change existing entry
4568
- if(entry){
4569
- entry.v = value;
4570
- // create new entry
4571
- } else {
4572
- that._l = entry = {
4573
- i: index = fastKey(key, true), // <- index
4574
- k: key, // <- key
4575
- v: value, // <- value
4576
- p: prev = that._l, // <- previous entry
4577
- n: undefined, // <- next entry
4578
- r: false // <- removed
4579
- };
4580
- if(!that._f)that._f = entry;
4581
- if(prev)prev.n = entry;
4582
- that[SIZE]++;
4583
- // add to index
4584
- if(index !== 'F')that._i[index] = entry;
4585
- } return that;
4586
- },
4587
- getEntry: getEntry,
4588
- setStrong: function(C, NAME, IS_MAP){
4589
- // add .keys, .values, .entries, [@@iterator]
4590
- // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11
4591
- $iterDefine(C, NAME, function(iterated, kind){
4592
- this._t = iterated; // target
4593
- this._k = kind; // kind
4594
- this._l = undefined; // previous
4595
- }, function(){
4596
- var that = this
4597
- , kind = that._k
4598
- , entry = that._l;
4599
- // revert to the last existing entry
4600
- while(entry && entry.r)entry = entry.p;
4601
- // get next entry
4602
- if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){
4603
- // or finish the iteration
4604
- that._t = undefined;
4605
- return step(1);
4606
- }
4607
- // return step by kind
4608
- if(kind == 'keys' )return step(0, entry.k);
4609
- if(kind == 'values')return step(0, entry.v);
4610
- return step(0, [entry.k, entry.v]);
4611
- }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);
4612
-
4613
- // add [@@species], 23.1.2.2, 23.2.2.2
4614
- setSpecies(NAME);
4615
- }
4616
- };
4617
-
4618
- /***/ },
4619
- /* 205 */
4620
- /***/ function(module, exports, __webpack_require__) {
4621
-
4622
- 'use strict';
4623
- var global = __webpack_require__(2)
4624
- , $export = __webpack_require__(6)
4625
- , redefine = __webpack_require__(16)
4626
- , redefineAll = __webpack_require__(202)
4627
- , meta = __webpack_require__(20)
4628
- , forOf = __webpack_require__(198)
4629
- , anInstance = __webpack_require__(197)
4630
- , isObject = __webpack_require__(11)
4631
- , fails = __webpack_require__(5)
4632
- , $iterDetect = __webpack_require__(157)
4633
- , setToStringTag = __webpack_require__(22)
4634
- , inheritIfRequired = __webpack_require__(80);
4635
-
4636
- module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
4637
- var Base = global[NAME]
4638
- , C = Base
4639
- , ADDER = IS_MAP ? 'set' : 'add'
4640
- , proto = C && C.prototype
4641
- , O = {};
4642
- var fixMethod = function(KEY){
4643
- var fn = proto[KEY];
4644
- redefine(proto, KEY,
4645
- KEY == 'delete' ? function(a){
4646
- return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
4647
- } : KEY == 'has' ? function has(a){
4648
- return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
4649
- } : KEY == 'get' ? function get(a){
4650
- return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);
4651
- } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }
4652
- : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }
4653
- );
4654
- };
4655
- if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){
4656
- new C().entries().next();
4657
- }))){
4658
- // create collection constructor
4659
- C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
4660
- redefineAll(C.prototype, methods);
4661
- meta.NEED = true;
4662
- } else {
4663
- var instance = new C
4664
- // early implementations not supports chaining
4665
- , HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance
4666
- // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
4667
- , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })
4668
- // most early implementations doesn't supports iterables, most modern - not close it correctly
4669
- , ACCEPT_ITERABLES = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new
4670
- // for early implementations -0 and +0 not the same
4671
- , BUGGY_ZERO = !IS_WEAK && fails(function(){
4672
- // V8 ~ Chromium 42- fails only with 5+ elements
4673
- var $instance = new C()
4674
- , index = 5;
4675
- while(index--)$instance[ADDER](index, index);
4676
- return !$instance.has(-0);
4677
- });
4678
- if(!ACCEPT_ITERABLES){
4679
- C = wrapper(function(target, iterable){
4680
- anInstance(target, C, NAME);
4681
- var that = inheritIfRequired(new Base, target, C);
4682
- if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
4683
- return that;
4684
- });
4685
- C.prototype = proto;
4686
- proto.constructor = C;
4687
- }
4688
- if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){
4689
- fixMethod('delete');
4690
- fixMethod('has');
4691
- IS_MAP && fixMethod('get');
4692
- }
4693
- if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);
4694
- // weak collections should not contains .clear method
4695
- if(IS_WEAK && proto.clear)delete proto.clear;
4696
- }
4697
-
4698
- setToStringTag(C, NAME);
4699
-
4700
- O[NAME] = C;
4701
- $export($export.G + $export.W + $export.F * (C != Base), O);
4702
-
4703
- if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);
4704
-
4705
- return C;
4706
- };
4707
-
4708
- /***/ },
4709
- /* 206 */
4710
- /***/ function(module, exports, __webpack_require__) {
4711
-
4712
- 'use strict';
4713
- var strong = __webpack_require__(204);
4714
-
4715
- // 23.2 Set Objects
4716
- module.exports = __webpack_require__(205)('Set', function(get){
4717
- return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
4718
- }, {
4719
- // 23.2.3.1 Set.prototype.add(value)
4720
- add: function add(value){
4721
- return strong.def(this, value = value === 0 ? 0 : value, value);
4722
- }
4723
- }, strong);
4724
-
4725
- /***/ },
4726
- /* 207 */
4727
- /***/ function(module, exports, __webpack_require__) {
4728
-
4729
- 'use strict';
4730
- var each = __webpack_require__(164)(0)
4731
- , redefine = __webpack_require__(16)
4732
- , meta = __webpack_require__(20)
4733
- , assign = __webpack_require__(67)
4734
- , weak = __webpack_require__(208)
4735
- , isObject = __webpack_require__(11)
4736
- , getWeak = meta.getWeak
4737
- , isExtensible = Object.isExtensible
4738
- , uncaughtFrozenStore = weak.ufstore
4739
- , tmp = {}
4740
- , InternalMap;
4741
-
4742
- var wrapper = function(get){
4743
- return function WeakMap(){
4744
- return get(this, arguments.length > 0 ? arguments[0] : undefined);
4745
- };
4746
- };
4747
-
4748
- var methods = {
4749
- // 23.3.3.3 WeakMap.prototype.get(key)
4750
- get: function get(key){
4751
- if(isObject(key)){
4752
- var data = getWeak(key);
4753
- if(data === true)return uncaughtFrozenStore(this).get(key);
4754
- return data ? data[this._i] : undefined;
4755
- }
4756
- },
4757
- // 23.3.3.5 WeakMap.prototype.set(key, value)
4758
- set: function set(key, value){
4759
- return weak.def(this, key, value);
4760
- }
4761
- };
4762
-
4763
- // 23.3 WeakMap Objects
4764
- var $WeakMap = module.exports = __webpack_require__(205)('WeakMap', wrapper, methods, weak, true, true);
4765
-
4766
- // IE11 WeakMap frozen keys fix
4767
- if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
4768
- InternalMap = weak.getConstructor(wrapper);
4769
- assign(InternalMap.prototype, methods);
4770
- meta.NEED = true;
4771
- each(['delete', 'has', 'get', 'set'], function(key){
4772
- var proto = $WeakMap.prototype
4773
- , method = proto[key];
4774
- redefine(proto, key, function(a, b){
4775
- // store frozen objects on internal weakmap shim
4776
- if(isObject(a) && !isExtensible(a)){
4777
- if(!this._f)this._f = new InternalMap;
4778
- var result = this._f[key](a, b);
4779
- return key == 'set' ? this : result;
4780
- // store all the rest on native weakmap
4781
- } return method.call(this, a, b);
4782
- });
4783
- });
4784
- }
4785
-
4786
- /***/ },
4787
- /* 208 */
4788
- /***/ function(module, exports, __webpack_require__) {
4789
-
4790
- 'use strict';
4791
- var redefineAll = __webpack_require__(202)
4792
- , getWeak = __webpack_require__(20).getWeak
4793
- , anObject = __webpack_require__(10)
4794
- , isObject = __webpack_require__(11)
4795
- , anInstance = __webpack_require__(197)
4796
- , forOf = __webpack_require__(198)
4797
- , createArrayMethod = __webpack_require__(164)
4798
- , $has = __webpack_require__(3)
4799
- , arrayFind = createArrayMethod(5)
4800
- , arrayFindIndex = createArrayMethod(6)
4801
- , id = 0;
4802
-
4803
- // fallback for uncaught frozen keys
4804
- var uncaughtFrozenStore = function(that){
4805
- return that._l || (that._l = new UncaughtFrozenStore);
4806
- };
4807
- var UncaughtFrozenStore = function(){
4808
- this.a = [];
4809
- };
4810
- var findUncaughtFrozen = function(store, key){
4811
- return arrayFind(store.a, function(it){
4812
- return it[0] === key;
4813
- });
4814
- };
4815
- UncaughtFrozenStore.prototype = {
4816
- get: function(key){
4817
- var entry = findUncaughtFrozen(this, key);
4818
- if(entry)return entry[1];
4819
- },
4820
- has: function(key){
4821
- return !!findUncaughtFrozen(this, key);
4822
- },
4823
- set: function(key, value){
4824
- var entry = findUncaughtFrozen(this, key);
4825
- if(entry)entry[1] = value;
4826
- else this.a.push([key, value]);
4827
- },
4828
- 'delete': function(key){
4829
- var index = arrayFindIndex(this.a, function(it){
4830
- return it[0] === key;
4831
- });
4832
- if(~index)this.a.splice(index, 1);
4833
- return !!~index;
4834
- }
4835
- };
4836
-
4837
- module.exports = {
4838
- getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
4839
- var C = wrapper(function(that, iterable){
4840
- anInstance(that, C, NAME, '_i');
4841
- that._i = id++; // collection id
4842
- that._l = undefined; // leak store for uncaught frozen objects
4843
- if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
4844
- });
4845
- redefineAll(C.prototype, {
4846
- // 23.3.3.2 WeakMap.prototype.delete(key)
4847
- // 23.4.3.3 WeakSet.prototype.delete(value)
4848
- 'delete': function(key){
4849
- if(!isObject(key))return false;
4850
- var data = getWeak(key);
4851
- if(data === true)return uncaughtFrozenStore(this)['delete'](key);
4852
- return data && $has(data, this._i) && delete data[this._i];
4853
- },
4854
- // 23.3.3.4 WeakMap.prototype.has(key)
4855
- // 23.4.3.4 WeakSet.prototype.has(value)
4856
- has: function has(key){
4857
- if(!isObject(key))return false;
4858
- var data = getWeak(key);
4859
- if(data === true)return uncaughtFrozenStore(this).has(key);
4860
- return data && $has(data, this._i);
4861
- }
4862
- });
4863
- return C;
4864
- },
4865
- def: function(that, key, value){
4866
- var data = getWeak(anObject(key), true);
4867
- if(data === true)uncaughtFrozenStore(that).set(key, value);
4868
- else data[that._i] = value;
4869
- return that;
4870
- },
4871
- ufstore: uncaughtFrozenStore
4872
- };
4873
-
4874
- /***/ },
4875
- /* 209 */
4876
- /***/ function(module, exports, __webpack_require__) {
4877
-
4878
- 'use strict';
4879
- var weak = __webpack_require__(208);
4880
-
4881
- // 23.4 WeakSet Objects
4882
- __webpack_require__(205)('WeakSet', function(get){
4883
- return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
4884
- }, {
4885
- // 23.4.3.1 WeakSet.prototype.add(value)
4886
- add: function add(value){
4887
- return weak.def(this, value, true);
4888
- }
4889
- }, weak, false, true);
4890
-
4891
- /***/ },
4892
- /* 210 */
4893
- /***/ function(module, exports, __webpack_require__) {
4894
-
4895
- // 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
4896
- var $export = __webpack_require__(6)
4897
- , aFunction = __webpack_require__(19)
4898
- , anObject = __webpack_require__(10)
4899
- , rApply = (__webpack_require__(2).Reflect || {}).apply
4900
- , fApply = Function.apply;
4901
- // MS Edge argumentsList argument is optional
4902
- $export($export.S + $export.F * !__webpack_require__(5)(function(){
4903
- rApply(function(){});
4904
- }), 'Reflect', {
4905
- apply: function apply(target, thisArgument, argumentsList){
4906
- var T = aFunction(target)
4907
- , L = anObject(argumentsList);
4908
- return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);
4909
- }
4910
- });
4911
-
4912
- /***/ },
4913
- /* 211 */
4914
- /***/ function(module, exports, __webpack_require__) {
4915
-
4916
- // 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
4917
- var $export = __webpack_require__(6)
4918
- , create = __webpack_require__(44)
4919
- , aFunction = __webpack_require__(19)
4920
- , anObject = __webpack_require__(10)
4921
- , isObject = __webpack_require__(11)
4922
- , fails = __webpack_require__(5)
4923
- , bind = __webpack_require__(75)
4924
- , rConstruct = (__webpack_require__(2).Reflect || {}).construct;
4925
-
4926
- // MS Edge supports only 2 arguments and argumentsList argument is optional
4927
- // FF Nightly sets third argument as `new.target`, but does not create `this` from it
4928
- var NEW_TARGET_BUG = fails(function(){
4929
- function F(){}
4930
- return !(rConstruct(function(){}, [], F) instanceof F);
4931
- });
4932
- var ARGS_BUG = !fails(function(){
4933
- rConstruct(function(){});
4934
- });
4935
-
4936
- $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
4937
- construct: function construct(Target, args /*, newTarget*/){
4938
- aFunction(Target);
4939
- anObject(args);
4940
- var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
4941
- if(ARGS_BUG && !NEW_TARGET_BUG)return rConstruct(Target, args, newTarget);
4942
- if(Target == newTarget){
4943
- // w/o altered newTarget, optimization for 0-4 arguments
4944
- switch(args.length){
4945
- case 0: return new Target;
4946
- case 1: return new Target(args[0]);
4947
- case 2: return new Target(args[0], args[1]);
4948
- case 3: return new Target(args[0], args[1], args[2]);
4949
- case 4: return new Target(args[0], args[1], args[2], args[3]);
4950
- }
4951
- // w/o altered newTarget, lot of arguments case
4952
- var $args = [null];
4953
- $args.push.apply($args, args);
4954
- return new (bind.apply(Target, $args));
4955
- }
4956
- // with altered newTarget, not support built-in constructors
4957
- var proto = newTarget.prototype
4958
- , instance = create(isObject(proto) ? proto : Object.prototype)
4959
- , result = Function.apply.call(Target, instance, args);
4960
- return isObject(result) ? result : instance;
4961
- }
4962
- });
4963
-
4964
- /***/ },
4965
- /* 212 */
4966
- /***/ function(module, exports, __webpack_require__) {
4967
-
4968
- // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
4969
- var dP = __webpack_require__(9)
4970
- , $export = __webpack_require__(6)
4971
- , anObject = __webpack_require__(10)
4972
- , toPrimitive = __webpack_require__(14);
4973
-
4974
- // MS Edge has broken Reflect.defineProperty - throwing instead of returning false
4975
- $export($export.S + $export.F * __webpack_require__(5)(function(){
4976
- Reflect.defineProperty(dP.f({}, 1, {value: 1}), 1, {value: 2});
4977
- }), 'Reflect', {
4978
- defineProperty: function defineProperty(target, propertyKey, attributes){
4979
- anObject(target);
4980
- propertyKey = toPrimitive(propertyKey, true);
4981
- anObject(attributes);
4982
- try {
4983
- dP.f(target, propertyKey, attributes);
4984
- return true;
4985
- } catch(e){
4986
- return false;
4987
- }
4988
- }
4989
- });
4990
-
4991
- /***/ },
4992
- /* 213 */
4993
- /***/ function(module, exports, __webpack_require__) {
4994
-
4995
- // 26.1.4 Reflect.deleteProperty(target, propertyKey)
4996
- var $export = __webpack_require__(6)
4997
- , gOPD = __webpack_require__(49).f
4998
- , anObject = __webpack_require__(10);
4999
-
5000
- $export($export.S, 'Reflect', {
5001
- deleteProperty: function deleteProperty(target, propertyKey){
5002
- var desc = gOPD(anObject(target), propertyKey);
5003
- return desc && !desc.configurable ? false : delete target[propertyKey];
5004
- }
5005
- });
5006
-
5007
- /***/ },
5008
- /* 214 */
5009
- /***/ function(module, exports, __webpack_require__) {
5010
-
5011
- 'use strict';
5012
- // 26.1.5 Reflect.enumerate(target)
5013
- var $export = __webpack_require__(6)
5014
- , anObject = __webpack_require__(10);
5015
- var Enumerate = function(iterated){
5016
- this._t = anObject(iterated); // target
5017
- this._i = 0; // next index
5018
- var keys = this._k = [] // keys
5019
- , key;
5020
- for(key in iterated)keys.push(key);
5021
- };
5022
- __webpack_require__(136)(Enumerate, 'Object', function(){
5023
- var that = this
5024
- , keys = that._k
5025
- , key;
5026
- do {
5027
- if(that._i >= keys.length)return {value: undefined, done: true};
5028
- } while(!((key = keys[that._i++]) in that._t));
5029
- return {value: key, done: false};
5030
- });
5031
-
5032
- $export($export.S, 'Reflect', {
5033
- enumerate: function enumerate(target){
5034
- return new Enumerate(target);
5035
- }
5036
- });
5037
-
5038
- /***/ },
5039
- /* 215 */
5040
- /***/ function(module, exports, __webpack_require__) {
5041
-
5042
- // 26.1.6 Reflect.get(target, propertyKey [, receiver])
5043
- var gOPD = __webpack_require__(49)
5044
- , getPrototypeOf = __webpack_require__(57)
5045
- , has = __webpack_require__(3)
5046
- , $export = __webpack_require__(6)
5047
- , isObject = __webpack_require__(11)
5048
- , anObject = __webpack_require__(10);
5049
-
5050
- function get(target, propertyKey/*, receiver*/){
5051
- var receiver = arguments.length < 3 ? target : arguments[2]
5052
- , desc, proto;
5053
- if(anObject(target) === receiver)return target[propertyKey];
5054
- if(desc = gOPD.f(target, propertyKey))return has(desc, 'value')
5055
- ? desc.value
5056
- : desc.get !== undefined
5057
- ? desc.get.call(receiver)
5058
- : undefined;
5059
- if(isObject(proto = getPrototypeOf(target)))return get(proto, propertyKey, receiver);
5060
- }
5061
-
5062
- $export($export.S, 'Reflect', {get: get});
5063
-
5064
- /***/ },
5065
- /* 216 */
5066
- /***/ function(module, exports, __webpack_require__) {
5067
-
5068
- // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
5069
- var gOPD = __webpack_require__(49)
5070
- , $export = __webpack_require__(6)
5071
- , anObject = __webpack_require__(10);
5072
-
5073
- $export($export.S, 'Reflect', {
5074
- getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){
5075
- return gOPD.f(anObject(target), propertyKey);
5076
- }
5077
- });
5078
-
5079
- /***/ },
5080
- /* 217 */
5081
- /***/ function(module, exports, __webpack_require__) {
5082
-
5083
- // 26.1.8 Reflect.getPrototypeOf(target)
5084
- var $export = __webpack_require__(6)
5085
- , getProto = __webpack_require__(57)
5086
- , anObject = __webpack_require__(10);
5087
-
5088
- $export($export.S, 'Reflect', {
5089
- getPrototypeOf: function getPrototypeOf(target){
5090
- return getProto(anObject(target));
5091
- }
5092
- });
5093
-
5094
- /***/ },
5095
- /* 218 */
5096
- /***/ function(module, exports, __webpack_require__) {
5097
-
5098
- // 26.1.9 Reflect.has(target, propertyKey)
5099
- var $export = __webpack_require__(6);
5100
-
5101
- $export($export.S, 'Reflect', {
5102
- has: function has(target, propertyKey){
5103
- return propertyKey in target;
5104
- }
5105
- });
5106
-
5107
- /***/ },
5108
- /* 219 */
5109
- /***/ function(module, exports, __webpack_require__) {
5110
-
5111
- // 26.1.10 Reflect.isExtensible(target)
5112
- var $export = __webpack_require__(6)
5113
- , anObject = __webpack_require__(10)
5114
- , $isExtensible = Object.isExtensible;
5115
-
5116
- $export($export.S, 'Reflect', {
5117
- isExtensible: function isExtensible(target){
5118
- anObject(target);
5119
- return $isExtensible ? $isExtensible(target) : true;
5120
- }
5121
- });
5122
-
5123
- /***/ },
5124
- /* 220 */
5125
- /***/ function(module, exports, __webpack_require__) {
5126
-
5127
- // 26.1.11 Reflect.ownKeys(target)
5128
- var $export = __webpack_require__(6);
5129
-
5130
- $export($export.S, 'Reflect', {ownKeys: __webpack_require__(221)});
5131
-
5132
- /***/ },
5133
- /* 221 */
5134
- /***/ function(module, exports, __webpack_require__) {
5135
-
5136
- // all object keys, includes non-enumerable and symbols
5137
- var gOPN = __webpack_require__(48)
5138
- , gOPS = __webpack_require__(41)
5139
- , anObject = __webpack_require__(10)
5140
- , Reflect = __webpack_require__(2).Reflect;
5141
- module.exports = Reflect && Reflect.ownKeys || function ownKeys(it){
5142
- var keys = gOPN.f(anObject(it))
5143
- , getSymbols = gOPS.f;
5144
- return getSymbols ? keys.concat(getSymbols(it)) : keys;
5145
- };
5146
-
5147
- /***/ },
5148
- /* 222 */
5149
- /***/ function(module, exports, __webpack_require__) {
5150
-
5151
- // 26.1.12 Reflect.preventExtensions(target)
5152
- var $export = __webpack_require__(6)
5153
- , anObject = __webpack_require__(10)
5154
- , $preventExtensions = Object.preventExtensions;
5155
-
5156
- $export($export.S, 'Reflect', {
5157
- preventExtensions: function preventExtensions(target){
5158
- anObject(target);
5159
- try {
5160
- if($preventExtensions)$preventExtensions(target);
5161
- return true;
5162
- } catch(e){
5163
- return false;
5164
- }
5165
- }
5166
- });
5167
-
5168
- /***/ },
5169
- /* 223 */
5170
- /***/ function(module, exports, __webpack_require__) {
5171
-
5172
- // 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
5173
- var dP = __webpack_require__(9)
5174
- , gOPD = __webpack_require__(49)
5175
- , getPrototypeOf = __webpack_require__(57)
5176
- , has = __webpack_require__(3)
5177
- , $export = __webpack_require__(6)
5178
- , createDesc = __webpack_require__(15)
5179
- , anObject = __webpack_require__(10)
5180
- , isObject = __webpack_require__(11);
5181
-
5182
- function set(target, propertyKey, V/*, receiver*/){
5183
- var receiver = arguments.length < 4 ? target : arguments[3]
5184
- , ownDesc = gOPD.f(anObject(target), propertyKey)
5185
- , existingDescriptor, proto;
5186
- if(!ownDesc){
5187
- if(isObject(proto = getPrototypeOf(target))){
5188
- return set(proto, propertyKey, V, receiver);
5189
- }
5190
- ownDesc = createDesc(0);
5191
- }
5192
- if(has(ownDesc, 'value')){
5193
- if(ownDesc.writable === false || !isObject(receiver))return false;
5194
- existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);
5195
- existingDescriptor.value = V;
5196
- dP.f(receiver, propertyKey, existingDescriptor);
5197
- return true;
5198
- }
5199
- return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
5200
- }
5201
-
5202
- $export($export.S, 'Reflect', {set: set});
5203
-
5204
- /***/ },
5205
- /* 224 */
5206
- /***/ function(module, exports, __webpack_require__) {
5207
-
5208
- // 26.1.14 Reflect.setPrototypeOf(target, proto)
5209
- var $export = __webpack_require__(6)
5210
- , setProto = __webpack_require__(71);
5211
-
5212
- if(setProto)$export($export.S, 'Reflect', {
5213
- setPrototypeOf: function setPrototypeOf(target, proto){
5214
- setProto.check(target, proto);
5215
- try {
5216
- setProto.set(target, proto);
5217
- return true;
5218
- } catch(e){
5219
- return false;
5220
- }
5221
- }
5222
- });
5223
-
5224
- /***/ },
5225
- /* 225 */
5226
- /***/ function(module, exports, __webpack_require__) {
5227
-
5228
- // 20.3.3.1 / 15.9.4.4 Date.now()
5229
- var $export = __webpack_require__(6);
5230
-
5231
- $export($export.S, 'Date', {now: function(){ return new Date().getTime(); }});
5232
-
5233
- /***/ },
5234
- /* 226 */
5235
- /***/ function(module, exports, __webpack_require__) {
5236
-
5237
- 'use strict';
5238
- var $export = __webpack_require__(6)
5239
- , toObject = __webpack_require__(56)
5240
- , toPrimitive = __webpack_require__(14);
5241
-
5242
- $export($export.P + $export.F * __webpack_require__(5)(function(){
5243
- return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({toISOString: function(){ return 1; }}) !== 1;
5244
- }), 'Date', {
5245
- toJSON: function toJSON(key){
5246
- var O = toObject(this)
5247
- , pv = toPrimitive(O);
5248
- return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();
5249
- }
5250
- });
5251
-
5252
- /***/ },
5253
- /* 227 */
5254
- /***/ function(module, exports, __webpack_require__) {
5255
-
5256
- 'use strict';
5257
- // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
5258
- var $export = __webpack_require__(6)
5259
- , fails = __webpack_require__(5)
5260
- , getTime = Date.prototype.getTime;
5261
-
5262
- var lz = function(num){
5263
- return num > 9 ? num : '0' + num;
5264
- };
5265
-
5266
- // PhantomJS / old WebKit has a broken implementations
5267
- $export($export.P + $export.F * (fails(function(){
5268
- return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';
5269
- }) || !fails(function(){
5270
- new Date(NaN).toISOString();
5271
- })), 'Date', {
5272
- toISOString: function toISOString(){
5273
- if(!isFinite(getTime.call(this)))throw RangeError('Invalid time value');
5274
- var d = this
5275
- , y = d.getUTCFullYear()
5276
- , m = d.getUTCMilliseconds()
5277
- , s = y < 0 ? '-' : y > 9999 ? '+' : '';
5278
- return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +
5279
- '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +
5280
- 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +
5281
- ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
5282
- }
5283
- });
5284
-
5285
- /***/ },
5286
- /* 228 */
5287
- /***/ function(module, exports, __webpack_require__) {
5288
-
5289
- var DateProto = Date.prototype
5290
- , INVALID_DATE = 'Invalid Date'
5291
- , TO_STRING = 'toString'
5292
- , $toString = DateProto[TO_STRING]
5293
- , getTime = DateProto.getTime;
5294
- if(new Date(NaN) + '' != INVALID_DATE){
5295
- __webpack_require__(16)(DateProto, TO_STRING, function toString(){
5296
- var value = getTime.call(this);
5297
- return value === value ? $toString.call(this) : INVALID_DATE;
5298
- });
5299
- }
5300
-
5301
- /***/ },
5302
- /* 229 */
5303
- /***/ function(module, exports, __webpack_require__) {
5304
-
5305
- var TO_PRIMITIVE = __webpack_require__(23)('toPrimitive')
5306
- , proto = Date.prototype;
5307
-
5308
- if(!(TO_PRIMITIVE in proto))__webpack_require__(8)(proto, TO_PRIMITIVE, __webpack_require__(230));
5309
-
5310
- /***/ },
5311
- /* 230 */
5312
- /***/ function(module, exports, __webpack_require__) {
5313
-
5314
- 'use strict';
5315
- var anObject = __webpack_require__(10)
5316
- , toPrimitive = __webpack_require__(14)
5317
- , NUMBER = 'number';
5318
-
5319
- module.exports = function(hint){
5320
- if(hint !== 'string' && hint !== NUMBER && hint !== 'default')throw TypeError('Incorrect hint');
5321
- return toPrimitive(anObject(this), hint != NUMBER);
5322
- };
5323
-
5324
- /***/ },
5325
- /* 231 */
5326
- /***/ function(module, exports, __webpack_require__) {
5327
-
5328
- 'use strict';
5329
- var $export = __webpack_require__(6)
5330
- , $typed = __webpack_require__(232)
5331
- , buffer = __webpack_require__(233)
5332
- , anObject = __webpack_require__(10)
5333
- , toIndex = __webpack_require__(37)
5334
- , toLength = __webpack_require__(35)
5335
- , isObject = __webpack_require__(11)
5336
- , ArrayBuffer = __webpack_require__(2).ArrayBuffer
5337
- , speciesConstructor = __webpack_require__(199)
5338
- , $ArrayBuffer = buffer.ArrayBuffer
5339
- , $DataView = buffer.DataView
5340
- , $isView = $typed.ABV && ArrayBuffer.isView
5341
- , $slice = $ArrayBuffer.prototype.slice
5342
- , VIEW = $typed.VIEW
5343
- , ARRAY_BUFFER = 'ArrayBuffer';
5344
-
5345
- $export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), {ArrayBuffer: $ArrayBuffer});
5346
-
5347
- $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {
5348
- // 24.1.3.1 ArrayBuffer.isView(arg)
5349
- isView: function isView(it){
5350
- return $isView && $isView(it) || isObject(it) && VIEW in it;
5351
- }
5352
- });
5353
-
5354
- $export($export.P + $export.U + $export.F * __webpack_require__(5)(function(){
5355
- return !new $ArrayBuffer(2).slice(1, undefined).byteLength;
5356
- }), ARRAY_BUFFER, {
5357
- // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)
5358
- slice: function slice(start, end){
5359
- if($slice !== undefined && end === undefined)return $slice.call(anObject(this), start); // FF fix
5360
- var len = anObject(this).byteLength
5361
- , first = toIndex(start, len)
5362
- , final = toIndex(end === undefined ? len : end, len)
5363
- , result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first))
5364
- , viewS = new $DataView(this)
5365
- , viewT = new $DataView(result)
5366
- , index = 0;
5367
- while(first < final){
5368
- viewT.setUint8(index++, viewS.getUint8(first++));
5369
- } return result;
5370
- }
5371
- });
5372
-
5373
- __webpack_require__(186)(ARRAY_BUFFER);
5374
-
5375
- /***/ },
5376
- /* 232 */
5377
- /***/ function(module, exports, __webpack_require__) {
5378
-
5379
- var global = __webpack_require__(2)
5380
- , hide = __webpack_require__(8)
5381
- , uid = __webpack_require__(17)
5382
- , TYPED = uid('typed_array')
5383
- , VIEW = uid('view')
5384
- , ABV = !!(global.ArrayBuffer && global.DataView)
5385
- , CONSTR = ABV
5386
- , i = 0, l = 9, Typed;
5387
-
5388
- var TypedArrayConstructors = (
5389
- 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'
5390
- ).split(',');
5391
-
5392
- while(i < l){
5393
- if(Typed = global[TypedArrayConstructors[i++]]){
5394
- hide(Typed.prototype, TYPED, true);
5395
- hide(Typed.prototype, VIEW, true);
5396
- } else CONSTR = false;
5397
- }
5398
-
5399
- module.exports = {
5400
- ABV: ABV,
5401
- CONSTR: CONSTR,
5402
- TYPED: TYPED,
5403
- VIEW: VIEW
5404
- };
5405
-
5406
- /***/ },
5407
- /* 233 */
5408
- /***/ function(module, exports, __webpack_require__) {
5409
-
5410
- 'use strict';
5411
- var global = __webpack_require__(2)
5412
- , DESCRIPTORS = __webpack_require__(4)
5413
- , LIBRARY = __webpack_require__(26)
5414
- , $typed = __webpack_require__(232)
5415
- , hide = __webpack_require__(8)
5416
- , redefineAll = __webpack_require__(202)
5417
- , fails = __webpack_require__(5)
5418
- , anInstance = __webpack_require__(197)
5419
- , toInteger = __webpack_require__(36)
5420
- , toLength = __webpack_require__(35)
5421
- , gOPN = __webpack_require__(48).f
5422
- , dP = __webpack_require__(9).f
5423
- , arrayFill = __webpack_require__(180)
5424
- , setToStringTag = __webpack_require__(22)
5425
- , ARRAY_BUFFER = 'ArrayBuffer'
5426
- , DATA_VIEW = 'DataView'
5427
- , PROTOTYPE = 'prototype'
5428
- , WRONG_LENGTH = 'Wrong length!'
5429
- , WRONG_INDEX = 'Wrong index!'
5430
- , $ArrayBuffer = global[ARRAY_BUFFER]
5431
- , $DataView = global[DATA_VIEW]
5432
- , Math = global.Math
5433
- , RangeError = global.RangeError
5434
- , Infinity = global.Infinity
5435
- , BaseBuffer = $ArrayBuffer
5436
- , abs = Math.abs
5437
- , pow = Math.pow
5438
- , floor = Math.floor
5439
- , log = Math.log
5440
- , LN2 = Math.LN2
5441
- , BUFFER = 'buffer'
5442
- , BYTE_LENGTH = 'byteLength'
5443
- , BYTE_OFFSET = 'byteOffset'
5444
- , $BUFFER = DESCRIPTORS ? '_b' : BUFFER
5445
- , $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH
5446
- , $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;
5447
-
5448
- // IEEE754 conversions based on https://github.com/feross/ieee754
5449
- var packIEEE754 = function(value, mLen, nBytes){
5450
- var buffer = Array(nBytes)
5451
- , eLen = nBytes * 8 - mLen - 1
5452
- , eMax = (1 << eLen) - 1
5453
- , eBias = eMax >> 1
5454
- , rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0
5455
- , i = 0
5456
- , s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0
5457
- , e, m, c;
5458
- value = abs(value)
5459
- if(value != value || value === Infinity){
5460
- m = value != value ? 1 : 0;
5461
- e = eMax;
5462
- } else {
5463
- e = floor(log(value) / LN2);
5464
- if(value * (c = pow(2, -e)) < 1){
5465
- e--;
5466
- c *= 2;
5467
- }
5468
- if(e + eBias >= 1){
5469
- value += rt / c;
5470
- } else {
5471
- value += rt * pow(2, 1 - eBias);
5472
- }
5473
- if(value * c >= 2){
5474
- e++;
5475
- c /= 2;
5476
- }
5477
- if(e + eBias >= eMax){
5478
- m = 0;
5479
- e = eMax;
5480
- } else if(e + eBias >= 1){
5481
- m = (value * c - 1) * pow(2, mLen);
5482
- e = e + eBias;
5483
- } else {
5484
- m = value * pow(2, eBias - 1) * pow(2, mLen);
5485
- e = 0;
5486
- }
5487
- }
5488
- for(; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);
5489
- e = e << mLen | m;
5490
- eLen += mLen;
5491
- for(; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);
5492
- buffer[--i] |= s * 128;
5493
- return buffer;
5494
- };
5495
- var unpackIEEE754 = function(buffer, mLen, nBytes){
5496
- var eLen = nBytes * 8 - mLen - 1
5497
- , eMax = (1 << eLen) - 1
5498
- , eBias = eMax >> 1
5499
- , nBits = eLen - 7
5500
- , i = nBytes - 1
5501
- , s = buffer[i--]
5502
- , e = s & 127
5503
- , m;
5504
- s >>= 7;
5505
- for(; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);
5506
- m = e & (1 << -nBits) - 1;
5507
- e >>= -nBits;
5508
- nBits += mLen;
5509
- for(; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);
5510
- if(e === 0){
5511
- e = 1 - eBias;
5512
- } else if(e === eMax){
5513
- return m ? NaN : s ? -Infinity : Infinity;
5514
- } else {
5515
- m = m + pow(2, mLen);
5516
- e = e - eBias;
5517
- } return (s ? -1 : 1) * m * pow(2, e - mLen);
5518
- };
5519
-
5520
- var unpackI32 = function(bytes){
5521
- return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];
5522
- };
5523
- var packI8 = function(it){
5524
- return [it & 0xff];
5525
- };
5526
- var packI16 = function(it){
5527
- return [it & 0xff, it >> 8 & 0xff];
5528
- };
5529
- var packI32 = function(it){
5530
- return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];
5531
- };
5532
- var packF64 = function(it){
5533
- return packIEEE754(it, 52, 8);
5534
- };
5535
- var packF32 = function(it){
5536
- return packIEEE754(it, 23, 4);
5537
- };
5538
-
5539
- var addGetter = function(C, key, internal){
5540
- dP(C[PROTOTYPE], key, {get: function(){ return this[internal]; }});
5541
- };
5542
-
5543
- var get = function(view, bytes, index, isLittleEndian){
5544
- var numIndex = +index
5545
- , intIndex = toInteger(numIndex);
5546
- if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);
5547
- var store = view[$BUFFER]._b
5548
- , start = intIndex + view[$OFFSET]
5549
- , pack = store.slice(start, start + bytes);
5550
- return isLittleEndian ? pack : pack.reverse();
5551
- };
5552
- var set = function(view, bytes, index, conversion, value, isLittleEndian){
5553
- var numIndex = +index
5554
- , intIndex = toInteger(numIndex);
5555
- if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);
5556
- var store = view[$BUFFER]._b
5557
- , start = intIndex + view[$OFFSET]
5558
- , pack = conversion(+value);
5559
- for(var i = 0; i < bytes; i++)store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];
5560
- };
5561
-
5562
- var validateArrayBufferArguments = function(that, length){
5563
- anInstance(that, $ArrayBuffer, ARRAY_BUFFER);
5564
- var numberLength = +length
5565
- , byteLength = toLength(numberLength);
5566
- if(numberLength != byteLength)throw RangeError(WRONG_LENGTH);
5567
- return byteLength;
5568
- };
5569
-
5570
- if(!$typed.ABV){
5571
- $ArrayBuffer = function ArrayBuffer(length){
5572
- var byteLength = validateArrayBufferArguments(this, length);
5573
- this._b = arrayFill.call(Array(byteLength), 0);
5574
- this[$LENGTH] = byteLength;
5575
- };
5576
-
5577
- $DataView = function DataView(buffer, byteOffset, byteLength){
5578
- anInstance(this, $DataView, DATA_VIEW);
5579
- anInstance(buffer, $ArrayBuffer, DATA_VIEW);
5580
- var bufferLength = buffer[$LENGTH]
5581
- , offset = toInteger(byteOffset);
5582
- if(offset < 0 || offset > bufferLength)throw RangeError('Wrong offset!');
5583
- byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
5584
- if(offset + byteLength > bufferLength)throw RangeError(WRONG_LENGTH);
5585
- this[$BUFFER] = buffer;
5586
- this[$OFFSET] = offset;
5587
- this[$LENGTH] = byteLength;
5588
- };
5589
-
5590
- if(DESCRIPTORS){
5591
- addGetter($ArrayBuffer, BYTE_LENGTH, '_l');
5592
- addGetter($DataView, BUFFER, '_b');
5593
- addGetter($DataView, BYTE_LENGTH, '_l');
5594
- addGetter($DataView, BYTE_OFFSET, '_o');
5595
- }
5596
-
5597
- redefineAll($DataView[PROTOTYPE], {
5598
- getInt8: function getInt8(byteOffset){
5599
- return get(this, 1, byteOffset)[0] << 24 >> 24;
5600
- },
5601
- getUint8: function getUint8(byteOffset){
5602
- return get(this, 1, byteOffset)[0];
5603
- },
5604
- getInt16: function getInt16(byteOffset /*, littleEndian */){
5605
- var bytes = get(this, 2, byteOffset, arguments[1]);
5606
- return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
5607
- },
5608
- getUint16: function getUint16(byteOffset /*, littleEndian */){
5609
- var bytes = get(this, 2, byteOffset, arguments[1]);
5610
- return bytes[1] << 8 | bytes[0];
5611
- },
5612
- getInt32: function getInt32(byteOffset /*, littleEndian */){
5613
- return unpackI32(get(this, 4, byteOffset, arguments[1]));
5614
- },
5615
- getUint32: function getUint32(byteOffset /*, littleEndian */){
5616
- return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;
5617
- },
5618
- getFloat32: function getFloat32(byteOffset /*, littleEndian */){
5619
- return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);
5620
- },
5621
- getFloat64: function getFloat64(byteOffset /*, littleEndian */){
5622
- return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);
5623
- },
5624
- setInt8: function setInt8(byteOffset, value){
5625
- set(this, 1, byteOffset, packI8, value);
5626
- },
5627
- setUint8: function setUint8(byteOffset, value){
5628
- set(this, 1, byteOffset, packI8, value);
5629
- },
5630
- setInt16: function setInt16(byteOffset, value /*, littleEndian */){
5631
- set(this, 2, byteOffset, packI16, value, arguments[2]);
5632
- },
5633
- setUint16: function setUint16(byteOffset, value /*, littleEndian */){
5634
- set(this, 2, byteOffset, packI16, value, arguments[2]);
5635
- },
5636
- setInt32: function setInt32(byteOffset, value /*, littleEndian */){
5637
- set(this, 4, byteOffset, packI32, value, arguments[2]);
5638
- },
5639
- setUint32: function setUint32(byteOffset, value /*, littleEndian */){
5640
- set(this, 4, byteOffset, packI32, value, arguments[2]);
5641
- },
5642
- setFloat32: function setFloat32(byteOffset, value /*, littleEndian */){
5643
- set(this, 4, byteOffset, packF32, value, arguments[2]);
5644
- },
5645
- setFloat64: function setFloat64(byteOffset, value /*, littleEndian */){
5646
- set(this, 8, byteOffset, packF64, value, arguments[2]);
5647
- }
5648
- });
5649
- } else {
5650
- if(!fails(function(){
5651
- new $ArrayBuffer; // eslint-disable-line no-new
5652
- }) || !fails(function(){
5653
- new $ArrayBuffer(.5); // eslint-disable-line no-new
5654
- })){
5655
- $ArrayBuffer = function ArrayBuffer(length){
5656
- return new BaseBuffer(validateArrayBufferArguments(this, length));
5657
- };
5658
- var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];
5659
- for(var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j; ){
5660
- if(!((key = keys[j++]) in $ArrayBuffer))hide($ArrayBuffer, key, BaseBuffer[key]);
5661
- };
5662
- if(!LIBRARY)ArrayBufferProto.constructor = $ArrayBuffer;
5663
- }
5664
- // iOS Safari 7.x bug
5665
- var view = new $DataView(new $ArrayBuffer(2))
5666
- , $setInt8 = $DataView[PROTOTYPE].setInt8;
5667
- view.setInt8(0, 2147483648);
5668
- view.setInt8(1, 2147483649);
5669
- if(view.getInt8(0) || !view.getInt8(1))redefineAll($DataView[PROTOTYPE], {
5670
- setInt8: function setInt8(byteOffset, value){
5671
- $setInt8.call(this, byteOffset, value << 24 >> 24);
5672
- },
5673
- setUint8: function setUint8(byteOffset, value){
5674
- $setInt8.call(this, byteOffset, value << 24 >> 24);
5675
- }
5676
- }, true);
5677
- }
5678
- setToStringTag($ArrayBuffer, ARRAY_BUFFER);
5679
- setToStringTag($DataView, DATA_VIEW);
5680
- hide($DataView[PROTOTYPE], $typed.VIEW, true);
5681
- exports[ARRAY_BUFFER] = $ArrayBuffer;
5682
- exports[DATA_VIEW] = $DataView;
5683
-
5684
- /***/ },
5685
- /* 234 */
5686
- /***/ function(module, exports, __webpack_require__) {
5687
-
5688
- var $export = __webpack_require__(6);
5689
- $export($export.G + $export.W + $export.F * !__webpack_require__(232).ABV, {
5690
- DataView: __webpack_require__(233).DataView
5691
- });
5692
-
5693
- /***/ },
5694
- /* 235 */
5695
- /***/ function(module, exports, __webpack_require__) {
5696
-
5697
- __webpack_require__(236)('Int8', 1, function(init){
5698
- return function Int8Array(data, byteOffset, length){
5699
- return init(this, data, byteOffset, length);
5700
- };
5701
- });
5702
-
5703
- /***/ },
5704
- /* 236 */
5705
- /***/ function(module, exports, __webpack_require__) {
5706
-
5707
- 'use strict';
5708
- if(__webpack_require__(4)){
5709
- var LIBRARY = __webpack_require__(26)
5710
- , global = __webpack_require__(2)
5711
- , fails = __webpack_require__(5)
5712
- , $export = __webpack_require__(6)
5713
- , $typed = __webpack_require__(232)
5714
- , $buffer = __webpack_require__(233)
5715
- , ctx = __webpack_require__(18)
5716
- , anInstance = __webpack_require__(197)
5717
- , propertyDesc = __webpack_require__(15)
5718
- , hide = __webpack_require__(8)
5719
- , redefineAll = __webpack_require__(202)
5720
- , toInteger = __webpack_require__(36)
5721
- , toLength = __webpack_require__(35)
5722
- , toIndex = __webpack_require__(37)
5723
- , toPrimitive = __webpack_require__(14)
5724
- , has = __webpack_require__(3)
5725
- , same = __webpack_require__(69)
5726
- , classof = __webpack_require__(73)
5727
- , isObject = __webpack_require__(11)
5728
- , toObject = __webpack_require__(56)
5729
- , isArrayIter = __webpack_require__(154)
5730
- , create = __webpack_require__(44)
5731
- , getPrototypeOf = __webpack_require__(57)
5732
- , gOPN = __webpack_require__(48).f
5733
- , getIterFn = __webpack_require__(156)
5734
- , uid = __webpack_require__(17)
5735
- , wks = __webpack_require__(23)
5736
- , createArrayMethod = __webpack_require__(164)
5737
- , createArrayIncludes = __webpack_require__(34)
5738
- , speciesConstructor = __webpack_require__(199)
5739
- , ArrayIterators = __webpack_require__(183)
5740
- , Iterators = __webpack_require__(135)
5741
- , $iterDetect = __webpack_require__(157)
5742
- , setSpecies = __webpack_require__(186)
5743
- , arrayFill = __webpack_require__(180)
5744
- , arrayCopyWithin = __webpack_require__(177)
5745
- , $DP = __webpack_require__(9)
5746
- , $GOPD = __webpack_require__(49)
5747
- , dP = $DP.f
5748
- , gOPD = $GOPD.f
5749
- , RangeError = global.RangeError
5750
- , TypeError = global.TypeError
5751
- , Uint8Array = global.Uint8Array
5752
- , ARRAY_BUFFER = 'ArrayBuffer'
5753
- , SHARED_BUFFER = 'Shared' + ARRAY_BUFFER
5754
- , BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'
5755
- , PROTOTYPE = 'prototype'
5756
- , ArrayProto = Array[PROTOTYPE]
5757
- , $ArrayBuffer = $buffer.ArrayBuffer
5758
- , $DataView = $buffer.DataView
5759
- , arrayForEach = createArrayMethod(0)
5760
- , arrayFilter = createArrayMethod(2)
5761
- , arraySome = createArrayMethod(3)
5762
- , arrayEvery = createArrayMethod(4)
5763
- , arrayFind = createArrayMethod(5)
5764
- , arrayFindIndex = createArrayMethod(6)
5765
- , arrayIncludes = createArrayIncludes(true)
5766
- , arrayIndexOf = createArrayIncludes(false)
5767
- , arrayValues = ArrayIterators.values
5768
- , arrayKeys = ArrayIterators.keys
5769
- , arrayEntries = ArrayIterators.entries
5770
- , arrayLastIndexOf = ArrayProto.lastIndexOf
5771
- , arrayReduce = ArrayProto.reduce
5772
- , arrayReduceRight = ArrayProto.reduceRight
5773
- , arrayJoin = ArrayProto.join
5774
- , arraySort = ArrayProto.sort
5775
- , arraySlice = ArrayProto.slice
5776
- , arrayToString = ArrayProto.toString
5777
- , arrayToLocaleString = ArrayProto.toLocaleString
5778
- , ITERATOR = wks('iterator')
5779
- , TAG = wks('toStringTag')
5780
- , TYPED_CONSTRUCTOR = uid('typed_constructor')
5781
- , DEF_CONSTRUCTOR = uid('def_constructor')
5782
- , ALL_CONSTRUCTORS = $typed.CONSTR
5783
- , TYPED_ARRAY = $typed.TYPED
5784
- , VIEW = $typed.VIEW
5785
- , WRONG_LENGTH = 'Wrong length!';
5786
-
5787
- var $map = createArrayMethod(1, function(O, length){
5788
- return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);
5789
- });
5790
-
5791
- var LITTLE_ENDIAN = fails(function(){
5792
- return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;
5793
- });
5794
-
5795
- var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function(){
5796
- new Uint8Array(1).set({});
5797
- });
5798
-
5799
- var strictToLength = function(it, SAME){
5800
- if(it === undefined)throw TypeError(WRONG_LENGTH);
5801
- var number = +it
5802
- , length = toLength(it);
5803
- if(SAME && !same(number, length))throw RangeError(WRONG_LENGTH);
5804
- return length;
5805
- };
5806
-
5807
- var toOffset = function(it, BYTES){
5808
- var offset = toInteger(it);
5809
- if(offset < 0 || offset % BYTES)throw RangeError('Wrong offset!');
5810
- return offset;
5811
- };
5812
-
5813
- var validate = function(it){
5814
- if(isObject(it) && TYPED_ARRAY in it)return it;
5815
- throw TypeError(it + ' is not a typed array!');
5816
- };
5817
-
5818
- var allocate = function(C, length){
5819
- if(!(isObject(C) && TYPED_CONSTRUCTOR in C)){
5820
- throw TypeError('It is not a typed array constructor!');
5821
- } return new C(length);
5822
- };
5823
-
5824
- var speciesFromList = function(O, list){
5825
- return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);
5826
- };
5827
-
5828
- var fromList = function(C, list){
5829
- var index = 0
5830
- , length = list.length
5831
- , result = allocate(C, length);
5832
- while(length > index)result[index] = list[index++];
5833
- return result;
5834
- };
5835
-
5836
- var addGetter = function(it, key, internal){
5837
- dP(it, key, {get: function(){ return this._d[internal]; }});
5838
- };
5839
-
5840
- var $from = function from(source /*, mapfn, thisArg */){
5841
- var O = toObject(source)
5842
- , aLen = arguments.length
5843
- , mapfn = aLen > 1 ? arguments[1] : undefined
5844
- , mapping = mapfn !== undefined
5845
- , iterFn = getIterFn(O)
5846
- , i, length, values, result, step, iterator;
5847
- if(iterFn != undefined && !isArrayIter(iterFn)){
5848
- for(iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++){
5849
- values.push(step.value);
5850
- } O = values;
5851
- }
5852
- if(mapping && aLen > 2)mapfn = ctx(mapfn, arguments[2], 2);
5853
- for(i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++){
5854
- result[i] = mapping ? mapfn(O[i], i) : O[i];
5855
- }
5856
- return result;
5857
- };
5858
-
5859
- var $of = function of(/*...items*/){
5860
- var index = 0
5861
- , length = arguments.length
5862
- , result = allocate(this, length);
5863
- while(length > index)result[index] = arguments[index++];
5864
- return result;
5865
- };
5866
-
5867
- // iOS Safari 6.x fails here
5868
- var TO_LOCALE_BUG = !!Uint8Array && fails(function(){ arrayToLocaleString.call(new Uint8Array(1)); });
5869
-
5870
- var $toLocaleString = function toLocaleString(){
5871
- return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);
5872
- };
5873
-
5874
- var proto = {
5875
- copyWithin: function copyWithin(target, start /*, end */){
5876
- return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
5877
- },
5878
- every: function every(callbackfn /*, thisArg */){
5879
- return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5880
- },
5881
- fill: function fill(value /*, start, end */){ // eslint-disable-line no-unused-vars
5882
- return arrayFill.apply(validate(this), arguments);
5883
- },
5884
- filter: function filter(callbackfn /*, thisArg */){
5885
- return speciesFromList(this, arrayFilter(validate(this), callbackfn,
5886
- arguments.length > 1 ? arguments[1] : undefined));
5887
- },
5888
- find: function find(predicate /*, thisArg */){
5889
- return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
5890
- },
5891
- findIndex: function findIndex(predicate /*, thisArg */){
5892
- return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
5893
- },
5894
- forEach: function forEach(callbackfn /*, thisArg */){
5895
- arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5896
- },
5897
- indexOf: function indexOf(searchElement /*, fromIndex */){
5898
- return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
5899
- },
5900
- includes: function includes(searchElement /*, fromIndex */){
5901
- return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
5902
- },
5903
- join: function join(separator){ // eslint-disable-line no-unused-vars
5904
- return arrayJoin.apply(validate(this), arguments);
5905
- },
5906
- lastIndexOf: function lastIndexOf(searchElement /*, fromIndex */){ // eslint-disable-line no-unused-vars
5907
- return arrayLastIndexOf.apply(validate(this), arguments);
5908
- },
5909
- map: function map(mapfn /*, thisArg */){
5910
- return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);
5911
- },
5912
- reduce: function reduce(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars
5913
- return arrayReduce.apply(validate(this), arguments);
5914
- },
5915
- reduceRight: function reduceRight(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars
5916
- return arrayReduceRight.apply(validate(this), arguments);
5917
- },
5918
- reverse: function reverse(){
5919
- var that = this
5920
- , length = validate(that).length
5921
- , middle = Math.floor(length / 2)
5922
- , index = 0
5923
- , value;
5924
- while(index < middle){
5925
- value = that[index];
5926
- that[index++] = that[--length];
5927
- that[length] = value;
5928
- } return that;
5929
- },
5930
- some: function some(callbackfn /*, thisArg */){
5931
- return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5932
- },
5933
- sort: function sort(comparefn){
5934
- return arraySort.call(validate(this), comparefn);
5935
- },
5936
- subarray: function subarray(begin, end){
5937
- var O = validate(this)
5938
- , length = O.length
5939
- , $begin = toIndex(begin, length);
5940
- return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(
5941
- O.buffer,
5942
- O.byteOffset + $begin * O.BYTES_PER_ELEMENT,
5943
- toLength((end === undefined ? length : toIndex(end, length)) - $begin)
5944
- );
5945
- }
5946
- };
5947
-
5948
- var $slice = function slice(start, end){
5949
- return speciesFromList(this, arraySlice.call(validate(this), start, end));
5950
- };
5951
-
5952
- var $set = function set(arrayLike /*, offset */){
5953
- validate(this);
5954
- var offset = toOffset(arguments[1], 1)
5955
- , length = this.length
5956
- , src = toObject(arrayLike)
5957
- , len = toLength(src.length)
5958
- , index = 0;
5959
- if(len + offset > length)throw RangeError(WRONG_LENGTH);
5960
- while(index < len)this[offset + index] = src[index++];
5961
- };
5962
-
5963
- var $iterators = {
5964
- entries: function entries(){
5965
- return arrayEntries.call(validate(this));
5966
- },
5967
- keys: function keys(){
5968
- return arrayKeys.call(validate(this));
5969
- },
5970
- values: function values(){
5971
- return arrayValues.call(validate(this));
5972
- }
5973
- };
5974
-
5975
- var isTAIndex = function(target, key){
5976
- return isObject(target)
5977
- && target[TYPED_ARRAY]
5978
- && typeof key != 'symbol'
5979
- && key in target
5980
- && String(+key) == String(key);
5981
- };
5982
- var $getDesc = function getOwnPropertyDescriptor(target, key){
5983
- return isTAIndex(target, key = toPrimitive(key, true))
5984
- ? propertyDesc(2, target[key])
5985
- : gOPD(target, key);
5986
- };
5987
- var $setDesc = function defineProperty(target, key, desc){
5988
- if(isTAIndex(target, key = toPrimitive(key, true))
5989
- && isObject(desc)
5990
- && has(desc, 'value')
5991
- && !has(desc, 'get')
5992
- && !has(desc, 'set')
5993
- // TODO: add validation descriptor w/o calling accessors
5994
- && !desc.configurable
5995
- && (!has(desc, 'writable') || desc.writable)
5996
- && (!has(desc, 'enumerable') || desc.enumerable)
5997
- ){
5998
- target[key] = desc.value;
5999
- return target;
6000
- } else return dP(target, key, desc);
6001
- };
6002
-
6003
- if(!ALL_CONSTRUCTORS){
6004
- $GOPD.f = $getDesc;
6005
- $DP.f = $setDesc;
6006
- }
6007
-
6008
- $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {
6009
- getOwnPropertyDescriptor: $getDesc,
6010
- defineProperty: $setDesc
6011
- });
6012
-
6013
- if(fails(function(){ arrayToString.call({}); })){
6014
- arrayToString = arrayToLocaleString = function toString(){
6015
- return arrayJoin.call(this);
6016
- }
6017
- }
6018
-
6019
- var $TypedArrayPrototype$ = redefineAll({}, proto);
6020
- redefineAll($TypedArrayPrototype$, $iterators);
6021
- hide($TypedArrayPrototype$, ITERATOR, $iterators.values);
6022
- redefineAll($TypedArrayPrototype$, {
6023
- slice: $slice,
6024
- set: $set,
6025
- constructor: function(){ /* noop */ },
6026
- toString: arrayToString,
6027
- toLocaleString: $toLocaleString
6028
- });
6029
- addGetter($TypedArrayPrototype$, 'buffer', 'b');
6030
- addGetter($TypedArrayPrototype$, 'byteOffset', 'o');
6031
- addGetter($TypedArrayPrototype$, 'byteLength', 'l');
6032
- addGetter($TypedArrayPrototype$, 'length', 'e');
6033
- dP($TypedArrayPrototype$, TAG, {
6034
- get: function(){ return this[TYPED_ARRAY]; }
6035
- });
6036
-
6037
- module.exports = function(KEY, BYTES, wrapper, CLAMPED){
6038
- CLAMPED = !!CLAMPED;
6039
- var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'
6040
- , ISNT_UINT8 = NAME != 'Uint8Array'
6041
- , GETTER = 'get' + KEY
6042
- , SETTER = 'set' + KEY
6043
- , TypedArray = global[NAME]
6044
- , Base = TypedArray || {}
6045
- , TAC = TypedArray && getPrototypeOf(TypedArray)
6046
- , FORCED = !TypedArray || !$typed.ABV
6047
- , O = {}
6048
- , TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];
6049
- var getter = function(that, index){
6050
- var data = that._d;
6051
- return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);
6052
- };
6053
- var setter = function(that, index, value){
6054
- var data = that._d;
6055
- if(CLAMPED)value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;
6056
- data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);
6057
- };
6058
- var addElement = function(that, index){
6059
- dP(that, index, {
6060
- get: function(){
6061
- return getter(this, index);
6062
- },
6063
- set: function(value){
6064
- return setter(this, index, value);
6065
- },
6066
- enumerable: true
6067
- });
6068
- };
6069
- if(FORCED){
6070
- TypedArray = wrapper(function(that, data, $offset, $length){
6071
- anInstance(that, TypedArray, NAME, '_d');
6072
- var index = 0
6073
- , offset = 0
6074
- , buffer, byteLength, length, klass;
6075
- if(!isObject(data)){
6076
- length = strictToLength(data, true)
6077
- byteLength = length * BYTES;
6078
- buffer = new $ArrayBuffer(byteLength);
6079
- } else if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){
6080
- buffer = data;
6081
- offset = toOffset($offset, BYTES);
6082
- var $len = data.byteLength;
6083
- if($length === undefined){
6084
- if($len % BYTES)throw RangeError(WRONG_LENGTH);
6085
- byteLength = $len - offset;
6086
- if(byteLength < 0)throw RangeError(WRONG_LENGTH);
6087
- } else {
6088
- byteLength = toLength($length) * BYTES;
6089
- if(byteLength + offset > $len)throw RangeError(WRONG_LENGTH);
6090
- }
6091
- length = byteLength / BYTES;
6092
- } else if(TYPED_ARRAY in data){
6093
- return fromList(TypedArray, data);
6094
- } else {
6095
- return $from.call(TypedArray, data);
6096
- }
6097
- hide(that, '_d', {
6098
- b: buffer,
6099
- o: offset,
6100
- l: byteLength,
6101
- e: length,
6102
- v: new $DataView(buffer)
6103
- });
6104
- while(index < length)addElement(that, index++);
6105
- });
6106
- TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);
6107
- hide(TypedArrayPrototype, 'constructor', TypedArray);
6108
- } else if(!$iterDetect(function(iter){
6109
- // V8 works with iterators, but fails in many other cases
6110
- // https://code.google.com/p/v8/issues/detail?id=4552
6111
- new TypedArray(null); // eslint-disable-line no-new
6112
- new TypedArray(iter); // eslint-disable-line no-new
6113
- }, true)){
6114
- TypedArray = wrapper(function(that, data, $offset, $length){
6115
- anInstance(that, TypedArray, NAME);
6116
- var klass;
6117
- // `ws` module bug, temporarily remove validation length for Uint8Array
6118
- // https://github.com/websockets/ws/pull/645
6119
- if(!isObject(data))return new Base(strictToLength(data, ISNT_UINT8));
6120
- if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){
6121
- return $length !== undefined
6122
- ? new Base(data, toOffset($offset, BYTES), $length)
6123
- : $offset !== undefined
6124
- ? new Base(data, toOffset($offset, BYTES))
6125
- : new Base(data);
6126
- }
6127
- if(TYPED_ARRAY in data)return fromList(TypedArray, data);
6128
- return $from.call(TypedArray, data);
6129
- });
6130
- arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function(key){
6131
- if(!(key in TypedArray))hide(TypedArray, key, Base[key]);
6132
- });
6133
- TypedArray[PROTOTYPE] = TypedArrayPrototype;
6134
- if(!LIBRARY)TypedArrayPrototype.constructor = TypedArray;
6135
- }
6136
- var $nativeIterator = TypedArrayPrototype[ITERATOR]
6137
- , CORRECT_ITER_NAME = !!$nativeIterator && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined)
6138
- , $iterator = $iterators.values;
6139
- hide(TypedArray, TYPED_CONSTRUCTOR, true);
6140
- hide(TypedArrayPrototype, TYPED_ARRAY, NAME);
6141
- hide(TypedArrayPrototype, VIEW, true);
6142
- hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);
6143
-
6144
- if(CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)){
6145
- dP(TypedArrayPrototype, TAG, {
6146
- get: function(){ return NAME; }
6147
- });
6148
- }
6149
-
6150
- O[NAME] = TypedArray;
6151
-
6152
- $export($export.G + $export.W + $export.F * (TypedArray != Base), O);
6153
-
6154
- $export($export.S, NAME, {
6155
- BYTES_PER_ELEMENT: BYTES,
6156
- from: $from,
6157
- of: $of
6158
- });
6159
-
6160
- if(!(BYTES_PER_ELEMENT in TypedArrayPrototype))hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);
6161
-
6162
- $export($export.P, NAME, proto);
6163
-
6164
- setSpecies(NAME);
6165
-
6166
- $export($export.P + $export.F * FORCED_SET, NAME, {set: $set});
6167
-
6168
- $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);
6169
-
6170
- $export($export.P + $export.F * (TypedArrayPrototype.toString != arrayToString), NAME, {toString: arrayToString});
6171
-
6172
- $export($export.P + $export.F * fails(function(){
6173
- new TypedArray(1).slice();
6174
- }), NAME, {slice: $slice});
6175
-
6176
- $export($export.P + $export.F * (fails(function(){
6177
- return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString()
6178
- }) || !fails(function(){
6179
- TypedArrayPrototype.toLocaleString.call([1, 2]);
6180
- })), NAME, {toLocaleString: $toLocaleString});
6181
-
6182
- Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;
6183
- if(!LIBRARY && !CORRECT_ITER_NAME)hide(TypedArrayPrototype, ITERATOR, $iterator);
6184
- };
6185
- } else module.exports = function(){ /* empty */ };
6186
-
6187
- /***/ },
6188
- /* 237 */
6189
- /***/ function(module, exports, __webpack_require__) {
6190
-
6191
- __webpack_require__(236)('Uint8', 1, function(init){
6192
- return function Uint8Array(data, byteOffset, length){
6193
- return init(this, data, byteOffset, length);
6194
- };
6195
- });
6196
-
6197
- /***/ },
6198
- /* 238 */
6199
- /***/ function(module, exports, __webpack_require__) {
6200
-
6201
- __webpack_require__(236)('Uint8', 1, function(init){
6202
- return function Uint8ClampedArray(data, byteOffset, length){
6203
- return init(this, data, byteOffset, length);
6204
- };
6205
- }, true);
6206
-
6207
- /***/ },
6208
- /* 239 */
6209
- /***/ function(module, exports, __webpack_require__) {
6210
-
6211
- __webpack_require__(236)('Int16', 2, function(init){
6212
- return function Int16Array(data, byteOffset, length){
6213
- return init(this, data, byteOffset, length);
6214
- };
6215
- });
6216
-
6217
- /***/ },
6218
- /* 240 */
6219
- /***/ function(module, exports, __webpack_require__) {
6220
-
6221
- __webpack_require__(236)('Uint16', 2, function(init){
6222
- return function Uint16Array(data, byteOffset, length){
6223
- return init(this, data, byteOffset, length);
6224
- };
6225
- });
6226
-
6227
- /***/ },
6228
- /* 241 */
6229
- /***/ function(module, exports, __webpack_require__) {
6230
-
6231
- __webpack_require__(236)('Int32', 4, function(init){
6232
- return function Int32Array(data, byteOffset, length){
6233
- return init(this, data, byteOffset, length);
6234
- };
6235
- });
6236
-
6237
- /***/ },
6238
- /* 242 */
6239
- /***/ function(module, exports, __webpack_require__) {
6240
-
6241
- __webpack_require__(236)('Uint32', 4, function(init){
6242
- return function Uint32Array(data, byteOffset, length){
6243
- return init(this, data, byteOffset, length);
6244
- };
6245
- });
6246
-
6247
- /***/ },
6248
- /* 243 */
6249
- /***/ function(module, exports, __webpack_require__) {
6250
-
6251
- __webpack_require__(236)('Float32', 4, function(init){
6252
- return function Float32Array(data, byteOffset, length){
6253
- return init(this, data, byteOffset, length);
6254
- };
6255
- });
6256
-
6257
- /***/ },
6258
- /* 244 */
6259
- /***/ function(module, exports, __webpack_require__) {
6260
-
6261
- __webpack_require__(236)('Float64', 8, function(init){
6262
- return function Float64Array(data, byteOffset, length){
6263
- return init(this, data, byteOffset, length);
6264
- };
6265
- });
6266
-
6267
- /***/ },
6268
- /* 245 */
6269
- /***/ function(module, exports, __webpack_require__) {
6270
-
6271
- 'use strict';
6272
- // https://github.com/tc39/Array.prototype.includes
6273
- var $export = __webpack_require__(6)
6274
- , $includes = __webpack_require__(34)(true);
6275
-
6276
- $export($export.P, 'Array', {
6277
- includes: function includes(el /*, fromIndex = 0 */){
6278
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
6279
- }
6280
- });
6281
-
6282
- __webpack_require__(178)('includes');
6283
-
6284
- /***/ },
6285
- /* 246 */
6286
- /***/ function(module, exports, __webpack_require__) {
6287
-
6288
- 'use strict';
6289
- // https://github.com/mathiasbynens/String.prototype.at
6290
- var $export = __webpack_require__(6)
6291
- , $at = __webpack_require__(125)(true);
6292
-
6293
- $export($export.P, 'String', {
6294
- at: function at(pos){
6295
- return $at(this, pos);
6296
- }
6297
- });
6298
-
6299
- /***/ },
6300
- /* 247 */
6301
- /***/ function(module, exports, __webpack_require__) {
6302
-
6303
- 'use strict';
6304
- // https://github.com/tc39/proposal-string-pad-start-end
6305
- var $export = __webpack_require__(6)
6306
- , $pad = __webpack_require__(248);
6307
-
6308
- $export($export.P, 'String', {
6309
- padStart: function padStart(maxLength /*, fillString = ' ' */){
6310
- return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
6311
- }
6312
- });
6313
-
6314
- /***/ },
6315
- /* 248 */
6316
- /***/ function(module, exports, __webpack_require__) {
6317
-
6318
- // https://github.com/tc39/proposal-string-pad-start-end
6319
- var toLength = __webpack_require__(35)
6320
- , repeat = __webpack_require__(85)
6321
- , defined = __webpack_require__(33);
6322
-
6323
- module.exports = function(that, maxLength, fillString, left){
6324
- var S = String(defined(that))
6325
- , stringLength = S.length
6326
- , fillStr = fillString === undefined ? ' ' : String(fillString)
6327
- , intMaxLength = toLength(maxLength);
6328
- if(intMaxLength <= stringLength || fillStr == '')return S;
6329
- var fillLen = intMaxLength - stringLength
6330
- , stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
6331
- if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);
6332
- return left ? stringFiller + S : S + stringFiller;
6333
- };
6334
-
6335
-
6336
- /***/ },
6337
- /* 249 */
6338
- /***/ function(module, exports, __webpack_require__) {
6339
-
6340
- 'use strict';
6341
- // https://github.com/tc39/proposal-string-pad-start-end
6342
- var $export = __webpack_require__(6)
6343
- , $pad = __webpack_require__(248);
6344
-
6345
- $export($export.P, 'String', {
6346
- padEnd: function padEnd(maxLength /*, fillString = ' ' */){
6347
- return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
6348
- }
6349
- });
6350
-
6351
- /***/ },
6352
- /* 250 */
6353
- /***/ function(module, exports, __webpack_require__) {
6354
-
6355
- 'use strict';
6356
- // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
6357
- __webpack_require__(81)('trimLeft', function($trim){
6358
- return function trimLeft(){
6359
- return $trim(this, 1);
6360
- };
6361
- }, 'trimStart');
6362
-
6363
- /***/ },
6364
- /* 251 */
6365
- /***/ function(module, exports, __webpack_require__) {
6366
-
6367
- 'use strict';
6368
- // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
6369
- __webpack_require__(81)('trimRight', function($trim){
6370
- return function trimRight(){
6371
- return $trim(this, 2);
6372
- };
6373
- }, 'trimEnd');
6374
-
6375
- /***/ },
6376
- /* 252 */
6377
- /***/ function(module, exports, __webpack_require__) {
6378
-
6379
- 'use strict';
6380
- // https://tc39.github.io/String.prototype.matchAll/
6381
- var $export = __webpack_require__(6)
6382
- , defined = __webpack_require__(33)
6383
- , toLength = __webpack_require__(35)
6384
- , isRegExp = __webpack_require__(128)
6385
- , getFlags = __webpack_require__(188)
6386
- , RegExpProto = RegExp.prototype;
6387
-
6388
- var $RegExpStringIterator = function(regexp, string){
6389
- this._r = regexp;
6390
- this._s = string;
6391
- };
6392
-
6393
- __webpack_require__(136)($RegExpStringIterator, 'RegExp String', function next(){
6394
- var match = this._r.exec(this._s);
6395
- return {value: match, done: match === null};
6396
- });
6397
-
6398
- $export($export.P, 'String', {
6399
- matchAll: function matchAll(regexp){
6400
- defined(this);
6401
- if(!isRegExp(regexp))throw TypeError(regexp + ' is not a regexp!');
6402
- var S = String(this)
6403
- , flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp)
6404
- , rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags);
6405
- rx.lastIndex = toLength(regexp.lastIndex);
6406
- return new $RegExpStringIterator(rx, S);
6407
- }
6408
- });
6409
-
6410
- /***/ },
6411
- /* 253 */
6412
- /***/ function(module, exports, __webpack_require__) {
6413
-
6414
- __webpack_require__(25)('asyncIterator');
6415
-
6416
- /***/ },
6417
- /* 254 */
6418
- /***/ function(module, exports, __webpack_require__) {
6419
-
6420
- __webpack_require__(25)('observable');
6421
-
6422
- /***/ },
6423
- /* 255 */
6424
- /***/ function(module, exports, __webpack_require__) {
6425
-
6426
- // https://github.com/tc39/proposal-object-getownpropertydescriptors
6427
- var $export = __webpack_require__(6)
6428
- , ownKeys = __webpack_require__(221)
6429
- , toIObject = __webpack_require__(30)
6430
- , gOPD = __webpack_require__(49)
6431
- , createProperty = __webpack_require__(155);
6432
-
6433
- $export($export.S, 'Object', {
6434
- getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){
6435
- var O = toIObject(object)
6436
- , getDesc = gOPD.f
6437
- , keys = ownKeys(O)
6438
- , result = {}
6439
- , i = 0
6440
- , key;
6441
- while(keys.length > i)createProperty(result, key = keys[i++], getDesc(O, key));
6442
- return result;
6443
- }
6444
- });
6445
-
6446
- /***/ },
6447
- /* 256 */
6448
- /***/ function(module, exports, __webpack_require__) {
6449
-
6450
- // https://github.com/tc39/proposal-object-values-entries
6451
- var $export = __webpack_require__(6)
6452
- , $values = __webpack_require__(257)(false);
6453
-
6454
- $export($export.S, 'Object', {
6455
- values: function values(it){
6456
- return $values(it);
6457
- }
6458
- });
6459
-
6460
- /***/ },
6461
- /* 257 */
6462
- /***/ function(module, exports, __webpack_require__) {
6463
-
6464
- var getKeys = __webpack_require__(28)
6465
- , toIObject = __webpack_require__(30)
6466
- , isEnum = __webpack_require__(42).f;
6467
- module.exports = function(isEntries){
6468
- return function(it){
6469
- var O = toIObject(it)
6470
- , keys = getKeys(O)
6471
- , length = keys.length
6472
- , i = 0
6473
- , result = []
6474
- , key;
6475
- while(length > i)if(isEnum.call(O, key = keys[i++])){
6476
- result.push(isEntries ? [key, O[key]] : O[key]);
6477
- } return result;
6478
- };
6479
- };
6480
-
6481
- /***/ },
6482
- /* 258 */
6483
- /***/ function(module, exports, __webpack_require__) {
6484
-
6485
- // https://github.com/tc39/proposal-object-values-entries
6486
- var $export = __webpack_require__(6)
6487
- , $entries = __webpack_require__(257)(true);
6488
-
6489
- $export($export.S, 'Object', {
6490
- entries: function entries(it){
6491
- return $entries(it);
6492
- }
6493
- });
6494
-
6495
- /***/ },
6496
- /* 259 */
6497
- /***/ function(module, exports, __webpack_require__) {
6498
-
6499
- 'use strict';
6500
- var $export = __webpack_require__(6)
6501
- , toObject = __webpack_require__(56)
6502
- , aFunction = __webpack_require__(19)
6503
- , $defineProperty = __webpack_require__(9);
6504
-
6505
- // B.2.2.2 Object.prototype.__defineGetter__(P, getter)
6506
- __webpack_require__(4) && $export($export.P + __webpack_require__(260), 'Object', {
6507
- __defineGetter__: function __defineGetter__(P, getter){
6508
- $defineProperty.f(toObject(this), P, {get: aFunction(getter), enumerable: true, configurable: true});
6509
- }
6510
- });
6511
-
6512
- /***/ },
6513
- /* 260 */
6514
- /***/ function(module, exports, __webpack_require__) {
6515
-
6516
- // Forced replacement prototype accessors methods
6517
- module.exports = __webpack_require__(26)|| !__webpack_require__(5)(function(){
6518
- var K = Math.random();
6519
- // In FF throws only define methods
6520
- __defineSetter__.call(null, K, function(){ /* empty */});
6521
- delete __webpack_require__(2)[K];
6522
- });
6523
-
6524
- /***/ },
6525
- /* 261 */
6526
- /***/ function(module, exports, __webpack_require__) {
6527
-
6528
- 'use strict';
6529
- var $export = __webpack_require__(6)
6530
- , toObject = __webpack_require__(56)
6531
- , aFunction = __webpack_require__(19)
6532
- , $defineProperty = __webpack_require__(9);
6533
-
6534
- // B.2.2.3 Object.prototype.__defineSetter__(P, setter)
6535
- __webpack_require__(4) && $export($export.P + __webpack_require__(260), 'Object', {
6536
- __defineSetter__: function __defineSetter__(P, setter){
6537
- $defineProperty.f(toObject(this), P, {set: aFunction(setter), enumerable: true, configurable: true});
6538
- }
6539
- });
6540
-
6541
- /***/ },
6542
- /* 262 */
6543
- /***/ function(module, exports, __webpack_require__) {
6544
-
6545
- 'use strict';
6546
- var $export = __webpack_require__(6)
6547
- , toObject = __webpack_require__(56)
6548
- , toPrimitive = __webpack_require__(14)
6549
- , getPrototypeOf = __webpack_require__(57)
6550
- , getOwnPropertyDescriptor = __webpack_require__(49).f;
6551
-
6552
- // B.2.2.4 Object.prototype.__lookupGetter__(P)
6553
- __webpack_require__(4) && $export($export.P + __webpack_require__(260), 'Object', {
6554
- __lookupGetter__: function __lookupGetter__(P){
6555
- var O = toObject(this)
6556
- , K = toPrimitive(P, true)
6557
- , D;
6558
- do {
6559
- if(D = getOwnPropertyDescriptor(O, K))return D.get;
6560
- } while(O = getPrototypeOf(O));
6561
- }
6562
- });
6563
-
6564
- /***/ },
6565
- /* 263 */
6566
- /***/ function(module, exports, __webpack_require__) {
6567
-
6568
- 'use strict';
6569
- var $export = __webpack_require__(6)
6570
- , toObject = __webpack_require__(56)
6571
- , toPrimitive = __webpack_require__(14)
6572
- , getPrototypeOf = __webpack_require__(57)
6573
- , getOwnPropertyDescriptor = __webpack_require__(49).f;
6574
-
6575
- // B.2.2.5 Object.prototype.__lookupSetter__(P)
6576
- __webpack_require__(4) && $export($export.P + __webpack_require__(260), 'Object', {
6577
- __lookupSetter__: function __lookupSetter__(P){
6578
- var O = toObject(this)
6579
- , K = toPrimitive(P, true)
6580
- , D;
6581
- do {
6582
- if(D = getOwnPropertyDescriptor(O, K))return D.set;
6583
- } while(O = getPrototypeOf(O));
6584
- }
6585
- });
6586
-
6587
- /***/ },
6588
- /* 264 */
6589
- /***/ function(module, exports, __webpack_require__) {
6590
-
6591
- // https://github.com/DavidBruant/Map-Set.prototype.toJSON
6592
- var $export = __webpack_require__(6);
6593
-
6594
- $export($export.P + $export.R, 'Map', {toJSON: __webpack_require__(265)('Map')});
6595
-
6596
- /***/ },
6597
- /* 265 */
6598
- /***/ function(module, exports, __webpack_require__) {
6599
-
6600
- // https://github.com/DavidBruant/Map-Set.prototype.toJSON
6601
- var classof = __webpack_require__(73)
6602
- , from = __webpack_require__(266);
6603
- module.exports = function(NAME){
6604
- return function toJSON(){
6605
- if(classof(this) != NAME)throw TypeError(NAME + "#toJSON isn't generic");
6606
- return from(this);
6607
- };
6608
- };
6609
-
6610
- /***/ },
6611
- /* 266 */
6612
- /***/ function(module, exports, __webpack_require__) {
6613
-
6614
- var forOf = __webpack_require__(198);
6615
-
6616
- module.exports = function(iter, ITERATOR){
6617
- var result = [];
6618
- forOf(iter, false, result.push, result, ITERATOR);
6619
- return result;
6620
- };
6621
-
6622
-
6623
- /***/ },
6624
- /* 267 */
6625
- /***/ function(module, exports, __webpack_require__) {
6626
-
6627
- // https://github.com/DavidBruant/Map-Set.prototype.toJSON
6628
- var $export = __webpack_require__(6);
6629
-
6630
- $export($export.P + $export.R, 'Set', {toJSON: __webpack_require__(265)('Set')});
6631
-
6632
- /***/ },
6633
- /* 268 */
6634
- /***/ function(module, exports, __webpack_require__) {
6635
-
6636
- // https://github.com/ljharb/proposal-global
6637
- var $export = __webpack_require__(6);
6638
-
6639
- $export($export.S, 'System', {global: __webpack_require__(2)});
6640
-
6641
- /***/ },
6642
- /* 269 */
6643
- /***/ function(module, exports, __webpack_require__) {
6644
-
6645
- // https://github.com/ljharb/proposal-is-error
6646
- var $export = __webpack_require__(6)
6647
- , cof = __webpack_require__(32);
6648
-
6649
- $export($export.S, 'Error', {
6650
- isError: function isError(it){
6651
- return cof(it) === 'Error';
6652
- }
6653
- });
6654
-
6655
- /***/ },
6656
- /* 270 */
6657
- /***/ function(module, exports, __webpack_require__) {
6658
-
6659
- // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
6660
- var $export = __webpack_require__(6);
6661
-
6662
- $export($export.S, 'Math', {
6663
- iaddh: function iaddh(x0, x1, y0, y1){
6664
- var $x0 = x0 >>> 0
6665
- , $x1 = x1 >>> 0
6666
- , $y0 = y0 >>> 0;
6667
- return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;
6668
- }
6669
- });
6670
-
6671
- /***/ },
6672
- /* 271 */
6673
- /***/ function(module, exports, __webpack_require__) {
6674
-
6675
- // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
6676
- var $export = __webpack_require__(6);
6677
-
6678
- $export($export.S, 'Math', {
6679
- isubh: function isubh(x0, x1, y0, y1){
6680
- var $x0 = x0 >>> 0
6681
- , $x1 = x1 >>> 0
6682
- , $y0 = y0 >>> 0;
6683
- return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;
6684
- }
6685
- });
6686
-
6687
- /***/ },
6688
- /* 272 */
6689
- /***/ function(module, exports, __webpack_require__) {
6690
-
6691
- // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
6692
- var $export = __webpack_require__(6);
6693
-
6694
- $export($export.S, 'Math', {
6695
- imulh: function imulh(u, v){
6696
- var UINT16 = 0xffff
6697
- , $u = +u
6698
- , $v = +v
6699
- , u0 = $u & UINT16
6700
- , v0 = $v & UINT16
6701
- , u1 = $u >> 16
6702
- , v1 = $v >> 16
6703
- , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
6704
- return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16);
6705
- }
6706
- });
6707
-
6708
- /***/ },
6709
- /* 273 */
6710
- /***/ function(module, exports, __webpack_require__) {
6711
-
6712
- // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
6713
- var $export = __webpack_require__(6);
6714
-
6715
- $export($export.S, 'Math', {
6716
- umulh: function umulh(u, v){
6717
- var UINT16 = 0xffff
6718
- , $u = +u
6719
- , $v = +v
6720
- , u0 = $u & UINT16
6721
- , v0 = $v & UINT16
6722
- , u1 = $u >>> 16
6723
- , v1 = $v >>> 16
6724
- , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
6725
- return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);
6726
- }
6727
- });
6728
-
6729
- /***/ },
6730
- /* 274 */
6731
- /***/ function(module, exports, __webpack_require__) {
6732
-
6733
- var metadata = __webpack_require__(275)
6734
- , anObject = __webpack_require__(10)
6735
- , toMetaKey = metadata.key
6736
- , ordinaryDefineOwnMetadata = metadata.set;
6737
-
6738
- metadata.exp({defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey){
6739
- ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));
6740
- }});
6741
-
6742
- /***/ },
6743
- /* 275 */
6744
- /***/ function(module, exports, __webpack_require__) {
6745
-
6746
- var Map = __webpack_require__(203)
6747
- , $export = __webpack_require__(6)
6748
- , shared = __webpack_require__(21)('metadata')
6749
- , store = shared.store || (shared.store = new (__webpack_require__(207)));
6750
-
6751
- var getOrCreateMetadataMap = function(target, targetKey, create){
6752
- var targetMetadata = store.get(target);
6753
- if(!targetMetadata){
6754
- if(!create)return undefined;
6755
- store.set(target, targetMetadata = new Map);
6756
- }
6757
- var keyMetadata = targetMetadata.get(targetKey);
6758
- if(!keyMetadata){
6759
- if(!create)return undefined;
6760
- targetMetadata.set(targetKey, keyMetadata = new Map);
6761
- } return keyMetadata;
6762
- };
6763
- var ordinaryHasOwnMetadata = function(MetadataKey, O, P){
6764
- var metadataMap = getOrCreateMetadataMap(O, P, false);
6765
- return metadataMap === undefined ? false : metadataMap.has(MetadataKey);
6766
- };
6767
- var ordinaryGetOwnMetadata = function(MetadataKey, O, P){
6768
- var metadataMap = getOrCreateMetadataMap(O, P, false);
6769
- return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);
6770
- };
6771
- var ordinaryDefineOwnMetadata = function(MetadataKey, MetadataValue, O, P){
6772
- getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);
6773
- };
6774
- var ordinaryOwnMetadataKeys = function(target, targetKey){
6775
- var metadataMap = getOrCreateMetadataMap(target, targetKey, false)
6776
- , keys = [];
6777
- if(metadataMap)metadataMap.forEach(function(_, key){ keys.push(key); });
6778
- return keys;
6779
- };
6780
- var toMetaKey = function(it){
6781
- return it === undefined || typeof it == 'symbol' ? it : String(it);
6782
- };
6783
- var exp = function(O){
6784
- $export($export.S, 'Reflect', O);
6785
- };
6786
-
6787
- module.exports = {
6788
- store: store,
6789
- map: getOrCreateMetadataMap,
6790
- has: ordinaryHasOwnMetadata,
6791
- get: ordinaryGetOwnMetadata,
6792
- set: ordinaryDefineOwnMetadata,
6793
- keys: ordinaryOwnMetadataKeys,
6794
- key: toMetaKey,
6795
- exp: exp
6796
- };
6797
-
6798
- /***/ },
6799
- /* 276 */
6800
- /***/ function(module, exports, __webpack_require__) {
6801
-
6802
- var metadata = __webpack_require__(275)
6803
- , anObject = __webpack_require__(10)
6804
- , toMetaKey = metadata.key
6805
- , getOrCreateMetadataMap = metadata.map
6806
- , store = metadata.store;
6807
-
6808
- metadata.exp({deleteMetadata: function deleteMetadata(metadataKey, target /*, targetKey */){
6809
- var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2])
6810
- , metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);
6811
- if(metadataMap === undefined || !metadataMap['delete'](metadataKey))return false;
6812
- if(metadataMap.size)return true;
6813
- var targetMetadata = store.get(target);
6814
- targetMetadata['delete'](targetKey);
6815
- return !!targetMetadata.size || store['delete'](target);
6816
- }});
6817
-
6818
- /***/ },
6819
- /* 277 */
6820
- /***/ function(module, exports, __webpack_require__) {
6821
-
6822
- var metadata = __webpack_require__(275)
6823
- , anObject = __webpack_require__(10)
6824
- , getPrototypeOf = __webpack_require__(57)
6825
- , ordinaryHasOwnMetadata = metadata.has
6826
- , ordinaryGetOwnMetadata = metadata.get
6827
- , toMetaKey = metadata.key;
6828
-
6829
- var ordinaryGetMetadata = function(MetadataKey, O, P){
6830
- var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
6831
- if(hasOwn)return ordinaryGetOwnMetadata(MetadataKey, O, P);
6832
- var parent = getPrototypeOf(O);
6833
- return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;
6834
- };
6835
-
6836
- metadata.exp({getMetadata: function getMetadata(metadataKey, target /*, targetKey */){
6837
- return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
6838
- }});
6839
-
6840
- /***/ },
6841
- /* 278 */
6842
- /***/ function(module, exports, __webpack_require__) {
6843
-
6844
- var Set = __webpack_require__(206)
6845
- , from = __webpack_require__(266)
6846
- , metadata = __webpack_require__(275)
6847
- , anObject = __webpack_require__(10)
6848
- , getPrototypeOf = __webpack_require__(57)
6849
- , ordinaryOwnMetadataKeys = metadata.keys
6850
- , toMetaKey = metadata.key;
6851
-
6852
- var ordinaryMetadataKeys = function(O, P){
6853
- var oKeys = ordinaryOwnMetadataKeys(O, P)
6854
- , parent = getPrototypeOf(O);
6855
- if(parent === null)return oKeys;
6856
- var pKeys = ordinaryMetadataKeys(parent, P);
6857
- return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;
6858
- };
6859
-
6860
- metadata.exp({getMetadataKeys: function getMetadataKeys(target /*, targetKey */){
6861
- return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
6862
- }});
6863
-
6864
- /***/ },
6865
- /* 279 */
6866
- /***/ function(module, exports, __webpack_require__) {
6867
-
6868
- var metadata = __webpack_require__(275)
6869
- , anObject = __webpack_require__(10)
6870
- , ordinaryGetOwnMetadata = metadata.get
6871
- , toMetaKey = metadata.key;
6872
-
6873
- metadata.exp({getOwnMetadata: function getOwnMetadata(metadataKey, target /*, targetKey */){
6874
- return ordinaryGetOwnMetadata(metadataKey, anObject(target)
6875
- , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
6876
- }});
6877
-
6878
- /***/ },
6879
- /* 280 */
6880
- /***/ function(module, exports, __webpack_require__) {
6881
-
6882
- var metadata = __webpack_require__(275)
6883
- , anObject = __webpack_require__(10)
6884
- , ordinaryOwnMetadataKeys = metadata.keys
6885
- , toMetaKey = metadata.key;
6886
-
6887
- metadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetKey */){
6888
- return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
6889
- }});
6890
-
6891
- /***/ },
6892
- /* 281 */
6893
- /***/ function(module, exports, __webpack_require__) {
6894
-
6895
- var metadata = __webpack_require__(275)
6896
- , anObject = __webpack_require__(10)
6897
- , getPrototypeOf = __webpack_require__(57)
6898
- , ordinaryHasOwnMetadata = metadata.has
6899
- , toMetaKey = metadata.key;
6900
-
6901
- var ordinaryHasMetadata = function(MetadataKey, O, P){
6902
- var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
6903
- if(hasOwn)return true;
6904
- var parent = getPrototypeOf(O);
6905
- return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;
6906
- };
6907
-
6908
- metadata.exp({hasMetadata: function hasMetadata(metadataKey, target /*, targetKey */){
6909
- return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
6910
- }});
6911
-
6912
- /***/ },
6913
- /* 282 */
6914
- /***/ function(module, exports, __webpack_require__) {
6915
-
6916
- var metadata = __webpack_require__(275)
6917
- , anObject = __webpack_require__(10)
6918
- , ordinaryHasOwnMetadata = metadata.has
6919
- , toMetaKey = metadata.key;
6920
-
6921
- metadata.exp({hasOwnMetadata: function hasOwnMetadata(metadataKey, target /*, targetKey */){
6922
- return ordinaryHasOwnMetadata(metadataKey, anObject(target)
6923
- , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
6924
- }});
6925
-
6926
- /***/ },
6927
- /* 283 */
6928
- /***/ function(module, exports, __webpack_require__) {
6929
-
6930
- var metadata = __webpack_require__(275)
6931
- , anObject = __webpack_require__(10)
6932
- , aFunction = __webpack_require__(19)
6933
- , toMetaKey = metadata.key
6934
- , ordinaryDefineOwnMetadata = metadata.set;
6935
-
6936
- metadata.exp({metadata: function metadata(metadataKey, metadataValue){
6937
- return function decorator(target, targetKey){
6938
- ordinaryDefineOwnMetadata(
6939
- metadataKey, metadataValue,
6940
- (targetKey !== undefined ? anObject : aFunction)(target),
6941
- toMetaKey(targetKey)
6942
- );
6943
- };
6944
- }});
6945
-
6946
- /***/ },
6947
- /* 284 */
6948
- /***/ function(module, exports, __webpack_require__) {
6949
-
6950
- // https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask
6951
- var $export = __webpack_require__(6)
6952
- , microtask = __webpack_require__(201)()
6953
- , process = __webpack_require__(2).process
6954
- , isNode = __webpack_require__(32)(process) == 'process';
6955
-
6956
- $export($export.G, {
6957
- asap: function asap(fn){
6958
- var domain = isNode && process.domain;
6959
- microtask(domain ? domain.bind(fn) : fn);
6960
- }
6961
- });
6962
-
6963
- /***/ },
6964
- /* 285 */
6965
- /***/ function(module, exports, __webpack_require__) {
6966
-
6967
- 'use strict';
6968
- // https://github.com/zenparsing/es-observable
6969
- var $export = __webpack_require__(6)
6970
- , global = __webpack_require__(2)
6971
- , core = __webpack_require__(7)
6972
- , microtask = __webpack_require__(201)()
6973
- , OBSERVABLE = __webpack_require__(23)('observable')
6974
- , aFunction = __webpack_require__(19)
6975
- , anObject = __webpack_require__(10)
6976
- , anInstance = __webpack_require__(197)
6977
- , redefineAll = __webpack_require__(202)
6978
- , hide = __webpack_require__(8)
6979
- , forOf = __webpack_require__(198)
6980
- , RETURN = forOf.RETURN;
6981
-
6982
- var getMethod = function(fn){
6983
- return fn == null ? undefined : aFunction(fn);
6984
- };
6985
-
6986
- var cleanupSubscription = function(subscription){
6987
- var cleanup = subscription._c;
6988
- if(cleanup){
6989
- subscription._c = undefined;
6990
- cleanup();
6991
- }
6992
- };
6993
-
6994
- var subscriptionClosed = function(subscription){
6995
- return subscription._o === undefined;
6996
- };
6997
-
6998
- var closeSubscription = function(subscription){
6999
- if(!subscriptionClosed(subscription)){
7000
- subscription._o = undefined;
7001
- cleanupSubscription(subscription);
7002
- }
7003
- };
7004
-
7005
- var Subscription = function(observer, subscriber){
7006
- anObject(observer);
7007
- this._c = undefined;
7008
- this._o = observer;
7009
- observer = new SubscriptionObserver(this);
7010
- try {
7011
- var cleanup = subscriber(observer)
7012
- , subscription = cleanup;
7013
- if(cleanup != null){
7014
- if(typeof cleanup.unsubscribe === 'function')cleanup = function(){ subscription.unsubscribe(); };
7015
- else aFunction(cleanup);
7016
- this._c = cleanup;
7017
- }
7018
- } catch(e){
7019
- observer.error(e);
7020
- return;
7021
- } if(subscriptionClosed(this))cleanupSubscription(this);
7022
- };
7023
-
7024
- Subscription.prototype = redefineAll({}, {
7025
- unsubscribe: function unsubscribe(){ closeSubscription(this); }
7026
- });
7027
-
7028
- var SubscriptionObserver = function(subscription){
7029
- this._s = subscription;
7030
- };
7031
-
7032
- SubscriptionObserver.prototype = redefineAll({}, {
7033
- next: function next(value){
7034
- var subscription = this._s;
7035
- if(!subscriptionClosed(subscription)){
7036
- var observer = subscription._o;
7037
- try {
7038
- var m = getMethod(observer.next);
7039
- if(m)return m.call(observer, value);
7040
- } catch(e){
7041
- try {
7042
- closeSubscription(subscription);
7043
- } finally {
7044
- throw e;
7045
- }
7046
- }
7047
- }
7048
- },
7049
- error: function error(value){
7050
- var subscription = this._s;
7051
- if(subscriptionClosed(subscription))throw value;
7052
- var observer = subscription._o;
7053
- subscription._o = undefined;
7054
- try {
7055
- var m = getMethod(observer.error);
7056
- if(!m)throw value;
7057
- value = m.call(observer, value);
7058
- } catch(e){
7059
- try {
7060
- cleanupSubscription(subscription);
7061
- } finally {
7062
- throw e;
7063
- }
7064
- } cleanupSubscription(subscription);
7065
- return value;
7066
- },
7067
- complete: function complete(value){
7068
- var subscription = this._s;
7069
- if(!subscriptionClosed(subscription)){
7070
- var observer = subscription._o;
7071
- subscription._o = undefined;
7072
- try {
7073
- var m = getMethod(observer.complete);
7074
- value = m ? m.call(observer, value) : undefined;
7075
- } catch(e){
7076
- try {
7077
- cleanupSubscription(subscription);
7078
- } finally {
7079
- throw e;
7080
- }
7081
- } cleanupSubscription(subscription);
7082
- return value;
7083
- }
7084
- }
7085
- });
7086
-
7087
- var $Observable = function Observable(subscriber){
7088
- anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber);
7089
- };
7090
-
7091
- redefineAll($Observable.prototype, {
7092
- subscribe: function subscribe(observer){
7093
- return new Subscription(observer, this._f);
7094
- },
7095
- forEach: function forEach(fn){
7096
- var that = this;
7097
- return new (core.Promise || global.Promise)(function(resolve, reject){
7098
- aFunction(fn);
7099
- var subscription = that.subscribe({
7100
- next : function(value){
7101
- try {
7102
- return fn(value);
7103
- } catch(e){
7104
- reject(e);
7105
- subscription.unsubscribe();
7106
- }
7107
- },
7108
- error: reject,
7109
- complete: resolve
7110
- });
7111
- });
7112
- }
7113
- });
7114
-
7115
- redefineAll($Observable, {
7116
- from: function from(x){
7117
- var C = typeof this === 'function' ? this : $Observable;
7118
- var method = getMethod(anObject(x)[OBSERVABLE]);
7119
- if(method){
7120
- var observable = anObject(method.call(x));
7121
- return observable.constructor === C ? observable : new C(function(observer){
7122
- return observable.subscribe(observer);
7123
- });
7124
- }
7125
- return new C(function(observer){
7126
- var done = false;
7127
- microtask(function(){
7128
- if(!done){
7129
- try {
7130
- if(forOf(x, false, function(it){
7131
- observer.next(it);
7132
- if(done)return RETURN;
7133
- }) === RETURN)return;
7134
- } catch(e){
7135
- if(done)throw e;
7136
- observer.error(e);
7137
- return;
7138
- } observer.complete();
7139
- }
7140
- });
7141
- return function(){ done = true; };
7142
- });
7143
- },
7144
- of: function of(){
7145
- for(var i = 0, l = arguments.length, items = Array(l); i < l;)items[i] = arguments[i++];
7146
- return new (typeof this === 'function' ? this : $Observable)(function(observer){
7147
- var done = false;
7148
- microtask(function(){
7149
- if(!done){
7150
- for(var i = 0; i < items.length; ++i){
7151
- observer.next(items[i]);
7152
- if(done)return;
7153
- } observer.complete();
7154
- }
7155
- });
7156
- return function(){ done = true; };
7157
- });
7158
- }
7159
- });
7160
-
7161
- hide($Observable.prototype, OBSERVABLE, function(){ return this; });
7162
-
7163
- $export($export.G, {Observable: $Observable});
7164
-
7165
- __webpack_require__(186)('Observable');
7166
-
7167
- /***/ },
7168
- /* 286 */
7169
- /***/ function(module, exports, __webpack_require__) {
7170
-
7171
- var $export = __webpack_require__(6)
7172
- , $task = __webpack_require__(200);
7173
- $export($export.G + $export.B, {
7174
- setImmediate: $task.set,
7175
- clearImmediate: $task.clear
7176
- });
7177
-
7178
- /***/ },
7179
- /* 287 */
7180
- /***/ function(module, exports, __webpack_require__) {
7181
-
7182
- var $iterators = __webpack_require__(183)
7183
- , redefine = __webpack_require__(16)
7184
- , global = __webpack_require__(2)
7185
- , hide = __webpack_require__(8)
7186
- , Iterators = __webpack_require__(135)
7187
- , wks = __webpack_require__(23)
7188
- , ITERATOR = wks('iterator')
7189
- , TO_STRING_TAG = wks('toStringTag')
7190
- , ArrayValues = Iterators.Array;
7191
-
7192
- for(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){
7193
- var NAME = collections[i]
7194
- , Collection = global[NAME]
7195
- , proto = Collection && Collection.prototype
7196
- , key;
7197
- if(proto){
7198
- if(!proto[ITERATOR])hide(proto, ITERATOR, ArrayValues);
7199
- if(!proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);
7200
- Iterators[NAME] = ArrayValues;
7201
- for(key in $iterators)if(!proto[key])redefine(proto, key, $iterators[key], true);
7202
- }
7203
- }
7204
-
7205
- /***/ },
7206
- /* 288 */
7207
- /***/ function(module, exports, __webpack_require__) {
7208
-
7209
- // ie9- setTimeout & setInterval additional parameters fix
7210
- var global = __webpack_require__(2)
7211
- , $export = __webpack_require__(6)
7212
- , invoke = __webpack_require__(76)
7213
- , partial = __webpack_require__(289)
7214
- , navigator = global.navigator
7215
- , MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check
7216
- var wrap = function(set){
7217
- return MSIE ? function(fn, time /*, ...args */){
7218
- return set(invoke(
7219
- partial,
7220
- [].slice.call(arguments, 2),
7221
- typeof fn == 'function' ? fn : Function(fn)
7222
- ), time);
7223
- } : set;
7224
- };
7225
- $export($export.G + $export.B + $export.F * MSIE, {
7226
- setTimeout: wrap(global.setTimeout),
7227
- setInterval: wrap(global.setInterval)
7228
- });
7229
-
7230
- /***/ },
7231
- /* 289 */
7232
- /***/ function(module, exports, __webpack_require__) {
7233
-
7234
- 'use strict';
7235
- var path = __webpack_require__(290)
7236
- , invoke = __webpack_require__(76)
7237
- , aFunction = __webpack_require__(19);
7238
- module.exports = function(/* ...pargs */){
7239
- var fn = aFunction(this)
7240
- , length = arguments.length
7241
- , pargs = Array(length)
7242
- , i = 0
7243
- , _ = path._
7244
- , holder = false;
7245
- while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;
7246
- return function(/* ...args */){
7247
- var that = this
7248
- , aLen = arguments.length
7249
- , j = 0, k = 0, args;
7250
- if(!holder && !aLen)return invoke(fn, pargs, that);
7251
- args = pargs.slice();
7252
- if(holder)for(;length > j; j++)if(args[j] === _)args[j] = arguments[k++];
7253
- while(aLen > k)args.push(arguments[k++]);
7254
- return invoke(fn, args, that);
7255
- };
7256
- };
7257
-
7258
- /***/ },
7259
- /* 290 */
7260
- /***/ function(module, exports, __webpack_require__) {
7261
-
7262
- module.exports = __webpack_require__(2);
7263
-
7264
- /***/ },
7265
- /* 291 */
7266
- /***/ function(module, exports, __webpack_require__) {
7267
-
7268
- 'use strict';
7269
- var ctx = __webpack_require__(18)
7270
- , $export = __webpack_require__(6)
7271
- , createDesc = __webpack_require__(15)
7272
- , assign = __webpack_require__(67)
7273
- , create = __webpack_require__(44)
7274
- , getPrototypeOf = __webpack_require__(57)
7275
- , getKeys = __webpack_require__(28)
7276
- , dP = __webpack_require__(9)
7277
- , keyOf = __webpack_require__(27)
7278
- , aFunction = __webpack_require__(19)
7279
- , forOf = __webpack_require__(198)
7280
- , isIterable = __webpack_require__(292)
7281
- , $iterCreate = __webpack_require__(136)
7282
- , step = __webpack_require__(184)
7283
- , isObject = __webpack_require__(11)
7284
- , toIObject = __webpack_require__(30)
7285
- , DESCRIPTORS = __webpack_require__(4)
7286
- , has = __webpack_require__(3);
7287
-
7288
- // 0 -> Dict.forEach
7289
- // 1 -> Dict.map
7290
- // 2 -> Dict.filter
7291
- // 3 -> Dict.some
7292
- // 4 -> Dict.every
7293
- // 5 -> Dict.find
7294
- // 6 -> Dict.findKey
7295
- // 7 -> Dict.mapPairs
7296
- var createDictMethod = function(TYPE){
7297
- var IS_MAP = TYPE == 1
7298
- , IS_EVERY = TYPE == 4;
7299
- return function(object, callbackfn, that /* = undefined */){
7300
- var f = ctx(callbackfn, that, 3)
7301
- , O = toIObject(object)
7302
- , result = IS_MAP || TYPE == 7 || TYPE == 2
7303
- ? new (typeof this == 'function' ? this : Dict) : undefined
7304
- , key, val, res;
7305
- for(key in O)if(has(O, key)){
7306
- val = O[key];
7307
- res = f(val, key, object);
7308
- if(TYPE){
7309
- if(IS_MAP)result[key] = res; // map
7310
- else if(res)switch(TYPE){
7311
- case 2: result[key] = val; break; // filter
7312
- case 3: return true; // some
7313
- case 5: return val; // find
7314
- case 6: return key; // findKey
7315
- case 7: result[res[0]] = res[1]; // mapPairs
7316
- } else if(IS_EVERY)return false; // every
7317
- }
7318
- }
7319
- return TYPE == 3 || IS_EVERY ? IS_EVERY : result;
7320
- };
7321
- };
7322
- var findKey = createDictMethod(6);
7323
-
7324
- var createDictIter = function(kind){
7325
- return function(it){
7326
- return new DictIterator(it, kind);
7327
- };
7328
- };
7329
- var DictIterator = function(iterated, kind){
7330
- this._t = toIObject(iterated); // target
7331
- this._a = getKeys(iterated); // keys
7332
- this._i = 0; // next index
7333
- this._k = kind; // kind
7334
- };
7335
- $iterCreate(DictIterator, 'Dict', function(){
7336
- var that = this
7337
- , O = that._t
7338
- , keys = that._a
7339
- , kind = that._k
7340
- , key;
7341
- do {
7342
- if(that._i >= keys.length){
7343
- that._t = undefined;
7344
- return step(1);
7345
- }
7346
- } while(!has(O, key = keys[that._i++]));
7347
- if(kind == 'keys' )return step(0, key);
7348
- if(kind == 'values')return step(0, O[key]);
7349
- return step(0, [key, O[key]]);
7350
- });
7351
-
7352
- function Dict(iterable){
7353
- var dict = create(null);
7354
- if(iterable != undefined){
7355
- if(isIterable(iterable)){
7356
- forOf(iterable, true, function(key, value){
7357
- dict[key] = value;
7358
- });
7359
- } else assign(dict, iterable);
7360
- }
7361
- return dict;
7362
- }
7363
- Dict.prototype = null;
7364
-
7365
- function reduce(object, mapfn, init){
7366
- aFunction(mapfn);
7367
- var O = toIObject(object)
7368
- , keys = getKeys(O)
7369
- , length = keys.length
7370
- , i = 0
7371
- , memo, key;
7372
- if(arguments.length < 3){
7373
- if(!length)throw TypeError('Reduce of empty object with no initial value');
7374
- memo = O[keys[i++]];
7375
- } else memo = Object(init);
7376
- while(length > i)if(has(O, key = keys[i++])){
7377
- memo = mapfn(memo, O[key], key, object);
7378
- }
7379
- return memo;
7380
- }
7381
-
7382
- function includes(object, el){
7383
- return (el == el ? keyOf(object, el) : findKey(object, function(it){
7384
- return it != it;
7385
- })) !== undefined;
7386
- }
7387
-
7388
- function get(object, key){
7389
- if(has(object, key))return object[key];
7390
- }
7391
- function set(object, key, value){
7392
- if(DESCRIPTORS && key in Object)dP.f(object, key, createDesc(0, value));
7393
- else object[key] = value;
7394
- return object;
7395
- }
7396
-
7397
- function isDict(it){
7398
- return isObject(it) && getPrototypeOf(it) === Dict.prototype;
7399
- }
7400
-
7401
- $export($export.G + $export.F, {Dict: Dict});
7402
-
7403
- $export($export.S, 'Dict', {
7404
- keys: createDictIter('keys'),
7405
- values: createDictIter('values'),
7406
- entries: createDictIter('entries'),
7407
- forEach: createDictMethod(0),
7408
- map: createDictMethod(1),
7409
- filter: createDictMethod(2),
7410
- some: createDictMethod(3),
7411
- every: createDictMethod(4),
7412
- find: createDictMethod(5),
7413
- findKey: findKey,
7414
- mapPairs: createDictMethod(7),
7415
- reduce: reduce,
7416
- keyOf: keyOf,
7417
- includes: includes,
7418
- has: has,
7419
- get: get,
7420
- set: set,
7421
- isDict: isDict
7422
- });
7423
-
7424
- /***/ },
7425
- /* 292 */
7426
- /***/ function(module, exports, __webpack_require__) {
7427
-
7428
- var classof = __webpack_require__(73)
7429
- , ITERATOR = __webpack_require__(23)('iterator')
7430
- , Iterators = __webpack_require__(135);
7431
- module.exports = __webpack_require__(7).isIterable = function(it){
7432
- var O = Object(it);
7433
- return O[ITERATOR] !== undefined
7434
- || '@@iterator' in O
7435
- || Iterators.hasOwnProperty(classof(O));
7436
- };
7437
-
7438
- /***/ },
7439
- /* 293 */
7440
- /***/ function(module, exports, __webpack_require__) {
7441
-
7442
- var anObject = __webpack_require__(10)
7443
- , get = __webpack_require__(156);
7444
- module.exports = __webpack_require__(7).getIterator = function(it){
7445
- var iterFn = get(it);
7446
- if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');
7447
- return anObject(iterFn.call(it));
7448
- };
7449
-
7450
- /***/ },
7451
- /* 294 */
7452
- /***/ function(module, exports, __webpack_require__) {
7453
-
7454
- var global = __webpack_require__(2)
7455
- , core = __webpack_require__(7)
7456
- , $export = __webpack_require__(6)
7457
- , partial = __webpack_require__(289);
7458
- // https://esdiscuss.org/topic/promise-returning-delay-function
7459
- $export($export.G + $export.F, {
7460
- delay: function delay(time){
7461
- return new (core.Promise || global.Promise)(function(resolve){
7462
- setTimeout(partial.call(resolve, true), time);
7463
- });
7464
- }
7465
- });
7466
-
7467
- /***/ },
7468
- /* 295 */
7469
- /***/ function(module, exports, __webpack_require__) {
7470
-
7471
- var path = __webpack_require__(290)
7472
- , $export = __webpack_require__(6);
7473
-
7474
- // Placeholder
7475
- __webpack_require__(7)._ = path._ = path._ || {};
7476
-
7477
- $export($export.P + $export.F, 'Function', {part: __webpack_require__(289)});
7478
-
7479
- /***/ },
7480
- /* 296 */
7481
- /***/ function(module, exports, __webpack_require__) {
7482
-
7483
- var $export = __webpack_require__(6);
7484
-
7485
- $export($export.S + $export.F, 'Object', {isObject: __webpack_require__(11)});
7486
-
7487
- /***/ },
7488
- /* 297 */
7489
- /***/ function(module, exports, __webpack_require__) {
7490
-
7491
- var $export = __webpack_require__(6);
7492
-
7493
- $export($export.S + $export.F, 'Object', {classof: __webpack_require__(73)});
7494
-
7495
- /***/ },
7496
- /* 298 */
7497
- /***/ function(module, exports, __webpack_require__) {
7498
-
7499
- var $export = __webpack_require__(6)
7500
- , define = __webpack_require__(299);
7501
-
7502
- $export($export.S + $export.F, 'Object', {define: define});
7503
-
7504
- /***/ },
7505
- /* 299 */
7506
- /***/ function(module, exports, __webpack_require__) {
7507
-
7508
- var dP = __webpack_require__(9)
7509
- , gOPD = __webpack_require__(49)
7510
- , ownKeys = __webpack_require__(221)
7511
- , toIObject = __webpack_require__(30);
7512
-
7513
- module.exports = function define(target, mixin){
7514
- var keys = ownKeys(toIObject(mixin))
7515
- , length = keys.length
7516
- , i = 0, key;
7517
- while(length > i)dP.f(target, key = keys[i++], gOPD.f(mixin, key));
7518
- return target;
7519
- };
7520
-
7521
- /***/ },
7522
- /* 300 */
7523
- /***/ function(module, exports, __webpack_require__) {
7524
-
7525
- var $export = __webpack_require__(6)
7526
- , define = __webpack_require__(299)
7527
- , create = __webpack_require__(44);
7528
-
7529
- $export($export.S + $export.F, 'Object', {
7530
- make: function(proto, mixin){
7531
- return define(create(proto), mixin);
7532
- }
7533
- });
7534
-
7535
- /***/ },
7536
- /* 301 */
7537
- /***/ function(module, exports, __webpack_require__) {
7538
-
7539
- 'use strict';
7540
- __webpack_require__(134)(Number, 'Number', function(iterated){
7541
- this._l = +iterated;
7542
- this._i = 0;
7543
- }, function(){
7544
- var i = this._i++
7545
- , done = !(i < this._l);
7546
- return {done: done, value: done ? undefined : i};
7547
- });
7548
-
7549
- /***/ },
7550
- /* 302 */
7551
- /***/ function(module, exports, __webpack_require__) {
7552
-
7553
- // https://github.com/benjamingr/RexExp.escape
7554
- var $export = __webpack_require__(6)
7555
- , $re = __webpack_require__(303)(/[\\^$*+?.()|[\]{}]/g, '\\$&');
7556
-
7557
- $export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});
7558
-
7559
-
7560
- /***/ },
7561
- /* 303 */
7562
- /***/ function(module, exports) {
7563
-
7564
- module.exports = function(regExp, replace){
7565
- var replacer = replace === Object(replace) ? function(part){
7566
- return replace[part];
7567
- } : replace;
7568
- return function(it){
7569
- return String(it).replace(regExp, replacer);
7570
- };
7571
- };
7572
-
7573
- /***/ },
7574
- /* 304 */
7575
- /***/ function(module, exports, __webpack_require__) {
7576
-
7577
- 'use strict';
7578
- var $export = __webpack_require__(6);
7579
- var $re = __webpack_require__(303)(/[&<>"']/g, {
7580
- '&': '&amp;',
7581
- '<': '&lt;',
7582
- '>': '&gt;',
7583
- '"': '&quot;',
7584
- "'": '&apos;'
7585
- });
7586
-
7587
- $export($export.P + $export.F, 'String', {escapeHTML: function escapeHTML(){ return $re(this); }});
7588
-
7589
- /***/ },
7590
- /* 305 */
7591
- /***/ function(module, exports, __webpack_require__) {
7592
-
7593
- 'use strict';
7594
- var $export = __webpack_require__(6);
7595
- var $re = __webpack_require__(303)(/&(?:amp|lt|gt|quot|apos);/g, {
7596
- '&amp;': '&',
7597
- '&lt;': '<',
7598
- '&gt;': '>',
7599
- '&quot;': '"',
7600
- '&apos;': "'"
7601
- });
7602
-
7603
- $export($export.P + $export.F, 'String', {unescapeHTML: function unescapeHTML(){ return $re(this); }});
7604
-
7605
- /***/ }
7606
- /******/ ]);
7607
- // CommonJS export
7608
- if(typeof module != 'undefined' && module.exports)module.exports = __e;
7609
- // RequireJS export
7610
- else if(typeof define == 'function' && define.amd)define(function(){return __e});
7611
- // Export to global object
7612
- else __g.core = __e;
7613
  }(1, 1);
1
+ /**
2
+ * core-js 2.4.1
3
+ * https://github.com/zloirock/core-js
4
+ * License: http://rock.mit-license.org
5
+ * © 2016 Denis Pushkarev
6
+ */
7
+ !function(__e, __g, undefined){
8
+ 'use strict';
9
+ /******/ (function(modules) { // webpackBootstrap
10
+ /******/ // The module cache
11
+ /******/ var installedModules = {};
12
+
13
+ /******/ // The require function
14
+ /******/ function __webpack_require__(moduleId) {
15
+
16
+ /******/ // Check if module is in cache
17
+ /******/ if(installedModules[moduleId])
18
+ /******/ return installedModules[moduleId].exports;
19
+
20
+ /******/ // Create a new module (and put it into the cache)
21
+ /******/ var module = installedModules[moduleId] = {
22
+ /******/ exports: {},
23
+ /******/ id: moduleId,
24
+ /******/ loaded: false
25
+ /******/ };
26
+
27
+ /******/ // Execute the module function
28
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
29
+
30
+ /******/ // Flag the module as loaded
31
+ /******/ module.loaded = true;
32
+
33
+ /******/ // Return the exports of the module
34
+ /******/ return module.exports;
35
+ /******/ }
36
+
37
+
38
+ /******/ // expose the modules object (__webpack_modules__)
39
+ /******/ __webpack_require__.m = modules;
40
+
41
+ /******/ // expose the module cache
42
+ /******/ __webpack_require__.c = installedModules;
43
+
44
+ /******/ // __webpack_public_path__
45
+ /******/ __webpack_require__.p = "";
46
+
47
+ /******/ // Load entry module and return exports
48
+ /******/ return __webpack_require__(0);
49
+ /******/ })
50
+ /************************************************************************/
51
+ /******/ ([
52
+ /* 0 */
53
+ /***/ function(module, exports, __webpack_require__) {
54
+
55
+ __webpack_require__(1);
56
+ __webpack_require__(50);
57
+ __webpack_require__(51);
58
+ __webpack_require__(52);
59
+ __webpack_require__(54);
60
+ __webpack_require__(55);
61
+ __webpack_require__(58);
62
+ __webpack_require__(59);
63
+ __webpack_require__(60);
64
+ __webpack_require__(61);
65
+ __webpack_require__(62);
66
+ __webpack_require__(63);
67
+ __webpack_require__(64);
68
+ __webpack_require__(65);
69
+ __webpack_require__(66);
70
+ __webpack_require__(68);
71
+ __webpack_require__(70);
72
+ __webpack_require__(72);
73
+ __webpack_require__(74);
74
+ __webpack_require__(77);
75
+ __webpack_require__(78);
76
+ __webpack_require__(79);
77
+ __webpack_require__(83);
78
+ __webpack_require__(86);
79
+ __webpack_require__(87);
80
+ __webpack_require__(88);
81
+ __webpack_require__(89);
82
+ __webpack_require__(91);
83
+ __webpack_require__(92);
84
+ __webpack_require__(93);
85
+ __webpack_require__(94);
86
+ __webpack_require__(95);
87
+ __webpack_require__(97);
88
+ __webpack_require__(99);
89
+ __webpack_require__(100);
90
+ __webpack_require__(101);
91
+ __webpack_require__(103);
92
+ __webpack_require__(104);
93
+ __webpack_require__(105);
94
+ __webpack_require__(107);
95
+ __webpack_require__(108);
96
+ __webpack_require__(109);
97
+ __webpack_require__(111);
98
+ __webpack_require__(112);
99
+ __webpack_require__(113);
100
+ __webpack_require__(114);
101
+ __webpack_require__(115);
102
+ __webpack_require__(116);
103
+ __webpack_require__(117);
104
+ __webpack_require__(118);
105
+ __webpack_require__(119);
106
+ __webpack_require__(120);
107
+ __webpack_require__(121);
108
+ __webpack_require__(122);
109
+ __webpack_require__(123);
110
+ __webpack_require__(124);
111
+ __webpack_require__(126);
112
+ __webpack_require__(130);
113
+ __webpack_require__(131);
114
+ __webpack_require__(132);
115
+ __webpack_require__(133);
116
+ __webpack_require__(137);
117
+ __webpack_require__(139);
118
+ __webpack_require__(140);
119
+ __webpack_require__(141);
120
+ __webpack_require__(142);
121
+ __webpack_require__(143);
122
+ __webpack_require__(144);
123
+ __webpack_require__(145);
124
+ __webpack_require__(146);
125
+ __webpack_require__(147);
126
+ __webpack_require__(148);
127
+ __webpack_require__(149);
128
+ __webpack_require__(150);
129
+ __webpack_require__(151);
130
+ __webpack_require__(152);
131
+ __webpack_require__(158);
132
+ __webpack_require__(159);
133
+ __webpack_require__(161);
134
+ __webpack_require__(162);
135
+ __webpack_require__(163);
136
+ __webpack_require__(167);
137
+ __webpack_require__(168);
138
+ __webpack_require__(169);
139
+ __webpack_require__(170);
140
+ __webpack_require__(171);
141
+ __webpack_require__(173);
142
+ __webpack_require__(174);
143
+ __webpack_require__(175);
144
+ __webpack_require__(176);
145
+ __webpack_require__(179);
146
+ __webpack_require__(181);
147
+ __webpack_require__(182);
148
+ __webpack_require__(183);
149
+ __webpack_require__(185);
150
+ __webpack_require__(187);
151
+ __webpack_require__(189);
152
+ __webpack_require__(190);
153
+ __webpack_require__(191);
154
+ __webpack_require__(193);
155
+ __webpack_require__(194);
156
+ __webpack_require__(195);
157
+ __webpack_require__(196);
158
+ __webpack_require__(203);
159
+ __webpack_require__(206);
160
+ __webpack_require__(207);
161
+ __webpack_require__(209);
162
+ __webpack_require__(210);
163
+ __webpack_require__(211);
164
+ __webpack_require__(212);
165
+ __webpack_require__(213);
166
+ __webpack_require__(214);
167
+ __webpack_require__(215);
168
+ __webpack_require__(216);
169
+ __webpack_require__(217);
170
+ __webpack_require__(218);
171
+ __webpack_require__(219);
172
+ __webpack_require__(220);
173
+ __webpack_require__(222);
174
+ __webpack_require__(223);
175
+ __webpack_require__(224);
176
+ __webpack_require__(225);
177
+ __webpack_require__(226);
178
+ __webpack_require__(227);
179
+ __webpack_require__(228);
180
+ __webpack_require__(229);
181
+ __webpack_require__(231);
182
+ __webpack_require__(234);
183
+ __webpack_require__(235);
184
+ __webpack_require__(237);
185
+ __webpack_require__(238);
186
+ __webpack_require__(239);
187
+ __webpack_require__(240);
188
+ __webpack_require__(241);
189
+ __webpack_require__(242);
190
+ __webpack_require__(243);
191
+ __webpack_require__(244);
192
+ __webpack_require__(245);
193
+ __webpack_require__(246);
194
+ __webpack_require__(247);
195
+ __webpack_require__(249);
196
+ __webpack_require__(250);
197
+ __webpack_require__(251);
198
+ __webpack_require__(252);
199
+ __webpack_require__(253);
200
+ __webpack_require__(254);
201
+ __webpack_require__(255);
202
+ __webpack_require__(256);
203
+ __webpack_require__(258);
204
+ __webpack_require__(259);
205
+ __webpack_require__(261);
206
+ __webpack_require__(262);
207
+ __webpack_require__(263);
208
+ __webpack_require__(264);
209
+ __webpack_require__(267);
210
+ __webpack_require__(268);
211
+ __webpack_require__(269);
212
+ __webpack_require__(270);
213
+ __webpack_require__(271);
214
+ __webpack_require__(272);
215
+ __webpack_require__(273);
216
+ __webpack_require__(274);
217
+ __webpack_require__(276);
218
+ __webpack_require__(277);
219
+ __webpack_require__(278);
220
+ __webpack_require__(279);
221
+ __webpack_require__(280);
222
+ __webpack_require__(281);
223
+ __webpack_require__(282);
224
+ __webpack_require__(283);
225
+ __webpack_require__(284);
226
+ __webpack_require__(285);
227
+ __webpack_require__(286);
228
+ __webpack_require__(287);
229
+ __webpack_require__(288);
230
+ __webpack_require__(291);
231
+ __webpack_require__(156);
232
+ __webpack_require__(293);
233
+ __webpack_require__(292);
234
+ __webpack_require__(294);
235
+ __webpack_require__(295);
236
+ __webpack_require__(296);
237
+ __webpack_require__(297);
238
+ __webpack_require__(298);
239
+ __webpack_require__(300);
240
+ __webpack_require__(301);
241
+ __webpack_require__(302);
242
+ __webpack_require__(304);
243
+ module.exports = __webpack_require__(305);
244
+
245
+
246
+ /***/ },
247
+ /* 1 */
248
+ /***/ function(module, exports, __webpack_require__) {
249
+
250
+ 'use strict';
251
+ // ECMAScript 6 symbols shim
252
+ var global = __webpack_require__(2)
253
+ , has = __webpack_require__(3)
254
+ , DESCRIPTORS = __webpack_require__(4)
255
+ , $export = __webpack_require__(6)
256
+ , redefine = __webpack_require__(16)
257
+ , META = __webpack_require__(20).KEY
258
+ , $fails = __webpack_require__(5)
259
+ , shared = __webpack_require__(21)
260
+ , setToStringTag = __webpack_require__(22)
261
+ , uid = __webpack_require__(17)
262
+ , wks = __webpack_require__(23)
263
+ , wksExt = __webpack_require__(24)
264
+ , wksDefine = __webpack_require__(25)
265
+ , keyOf = __webpack_require__(27)
266
+ , enumKeys = __webpack_require__(40)
267
+ , isArray = __webpack_require__(43)
268
+ , anObject = __webpack_require__(10)
269
+ , toIObject = __webpack_require__(30)
270
+ , toPrimitive = __webpack_require__(14)
271
+ , createDesc = __webpack_require__(15)
272
+ , _create = __webpack_require__(44)
273
+ , gOPNExt = __webpack_require__(47)
274
+ , $GOPD = __webpack_require__(49)
275
+ , $DP = __webpack_require__(9)
276
+ , $keys = __webpack_require__(28)
277
+ , gOPD = $GOPD.f
278
+ , dP = $DP.f
279
+ , gOPN = gOPNExt.f
280
+ , $Symbol = global.Symbol
281
+ , $JSON = global.JSON
282
+ , _stringify = $JSON && $JSON.stringify
283
+ , PROTOTYPE = 'prototype'
284
+ , HIDDEN = wks('_hidden')
285
+ , TO_PRIMITIVE = wks('toPrimitive')
286
+ , isEnum = {}.propertyIsEnumerable
287
+ , SymbolRegistry = shared('symbol-registry')
288
+ , AllSymbols = shared('symbols')
289
+ , OPSymbols = shared('op-symbols')
290
+ , ObjectProto = Object[PROTOTYPE]
291
+ , USE_NATIVE = typeof $Symbol == 'function'
292
+ , QObject = global.QObject;
293
+ // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
294
+ var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
295
+
296
+ // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
297
+ var setSymbolDesc = DESCRIPTORS && $fails(function(){
298
+ return _create(dP({}, 'a', {
299
+ get: function(){ return dP(this, 'a', {value: 7}).a; }
300
+ })).a != 7;
301
+ }) ? function(it, key, D){
302
+ var protoDesc = gOPD(ObjectProto, key);
303
+ if(protoDesc)delete ObjectProto[key];
304
+ dP(it, key, D);
305
+ if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);
306
+ } : dP;
307
+
308
+ var wrap = function(tag){
309
+ var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
310
+ sym._k = tag;
311
+ return sym;
312
+ };
313
+
314
+ var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){
315
+ return typeof it == 'symbol';
316
+ } : function(it){
317
+ return it instanceof $Symbol;
318
+ };
319
+
320
+ var $defineProperty = function defineProperty(it, key, D){
321
+ if(it === ObjectProto)$defineProperty(OPSymbols, key, D);
322
+ anObject(it);
323
+ key = toPrimitive(key, true);
324
+ anObject(D);
325
+ if(has(AllSymbols, key)){
326
+ if(!D.enumerable){
327
+ if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));
328
+ it[HIDDEN][key] = true;
329
+ } else {
330
+ if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;
331
+ D = _create(D, {enumerable: createDesc(0, false)});
332
+ } return setSymbolDesc(it, key, D);
333
+ } return dP(it, key, D);
334
+ };
335
+ var $defineProperties = function defineProperties(it, P){
336
+ anObject(it);
337
+ var keys = enumKeys(P = toIObject(P))
338
+ , i = 0
339
+ , l = keys.length
340
+ , key;
341
+ while(l > i)$defineProperty(it, key = keys[i++], P[key]);
342
+ return it;
343
+ };
344
+ var $create = function create(it, P){
345
+ return P === undefined ? _create(it) : $defineProperties(_create(it), P);
346
+ };
347
+ var $propertyIsEnumerable = function propertyIsEnumerable(key){
348
+ var E = isEnum.call(this, key = toPrimitive(key, true));
349
+ if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;
350
+ return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
351
+ };
352
+ var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){
353
+ it = toIObject(it);
354
+ key = toPrimitive(key, true);
355
+ if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;
356
+ var D = gOPD(it, key);
357
+ if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;
358
+ return D;
359
+ };
360
+ var $getOwnPropertyNames = function getOwnPropertyNames(it){
361
+ var names = gOPN(toIObject(it))
362
+ , result = []
363
+ , i = 0
364
+ , key;
365
+ while(names.length > i){
366
+ if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);
367
+ } return result;
368
+ };
369
+ var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
370
+ var IS_OP = it === ObjectProto
371
+ , names = gOPN(IS_OP ? OPSymbols : toIObject(it))
372
+ , result = []
373
+ , i = 0
374
+ , key;
375
+ while(names.length > i){
376
+ if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);
377
+ } return result;
378
+ };
379
+
380
+ // 19.4.1.1 Symbol([description])
381
+ if(!USE_NATIVE){
382
+ $Symbol = function Symbol(){
383
+ if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');
384
+ var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
385
+ var $set = function(value){
386
+ if(this === ObjectProto)$set.call(OPSymbols, value);
387
+ if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;
388
+ setSymbolDesc(this, tag, createDesc(1, value));
389
+ };
390
+ if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});
391
+ return wrap(tag);
392
+ };
393
+ redefine($Symbol[PROTOTYPE], 'toString', function toString(){
394
+ return this._k;
395
+ });
396
+
397
+ $GOPD.f = $getOwnPropertyDescriptor;
398
+ $DP.f = $defineProperty;
399
+ __webpack_require__(48).f = gOPNExt.f = $getOwnPropertyNames;
400
+ __webpack_require__(42).f = $propertyIsEnumerable;
401
+ __webpack_require__(41).f = $getOwnPropertySymbols;
402
+
403
+ if(DESCRIPTORS && !__webpack_require__(26)){
404
+ redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
405
+ }
406
+
407
+ wksExt.f = function(name){
408
+ return wrap(wks(name));
409
+ }
410
+ }
411
+
412
+ $export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});
413
+
414
+ for(var symbols = (
415
+ // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
416
+ 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
417
+ ).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);
418
+
419
+ for(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);
420
+
421
+ $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
422
+ // 19.4.2.1 Symbol.for(key)
423
+ 'for': function(key){
424
+ return has(SymbolRegistry, key += '')
425
+ ? SymbolRegistry[key]
426
+ : SymbolRegistry[key] = $Symbol(key);
427
+ },
428
+ // 19.4.2.5 Symbol.keyFor(sym)
429
+ keyFor: function keyFor(key){
430
+ if(isSymbol(key))return keyOf(SymbolRegistry, key);
431
+ throw TypeError(key + ' is not a symbol!');
432
+ },
433
+ useSetter: function(){ setter = true; },
434
+ useSimple: function(){ setter = false; }
435
+ });
436
+
437
+ $export($export.S + $export.F * !USE_NATIVE, 'Object', {
438
+ // 19.1.2.2 Object.create(O [, Properties])
439
+ create: $create,
440
+ // 19.1.2.4 Object.defineProperty(O, P, Attributes)
441
+ defineProperty: $defineProperty,
442
+ // 19.1.2.3 Object.defineProperties(O, Properties)
443
+ defineProperties: $defineProperties,
444
+ // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
445
+ getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
446
+ // 19.1.2.7 Object.getOwnPropertyNames(O)
447
+ getOwnPropertyNames: $getOwnPropertyNames,
448
+ // 19.1.2.8 Object.getOwnPropertySymbols(O)
449
+ getOwnPropertySymbols: $getOwnPropertySymbols
450
+ });
451
+
452
+ // 24.3.2 JSON.stringify(value [, replacer [, space]])
453
+ $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){
454
+ var S = $Symbol();
455
+ // MS Edge converts symbol values to JSON as {}
456
+ // WebKit converts symbol values to JSON as null
457
+ // V8 throws on boxed symbols
458
+ return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';
459
+ })), 'JSON', {
460
+ stringify: function stringify(it){
461
+ if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined
462
+ var args = [it]
463
+ , i = 1
464
+ , replacer, $replacer;
465
+ while(arguments.length > i)args.push(arguments[i++]);
466
+ replacer = args[1];
467
+ if(typeof replacer == 'function')$replacer = replacer;
468
+ if($replacer || !isArray(replacer))replacer = function(key, value){
469
+ if($replacer)value = $replacer.call(this, key, value);
470
+ if(!isSymbol(value))return value;
471
+ };
472
+ args[1] = replacer;
473
+ return _stringify.apply($JSON, args);
474
+ }
475
+ });
476
+
477
+ // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
478
+ $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(8)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
479
+ // 19.4.3.5 Symbol.prototype[@@toStringTag]
480
+ setToStringTag($Symbol, 'Symbol');
481
+ // 20.2.1.9 Math[@@toStringTag]
482
+ setToStringTag(Math, 'Math', true);
483
+ // 24.3.3 JSON[@@toStringTag]
484
+ setToStringTag(global.JSON, 'JSON', true);
485
+
486
+ /***/ },
487
+ /* 2 */
488
+ /***/ function(module, exports) {
489
+
490
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
491
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
492
+ ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
493
+ if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
494
+
495
+ /***/ },
496
+ /* 3 */
497
+ /***/ function(module, exports) {
498
+
499
+ var hasOwnProperty = {}.hasOwnProperty;
500
+ module.exports = function(it, key){
501
+ return hasOwnProperty.call(it, key);
502
+ };
503
+
504
+ /***/ },
505
+ /* 4 */
506
+ /***/ function(module, exports, __webpack_require__) {
507
+
508
+ // Thank's IE8 for his funny defineProperty
509
+ module.exports = !__webpack_require__(5)(function(){
510
+ return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
511
+ });
512
+
513
+ /***/ },
514
+ /* 5 */
515
+ /***/ function(module, exports) {
516
+
517
+ module.exports = function(exec){
518
+ try {
519
+ return !!exec();
520
+ } catch(e){
521
+ return true;
522
+ }
523
+ };
524
+
525
+ /***/ },
526
+ /* 6 */
527
+ /***/ function(module, exports, __webpack_require__) {
528
+
529
+ var global = __webpack_require__(2)
530
+ , core = __webpack_require__(7)
531
+ , hide = __webpack_require__(8)
532
+ , redefine = __webpack_require__(16)
533
+ , ctx = __webpack_require__(18)
534
+ , PROTOTYPE = 'prototype';
535
+
536
+ var $export = function(type, name, source){
537
+ var IS_FORCED = type & $export.F
538
+ , IS_GLOBAL = type & $export.G
539
+ , IS_STATIC = type & $export.S
540
+ , IS_PROTO = type & $export.P
541
+ , IS_BIND = type & $export.B
542
+ , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]
543
+ , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
544
+ , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})
545
+ , key, own, out, exp;
546
+ if(IS_GLOBAL)source = name;
547
+ for(key in source){
548
+ // contains in native
549
+ own = !IS_FORCED && target && target[key] !== undefined;
550
+ // export native or passed
551
+ out = (own ? target : source)[key];
552
+ // bind timers to global for call from export context
553
+ exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
554
+ // extend global
555
+ if(target)redefine(target, key, out, type & $export.U);
556
+ // export
557
+ if(exports[key] != out)hide(exports, key, exp);
558
+ if(IS_PROTO && expProto[key] != out)expProto[key] = out;
559
+ }
560
+ };
561
+ global.core = core;
562
+ // type bitmap
563
+ $export.F = 1; // forced
564
+ $export.G = 2; // global
565
+ $export.S = 4; // static
566
+ $export.P = 8; // proto
567
+ $export.B = 16; // bind
568
+ $export.W = 32; // wrap
569
+ $export.U = 64; // safe
570
+ $export.R = 128; // real proto method for `library`
571
+ module.exports = $export;
572
+
573
+ /***/ },
574
+ /* 7 */
575
+ /***/ function(module, exports) {
576
+
577
+ var core = module.exports = {version: '2.4.0'};
578
+ if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
579
+
580
+ /***/ },
581
+ /* 8 */
582
+ /***/ function(module, exports, __webpack_require__) {
583
+
584
+ var dP = __webpack_require__(9)
585
+ , createDesc = __webpack_require__(15);
586
+ module.exports = __webpack_require__(4) ? function(object, key, value){
587
+ return dP.f(object, key, createDesc(1, value));
588
+ } : function(object, key, value){
589
+ object[key] = value;
590
+ return object;
591
+ };
592
+
593
+ /***/ },
594
+ /* 9 */
595
+ /***/ function(module, exports, __webpack_require__) {
596
+
597
+ var anObject = __webpack_require__(10)
598
+ , IE8_DOM_DEFINE = __webpack_require__(12)
599
+ , toPrimitive = __webpack_require__(14)
600
+ , dP = Object.defineProperty;
601
+
602
+ exports.f = __webpack_require__(4) ? Object.defineProperty : function defineProperty(O, P, Attributes){
603
+ anObject(O);
604
+ P = toPrimitive(P, true);
605
+ anObject(Attributes);
606
+ if(IE8_DOM_DEFINE)try {
607
+ return dP(O, P, Attributes);
608
+ } catch(e){ /* empty */ }
609
+ if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
610
+ if('value' in Attributes)O[P] = Attributes.value;
611
+ return O;
612
+ };
613
+
614
+ /***/ },
615
+ /* 10 */
616
+ /***/ function(module, exports, __webpack_require__) {
617
+
618
+ var isObject = __webpack_require__(11);
619
+ module.exports = function(it){
620
+ if(!isObject(it))throw TypeError(it + ' is not an object!');
621
+ return it;
622
+ };
623
+
624
+ /***/ },
625
+ /* 11 */
626
+ /***/ function(module, exports) {
627
+
628
+ module.exports = function(it){
629
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
630
+ };
631
+
632
+ /***/ },
633
+ /* 12 */
634
+ /***/ function(module, exports, __webpack_require__) {
635
+
636
+ module.exports = !__webpack_require__(4) && !__webpack_require__(5)(function(){
637
+ return Object.defineProperty(__webpack_require__(13)('div'), 'a', {get: function(){ return 7; }}).a != 7;
638
+ });
639
+
640
+ /***/ },
641
+ /* 13 */
642
+ /***/ function(module, exports, __webpack_require__) {
643
+
644
+ var isObject = __webpack_require__(11)
645
+ , document = __webpack_require__(2).document
646
+ // in old IE typeof document.createElement is 'object'
647
+ , is = isObject(document) && isObject(document.createElement);
648
+ module.exports = function(it){
649
+ return is ? document.createElement(it) : {};
650
+ };
651
+
652
+ /***/ },
653
+ /* 14 */
654
+ /***/ function(module, exports, __webpack_require__) {
655
+
656
+ // 7.1.1 ToPrimitive(input [, PreferredType])
657
+ var isObject = __webpack_require__(11);
658
+ // instead of the ES6 spec version, we didn't implement @@toPrimitive case
659
+ // and the second argument - flag - preferred type is a string
660
+ module.exports = function(it, S){
661
+ if(!isObject(it))return it;
662
+ var fn, val;
663
+ if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
664
+ if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;
665
+ if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;
666
+ throw TypeError("Can't convert object to primitive value");
667
+ };
668
+
669
+ /***/ },
670
+ /* 15 */
671
+ /***/ function(module, exports) {
672
+
673
+ module.exports = function(bitmap, value){
674
+ return {
675
+ enumerable : !(bitmap & 1),
676
+ configurable: !(bitmap & 2),
677
+ writable : !(bitmap & 4),
678
+ value : value
679
+ };
680
+ };
681
+
682
+ /***/ },
683
+ /* 16 */
684
+ /***/ function(module, exports, __webpack_require__) {
685
+
686
+ var global = __webpack_require__(2)
687
+ , hide = __webpack_require__(8)
688
+ , has = __webpack_require__(3)
689
+ , SRC = __webpack_require__(17)('src')
690
+ , TO_STRING = 'toString'
691
+ , $toString = Function[TO_STRING]
692
+ , TPL = ('' + $toString).split(TO_STRING);
693
+
694
+ __webpack_require__(7).inspectSource = function(it){
695
+ return $toString.call(it);
696
+ };
697
+
698
+ (module.exports = function(O, key, val, safe){
699
+ var isFunction = typeof val == 'function';
700
+ if(isFunction)has(val, 'name') || hide(val, 'name', key);
701
+ if(O[key] === val)return;
702
+ if(isFunction)has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
703
+ if(O === global){
704
+ O[key] = val;
705
+ } else {
706
+ if(!safe){
707
+ delete O[key];
708
+ hide(O, key, val);
709
+ } else {
710
+ if(O[key])O[key] = val;
711
+ else hide(O, key, val);
712
+ }
713
+ }
714
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
715
+ })(Function.prototype, TO_STRING, function toString(){
716
+ return typeof this == 'function' && this[SRC] || $toString.call(this);
717
+ });
718
+
719
+ /***/ },
720
+ /* 17 */
721
+ /***/ function(module, exports) {
722
+
723
+ var id = 0
724
+ , px = Math.random();
725
+ module.exports = function(key){
726
+ return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
727
+ };
728
+
729
+ /***/ },
730
+ /* 18 */
731
+ /***/ function(module, exports, __webpack_require__) {
732
+
733
+ // optional / simple context binding
734
+ var aFunction = __webpack_require__(19);
735
+ module.exports = function(fn, that, length){
736
+ aFunction(fn);
737
+ if(that === undefined)return fn;
738
+ switch(length){
739
+ case 1: return function(a){
740
+ return fn.call(that, a);
741
+ };
742
+ case 2: return function(a, b){
743
+ return fn.call(that, a, b);
744
+ };
745
+ case 3: return function(a, b, c){
746
+ return fn.call(that, a, b, c);
747
+ };
748
+ }
749
+ return function(/* ...args */){
750
+ return fn.apply(that, arguments);
751
+ };
752
+ };
753
+
754
+ /***/ },
755
+ /* 19 */
756
+ /***/ function(module, exports) {
757
+
758
+ module.exports = function(it){
759
+ if(typeof it != 'function')throw TypeError(it + ' is not a function!');
760
+ return it;
761
+ };
762
+
763
+ /***/ },
764
+ /* 20 */
765
+ /***/ function(module, exports, __webpack_require__) {
766
+
767
+ var META = __webpack_require__(17)('meta')
768
+ , isObject = __webpack_require__(11)
769
+ , has = __webpack_require__(3)
770
+ , setDesc = __webpack_require__(9).f
771
+ , id = 0;
772
+ var isExtensible = Object.isExtensible || function(){
773
+ return true;
774
+ };
775
+ var FREEZE = !__webpack_require__(5)(function(){
776
+ return isExtensible(Object.preventExtensions({}));
777
+ });
778
+ var setMeta = function(it){
779
+ setDesc(it, META, {value: {
780
+ i: 'O' + ++id, // object ID
781
+ w: {} // weak collections IDs
782
+ }});
783
+ };
784
+ var fastKey = function(it, create){
785
+ // return primitive with prefix
786
+ if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
787
+ if(!has(it, META)){
788
+ // can't set metadata to uncaught frozen object
789
+ if(!isExtensible(it))return 'F';
790
+ // not necessary to add metadata
791
+ if(!create)return 'E';
792
+ // add missing metadata
793
+ setMeta(it);
794
+ // return object ID
795
+ } return it[META].i;
796
+ };
797
+ var getWeak = function(it, create){
798
+ if(!has(it, META)){
799
+ // can't set metadata to uncaught frozen object
800
+ if(!isExtensible(it))return true;
801
+ // not necessary to add metadata
802
+ if(!create)return false;
803
+ // add missing metadata
804
+ setMeta(it);
805
+ // return hash weak collections IDs
806
+ } return it[META].w;
807
+ };
808
+ // add metadata on freeze-family methods calling
809
+ var onFreeze = function(it){
810
+ if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);
811
+ return it;
812
+ };
813
+ var meta = module.exports = {
814
+ KEY: META,
815
+ NEED: false,
816
+ fastKey: fastKey,
817
+ getWeak: getWeak,
818
+ onFreeze: onFreeze
819
+ };
820
+
821
+ /***/ },
822
+ /* 21 */
823
+ /***/ function(module, exports, __webpack_require__) {
824
+
825
+ var global = __webpack_require__(2)
826
+ , SHARED = '__core-js_shared__'
827
+ , store = global[SHARED] || (global[SHARED] = {});
828
+ module.exports = function(key){
829
+ return store[key] || (store[key] = {});
830
+ };
831
+
832
+ /***/ },
833
+ /* 22 */
834
+ /***/ function(module, exports, __webpack_require__) {
835
+
836
+ var def = __webpack_require__(9).f
837
+ , has = __webpack_require__(3)
838
+ , TAG = __webpack_require__(23)('toStringTag');
839
+
840
+ module.exports = function(it, tag, stat){
841
+ if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
842
+ };
843
+
844
+ /***/ },
845
+ /* 23 */
846
+ /***/ function(module, exports, __webpack_require__) {
847
+
848
+ var store = __webpack_require__(21)('wks')
849
+ , uid = __webpack_require__(17)
850
+ , Symbol = __webpack_require__(2).Symbol
851
+ , USE_SYMBOL = typeof Symbol == 'function';
852
+
853
+ var $exports = module.exports = function(name){
854
+ return store[name] || (store[name] =
855
+ USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
856
+ };
857
+
858
+ $exports.store = store;
859
+
860
+ /***/ },
861
+ /* 24 */
862
+ /***/ function(module, exports, __webpack_require__) {
863
+
864
+ exports.f = __webpack_require__(23);
865
+
866
+ /***/ },
867
+ /* 25 */
868
+ /***/ function(module, exports, __webpack_require__) {
869
+
870
+ var global = __webpack_require__(2)
871
+ , core = __webpack_require__(7)
872
+ , LIBRARY = __webpack_require__(26)
873
+ , wksExt = __webpack_require__(24)
874
+ , defineProperty = __webpack_require__(9).f;
875
+ module.exports = function(name){
876
+ var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
877
+ if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});
878
+ };
879
+
880
+ /***/ },
881
+ /* 26 */
882
+ /***/ function(module, exports) {
883
+
884
+ module.exports = false;
885
+
886
+ /***/ },
887
+ /* 27 */
888
+ /***/ function(module, exports, __webpack_require__) {
889
+
890
+ var getKeys = __webpack_require__(28)
891
+ , toIObject = __webpack_require__(30);
892
+ module.exports = function(object, el){
893
+ var O = toIObject(object)
894
+ , keys = getKeys(O)
895
+ , length = keys.length
896
+ , index = 0
897
+ , key;
898
+ while(length > index)if(O[key = keys[index++]] === el)return key;
899
+ };
900
+
901
+ /***/ },
902
+ /* 28 */
903
+ /***/ function(module, exports, __webpack_require__) {
904
+
905
+ // 19.1.2.14 / 15.2.3.14 Object.keys(O)
906
+ var $keys = __webpack_require__(29)
907
+ , enumBugKeys = __webpack_require__(39);
908
+
909
+ module.exports = Object.keys || function keys(O){
910
+ return $keys(O, enumBugKeys);
911
+ };
912
+
913
+ /***/ },
914
+ /* 29 */
915
+ /***/ function(module, exports, __webpack_require__) {
916
+
917
+ var has = __webpack_require__(3)
918
+ , toIObject = __webpack_require__(30)
919
+ , arrayIndexOf = __webpack_require__(34)(false)
920
+ , IE_PROTO = __webpack_require__(38)('IE_PROTO');
921
+
922
+ module.exports = function(object, names){
923
+ var O = toIObject(object)
924
+ , i = 0
925
+ , result = []
926
+ , key;
927
+ for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
928
+ // Don't enum bug & hidden keys
929
+ while(names.length > i)if(has(O, key = names[i++])){
930
+ ~arrayIndexOf(result, key) || result.push(key);
931
+ }
932
+ return result;
933
+ };
934
+
935
+ /***/ },
936
+ /* 30 */
937
+ /***/ function(module, exports, __webpack_require__) {
938
+
939
+ // to indexed object, toObject with fallback for non-array-like ES3 strings
940
+ var IObject = __webpack_require__(31)
941
+ , defined = __webpack_require__(33);
942
+ module.exports = function(it){
943
+ return IObject(defined(it));
944
+ };
945
+
946
+ /***/ },
947
+ /* 31 */
948
+ /***/ function(module, exports, __webpack_require__) {
949
+
950
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
951
+ var cof = __webpack_require__(32);
952
+ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
953
+ return cof(it) == 'String' ? it.split('') : Object(it);
954
+ };
955
+
956
+ /***/ },
957
+ /* 32 */
958
+ /***/ function(module, exports) {
959
+
960
+ var toString = {}.toString;
961
+
962
+ module.exports = function(it){
963
+ return toString.call(it).slice(8, -1);
964
+ };
965
+
966
+ /***/ },
967
+ /* 33 */
968
+ /***/ function(module, exports) {
969
+
970
+ // 7.2.1 RequireObjectCoercible(argument)
971
+ module.exports = function(it){
972
+ if(it == undefined)throw TypeError("Can't call method on " + it);
973
+ return it;
974
+ };
975
+
976
+ /***/ },
977
+ /* 34 */
978
+ /***/ function(module, exports, __webpack_require__) {
979
+
980
+ // false -> Array#indexOf
981
+ // true -> Array#includes
982
+ var toIObject = __webpack_require__(30)
983
+ , toLength = __webpack_require__(35)
984
+ , toIndex = __webpack_require__(37);
985
+ module.exports = function(IS_INCLUDES){
986
+ return function($this, el, fromIndex){
987
+ var O = toIObject($this)
988
+ , length = toLength(O.length)
989
+ , index = toIndex(fromIndex, length)
990
+ , value;
991
+ // Array#includes uses SameValueZero equality algorithm
992
+ if(IS_INCLUDES && el != el)while(length > index){
993
+ value = O[index++];
994
+ if(value != value)return true;
995
+ // Array#toIndex ignores holes, Array#includes - not
996
+ } else for(;length > index; index++)if(IS_INCLUDES || index in O){
997
+ if(O[index] === el)return IS_INCLUDES || index || 0;
998
+ } return !IS_INCLUDES && -1;
999
+ };
1000
+ };
1001
+
1002
+ /***/ },
1003
+ /* 35 */
1004
+ /***/ function(module, exports, __webpack_require__) {
1005
+
1006
+ // 7.1.15 ToLength
1007
+ var toInteger = __webpack_require__(36)
1008
+ , min = Math.min;
1009
+ module.exports = function(it){
1010
+ return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1011
+ };
1012
+
1013
+ /***/ },
1014
+ /* 36 */
1015
+ /***/ function(module, exports) {
1016
+
1017
+ // 7.1.4 ToInteger
1018
+ var ceil = Math.ceil
1019
+ , floor = Math.floor;
1020
+ module.exports = function(it){
1021
+ return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1022
+ };
1023
+
1024
+ /***/ },
1025
+ /* 37 */
1026
+ /***/ function(module, exports, __webpack_require__) {
1027
+
1028
+ var toInteger = __webpack_require__(36)
1029
+ , max = Math.max
1030
+ , min = Math.min;
1031
+ module.exports = function(index, length){
1032
+ index = toInteger(index);
1033
+ return index < 0 ? max(index + length, 0) : min(index, length);
1034
+ };
1035
+
1036
+ /***/ },
1037
+ /* 38 */
1038
+ /***/ function(module, exports, __webpack_require__) {
1039
+
1040
+ var shared = __webpack_require__(21)('keys')
1041
+ , uid = __webpack_require__(17);
1042
+ module.exports = function(key){
1043
+ return shared[key] || (shared[key] = uid(key));
1044
+ };
1045
+
1046
+ /***/ },
1047
+ /* 39 */
1048
+ /***/ function(module, exports) {
1049
+
1050
+ // IE 8- don't enum bug keys
1051
+ module.exports = (
1052
+ 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
1053
+ ).split(',');
1054
+
1055
+ /***/ },
1056
+ /* 40 */
1057
+ /***/ function(module, exports, __webpack_require__) {
1058
+
1059
+ // all enumerable object keys, includes symbols
1060
+ var getKeys = __webpack_require__(28)
1061
+ , gOPS = __webpack_require__(41)
1062
+ , pIE = __webpack_require__(42);
1063
+ module.exports = function(it){
1064
+ var result = getKeys(it)
1065
+ , getSymbols = gOPS.f;
1066
+ if(getSymbols){
1067
+ var symbols = getSymbols(it)
1068
+ , isEnum = pIE.f
1069
+ , i = 0
1070
+ , key;
1071
+ while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);
1072
+ } return result;
1073
+ };
1074
+
1075
+ /***/ },
1076
+ /* 41 */
1077
+ /***/ function(module, exports) {
1078
+
1079
+ exports.f = Object.getOwnPropertySymbols;
1080
+
1081
+ /***/ },
1082
+ /* 42 */
1083
+ /***/ function(module, exports) {
1084
+
1085
+ exports.f = {}.propertyIsEnumerable;
1086
+
1087
+ /***/ },
1088
+ /* 43 */
1089
+ /***/ function(module, exports, __webpack_require__) {
1090
+
1091
+ // 7.2.2 IsArray(argument)
1092
+ var cof = __webpack_require__(32);
1093
+ module.exports = Array.isArray || function isArray(arg){
1094
+ return cof(arg) == 'Array';
1095
+ };
1096
+
1097
+ /***/ },
1098
+ /* 44 */
1099
+ /***/ function(module, exports, __webpack_require__) {
1100
+
1101
+ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
1102
+ var anObject = __webpack_require__(10)
1103
+ , dPs = __webpack_require__(45)
1104
+ , enumBugKeys = __webpack_require__(39)
1105
+ , IE_PROTO = __webpack_require__(38)('IE_PROTO')
1106
+ , Empty = function(){ /* empty */ }
1107
+ , PROTOTYPE = 'prototype';
1108
+
1109
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1110
+ var createDict = function(){
1111
+ // Thrash, waste and sodomy: IE GC bug
1112
+ var iframe = __webpack_require__(13)('iframe')
1113
+ , i = enumBugKeys.length
1114
+ , lt = '<'
1115
+ , gt = '>'
1116
+ , iframeDocument;
1117
+ iframe.style.display = 'none';
1118
+ __webpack_require__(46).appendChild(iframe);
1119
+ iframe.src = 'javascript:'; // eslint-disable-line no-script-url
1120
+ // createDict = iframe.contentWindow.Object;
1121
+ // html.removeChild(iframe);
1122
+ iframeDocument = iframe.contentWindow.document;
1123
+ iframeDocument.open();
1124
+ iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
1125
+ iframeDocument.close();
1126
+ createDict = iframeDocument.F;
1127
+ while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];
1128
+ return createDict();
1129
+ };
1130
+
1131
+ module.exports = Object.create || function create(O, Properties){
1132
+ var result;
1133
+ if(O !== null){
1134
+ Empty[PROTOTYPE] = anObject(O);
1135
+ result = new Empty;
1136
+ Empty[PROTOTYPE] = null;
1137
+ // add "__proto__" for Object.getPrototypeOf polyfill
1138
+ result[IE_PROTO] = O;
1139
+ } else result = createDict();
1140
+ return Properties === undefined ? result : dPs(result, Properties);
1141
+ };
1142
+
1143
+
1144
+ /***/ },
1145
+ /* 45 */
1146
+ /***/ function(module, exports, __webpack_require__) {
1147
+
1148
+ var dP = __webpack_require__(9)
1149
+ , anObject = __webpack_require__(10)
1150
+ , getKeys = __webpack_require__(28);
1151
+
1152
+ module.exports = __webpack_require__(4) ? Object.defineProperties : function defineProperties(O, Properties){
1153
+ anObject(O);
1154
+ var keys = getKeys(Properties)
1155
+ , length = keys.length
1156
+ , i = 0
1157
+ , P;
1158
+ while(length > i)dP.f(O, P = keys[i++], Properties[P]);
1159
+ return O;
1160
+ };
1161
+
1162
+ /***/ },
1163
+ /* 46 */
1164
+ /***/ function(module, exports, __webpack_require__) {
1165
+
1166
+ module.exports = __webpack_require__(2).document && document.documentElement;
1167
+
1168
+ /***/ },
1169
+ /* 47 */
1170
+ /***/ function(module, exports, __webpack_require__) {
1171
+
1172
+ // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
1173
+ var toIObject = __webpack_require__(30)
1174
+ , gOPN = __webpack_require__(48).f
1175
+ , toString = {}.toString;
1176
+
1177
+ var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
1178
+ ? Object.getOwnPropertyNames(window) : [];
1179
+
1180
+ var getWindowNames = function(it){
1181
+ try {
1182
+ return gOPN(it);
1183
+ } catch(e){
1184
+ return windowNames.slice();
1185
+ }
1186
+ };
1187
+
1188
+ module.exports.f = function getOwnPropertyNames(it){
1189
+ return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
1190
+ };
1191
+
1192
+
1193
+ /***/ },
1194
+ /* 48 */
1195
+ /***/ function(module, exports, __webpack_require__) {
1196
+
1197
+ // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
1198
+ var $keys = __webpack_require__(29)
1199
+ , hiddenKeys = __webpack_require__(39).concat('length', 'prototype');
1200
+
1201
+ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){
1202
+ return $keys(O, hiddenKeys);
1203
+ };
1204
+
1205
+ /***/ },
1206
+ /* 49 */
1207
+ /***/ function(module, exports, __webpack_require__) {
1208
+
1209
+ var pIE = __webpack_require__(42)
1210
+ , createDesc = __webpack_require__(15)
1211
+ , toIObject = __webpack_require__(30)
1212
+ , toPrimitive = __webpack_require__(14)
1213
+ , has = __webpack_require__(3)
1214
+ , IE8_DOM_DEFINE = __webpack_require__(12)
1215
+ , gOPD = Object.getOwnPropertyDescriptor;
1216
+
1217
+ exports.f = __webpack_require__(4) ? gOPD : function getOwnPropertyDescriptor(O, P){
1218
+ O = toIObject(O);
1219
+ P = toPrimitive(P, true);
1220
+ if(IE8_DOM_DEFINE)try {
1221
+ return gOPD(O, P);
1222
+ } catch(e){ /* empty */ }
1223
+ if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);
1224
+ };
1225
+
1226
+ /***/ },
1227
+ /* 50 */
1228
+ /***/ function(module, exports, __webpack_require__) {
1229
+
1230
+ var $export = __webpack_require__(6);
1231
+ // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
1232
+ $export($export.S + $export.F * !__webpack_require__(4), 'Object', {defineProperty: __webpack_require__(9).f});
1233
+
1234
+ /***/ },
1235
+ /* 51 */
1236
+ /***/ function(module, exports, __webpack_require__) {
1237
+
1238
+ var $export = __webpack_require__(6);
1239
+ // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
1240
+ $export($export.S + $export.F * !__webpack_require__(4), 'Object', {defineProperties: __webpack_require__(45)});
1241
+
1242
+ /***/ },
1243
+ /* 52 */
1244
+ /***/ function(module, exports, __webpack_require__) {
1245
+
1246
+ // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
1247
+ var toIObject = __webpack_require__(30)
1248
+ , $getOwnPropertyDescriptor = __webpack_require__(49).f;
1249
+
1250
+ __webpack_require__(53)('getOwnPropertyDescriptor', function(){
1251
+ return function getOwnPropertyDescriptor(it, key){
1252
+ return $getOwnPropertyDescriptor(toIObject(it), key);
1253
+ };
1254
+ });
1255
+
1256
+ /***/ },
1257
+ /* 53 */
1258
+ /***/ function(module, exports, __webpack_require__) {
1259
+
1260
+ // most Object methods by ES6 should accept primitives
1261
+ var $export = __webpack_require__(6)
1262
+ , core = __webpack_require__(7)
1263
+ , fails = __webpack_require__(5);
1264
+ module.exports = function(KEY, exec){
1265
+ var fn = (core.Object || {})[KEY] || Object[KEY]
1266
+ , exp = {};
1267
+ exp[KEY] = exec(fn);
1268
+ $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
1269
+ };
1270
+
1271
+ /***/ },
1272
+ /* 54 */
1273
+ /***/ function(module, exports, __webpack_require__) {
1274
+
1275
+ var $export = __webpack_require__(6)
1276
+ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
1277
+ $export($export.S, 'Object', {create: __webpack_require__(44)});
1278
+
1279
+ /***/ },
1280
+ /* 55 */
1281
+ /***/ function(module, exports, __webpack_require__) {
1282
+
1283
+ // 19.1.2.9 Object.getPrototypeOf(O)
1284
+ var toObject = __webpack_require__(56)
1285
+ , $getPrototypeOf = __webpack_require__(57);
1286
+
1287
+ __webpack_require__(53)('getPrototypeOf', function(){
1288
+ return function getPrototypeOf(it){
1289
+ return $getPrototypeOf(toObject(it));
1290
+ };
1291
+ });
1292
+
1293
+ /***/ },
1294
+ /* 56 */
1295
+ /***/ function(module, exports, __webpack_require__) {
1296
+
1297
+ // 7.1.13 ToObject(argument)
1298
+ var defined = __webpack_require__(33);
1299
+ module.exports = function(it){
1300
+ return Object(defined(it));
1301
+ };
1302
+
1303
+ /***/ },
1304
+ /* 57 */
1305
+ /***/ function(module, exports, __webpack_require__) {
1306
+
1307
+ // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
1308
+ var has = __webpack_require__(3)
1309
+ , toObject = __webpack_require__(56)
1310
+ , IE_PROTO = __webpack_require__(38)('IE_PROTO')
1311
+ , ObjectProto = Object.prototype;
1312
+
1313
+ module.exports = Object.getPrototypeOf || function(O){
1314
+ O = toObject(O);
1315
+ if(has(O, IE_PROTO))return O[IE_PROTO];
1316
+ if(typeof O.constructor == 'function' && O instanceof O.constructor){
1317
+ return O.constructor.prototype;
1318
+ } return O instanceof Object ? ObjectProto : null;
1319
+ };
1320
+
1321
+ /***/ },
1322
+ /* 58 */
1323
+ /***/ function(module, exports, __webpack_require__) {
1324
+
1325
+ // 19.1.2.14 Object.keys(O)
1326
+ var toObject = __webpack_require__(56)
1327
+ , $keys = __webpack_require__(28);
1328
+
1329
+ __webpack_require__(53)('keys', function(){
1330
+ return function keys(it){
1331
+ return $keys(toObject(it));
1332
+ };
1333
+ });
1334
+
1335
+ /***/ },
1336
+ /* 59 */
1337
+ /***/ function(module, exports, __webpack_require__) {
1338
+
1339
+ // 19.1.2.7 Object.getOwnPropertyNames(O)
1340
+ __webpack_require__(53)('getOwnPropertyNames', function(){
1341
+ return __webpack_require__(47).f;
1342
+ });
1343
+
1344
+ /***/ },
1345
+ /* 60 */
1346
+ /***/ function(module, exports, __webpack_require__) {
1347
+
1348
+ // 19.1.2.5 Object.freeze(O)
1349
+ var isObject = __webpack_require__(11)
1350
+ , meta = __webpack_require__(20).onFreeze;
1351
+
1352
+ __webpack_require__(53)('freeze', function($freeze){
1353
+ return function freeze(it){
1354
+ return $freeze && isObject(it) ? $freeze(meta(it)) : it;
1355
+ };
1356
+ });
1357
+
1358
+ /***/ },
1359
+ /* 61 */
1360
+ /***/ function(module, exports, __webpack_require__) {
1361
+
1362
+ // 19.1.2.17 Object.seal(O)
1363
+ var isObject = __webpack_require__(11)
1364
+ , meta = __webpack_require__(20).onFreeze;
1365
+
1366
+ __webpack_require__(53)('seal', function($seal){
1367
+ return function seal(it){
1368
+ return $seal && isObject(it) ? $seal(meta(it)) : it;
1369
+ };
1370
+ });
1371
+
1372
+ /***/ },
1373
+ /* 62 */
1374
+ /***/ function(module, exports, __webpack_require__) {
1375
+
1376
+ // 19.1.2.15 Object.preventExtensions(O)
1377
+ var isObject = __webpack_require__(11)
1378
+ , meta = __webpack_require__(20).onFreeze;
1379
+
1380
+ __webpack_require__(53)('preventExtensions', function($preventExtensions){
1381
+ return function preventExtensions(it){
1382
+ return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;
1383
+ };
1384
+ });
1385
+
1386
+ /***/ },
1387
+ /* 63 */
1388
+ /***/ function(module, exports, __webpack_require__) {
1389
+
1390
+ // 19.1.2.12 Object.isFrozen(O)
1391
+ var isObject = __webpack_require__(11);
1392
+
1393
+ __webpack_require__(53)('isFrozen', function($isFrozen){
1394
+ return function isFrozen(it){
1395
+ return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
1396
+ };
1397
+ });
1398
+
1399
+ /***/ },
1400
+ /* 64 */
1401
+ /***/ function(module, exports, __webpack_require__) {
1402
+
1403
+ // 19.1.2.13 Object.isSealed(O)
1404
+ var isObject = __webpack_require__(11);
1405
+
1406
+ __webpack_require__(53)('isSealed', function($isSealed){
1407
+ return function isSealed(it){
1408
+ return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
1409
+ };
1410
+ });
1411
+
1412
+ /***/ },
1413
+ /* 65 */
1414
+ /***/ function(module, exports, __webpack_require__) {
1415
+
1416
+ // 19.1.2.11 Object.isExtensible(O)
1417
+ var isObject = __webpack_require__(11);
1418
+
1419
+ __webpack_require__(53)('isExtensible', function($isExtensible){
1420
+ return function isExtensible(it){
1421
+ return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
1422
+ };
1423
+ });
1424
+
1425
+ /***/ },
1426
+ /* 66 */
1427
+ /***/ function(module, exports, __webpack_require__) {
1428
+
1429
+ // 19.1.3.1 Object.assign(target, source)
1430
+ var $export = __webpack_require__(6);
1431
+
1432
+ $export($export.S + $export.F, 'Object', {assign: __webpack_require__(67)});
1433
+
1434
+ /***/ },
1435
+ /* 67 */
1436
+ /***/ function(module, exports, __webpack_require__) {
1437
+
1438
+ 'use strict';
1439
+ // 19.1.2.1 Object.assign(target, source, ...)
1440
+ var getKeys = __webpack_require__(28)
1441
+ , gOPS = __webpack_require__(41)
1442
+ , pIE = __webpack_require__(42)
1443
+ , toObject = __webpack_require__(56)
1444
+ , IObject = __webpack_require__(31)
1445
+ , $assign = Object.assign;
1446
+
1447
+ // should work with symbols and should have deterministic property order (V8 bug)
1448
+ module.exports = !$assign || __webpack_require__(5)(function(){
1449
+ var A = {}
1450
+ , B = {}
1451
+ , S = Symbol()
1452
+ , K = 'abcdefghijklmnopqrst';
1453
+ A[S] = 7;
1454
+ K.split('').forEach(function(k){ B[k] = k; });
1455
+ return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
1456
+ }) ? function assign(target, source){ // eslint-disable-line no-unused-vars
1457
+ var T = toObject(target)
1458
+ , aLen = arguments.length
1459
+ , index = 1
1460
+ , getSymbols = gOPS.f
1461
+ , isEnum = pIE.f;
1462
+ while(aLen > index){
1463
+ var S = IObject(arguments[index++])
1464
+ , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
1465
+ , length = keys.length
1466
+ , j = 0
1467
+ , key;
1468
+ while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
1469
+ } return T;
1470
+ } : $assign;
1471
+
1472
+ /***/ },
1473
+ /* 68 */
1474
+ /***/ function(module, exports, __webpack_require__) {
1475
+
1476
+ // 19.1.3.10 Object.is(value1, value2)
1477
+ var $export = __webpack_require__(6);
1478
+ $export($export.S, 'Object', {is: __webpack_require__(69)});
1479
+
1480
+ /***/ },
1481
+ /* 69 */
1482
+ /***/ function(module, exports) {
1483
+
1484
+ // 7.2.9 SameValue(x, y)
1485
+ module.exports = Object.is || function is(x, y){
1486
+ return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
1487
+ };
1488
+
1489
+ /***/ },
1490
+ /* 70 */
1491
+ /***/ function(module, exports, __webpack_require__) {
1492
+
1493
+ // 19.1.3.19 Object.setPrototypeOf(O, proto)
1494
+ var $export = __webpack_require__(6);
1495
+ $export($export.S, 'Object', {setPrototypeOf: __webpack_require__(71).set});
1496
+
1497
+ /***/ },
1498
+ /* 71 */
1499
+ /***/ function(module, exports, __webpack_require__) {
1500
+
1501
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
1502
+ /* eslint-disable no-proto */
1503
+ var isObject = __webpack_require__(11)
1504
+ , anObject = __webpack_require__(10);
1505
+ var check = function(O, proto){
1506
+ anObject(O);
1507
+ if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
1508
+ };
1509
+ module.exports = {
1510
+ set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
1511
+ function(test, buggy, set){
1512
+ try {
1513
+ set = __webpack_require__(18)(Function.call, __webpack_require__(49).f(Object.prototype, '__proto__').set, 2);
1514
+ set(test, []);
1515
+ buggy = !(test instanceof Array);
1516
+ } catch(e){ buggy = true; }
1517
+ return function setPrototypeOf(O, proto){
1518
+ check(O, proto);
1519
+ if(buggy)O.__proto__ = proto;
1520
+ else set(O, proto);
1521
+ return O;
1522
+ };
1523
+ }({}, false) : undefined),
1524
+ check: check
1525
+ };
1526
+
1527
+ /***/ },
1528
+ /* 72 */
1529
+ /***/ function(module, exports, __webpack_require__) {
1530
+
1531
+ 'use strict';
1532
+ // 19.1.3.6 Object.prototype.toString()
1533
+ var classof = __webpack_require__(73)
1534
+ , test = {};
1535
+ test[__webpack_require__(23)('toStringTag')] = 'z';
1536
+ if(test + '' != '[object z]'){
1537
+ __webpack_require__(16)(Object.prototype, 'toString', function toString(){
1538
+ return '[object ' + classof(this) + ']';
1539
+ }, true);
1540
+ }
1541
+
1542
+ /***/ },
1543
+ /* 73 */
1544
+ /***/ function(module, exports, __webpack_require__) {
1545
+
1546
+ // getting tag from 19.1.3.6 Object.prototype.toString()
1547
+ var cof = __webpack_require__(32)
1548
+ , TAG = __webpack_require__(23)('toStringTag')
1549
+ // ES3 wrong here
1550
+ , ARG = cof(function(){ return arguments; }()) == 'Arguments';
1551
+
1552
+ // fallback for IE11 Script Access Denied error
1553
+ var tryGet = function(it, key){
1554
+ try {
1555
+ return it[key];
1556
+ } catch(e){ /* empty */ }
1557
+ };
1558
+
1559
+ module.exports = function(it){
1560
+ var O, T, B;
1561
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
1562
+ // @@toStringTag case
1563
+ : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
1564
+ // builtinTag case
1565
+ : ARG ? cof(O)
1566
+ // ES3 arguments fallback
1567
+ : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
1568
+ };
1569
+
1570
+ /***/ },
1571
+ /* 74 */
1572
+ /***/ function(module, exports, __webpack_require__) {
1573
+
1574
+ // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
1575
+ var $export = __webpack_require__(6);
1576
+
1577
+ $export($export.P, 'Function', {bind: __webpack_require__(75)});
1578
+
1579
+ /***/ },
1580
+ /* 75 */
1581
+ /***/ function(module, exports, __webpack_require__) {
1582
+
1583
+ 'use strict';
1584
+ var aFunction = __webpack_require__(19)
1585
+ , isObject = __webpack_require__(11)
1586
+ , invoke = __webpack_require__(76)
1587
+ , arraySlice = [].slice
1588
+ , factories = {};
1589
+
1590
+ var construct = function(F, len, args){
1591
+ if(!(len in factories)){
1592
+ for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';
1593
+ factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
1594
+ } return factories[len](F, args);
1595
+ };
1596
+
1597
+ module.exports = Function.bind || function bind(that /*, args... */){
1598
+ var fn = aFunction(this)
1599
+ , partArgs = arraySlice.call(arguments, 1);
1600
+ var bound = function(/* args... */){
1601
+ var args = partArgs.concat(arraySlice.call(arguments));
1602
+ return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
1603
+ };
1604
+ if(isObject(fn.prototype))bound.prototype = fn.prototype;
1605
+ return bound;
1606
+ };
1607
+
1608
+ /***/ },
1609
+ /* 76 */
1610
+ /***/ function(module, exports) {
1611
+
1612
+ // fast apply, http://jsperf.lnkit.com/fast-apply/5
1613
+ module.exports = function(fn, args, that){
1614
+ var un = that === undefined;
1615
+ switch(args.length){
1616
+ case 0: return un ? fn()
1617
+ : fn.call(that);
1618
+ case 1: return un ? fn(args[0])
1619
+ : fn.call(that, args[0]);
1620
+ case 2: return un ? fn(args[0], args[1])
1621
+ : fn.call(that, args[0], args[1]);
1622
+ case 3: return un ? fn(args[0], args[1], args[2])
1623
+ : fn.call(that, args[0], args[1], args[2]);
1624
+ case 4: return un ? fn(args[0], args[1], args[2], args[3])
1625
+ : fn.call(that, args[0], args[1], args[2], args[3]);
1626
+ } return fn.apply(that, args);
1627
+ };
1628
+
1629
+ /***/ },
1630
+ /* 77 */
1631
+ /***/ function(module, exports, __webpack_require__) {
1632
+
1633
+ var dP = __webpack_require__(9).f
1634
+ , createDesc = __webpack_require__(15)
1635
+ , has = __webpack_require__(3)
1636
+ , FProto = Function.prototype
1637
+ , nameRE = /^\s*function ([^ (]*)/
1638
+ , NAME = 'name';
1639
+
1640
+ var isExtensible = Object.isExtensible || function(){
1641
+ return true;
1642
+ };
1643
+
1644
+ // 19.2.4.2 name
1645
+ NAME in FProto || __webpack_require__(4) && dP(FProto, NAME, {
1646
+ configurable: true,
1647
+ get: function(){
1648
+ try {
1649
+ var that = this
1650
+ , name = ('' + that).match(nameRE)[1];
1651
+ has(that, NAME) || !isExtensible(that) || dP(that, NAME, createDesc(5, name));
1652
+ return name;
1653
+ } catch(e){
1654
+ return '';
1655
+ }
1656
+ }
1657
+ });
1658
+
1659
+ /***/ },
1660
+ /* 78 */
1661
+ /***/ function(module, exports, __webpack_require__) {
1662
+
1663
+ 'use strict';
1664
+ var isObject = __webpack_require__(11)
1665
+ , getPrototypeOf = __webpack_require__(57)
1666
+ , HAS_INSTANCE = __webpack_require__(23)('hasInstance')
1667
+ , FunctionProto = Function.prototype;
1668
+ // 19.2.3.6 Function.prototype[@@hasInstance](V)
1669
+ if(!(HAS_INSTANCE in FunctionProto))__webpack_require__(9).f(FunctionProto, HAS_INSTANCE, {value: function(O){
1670
+ if(typeof this != 'function' || !isObject(O))return false;
1671
+ if(!isObject(this.prototype))return O instanceof this;
1672
+ // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
1673
+ while(O = getPrototypeOf(O))if(this.prototype === O)return true;
1674
+ return false;
1675
+ }});
1676
+
1677
+ /***/ },
1678
+ /* 79 */
1679
+ /***/ function(module, exports, __webpack_require__) {
1680
+
1681
+ 'use strict';
1682
+ var global = __webpack_require__(2)
1683
+ , has = __webpack_require__(3)
1684
+ , cof = __webpack_require__(32)
1685
+ , inheritIfRequired = __webpack_require__(80)
1686
+ , toPrimitive = __webpack_require__(14)
1687
+ , fails = __webpack_require__(5)
1688
+ , gOPN = __webpack_require__(48).f
1689
+ , gOPD = __webpack_require__(49).f
1690
+ , dP = __webpack_require__(9).f
1691
+ , $trim = __webpack_require__(81).trim
1692
+ , NUMBER = 'Number'
1693
+ , $Number = global[NUMBER]
1694
+ , Base = $Number
1695
+ , proto = $Number.prototype
1696
+ // Opera ~12 has broken Object#toString
1697
+ , BROKEN_COF = cof(__webpack_require__(44)(proto)) == NUMBER
1698
+ , TRIM = 'trim' in String.prototype;
1699
+
1700
+ // 7.1.3 ToNumber(argument)
1701
+ var toNumber = function(argument){
1702
+ var it = toPrimitive(argument, false);
1703
+ if(typeof it == 'string' && it.length > 2){
1704
+ it = TRIM ? it.trim() : $trim(it, 3);
1705
+ var first = it.charCodeAt(0)
1706
+ , third, radix, maxCode;
1707
+ if(first === 43 || first === 45){
1708
+ third = it.charCodeAt(2);
1709
+ if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix
1710
+ } else if(first === 48){
1711
+ switch(it.charCodeAt(1)){
1712
+ case 66 : case 98 : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
1713
+ case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
1714
+ default : return +it;
1715
+ }
1716
+ for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){
1717
+ code = digits.charCodeAt(i);
1718
+ // parseInt parses a string to a first unavailable symbol
1719
+ // but ToNumber should return NaN if a string contains unavailable symbols
1720
+ if(code < 48 || code > maxCode)return NaN;
1721
+ } return parseInt(digits, radix);
1722
+ }
1723
+ } return +it;
1724
+ };
1725
+
1726
+ if(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){
1727
+ $Number = function Number(value){
1728
+ var it = arguments.length < 1 ? 0 : value
1729
+ , that = this;
1730
+ return that instanceof $Number
1731
+ // check on 1..constructor(foo) case
1732
+ && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)
1733
+ ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
1734
+ };
1735
+ for(var keys = __webpack_require__(4) ? gOPN(Base) : (
1736
+ // ES3:
1737
+ 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
1738
+ // ES6 (in case, if modules with ES6 Number statics required before):
1739
+ 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
1740
+ 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
1741
+ ).split(','), j = 0, key; keys.length > j; j++){
1742
+ if(has(Base, key = keys[j]) && !has($Number, key)){
1743
+ dP($Number, key, gOPD(Base, key));
1744
+ }
1745
+ }
1746
+ $Number.prototype = proto;
1747
+ proto.constructor = $Number;
1748
+ __webpack_require__(16)(global, NUMBER, $Number);
1749
+ }
1750
+
1751
+ /***/ },
1752
+ /* 80 */
1753
+ /***/ function(module, exports, __webpack_require__) {
1754
+
1755
+ var isObject = __webpack_require__(11)
1756
+ , setPrototypeOf = __webpack_require__(71).set;
1757
+ module.exports = function(that, target, C){
1758
+ var P, S = target.constructor;
1759
+ if(S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf){
1760
+ setPrototypeOf(that, P);
1761
+ } return that;
1762
+ };
1763
+
1764
+ /***/ },
1765
+ /* 81 */
1766
+ /***/ function(module, exports, __webpack_require__) {
1767
+
1768
+ var $export = __webpack_require__(6)
1769
+ , defined = __webpack_require__(33)
1770
+ , fails = __webpack_require__(5)
1771
+ , spaces = __webpack_require__(82)
1772
+ , space = '[' + spaces + ']'
1773
+ , non = '\u200b\u0085'
1774
+ , ltrim = RegExp('^' + space + space + '*')
1775
+ , rtrim = RegExp(space + space + '*$');
1776
+
1777
+ var exporter = function(KEY, exec, ALIAS){
1778
+ var exp = {};
1779
+ var FORCE = fails(function(){
1780
+ return !!spaces[KEY]() || non[KEY]() != non;
1781
+ });
1782
+ var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
1783
+ if(ALIAS)exp[ALIAS] = fn;
1784
+ $export($export.P + $export.F * FORCE, 'String', exp);
1785
+ };
1786
+
1787
+ // 1 -> String#trimLeft
1788
+ // 2 -> String#trimRight
1789
+ // 3 -> String#trim
1790
+ var trim = exporter.trim = function(string, TYPE){
1791
+ string = String(defined(string));
1792
+ if(TYPE & 1)string = string.replace(ltrim, '');
1793
+ if(TYPE & 2)string = string.replace(rtrim, '');
1794
+ return string;
1795
+ };
1796
+
1797
+ module.exports = exporter;
1798
+
1799
+ /***/ },
1800
+ /* 82 */
1801
+ /***/ function(module, exports) {
1802
+
1803
+ module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
1804
+ '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1805
+
1806
+ /***/ },
1807
+ /* 83 */
1808
+ /***/ function(module, exports, __webpack_require__) {
1809
+
1810
+ 'use strict';
1811
+ var $export = __webpack_require__(6)
1812
+ , toInteger = __webpack_require__(36)
1813
+ , aNumberValue = __webpack_require__(84)
1814
+ , repeat = __webpack_require__(85)
1815
+ , $toFixed = 1..toFixed
1816
+ , floor = Math.floor
1817
+ , data = [0, 0, 0, 0, 0, 0]
1818
+ , ERROR = 'Number.toFixed: incorrect invocation!'
1819
+ , ZERO = '0';
1820
+
1821
+ var multiply = function(n, c){
1822
+ var i = -1
1823
+ , c2 = c;
1824
+ while(++i < 6){
1825
+ c2 += n * data[i];
1826
+ data[i] = c2 % 1e7;
1827
+ c2 = floor(c2 / 1e7);
1828
+ }
1829
+ };
1830
+ var divide = function(n){
1831
+ var i = 6
1832
+ , c = 0;
1833
+ while(--i >= 0){
1834
+ c += data[i];
1835
+ data[i] = floor(c / n);
1836
+ c = (c % n) * 1e7;
1837
+ }
1838
+ };
1839
+ var numToString = function(){
1840
+ var i = 6
1841
+ , s = '';
1842
+ while(--i >= 0){
1843
+ if(s !== '' || i === 0 || data[i] !== 0){
1844
+ var t = String(data[i]);
1845
+ s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;
1846
+ }
1847
+ } return s;
1848
+ };
1849
+ var pow = function(x, n, acc){
1850
+ return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
1851
+ };
1852
+ var log = function(x){
1853
+ var n = 0
1854
+ , x2 = x;
1855
+ while(x2 >= 4096){
1856
+ n += 12;
1857
+ x2 /= 4096;
1858
+ }
1859
+ while(x2 >= 2){
1860
+ n += 1;
1861
+ x2 /= 2;
1862
+ } return n;
1863
+ };
1864
+
1865
+ $export($export.P + $export.F * (!!$toFixed && (
1866
+ 0.00008.toFixed(3) !== '0.000' ||
1867
+ 0.9.toFixed(0) !== '1' ||
1868
+ 1.255.toFixed(2) !== '1.25' ||
1869
+ 1000000000000000128..toFixed(0) !== '1000000000000000128'
1870
+ ) || !__webpack_require__(5)(function(){
1871
+ // V8 ~ Android 4.3-
1872
+ $toFixed.call({});
1873
+ })), 'Number', {
1874
+ toFixed: function toFixed(fractionDigits){
1875
+ var x = aNumberValue(this, ERROR)
1876
+ , f = toInteger(fractionDigits)
1877
+ , s = ''
1878
+ , m = ZERO
1879
+ , e, z, j, k;
1880
+ if(f < 0 || f > 20)throw RangeError(ERROR);
1881
+ if(x != x)return 'NaN';
1882
+ if(x <= -1e21 || x >= 1e21)return String(x);
1883
+ if(x < 0){
1884
+ s = '-';
1885
+ x = -x;
1886
+ }
1887
+ if(x > 1e-21){
1888
+ e = log(x * pow(2, 69, 1)) - 69;
1889
+ z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);
1890
+ z *= 0x10000000000000;
1891
+ e = 52 - e;
1892
+ if(e > 0){
1893
+ multiply(0, z);
1894
+ j = f;
1895
+ while(j >= 7){
1896
+ multiply(1e7, 0);
1897
+ j -= 7;
1898
+ }
1899
+ multiply(pow(10, j, 1), 0);
1900
+ j = e - 1;
1901
+ while(j >= 23){
1902
+ divide(1 << 23);
1903
+ j -= 23;
1904
+ }
1905
+ divide(1 << j);
1906
+ multiply(1, 1);
1907
+ divide(2);
1908
+ m = numToString();
1909
+ } else {
1910
+ multiply(0, z);
1911
+ multiply(1 << -e, 0);
1912
+ m = numToString() + repeat.call(ZERO, f);
1913
+ }
1914
+ }
1915
+ if(f > 0){
1916
+ k = m.length;
1917
+ m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));
1918
+ } else {
1919
+ m = s + m;
1920
+ } return m;
1921
+ }
1922
+ });
1923
+
1924
+ /***/ },
1925
+ /* 84 */
1926
+ /***/ function(module, exports, __webpack_require__) {
1927
+
1928
+ var cof = __webpack_require__(32);
1929
+ module.exports = function(it, msg){
1930
+ if(typeof it != 'number' && cof(it) != 'Number')throw TypeError(msg);
1931
+ return +it;
1932
+ };
1933
+
1934
+ /***/ },
1935
+ /* 85 */
1936
+ /***/ function(module, exports, __webpack_require__) {
1937
+
1938
+ 'use strict';
1939
+ var toInteger = __webpack_require__(36)
1940
+ , defined = __webpack_require__(33);
1941
+
1942
+ module.exports = function repeat(count){
1943
+ var str = String(defined(this))
1944
+ , res = ''
1945
+ , n = toInteger(count);
1946
+ if(n < 0 || n == Infinity)throw RangeError("Count can't be negative");
1947
+ for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;
1948
+ return res;
1949
+ };
1950
+
1951
+ /***/ },
1952
+ /* 86 */
1953
+ /***/ function(module, exports, __webpack_require__) {
1954
+
1955
+ 'use strict';
1956
+ var $export = __webpack_require__(6)
1957
+ , $fails = __webpack_require__(5)
1958
+ , aNumberValue = __webpack_require__(84)
1959
+ , $toPrecision = 1..toPrecision;
1960
+
1961
+ $export($export.P + $export.F * ($fails(function(){
1962
+ // IE7-
1963
+ return $toPrecision.call(1, undefined) !== '1';
1964
+ }) || !$fails(function(){
1965
+ // V8 ~ Android 4.3-
1966
+ $toPrecision.call({});
1967
+ })), 'Number', {
1968
+ toPrecision: function toPrecision(precision){
1969
+ var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');
1970
+ return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);
1971
+ }
1972
+ });
1973
+
1974
+ /***/ },
1975
+ /* 87 */
1976
+ /***/ function(module, exports, __webpack_require__) {
1977
+
1978
+ // 20.1.2.1 Number.EPSILON
1979
+ var $export = __webpack_require__(6);
1980
+
1981
+ $export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});
1982
+
1983
+ /***/ },
1984
+ /* 88 */
1985
+ /***/ function(module, exports, __webpack_require__) {
1986
+
1987
+ // 20.1.2.2 Number.isFinite(number)
1988
+ var $export = __webpack_require__(6)
1989
+ , _isFinite = __webpack_require__(2).isFinite;
1990
+
1991
+ $export($export.S, 'Number', {
1992
+ isFinite: function isFinite(it){
1993
+ return typeof it == 'number' && _isFinite(it);
1994
+ }
1995
+ });
1996
+
1997
+ /***/ },
1998
+ /* 89 */
1999
+ /***/ function(module, exports, __webpack_require__) {
2000
+
2001
+ // 20.1.2.3 Number.isInteger(number)
2002
+ var $export = __webpack_require__(6);
2003
+
2004
+ $export($export.S, 'Number', {isInteger: __webpack_require__(90)});
2005
+
2006
+ /***/ },
2007
+ /* 90 */
2008
+ /***/ function(module, exports, __webpack_require__) {
2009
+
2010
+ // 20.1.2.3 Number.isInteger(number)
2011
+ var isObject = __webpack_require__(11)
2012
+ , floor = Math.floor;
2013
+ module.exports = function isInteger(it){
2014
+ return !isObject(it) && isFinite(it) && floor(it) === it;
2015
+ };
2016
+
2017
+ /***/ },
2018
+ /* 91 */
2019
+ /***/ function(module, exports, __webpack_require__) {
2020
+
2021
+ // 20.1.2.4 Number.isNaN(number)
2022
+ var $export = __webpack_require__(6);
2023
+
2024
+ $export($export.S, 'Number', {
2025
+ isNaN: function isNaN(number){
2026
+ return number != number;
2027
+ }
2028
+ });
2029
+
2030
+ /***/ },
2031
+ /* 92 */
2032
+ /***/ function(module, exports, __webpack_require__) {
2033
+
2034
+ // 20.1.2.5 Number.isSafeInteger(number)
2035
+ var $export = __webpack_require__(6)
2036
+ , isInteger = __webpack_require__(90)
2037
+ , abs = Math.abs;
2038
+
2039
+ $export($export.S, 'Number', {
2040
+ isSafeInteger: function isSafeInteger(number){
2041
+ return isInteger(number) && abs(number) <= 0x1fffffffffffff;
2042
+ }
2043
+ });
2044
+
2045
+ /***/ },
2046
+ /* 93 */
2047
+ /***/ function(module, exports, __webpack_require__) {
2048
+
2049
+ // 20.1.2.6 Number.MAX_SAFE_INTEGER
2050
+ var $export = __webpack_require__(6);
2051
+
2052
+ $export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
2053
+
2054
+ /***/ },
2055
+ /* 94 */
2056
+ /***/ function(module, exports, __webpack_require__) {
2057
+
2058
+ // 20.1.2.10 Number.MIN_SAFE_INTEGER
2059
+ var $export = __webpack_require__(6);
2060
+
2061
+ $export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});
2062
+
2063
+ /***/ },
2064
+ /* 95 */
2065
+ /***/ function(module, exports, __webpack_require__) {
2066
+
2067
+ var $export = __webpack_require__(6)
2068
+ , $parseFloat = __webpack_require__(96);
2069
+ // 20.1.2.12 Number.parseFloat(string)
2070
+ $export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', {parseFloat: $parseFloat});
2071
+
2072
+ /***/ },
2073
+ /* 96 */
2074
+ /***/ function(module, exports, __webpack_require__) {
2075
+
2076
+ var $parseFloat = __webpack_require__(2).parseFloat
2077
+ , $trim = __webpack_require__(81).trim;
2078
+
2079
+ module.exports = 1 / $parseFloat(__webpack_require__(82) + '-0') !== -Infinity ? function parseFloat(str){
2080
+ var string = $trim(String(str), 3)
2081
+ , result = $parseFloat(string);
2082
+ return result === 0 && string.charAt(0) == '-' ? -0 : result;
2083
+ } : $parseFloat;
2084
+
2085
+ /***/ },
2086
+ /* 97 */
2087
+ /***/ function(module, exports, __webpack_require__) {
2088
+
2089
+ var $export = __webpack_require__(6)
2090
+ , $parseInt = __webpack_require__(98);
2091
+ // 20.1.2.13 Number.parseInt(string, radix)
2092
+ $export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', {parseInt: $parseInt});
2093
+
2094
+ /***/ },
2095
+ /* 98 */
2096
+ /***/ function(module, exports, __webpack_require__) {
2097
+
2098
+ var $parseInt = __webpack_require__(2).parseInt
2099
+ , $trim = __webpack_require__(81).trim
2100
+ , ws = __webpack_require__(82)
2101
+ , hex = /^[\-+]?0[xX]/;
2102
+
2103
+ module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix){
2104
+ var string = $trim(String(str), 3);
2105
+ return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
2106
+ } : $parseInt;
2107
+
2108
+ /***/ },
2109
+ /* 99 */
2110
+ /***/ function(module, exports, __webpack_require__) {
2111
+
2112
+ var $export = __webpack_require__(6)
2113
+ , $parseInt = __webpack_require__(98);
2114
+ // 18.2.5 parseInt(string, radix)
2115
+ $export($export.G + $export.F * (parseInt != $parseInt), {parseInt: $parseInt});
2116
+
2117
+ /***/ },
2118
+ /* 100 */
2119
+ /***/ function(module, exports, __webpack_require__) {
2120
+
2121
+ var $export = __webpack_require__(6)
2122
+ , $parseFloat = __webpack_require__(96);
2123
+ // 18.2.4 parseFloat(string)
2124
+ $export($export.G + $export.F * (parseFloat != $parseFloat), {parseFloat: $parseFloat});
2125
+
2126
+ /***/ },
2127
+ /* 101 */
2128
+ /***/ function(module, exports, __webpack_require__) {
2129
+
2130
+ // 20.2.2.3 Math.acosh(x)
2131
+ var $export = __webpack_require__(6)
2132
+ , log1p = __webpack_require__(102)
2133
+ , sqrt = Math.sqrt
2134
+ , $acosh = Math.acosh;
2135
+
2136
+ $export($export.S + $export.F * !($acosh
2137
+ // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
2138
+ && Math.floor($acosh(Number.MAX_VALUE)) == 710
2139
+ // Tor Browser bug: Math.acosh(Infinity) -> NaN
2140
+ && $acosh(Infinity) == Infinity
2141
+ ), 'Math', {
2142
+ acosh: function acosh(x){
2143
+ return (x = +x) < 1 ? NaN : x > 94906265.62425156
2144
+ ? Math.log(x) + Math.LN2
2145
+ : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
2146
+ }
2147
+ });
2148
+
2149
+ /***/ },
2150
+ /* 102 */
2151
+ /***/ function(module, exports) {
2152
+
2153
+ // 20.2.2.20 Math.log1p(x)
2154
+ module.exports = Math.log1p || function log1p(x){
2155
+ return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
2156
+ };
2157
+
2158
+ /***/ },
2159
+ /* 103 */
2160
+ /***/ function(module, exports, __webpack_require__) {
2161
+
2162
+ // 20.2.2.5 Math.asinh(x)
2163
+ var $export = __webpack_require__(6)
2164
+ , $asinh = Math.asinh;
2165
+
2166
+ function asinh(x){
2167
+ return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
2168
+ }
2169
+
2170
+ // Tor Browser bug: Math.asinh(0) -> -0
2171
+ $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});
2172
+
2173
+ /***/ },
2174
+ /* 104 */
2175
+ /***/ function(module, exports, __webpack_require__) {
2176
+
2177
+ // 20.2.2.7 Math.atanh(x)
2178
+ var $export = __webpack_require__(6)
2179
+ , $atanh = Math.atanh;
2180
+
2181
+ // Tor Browser bug: Math.atanh(-0) -> 0
2182
+ $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {
2183
+ atanh: function atanh(x){
2184
+ return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
2185
+ }
2186
+ });
2187
+
2188
+ /***/ },
2189
+ /* 105 */
2190
+ /***/ function(module, exports, __webpack_require__) {
2191
+
2192
+ // 20.2.2.9 Math.cbrt(x)
2193
+ var $export = __webpack_require__(6)
2194
+ , sign = __webpack_require__(106);
2195
+
2196
+ $export($export.S, 'Math', {
2197
+ cbrt: function cbrt(x){
2198
+ return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
2199
+ }
2200
+ });
2201
+
2202
+ /***/ },
2203
+ /* 106 */
2204
+ /***/ function(module, exports) {
2205
+
2206
+ // 20.2.2.28 Math.sign(x)
2207
+ module.exports = Math.sign || function sign(x){
2208
+ return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
2209
+ };
2210
+
2211
+ /***/ },
2212
+ /* 107 */
2213
+ /***/ function(module, exports, __webpack_require__) {
2214
+
2215
+ // 20.2.2.11 Math.clz32(x)
2216
+ var $export = __webpack_require__(6);
2217
+
2218
+ $export($export.S, 'Math', {
2219
+ clz32: function clz32(x){
2220
+ return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
2221
+ }
2222
+ });
2223
+
2224
+ /***/ },
2225
+ /* 108 */
2226
+ /***/ function(module, exports, __webpack_require__) {
2227
+
2228
+ // 20.2.2.12 Math.cosh(x)
2229
+ var $export = __webpack_require__(6)
2230
+ , exp = Math.exp;
2231
+
2232
+ $export($export.S, 'Math', {
2233
+ cosh: function cosh(x){
2234
+ return (exp(x = +x) + exp(-x)) / 2;
2235
+ }
2236
+ });
2237
+
2238
+ /***/ },
2239
+ /* 109 */
2240
+ /***/ function(module, exports, __webpack_require__) {
2241
+
2242
+ // 20.2.2.14 Math.expm1(x)
2243
+ var $export = __webpack_require__(6)
2244
+ , $expm1 = __webpack_require__(110);
2245
+
2246
+ $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', {expm1: $expm1});
2247
+
2248
+ /***/ },
2249
+ /* 110 */
2250
+ /***/ function(module, exports) {
2251
+
2252
+ // 20.2.2.14 Math.expm1(x)
2253
+ var $expm1 = Math.expm1;
2254
+ module.exports = (!$expm1
2255
+ // Old FF bug
2256
+ || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
2257
+ // Tor Browser bug
2258
+ || $expm1(-2e-17) != -2e-17
2259
+ ) ? function expm1(x){
2260
+ return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
2261
+ } : $expm1;
2262
+
2263
+ /***/ },
2264
+ /* 111 */
2265
+ /***/ function(module, exports, __webpack_require__) {
2266
+
2267
+ // 20.2.2.16 Math.fround(x)
2268
+ var $export = __webpack_require__(6)
2269
+ , sign = __webpack_require__(106)
2270
+ , pow = Math.pow
2271
+ , EPSILON = pow(2, -52)
2272
+ , EPSILON32 = pow(2, -23)
2273
+ , MAX32 = pow(2, 127) * (2 - EPSILON32)
2274
+ , MIN32 = pow(2, -126);
2275
+
2276
+ var roundTiesToEven = function(n){
2277
+ return n + 1 / EPSILON - 1 / EPSILON;
2278
+ };
2279
+
2280
+
2281
+ $export($export.S, 'Math', {
2282
+ fround: function fround(x){
2283
+ var $abs = Math.abs(x)
2284
+ , $sign = sign(x)
2285
+ , a, result;
2286
+ if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
2287
+ a = (1 + EPSILON32 / EPSILON) * $abs;
2288
+ result = a - (a - $abs);
2289
+ if(result > MAX32 || result != result)return $sign * Infinity;
2290
+ return $sign * result;
2291
+ }
2292
+ });
2293
+
2294
+ /***/ },
2295
+ /* 112 */
2296
+ /***/ function(module, exports, __webpack_require__) {
2297
+
2298
+ // 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
2299
+ var $export = __webpack_require__(6)
2300
+ , abs = Math.abs;
2301
+
2302
+ $export($export.S, 'Math', {
2303
+ hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars
2304
+ var sum = 0
2305
+ , i = 0
2306
+ , aLen = arguments.length
2307
+ , larg = 0
2308
+ , arg, div;
2309
+ while(i < aLen){
2310
+ arg = abs(arguments[i++]);
2311
+ if(larg < arg){
2312
+ div = larg / arg;
2313
+ sum = sum * div * div + 1;
2314
+ larg = arg;
2315
+ } else if(arg > 0){
2316
+ div = arg / larg;
2317
+ sum += div * div;
2318
+ } else sum += arg;
2319
+ }
2320
+ return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
2321
+ }
2322
+ });
2323
+
2324
+ /***/ },
2325
+ /* 113 */
2326
+ /***/ function(module, exports, __webpack_require__) {
2327
+
2328
+ // 20.2.2.18 Math.imul(x, y)
2329
+ var $export = __webpack_require__(6)
2330
+ , $imul = Math.imul;
2331
+
2332
+ // some WebKit versions fails with big numbers, some has wrong arity
2333
+ $export($export.S + $export.F * __webpack_require__(5)(function(){
2334
+ return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
2335
+ }), 'Math', {
2336
+ imul: function imul(x, y){
2337
+ var UINT16 = 0xffff
2338
+ , xn = +x
2339
+ , yn = +y
2340
+ , xl = UINT16 & xn
2341
+ , yl = UINT16 & yn;
2342
+ return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
2343
+ }
2344
+ });
2345
+
2346
+ /***/ },
2347
+ /* 114 */
2348
+ /***/ function(module, exports, __webpack_require__) {
2349
+
2350
+ // 20.2.2.21 Math.log10(x)
2351
+ var $export = __webpack_require__(6);
2352
+
2353
+ $export($export.S, 'Math', {
2354
+ log10: function log10(x){
2355
+ return Math.log(x) / Math.LN10;
2356
+ }
2357
+ });
2358
+
2359
+ /***/ },
2360
+ /* 115 */
2361
+ /***/ function(module, exports, __webpack_require__) {
2362
+
2363
+ // 20.2.2.20 Math.log1p(x)
2364
+ var $export = __webpack_require__(6);
2365
+
2366
+ $export($export.S, 'Math', {log1p: __webpack_require__(102)});
2367
+
2368
+ /***/ },
2369
+ /* 116 */
2370
+ /***/ function(module, exports, __webpack_require__) {
2371
+
2372
+ // 20.2.2.22 Math.log2(x)
2373
+ var $export = __webpack_require__(6);
2374
+
2375
+ $export($export.S, 'Math', {
2376
+ log2: function log2(x){
2377
+ return Math.log(x) / Math.LN2;
2378
+ }
2379
+ });
2380
+
2381
+ /***/ },
2382
+ /* 117 */
2383
+ /***/ function(module, exports, __webpack_require__) {
2384
+
2385
+ // 20.2.2.28 Math.sign(x)
2386
+ var $export = __webpack_require__(6);
2387
+
2388
+ $export($export.S, 'Math', {sign: __webpack_require__(106)});
2389
+
2390
+ /***/ },
2391
+ /* 118 */
2392
+ /***/ function(module, exports, __webpack_require__) {
2393
+
2394
+ // 20.2.2.30 Math.sinh(x)
2395
+ var $export = __webpack_require__(6)
2396
+ , expm1 = __webpack_require__(110)
2397
+ , exp = Math.exp;
2398
+
2399
+ // V8 near Chromium 38 has a problem with very small numbers
2400
+ $export($export.S + $export.F * __webpack_require__(5)(function(){
2401
+ return !Math.sinh(-2e-17) != -2e-17;
2402
+ }), 'Math', {
2403
+ sinh: function sinh(x){
2404
+ return Math.abs(x = +x) < 1
2405
+ ? (expm1(x) - expm1(-x)) / 2
2406
+ : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
2407
+ }
2408
+ });
2409
+
2410
+ /***/ },
2411
+ /* 119 */
2412
+ /***/ function(module, exports, __webpack_require__) {
2413
+
2414
+ // 20.2.2.33 Math.tanh(x)
2415
+ var $export = __webpack_require__(6)
2416
+ , expm1 = __webpack_require__(110)
2417
+ , exp = Math.exp;
2418
+
2419
+ $export($export.S, 'Math', {
2420
+ tanh: function tanh(x){
2421
+ var a = expm1(x = +x)
2422
+ , b = expm1(-x);
2423
+ return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
2424
+ }
2425
+ });
2426
+
2427
+ /***/ },
2428
+ /* 120 */
2429
+ /***/ function(module, exports, __webpack_require__) {
2430
+
2431
+ // 20.2.2.34 Math.trunc(x)
2432
+ var $export = __webpack_require__(6);
2433
+
2434
+ $export($export.S, 'Math', {
2435
+ trunc: function trunc(it){
2436
+ return (it > 0 ? Math.floor : Math.ceil)(it);
2437
+ }
2438
+ });
2439
+
2440
+ /***/ },
2441
+ /* 121 */
2442
+ /***/ function(module, exports, __webpack_require__) {
2443
+
2444
+ var $export = __webpack_require__(6)
2445
+ , toIndex = __webpack_require__(37)
2446
+ , fromCharCode = String.fromCharCode
2447
+ , $fromCodePoint = String.fromCodePoint;
2448
+
2449
+ // length should be 1, old FF problem
2450
+ $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
2451
+ // 21.1.2.2 String.fromCodePoint(...codePoints)
2452
+ fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars
2453
+ var res = []
2454
+ , aLen = arguments.length
2455
+ , i = 0
2456
+ , code;
2457
+ while(aLen > i){
2458
+ code = +arguments[i++];
2459
+ if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');
2460
+ res.push(code < 0x10000
2461
+ ? fromCharCode(code)
2462
+ : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)
2463
+ );
2464
+ } return res.join('');
2465
+ }
2466
+ });
2467
+
2468
+ /***/ },
2469
+ /* 122 */
2470
+ /***/ function(module, exports, __webpack_require__) {
2471
+
2472
+ var $export = __webpack_require__(6)
2473
+ , toIObject = __webpack_require__(30)
2474
+ , toLength = __webpack_require__(35);
2475
+
2476
+ $export($export.S, 'String', {
2477
+ // 21.1.2.4 String.raw(callSite, ...substitutions)
2478
+ raw: function raw(callSite){
2479
+ var tpl = toIObject(callSite.raw)
2480
+ , len = toLength(tpl.length)
2481
+ , aLen = arguments.length
2482
+ , res = []
2483
+ , i = 0;
2484
+ while(len > i){
2485
+ res.push(String(tpl[i++]));
2486
+ if(i < aLen)res.push(String(arguments[i]));
2487
+ } return res.join('');
2488
+ }
2489
+ });
2490
+
2491
+ /***/ },
2492
+ /* 123 */
2493
+ /***/ function(module, exports, __webpack_require__) {
2494
+
2495
+ 'use strict';
2496
+ // 21.1.3.25 String.prototype.trim()
2497
+ __webpack_require__(81)('trim', function($trim){
2498
+ return function trim(){
2499
+ return $trim(this, 3);
2500
+ };
2501
+ });
2502
+
2503
+ /***/ },
2504
+ /* 124 */
2505
+ /***/ function(module, exports, __webpack_require__) {
2506
+
2507
+ 'use strict';
2508
+ var $export = __webpack_require__(6)
2509
+ , $at = __webpack_require__(125)(false);
2510
+ $export($export.P, 'String', {
2511
+ // 21.1.3.3 String.prototype.codePointAt(pos)
2512
+ codePointAt: function codePointAt(pos){
2513
+ return $at(this, pos);
2514
+ }
2515
+ });
2516
+
2517
+ /***/ },
2518
+ /* 125 */
2519
+ /***/ function(module, exports, __webpack_require__) {
2520
+
2521
+ var toInteger = __webpack_require__(36)
2522
+ , defined = __webpack_require__(33);
2523
+ // true -> String#at
2524
+ // false -> String#codePointAt
2525
+ module.exports = function(TO_STRING){
2526
+ return function(that, pos){
2527
+ var s = String(defined(that))
2528
+ , i = toInteger(pos)
2529
+ , l = s.length
2530
+ , a, b;
2531
+ if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
2532
+ a = s.charCodeAt(i);
2533
+ return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
2534
+ ? TO_STRING ? s.charAt(i) : a
2535
+ : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
2536
+ };
2537
+ };
2538
+
2539
+ /***/ },
2540
+ /* 126 */
2541
+ /***/ function(module, exports, __webpack_require__) {
2542
+
2543
+ // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
2544
+ 'use strict';
2545
+ var $export = __webpack_require__(6)
2546
+ , toLength = __webpack_require__(35)
2547
+ , context = __webpack_require__(127)
2548
+ , ENDS_WITH = 'endsWith'
2549
+ , $endsWith = ''[ENDS_WITH];
2550
+
2551
+ $export($export.P + $export.F * __webpack_require__(129)(ENDS_WITH), 'String', {
2552
+ endsWith: function endsWith(searchString /*, endPosition = @length */){
2553
+ var that = context(this, searchString, ENDS_WITH)
2554
+ , endPosition = arguments.length > 1 ? arguments[1] : undefined
2555
+ , len = toLength(that.length)
2556
+ , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)
2557
+ , search = String(searchString);
2558
+ return $endsWith
2559
+ ? $endsWith.call(that, search, end)
2560
+ : that.slice(end - search.length, end) === search;
2561
+ }
2562
+ });
2563
+
2564
+ /***/ },
2565
+ /* 127 */
2566
+ /***/ function(module, exports, __webpack_require__) {
2567
+
2568
+ // helper for String#{startsWith, endsWith, includes}
2569
+ var isRegExp = __webpack_require__(128)
2570
+ , defined = __webpack_require__(33);
2571
+
2572
+ module.exports = function(that, searchString, NAME){
2573
+ if(isRegExp(searchString))throw TypeError('String#' + NAME + " doesn't accept regex!");
2574
+ return String(defined(that));
2575
+ };
2576
+
2577
+ /***/ },
2578
+ /* 128 */
2579
+ /***/ function(module, exports, __webpack_require__) {
2580
+
2581
+ // 7.2.8 IsRegExp(argument)
2582
+ var isObject = __webpack_require__(11)
2583
+ , cof = __webpack_require__(32)
2584
+ , MATCH = __webpack_require__(23)('match');
2585
+ module.exports = function(it){
2586
+ var isRegExp;
2587
+ return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
2588
+ };
2589
+
2590
+ /***/ },
2591
+ /* 129 */
2592
+ /***/ function(module, exports, __webpack_require__) {
2593
+
2594
+ var MATCH = __webpack_require__(23)('match');
2595
+ module.exports = function(KEY){
2596
+ var re = /./;
2597
+ try {
2598
+ '/./'[KEY](re);
2599
+ } catch(e){
2600
+ try {
2601
+ re[MATCH] = false;
2602
+ return !'/./'[KEY](re);
2603
+ } catch(f){ /* empty */ }
2604
+ } return true;
2605
+ };
2606
+
2607
+ /***/ },
2608
+ /* 130 */
2609
+ /***/ function(module, exports, __webpack_require__) {
2610
+
2611
+ // 21.1.3.7 String.prototype.includes(searchString, position = 0)
2612
+ 'use strict';
2613
+ var $export = __webpack_require__(6)
2614
+ , context = __webpack_require__(127)
2615
+ , INCLUDES = 'includes';
2616
+
2617
+ $export($export.P + $export.F * __webpack_require__(129)(INCLUDES), 'String', {
2618
+ includes: function includes(searchString /*, position = 0 */){
2619
+ return !!~context(this, searchString, INCLUDES)
2620
+ .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
2621
+ }
2622
+ });
2623
+
2624
+ /***/ },
2625
+ /* 131 */
2626
+ /***/ function(module, exports, __webpack_require__) {
2627
+
2628
+ var $export = __webpack_require__(6);
2629
+
2630
+ $export($export.P, 'String', {
2631
+ // 21.1.3.13 String.prototype.repeat(count)
2632
+ repeat: __webpack_require__(85)
2633
+ });
2634
+
2635
+ /***/ },
2636
+ /* 132 */
2637
+ /***/ function(module, exports, __webpack_require__) {
2638
+
2639
+ // 21.1.3.18 String.prototype.startsWith(searchString [, position ])
2640
+ 'use strict';
2641
+ var $export = __webpack_require__(6)
2642
+ , toLength = __webpack_require__(35)
2643
+ , context = __webpack_require__(127)
2644
+ , STARTS_WITH = 'startsWith'
2645
+ , $startsWith = ''[STARTS_WITH];
2646
+
2647
+ $export($export.P + $export.F * __webpack_require__(129)(STARTS_WITH), 'String', {
2648
+ startsWith: function startsWith(searchString /*, position = 0 */){
2649
+ var that = context(this, searchString, STARTS_WITH)
2650
+ , index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length))
2651
+ , search = String(searchString);
2652
+ return $startsWith
2653
+ ? $startsWith.call(that, search, index)
2654
+ : that.slice(index, index + search.length) === search;
2655
+ }
2656
+ });
2657
+
2658
+ /***/ },
2659
+ /* 133 */
2660
+ /***/ function(module, exports, __webpack_require__) {
2661
+
2662
+ 'use strict';
2663
+ var $at = __webpack_require__(125)(true);
2664
+
2665
+ // 21.1.3.27 String.prototype[@@iterator]()
2666
+ __webpack_require__(134)(String, 'String', function(iterated){
2667
+ this._t = String(iterated); // target
2668
+ this._i = 0; // next index
2669
+ // 21.1.5.2.1 %StringIteratorPrototype%.next()
2670
+ }, function(){
2671
+ var O = this._t
2672
+ , index = this._i
2673
+ , point;
2674
+ if(index >= O.length)return {value: undefined, done: true};
2675
+ point = $at(O, index);
2676
+ this._i += point.length;
2677
+ return {value: point, done: false};
2678
+ });
2679
+
2680
+ /***/ },
2681
+ /* 134 */
2682
+ /***/ function(module, exports, __webpack_require__) {
2683
+
2684
+ 'use strict';
2685
+ var LIBRARY = __webpack_require__(26)
2686
+ , $export = __webpack_require__(6)
2687
+ , redefine = __webpack_require__(16)
2688
+ , hide = __webpack_require__(8)
2689
+ , has = __webpack_require__(3)
2690
+ , Iterators = __webpack_require__(135)
2691
+ , $iterCreate = __webpack_require__(136)
2692
+ , setToStringTag = __webpack_require__(22)
2693
+ , getPrototypeOf = __webpack_require__(57)
2694
+ , ITERATOR = __webpack_require__(23)('iterator')
2695
+ , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
2696
+ , FF_ITERATOR = '@@iterator'
2697
+ , KEYS = 'keys'
2698
+ , VALUES = 'values';
2699
+
2700
+ var returnThis = function(){ return this; };
2701
+
2702
+ module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
2703
+ $iterCreate(Constructor, NAME, next);
2704
+ var getMethod = function(kind){
2705
+ if(!BUGGY && kind in proto)return proto[kind];
2706
+ switch(kind){
2707
+ case KEYS: return function keys(){ return new Constructor(this, kind); };
2708
+ case VALUES: return function values(){ return new Constructor(this, kind); };
2709
+ } return function entries(){ return new Constructor(this, kind); };
2710
+ };
2711
+ var TAG = NAME + ' Iterator'
2712
+ , DEF_VALUES = DEFAULT == VALUES
2713
+ , VALUES_BUG = false
2714
+ , proto = Base.prototype
2715
+ , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
2716
+ , $default = $native || getMethod(DEFAULT)
2717
+ , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined
2718
+ , $anyNative = NAME == 'Array' ? proto.entries || $native : $native
2719
+ , methods, key, IteratorPrototype;
2720
+ // Fix native
2721
+ if($anyNative){
2722
+ IteratorPrototype = getPrototypeOf($anyNative.call(new Base));
2723
+ if(IteratorPrototype !== Object.prototype){
2724
+ // Set @@toStringTag to native iterators
2725
+ setToStringTag(IteratorPrototype, TAG, true);
2726
+ // fix for some old engines
2727
+ if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
2728
+ }
2729
+ }
2730
+ // fix Array#{values, @@iterator}.name in V8 / FF
2731
+ if(DEF_VALUES && $native && $native.name !== VALUES){
2732
+ VALUES_BUG = true;
2733
+ $default = function values(){ return $native.call(this); };
2734
+ }
2735
+ // Define iterator
2736
+ if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
2737
+ hide(proto, ITERATOR, $default);
2738
+ }
2739
+ // Plug for library
2740
+ Iterators[NAME] = $default;
2741
+ Iterators[TAG] = returnThis;
2742
+ if(DEFAULT){
2743
+ methods = {
2744
+ values: DEF_VALUES ? $default : getMethod(VALUES),
2745
+ keys: IS_SET ? $default : getMethod(KEYS),
2746
+ entries: $entries
2747
+ };
2748
+ if(FORCED)for(key in methods){
2749
+ if(!(key in proto))redefine(proto, key, methods[key]);
2750
+ } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
2751
+ }
2752
+ return methods;
2753
+ };
2754
+
2755
+ /***/ },
2756
+ /* 135 */
2757
+ /***/ function(module, exports) {
2758
+
2759
+ module.exports = {};
2760
+
2761
+ /***/ },
2762
+ /* 136 */
2763
+ /***/ function(module, exports, __webpack_require__) {
2764
+
2765
+ 'use strict';
2766
+ var create = __webpack_require__(44)
2767
+ , descriptor = __webpack_require__(15)
2768
+ , setToStringTag = __webpack_require__(22)
2769
+ , IteratorPrototype = {};
2770
+
2771
+ // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
2772
+ __webpack_require__(8)(IteratorPrototype, __webpack_require__(23)('iterator'), function(){ return this; });
2773
+
2774
+ module.exports = function(Constructor, NAME, next){
2775
+ Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});
2776
+ setToStringTag(Constructor, NAME + ' Iterator');
2777
+ };
2778
+
2779
+ /***/ },
2780
+ /* 137 */
2781
+ /***/ function(module, exports, __webpack_require__) {
2782
+
2783
+ 'use strict';
2784
+ // B.2.3.2 String.prototype.anchor(name)
2785
+ __webpack_require__(138)('anchor', function(createHTML){
2786
+ return function anchor(name){
2787
+ return createHTML(this, 'a', 'name', name);
2788
+ }
2789
+ });
2790
+
2791
+ /***/ },
2792
+ /* 138 */
2793
+ /***/ function(module, exports, __webpack_require__) {
2794
+
2795
+ var $export = __webpack_require__(6)
2796
+ , fails = __webpack_require__(5)
2797
+ , defined = __webpack_require__(33)
2798
+ , quot = /"/g;
2799
+ // B.2.3.2.1 CreateHTML(string, tag, attribute, value)
2800
+ var createHTML = function(string, tag, attribute, value) {
2801
+ var S = String(defined(string))
2802
+ , p1 = '<' + tag;
2803
+ if(attribute !== '')p1 += ' ' + attribute + '="' + String(value).replace(quot, '&quot;') + '"';
2804
+ return p1 + '>' + S + '</' + tag + '>';
2805
+ };
2806
+ module.exports = function(NAME, exec){
2807
+ var O = {};
2808
+ O[NAME] = exec(createHTML);
2809
+ $export($export.P + $export.F * fails(function(){
2810
+ var test = ''[NAME]('"');
2811
+ return test !== test.toLowerCase() || test.split('"').length > 3;
2812
+ }), 'String', O);
2813
+ };
2814
+
2815
+ /***/ },
2816
+ /* 139 */
2817
+ /***/ function(module, exports, __webpack_require__) {
2818
+
2819
+ 'use strict';
2820
+ // B.2.3.3 String.prototype.big()
2821
+ __webpack_require__(138)('big', function(createHTML){
2822
+ return function big(){
2823
+ return createHTML(this, 'big', '', '');
2824
+ }
2825
+ });
2826
+
2827
+ /***/ },
2828
+ /* 140 */
2829
+ /***/ function(module, exports, __webpack_require__) {
2830
+
2831
+ 'use strict';
2832
+ // B.2.3.4 String.prototype.blink()
2833
+ __webpack_require__(138)('blink', function(createHTML){
2834
+ return function blink(){
2835
+ return createHTML(this, 'blink', '', '');
2836
+ }
2837
+ });
2838
+
2839
+ /***/ },
2840
+ /* 141 */
2841
+ /***/ function(module, exports, __webpack_require__) {
2842
+
2843
+ 'use strict';
2844
+ // B.2.3.5 String.prototype.bold()
2845
+ __webpack_require__(138)('bold', function(createHTML){
2846
+ return function bold(){
2847
+ return createHTML(this, 'b', '', '');
2848
+ }
2849
+ });
2850
+
2851
+ /***/ },
2852
+ /* 142 */
2853
+ /***/ function(module, exports, __webpack_require__) {
2854
+
2855
+ 'use strict';
2856
+ // B.2.3.6 String.prototype.fixed()
2857
+ __webpack_require__(138)('fixed', function(createHTML){
2858
+ return function fixed(){
2859
+ return createHTML(this, 'tt', '', '');
2860
+ }
2861
+ });
2862
+
2863
+ /***/ },
2864
+ /* 143 */
2865
+ /***/ function(module, exports, __webpack_require__) {
2866
+
2867
+ 'use strict';
2868
+ // B.2.3.7 String.prototype.fontcolor(color)
2869
+ __webpack_require__(138)('fontcolor', function(createHTML){
2870
+ return function fontcolor(color){
2871
+ return createHTML(this, 'font', 'color', color);
2872
+ }
2873
+ });
2874
+
2875
+ /***/ },
2876
+ /* 144 */
2877
+ /***/ function(module, exports, __webpack_require__) {
2878
+
2879
+ 'use strict';
2880
+ // B.2.3.8 String.prototype.fontsize(size)
2881
+ __webpack_require__(138)('fontsize', function(createHTML){
2882
+ return function fontsize(size){
2883
+ return createHTML(this, 'font', 'size', size);
2884
+ }
2885
+ });
2886
+
2887
+ /***/ },
2888
+ /* 145 */
2889
+ /***/ function(module, exports, __webpack_require__) {
2890
+
2891
+ 'use strict';
2892
+ // B.2.3.9 String.prototype.italics()
2893
+ __webpack_require__(138)('italics', function(createHTML){
2894
+ return function italics(){
2895
+ return createHTML(this, 'i', '', '');
2896
+ }
2897
+ });
2898
+
2899
+ /***/ },
2900
+ /* 146 */
2901
+ /***/ function(module, exports, __webpack_require__) {
2902
+
2903
+ 'use strict';
2904
+ // B.2.3.10 String.prototype.link(url)
2905
+ __webpack_require__(138)('link', function(createHTML){
2906
+ return function link(url){
2907
+ return createHTML(this, 'a', 'href', url);
2908
+ }
2909
+ });
2910
+
2911
+ /***/ },
2912
+ /* 147 */
2913
+ /***/ function(module, exports, __webpack_require__) {
2914
+
2915
+ 'use strict';
2916
+ // B.2.3.11 String.prototype.small()
2917
+ __webpack_require__(138)('small', function(createHTML){
2918
+ return function small(){
2919
+ return createHTML(this, 'small', '', '');
2920
+ }
2921
+ });
2922
+
2923
+ /***/ },
2924
+ /* 148 */
2925
+ /***/ function(module, exports, __webpack_require__) {
2926
+
2927
+ 'use strict';
2928
+ // B.2.3.12 String.prototype.strike()
2929
+ __webpack_require__(138)('strike', function(createHTML){
2930
+ return function strike(){
2931
+ return createHTML(this, 'strike', '', '');
2932
+ }
2933
+ });
2934
+
2935
+ /***/ },
2936
+ /* 149 */
2937
+ /***/ function(module, exports, __webpack_require__) {
2938
+
2939
+ 'use strict';
2940
+ // B.2.3.13 String.prototype.sub()
2941
+ __webpack_require__(138)('sub', function(createHTML){
2942
+ return function sub(){
2943
+ return createHTML(this, 'sub', '', '');
2944
+ }
2945
+ });
2946
+
2947
+ /***/ },
2948
+ /* 150 */
2949
+ /***/ function(module, exports, __webpack_require__) {
2950
+
2951
+ 'use strict';
2952
+ // B.2.3.14 String.prototype.sup()
2953
+ __webpack_require__(138)('sup', function(createHTML){
2954
+ return function sup(){
2955
+ return createHTML(this, 'sup', '', '');
2956
+ }
2957
+ });
2958
+
2959
+ /***/ },
2960
+ /* 151 */
2961
+ /***/ function(module, exports, __webpack_require__) {
2962
+
2963
+ // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
2964
+ var $export = __webpack_require__(6);
2965
+
2966
+ $export($export.S, 'Array', {isArray: __webpack_require__(43)});
2967
+
2968
+ /***/ },
2969
+ /* 152 */
2970
+ /***/ function(module, exports, __webpack_require__) {
2971
+
2972
+ 'use strict';
2973
+ var ctx = __webpack_require__(18)
2974
+ , $export = __webpack_require__(6)
2975
+ , toObject = __webpack_require__(56)
2976
+ , call = __webpack_require__(153)
2977
+ , isArrayIter = __webpack_require__(154)
2978
+ , toLength = __webpack_require__(35)
2979
+ , createProperty = __webpack_require__(155)
2980
+ , getIterFn = __webpack_require__(156);
2981
+
2982
+ $export($export.S + $export.F * !__webpack_require__(157)(function(iter){ Array.from(iter); }), 'Array', {
2983
+ // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
2984
+ from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){
2985
+ var O = toObject(arrayLike)
2986
+ , C = typeof this == 'function' ? this : Array
2987
+ , aLen = arguments.length
2988
+ , mapfn = aLen > 1 ? arguments[1] : undefined
2989
+ , mapping = mapfn !== undefined
2990
+ , index = 0
2991
+ , iterFn = getIterFn(O)
2992
+ , length, result, step, iterator;
2993
+ if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
2994
+ // if object isn't iterable or it's array with default iterator - use simple case
2995
+ if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){
2996
+ for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){
2997
+ createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
2998
+ }
2999
+ } else {
3000
+ length = toLength(O.length);
3001
+ for(result = new C(length); length > index; index++){
3002
+ createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
3003
+ }
3004
+ }
3005
+ result.length = index;
3006
+ return result;
3007
+ }
3008
+ });
3009
+
3010
+
3011
+ /***/ },
3012
+ /* 153 */
3013
+ /***/ function(module, exports, __webpack_require__) {
3014
+
3015
+ // call something on iterator step with safe closing on error
3016
+ var anObject = __webpack_require__(10);
3017
+ module.exports = function(iterator, fn, value, entries){
3018
+ try {
3019
+ return entries ? fn(anObject(value)[0], value[1]) : fn(value);
3020
+ // 7.4.6 IteratorClose(iterator, completion)
3021
+ } catch(e){
3022
+ var ret = iterator['return'];
3023
+ if(ret !== undefined)anObject(ret.call(iterator));
3024
+ throw e;
3025
+ }
3026
+ };
3027
+
3028
+ /***/ },
3029
+ /* 154 */
3030
+ /***/ function(module, exports, __webpack_require__) {
3031
+
3032
+ // check on default Array iterator
3033
+ var Iterators = __webpack_require__(135)
3034
+ , ITERATOR = __webpack_require__(23)('iterator')
3035
+ , ArrayProto = Array.prototype;
3036
+
3037
+ module.exports = function(it){
3038
+ return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
3039
+ };
3040
+
3041
+ /***/ },
3042
+ /* 155 */
3043
+ /***/ function(module, exports, __webpack_require__) {
3044
+
3045
+ 'use strict';
3046
+ var $defineProperty = __webpack_require__(9)
3047
+ , createDesc = __webpack_require__(15);
3048
+
3049
+ module.exports = function(object, index, value){
3050
+ if(index in object)$defineProperty.f(object, index, createDesc(0, value));
3051
+ else object[index] = value;
3052
+ };
3053
+
3054
+ /***/ },
3055
+ /* 156 */
3056
+ /***/ function(module, exports, __webpack_require__) {
3057
+
3058
+ var classof = __webpack_require__(73)
3059
+ , ITERATOR = __webpack_require__(23)('iterator')
3060
+ , Iterators = __webpack_require__(135);
3061
+ module.exports = __webpack_require__(7).getIteratorMethod = function(it){
3062
+ if(it != undefined)return it[ITERATOR]
3063
+ || it['@@iterator']
3064
+ || Iterators[classof(it)];
3065
+ };
3066
+
3067
+ /***/ },
3068
+ /* 157 */
3069
+ /***/ function(module, exports, __webpack_require__) {
3070
+
3071
+ var ITERATOR = __webpack_require__(23)('iterator')
3072
+ , SAFE_CLOSING = false;
3073
+
3074
+ try {
3075
+ var riter = [7][ITERATOR]();
3076
+ riter['return'] = function(){ SAFE_CLOSING = true; };
3077
+ Array.from(riter, function(){ throw 2; });
3078
+ } catch(e){ /* empty */ }
3079
+
3080
+ module.exports = function(exec, skipClosing){
3081
+ if(!skipClosing && !SAFE_CLOSING)return false;
3082
+ var safe = false;
3083
+ try {
3084
+ var arr = [7]
3085
+ , iter = arr[ITERATOR]();
3086
+ iter.next = function(){ return {done: safe = true}; };
3087
+ arr[ITERATOR] = function(){ return iter; };
3088
+ exec(arr);
3089
+ } catch(e){ /* empty */ }
3090
+ return safe;
3091
+ };
3092
+
3093
+ /***/ },
3094
+ /* 158 */
3095
+ /***/ function(module, exports, __webpack_require__) {
3096
+
3097
+ 'use strict';
3098
+ var $export = __webpack_require__(6)
3099
+ , createProperty = __webpack_require__(155);
3100
+
3101
+ // WebKit Array.of isn't generic
3102
+ $export($export.S + $export.F * __webpack_require__(5)(function(){
3103
+ function F(){}
3104
+ return !(Array.of.call(F) instanceof F);
3105
+ }), 'Array', {
3106
+ // 22.1.2.3 Array.of( ...items)
3107
+ of: function of(/* ...args */){
3108
+ var index = 0
3109
+ , aLen = arguments.length
3110
+ , result = new (typeof this == 'function' ? this : Array)(aLen);
3111
+ while(aLen > index)createProperty(result, index, arguments[index++]);
3112
+ result.length = aLen;
3113
+ return result;
3114
+ }
3115
+ });
3116
+
3117
+ /***/ },
3118
+ /* 159 */
3119
+ /***/ function(module, exports, __webpack_require__) {
3120
+
3121
+ 'use strict';
3122
+ // 22.1.3.13 Array.prototype.join(separator)
3123
+ var $export = __webpack_require__(6)
3124
+ , toIObject = __webpack_require__(30)
3125
+ , arrayJoin = [].join;
3126
+
3127
+ // fallback for not array-like strings
3128
+ $export($export.P + $export.F * (__webpack_require__(31) != Object || !__webpack_require__(160)(arrayJoin)), 'Array', {
3129
+ join: function join(separator){
3130
+ return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);
3131
+ }
3132
+ });
3133
+
3134
+ /***/ },
3135
+ /* 160 */
3136
+ /***/ function(module, exports, __webpack_require__) {
3137
+
3138
+ var fails = __webpack_require__(5);
3139
+
3140
+ module.exports = function(method, arg){
3141
+ return !!method && fails(function(){
3142
+ arg ? method.call(null, function(){}, 1) : method.call(null);
3143
+ });
3144
+ };
3145
+
3146
+ /***/ },
3147
+ /* 161 */
3148
+ /***/ function(module, exports, __webpack_require__) {
3149
+
3150
+ 'use strict';
3151
+ var $export = __webpack_require__(6)
3152
+ , html = __webpack_require__(46)
3153
+ , cof = __webpack_require__(32)
3154
+ , toIndex = __webpack_require__(37)
3155
+ , toLength = __webpack_require__(35)
3156
+ , arraySlice = [].slice;
3157
+
3158
+ // fallback for not array-like ES3 strings and DOM objects
3159
+ $export($export.P + $export.F * __webpack_require__(5)(function(){
3160
+ if(html)arraySlice.call(html);
3161
+ }), 'Array', {
3162
+ slice: function slice(begin, end){
3163
+ var len = toLength(this.length)
3164
+ , klass = cof(this);
3165
+ end = end === undefined ? len : end;
3166
+ if(klass == 'Array')return arraySlice.call(this, begin, end);
3167
+ var start = toIndex(begin, len)
3168
+ , upTo = toIndex(end, len)
3169
+ , size = toLength(upTo - start)
3170
+ , cloned = Array(size)
3171
+ , i = 0;
3172
+ for(; i < size; i++)cloned[i] = klass == 'String'
3173
+ ? this.charAt(start + i)
3174
+ : this[start + i];
3175
+ return cloned;
3176
+ }
3177
+ });
3178
+
3179
+ /***/ },
3180
+ /* 162 */
3181
+ /***/ function(module, exports, __webpack_require__) {
3182
+
3183
+ 'use strict';
3184
+ var $export = __webpack_require__(6)
3185
+ , aFunction = __webpack_require__(19)
3186
+ , toObject = __webpack_require__(56)
3187
+ , fails = __webpack_require__(5)
3188
+ , $sort = [].sort
3189
+ , test = [1, 2, 3];
3190
+
3191
+ $export($export.P + $export.F * (fails(function(){
3192
+ // IE8-
3193
+ test.sort(undefined);
3194
+ }) || !fails(function(){
3195
+ // V8 bug
3196
+ test.sort(null);
3197
+ // Old WebKit
3198
+ }) || !__webpack_require__(160)($sort)), 'Array', {
3199
+ // 22.1.3.25 Array.prototype.sort(comparefn)
3200
+ sort: function sort(comparefn){
3201
+ return comparefn === undefined
3202
+ ? $sort.call(toObject(this))
3203
+ : $sort.call(toObject(this), aFunction(comparefn));
3204
+ }
3205
+ });
3206
+
3207
+ /***/ },
3208
+ /* 163 */
3209
+ /***/ function(module, exports, __webpack_require__) {
3210
+
3211
+ 'use strict';
3212
+ var $export = __webpack_require__(6)
3213
+ , $forEach = __webpack_require__(164)(0)
3214
+ , STRICT = __webpack_require__(160)([].forEach, true);
3215
+
3216
+ $export($export.P + $export.F * !STRICT, 'Array', {
3217
+ // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
3218
+ forEach: function forEach(callbackfn /* , thisArg */){
3219
+ return $forEach(this, callbackfn, arguments[1]);
3220
+ }
3221
+ });
3222
+
3223
+ /***/ },
3224
+ /* 164 */
3225
+ /***/ function(module, exports, __webpack_require__) {
3226
+
3227
+ // 0 -> Array#forEach
3228
+ // 1 -> Array#map
3229
+ // 2 -> Array#filter
3230
+ // 3 -> Array#some
3231
+ // 4 -> Array#every
3232
+ // 5 -> Array#find
3233
+ // 6 -> Array#findIndex
3234
+ var ctx = __webpack_require__(18)
3235
+ , IObject = __webpack_require__(31)
3236
+ , toObject = __webpack_require__(56)
3237
+ , toLength = __webpack_require__(35)
3238
+ , asc = __webpack_require__(165);
3239
+ module.exports = function(TYPE, $create){
3240
+ var IS_MAP = TYPE == 1
3241
+ , IS_FILTER = TYPE == 2
3242
+ , IS_SOME = TYPE == 3
3243
+ , IS_EVERY = TYPE == 4
3244
+ , IS_FIND_INDEX = TYPE == 6
3245
+ , NO_HOLES = TYPE == 5 || IS_FIND_INDEX
3246
+ , create = $create || asc;
3247
+ return function($this, callbackfn, that){
3248
+ var O = toObject($this)
3249
+ , self = IObject(O)
3250
+ , f = ctx(callbackfn, that, 3)
3251
+ , length = toLength(self.length)
3252
+ , index = 0
3253
+ , result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined
3254
+ , val, res;
3255
+ for(;length > index; index++)if(NO_HOLES || index in self){
3256
+ val = self[index];
3257
+ res = f(val, index, O);
3258
+ if(TYPE){
3259
+ if(IS_MAP)result[index] = res; // map
3260
+ else if(res)switch(TYPE){
3261
+ case 3: return true; // some
3262
+ case 5: return val; // find
3263
+ case 6: return index; // findIndex
3264
+ case 2: result.push(val); // filter
3265
+ } else if(IS_EVERY)return false; // every
3266
+ }
3267
+ }
3268
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
3269
+ };
3270
+ };
3271
+
3272
+ /***/ },
3273
+ /* 165 */
3274
+ /***/ function(module, exports, __webpack_require__) {
3275
+
3276
+ // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
3277
+ var speciesConstructor = __webpack_require__(166);
3278
+
3279
+ module.exports = function(original, length){
3280
+ return new (speciesConstructor(original))(length);
3281
+ };
3282
+
3283
+ /***/ },
3284
+ /* 166 */
3285
+ /***/ function(module, exports, __webpack_require__) {
3286
+
3287
+ var isObject = __webpack_require__(11)
3288
+ , isArray = __webpack_require__(43)
3289
+ , SPECIES = __webpack_require__(23)('species');
3290
+
3291
+ module.exports = function(original){
3292
+ var C;
3293
+ if(isArray(original)){
3294
+ C = original.constructor;
3295
+ // cross-realm fallback
3296
+ if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;
3297
+ if(isObject(C)){
3298
+ C = C[SPECIES];
3299
+ if(C === null)C = undefined;
3300
+ }
3301
+ } return C === undefined ? Array : C;
3302
+ };
3303
+
3304
+ /***/ },
3305
+ /* 167 */
3306
+ /***/ function(module, exports, __webpack_require__) {
3307
+
3308
+ 'use strict';
3309
+ var $export = __webpack_require__(6)
3310
+ , $map = __webpack_require__(164)(1);
3311
+
3312
+ $export($export.P + $export.F * !__webpack_require__(160)([].map, true), 'Array', {
3313
+ // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
3314
+ map: function map(callbackfn /* , thisArg */){
3315
+ return $map(this, callbackfn, arguments[1]);
3316
+ }
3317
+ });
3318
+
3319
+ /***/ },
3320
+ /* 168 */
3321
+ /***/ function(module, exports, __webpack_require__) {
3322
+
3323
+ 'use strict';
3324
+ var $export = __webpack_require__(6)
3325
+ , $filter = __webpack_require__(164)(2);
3326
+
3327
+ $export($export.P + $export.F * !__webpack_require__(160)([].filter, true), 'Array', {
3328
+ // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
3329
+ filter: function filter(callbackfn /* , thisArg */){
3330
+ return $filter(this, callbackfn, arguments[1]);
3331
+ }
3332
+ });
3333
+
3334
+ /***/ },
3335
+ /* 169 */
3336
+ /***/ function(module, exports, __webpack_require__) {
3337
+
3338
+ 'use strict';
3339
+ var $export = __webpack_require__(6)
3340
+ , $some = __webpack_require__(164)(3);
3341
+
3342
+ $export($export.P + $export.F * !__webpack_require__(160)([].some, true), 'Array', {
3343
+ // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
3344
+ some: function some(callbackfn /* , thisArg */){
3345
+ return $some(this, callbackfn, arguments[1]);
3346
+ }
3347
+ });
3348
+
3349
+ /***/ },
3350
+ /* 170 */
3351
+ /***/ function(module, exports, __webpack_require__) {
3352
+
3353
+ 'use strict';
3354
+ var $export = __webpack_require__(6)
3355
+ , $every = __webpack_require__(164)(4);
3356
+
3357
+ $export($export.P + $export.F * !__webpack_require__(160)([].every, true), 'Array', {
3358
+ // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
3359
+ every: function every(callbackfn /* , thisArg */){
3360
+ return $every(this, callbackfn, arguments[1]);
3361
+ }
3362
+ });
3363
+
3364
+ /***/ },
3365
+ /* 171 */
3366
+ /***/ function(module, exports, __webpack_require__) {
3367
+
3368
+ 'use strict';
3369
+ var $export = __webpack_require__(6)
3370
+ , $reduce = __webpack_require__(172);
3371
+
3372
+ $export($export.P + $export.F * !__webpack_require__(160)([].reduce, true), 'Array', {
3373
+ // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
3374
+ reduce: function reduce(callbackfn /* , initialValue */){
3375
+ return $reduce(this, callbackfn, arguments.length, arguments[1], false);
3376
+ }
3377
+ });
3378
+
3379
+ /***/ },
3380
+ /* 172 */
3381
+ /***/ function(module, exports, __webpack_require__) {
3382
+
3383
+ var aFunction = __webpack_require__(19)
3384
+ , toObject = __webpack_require__(56)
3385
+ , IObject = __webpack_require__(31)
3386
+ , toLength = __webpack_require__(35);
3387
+
3388
+ module.exports = function(that, callbackfn, aLen, memo, isRight){
3389
+ aFunction(callbackfn);
3390
+ var O = toObject(that)
3391
+ , self = IObject(O)
3392
+ , length = toLength(O.length)
3393
+ , index = isRight ? length - 1 : 0
3394
+ , i = isRight ? -1 : 1;
3395
+ if(aLen < 2)for(;;){
3396
+ if(index in self){
3397
+ memo = self[index];
3398
+ index += i;
3399
+ break;
3400
+ }
3401
+ index += i;
3402
+ if(isRight ? index < 0 : length <= index){
3403
+ throw TypeError('Reduce of empty array with no initial value');
3404
+ }
3405
+ }
3406
+ for(;isRight ? index >= 0 : length > index; index += i)if(index in self){
3407
+ memo = callbackfn(memo, self[index], index, O);
3408
+ }
3409
+ return memo;
3410
+ };
3411
+
3412
+ /***/ },
3413
+ /* 173 */
3414
+ /***/ function(module, exports, __webpack_require__) {
3415
+
3416
+ 'use strict';
3417
+ var $export = __webpack_require__(6)
3418
+ , $reduce = __webpack_require__(172);
3419
+
3420
+ $export($export.P + $export.F * !__webpack_require__(160)([].reduceRight, true), 'Array', {
3421
+ // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
3422
+ reduceRight: function reduceRight(callbackfn /* , initialValue */){
3423
+ return $reduce(this, callbackfn, arguments.length, arguments[1], true);
3424
+ }
3425
+ });
3426
+
3427
+ /***/ },
3428
+ /* 174 */
3429
+ /***/ function(module, exports, __webpack_require__) {
3430
+
3431
+ 'use strict';
3432
+ var $export = __webpack_require__(6)
3433
+ , $indexOf = __webpack_require__(34)(false)
3434
+ , $native = [].indexOf
3435
+ , NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;
3436
+
3437
+ $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(160)($native)), 'Array', {
3438
+ // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
3439
+ indexOf: function indexOf(searchElement /*, fromIndex = 0 */){
3440
+ return NEGATIVE_ZERO
3441
+ // convert -0 to +0
3442
+ ? $native.apply(this, arguments) || 0
3443
+ : $indexOf(this, searchElement, arguments[1]);
3444
+ }
3445
+ });
3446
+
3447
+ /***/ },
3448
+ /* 175 */
3449
+ /***/ function(module, exports, __webpack_require__) {
3450
+
3451
+ 'use strict';
3452
+ var $export = __webpack_require__(6)
3453
+ , toIObject = __webpack_require__(30)
3454
+ , toInteger = __webpack_require__(36)
3455
+ , toLength = __webpack_require__(35)
3456
+ , $native = [].lastIndexOf
3457
+ , NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;
3458
+
3459
+ $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(160)($native)), 'Array', {
3460
+ // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
3461
+ lastIndexOf: function lastIndexOf(searchElement /*, fromIndex = @[*-1] */){
3462
+ // convert -0 to +0
3463
+ if(NEGATIVE_ZERO)return $native.apply(this, arguments) || 0;
3464
+ var O = toIObject(this)
3465
+ , length = toLength(O.length)
3466
+ , index = length - 1;
3467
+ if(arguments.length > 1)index = Math.min(index, toInteger(arguments[1]));
3468
+ if(index < 0)index = length + index;
3469
+ for(;index >= 0; index--)if(index in O)if(O[index] === searchElement)return index || 0;
3470
+ return -1;
3471
+ }
3472
+ });
3473
+
3474
+ /***/ },
3475
+ /* 176 */
3476
+ /***/ function(module, exports, __webpack_require__) {
3477
+
3478
+ // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
3479
+ var $export = __webpack_require__(6);
3480
+
3481
+ $export($export.P, 'Array', {copyWithin: __webpack_require__(177)});
3482
+
3483
+ __webpack_require__(178)('copyWithin');
3484
+
3485
+ /***/ },
3486
+ /* 177 */
3487
+ /***/ function(module, exports, __webpack_require__) {
3488
+
3489
+ // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
3490
+ 'use strict';
3491
+ var toObject = __webpack_require__(56)
3492
+ , toIndex = __webpack_require__(37)
3493
+ , toLength = __webpack_require__(35);
3494
+
3495
+ module.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){
3496
+ var O = toObject(this)
3497
+ , len = toLength(O.length)
3498
+ , to = toIndex(target, len)
3499
+ , from = toIndex(start, len)
3500
+ , end = arguments.length > 2 ? arguments[2] : undefined
3501
+ , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)
3502
+ , inc = 1;
3503
+ if(from < to && to < from + count){
3504
+ inc = -1;
3505
+ from += count - 1;
3506
+ to += count - 1;
3507
+ }
3508
+ while(count-- > 0){
3509
+ if(from in O)O[to] = O[from];
3510
+ else delete O[to];
3511
+ to += inc;
3512
+ from += inc;
3513
+ } return O;
3514
+ };
3515
+
3516
+ /***/ },
3517
+ /* 178 */
3518
+ /***/ function(module, exports, __webpack_require__) {
3519
+
3520
+ // 22.1.3.31 Array.prototype[@@unscopables]
3521
+ var UNSCOPABLES = __webpack_require__(23)('unscopables')
3522
+ , ArrayProto = Array.prototype;
3523
+ if(ArrayProto[UNSCOPABLES] == undefined)__webpack_require__(8)(ArrayProto, UNSCOPABLES, {});
3524
+ module.exports = function(key){
3525
+ ArrayProto[UNSCOPABLES][key] = true;
3526
+ };
3527
+
3528
+ /***/ },
3529
+ /* 179 */
3530
+ /***/ function(module, exports, __webpack_require__) {
3531
+
3532
+ // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
3533
+ var $export = __webpack_require__(6);
3534
+
3535
+ $export($export.P, 'Array', {fill: __webpack_require__(180)});
3536
+
3537
+ __webpack_require__(178)('fill');
3538
+
3539
+ /***/ },
3540
+ /* 180 */
3541
+ /***/ function(module, exports, __webpack_require__) {
3542
+
3543
+ // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
3544
+ 'use strict';
3545
+ var toObject = __webpack_require__(56)
3546
+ , toIndex = __webpack_require__(37)
3547
+ , toLength = __webpack_require__(35);
3548
+ module.exports = function fill(value /*, start = 0, end = @length */){
3549
+ var O = toObject(this)
3550
+ , length = toLength(O.length)
3551
+ , aLen = arguments.length
3552
+ , index = toIndex(aLen > 1 ? arguments[1] : undefined, length)
3553
+ , end = aLen > 2 ? arguments[2] : undefined
3554
+ , endPos = end === undefined ? length : toIndex(end, length);
3555
+ while(endPos > index)O[index++] = value;
3556
+ return O;
3557
+ };
3558
+
3559
+ /***/ },
3560
+ /* 181 */
3561
+ /***/ function(module, exports, __webpack_require__) {
3562
+
3563
+ 'use strict';
3564
+ // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
3565
+ var $export = __webpack_require__(6)
3566
+ , $find = __webpack_require__(164)(5)
3567
+ , KEY = 'find'
3568
+ , forced = true;
3569
+ // Shouldn't skip holes
3570
+ if(KEY in [])Array(1)[KEY](function(){ forced = false; });
3571
+ $export($export.P + $export.F * forced, 'Array', {
3572
+ find: function find(callbackfn/*, that = undefined */){
3573
+ return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3574
+ }
3575
+ });
3576
+ __webpack_require__(178)(KEY);
3577
+
3578
+ /***/ },
3579
+ /* 182 */
3580
+ /***/ function(module, exports, __webpack_require__) {
3581
+
3582
+ 'use strict';
3583
+ // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
3584
+ var $export = __webpack_require__(6)
3585
+ , $find = __webpack_require__(164)(6)
3586
+ , KEY = 'findIndex'
3587
+ , forced = true;
3588
+ // Shouldn't skip holes
3589
+ if(KEY in [])Array(1)[KEY](function(){ forced = false; });
3590
+ $export($export.P + $export.F * forced, 'Array', {
3591
+ findIndex: function findIndex(callbackfn/*, that = undefined */){
3592
+ return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3593
+ }
3594
+ });
3595
+ __webpack_require__(178)(KEY);
3596
+
3597
+ /***/ },
3598
+ /* 183 */
3599
+ /***/ function(module, exports, __webpack_require__) {
3600
+
3601
+ 'use strict';
3602
+ var addToUnscopables = __webpack_require__(178)
3603
+ , step = __webpack_require__(184)
3604
+ , Iterators = __webpack_require__(135)
3605
+ , toIObject = __webpack_require__(30);
3606
+
3607
+ // 22.1.3.4 Array.prototype.entries()
3608
+ // 22.1.3.13 Array.prototype.keys()
3609
+ // 22.1.3.29 Array.prototype.values()
3610
+ // 22.1.3.30 Array.prototype[@@iterator]()
3611
+ module.exports = __webpack_require__(134)(Array, 'Array', function(iterated, kind){
3612
+ this._t = toIObject(iterated); // target
3613
+ this._i = 0; // next index
3614
+ this._k = kind; // kind
3615
+ // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
3616
+ }, function(){
3617
+ var O = this._t
3618
+ , kind = this._k
3619
+ , index = this._i++;
3620
+ if(!O || index >= O.length){
3621
+ this._t = undefined;
3622
+ return step(1);
3623
+ }
3624
+ if(kind == 'keys' )return step(0, index);
3625
+ if(kind == 'values')return step(0, O[index]);
3626
+ return step(0, [index, O[index]]);
3627
+ }, 'values');
3628
+
3629
+ // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
3630
+ Iterators.Arguments = Iterators.Array;
3631
+
3632
+ addToUnscopables('keys');
3633
+ addToUnscopables('values');
3634
+ addToUnscopables('entries');
3635
+
3636
+ /***/ },
3637
+ /* 184 */
3638
+ /***/ function(module, exports) {
3639
+
3640
+ module.exports = function(done, value){
3641
+ return {value: value, done: !!done};
3642
+ };
3643
+
3644
+ /***/ },
3645
+ /* 185 */
3646
+ /***/ function(module, exports, __webpack_require__) {
3647
+
3648
+ __webpack_require__(186)('Array');
3649
+
3650
+ /***/ },
3651
+ /* 186 */
3652
+ /***/ function(module, exports, __webpack_require__) {
3653
+
3654
+ 'use strict';
3655
+ var global = __webpack_require__(2)
3656
+ , dP = __webpack_require__(9)
3657
+ , DESCRIPTORS = __webpack_require__(4)
3658
+ , SPECIES = __webpack_require__(23)('species');
3659
+
3660
+ module.exports = function(KEY){
3661
+ var C = global[KEY];
3662
+ if(DESCRIPTORS && C && !C[SPECIES])dP.f(C, SPECIES, {
3663
+ configurable: true,
3664
+ get: function(){ return this; }
3665
+ });
3666
+ };
3667
+
3668
+ /***/ },
3669
+ /* 187 */
3670
+ /***/ function(module, exports, __webpack_require__) {
3671
+
3672
+ var global = __webpack_require__(2)
3673
+ , inheritIfRequired = __webpack_require__(80)
3674
+ , dP = __webpack_require__(9).f
3675
+ , gOPN = __webpack_require__(48).f
3676
+ , isRegExp = __webpack_require__(128)
3677
+ , $flags = __webpack_require__(188)
3678
+ , $RegExp = global.RegExp
3679
+ , Base = $RegExp
3680
+ , proto = $RegExp.prototype
3681
+ , re1 = /a/g
3682
+ , re2 = /a/g
3683
+ // "new" creates a new object, old webkit buggy here
3684
+ , CORRECT_NEW = new $RegExp(re1) !== re1;
3685
+
3686
+ if(__webpack_require__(4) && (!CORRECT_NEW || __webpack_require__(5)(function(){
3687
+ re2[__webpack_require__(23)('match')] = false;
3688
+ // RegExp constructor can alter flags and IsRegExp works correct with @@match
3689
+ return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
3690
+ }))){
3691
+ $RegExp = function RegExp(p, f){
3692
+ var tiRE = this instanceof $RegExp
3693
+ , piRE = isRegExp(p)
3694
+ , fiU = f === undefined;
3695
+ return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
3696
+ : inheritIfRequired(CORRECT_NEW
3697
+ ? new Base(piRE && !fiU ? p.source : p, f)
3698
+ : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
3699
+ , tiRE ? this : proto, $RegExp);
3700
+ };
3701
+ var proxy = function(key){
3702
+ key in $RegExp || dP($RegExp, key, {
3703
+ configurable: true,
3704
+ get: function(){ return Base[key]; },
3705
+ set: function(it){ Base[key] = it; }
3706
+ });
3707
+ };
3708
+ for(var keys = gOPN(Base), i = 0; keys.length > i; )proxy(keys[i++]);
3709
+ proto.constructor = $RegExp;
3710
+ $RegExp.prototype = proto;
3711
+ __webpack_require__(16)(global, 'RegExp', $RegExp);
3712
+ }
3713
+
3714
+ __webpack_require__(186)('RegExp');
3715
+
3716
+ /***/ },
3717
+ /* 188 */
3718
+ /***/ function(module, exports, __webpack_require__) {
3719
+
3720
+ 'use strict';
3721
+ // 21.2.5.3 get RegExp.prototype.flags
3722
+ var anObject = __webpack_require__(10);
3723
+ module.exports = function(){
3724
+ var that = anObject(this)
3725
+ , result = '';
3726
+ if(that.global) result += 'g';
3727
+ if(that.ignoreCase) result += 'i';
3728
+ if(that.multiline) result += 'm';
3729
+ if(that.unicode) result += 'u';
3730
+ if(that.sticky) result += 'y';
3731
+ return result;
3732
+ };
3733
+
3734
+ /***/ },
3735
+ /* 189 */
3736
+ /***/ function(module, exports, __webpack_require__) {
3737
+
3738
+ 'use strict';
3739
+ __webpack_require__(190);
3740
+ var anObject = __webpack_require__(10)
3741
+ , $flags = __webpack_require__(188)
3742
+ , DESCRIPTORS = __webpack_require__(4)
3743
+ , TO_STRING = 'toString'
3744
+ , $toString = /./[TO_STRING];
3745
+
3746
+ var define = function(fn){
3747
+ __webpack_require__(16)(RegExp.prototype, TO_STRING, fn, true);
3748
+ };
3749
+
3750
+ // 21.2.5.14 RegExp.prototype.toString()
3751
+ if(__webpack_require__(5)(function(){ return $toString.call({source: 'a', flags: 'b'}) != '/a/b'; })){
3752
+ define(function toString(){
3753
+ var R = anObject(this);
3754
+ return '/'.concat(R.source, '/',
3755
+ 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
3756
+ });
3757
+ // FF44- RegExp#toString has a wrong name
3758
+ } else if($toString.name != TO_STRING){
3759
+ define(function toString(){
3760
+ return $toString.call(this);
3761
+ });
3762
+ }
3763
+
3764
+ /***/ },
3765
+ /* 190 */
3766
+ /***/ function(module, exports, __webpack_require__) {
3767
+
3768
+ // 21.2.5.3 get RegExp.prototype.flags()
3769
+ if(__webpack_require__(4) && /./g.flags != 'g')__webpack_require__(9).f(RegExp.prototype, 'flags', {
3770
+ configurable: true,
3771
+ get: __webpack_require__(188)
3772
+ });
3773
+
3774
+ /***/ },
3775
+ /* 191 */
3776
+ /***/ function(module, exports, __webpack_require__) {
3777
+
3778
+ // @@match logic
3779
+ __webpack_require__(192)('match', 1, function(defined, MATCH, $match){
3780
+ // 21.1.3.11 String.prototype.match(regexp)
3781
+ return [function match(regexp){
3782
+ 'use strict';
3783
+ var O = defined(this)
3784
+ , fn = regexp == undefined ? undefined : regexp[MATCH];
3785
+ return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
3786
+ }, $match];
3787
+ });
3788
+
3789
+ /***/ },
3790
+ /* 192 */
3791
+ /***/ function(module, exports, __webpack_require__) {
3792
+
3793
+ 'use strict';
3794
+ var hide = __webpack_require__(8)
3795
+ , redefine = __webpack_require__(16)
3796
+ , fails = __webpack_require__(5)
3797
+ , defined = __webpack_require__(33)
3798
+ , wks = __webpack_require__(23);
3799
+
3800
+ module.exports = function(KEY, length, exec){
3801
+ var SYMBOL = wks(KEY)
3802
+ , fns = exec(defined, SYMBOL, ''[KEY])
3803
+ , strfn = fns[0]
3804
+ , rxfn = fns[1];
3805
+ if(fails(function(){
3806
+ var O = {};
3807
+ O[SYMBOL] = function(){ return 7; };
3808
+ return ''[KEY](O) != 7;
3809
+ })){
3810
+ redefine(String.prototype, KEY, strfn);
3811
+ hide(RegExp.prototype, SYMBOL, length == 2
3812
+ // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
3813
+ // 21.2.5.11 RegExp.prototype[@@split](string, limit)
3814
+ ? function(string, arg){ return rxfn.call(string, this, arg); }
3815
+ // 21.2.5.6 RegExp.prototype[@@match](string)
3816
+ // 21.2.5.9 RegExp.prototype[@@search](string)
3817
+ : function(string){ return rxfn.call(string, this); }
3818
+ );
3819
+ }
3820
+ };
3821
+
3822
+ /***/ },
3823
+ /* 193 */
3824
+ /***/ function(module, exports, __webpack_require__) {
3825
+
3826
+ // @@replace logic
3827
+ __webpack_require__(192)('replace', 2, function(defined, REPLACE, $replace){
3828
+ // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)
3829
+ return [function replace(searchValue, replaceValue){
3830
+ 'use strict';
3831
+ var O = defined(this)
3832
+ , fn = searchValue == undefined ? undefined : searchValue[REPLACE];
3833
+ return fn !== undefined
3834
+ ? fn.call(searchValue, O, replaceValue)
3835
+ : $replace.call(String(O), searchValue, replaceValue);
3836
+ }, $replace];
3837
+ });
3838
+
3839
+ /***/ },
3840
+ /* 194 */
3841
+ /***/ function(module, exports, __webpack_require__) {
3842
+
3843
+ // @@search logic
3844
+ __webpack_require__(192)('search', 1, function(defined, SEARCH, $search){
3845
+ // 21.1.3.15 String.prototype.search(regexp)
3846
+ return [function search(regexp){
3847
+ 'use strict';
3848
+ var O = defined(this)
3849
+ , fn = regexp == undefined ? undefined : regexp[SEARCH];
3850
+ return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
3851
+ }, $search];
3852
+ });
3853
+
3854
+ /***/ },
3855
+ /* 195 */
3856
+ /***/ function(module, exports, __webpack_require__) {
3857
+
3858
+ // @@split logic
3859
+ __webpack_require__(192)('split', 2, function(defined, SPLIT, $split){
3860
+ 'use strict';
3861
+ var isRegExp = __webpack_require__(128)
3862
+ , _split = $split
3863
+ , $push = [].push
3864
+ , $SPLIT = 'split'
3865
+ , LENGTH = 'length'
3866
+ , LAST_INDEX = 'lastIndex';
3867
+ if(
3868
+ 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
3869
+ 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
3870
+ 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
3871
+ '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
3872
+ '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
3873
+ ''[$SPLIT](/.?/)[LENGTH]
3874
+ ){
3875
+ var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group
3876
+ // based on es5-shim implementation, need to rework it
3877
+ $split = function(separator, limit){
3878
+ var string = String(this);
3879
+ if(separator === undefined && limit === 0)return [];
3880
+ // If `separator` is not a regex, use native split
3881
+ if(!isRegExp(separator))return _split.call(string, separator, limit);
3882
+ var output = [];
3883
+ var flags = (separator.ignoreCase ? 'i' : '') +
3884
+ (separator.multiline ? 'm' : '') +
3885
+ (separator.unicode ? 'u' : '') +
3886
+ (separator.sticky ? 'y' : '');
3887
+ var lastLastIndex = 0;
3888
+ var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;
3889
+ // Make `global` and avoid `lastIndex` issues by working with a copy
3890
+ var separatorCopy = new RegExp(separator.source, flags + 'g');
3891
+ var separator2, match, lastIndex, lastLength, i;
3892
+ // Doesn't need flags gy, but they don't hurt
3893
+ if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags);
3894
+ while(match = separatorCopy.exec(string)){
3895
+ // `separatorCopy.lastIndex` is not reliable cross-browser
3896
+ lastIndex = match.index + match[0][LENGTH];
3897
+ if(lastIndex > lastLastIndex){
3898
+ output.push(string.slice(lastLastIndex, match.index));
3899
+ // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG
3900
+ if(!NPCG && match[LENGTH] > 1)match[0].replace(separator2, function(){
3901
+ for(i = 1; i < arguments[LENGTH] - 2; i++)if(arguments[i] === undefined)match[i] = undefined;
3902
+ });
3903
+ if(match[LENGTH] > 1 && match.index < string[LENGTH])$push.apply(output, match.slice(1));
3904
+ lastLength = match[0][LENGTH];
3905
+ lastLastIndex = lastIndex;
3906
+ if(output[LENGTH] >= splitLimit)break;
3907
+ }
3908
+ if(separatorCopy[LAST_INDEX] === match.index)separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
3909
+ }
3910
+ if(lastLastIndex === string[LENGTH]){
3911
+ if(lastLength || !separatorCopy.test(''))output.push('');
3912
+ } else output.push(string.slice(lastLastIndex));
3913
+ return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
3914
+ };
3915
+ // Chakra, V8
3916
+ } else if('0'[$SPLIT](undefined, 0)[LENGTH]){
3917
+ $split = function(separator, limit){
3918
+ return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);
3919
+ };
3920
+ }
3921
+ // 21.1.3.17 String.prototype.split(separator, limit)
3922
+ return [function split(separator, limit){
3923
+ var O = defined(this)
3924
+ , fn = separator == undefined ? undefined : separator[SPLIT];
3925
+ return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);
3926
+ }, $split];
3927
+ });
3928
+
3929
+ /***/ },
3930
+ /* 196 */
3931
+ /***/ function(module, exports, __webpack_require__) {
3932
+
3933
+ 'use strict';
3934
+ var LIBRARY = __webpack_require__(26)
3935
+ , global = __webpack_require__(2)
3936
+ , ctx = __webpack_require__(18)
3937
+ , classof = __webpack_require__(73)
3938
+ , $export = __webpack_require__(6)
3939
+ , isObject = __webpack_require__(11)
3940
+ , aFunction = __webpack_require__(19)
3941
+ , anInstance = __webpack_require__(197)
3942
+ , forOf = __webpack_require__(198)
3943
+ , speciesConstructor = __webpack_require__(199)
3944
+ , task = __webpack_require__(200).set
3945
+ , microtask = __webpack_require__(201)()
3946
+ , PROMISE = 'Promise'
3947
+ , TypeError = global.TypeError
3948
+ , process = global.process
3949
+ , $Promise = global[PROMISE]
3950
+ , process = global.process
3951
+ , isNode = classof(process) == 'process'
3952
+ , empty = function(){ /* empty */ }
3953
+ , Internal, GenericPromiseCapability, Wrapper;
3954
+
3955
+ var USE_NATIVE = !!function(){
3956
+ try {
3957
+ // correct subclassing with @@species support
3958
+ var promise = $Promise.resolve(1)
3959
+ , FakePromise = (promise.constructor = {})[__webpack_require__(23)('species')] = function(exec){ exec(empty, empty); };
3960
+ // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
3961
+ return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise;
3962
+ } catch(e){ /* empty */ }
3963
+ }();
3964
+
3965
+ // helpers
3966
+ var sameConstructor = function(a, b){
3967
+ // with library wrapper special case
3968
+ return a === b || a === $Promise && b === Wrapper;
3969
+ };
3970
+ var isThenable = function(it){
3971
+ var then;
3972
+ return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
3973
+ };
3974
+ var newPromiseCapability = function(C){
3975
+ return sameConstructor($Promise, C)
3976
+ ? new PromiseCapability(C)
3977
+ : new GenericPromiseCapability(C);
3978
+ };
3979
+ var PromiseCapability = GenericPromiseCapability = function(C){
3980
+ var resolve, reject;
3981
+ this.promise = new C(function($$resolve, $$reject){
3982
+ if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');
3983
+ resolve = $$resolve;
3984
+ reject = $$reject;
3985
+ });
3986
+ this.resolve = aFunction(resolve);
3987
+ this.reject = aFunction(reject);
3988
+ };
3989
+ var perform = function(exec){
3990
+ try {
3991
+ exec();
3992
+ } catch(e){
3993
+ return {error: e};
3994
+ }
3995
+ };
3996
+ var notify = function(promise, isReject){
3997
+ if(promise._n)return;
3998
+ promise._n = true;
3999
+ var chain = promise._c;
4000
+ microtask(function(){
4001
+ var value = promise._v
4002
+ , ok = promise._s == 1
4003
+ , i = 0;
4004
+ var run = function(reaction){
4005
+ var handler = ok ? reaction.ok : reaction.fail
4006
+ , resolve = reaction.resolve
4007
+ , reject = reaction.reject
4008
+ , domain = reaction.domain
4009
+ , result, then;
4010
+ try {
4011
+ if(handler){
4012
+ if(!ok){
4013
+ if(promise._h == 2)onHandleUnhandled(promise);
4014
+ promise._h = 1;
4015
+ }
4016
+ if(handler === true)result = value;
4017
+ else {
4018
+ if(domain)domain.enter();
4019
+ result = handler(value);
4020
+ if(domain)domain.exit();
4021
+ }
4022
+ if(result === reaction.promise){
4023
+ reject(TypeError('Promise-chain cycle'));
4024
+ } else if(then = isThenable(result)){
4025
+ then.call(result, resolve, reject);
4026
+ } else resolve(result);
4027
+ } else reject(value);
4028
+ } catch(e){
4029
+ reject(e);
4030
+ }
4031
+ };
4032
+ while(chain.length > i)run(chain[i++]); // variable length - can't use forEach
4033
+ promise._c = [];
4034
+ promise._n = false;
4035
+ if(isReject && !promise._h)onUnhandled(promise);
4036
+ });
4037
+ };
4038
+ var onUnhandled = function(promise){
4039
+ task.call(global, function(){
4040
+ var value = promise._v
4041
+ , abrupt, handler, console;
4042
+ if(isUnhandled(promise)){
4043
+ abrupt = perform(function(){
4044
+ if(isNode){
4045
+ process.emit('unhandledRejection', value, promise);
4046
+ } else if(handler = global.onunhandledrejection){
4047
+ handler({promise: promise, reason: value});
4048
+ } else if((console = global.console) && console.error){
4049
+ console.error('Unhandled promise rejection', value);
4050
+ }
4051
+ });
4052
+ // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
4053
+ promise._h = isNode || isUnhandled(promise) ? 2 : 1;
4054
+ } promise._a = undefined;
4055
+ if(abrupt)throw abrupt.error;
4056
+ });
4057
+ };
4058
+ var isUnhandled = function(promise){
4059
+ if(promise._h == 1)return false;
4060
+ var chain = promise._a || promise._c
4061
+ , i = 0
4062
+ , reaction;
4063
+ while(chain.length > i){
4064
+ reaction = chain[i++];
4065
+ if(reaction.fail || !isUnhandled(reaction.promise))return false;
4066
+ } return true;
4067
+ };
4068
+ var onHandleUnhandled = function(promise){
4069
+ task.call(global, function(){
4070
+ var handler;
4071
+ if(isNode){
4072
+ process.emit('rejectionHandled', promise);
4073
+ } else if(handler = global.onrejectionhandled){
4074
+ handler({promise: promise, reason: promise._v});
4075
+ }
4076
+ });
4077
+ };
4078
+ var $reject = function(value){
4079
+ var promise = this;
4080
+ if(promise._d)return;
4081
+ promise._d = true;
4082
+ promise = promise._w || promise; // unwrap
4083
+ promise._v = value;
4084
+ promise._s = 2;
4085
+ if(!promise._a)promise._a = promise._c.slice();
4086
+ notify(promise, true);
4087
+ };
4088
+ var $resolve = function(value){
4089
+ var promise = this
4090
+ , then;
4091
+ if(promise._d)return;
4092
+ promise._d = true;
4093
+ promise = promise._w || promise; // unwrap
4094
+ try {
4095
+ if(promise === value)throw TypeError("Promise can't be resolved itself");
4096
+ if(then = isThenable(value)){
4097
+ microtask(function(){
4098
+ var wrapper = {_w: promise, _d: false}; // wrap
4099
+ try {
4100
+ then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
4101
+ } catch(e){
4102
+ $reject.call(wrapper, e);
4103
+ }
4104
+ });
4105
+ } else {
4106
+ promise._v = value;
4107
+ promise._s = 1;
4108
+ notify(promise, false);
4109
+ }
4110
+ } catch(e){
4111
+ $reject.call({_w: promise, _d: false}, e); // wrap
4112
+ }
4113
+ };
4114
+
4115
+ // constructor polyfill
4116
+ if(!USE_NATIVE){
4117
+ // 25.4.3.1 Promise(executor)
4118
+ $Promise = function Promise(executor){
4119
+ anInstance(this, $Promise, PROMISE, '_h');
4120
+ aFunction(executor);
4121
+ Internal.call(this);
4122
+ try {
4123
+ executor(ctx($resolve, this, 1), ctx($reject, this, 1));
4124
+ } catch(err){
4125
+ $reject.call(this, err);
4126
+ }
4127
+ };
4128
+ Internal = function Promise(executor){
4129
+ this._c = []; // <- awaiting reactions
4130
+ this._a = undefined; // <- checked in isUnhandled reactions
4131
+ this._s = 0; // <- state
4132
+ this._d = false; // <- done
4133
+ this._v = undefined; // <- value
4134
+ this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
4135
+ this._n = false; // <- notify
4136
+ };
4137
+ Internal.prototype = __webpack_require__(202)($Promise.prototype, {
4138
+ // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
4139
+ then: function then(onFulfilled, onRejected){
4140
+ var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
4141
+ reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
4142
+ reaction.fail = typeof onRejected == 'function' && onRejected;
4143
+ reaction.domain = isNode ? process.domain : undefined;
4144
+ this._c.push(reaction);
4145
+ if(this._a)this._a.push(reaction);
4146
+ if(this._s)notify(this, false);
4147
+ return reaction.promise;
4148
+ },
4149
+ // 25.4.5.1 Promise.prototype.catch(onRejected)
4150
+ 'catch': function(onRejected){
4151
+ return this.then(undefined, onRejected);
4152
+ }
4153
+ });
4154
+ PromiseCapability = function(){
4155
+ var promise = new Internal;
4156
+ this.promise = promise;
4157
+ this.resolve = ctx($resolve, promise, 1);
4158
+ this.reject = ctx($reject, promise, 1);
4159
+ };
4160
+ }
4161
+
4162
+ $export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: $Promise});
4163
+ __webpack_require__(22)($Promise, PROMISE);
4164
+ __webpack_require__(186)(PROMISE);
4165
+ Wrapper = __webpack_require__(7)[PROMISE];
4166
+
4167
+ // statics
4168
+ $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
4169
+ // 25.4.4.5 Promise.reject(r)
4170
+ reject: function reject(r){
4171
+ var capability = newPromiseCapability(this)
4172
+ , $$reject = capability.reject;
4173
+ $$reject(r);
4174
+ return capability.promise;
4175
+ }
4176
+ });
4177
+ $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
4178
+ // 25.4.4.6 Promise.resolve(x)
4179
+ resolve: function resolve(x){
4180
+ // instanceof instead of internal slot check because we should fix it without replacement native Promise core
4181
+ if(x instanceof $Promise && sameConstructor(x.constructor, this))return x;
4182
+ var capability = newPromiseCapability(this)
4183
+ , $$resolve = capability.resolve;
4184
+ $$resolve(x);
4185
+ return capability.promise;
4186
+ }
4187
+ });
4188
+ $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(157)(function(iter){
4189
+ $Promise.all(iter)['catch'](empty);
4190
+ })), PROMISE, {
4191
+ // 25.4.4.1 Promise.all(iterable)
4192
+ all: function all(iterable){
4193
+ var C = this
4194
+ , capability = newPromiseCapability(C)
4195
+ , resolve = capability.resolve
4196
+ , reject = capability.reject;
4197
+ var abrupt = perform(function(){
4198
+ var values = []
4199
+ , index = 0
4200
+ , remaining = 1;
4201
+ forOf(iterable, false, function(promise){
4202
+ var $index = index++
4203
+ , alreadyCalled = false;
4204
+ values.push(undefined);
4205
+ remaining++;
4206
+ C.resolve(promise).then(function(value){
4207
+ if(alreadyCalled)return;
4208
+ alreadyCalled = true;
4209
+ values[$index] = value;
4210
+ --remaining || resolve(values);
4211
+ }, reject);
4212
+ });
4213
+ --remaining || resolve(values);
4214
+ });
4215
+ if(abrupt)reject(abrupt.error);
4216
+ return capability.promise;
4217
+ },
4218
+ // 25.4.4.4 Promise.race(iterable)
4219
+ race: function race(iterable){
4220
+ var C = this
4221
+ , capability = newPromiseCapability(C)
4222
+ , reject = capability.reject;
4223
+ var abrupt = perform(function(){
4224
+ forOf(iterable, false, function(promise){
4225
+ C.resolve(promise).then(capability.resolve, reject);
4226
+ });
4227
+ });
4228
+ if(abrupt)reject(abrupt.error);
4229
+ return capability.promise;
4230
+ }
4231
+ });
4232
+
4233
+ /***/ },
4234
+ /* 197 */
4235
+ /***/ function(module, exports) {
4236
+
4237
+ module.exports = function(it, Constructor, name, forbiddenField){
4238
+ if(!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)){
4239
+ throw TypeError(name + ': incorrect invocation!');
4240
+ } return it;
4241
+ };
4242
+
4243
+ /***/ },
4244
+ /* 198 */
4245
+ /***/ function(module, exports, __webpack_require__) {
4246
+
4247
+ var ctx = __webpack_require__(18)
4248
+ , call = __webpack_require__(153)
4249
+ , isArrayIter = __webpack_require__(154)
4250
+ , anObject = __webpack_require__(10)
4251
+ , toLength = __webpack_require__(35)
4252
+ , getIterFn = __webpack_require__(156)
4253
+ , BREAK = {}
4254
+ , RETURN = {};
4255
+ var exports = module.exports = function(iterable, entries, fn, that, ITERATOR){
4256
+ var iterFn = ITERATOR ? function(){ return iterable; } : getIterFn(iterable)
4257
+ , f = ctx(fn, that, entries ? 2 : 1)
4258
+ , index = 0
4259
+ , length, step, iterator, result;
4260
+ if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');
4261
+ // fast case for arrays with default iterator
4262
+ if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){
4263
+ result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
4264
+ if(result === BREAK || result === RETURN)return result;
4265
+ } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){
4266
+ result = call(iterator, f, step.value, entries);
4267
+ if(result === BREAK || result === RETURN)return result;
4268
+ }
4269
+ };
4270
+ exports.BREAK = BREAK;
4271
+ exports.RETURN = RETURN;
4272
+
4273
+ /***/ },
4274
+ /* 199 */
4275
+ /***/ function(module, exports, __webpack_require__) {
4276
+
4277
+ // 7.3.20 SpeciesConstructor(O, defaultConstructor)
4278
+ var anObject = __webpack_require__(10)
4279
+ , aFunction = __webpack_require__(19)
4280
+ , SPECIES = __webpack_require__(23)('species');
4281
+ module.exports = function(O, D){
4282
+ var C = anObject(O).constructor, S;
4283
+ return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
4284
+ };
4285
+
4286
+ /***/ },
4287
+ /* 200 */
4288
+ /***/ function(module, exports, __webpack_require__) {
4289
+
4290
+ var ctx = __webpack_require__(18)
4291
+ , invoke = __webpack_require__(76)
4292
+ , html = __webpack_require__(46)
4293
+ , cel = __webpack_require__(13)
4294
+ , global = __webpack_require__(2)
4295
+ , process = global.process
4296
+ , setTask = global.setImmediate
4297
+ , clearTask = global.clearImmediate
4298
+ , MessageChannel = global.MessageChannel
4299
+ , counter = 0
4300
+ , queue = {}
4301
+ , ONREADYSTATECHANGE = 'onreadystatechange'
4302
+ , defer, channel, port;
4303
+ var run = function(){
4304
+ var id = +this;
4305
+ if(queue.hasOwnProperty(id)){
4306
+ var fn = queue[id];
4307
+ delete queue[id];
4308
+ fn();
4309
+ }
4310
+ };
4311
+ var listener = function(event){
4312
+ run.call(event.data);
4313
+ };
4314
+ // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
4315
+ if(!setTask || !clearTask){
4316
+ setTask = function setImmediate(fn){
4317
+ var args = [], i = 1;
4318
+ while(arguments.length > i)args.push(arguments[i++]);
4319
+ queue[++counter] = function(){
4320
+ invoke(typeof fn == 'function' ? fn : Function(fn), args);
4321
+ };
4322
+ defer(counter);
4323
+ return counter;
4324
+ };
4325
+ clearTask = function clearImmediate(id){
4326
+ delete queue[id];
4327
+ };
4328
+ // Node.js 0.8-
4329
+ if(__webpack_require__(32)(process) == 'process'){
4330
+ defer = function(id){
4331
+ process.nextTick(ctx(run, id, 1));
4332
+ };
4333
+ // Browsers with MessageChannel, includes WebWorkers
4334
+ } else if(MessageChannel){
4335
+ channel = new MessageChannel;
4336
+ port = channel.port2;
4337
+ channel.port1.onmessage = listener;
4338
+ defer = ctx(port.postMessage, port, 1);
4339
+ // Browsers with postMessage, skip WebWorkers
4340
+ // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
4341
+ } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){
4342
+ defer = function(id){
4343
+ global.postMessage(id + '', '*');
4344
+ };
4345
+ global.addEventListener('message', listener, false);
4346
+ // IE8-
4347
+ } else if(ONREADYSTATECHANGE in cel('script')){
4348
+ defer = function(id){
4349
+ html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){
4350
+ html.removeChild(this);
4351
+ run.call(id);
4352
+ };
4353
+ };
4354
+ // Rest old browsers
4355
+ } else {
4356
+ defer = function(id){
4357
+ setTimeout(ctx(run, id, 1), 0);
4358
+ };
4359
+ }
4360
+ }
4361
+ module.exports = {
4362
+ set: setTask,
4363
+ clear: clearTask
4364
+ };
4365
+
4366
+ /***/ },
4367
+ /* 201 */
4368
+ /***/ function(module, exports, __webpack_require__) {
4369
+
4370
+ var global = __webpack_require__(2)
4371
+ , macrotask = __webpack_require__(200).set
4372
+ , Observer = global.MutationObserver || global.WebKitMutationObserver
4373
+ , process = global.process
4374
+ , Promise = global.Promise
4375
+ , isNode = __webpack_require__(32)(process) == 'process';
4376
+
4377
+ module.exports = function(){
4378
+ var head, last, notify;
4379
+
4380
+ var flush = function(){
4381
+ var parent, fn;
4382
+ if(isNode && (parent = process.domain))parent.exit();
4383
+ while(head){
4384
+ fn = head.fn;
4385
+ head = head.next;
4386
+ try {
4387
+ fn();
4388
+ } catch(e){
4389
+ if(head)notify();
4390
+ else last = undefined;
4391
+ throw e;
4392
+ }
4393
+ } last = undefined;
4394
+ if(parent)parent.enter();
4395
+ };
4396
+
4397
+ // Node.js
4398
+ if(isNode){
4399
+ notify = function(){
4400
+ process.nextTick(flush);
4401
+ };
4402
+ // browsers with MutationObserver
4403
+ } else if(Observer){
4404
+ var toggle = true
4405
+ , node = document.createTextNode('');
4406
+ new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new
4407
+ notify = function(){
4408
+ node.data = toggle = !toggle;
4409
+ };
4410
+ // environments with maybe non-completely correct, but existent Promise
4411
+ } else if(Promise && Promise.resolve){
4412
+ var promise = Promise.resolve();
4413
+ notify = function(){
4414
+ promise.then(flush);
4415
+ };
4416
+ // for other environments - macrotask based on:
4417
+ // - setImmediate
4418
+ // - MessageChannel
4419
+ // - window.postMessag
4420
+ // - onreadystatechange
4421
+ // - setTimeout
4422
+ } else {
4423
+ notify = function(){
4424
+ // strange IE + webpack dev server bug - use .call(global)
4425
+ macrotask.call(global, flush);
4426
+ };
4427
+ }
4428
+
4429
+ return function(fn){
4430
+ var task = {fn: fn, next: undefined};
4431
+ if(last)last.next = task;
4432
+ if(!head){
4433
+ head = task;
4434
+ notify();
4435
+ } last = task;
4436
+ };
4437
+ };
4438
+
4439
+ /***/ },
4440
+ /* 202 */
4441
+ /***/ function(module, exports, __webpack_require__) {
4442
+
4443
+ var redefine = __webpack_require__(16);
4444
+ module.exports = function(target, src, safe){
4445
+ for(var key in src)redefine(target, key, src[key], safe);
4446
+ return target;
4447
+ };
4448
+
4449
+ /***/ },
4450
+ /* 203 */
4451
+ /***/ function(module, exports, __webpack_require__) {
4452
+
4453
+ 'use strict';
4454
+ var strong = __webpack_require__(204);
4455
+
4456
+ // 23.1 Map Objects
4457
+ module.exports = __webpack_require__(205)('Map', function(get){
4458
+ return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
4459
+ }, {
4460
+ // 23.1.3.6 Map.prototype.get(key)
4461
+ get: function get(key){
4462
+ var entry = strong.getEntry(this, key);
4463
+ return entry && entry.v;
4464
+ },
4465
+ // 23.1.3.9 Map.prototype.set(key, value)
4466
+ set: function set(key, value){
4467
+ return strong.def(this, key === 0 ? 0 : key, value);
4468
+ }
4469
+ }, strong, true);
4470
+
4471
+ /***/ },
4472
+ /* 204 */
4473
+ /***/ function(module, exports, __webpack_require__) {
4474
+
4475
+ 'use strict';
4476
+ var dP = __webpack_require__(9).f
4477
+ , create = __webpack_require__(44)
4478
+ , redefineAll = __webpack_require__(202)
4479
+ , ctx = __webpack_require__(18)
4480
+ , anInstance = __webpack_require__(197)
4481
+ , defined = __webpack_require__(33)
4482
+ , forOf = __webpack_require__(198)
4483
+ , $iterDefine = __webpack_require__(134)
4484
+ , step = __webpack_require__(184)
4485
+ , setSpecies = __webpack_require__(186)
4486
+ , DESCRIPTORS = __webpack_require__(4)
4487
+ , fastKey = __webpack_require__(20).fastKey
4488
+ , SIZE = DESCRIPTORS ? '_s' : 'size';
4489
+
4490
+ var getEntry = function(that, key){
4491
+ // fast case
4492
+ var index = fastKey(key), entry;
4493
+ if(index !== 'F')return that._i[index];
4494
+ // frozen object case
4495
+ for(entry = that._f; entry; entry = entry.n){
4496
+ if(entry.k == key)return entry;
4497
+ }
4498
+ };
4499
+
4500
+ module.exports = {
4501
+ getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
4502
+ var C = wrapper(function(that, iterable){
4503
+ anInstance(that, C, NAME, '_i');
4504
+ that._i = create(null); // index
4505
+ that._f = undefined; // first entry
4506
+ that._l = undefined; // last entry
4507
+ that[SIZE] = 0; // size
4508
+ if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
4509
+ });
4510
+ redefineAll(C.prototype, {
4511
+ // 23.1.3.1 Map.prototype.clear()
4512
+ // 23.2.3.2 Set.prototype.clear()
4513
+ clear: function clear(){
4514
+ for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){
4515
+ entry.r = true;
4516
+ if(entry.p)entry.p = entry.p.n = undefined;
4517
+ delete data[entry.i];
4518
+ }
4519
+ that._f = that._l = undefined;
4520
+ that[SIZE] = 0;
4521
+ },
4522
+ // 23.1.3.3 Map.prototype.delete(key)
4523
+ // 23.2.3.4 Set.prototype.delete(value)
4524
+ 'delete': function(key){
4525
+ var that = this
4526
+ , entry = getEntry(that, key);
4527
+ if(entry){
4528
+ var next = entry.n
4529
+ , prev = entry.p;
4530
+ delete that._i[entry.i];
4531
+ entry.r = true;
4532
+ if(prev)prev.n = next;
4533
+ if(next)next.p = prev;
4534
+ if(that._f == entry)that._f = next;
4535
+ if(that._l == entry)that._l = prev;
4536
+ that[SIZE]--;
4537
+ } return !!entry;
4538
+ },
4539
+ // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
4540
+ // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
4541
+ forEach: function forEach(callbackfn /*, that = undefined */){
4542
+ anInstance(this, C, 'forEach');
4543
+ var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)
4544
+ , entry;
4545
+ while(entry = entry ? entry.n : this._f){
4546
+ f(entry.v, entry.k, this);
4547
+ // revert to the last existing entry
4548
+ while(entry && entry.r)entry = entry.p;
4549
+ }
4550
+ },
4551
+ // 23.1.3.7 Map.prototype.has(key)
4552
+ // 23.2.3.7 Set.prototype.has(value)
4553
+ has: function has(key){
4554
+ return !!getEntry(this, key);
4555
+ }
4556
+ });
4557
+ if(DESCRIPTORS)dP(C.prototype, 'size', {
4558
+ get: function(){
4559
+ return defined(this[SIZE]);
4560
+ }
4561
+ });
4562
+ return C;
4563
+ },
4564
+ def: function(that, key, value){
4565
+ var entry = getEntry(that, key)
4566
+ , prev, index;
4567
+ // change existing entry
4568
+ if(entry){
4569
+ entry.v = value;
4570
+ // create new entry
4571
+ } else {
4572
+ that._l = entry = {
4573
+ i: index = fastKey(key, true), // <- index
4574
+ k: key, // <- key
4575
+ v: value, // <- value
4576
+ p: prev = that._l, // <- previous entry
4577
+ n: undefined, // <- next entry
4578
+ r: false // <- removed
4579
+ };
4580
+ if(!that._f)that._f = entry;
4581
+ if(prev)prev.n = entry;
4582
+ that[SIZE]++;
4583
+ // add to index
4584
+ if(index !== 'F')that._i[index] = entry;
4585
+ } return that;
4586
+ },
4587
+ getEntry: getEntry,
4588
+ setStrong: function(C, NAME, IS_MAP){
4589
+ // add .keys, .values, .entries, [@@iterator]
4590
+ // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11
4591
+ $iterDefine(C, NAME, function(iterated, kind){
4592
+ this._t = iterated; // target
4593
+ this._k = kind; // kind
4594
+ this._l = undefined; // previous
4595
+ }, function(){
4596
+ var that = this
4597
+ , kind = that._k
4598
+ , entry = that._l;
4599
+ // revert to the last existing entry
4600
+ while(entry && entry.r)entry = entry.p;
4601
+ // get next entry
4602
+ if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){
4603
+ // or finish the iteration
4604
+ that._t = undefined;
4605
+ return step(1);
4606
+ }
4607
+ // return step by kind
4608
+ if(kind == 'keys' )return step(0, entry.k);
4609
+ if(kind == 'values')return step(0, entry.v);
4610
+ return step(0, [entry.k, entry.v]);
4611
+ }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);
4612
+
4613
+ // add [@@species], 23.1.2.2, 23.2.2.2
4614
+ setSpecies(NAME);
4615
+ }
4616
+ };
4617
+
4618
+ /***/ },
4619
+ /* 205 */
4620
+ /***/ function(module, exports, __webpack_require__) {
4621
+
4622
+ 'use strict';
4623
+ var global = __webpack_require__(2)
4624
+ , $export = __webpack_require__(6)
4625
+ , redefine = __webpack_require__(16)
4626
+ , redefineAll = __webpack_require__(202)
4627
+ , meta = __webpack_require__(20)
4628
+ , forOf = __webpack_require__(198)
4629
+ , anInstance = __webpack_require__(197)
4630
+ , isObject = __webpack_require__(11)
4631
+ , fails = __webpack_require__(5)
4632
+ , $iterDetect = __webpack_require__(157)
4633
+ , setToStringTag = __webpack_require__(22)
4634
+ , inheritIfRequired = __webpack_require__(80);
4635
+
4636
+ module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
4637
+ var Base = global[NAME]
4638
+ , C = Base
4639
+ , ADDER = IS_MAP ? 'set' : 'add'
4640
+ , proto = C && C.prototype
4641
+ , O = {};
4642
+ var fixMethod = function(KEY){
4643
+ var fn = proto[KEY];
4644
+ redefine(proto, KEY,
4645
+ KEY == 'delete' ? function(a){
4646
+ return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
4647
+ } : KEY == 'has' ? function has(a){
4648
+ return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
4649
+ } : KEY == 'get' ? function get(a){
4650
+ return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);
4651
+ } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }
4652
+ : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }
4653
+ );
4654
+ };
4655
+ if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){
4656
+ new C().entries().next();
4657
+ }))){
4658
+ // create collection constructor
4659
+ C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
4660
+ redefineAll(C.prototype, methods);
4661
+ meta.NEED = true;
4662
+ } else {
4663
+ var instance = new C
4664
+ // early implementations not supports chaining
4665
+ , HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance
4666
+ // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
4667
+ , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })
4668
+ // most early implementations doesn't supports iterables, most modern - not close it correctly
4669
+ , ACCEPT_ITERABLES = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new
4670
+ // for early implementations -0 and +0 not the same
4671
+ , BUGGY_ZERO = !IS_WEAK && fails(function(){
4672
+ // V8 ~ Chromium 42- fails only with 5+ elements
4673
+ var $instance = new C()
4674
+ , index = 5;
4675
+ while(index--)$instance[ADDER](index, index);
4676
+ return !$instance.has(-0);
4677
+ });
4678
+ if(!ACCEPT_ITERABLES){
4679
+ C = wrapper(function(target, iterable){
4680
+ anInstance(target, C, NAME);
4681
+ var that = inheritIfRequired(new Base, target, C);
4682
+ if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
4683
+ return that;
4684
+ });
4685
+ C.prototype = proto;
4686
+ proto.constructor = C;
4687
+ }
4688
+ if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){
4689
+ fixMethod('delete');
4690
+ fixMethod('has');
4691
+ IS_MAP && fixMethod('get');
4692
+ }
4693
+ if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);
4694
+ // weak collections should not contains .clear method
4695
+ if(IS_WEAK && proto.clear)delete proto.clear;
4696
+ }
4697
+
4698
+ setToStringTag(C, NAME);
4699
+
4700
+ O[NAME] = C;
4701
+ $export($export.G + $export.W + $export.F * (C != Base), O);
4702
+
4703
+ if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);
4704
+
4705
+ return C;
4706
+ };
4707
+
4708
+ /***/ },
4709
+ /* 206 */
4710
+ /***/ function(module, exports, __webpack_require__) {
4711
+
4712
+ 'use strict';
4713
+ var strong = __webpack_require__(204);
4714
+
4715
+ // 23.2 Set Objects
4716
+ module.exports = __webpack_require__(205)('Set', function(get){
4717
+ return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
4718
+ }, {
4719
+ // 23.2.3.1 Set.prototype.add(value)
4720
+ add: function add(value){
4721
+ return strong.def(this, value = value === 0 ? 0 : value, value);
4722
+ }
4723
+ }, strong);
4724
+
4725
+ /***/ },
4726
+ /* 207 */
4727
+ /***/ function(module, exports, __webpack_require__) {
4728
+
4729
+ 'use strict';
4730
+ var each = __webpack_require__(164)(0)
4731
+ , redefine = __webpack_require__(16)
4732
+ , meta = __webpack_require__(20)
4733
+ , assign = __webpack_require__(67)
4734
+ , weak = __webpack_require__(208)
4735
+ , isObject = __webpack_require__(11)
4736
+ , getWeak = meta.getWeak
4737
+ , isExtensible = Object.isExtensible
4738
+ , uncaughtFrozenStore = weak.ufstore
4739
+ , tmp = {}
4740
+ , InternalMap;
4741
+
4742
+ var wrapper = function(get){
4743
+ return function WeakMap(){
4744
+ return get(this, arguments.length > 0 ? arguments[0] : undefined);
4745
+ };
4746
+ };
4747
+
4748
+ var methods = {
4749
+ // 23.3.3.3 WeakMap.prototype.get(key)
4750
+ get: function get(key){
4751
+ if(isObject(key)){
4752
+ var data = getWeak(key);
4753
+ if(data === true)return uncaughtFrozenStore(this).get(key);
4754
+ return data ? data[this._i] : undefined;
4755
+ }
4756
+ },
4757
+ // 23.3.3.5 WeakMap.prototype.set(key, value)
4758
+ set: function set(key, value){
4759
+ return weak.def(this, key, value);
4760
+ }
4761
+ };
4762
+
4763
+ // 23.3 WeakMap Objects
4764
+ var $WeakMap = module.exports = __webpack_require__(205)('WeakMap', wrapper, methods, weak, true, true);
4765
+
4766
+ // IE11 WeakMap frozen keys fix
4767
+ if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
4768
+ InternalMap = weak.getConstructor(wrapper);
4769
+ assign(InternalMap.prototype, methods);
4770
+ meta.NEED = true;
4771
+ each(['delete', 'has', 'get', 'set'], function(key){
4772
+ var proto = $WeakMap.prototype
4773
+ , method = proto[key];
4774
+ redefine(proto, key, function(a, b){
4775
+ // store frozen objects on internal weakmap shim
4776
+ if(isObject(a) && !isExtensible(a)){
4777
+ if(!this._f)this._f = new InternalMap;
4778
+ var result = this._f[key](a, b);
4779
+ return key == 'set' ? this : result;
4780
+ // store all the rest on native weakmap
4781
+ } return method.call(this, a, b);
4782
+ });
4783
+ });
4784
+ }
4785
+
4786
+ /***/ },
4787
+ /* 208 */
4788
+ /***/ function(module, exports, __webpack_require__) {
4789
+
4790
+ 'use strict';
4791
+ var redefineAll = __webpack_require__(202)
4792
+ , getWeak = __webpack_require__(20).getWeak
4793
+ , anObject = __webpack_require__(10)
4794
+ , isObject = __webpack_require__(11)
4795
+ , anInstance = __webpack_require__(197)
4796
+ , forOf = __webpack_require__(198)
4797
+ , createArrayMethod = __webpack_require__(164)
4798
+ , $has = __webpack_require__(3)
4799
+ , arrayFind = createArrayMethod(5)
4800
+ , arrayFindIndex = createArrayMethod(6)
4801
+ , id = 0;
4802
+
4803
+ // fallback for uncaught frozen keys
4804
+ var uncaughtFrozenStore = function(that){
4805
+ return that._l || (that._l = new UncaughtFrozenStore);
4806
+ };
4807
+ var UncaughtFrozenStore = function(){
4808
+ this.a = [];
4809
+ };
4810
+ var findUncaughtFrozen = function(store, key){
4811
+ return arrayFind(store.a, function(it){
4812
+ return it[0] === key;
4813
+ });
4814
+ };
4815
+ UncaughtFrozenStore.prototype = {
4816
+ get: function(key){
4817
+ var entry = findUncaughtFrozen(this, key);
4818
+ if(entry)return entry[1];
4819
+ },
4820
+ has: function(key){
4821
+ return !!findUncaughtFrozen(this, key);
4822
+ },
4823
+ set: function(key, value){
4824
+ var entry = findUncaughtFrozen(this, key);
4825
+ if(entry)entry[1] = value;
4826
+ else this.a.push([key, value]);
4827
+ },
4828
+ 'delete': function(key){
4829
+ var index = arrayFindIndex(this.a, function(it){
4830
+ return it[0] === key;
4831
+ });
4832
+ if(~index)this.a.splice(index, 1);
4833
+ return !!~index;
4834
+ }
4835
+ };
4836
+
4837
+ module.exports = {
4838
+ getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
4839
+ var C = wrapper(function(that, iterable){
4840
+ anInstance(that, C, NAME, '_i');
4841
+ that._i = id++; // collection id
4842
+ that._l = undefined; // leak store for uncaught frozen objects
4843
+ if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
4844
+ });
4845
+ redefineAll(C.prototype, {
4846
+ // 23.3.3.2 WeakMap.prototype.delete(key)
4847
+ // 23.4.3.3 WeakSet.prototype.delete(value)
4848
+ 'delete': function(key){
4849
+ if(!isObject(key))return false;
4850
+ var data = getWeak(key);
4851
+ if(data === true)return uncaughtFrozenStore(this)['delete'](key);
4852
+ return data && $has(data, this._i) && delete data[this._i];
4853
+ },
4854
+ // 23.3.3.4 WeakMap.prototype.has(key)
4855
+ // 23.4.3.4 WeakSet.prototype.has(value)
4856
+ has: function has(key){
4857
+ if(!isObject(key))return false;
4858
+ var data = getWeak(key);
4859
+ if(data === true)return uncaughtFrozenStore(this).has(key);
4860
+ return data && $has(data, this._i);
4861
+ }
4862
+ });
4863
+ return C;
4864
+ },
4865
+ def: function(that, key, value){
4866
+ var data = getWeak(anObject(key), true);
4867
+ if(data === true)uncaughtFrozenStore(that).set(key, value);
4868
+ else data[that._i] = value;
4869
+ return that;
4870
+ },
4871
+ ufstore: uncaughtFrozenStore
4872
+ };
4873
+
4874
+ /***/ },
4875
+ /* 209 */
4876
+ /***/ function(module, exports, __webpack_require__) {
4877
+
4878
+ 'use strict';
4879
+ var weak = __webpack_require__(208);
4880
+
4881
+ // 23.4 WeakSet Objects
4882
+ __webpack_require__(205)('WeakSet', function(get){
4883
+ return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
4884
+ }, {
4885
+ // 23.4.3.1 WeakSet.prototype.add(value)
4886
+ add: function add(value){
4887
+ return weak.def(this, value, true);
4888
+ }
4889
+ }, weak, false, true);
4890
+
4891
+ /***/ },
4892
+ /* 210 */
4893
+ /***/ function(module, exports, __webpack_require__) {
4894
+
4895
+ // 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
4896
+ var $export = __webpack_require__(6)
4897
+ , aFunction = __webpack_require__(19)
4898
+ , anObject = __webpack_require__(10)
4899
+ , rApply = (__webpack_require__(2).Reflect || {}).apply
4900
+ , fApply = Function.apply;
4901
+ // MS Edge argumentsList argument is optional
4902
+ $export($export.S + $export.F * !__webpack_require__(5)(function(){
4903
+ rApply(function(){});
4904
+ }), 'Reflect', {
4905
+ apply: function apply(target, thisArgument, argumentsList){
4906
+ var T = aFunction(target)
4907
+ , L = anObject(argumentsList);
4908
+ return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);
4909
+ }
4910
+ });
4911
+
4912
+ /***/ },
4913
+ /* 211 */
4914
+ /***/ function(module, exports, __webpack_require__) {
4915
+
4916
+ // 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
4917
+ var $export = __webpack_require__(6)
4918
+ , create = __webpack_require__(44)
4919
+ , aFunction = __webpack_require__(19)
4920
+ , anObject = __webpack_require__(10)
4921
+ , isObject = __webpack_require__(11)
4922
+ , fails = __webpack_require__(5)
4923
+ , bind = __webpack_require__(75)
4924
+ , rConstruct = (__webpack_require__(2).Reflect || {}).construct;
4925
+
4926
+ // MS Edge supports only 2 arguments and argumentsList argument is optional
4927
+ // FF Nightly sets third argument as `new.target`, but does not create `this` from it
4928
+ var NEW_TARGET_BUG = fails(function(){
4929
+ function F(){}
4930
+ return !(rConstruct(function(){}, [], F) instanceof F);
4931
+ });
4932
+ var ARGS_BUG = !fails(function(){
4933
+ rConstruct(function(){});
4934
+ });
4935
+
4936
+ $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
4937
+ construct: function construct(Target, args /*, newTarget*/){
4938
+ aFunction(Target);
4939
+ anObject(args);
4940
+ var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
4941
+ if(ARGS_BUG && !NEW_TARGET_BUG)return rConstruct(Target, args, newTarget);
4942
+ if(Target == newTarget){
4943
+ // w/o altered newTarget, optimization for 0-4 arguments
4944
+ switch(args.length){
4945
+ case 0: return new Target;
4946
+ case 1: return new Target(args[0]);
4947
+ case 2: return new Target(args[0], args[1]);
4948
+ case 3: return new Target(args[0], args[1], args[2]);
4949
+ case 4: return new Target(args[0], args[1], args[2], args[3]);
4950
+ }
4951
+ // w/o altered newTarget, lot of arguments case
4952
+ var $args = [null];
4953
+ $args.push.apply($args, args);
4954
+ return new (bind.apply(Target, $args));
4955
+ }
4956
+ // with altered newTarget, not support built-in constructors
4957
+ var proto = newTarget.prototype
4958
+ , instance = create(isObject(proto) ? proto : Object.prototype)
4959
+ , result = Function.apply.call(Target, instance, args);
4960
+ return isObject(result) ? result : instance;
4961
+ }
4962
+ });
4963
+
4964
+ /***/ },
4965
+ /* 212 */
4966
+ /***/ function(module, exports, __webpack_require__) {
4967
+
4968
+ // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
4969
+ var dP = __webpack_require__(9)
4970
+ , $export = __webpack_require__(6)
4971
+ , anObject = __webpack_require__(10)
4972
+ , toPrimitive = __webpack_require__(14);
4973
+
4974
+ // MS Edge has broken Reflect.defineProperty - throwing instead of returning false
4975
+ $export($export.S + $export.F * __webpack_require__(5)(function(){
4976
+ Reflect.defineProperty(dP.f({}, 1, {value: 1}), 1, {value: 2});
4977
+ }), 'Reflect', {
4978
+ defineProperty: function defineProperty(target, propertyKey, attributes){
4979
+ anObject(target);
4980
+ propertyKey = toPrimitive(propertyKey, true);
4981
+ anObject(attributes);
4982
+ try {
4983
+ dP.f(target, propertyKey, attributes);
4984
+ return true;
4985
+ } catch(e){
4986
+ return false;
4987
+ }
4988
+ }
4989
+ });
4990
+
4991
+ /***/ },
4992
+ /* 213 */
4993
+ /***/ function(module, exports, __webpack_require__) {
4994
+
4995
+ // 26.1.4 Reflect.deleteProperty(target, propertyKey)
4996
+ var $export = __webpack_require__(6)
4997
+ , gOPD = __webpack_require__(49).f
4998
+ , anObject = __webpack_require__(10);
4999
+
5000
+ $export($export.S, 'Reflect', {
5001
+ deleteProperty: function deleteProperty(target, propertyKey){
5002
+ var desc = gOPD(anObject(target), propertyKey);
5003
+ return desc && !desc.configurable ? false : delete target[propertyKey];
5004
+ }
5005
+ });
5006
+
5007
+ /***/ },
5008
+ /* 214 */
5009
+ /***/ function(module, exports, __webpack_require__) {
5010
+
5011
+ 'use strict';
5012
+ // 26.1.5 Reflect.enumerate(target)
5013
+ var $export = __webpack_require__(6)
5014
+ , anObject = __webpack_require__(10);
5015
+ var Enumerate = function(iterated){
5016
+ this._t = anObject(iterated); // target
5017
+ this._i = 0; // next index
5018
+ var keys = this._k = [] // keys
5019
+ , key;
5020
+ for(key in iterated)keys.push(key);
5021
+ };
5022
+ __webpack_require__(136)(Enumerate, 'Object', function(){
5023
+ var that = this
5024
+ , keys = that._k
5025
+ , key;
5026
+ do {
5027
+ if(that._i >= keys.length)return {value: undefined, done: true};
5028
+ } while(!((key = keys[that._i++]) in that._t));
5029
+ return {value: key, done: false};
5030
+ });
5031
+
5032
+ $export($export.S, 'Reflect', {
5033
+ enumerate: function enumerate(target){
5034
+ return new Enumerate(target);
5035
+ }
5036
+ });
5037
+
5038
+ /***/ },
5039
+ /* 215 */
5040
+ /***/ function(module, exports, __webpack_require__) {
5041
+
5042
+ // 26.1.6 Reflect.get(target, propertyKey [, receiver])
5043
+ var gOPD = __webpack_require__(49)
5044
+ , getPrototypeOf = __webpack_require__(57)
5045
+ , has = __webpack_require__(3)
5046
+ , $export = __webpack_require__(6)
5047
+ , isObject = __webpack_require__(11)
5048
+ , anObject = __webpack_require__(10);
5049
+
5050
+ function get(target, propertyKey/*, receiver*/){
5051
+ var receiver = arguments.length < 3 ? target : arguments[2]
5052
+ , desc, proto;
5053
+ if(anObject(target) === receiver)return target[propertyKey];
5054
+ if(desc = gOPD.f(target, propertyKey))return has(desc, 'value')
5055
+ ? desc.value
5056
+ : desc.get !== undefined
5057
+ ? desc.get.call(receiver)
5058
+ : undefined;
5059
+ if(isObject(proto = getPrototypeOf(target)))return get(proto, propertyKey, receiver);
5060
+ }
5061
+
5062
+ $export($export.S, 'Reflect', {get: get});
5063
+
5064
+ /***/ },
5065
+ /* 216 */
5066
+ /***/ function(module, exports, __webpack_require__) {
5067
+
5068
+ // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
5069
+ var gOPD = __webpack_require__(49)
5070
+ , $export = __webpack_require__(6)
5071
+ , anObject = __webpack_require__(10);
5072
+
5073
+ $export($export.S, 'Reflect', {
5074
+ getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){
5075
+ return gOPD.f(anObject(target), propertyKey);
5076
+ }
5077
+ });
5078
+
5079
+ /***/ },
5080
+ /* 217 */
5081
+ /***/ function(module, exports, __webpack_require__) {
5082
+
5083
+ // 26.1.8 Reflect.getPrototypeOf(target)
5084
+ var $export = __webpack_require__(6)
5085
+ , getProto = __webpack_require__(57)
5086
+ , anObject = __webpack_require__(10);
5087
+
5088
+ $export($export.S, 'Reflect', {
5089
+ getPrototypeOf: function getPrototypeOf(target){
5090
+ return getProto(anObject(target));
5091
+ }
5092
+ });
5093
+
5094
+ /***/ },
5095
+ /* 218 */
5096
+ /***/ function(module, exports, __webpack_require__) {
5097
+
5098
+ // 26.1.9 Reflect.has(target, propertyKey)
5099
+ var $export = __webpack_require__(6);
5100
+
5101
+ $export($export.S, 'Reflect', {
5102
+ has: function has(target, propertyKey){
5103
+ return propertyKey in target;
5104
+ }
5105
+ });
5106
+
5107
+ /***/ },
5108
+ /* 219 */
5109
+ /***/ function(module, exports, __webpack_require__) {
5110
+
5111
+ // 26.1.10 Reflect.isExtensible(target)
5112
+ var $export = __webpack_require__(6)
5113
+ , anObject = __webpack_require__(10)
5114
+ , $isExtensible = Object.isExtensible;
5115
+
5116
+ $export($export.S, 'Reflect', {
5117
+ isExtensible: function isExtensible(target){
5118
+ anObject(target);
5119
+ return $isExtensible ? $isExtensible(target) : true;
5120
+ }
5121
+ });
5122
+
5123
+ /***/ },
5124
+ /* 220 */
5125
+ /***/ function(module, exports, __webpack_require__) {
5126
+
5127
+ // 26.1.11 Reflect.ownKeys(target)
5128
+ var $export = __webpack_require__(6);
5129
+
5130
+ $export($export.S, 'Reflect', {ownKeys: __webpack_require__(221)});
5131
+
5132
+ /***/ },
5133
+ /* 221 */
5134
+ /***/ function(module, exports, __webpack_require__) {
5135
+
5136
+ // all object keys, includes non-enumerable and symbols
5137
+ var gOPN = __webpack_require__(48)
5138
+ , gOPS = __webpack_require__(41)
5139
+ , anObject = __webpack_require__(10)
5140
+ , Reflect = __webpack_require__(2).Reflect;
5141
+ module.exports = Reflect && Reflect.ownKeys || function ownKeys(it){
5142
+ var keys = gOPN.f(anObject(it))
5143
+ , getSymbols = gOPS.f;
5144
+ return getSymbols ? keys.concat(getSymbols(it)) : keys;
5145
+ };
5146
+
5147
+ /***/ },
5148
+ /* 222 */
5149
+ /***/ function(module, exports, __webpack_require__) {
5150
+
5151
+ // 26.1.12 Reflect.preventExtensions(target)
5152
+ var $export = __webpack_require__(6)
5153
+ , anObject = __webpack_require__(10)
5154
+ , $preventExtensions = Object.preventExtensions;
5155
+
5156
+ $export($export.S, 'Reflect', {
5157
+ preventExtensions: function preventExtensions(target){
5158
+ anObject(target);
5159
+ try {
5160
+ if($preventExtensions)$preventExtensions(target);
5161
+ return true;
5162
+ } catch(e){
5163
+ return false;
5164
+ }
5165
+ }
5166
+ });
5167
+
5168
+ /***/ },
5169
+ /* 223 */
5170
+ /***/ function(module, exports, __webpack_require__) {
5171
+
5172
+ // 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
5173
+ var dP = __webpack_require__(9)
5174
+ , gOPD = __webpack_require__(49)
5175
+ , getPrototypeOf = __webpack_require__(57)
5176
+ , has = __webpack_require__(3)
5177
+ , $export = __webpack_require__(6)
5178
+ , createDesc = __webpack_require__(15)
5179
+ , anObject = __webpack_require__(10)
5180
+ , isObject = __webpack_require__(11);
5181
+
5182
+ function set(target, propertyKey, V/*, receiver*/){
5183
+ var receiver = arguments.length < 4 ? target : arguments[3]
5184
+ , ownDesc = gOPD.f(anObject(target), propertyKey)
5185
+ , existingDescriptor, proto;
5186
+ if(!ownDesc){
5187
+ if(isObject(proto = getPrototypeOf(target))){
5188
+ return set(proto, propertyKey, V, receiver);
5189
+ }
5190
+ ownDesc = createDesc(0);
5191
+ }
5192
+ if(has(ownDesc, 'value')){
5193
+ if(ownDesc.writable === false || !isObject(receiver))return false;
5194
+ existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);
5195
+ existingDescriptor.value = V;
5196
+ dP.f(receiver, propertyKey, existingDescriptor);
5197
+ return true;
5198
+ }
5199
+ return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
5200
+ }
5201
+
5202
+ $export($export.S, 'Reflect', {set: set});
5203
+
5204
+ /***/ },
5205
+ /* 224 */
5206
+ /***/ function(module, exports, __webpack_require__) {
5207
+
5208
+ // 26.1.14 Reflect.setPrototypeOf(target, proto)
5209
+ var $export = __webpack_require__(6)
5210
+ , setProto = __webpack_require__(71);
5211
+
5212
+ if(setProto)$export($export.S, 'Reflect', {
5213
+ setPrototypeOf: function setPrototypeOf(target, proto){
5214
+ setProto.check(target, proto);
5215
+ try {
5216
+ setProto.set(target, proto);
5217
+ return true;
5218
+ } catch(e){
5219
+ return false;
5220
+ }
5221
+ }
5222
+ });
5223
+
5224
+ /***/ },
5225
+ /* 225 */
5226
+ /***/ function(module, exports, __webpack_require__) {
5227
+
5228
+ // 20.3.3.1 / 15.9.4.4 Date.now()
5229
+ var $export = __webpack_require__(6);
5230
+
5231
+ $export($export.S, 'Date', {now: function(){ return new Date().getTime(); }});
5232
+
5233
+ /***/ },
5234
+ /* 226 */
5235
+ /***/ function(module, exports, __webpack_require__) {
5236
+
5237
+ 'use strict';
5238
+ var $export = __webpack_require__(6)
5239
+ , toObject = __webpack_require__(56)
5240
+ , toPrimitive = __webpack_require__(14);
5241
+
5242
+ $export($export.P + $export.F * __webpack_require__(5)(function(){
5243
+ return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({toISOString: function(){ return 1; }}) !== 1;
5244
+ }), 'Date', {
5245
+ toJSON: function toJSON(key){
5246
+ var O = toObject(this)
5247
+ , pv = toPrimitive(O);
5248
+ return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();
5249
+ }
5250
+ });
5251
+
5252
+ /***/ },
5253
+ /* 227 */
5254
+ /***/ function(module, exports, __webpack_require__) {
5255
+
5256
+ 'use strict';
5257
+ // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
5258
+ var $export = __webpack_require__(6)
5259
+ , fails = __webpack_require__(5)
5260
+ , getTime = Date.prototype.getTime;
5261
+
5262
+ var lz = function(num){
5263
+ return num > 9 ? num : '0' + num;
5264
+ };
5265
+
5266
+ // PhantomJS / old WebKit has a broken implementations
5267
+ $export($export.P + $export.F * (fails(function(){
5268
+ return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';
5269
+ }) || !fails(function(){
5270
+ new Date(NaN).toISOString();
5271
+ })), 'Date', {
5272
+ toISOString: function toISOString(){
5273
+ if(!isFinite(getTime.call(this)))throw RangeError('Invalid time value');
5274
+ var d = this
5275
+ , y = d.getUTCFullYear()
5276
+ , m = d.getUTCMilliseconds()
5277
+ , s = y < 0 ? '-' : y > 9999 ? '+' : '';
5278
+ return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +
5279
+ '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +
5280
+ 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +
5281
+ ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
5282
+ }
5283
+ });
5284
+
5285
+ /***/ },
5286
+ /* 228 */
5287
+ /***/ function(module, exports, __webpack_require__) {
5288
+
5289
+ var DateProto = Date.prototype
5290
+ , INVALID_DATE = 'Invalid Date'
5291
+ , TO_STRING = 'toString'
5292
+ , $toString = DateProto[TO_STRING]
5293
+ , getTime = DateProto.getTime;
5294
+ if(new Date(NaN) + '' != INVALID_DATE){
5295
+ __webpack_require__(16)(DateProto, TO_STRING, function toString(){
5296
+ var value = getTime.call(this);
5297
+ return value === value ? $toString.call(this) : INVALID_DATE;
5298
+ });
5299
+ }
5300
+
5301
+ /***/ },
5302
+ /* 229 */
5303
+ /***/ function(module, exports, __webpack_require__) {
5304
+
5305
+ var TO_PRIMITIVE = __webpack_require__(23)('toPrimitive')
5306
+ , proto = Date.prototype;
5307
+
5308
+ if(!(TO_PRIMITIVE in proto))__webpack_require__(8)(proto, TO_PRIMITIVE, __webpack_require__(230));
5309
+
5310
+ /***/ },
5311
+ /* 230 */
5312
+ /***/ function(module, exports, __webpack_require__) {
5313
+
5314
+ 'use strict';
5315
+ var anObject = __webpack_require__(10)
5316
+ , toPrimitive = __webpack_require__(14)
5317
+ , NUMBER = 'number';
5318
+
5319
+ module.exports = function(hint){
5320
+ if(hint !== 'string' && hint !== NUMBER && hint !== 'default')throw TypeError('Incorrect hint');
5321
+ return toPrimitive(anObject(this), hint != NUMBER);
5322
+ };
5323
+
5324
+ /***/ },
5325
+ /* 231 */
5326
+ /***/ function(module, exports, __webpack_require__) {
5327
+
5328
+ 'use strict';
5329
+ var $export = __webpack_require__(6)
5330
+ , $typed = __webpack_require__(232)
5331
+ , buffer = __webpack_require__(233)
5332
+ , anObject = __webpack_require__(10)
5333
+ , toIndex = __webpack_require__(37)
5334
+ , toLength = __webpack_require__(35)
5335
+ , isObject = __webpack_require__(11)
5336
+ , ArrayBuffer = __webpack_require__(2).ArrayBuffer
5337
+ , speciesConstructor = __webpack_require__(199)
5338
+ , $ArrayBuffer = buffer.ArrayBuffer
5339
+ , $DataView = buffer.DataView
5340
+ , $isView = $typed.ABV && ArrayBuffer.isView
5341
+ , $slice = $ArrayBuffer.prototype.slice
5342
+ , VIEW = $typed.VIEW
5343
+ , ARRAY_BUFFER = 'ArrayBuffer';
5344
+
5345
+ $export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), {ArrayBuffer: $ArrayBuffer});
5346
+
5347
+ $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {
5348
+ // 24.1.3.1 ArrayBuffer.isView(arg)
5349
+ isView: function isView(it){
5350
+ return $isView && $isView(it) || isObject(it) && VIEW in it;
5351
+ }
5352
+ });
5353
+
5354
+ $export($export.P + $export.U + $export.F * __webpack_require__(5)(function(){
5355
+ return !new $ArrayBuffer(2).slice(1, undefined).byteLength;
5356
+ }), ARRAY_BUFFER, {
5357
+ // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)
5358
+ slice: function slice(start, end){
5359
+ if($slice !== undefined && end === undefined)return $slice.call(anObject(this), start); // FF fix
5360
+ var len = anObject(this).byteLength
5361
+ , first = toIndex(start, len)
5362
+ , final = toIndex(end === undefined ? len : end, len)
5363
+ , result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first))
5364
+ , viewS = new $DataView(this)
5365
+ , viewT = new $DataView(result)
5366
+ , index = 0;
5367
+ while(first < final){
5368
+ viewT.setUint8(index++, viewS.getUint8(first++));
5369
+ } return result;
5370
+ }
5371
+ });
5372
+
5373
+ __webpack_require__(186)(ARRAY_BUFFER);
5374
+
5375
+ /***/ },
5376
+ /* 232 */
5377
+ /***/ function(module, exports, __webpack_require__) {
5378
+
5379
+ var global = __webpack_require__(2)
5380
+ , hide = __webpack_require__(8)
5381
+ , uid = __webpack_require__(17)
5382
+ , TYPED = uid('typed_array')
5383
+ , VIEW = uid('view')
5384
+ , ABV = !!(global.ArrayBuffer && global.DataView)
5385
+ , CONSTR = ABV
5386
+ , i = 0, l = 9, Typed;
5387
+
5388
+ var TypedArrayConstructors = (
5389
+ 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'
5390
+ ).split(',');
5391
+
5392
+ while(i < l){
5393
+ if(Typed = global[TypedArrayConstructors[i++]]){
5394
+ hide(Typed.prototype, TYPED, true);
5395
+ hide(Typed.prototype, VIEW, true);
5396
+ } else CONSTR = false;
5397
+ }
5398
+
5399
+ module.exports = {
5400
+ ABV: ABV,
5401
+ CONSTR: CONSTR,
5402
+ TYPED: TYPED,
5403
+ VIEW: VIEW
5404
+ };
5405
+
5406
+ /***/ },
5407
+ /* 233 */
5408
+ /***/ function(module, exports, __webpack_require__) {
5409
+
5410
+ 'use strict';
5411
+ var global = __webpack_require__(2)
5412
+ , DESCRIPTORS = __webpack_require__(4)
5413
+ , LIBRARY = __webpack_require__(26)
5414
+ , $typed = __webpack_require__(232)
5415
+ , hide = __webpack_require__(8)
5416
+ , redefineAll = __webpack_require__(202)
5417
+ , fails = __webpack_require__(5)
5418
+ , anInstance = __webpack_require__(197)
5419
+ , toInteger = __webpack_require__(36)
5420
+ , toLength = __webpack_require__(35)
5421
+ , gOPN = __webpack_require__(48).f
5422
+ , dP = __webpack_require__(9).f
5423
+ , arrayFill = __webpack_require__(180)
5424
+ , setToStringTag = __webpack_require__(22)
5425
+ , ARRAY_BUFFER = 'ArrayBuffer'
5426
+ , DATA_VIEW = 'DataView'
5427
+ , PROTOTYPE = 'prototype'
5428
+ , WRONG_LENGTH = 'Wrong length!'
5429
+ , WRONG_INDEX = 'Wrong index!'
5430
+ , $ArrayBuffer = global[ARRAY_BUFFER]
5431
+ , $DataView = global[DATA_VIEW]
5432
+ , Math = global.Math
5433
+ , RangeError = global.RangeError
5434
+ , Infinity = global.Infinity
5435
+ , BaseBuffer = $ArrayBuffer
5436
+ , abs = Math.abs
5437
+ , pow = Math.pow
5438
+ , floor = Math.floor
5439
+ , log = Math.log
5440
+ , LN2 = Math.LN2
5441
+ , BUFFER = 'buffer'
5442
+ , BYTE_LENGTH = 'byteLength'
5443
+ , BYTE_OFFSET = 'byteOffset'
5444
+ , $BUFFER = DESCRIPTORS ? '_b' : BUFFER
5445
+ , $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH
5446
+ , $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;
5447
+
5448
+ // IEEE754 conversions based on https://github.com/feross/ieee754
5449
+ var packIEEE754 = function(value, mLen, nBytes){
5450
+ var buffer = Array(nBytes)
5451
+ , eLen = nBytes * 8 - mLen - 1
5452
+ , eMax = (1 << eLen) - 1
5453
+ , eBias = eMax >> 1
5454
+ , rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0
5455
+ , i = 0
5456
+ , s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0
5457
+ , e, m, c;
5458
+ value = abs(value)
5459
+ if(value != value || value === Infinity){
5460
+ m = value != value ? 1 : 0;
5461
+ e = eMax;
5462
+ } else {
5463
+ e = floor(log(value) / LN2);
5464
+ if(value * (c = pow(2, -e)) < 1){
5465
+ e--;
5466
+ c *= 2;
5467
+ }
5468
+ if(e + eBias >= 1){
5469
+ value += rt / c;
5470
+ } else {
5471
+ value += rt * pow(2, 1 - eBias);
5472
+ }
5473
+ if(value * c >= 2){
5474
+ e++;
5475
+ c /= 2;
5476
+ }
5477
+ if(e + eBias >= eMax){
5478
+ m = 0;
5479
+ e = eMax;
5480
+ } else if(e + eBias >= 1){
5481
+ m = (value * c - 1) * pow(2, mLen);
5482
+ e = e + eBias;
5483
+ } else {
5484
+ m = value * pow(2, eBias - 1) * pow(2, mLen);
5485
+ e = 0;
5486
+ }
5487
+ }
5488
+ for(; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);
5489
+ e = e << mLen | m;
5490
+ eLen += mLen;
5491
+ for(; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);
5492
+ buffer[--i] |= s * 128;
5493
+ return buffer;
5494
+ };
5495
+ var unpackIEEE754 = function(buffer, mLen, nBytes){
5496
+ var eLen = nBytes * 8 - mLen - 1
5497
+ , eMax = (1 << eLen) - 1
5498
+ , eBias = eMax >> 1
5499
+ , nBits = eLen - 7
5500
+ , i = nBytes - 1
5501
+ , s = buffer[i--]
5502
+ , e = s & 127
5503
+ , m;
5504
+ s >>= 7;
5505
+ for(; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);
5506
+ m = e & (1 << -nBits) - 1;
5507
+ e >>= -nBits;
5508
+ nBits += mLen;
5509
+ for(; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);
5510
+ if(e === 0){
5511
+ e = 1 - eBias;
5512
+ } else if(e === eMax){
5513
+ return m ? NaN : s ? -Infinity : Infinity;
5514
+ } else {
5515
+ m = m + pow(2, mLen);
5516
+ e = e - eBias;
5517
+ } return (s ? -1 : 1) * m * pow(2, e - mLen);
5518
+ };
5519
+
5520
+ var unpackI32 = function(bytes){
5521
+ return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];
5522
+ };
5523
+ var packI8 = function(it){
5524
+ return [it & 0xff];
5525
+ };
5526
+ var packI16 = function(it){
5527
+ return [it & 0xff, it >> 8 & 0xff];
5528
+ };
5529
+ var packI32 = function(it){
5530
+ return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];
5531
+ };
5532
+ var packF64 = function(it){
5533
+ return packIEEE754(it, 52, 8);
5534
+ };
5535
+ var packF32 = function(it){
5536
+ return packIEEE754(it, 23, 4);
5537
+ };
5538
+
5539
+ var addGetter = function(C, key, internal){
5540
+ dP(C[PROTOTYPE], key, {get: function(){ return this[internal]; }});
5541
+ };
5542
+
5543
+ var get = function(view, bytes, index, isLittleEndian){
5544
+ var numIndex = +index
5545
+ , intIndex = toInteger(numIndex);
5546
+ if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);
5547
+ var store = view[$BUFFER]._b
5548
+ , start = intIndex + view[$OFFSET]
5549
+ , pack = store.slice(start, start + bytes);
5550
+ return isLittleEndian ? pack : pack.reverse();
5551
+ };
5552
+ var set = function(view, bytes, index, conversion, value, isLittleEndian){
5553
+ var numIndex = +index
5554
+ , intIndex = toInteger(numIndex);
5555
+ if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);
5556
+ var store = view[$BUFFER]._b
5557
+ , start = intIndex + view[$OFFSET]
5558
+ , pack = conversion(+value);
5559
+ for(var i = 0; i < bytes; i++)store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];
5560
+ };
5561
+
5562
+ var validateArrayBufferArguments = function(that, length){
5563
+ anInstance(that, $ArrayBuffer, ARRAY_BUFFER);
5564
+ var numberLength = +length
5565
+ , byteLength = toLength(numberLength);
5566
+ if(numberLength != byteLength)throw RangeError(WRONG_LENGTH);
5567
+ return byteLength;
5568
+ };
5569
+
5570
+ if(!$typed.ABV){
5571
+ $ArrayBuffer = function ArrayBuffer(length){
5572
+ var byteLength = validateArrayBufferArguments(this, length);
5573
+ this._b = arrayFill.call(Array(byteLength), 0);
5574
+ this[$LENGTH] = byteLength;
5575
+ };
5576
+
5577
+ $DataView = function DataView(buffer, byteOffset, byteLength){
5578
+ anInstance(this, $DataView, DATA_VIEW);
5579
+ anInstance(buffer, $ArrayBuffer, DATA_VIEW);
5580
+ var bufferLength = buffer[$LENGTH]
5581
+ , offset = toInteger(byteOffset);
5582
+ if(offset < 0 || offset > bufferLength)throw RangeError('Wrong offset!');
5583
+ byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
5584
+ if(offset + byteLength > bufferLength)throw RangeError(WRONG_LENGTH);
5585
+ this[$BUFFER] = buffer;
5586
+ this[$OFFSET] = offset;
5587
+ this[$LENGTH] = byteLength;
5588
+ };
5589
+
5590
+ if(DESCRIPTORS){
5591
+ addGetter($ArrayBuffer, BYTE_LENGTH, '_l');
5592
+ addGetter($DataView, BUFFER, '_b');
5593
+ addGetter($DataView, BYTE_LENGTH, '_l');
5594
+ addGetter($DataView, BYTE_OFFSET, '_o');
5595
+ }
5596
+
5597
+ redefineAll($DataView[PROTOTYPE], {
5598
+ getInt8: function getInt8(byteOffset){
5599
+ return get(this, 1, byteOffset)[0] << 24 >> 24;
5600
+ },
5601
+ getUint8: function getUint8(byteOffset){
5602
+ return get(this, 1, byteOffset)[0];
5603
+ },
5604
+ getInt16: function getInt16(byteOffset /*, littleEndian */){
5605
+ var bytes = get(this, 2, byteOffset, arguments[1]);
5606
+ return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
5607
+ },
5608
+ getUint16: function getUint16(byteOffset /*, littleEndian */){
5609
+ var bytes = get(this, 2, byteOffset, arguments[1]);
5610
+ return bytes[1] << 8 | bytes[0];
5611
+ },
5612
+ getInt32: function getInt32(byteOffset /*, littleEndian */){
5613
+ return unpackI32(get(this, 4, byteOffset, arguments[1]));
5614
+ },
5615
+ getUint32: function getUint32(byteOffset /*, littleEndian */){
5616
+ return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;
5617
+ },
5618
+ getFloat32: function getFloat32(byteOffset /*, littleEndian */){
5619
+ return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);
5620
+ },
5621
+ getFloat64: function getFloat64(byteOffset /*, littleEndian */){
5622
+ return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);
5623
+ },
5624
+ setInt8: function setInt8(byteOffset, value){
5625
+ set(this, 1, byteOffset, packI8, value);
5626
+ },
5627
+ setUint8: function setUint8(byteOffset, value){
5628
+ set(this, 1, byteOffset, packI8, value);
5629
+ },
5630
+ setInt16: function setInt16(byteOffset, value /*, littleEndian */){
5631
+ set(this, 2, byteOffset, packI16, value, arguments[2]);
5632
+ },
5633
+ setUint16: function setUint16(byteOffset, value /*, littleEndian */){
5634
+ set(this, 2, byteOffset, packI16, value, arguments[2]);
5635
+ },
5636
+ setInt32: function setInt32(byteOffset, value /*, littleEndian */){
5637
+ set(this, 4, byteOffset, packI32, value, arguments[2]);
5638
+ },
5639
+ setUint32: function setUint32(byteOffset, value /*, littleEndian */){
5640
+ set(this, 4, byteOffset, packI32, value, arguments[2]);
5641
+ },
5642
+ setFloat32: function setFloat32(byteOffset, value /*, littleEndian */){
5643
+ set(this, 4, byteOffset, packF32, value, arguments[2]);
5644
+ },
5645
+ setFloat64: function setFloat64(byteOffset, value /*, littleEndian */){
5646
+ set(this, 8, byteOffset, packF64, value, arguments[2]);
5647
+ }
5648
+ });
5649
+ } else {
5650
+ if(!fails(function(){
5651
+ new $ArrayBuffer; // eslint-disable-line no-new
5652
+ }) || !fails(function(){
5653
+ new $ArrayBuffer(.5); // eslint-disable-line no-new
5654
+ })){
5655
+ $ArrayBuffer = function ArrayBuffer(length){
5656
+ return new BaseBuffer(validateArrayBufferArguments(this, length));
5657
+ };
5658
+ var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];
5659
+ for(var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j; ){
5660
+ if(!((key = keys[j++]) in $ArrayBuffer))hide($ArrayBuffer, key, BaseBuffer[key]);
5661
+ };
5662
+ if(!LIBRARY)ArrayBufferProto.constructor = $ArrayBuffer;
5663
+ }
5664
+ // iOS Safari 7.x bug
5665
+ var view = new $DataView(new $ArrayBuffer(2))
5666
+ , $setInt8 = $DataView[PROTOTYPE].setInt8;
5667
+ view.setInt8(0, 2147483648);
5668
+ view.setInt8(1, 2147483649);
5669
+ if(view.getInt8(0) || !view.getInt8(1))redefineAll($DataView[PROTOTYPE], {
5670
+ setInt8: function setInt8(byteOffset, value){
5671
+ $setInt8.call(this, byteOffset, value << 24 >> 24);
5672
+ },
5673
+ setUint8: function setUint8(byteOffset, value){
5674
+ $setInt8.call(this, byteOffset, value << 24 >> 24);
5675
+ }
5676
+ }, true);
5677
+ }
5678
+ setToStringTag($ArrayBuffer, ARRAY_BUFFER);
5679
+ setToStringTag($DataView, DATA_VIEW);
5680
+ hide($DataView[PROTOTYPE], $typed.VIEW, true);
5681
+ exports[ARRAY_BUFFER] = $ArrayBuffer;
5682
+ exports[DATA_VIEW] = $DataView;
5683
+
5684
+ /***/ },
5685
+ /* 234 */
5686
+ /***/ function(module, exports, __webpack_require__) {
5687
+
5688
+ var $export = __webpack_require__(6);
5689
+ $export($export.G + $export.W + $export.F * !__webpack_require__(232).ABV, {
5690
+ DataView: __webpack_require__(233).DataView
5691
+ });
5692
+
5693
+ /***/ },
5694
+ /* 235 */
5695
+ /***/ function(module, exports, __webpack_require__) {
5696
+
5697
+ __webpack_require__(236)('Int8', 1, function(init){
5698
+ return function Int8Array(data, byteOffset, length){
5699
+ return init(this, data, byteOffset, length);
5700
+ };
5701
+ });
5702
+
5703
+ /***/ },
5704
+ /* 236 */
5705
+ /***/ function(module, exports, __webpack_require__) {
5706
+
5707
+ 'use strict';
5708
+ if(__webpack_require__(4)){
5709
+ var LIBRARY = __webpack_require__(26)
5710
+ , global = __webpack_require__(2)
5711
+ , fails = __webpack_require__(5)
5712
+ , $export = __webpack_require__(6)
5713
+ , $typed = __webpack_require__(232)
5714
+ , $buffer = __webpack_require__(233)
5715
+ , ctx = __webpack_require__(18)
5716
+ , anInstance = __webpack_require__(197)
5717
+ , propertyDesc = __webpack_require__(15)
5718
+ , hide = __webpack_require__(8)
5719
+ , redefineAll = __webpack_require__(202)
5720
+ , toInteger = __webpack_require__(36)
5721
+ , toLength = __webpack_require__(35)
5722
+ , toIndex = __webpack_require__(37)
5723
+ , toPrimitive = __webpack_require__(14)
5724
+ , has = __webpack_require__(3)
5725
+ , same = __webpack_require__(69)
5726
+ , classof = __webpack_require__(73)
5727
+ , isObject = __webpack_require__(11)
5728
+ , toObject = __webpack_require__(56)
5729
+ , isArrayIter = __webpack_require__(154)
5730
+ , create = __webpack_require__(44)
5731
+ , getPrototypeOf = __webpack_require__(57)
5732
+ , gOPN = __webpack_require__(48).f
5733
+ , getIterFn = __webpack_require__(156)
5734
+ , uid = __webpack_require__(17)
5735
+ , wks = __webpack_require__(23)
5736
+ , createArrayMethod = __webpack_require__(164)
5737
+ , createArrayIncludes = __webpack_require__(34)
5738
+ , speciesConstructor = __webpack_require__(199)
5739
+ , ArrayIterators = __webpack_require__(183)
5740
+ , Iterators = __webpack_require__(135)
5741
+ , $iterDetect = __webpack_require__(157)
5742
+ , setSpecies = __webpack_require__(186)
5743
+ , arrayFill = __webpack_require__(180)
5744
+ , arrayCopyWithin = __webpack_require__(177)
5745
+ , $DP = __webpack_require__(9)
5746
+ , $GOPD = __webpack_require__(49)
5747
+ , dP = $DP.f
5748
+ , gOPD = $GOPD.f
5749
+ , RangeError = global.RangeError
5750
+ , TypeError = global.TypeError
5751
+ , Uint8Array = global.Uint8Array
5752
+ , ARRAY_BUFFER = 'ArrayBuffer'
5753
+ , SHARED_BUFFER = 'Shared' + ARRAY_BUFFER
5754
+ , BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'
5755
+ , PROTOTYPE = 'prototype'
5756
+ , ArrayProto = Array[PROTOTYPE]
5757
+ , $ArrayBuffer = $buffer.ArrayBuffer
5758
+ , $DataView = $buffer.DataView
5759
+ , arrayForEach = createArrayMethod(0)
5760
+ , arrayFilter = createArrayMethod(2)
5761
+ , arraySome = createArrayMethod(3)
5762
+ , arrayEvery = createArrayMethod(4)
5763
+ , arrayFind = createArrayMethod(5)
5764
+ , arrayFindIndex = createArrayMethod(6)
5765
+ , arrayIncludes = createArrayIncludes(true)
5766
+ , arrayIndexOf = createArrayIncludes(false)
5767
+ , arrayValues = ArrayIterators.values
5768
+ , arrayKeys = ArrayIterators.keys
5769
+ , arrayEntries = ArrayIterators.entries
5770
+ , arrayLastIndexOf = ArrayProto.lastIndexOf
5771
+ , arrayReduce = ArrayProto.reduce
5772
+ , arrayReduceRight = ArrayProto.reduceRight
5773
+ , arrayJoin = ArrayProto.join
5774
+ , arraySort = ArrayProto.sort
5775
+ , arraySlice = ArrayProto.slice
5776
+ , arrayToString = ArrayProto.toString
5777
+ , arrayToLocaleString = ArrayProto.toLocaleString
5778
+ , ITERATOR = wks('iterator')
5779
+ , TAG = wks('toStringTag')
5780
+ , TYPED_CONSTRUCTOR = uid('typed_constructor')
5781
+ , DEF_CONSTRUCTOR = uid('def_constructor')
5782
+ , ALL_CONSTRUCTORS = $typed.CONSTR
5783
+ , TYPED_ARRAY = $typed.TYPED
5784
+ , VIEW = $typed.VIEW
5785
+ , WRONG_LENGTH = 'Wrong length!';
5786
+
5787
+ var $map = createArrayMethod(1, function(O, length){
5788
+ return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);
5789
+ });
5790
+
5791
+ var LITTLE_ENDIAN = fails(function(){
5792
+ return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;
5793
+ });
5794
+
5795
+ var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function(){
5796
+ new Uint8Array(1).set({});
5797
+ });
5798
+
5799
+ var strictToLength = function(it, SAME){
5800
+ if(it === undefined)throw TypeError(WRONG_LENGTH);
5801
+ var number = +it
5802
+ , length = toLength(it);
5803
+ if(SAME && !same(number, length))throw RangeError(WRONG_LENGTH);
5804
+ return length;
5805
+ };
5806
+
5807
+ var toOffset = function(it, BYTES){
5808
+ var offset = toInteger(it);
5809
+ if(offset < 0 || offset % BYTES)throw RangeError('Wrong offset!');
5810
+ return offset;
5811
+ };
5812
+
5813
+ var validate = function(it){
5814
+ if(isObject(it) && TYPED_ARRAY in it)return it;
5815
+ throw TypeError(it + ' is not a typed array!');
5816
+ };
5817
+
5818
+ var allocate = function(C, length){
5819
+ if(!(isObject(C) && TYPED_CONSTRUCTOR in C)){
5820
+ throw TypeError('It is not a typed array constructor!');
5821
+ } return new C(length);
5822
+ };
5823
+
5824
+ var speciesFromList = function(O, list){
5825
+ return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);
5826
+ };
5827
+
5828
+ var fromList = function(C, list){
5829
+ var index = 0
5830
+ , length = list.length
5831
+ , result = allocate(C, length);
5832
+ while(length > index)result[index] = list[index++];
5833
+ return result;
5834
+ };
5835
+
5836
+ var addGetter = function(it, key, internal){
5837
+ dP(it, key, {get: function(){ return this._d[internal]; }});
5838
+ };
5839
+
5840
+ var $from = function from(source /*, mapfn, thisArg */){
5841
+ var O = toObject(source)
5842
+ , aLen = arguments.length
5843
+ , mapfn = aLen > 1 ? arguments[1] : undefined
5844
+ , mapping = mapfn !== undefined
5845
+ , iterFn = getIterFn(O)
5846
+ , i, length, values, result, step, iterator;
5847
+ if(iterFn != undefined && !isArrayIter(iterFn)){
5848
+ for(iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++){
5849
+ values.push(step.value);
5850
+ } O = values;
5851
+ }
5852
+ if(mapping && aLen > 2)mapfn = ctx(mapfn, arguments[2], 2);
5853
+ for(i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++){
5854
+ result[i] = mapping ? mapfn(O[i], i) : O[i];
5855
+ }
5856
+ return result;
5857
+ };
5858
+
5859
+ var $of = function of(/*...items*/){
5860
+ var index = 0
5861
+ , length = arguments.length
5862
+ , result = allocate(this, length);
5863
+ while(length > index)result[index] = arguments[index++];
5864
+ return result;
5865
+ };
5866
+
5867
+ // iOS Safari 6.x fails here
5868
+ var TO_LOCALE_BUG = !!Uint8Array && fails(function(){ arrayToLocaleString.call(new Uint8Array(1)); });
5869
+
5870
+ var $toLocaleString = function toLocaleString(){
5871
+ return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);
5872
+ };
5873
+
5874
+ var proto = {
5875
+ copyWithin: function copyWithin(target, start /*, end */){
5876
+ return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
5877
+ },
5878
+ every: function every(callbackfn /*, thisArg */){
5879
+ return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5880
+ },
5881
+ fill: function fill(value /*, start, end */){ // eslint-disable-line no-unused-vars
5882
+ return arrayFill.apply(validate(this), arguments);
5883
+ },
5884
+ filter: function filter(callbackfn /*, thisArg */){
5885
+ return speciesFromList(this, arrayFilter(validate(this), callbackfn,
5886
+ arguments.length > 1 ? arguments[1] : undefined));
5887
+ },
5888
+ find: function find(predicate /*, thisArg */){
5889
+ return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
5890
+ },
5891
+ findIndex: function findIndex(predicate /*, thisArg */){
5892
+ return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
5893
+ },
5894
+ forEach: function forEach(callbackfn /*, thisArg */){
5895
+ arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5896
+ },
5897
+ indexOf: function indexOf(searchElement /*, fromIndex */){
5898
+ return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
5899
+ },
5900
+ includes: function includes(searchElement /*, fromIndex */){
5901
+ return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
5902
+ },
5903
+ join: function join(separator){ // eslint-disable-line no-unused-vars
5904
+ return arrayJoin.apply(validate(this), arguments);
5905
+ },
5906
+ lastIndexOf: function lastIndexOf(searchElement /*, fromIndex */){ // eslint-disable-line no-unused-vars
5907
+ return arrayLastIndexOf.apply(validate(this), arguments);
5908
+ },
5909
+ map: function map(mapfn /*, thisArg */){
5910
+ return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);
5911
+ },
5912
+ reduce: function reduce(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars
5913
+ return arrayReduce.apply(validate(this), arguments);
5914
+ },
5915
+ reduceRight: function reduceRight(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars
5916
+ return arrayReduceRight.apply(validate(this), arguments);
5917
+ },
5918
+ reverse: function reverse(){
5919
+ var that = this
5920
+ , length = validate(that).length
5921
+ , middle = Math.floor(length / 2)
5922
+ , index = 0
5923
+ , value;
5924
+ while(index < middle){
5925
+ value = that[index];
5926
+ that[index++] = that[--length];
5927
+ that[length] = value;
5928
+ } return that;
5929
+ },
5930
+ some: function some(callbackfn /*, thisArg */){
5931
+ return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
5932
+ },
5933
+ sort: function sort(comparefn){
5934
+ return arraySort.call(validate(this), comparefn);
5935
+ },
5936
+ subarray: function subarray(begin, end){
5937
+ var O = validate(this)
5938
+ , length = O.length
5939
+ , $begin = toIndex(begin, length);
5940
+ return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(
5941
+ O.buffer,
5942
+ O.byteOffset + $begin * O.BYTES_PER_ELEMENT,
5943
+ toLength((end === undefined ? length : toIndex(end, length)) - $begin)
5944
+ );
5945
+ }
5946
+ };
5947
+
5948
+ var $slice = function slice(start, end){
5949
+ return speciesFromList(this, arraySlice.call(validate(this), start, end));
5950
+ };
5951
+
5952
+ var $set = function set(arrayLike /*, offset */){
5953
+ validate(this);
5954
+ var offset = toOffset(arguments[1], 1)
5955
+ , length = this.length
5956
+ , src = toObject(arrayLike)
5957
+ , len = toLength(src.length)
5958
+ , index = 0;
5959
+ if(len + offset > length)throw RangeError(WRONG_LENGTH);
5960
+ while(index < len)this[offset + index] = src[index++];
5961
+ };
5962
+
5963
+ var $iterators = {
5964
+ entries: function entries(){
5965
+ return arrayEntries.call(validate(this));
5966
+ },
5967
+ keys: function keys(){
5968
+ return arrayKeys.call(validate(this));
5969
+ },
5970
+ values: function values(){
5971
+ return arrayValues.call(validate(this));
5972
+ }
5973
+ };
5974
+
5975
+ var isTAIndex = function(target, key){
5976
+ return isObject(target)
5977
+ && target[TYPED_ARRAY]
5978
+ && typeof key != 'symbol'
5979
+ && key in target
5980
+ && String(+key) == String(key);
5981
+ };
5982
+ var $getDesc = function getOwnPropertyDescriptor(target, key){
5983
+ return isTAIndex(target, key = toPrimitive(key, true))
5984
+ ? propertyDesc(2, target[key])
5985
+ : gOPD(target, key);
5986
+ };
5987
+ var $setDesc = function defineProperty(target, key, desc){
5988
+ if(isTAIndex(target, key = toPrimitive(key, true))
5989
+ && isObject(desc)
5990
+ && has(desc, 'value')
5991
+ && !has(desc, 'get')
5992
+ && !has(desc, 'set')
5993
+ // TODO: add validation descriptor w/o calling accessors
5994
+ && !desc.configurable
5995
+ && (!has(desc, 'writable') || desc.writable)
5996
+ && (!has(desc, 'enumerable') || desc.enumerable)
5997
+ ){
5998
+ target[key] = desc.value;
5999
+ return target;
6000
+ } else return dP(target, key, desc);
6001
+ };
6002
+
6003
+ if(!ALL_CONSTRUCTORS){
6004
+ $GOPD.f = $getDesc;
6005
+ $DP.f = $setDesc;
6006
+ }
6007
+
6008
+ $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {
6009
+ getOwnPropertyDescriptor: $getDesc,
6010
+ defineProperty: $setDesc
6011
+ });
6012
+
6013
+ if(fails(function(){ arrayToString.call({}); })){
6014
+ arrayToString = arrayToLocaleString = function toString(){
6015
+ return arrayJoin.call(this);
6016
+ }
6017
+ }
6018
+
6019
+ var $TypedArrayPrototype$ = redefineAll({}, proto);
6020
+ redefineAll($TypedArrayPrototype$, $iterators);
6021
+ hide($TypedArrayPrototype$, ITERATOR, $iterators.values);
6022
+ redefineAll($TypedArrayPrototype$, {
6023
+ slice: $slice,
6024
+ set: $set,
6025
+ constructor: function(){ /* noop */ },
6026
+ toString: arrayToString,
6027
+ toLocaleString: $toLocaleString
6028
+ });
6029
+ addGetter($TypedArrayPrototype$, 'buffer', 'b');
6030
+ addGetter($TypedArrayPrototype$, 'byteOffset', 'o');
6031
+ addGetter($TypedArrayPrototype$, 'byteLength', 'l');
6032
+ addGetter($TypedArrayPrototype$, 'length', 'e');
6033
+ dP($TypedArrayPrototype$, TAG, {
6034
+ get: function(){ return this[TYPED_ARRAY]; }
6035
+ });
6036
+
6037
+ module.exports = function(KEY, BYTES, wrapper, CLAMPED){
6038
+ CLAMPED = !!CLAMPED;
6039
+ var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'
6040
+ , ISNT_UINT8 = NAME != 'Uint8Array'
6041
+ , GETTER = 'get' + KEY
6042
+ , SETTER = 'set' + KEY
6043
+ , TypedArray = global[NAME]
6044
+ , Base = TypedArray || {}
6045
+ , TAC = TypedArray && getPrototypeOf(TypedArray)
6046
+ , FORCED = !TypedArray || !$typed.ABV
6047
+ , O = {}
6048
+ , TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];
6049
+ var getter = function(that, index){
6050
+ var data = that._d;
6051
+ return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);
6052
+ };
6053
+ var setter = function(that, index, value){
6054
+ var data = that._d;
6055
+ if(CLAMPED)value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;
6056
+ data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);
6057
+ };
6058
+ var addElement = function(that, index){
6059
+ dP(that, index, {
6060
+ get: function(){
6061
+ return getter(this, index);
6062
+ },
6063
+ set: function(value){
6064
+ return setter(this, index, value);
6065
+ },
6066
+ enumerable: true
6067
+ });
6068
+ };
6069
+ if(FORCED){
6070
+ TypedArray = wrapper(function(that, data, $offset, $length){
6071
+ anInstance(that, TypedArray, NAME, '_d');
6072
+ var index = 0
6073
+ , offset = 0
6074
+ , buffer, byteLength, length, klass;
6075
+ if(!isObject(data)){
6076
+ length = strictToLength(data, true)
6077
+ byteLength = length * BYTES;
6078
+ buffer = new $ArrayBuffer(byteLength);
6079
+ } else if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){
6080
+ buffer = data;
6081
+ offset = toOffset($offset, BYTES);
6082
+ var $len = data.byteLength;
6083
+ if($length === undefined){
6084
+ if($len % BYTES)throw RangeError(WRONG_LENGTH);
6085
+ byteLength = $len - offset;
6086
+ if(byteLength < 0)throw RangeError(WRONG_LENGTH);
6087
+ } else {
6088
+ byteLength = toLength($length) * BYTES;
6089
+ if(byteLength + offset > $len)throw RangeError(WRONG_LENGTH);
6090
+ }
6091
+ length = byteLength / BYTES;
6092
+ } else if(TYPED_ARRAY in data){
6093
+ return fromList(TypedArray, data);
6094
+ } else {
6095
+ return $from.call(TypedArray, data);
6096
+ }
6097
+ hide(that, '_d', {
6098
+ b: buffer,
6099
+ o: offset,
6100
+ l: byteLength,
6101
+ e: length,
6102
+ v: new $DataView(buffer)
6103
+ });
6104
+ while(index < length)addElement(that, index++);
6105
+ });
6106
+ TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);
6107
+ hide(TypedArrayPrototype, 'constructor', TypedArray);
6108
+ } else if(!$iterDetect(function(iter){
6109
+ // V8 works with iterators, but fails in many other cases
6110
+ // https://code.google.com/p/v8/issues/detail?id=4552
6111
+ new TypedArray(null); // eslint-disable-line no-new
6112
+ new TypedArray(iter); // eslint-disable-line no-new
6113
+ }, true)){
6114
+ TypedArray = wrapper(function(that, data, $offset, $length){
6115
+ anInstance(that, TypedArray, NAME);
6116
+ var klass;
6117
+ // `ws` module bug, temporarily remove validation length for Uint8Array
6118
+ // https://github.com/websockets/ws/pull/645
6119
+ if(!isObject(data))return new Base(strictToLength(data, ISNT_UINT8));
6120
+ if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){
6121
+ return $length !== undefined
6122
+ ? new Base(data, toOffset($offset, BYTES), $length)
6123
+ : $offset !== undefined
6124
+ ? new Base(data, toOffset($offset, BYTES))
6125
+ : new Base(data);
6126
+ }
6127
+ if(TYPED_ARRAY in data)return fromList(TypedArray, data);
6128
+ return $from.call(TypedArray, data);
6129
+ });
6130
+ arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function(key){
6131
+ if(!(key in TypedArray))hide(TypedArray, key, Base[key]);
6132
+ });
6133
+ TypedArray[PROTOTYPE] = TypedArrayPrototype;
6134
+ if(!LIBRARY)TypedArrayPrototype.constructor = TypedArray;
6135
+ }
6136
+ var $nativeIterator = TypedArrayPrototype[ITERATOR]
6137
+ , CORRECT_ITER_NAME = !!$nativeIterator && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined)
6138
+ , $iterator = $iterators.values;
6139
+ hide(TypedArray, TYPED_CONSTRUCTOR, true);
6140
+ hide(TypedArrayPrototype, TYPED_ARRAY, NAME);
6141
+ hide(TypedArrayPrototype, VIEW, true);
6142
+ hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);
6143
+
6144
+ if(CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)){
6145
+ dP(TypedArrayPrototype, TAG, {
6146
+ get: function(){ return NAME; }
6147
+ });
6148
+ }
6149
+
6150
+ O[NAME] = TypedArray;
6151
+
6152
+ $export($export.G + $export.W + $export.F * (TypedArray != Base), O);
6153
+
6154
+ $export($export.S, NAME, {
6155
+ BYTES_PER_ELEMENT: BYTES,
6156
+ from: $from,
6157
+ of: $of
6158
+ });
6159
+
6160
+ if(!(BYTES_PER_ELEMENT in TypedArrayPrototype))hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);
6161
+
6162
+ $export($export.P, NAME, proto);
6163
+
6164
+ setSpecies(NAME);
6165
+
6166
+ $export($export.P + $export.F * FORCED_SET, NAME, {set: $set});
6167
+
6168
+ $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);
6169
+
6170
+ $export($export.P + $export.F * (TypedArrayPrototype.toString != arrayToString), NAME, {toString: arrayToString});
6171
+
6172
+ $export($export.P + $export.F * fails(function(){
6173
+ new TypedArray(1).slice();
6174
+ }), NAME, {slice: $slice});
6175
+
6176
+ $export($export.P + $export.F * (fails(function(){
6177
+ return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString()
6178
+ }) || !fails(function(){
6179
+ TypedArrayPrototype.toLocaleString.call([1, 2]);
6180
+ })), NAME, {toLocaleString: $toLocaleString});
6181
+
6182
+ Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;
6183
+ if(!LIBRARY && !CORRECT_ITER_NAME)hide(TypedArrayPrototype, ITERATOR, $iterator);
6184
+ };
6185
+ } else module.exports = function(){ /* empty */ };
6186
+
6187
+ /***/ },
6188
+ /* 237 */
6189
+ /***/ function(module, exports, __webpack_require__) {
6190
+
6191
+ __webpack_require__(236)('Uint8', 1, function(init){
6192
+ return function Uint8Array(data, byteOffset, length){
6193
+ return init(this, data, byteOffset, length);
6194
+ };
6195
+ });
6196
+
6197
+ /***/ },
6198
+ /* 238 */
6199
+ /***/ function(module, exports, __webpack_require__) {
6200
+
6201
+ __webpack_require__(236)('Uint8', 1, function(init){
6202
+ return function Uint8ClampedArray(data, byteOffset, length){
6203
+ return init(this, data, byteOffset, length);
6204
+ };
6205
+ }, true);
6206
+
6207
+ /***/ },
6208
+ /* 239 */
6209
+ /***/ function(module, exports, __webpack_require__) {
6210
+
6211
+ __webpack_require__(236)('Int16', 2, function(init){
6212
+ return function Int16Array(data, byteOffset, length){
6213
+ return init(this, data, byteOffset, length);
6214
+ };
6215
+ });
6216
+
6217
+ /***/ },
6218
+ /* 240 */
6219
+ /***/ function(module, exports, __webpack_require__) {
6220
+
6221
+ __webpack_require__(236)('Uint16', 2, function(init){
6222
+ return function Uint16Array(data, byteOffset, length){
6223
+ return init(this, data, byteOffset, length);
6224
+ };
6225
+ });
6226
+
6227
+ /***/ },
6228
+ /* 241 */
6229
+ /***/ function(module, exports, __webpack_require__) {
6230
+
6231
+ __webpack_require__(236)('Int32', 4, function(init){
6232
+ return function Int32Array(data, byteOffset, length){
6233
+ return init(this, data, byteOffset, length);
6234
+ };
6235
+ });
6236
+
6237
+ /***/ },
6238
+ /* 242 */
6239
+ /***/ function(module, exports, __webpack_require__) {
6240
+
6241
+ __webpack_require__(236)('Uint32', 4, function(init){
6242
+ return function Uint32Array(data, byteOffset, length){
6243
+ return init(this, data, byteOffset, length);
6244
+ };
6245
+ });
6246
+
6247
+ /***/ },
6248
+ /* 243 */
6249
+ /***/ function(module, exports, __webpack_require__) {
6250
+
6251
+ __webpack_require__(236)('Float32', 4, function(init){
6252
+ return function Float32Array(data, byteOffset, length){
6253
+ return init(this, data, byteOffset, length);
6254
+ };
6255
+ });
6256
+
6257
+ /***/ },
6258
+ /* 244 */
6259
+ /***/ function(module, exports, __webpack_require__) {
6260
+
6261
+ __webpack_require__(236)('Float64', 8, function(init){
6262
+ return function Float64Array(data, byteOffset, length){
6263
+ return init(this, data, byteOffset, length);
6264
+ };
6265
+ });
6266
+
6267
+ /***/ },
6268
+ /* 245 */
6269
+ /***/ function(module, exports, __webpack_require__) {
6270
+
6271
+ 'use strict';
6272
+ // https://github.com/tc39/Array.prototype.includes
6273
+ var $export = __webpack_require__(6)
6274
+ , $includes = __webpack_require__(34)(true);
6275
+
6276
+ $export($export.P, 'Array', {
6277
+ includes: function includes(el /*, fromIndex = 0 */){
6278
+ return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
6279
+ }
6280
+ });
6281
+
6282
+ __webpack_require__(178)('includes');
6283
+
6284
+ /***/ },
6285
+ /* 246 */
6286
+ /***/ function(module, exports, __webpack_require__) {
6287
+
6288
+ 'use strict';
6289
+ // https://github.com/mathiasbynens/String.prototype.at
6290
+ var $export = __webpack_require__(6)
6291
+ , $at = __webpack_require__(125)(true);
6292
+
6293
+ $export($export.P, 'String', {
6294
+ at: function at(pos){
6295
+ return $at(this, pos);
6296
+ }
6297
+ });
6298
+
6299
+ /***/ },
6300
+ /* 247 */
6301
+ /***/ function(module, exports, __webpack_require__) {
6302
+
6303
+ 'use strict';
6304
+ // https://github.com/tc39/proposal-string-pad-start-end
6305
+ var $export = __webpack_require__(6)
6306
+ , $pad = __webpack_require__(248);
6307
+
6308
+ $export($export.P, 'String', {
6309
+ padStart: function padStart(maxLength /*, fillString = ' ' */){
6310
+ return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
6311
+ }
6312
+ });
6313
+
6314
+ /***/ },
6315
+ /* 248 */
6316
+ /***/ function(module, exports, __webpack_require__) {
6317
+
6318
+ // https://github.com/tc39/proposal-string-pad-start-end
6319
+ var toLength = __webpack_require__(35)
6320
+ , repeat = __webpack_require__(85)
6321
+ , defined = __webpack_require__(33);
6322
+
6323
+ module.exports = function(that, maxLength, fillString, left){
6324
+ var S = String(defined(that))
6325
+ , stringLength = S.length
6326
+ , fillStr = fillString === undefined ? ' ' : String(fillString)
6327
+ , intMaxLength = toLength(maxLength);
6328
+ if(intMaxLength <= stringLength || fillStr == '')return S;
6329
+ var fillLen = intMaxLength - stringLength
6330
+ , stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
6331
+ if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);
6332
+ return left ? stringFiller + S : S + stringFiller;
6333
+ };
6334
+
6335
+
6336
+ /***/ },
6337
+ /* 249 */
6338
+ /***/ function(module, exports, __webpack_require__) {
6339
+
6340
+ 'use strict';
6341
+ // https://github.com/tc39/proposal-string-pad-start-end
6342
+ var $export = __webpack_require__(6)
6343
+ , $pad = __webpack_require__(248);
6344
+
6345
+ $export($export.P, 'String', {
6346
+ padEnd: function padEnd(maxLength /*, fillString = ' ' */){
6347
+ return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
6348
+ }
6349
+ });
6350
+
6351
+ /***/ },
6352
+ /* 250 */
6353
+ /***/ function(module, exports, __webpack_require__) {
6354
+
6355
+ 'use strict';
6356
+ // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
6357
+ __webpack_require__(81)('trimLeft', function($trim){
6358
+ return function trimLeft(){
6359
+ return $trim(this, 1);
6360
+ };
6361
+ }, 'trimStart');
6362
+
6363
+ /***/ },
6364
+ /* 251 */
6365
+ /***/ function(module, exports, __webpack_require__) {
6366
+
6367
+ 'use strict';
6368
+ // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
6369
+ __webpack_require__(81)('trimRight', function($trim){
6370
+ return function trimRight(){
6371
+ return $trim(this, 2);
6372
+ };
6373
+ }, 'trimEnd');
6374
+
6375
+ /***/ },
6376
+ /* 252 */
6377
+ /***/ function(module, exports, __webpack_require__) {
6378
+
6379
+ 'use strict';
6380
+ // https://tc39.github.io/String.prototype.matchAll/
6381
+ var $export = __webpack_require__(6)
6382
+ , defined = __webpack_require__(33)
6383
+ , toLength = __webpack_require__(35)
6384
+ , isRegExp = __webpack_require__(128)
6385
+ , getFlags = __webpack_require__(188)
6386
+ , RegExpProto = RegExp.prototype;
6387
+
6388
+ var $RegExpStringIterator = function(regexp, string){
6389
+ this._r = regexp;
6390
+ this._s = string;
6391
+ };
6392
+
6393
+ __webpack_require__(136)($RegExpStringIterator, 'RegExp String', function next(){
6394
+ var match = this._r.exec(this._s);
6395
+ return {value: match, done: match === null};
6396
+ });
6397
+
6398
+ $export($export.P, 'String', {
6399
+ matchAll: function matchAll(regexp){
6400
+ defined(this);
6401
+ if(!isRegExp(regexp))throw TypeError(regexp + ' is not a regexp!');
6402
+ var S = String(this)
6403
+ , flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp)
6404
+ , rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags);
6405
+ rx.lastIndex = toLength(regexp.lastIndex);
6406
+ return new $RegExpStringIterator(rx, S);
6407
+ }
6408
+ });
6409
+
6410
+ /***/ },
6411
+ /* 253 */
6412
+ /***/ function(module, exports, __webpack_require__) {
6413
+
6414
+ __webpack_require__(25)('asyncIterator');
6415
+
6416
+ /***/ },
6417
+ /* 254 */
6418
+ /***/ function(module, exports, __webpack_require__) {
6419
+
6420
+ __webpack_require__(25)('observable');
6421
+
6422
+ /***/ },
6423
+ /* 255 */
6424
+ /***/ function(module, exports, __webpack_require__) {
6425
+
6426
+ // https://github.com/tc39/proposal-object-getownpropertydescriptors
6427
+ var $export = __webpack_require__(6)
6428
+ , ownKeys = __webpack_require__(221)
6429
+ , toIObject = __webpack_require__(30)
6430
+ , gOPD = __webpack_require__(49)
6431
+ , createProperty = __webpack_require__(155);
6432
+
6433
+ $export($export.S, 'Object', {
6434
+ getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){
6435
+ var O = toIObject(object)
6436
+ , getDesc = gOPD.f
6437
+ , keys = ownKeys(O)
6438
+ , result = {}
6439
+ , i = 0
6440
+ , key;
6441
+ while(keys.length > i)createProperty(result, key = keys[i++], getDesc(O, key));
6442
+ return result;
6443
+ }
6444
+ });
6445
+
6446
+ /***/ },
6447
+ /* 256 */
6448
+ /***/ function(module, exports, __webpack_require__) {
6449
+
6450
+ // https://github.com/tc39/proposal-object-values-entries
6451
+ var $export = __webpack_require__(6)
6452
+ , $values = __webpack_require__(257)(false);
6453
+
6454
+ $export($export.S, 'Object', {
6455
+ values: function values(it){
6456
+ return $values(it);
6457
+ }
6458
+ });
6459
+
6460
+ /***/ },
6461
+ /* 257 */
6462
+ /***/ function(module, exports, __webpack_require__) {
6463
+
6464
+ var getKeys = __webpack_require__(28)
6465
+ , toIObject = __webpack_require__(30)
6466
+ , isEnum = __webpack_require__(42).f;
6467
+ module.exports = function(isEntries){
6468
+ return function(it){
6469
+ var O = toIObject(it)
6470
+ , keys = getKeys(O)
6471
+ , length = keys.length
6472
+ , i = 0
6473
+ , result = []
6474
+ , key;
6475
+ while(length > i)if(isEnum.call(O, key = keys[i++])){
6476
+ result.push(isEntries ? [key, O[key]] : O[key]);
6477
+ } return result;
6478
+ };
6479
+ };
6480
+
6481
+ /***/ },
6482
+ /* 258 */
6483
+ /***/ function(module, exports, __webpack_require__) {
6484
+
6485
+ // https://github.com/tc39/proposal-object-values-entries
6486
+ var $export = __webpack_require__(6)
6487
+ , $entries = __webpack_require__(257)(true);
6488
+
6489
+ $export($export.S, 'Object', {
6490
+ entries: function entries(it){
6491
+ return $entries(it);
6492
+ }
6493
+ });
6494
+
6495
+ /***/ },
6496
+ /* 259 */
6497
+ /***/ function(module, exports, __webpack_require__) {
6498
+
6499
+ 'use strict';
6500
+ var $export = __webpack_require__(6)
6501
+ , toObject = __webpack_require__(56)
6502
+ , aFunction = __webpack_require__(19)
6503
+ , $defineProperty = __webpack_require__(9);
6504
+
6505
+ // B.2.2.2 Object.prototype.__defineGetter__(P, getter)
6506
+ __webpack_require__(4) && $export($export.P + __webpack_require__(260), 'Object', {
6507
+ __defineGetter__: function __defineGetter__(P, getter){
6508
+ $defineProperty.f(toObject(this), P, {get: aFunction(getter), enumerable: true, configurable: true});
6509
+ }
6510
+ });
6511
+
6512
+ /***/ },
6513
+ /* 260 */
6514
+ /***/ function(module, exports, __webpack_require__) {
6515
+
6516
+ // Forced replacement prototype accessors methods
6517
+ module.exports = __webpack_require__(26)|| !__webpack_require__(5)(function(){
6518
+ var K = Math.random();
6519
+ // In FF throws only define methods
6520
+ __defineSetter__.call(null, K, function(){ /* empty */});
6521
+ delete __webpack_require__(2)[K];
6522
+ });
6523
+
6524
+ /***/ },
6525
+ /* 261 */
6526
+ /***/ function(module, exports, __webpack_require__) {
6527
+
6528
+ 'use strict';
6529
+ var $export = __webpack_require__(6)
6530
+ , toObject = __webpack_require__(56)
6531
+ , aFunction = __webpack_require__(19)
6532
+ , $defineProperty = __webpack_require__(9);
6533
+
6534
+ // B.2.2.3 Object.prototype.__defineSetter__(P, setter)
6535
+ __webpack_require__(4) && $export($export.P + __webpack_require__(260), 'Object', {
6536
+ __defineSetter__: function __defineSetter__(P, setter){
6537
+ $defineProperty.f(toObject(this), P, {set: aFunction(setter), enumerable: true, configurable: true});
6538
+ }
6539
+ });
6540
+
6541
+ /***/ },
6542
+ /* 262 */
6543
+ /***/ function(module, exports, __webpack_require__) {
6544
+
6545
+ 'use strict';
6546
+ var $export = __webpack_require__(6)
6547
+ , toObject = __webpack_require__(56)
6548
+ , toPrimitive = __webpack_require__(14)
6549
+ , getPrototypeOf = __webpack_require__(57)
6550
+ , getOwnPropertyDescriptor = __webpack_require__(49).f;
6551
+
6552
+ // B.2.2.4 Object.prototype.__lookupGetter__(P)
6553
+ __webpack_require__(4) && $export($export.P + __webpack_require__(260), 'Object', {
6554
+ __lookupGetter__: function __lookupGetter__(P){
6555
+ var O = toObject(this)
6556
+ , K = toPrimitive(P, true)
6557
+ , D;
6558
+ do {
6559
+ if(D = getOwnPropertyDescriptor(O, K))return D.get;
6560
+ } while(O = getPrototypeOf(O));
6561
+ }
6562
+ });
6563
+
6564
+ /***/ },
6565
+ /* 263 */
6566
+ /***/ function(module, exports, __webpack_require__) {
6567
+
6568
+ 'use strict';
6569
+ var $export = __webpack_require__(6)
6570
+ , toObject = __webpack_require__(56)
6571
+ , toPrimitive = __webpack_require__(14)
6572
+ , getPrototypeOf = __webpack_require__(57)
6573
+ , getOwnPropertyDescriptor = __webpack_require__(49).f;
6574
+
6575
+ // B.2.2.5 Object.prototype.__lookupSetter__(P)
6576
+ __webpack_require__(4) && $export($export.P + __webpack_require__(260), 'Object', {
6577
+ __lookupSetter__: function __lookupSetter__(P){
6578
+ var O = toObject(this)
6579
+ , K = toPrimitive(P, true)
6580
+ , D;
6581
+ do {
6582
+ if(D = getOwnPropertyDescriptor(O, K))return D.set;
6583
+ } while(O = getPrototypeOf(O));
6584
+ }
6585
+ });
6586
+
6587
+ /***/ },
6588
+ /* 264 */
6589
+ /***/ function(module, exports, __webpack_require__) {
6590
+
6591
+ // https://github.com/DavidBruant/Map-Set.prototype.toJSON
6592
+ var $export = __webpack_require__(6);
6593
+
6594
+ $export($export.P + $export.R, 'Map', {toJSON: __webpack_require__(265)('Map')});
6595
+
6596
+ /***/ },
6597
+ /* 265 */
6598
+ /***/ function(module, exports, __webpack_require__) {
6599
+
6600
+ // https://github.com/DavidBruant/Map-Set.prototype.toJSON
6601
+ var classof = __webpack_require__(73)
6602
+ , from = __webpack_require__(266);
6603
+ module.exports = function(NAME){
6604
+ return function toJSON(){
6605
+ if(classof(this) != NAME)throw TypeError(NAME + "#toJSON isn't generic");
6606
+ return from(this);
6607
+ };
6608
+ };
6609
+
6610
+ /***/ },
6611
+ /* 266 */
6612
+ /***/ function(module, exports, __webpack_require__) {
6613
+
6614
+ var forOf = __webpack_require__(198);
6615
+
6616
+ module.exports = function(iter, ITERATOR){
6617
+ var result = [];
6618
+ forOf(iter, false, result.push, result, ITERATOR);
6619
+ return result;
6620
+ };
6621
+
6622
+
6623
+ /***/ },
6624
+ /* 267 */
6625
+ /***/ function(module, exports, __webpack_require__) {
6626
+
6627
+ // https://github.com/DavidBruant/Map-Set.prototype.toJSON
6628
+ var $export = __webpack_require__(6);
6629
+
6630
+ $export($export.P + $export.R, 'Set', {toJSON: __webpack_require__(265)('Set')});
6631
+
6632
+ /***/ },
6633
+ /* 268 */
6634
+ /***/ function(module, exports, __webpack_require__) {
6635
+
6636
+ // https://github.com/ljharb/proposal-global
6637
+ var $export = __webpack_require__(6);
6638
+
6639
+ $export($export.S, 'System', {global: __webpack_require__(2)});
6640
+
6641
+ /***/ },
6642
+ /* 269 */
6643
+ /***/ function(module, exports, __webpack_require__) {
6644
+
6645
+ // https://github.com/ljharb/proposal-is-error
6646
+ var $export = __webpack_require__(6)
6647
+ , cof = __webpack_require__(32);
6648
+
6649
+ $export($export.S, 'Error', {
6650
+ isError: function isError(it){
6651
+ return cof(it) === 'Error';
6652
+ }
6653
+ });
6654
+
6655
+ /***/ },
6656
+ /* 270 */
6657
+ /***/ function(module, exports, __webpack_require__) {
6658
+
6659
+ // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
6660
+ var $export = __webpack_require__(6);
6661
+
6662
+ $export($export.S, 'Math', {
6663
+ iaddh: function iaddh(x0, x1, y0, y1){
6664
+ var $x0 = x0 >>> 0
6665
+ , $x1 = x1 >>> 0
6666
+ , $y0 = y0 >>> 0;
6667
+ return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;
6668
+ }
6669
+ });
6670
+
6671
+ /***/ },
6672
+ /* 271 */
6673
+ /***/ function(module, exports, __webpack_require__) {
6674
+
6675
+ // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
6676
+ var $export = __webpack_require__(6);
6677
+
6678
+ $export($export.S, 'Math', {
6679
+ isubh: function isubh(x0, x1, y0, y1){
6680
+ var $x0 = x0 >>> 0
6681
+ , $x1 = x1 >>> 0
6682
+ , $y0 = y0 >>> 0;
6683
+ return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;
6684
+ }
6685
+ });
6686
+
6687
+ /***/ },
6688
+ /* 272 */
6689
+ /***/ function(module, exports, __webpack_require__) {
6690
+
6691
+ // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
6692
+ var $export = __webpack_require__(6);
6693
+
6694
+ $export($export.S, 'Math', {
6695
+ imulh: function imulh(u, v){
6696
+ var UINT16 = 0xffff
6697
+ , $u = +u
6698
+ , $v = +v
6699
+ , u0 = $u & UINT16
6700
+ , v0 = $v & UINT16
6701
+ , u1 = $u >> 16
6702
+ , v1 = $v >> 16
6703
+ , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
6704
+ return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16);
6705
+ }
6706
+ });
6707
+
6708
+ /***/ },
6709
+ /* 273 */
6710
+ /***/ function(module, exports, __webpack_require__) {
6711
+
6712
+ // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
6713
+ var $export = __webpack_require__(6);
6714
+
6715
+ $export($export.S, 'Math', {
6716
+ umulh: function umulh(u, v){
6717
+ var UINT16 = 0xffff
6718
+ , $u = +u
6719
+ , $v = +v
6720
+ , u0 = $u & UINT16
6721
+ , v0 = $v & UINT16
6722
+ , u1 = $u >>> 16
6723
+ , v1 = $v >>> 16
6724
+ , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
6725
+ return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);
6726
+ }
6727
+ });
6728
+
6729
+ /***/ },
6730
+ /* 274 */
6731
+ /***/ function(module, exports, __webpack_require__) {
6732
+
6733
+ var metadata = __webpack_require__(275)
6734
+ , anObject = __webpack_require__(10)
6735
+ , toMetaKey = metadata.key
6736
+ , ordinaryDefineOwnMetadata = metadata.set;
6737
+
6738
+ metadata.exp({defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey){
6739
+ ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));
6740
+ }});
6741
+
6742
+ /***/ },
6743
+ /* 275 */
6744
+ /***/ function(module, exports, __webpack_require__) {
6745
+
6746
+ var Map = __webpack_require__(203)
6747
+ , $export = __webpack_require__(6)
6748
+ , shared = __webpack_require__(21)('metadata')
6749
+ , store = shared.store || (shared.store = new (__webpack_require__(207)));
6750
+
6751
+ var getOrCreateMetadataMap = function(target, targetKey, create){
6752
+ var targetMetadata = store.get(target);
6753
+ if(!targetMetadata){
6754
+ if(!create)return undefined;
6755
+ store.set(target, targetMetadata = new Map);
6756
+ }
6757
+ var keyMetadata = targetMetadata.get(targetKey);
6758
+ if(!keyMetadata){
6759
+ if(!create)return undefined;
6760
+ targetMetadata.set(targetKey, keyMetadata = new Map);
6761
+ } return keyMetadata;
6762
+ };
6763
+ var ordinaryHasOwnMetadata = function(MetadataKey, O, P){
6764
+ var metadataMap = getOrCreateMetadataMap(O, P, false);
6765
+ return metadataMap === undefined ? false : metadataMap.has(MetadataKey);
6766
+ };
6767
+ var ordinaryGetOwnMetadata = function(MetadataKey, O, P){
6768
+ var metadataMap = getOrCreateMetadataMap(O, P, false);
6769
+ return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);
6770
+ };
6771
+ var ordinaryDefineOwnMetadata = function(MetadataKey, MetadataValue, O, P){
6772
+ getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);
6773
+ };
6774
+ var ordinaryOwnMetadataKeys = function(target, targetKey){
6775
+ var metadataMap = getOrCreateMetadataMap(target, targetKey, false)
6776
+ , keys = [];
6777
+ if(metadataMap)metadataMap.forEach(function(_, key){ keys.push(key); });
6778
+ return keys;
6779
+ };
6780
+ var toMetaKey = function(it){
6781
+ return it === undefined || typeof it == 'symbol' ? it : String(it);
6782
+ };
6783
+ var exp = function(O){
6784
+ $export($export.S, 'Reflect', O);
6785
+ };
6786
+
6787
+ module.exports = {
6788
+ store: store,
6789
+ map: getOrCreateMetadataMap,
6790
+ has: ordinaryHasOwnMetadata,
6791
+ get: ordinaryGetOwnMetadata,
6792
+ set: ordinaryDefineOwnMetadata,
6793
+ keys: ordinaryOwnMetadataKeys,
6794
+ key: toMetaKey,
6795
+ exp: exp
6796
+ };
6797
+
6798
+ /***/ },
6799
+ /* 276 */
6800
+ /***/ function(module, exports, __webpack_require__) {
6801
+
6802
+ var metadata = __webpack_require__(275)
6803
+ , anObject = __webpack_require__(10)
6804
+ , toMetaKey = metadata.key
6805
+ , getOrCreateMetadataMap = metadata.map
6806
+ , store = metadata.store;
6807
+
6808
+ metadata.exp({deleteMetadata: function deleteMetadata(metadataKey, target /*, targetKey */){
6809
+ var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2])
6810
+ , metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);
6811
+ if(metadataMap === undefined || !metadataMap['delete'](metadataKey))return false;
6812
+ if(metadataMap.size)return true;
6813
+ var targetMetadata = store.get(target);
6814
+ targetMetadata['delete'](targetKey);
6815
+ return !!targetMetadata.size || store['delete'](target);
6816
+ }});
6817
+
6818
+ /***/ },
6819
+ /* 277 */
6820
+ /***/ function(module, exports, __webpack_require__) {
6821
+
6822
+ var metadata = __webpack_require__(275)
6823
+ , anObject = __webpack_require__(10)
6824
+ , getPrototypeOf = __webpack_require__(57)
6825
+ , ordinaryHasOwnMetadata = metadata.has
6826
+ , ordinaryGetOwnMetadata = metadata.get
6827
+ , toMetaKey = metadata.key;
6828
+
6829
+ var ordinaryGetMetadata = function(MetadataKey, O, P){
6830
+ var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
6831
+ if(hasOwn)return ordinaryGetOwnMetadata(MetadataKey, O, P);
6832
+ var parent = getPrototypeOf(O);
6833
+ return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;
6834
+ };
6835
+
6836
+ metadata.exp({getMetadata: function getMetadata(metadataKey, target /*, targetKey */){
6837
+ return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
6838
+ }});
6839
+
6840
+ /***/ },
6841
+ /* 278 */
6842
+ /***/ function(module, exports, __webpack_require__) {
6843
+
6844
+ var Set = __webpack_require__(206)
6845
+ , from = __webpack_require__(266)
6846
+ , metadata = __webpack_require__(275)
6847
+ , anObject = __webpack_require__(10)
6848
+ , getPrototypeOf = __webpack_require__(57)
6849
+ , ordinaryOwnMetadataKeys = metadata.keys
6850
+ , toMetaKey = metadata.key;
6851
+
6852
+ var ordinaryMetadataKeys = function(O, P){
6853
+ var oKeys = ordinaryOwnMetadataKeys(O, P)
6854
+ , parent = getPrototypeOf(O);
6855
+ if(parent === null)return oKeys;
6856
+ var pKeys = ordinaryMetadataKeys(parent, P);
6857
+ return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;
6858
+ };
6859
+
6860
+ metadata.exp({getMetadataKeys: function getMetadataKeys(target /*, targetKey */){
6861
+ return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
6862
+ }});
6863
+
6864
+ /***/ },
6865
+ /* 279 */
6866
+ /***/ function(module, exports, __webpack_require__) {
6867
+
6868
+ var metadata = __webpack_require__(275)
6869
+ , anObject = __webpack_require__(10)
6870
+ , ordinaryGetOwnMetadata = metadata.get
6871
+ , toMetaKey = metadata.key;
6872
+
6873
+ metadata.exp({getOwnMetadata: function getOwnMetadata(metadataKey, target /*, targetKey */){
6874
+ return ordinaryGetOwnMetadata(metadataKey, anObject(target)
6875
+ , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
6876
+ }});
6877
+
6878
+ /***/ },
6879
+ /* 280 */
6880
+ /***/ function(module, exports, __webpack_require__) {
6881
+
6882
+ var metadata = __webpack_require__(275)
6883
+ , anObject = __webpack_require__(10)
6884
+ , ordinaryOwnMetadataKeys = metadata.keys
6885
+ , toMetaKey = metadata.key;
6886
+
6887
+ metadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetKey */){
6888
+ return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));
6889
+ }});
6890
+
6891
+ /***/ },
6892
+ /* 281 */
6893
+ /***/ function(module, exports, __webpack_require__) {
6894
+
6895
+ var metadata = __webpack_require__(275)
6896
+ , anObject = __webpack_require__(10)
6897
+ , getPrototypeOf = __webpack_require__(57)
6898
+ , ordinaryHasOwnMetadata = metadata.has
6899
+ , toMetaKey = metadata.key;
6900
+
6901
+ var ordinaryHasMetadata = function(MetadataKey, O, P){
6902
+ var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
6903
+ if(hasOwn)return true;
6904
+ var parent = getPrototypeOf(O);
6905
+ return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;
6906
+ };
6907
+
6908
+ metadata.exp({hasMetadata: function hasMetadata(metadataKey, target /*, targetKey */){
6909
+ return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
6910
+ }});
6911
+
6912
+ /***/ },
6913
+ /* 282 */
6914
+ /***/ function(module, exports, __webpack_require__) {
6915
+
6916
+ var metadata = __webpack_require__(275)
6917
+ , anObject = __webpack_require__(10)
6918
+ , ordinaryHasOwnMetadata = metadata.has
6919
+ , toMetaKey = metadata.key;
6920
+
6921
+ metadata.exp({hasOwnMetadata: function hasOwnMetadata(metadataKey, target /*, targetKey */){
6922
+ return ordinaryHasOwnMetadata(metadataKey, anObject(target)
6923
+ , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));
6924
+ }});
6925
+
6926
+ /***/ },
6927
+ /* 283 */
6928
+ /***/ function(module, exports, __webpack_require__) {
6929
+
6930
+ var metadata = __webpack_require__(275)
6931
+ , anObject = __webpack_require__(10)
6932
+ , aFunction = __webpack_require__(19)
6933
+ , toMetaKey = metadata.key
6934
+ , ordinaryDefineOwnMetadata = metadata.set;
6935
+
6936
+ metadata.exp({metadata: function metadata(metadataKey, metadataValue){
6937
+ return function decorator(target, targetKey){
6938
+ ordinaryDefineOwnMetadata(
6939
+ metadataKey, metadataValue,
6940
+ (targetKey !== undefined ? anObject : aFunction)(target),
6941
+ toMetaKey(targetKey)
6942
+ );
6943
+ };
6944
+ }});
6945
+
6946
+ /***/ },
6947
+ /* 284 */
6948
+ /***/ function(module, exports, __webpack_require__) {
6949
+
6950
+ // https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask
6951
+ var $export = __webpack_require__(6)
6952
+ , microtask = __webpack_require__(201)()
6953
+ , process = __webpack_require__(2).process
6954
+ , isNode = __webpack_require__(32)(process) == 'process';
6955
+
6956
+ $export($export.G, {
6957
+ asap: function asap(fn){
6958
+ var domain = isNode && process.domain;
6959
+ microtask(domain ? domain.bind(fn) : fn);
6960
+ }
6961
+ });
6962
+
6963
+ /***/ },
6964
+ /* 285 */
6965
+ /***/ function(module, exports, __webpack_require__) {
6966
+
6967
+ 'use strict';
6968
+ // https://github.com/zenparsing/es-observable
6969
+ var $export = __webpack_require__(6)
6970
+ , global = __webpack_require__(2)
6971
+ , core = __webpack_require__(7)
6972
+ , microtask = __webpack_require__(201)()
6973
+ , OBSERVABLE = __webpack_require__(23)('observable')
6974
+ , aFunction = __webpack_require__(19)
6975
+ , anObject = __webpack_require__(10)
6976
+ , anInstance = __webpack_require__(197)
6977
+ , redefineAll = __webpack_require__(202)
6978
+ , hide = __webpack_require__(8)
6979
+ , forOf = __webpack_require__(198)
6980
+ , RETURN = forOf.RETURN;
6981
+
6982
+ var getMethod = function(fn){
6983
+ return fn == null ? undefined : aFunction(fn);
6984
+ };
6985
+
6986
+ var cleanupSubscription = function(subscription){
6987
+ var cleanup = subscription._c;
6988
+ if(cleanup){
6989
+ subscription._c = undefined;
6990
+ cleanup();
6991
+ }
6992
+ };
6993
+
6994
+ var subscriptionClosed = function(subscription){
6995
+ return subscription._o === undefined;
6996
+ };
6997
+
6998
+ var closeSubscription = function(subscription){
6999
+ if(!subscriptionClosed(subscription)){
7000
+ subscription._o = undefined;
7001
+ cleanupSubscription(subscription);
7002
+ }
7003
+ };
7004
+
7005
+ var Subscription = function(observer, subscriber){
7006
+ anObject(observer);
7007
+ this._c = undefined;
7008
+ this._o = observer;
7009
+ observer = new SubscriptionObserver(this);
7010
+ try {
7011
+ var cleanup = subscriber(observer)
7012
+ , subscription = cleanup;
7013
+ if(cleanup != null){
7014
+ if(typeof cleanup.unsubscribe === 'function')cleanup = function(){ subscription.unsubscribe(); };
7015
+ else aFunction(cleanup);
7016
+ this._c = cleanup;
7017
+ }
7018
+ } catch(e){
7019
+ observer.error(e);
7020
+ return;
7021
+ } if(subscriptionClosed(this))cleanupSubscription(this);
7022
+ };
7023
+
7024
+ Subscription.prototype = redefineAll({}, {
7025
+ unsubscribe: function unsubscribe(){ closeSubscription(this); }
7026
+ });
7027
+
7028
+ var SubscriptionObserver = function(subscription){
7029
+ this._s = subscription;
7030
+ };
7031
+
7032
+ SubscriptionObserver.prototype = redefineAll({}, {
7033
+ next: function next(value){
7034
+ var subscription = this._s;
7035
+ if(!subscriptionClosed(subscription)){
7036
+ var observer = subscription._o;
7037
+ try {
7038
+ var m = getMethod(observer.next);
7039
+ if(m)return m.call(observer, value);
7040
+ } catch(e){
7041
+ try {
7042
+ closeSubscription(subscription);
7043
+ } finally {
7044
+ throw e;
7045
+ }
7046
+ }
7047
+ }
7048
+ },
7049
+ error: function error(value){
7050
+ var subscription = this._s;
7051
+ if(subscriptionClosed(subscription))throw value;
7052
+ var observer = subscription._o;
7053
+ subscription._o = undefined;
7054
+ try {
7055
+ var m = getMethod(observer.error);
7056
+ if(!m)throw value;
7057
+ value = m.call(observer, value);
7058
+ } catch(e){
7059
+ try {
7060
+ cleanupSubscription(subscription);
7061
+ } finally {
7062
+ throw e;
7063
+ }
7064
+ } cleanupSubscription(subscription);
7065
+ return value;
7066
+ },
7067
+ complete: function complete(value){
7068
+ var subscription = this._s;
7069
+ if(!subscriptionClosed(subscription)){
7070
+ var observer = subscription._o;
7071
+ subscription._o = undefined;
7072
+ try {
7073
+ var m = getMethod(observer.complete);
7074
+ value = m ? m.call(observer, value) : undefined;
7075
+ } catch(e){
7076
+ try {
7077
+ cleanupSubscription(subscription);
7078
+ } finally {
7079
+ throw e;
7080
+ }
7081
+ } cleanupSubscription(subscription);
7082
+ return value;
7083
+ }
7084
+ }
7085
+ });
7086
+
7087
+ var $Observable = function Observable(subscriber){
7088
+ anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber);
7089
+ };
7090
+
7091
+ redefineAll($Observable.prototype, {
7092
+ subscribe: function subscribe(observer){
7093
+ return new Subscription(observer, this._f);
7094
+ },
7095
+ forEach: function forEach(fn){
7096
+ var that = this;
7097
+ return new (core.Promise || global.Promise)(function(resolve, reject){
7098
+ aFunction(fn);
7099
+ var subscription = that.subscribe({
7100
+ next : function(value){
7101
+ try {
7102
+ return fn(value);
7103
+ } catch(e){
7104
+ reject(e);
7105
+ subscription.unsubscribe();
7106
+ }
7107
+ },
7108
+ error: reject,
7109
+ complete: resolve
7110
+ });
7111
+ });
7112
+ }
7113
+ });
7114
+
7115
+ redefineAll($Observable, {
7116
+ from: function from(x){
7117
+ var C = typeof this === 'function' ? this : $Observable;
7118
+ var method = getMethod(anObject(x)[OBSERVABLE]);
7119
+ if(method){
7120
+ var observable = anObject(method.call(x));
7121
+ return observable.constructor === C ? observable : new C(function(observer){
7122
+ return observable.subscribe(observer);
7123
+ });
7124
+ }
7125
+ return new C(function(observer){
7126
+ var done = false;
7127
+ microtask(function(){
7128
+ if(!done){
7129
+ try {
7130
+ if(forOf(x, false, function(it){
7131
+ observer.next(it);
7132
+ if(done)return RETURN;
7133
+ }) === RETURN)return;
7134
+ } catch(e){
7135
+ if(done)throw e;
7136
+ observer.error(e);
7137
+ return;
7138
+ } observer.complete();
7139
+ }
7140
+ });
7141
+ return function(){ done = true; };
7142
+ });
7143
+ },
7144
+ of: function of(){
7145
+ for(var i = 0, l = arguments.length, items = Array(l); i < l;)items[i] = arguments[i++];
7146
+ return new (typeof this === 'function' ? this : $Observable)(function(observer){
7147
+ var done = false;
7148
+ microtask(function(){
7149
+ if(!done){
7150
+ for(var i = 0; i < items.length; ++i){
7151
+ observer.next(items[i]);
7152
+ if(done)return;
7153
+ } observer.complete();
7154
+ }
7155
+ });
7156
+ return function(){ done = true; };
7157
+ });
7158
+ }
7159
+ });
7160
+
7161
+ hide($Observable.prototype, OBSERVABLE, function(){ return this; });
7162
+
7163
+ $export($export.G, {Observable: $Observable});
7164
+
7165
+ __webpack_require__(186)('Observable');
7166
+
7167
+ /***/ },
7168
+ /* 286 */
7169
+ /***/ function(module, exports, __webpack_require__) {
7170
+
7171
+ var $export = __webpack_require__(6)
7172
+ , $task = __webpack_require__(200);
7173
+ $export($export.G + $export.B, {
7174
+ setImmediate: $task.set,
7175
+ clearImmediate: $task.clear
7176
+ });
7177
+
7178
+ /***/ },
7179
+ /* 287 */
7180
+ /***/ function(module, exports, __webpack_require__) {
7181
+
7182
+ var $iterators = __webpack_require__(183)
7183
+ , redefine = __webpack_require__(16)
7184
+ , global = __webpack_require__(2)
7185
+ , hide = __webpack_require__(8)
7186
+ , Iterators = __webpack_require__(135)
7187
+ , wks = __webpack_require__(23)
7188
+ , ITERATOR = wks('iterator')
7189
+ , TO_STRING_TAG = wks('toStringTag')
7190
+ , ArrayValues = Iterators.Array;
7191
+
7192
+ for(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){
7193
+ var NAME = collections[i]
7194
+ , Collection = global[NAME]
7195
+ , proto = Collection && Collection.prototype
7196
+ , key;
7197
+ if(proto){
7198
+ if(!proto[ITERATOR])hide(proto, ITERATOR, ArrayValues);
7199
+ if(!proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);
7200
+ Iterators[NAME] = ArrayValues;
7201
+ for(key in $iterators)if(!proto[key])redefine(proto, key, $iterators[key], true);
7202
+ }
7203
+ }
7204
+
7205
+ /***/ },
7206
+ /* 288 */
7207
+ /***/ function(module, exports, __webpack_require__) {
7208
+
7209
+ // ie9- setTimeout & setInterval additional parameters fix
7210
+ var global = __webpack_require__(2)
7211
+ , $export = __webpack_require__(6)
7212
+ , invoke = __webpack_require__(76)
7213
+ , partial = __webpack_require__(289)
7214
+ , navigator = global.navigator
7215
+ , MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check
7216
+ var wrap = function(set){
7217
+ return MSIE ? function(fn, time /*, ...args */){
7218
+ return set(invoke(
7219
+ partial,
7220
+ [].slice.call(arguments, 2),
7221
+ typeof fn == 'function' ? fn : Function(fn)
7222
+ ), time);
7223
+ } : set;
7224
+ };
7225
+ $export($export.G + $export.B + $export.F * MSIE, {
7226
+ setTimeout: wrap(global.setTimeout),
7227
+ setInterval: wrap(global.setInterval)
7228
+ });
7229
+
7230
+ /***/ },
7231
+ /* 289 */
7232
+ /***/ function(module, exports, __webpack_require__) {
7233
+
7234
+ 'use strict';
7235
+ var path = __webpack_require__(290)
7236
+ , invoke = __webpack_require__(76)
7237
+ , aFunction = __webpack_require__(19);
7238
+ module.exports = function(/* ...pargs */){
7239
+ var fn = aFunction(this)
7240
+ , length = arguments.length
7241
+ , pargs = Array(length)
7242
+ , i = 0
7243
+ , _ = path._
7244
+ , holder = false;
7245
+ while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;
7246
+ return function(/* ...args */){
7247
+ var that = this
7248
+ , aLen = arguments.length
7249
+ , j = 0, k = 0, args;
7250
+ if(!holder && !aLen)return invoke(fn, pargs, that);
7251
+ args = pargs.slice();
7252
+ if(holder)for(;length > j; j++)if(args[j] === _)args[j] = arguments[k++];
7253
+ while(aLen > k)args.push(arguments[k++]);
7254
+ return invoke(fn, args, that);
7255
+ };
7256
+ };
7257
+
7258
+ /***/ },
7259
+ /* 290 */
7260
+ /***/ function(module, exports, __webpack_require__) {
7261
+
7262
+ module.exports = __webpack_require__(2);
7263
+
7264
+ /***/ },
7265
+ /* 291 */
7266
+ /***/ function(module, exports, __webpack_require__) {
7267
+
7268
+ 'use strict';
7269
+ var ctx = __webpack_require__(18)
7270
+ , $export = __webpack_require__(6)
7271
+ , createDesc = __webpack_require__(15)
7272
+ , assign = __webpack_require__(67)
7273
+ , create = __webpack_require__(44)
7274
+ , getPrototypeOf = __webpack_require__(57)
7275
+ , getKeys = __webpack_require__(28)
7276
+ , dP = __webpack_require__(9)
7277
+ , keyOf = __webpack_require__(27)
7278
+ , aFunction = __webpack_require__(19)
7279
+ , forOf = __webpack_require__(198)
7280
+ , isIterable = __webpack_require__(292)
7281
+ , $iterCreate = __webpack_require__(136)
7282
+ , step = __webpack_require__(184)
7283
+ , isObject = __webpack_require__(11)
7284
+ , toIObject = __webpack_require__(30)
7285
+ , DESCRIPTORS = __webpack_require__(4)
7286
+ , has = __webpack_require__(3);
7287
+
7288
+ // 0 -> Dict.forEach
7289
+ // 1 -> Dict.map
7290
+ // 2 -> Dict.filter
7291
+ // 3 -> Dict.some
7292
+ // 4 -> Dict.every
7293
+ // 5 -> Dict.find
7294
+ // 6 -> Dict.findKey
7295
+ // 7 -> Dict.mapPairs
7296
+ var createDictMethod = function(TYPE){
7297
+ var IS_MAP = TYPE == 1
7298
+ , IS_EVERY = TYPE == 4;
7299
+ return function(object, callbackfn, that /* = undefined */){
7300
+ var f = ctx(callbackfn, that, 3)
7301
+ , O = toIObject(object)
7302
+ , result = IS_MAP || TYPE == 7 || TYPE == 2
7303
+ ? new (typeof this == 'function' ? this : Dict) : undefined
7304
+ , key, val, res;
7305
+ for(key in O)if(has(O, key)){
7306
+ val = O[key];
7307
+ res = f(val, key, object);
7308
+ if(TYPE){
7309
+ if(IS_MAP)result[key] = res; // map
7310
+ else if(res)switch(TYPE){
7311
+ case 2: result[key] = val; break; // filter
7312
+ case 3: return true; // some
7313
+ case 5: return val; // find
7314
+ case 6: return key; // findKey
7315
+ case 7: result[res[0]] = res[1]; // mapPairs
7316
+ } else if(IS_EVERY)return false; // every
7317
+ }
7318
+ }
7319
+ return TYPE == 3 || IS_EVERY ? IS_EVERY : result;
7320
+ };
7321
+ };
7322
+ var findKey = createDictMethod(6);
7323
+
7324
+ var createDictIter = function(kind){
7325
+ return function(it){
7326
+ return new DictIterator(it, kind);
7327
+ };
7328
+ };
7329
+ var DictIterator = function(iterated, kind){
7330
+ this._t = toIObject(iterated); // target
7331
+ this._a = getKeys(iterated); // keys
7332
+ this._i = 0; // next index
7333
+ this._k = kind; // kind
7334
+ };
7335
+ $iterCreate(DictIterator, 'Dict', function(){
7336
+ var that = this
7337
+ , O = that._t
7338
+ , keys = that._a
7339
+ , kind = that._k
7340
+ , key;
7341
+ do {
7342
+ if(that._i >= keys.length){
7343
+ that._t = undefined;
7344
+ return step(1);
7345
+ }
7346
+ } while(!has(O, key = keys[that._i++]));
7347
+ if(kind == 'keys' )return step(0, key);
7348
+ if(kind == 'values')return step(0, O[key]);
7349
+ return step(0, [key, O[key]]);
7350
+ });
7351
+
7352
+ function Dict(iterable){
7353
+ var dict = create(null);
7354
+ if(iterable != undefined){
7355
+ if(isIterable(iterable)){
7356
+ forOf(iterable, true, function(key, value){
7357
+ dict[key] = value;
7358
+ });
7359
+ } else assign(dict, iterable);
7360
+ }
7361
+ return dict;
7362
+ }
7363
+ Dict.prototype = null;
7364
+
7365
+ function reduce(object, mapfn, init){
7366
+ aFunction(mapfn);
7367
+ var O = toIObject(object)
7368
+ , keys = getKeys(O)
7369
+ , length = keys.length
7370
+ , i = 0
7371
+ , memo, key;
7372
+ if(arguments.length < 3){
7373
+ if(!length)throw TypeError('Reduce of empty object with no initial value');
7374
+ memo = O[keys[i++]];
7375
+ } else memo = Object(init);
7376
+ while(length > i)if(has(O, key = keys[i++])){
7377
+ memo = mapfn(memo, O[key], key, object);
7378
+ }
7379
+ return memo;
7380
+ }
7381
+
7382
+ function includes(object, el){
7383
+ return (el == el ? keyOf(object, el) : findKey(object, function(it){
7384
+ return it != it;
7385
+ })) !== undefined;
7386
+ }
7387
+
7388
+ function get(object, key){
7389
+ if(has(object, key))return object[key];
7390
+ }
7391
+ function set(object, key, value){
7392
+ if(DESCRIPTORS && key in Object)dP.f(object, key, createDesc(0, value));
7393
+ else object[key] = value;
7394
+ return object;
7395
+ }
7396
+
7397
+ function isDict(it){
7398
+ return isObject(it) && getPrototypeOf(it) === Dict.prototype;
7399
+ }
7400
+
7401
+ $export($export.G + $export.F, {Dict: Dict});
7402
+
7403
+ $export($export.S, 'Dict', {
7404
+ keys: createDictIter('keys'),
7405
+ values: createDictIter('values'),
7406
+ entries: createDictIter('entries'),
7407
+ forEach: createDictMethod(0),
7408
+ map: createDictMethod(1),
7409
+ filter: createDictMethod(2),
7410
+ some: createDictMethod(3),
7411
+ every: createDictMethod(4),
7412
+ find: createDictMethod(5),
7413
+ findKey: findKey,
7414
+ mapPairs: createDictMethod(7),
7415
+ reduce: reduce,
7416
+ keyOf: keyOf,
7417
+ includes: includes,
7418
+ has: has,
7419
+ get: get,
7420
+ set: set,
7421
+ isDict: isDict
7422
+ });
7423
+
7424
+ /***/ },
7425
+ /* 292 */
7426
+ /***/ function(module, exports, __webpack_require__) {
7427
+
7428
+ var classof = __webpack_require__(73)
7429
+ , ITERATOR = __webpack_require__(23)('iterator')
7430
+ , Iterators = __webpack_require__(135);
7431
+ module.exports = __webpack_require__(7).isIterable = function(it){
7432
+ var O = Object(it);
7433
+ return O[ITERATOR] !== undefined
7434
+ || '@@iterator' in O
7435
+ || Iterators.hasOwnProperty(classof(O));
7436
+ };
7437
+
7438
+ /***/ },
7439
+ /* 293 */
7440
+ /***/ function(module, exports, __webpack_require__) {
7441
+
7442
+ var anObject = __webpack_require__(10)
7443
+ , get = __webpack_require__(156);
7444
+ module.exports = __webpack_require__(7).getIterator = function(it){
7445
+ var iterFn = get(it);
7446
+ if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');
7447
+ return anObject(iterFn.call(it));
7448
+ };
7449
+
7450
+ /***/ },
7451
+ /* 294 */
7452
+ /***/ function(module, exports, __webpack_require__) {
7453
+
7454
+ var global = __webpack_require__(2)
7455
+ , core = __webpack_require__(7)
7456
+ , $export = __webpack_require__(6)
7457
+ , partial = __webpack_require__(289);
7458
+ // https://esdiscuss.org/topic/promise-returning-delay-function
7459
+ $export($export.G + $export.F, {
7460
+ delay: function delay(time){
7461
+ return new (core.Promise || global.Promise)(function(resolve){
7462
+ setTimeout(partial.call(resolve, true), time);
7463
+ });
7464
+ }
7465
+ });
7466
+
7467
+ /***/ },
7468
+ /* 295 */
7469
+ /***/ function(module, exports, __webpack_require__) {
7470
+
7471
+ var path = __webpack_require__(290)
7472
+ , $export = __webpack_require__(6);
7473
+
7474
+ // Placeholder
7475
+ __webpack_require__(7)._ = path._ = path._ || {};
7476
+
7477
+ $export($export.P + $export.F, 'Function', {part: __webpack_require__(289)});
7478
+
7479
+ /***/ },
7480
+ /* 296 */
7481
+ /***/ function(module, exports, __webpack_require__) {
7482
+
7483
+ var $export = __webpack_require__(6);
7484
+
7485
+ $export($export.S + $export.F, 'Object', {isObject: __webpack_require__(11)});
7486
+
7487
+ /***/ },
7488
+ /* 297 */
7489
+ /***/ function(module, exports, __webpack_require__) {
7490
+
7491
+ var $export = __webpack_require__(6);
7492
+
7493
+ $export($export.S + $export.F, 'Object', {classof: __webpack_require__(73)});
7494
+
7495
+ /***/ },
7496
+ /* 298 */
7497
+ /***/ function(module, exports, __webpack_require__) {
7498
+
7499
+ var $export = __webpack_require__(6)
7500
+ , define = __webpack_require__(299);
7501
+
7502
+ $export($export.S + $export.F, 'Object', {define: define});
7503
+
7504
+ /***/ },
7505
+ /* 299 */
7506
+ /***/ function(module, exports, __webpack_require__) {
7507
+
7508
+ var dP = __webpack_require__(9)
7509
+ , gOPD = __webpack_require__(49)
7510
+ , ownKeys = __webpack_require__(221)
7511
+ , toIObject = __webpack_require__(30);
7512
+
7513
+ module.exports = function define(target, mixin){
7514
+ var keys = ownKeys(toIObject(mixin))
7515
+ , length = keys.length
7516
+ , i = 0, key;
7517
+ while(length > i)dP.f(target, key = keys[i++], gOPD.f(mixin, key));
7518
+ return target;
7519
+ };
7520
+
7521
+ /***/ },
7522
+ /* 300 */
7523
+ /***/ function(module, exports, __webpack_require__) {
7524
+
7525
+ var $export = __webpack_require__(6)
7526
+ , define = __webpack_require__(299)
7527
+ , create = __webpack_require__(44);
7528
+
7529
+ $export($export.S + $export.F, 'Object', {
7530
+ make: function(proto, mixin){
7531
+ return define(create(proto), mixin);
7532
+ }
7533
+ });
7534
+
7535
+ /***/ },
7536
+ /* 301 */
7537
+ /***/ function(module, exports, __webpack_require__) {
7538
+
7539
+ 'use strict';
7540
+ __webpack_require__(134)(Number, 'Number', function(iterated){
7541
+ this._l = +iterated;
7542
+ this._i = 0;
7543
+ }, function(){
7544
+ var i = this._i++
7545
+ , done = !(i < this._l);
7546
+ return {done: done, value: done ? undefined : i};
7547
+ });
7548
+
7549
+ /***/ },
7550
+ /* 302 */
7551
+ /***/ function(module, exports, __webpack_require__) {
7552
+
7553
+ // https://github.com/benjamingr/RexExp.escape
7554
+ var $export = __webpack_require__(6)
7555
+ , $re = __webpack_require__(303)(/[\\^$*+?.()|[\]{}]/g, '\\$&');
7556
+
7557
+ $export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});
7558
+
7559
+
7560
+ /***/ },
7561
+ /* 303 */
7562
+ /***/ function(module, exports) {
7563
+
7564
+ module.exports = function(regExp, replace){
7565
+ var replacer = replace === Object(replace) ? function(part){
7566
+ return replace[part];
7567
+ } : replace;
7568
+ return function(it){
7569
+ return String(it).replace(regExp, replacer);
7570
+ };
7571
+ };
7572
+
7573
+ /***/ },
7574
+ /* 304 */
7575
+ /***/ function(module, exports, __webpack_require__) {
7576
+
7577
+ 'use strict';
7578
+ var $export = __webpack_require__(6);
7579
+ var $re = __webpack_require__(303)(/[&<>"']/g, {
7580
+ '&': '&amp;',
7581
+ '<': '&lt;',
7582
+ '>': '&gt;',
7583
+ '"': '&quot;',
7584
+ "'": '&apos;'
7585
+ });
7586
+
7587
+ $export($export.P + $export.F, 'String', {escapeHTML: function escapeHTML(){ return $re(this); }});
7588
+
7589
+ /***/ },
7590
+ /* 305 */
7591
+ /***/ function(module, exports, __webpack_require__) {
7592
+
7593
+ 'use strict';
7594
+ var $export = __webpack_require__(6);
7595
+ var $re = __webpack_require__(303)(/&(?:amp|lt|gt|quot|apos);/g, {
7596
+ '&amp;': '&',
7597
+ '&lt;': '<',
7598
+ '&gt;': '>',
7599
+ '&quot;': '"',
7600
+ '&apos;': "'"
7601
+ });
7602
+
7603
+ $export($export.P + $export.F, 'String', {unescapeHTML: function unescapeHTML(){ return $re(this); }});
7604
+
7605
+ /***/ }
7606
+ /******/ ]);
7607
+ // CommonJS export
7608
+ if(typeof module != 'undefined' && module.exports)module.exports = __e;
7609
+ // RequireJS export
7610
+ else if(typeof define == 'function' && define.amd)define(function(){return __e});
7611
+ // Export to global object
7612
+ else __g.core = __e;
7613
  }(1, 1);
admin/includes/admin-notices.php CHANGED
@@ -1,369 +1,369 @@
1
- <?php
2
-
3
- namespace PremiumAddons\Admin\Includes;
4
-
5
- use PremiumAddons\Helper_Functions;
6
-
7
- if( ! defined( 'ABSPATH') ) exit();
8
-
9
- class Admin_Notices {
10
-
11
- private static $instance = null;
12
-
13
- private static $elementor = 'elementor';
14
-
15
- private static $papro = 'premium-addons-pro';
16
-
17
- /**
18
- * Constructor for the class
19
- */
20
- public function __construct() {
21
-
22
- add_action( 'admin_init', array( $this, 'init') );
23
-
24
- add_action( 'admin_notices', array( $this, 'admin_notices' ) );
25
-
26
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
27
-
28
- add_action( 'wp_ajax_pa_reset_admin_notice', array( $this, 'reset_admin_notice' ) );
29
-
30
- add_action( 'wp_ajax_pa_dismiss_admin_notice', array( $this, 'dismiss_admin_notice' ) );
31
-
32
- }
33
-
34
- /**
35
- * init required functions
36
- */
37
- public function init() {
38
-
39
- $this->handle_review_notice();
40
-
41
- $this->handle_hscroll_notice();
42
-
43
- }
44
-
45
- /**
46
- * init notices check functions
47
- */
48
- public function admin_notices() {
49
-
50
- $this->required_plugins_check();
51
-
52
- $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
53
-
54
- $response = get_transient( $cache_key );
55
-
56
- if ( false == $response ) {
57
- $this->get_review_notice();
58
- }
59
-
60
- $this->get_hscroll_notice();
61
-
62
- }
63
-
64
- /**
65
- *
66
- * Checks if review message is dismissed.
67
- *
68
- * @access public
69
- * @return void
70
- *
71
- */
72
- public function handle_review_notice() {
73
-
74
- if ( ! isset( $_GET['pa_review'] ) ) {
75
- return;
76
- }
77
-
78
- if ( 'opt_out' === $_GET['pa_review'] ) {
79
- check_admin_referer( 'opt_out' );
80
-
81
- update_option( 'pa_review_notice', '1' );
82
- }
83
-
84
- wp_redirect( remove_query_arg( 'pa_review' ) );
85
-
86
- exit;
87
- }
88
-
89
- /**
90
- * Checks if Premium Horizontal Scroll message is dismissed.
91
- *
92
- * @since 3.11.7
93
- * @access public
94
- *
95
- * @return void
96
- */
97
- public function handle_hscroll_notice() {
98
-
99
- if ( ! isset( $_GET['hscroll'] ) ) {
100
- return;
101
- }
102
-
103
- if ( 'opt_out' === $_GET['hscroll'] ) {
104
- check_admin_referer( 'opt_out' );
105
-
106
- update_option( 'hscroll_notice', '1' );
107
- }
108
-
109
- wp_redirect( remove_query_arg( 'hscroll' ) );
110
- exit;
111
- }
112
-
113
- /**
114
- * Required plugin check
115
- *
116
- * Shows an admin notice when Elementor is missing.
117
- *
118
- * @access public
119
- *
120
- * @return boolean
121
- */
122
- public function required_plugins_check() {
123
-
124
- $elementor_path = sprintf( '%1$s/%1$s.php', self::$elementor );
125
-
126
- if( ! defined('ELEMENTOR_VERSION' ) ) {
127
-
128
- if ( ! Helper_Functions::is_plugin_installed( $elementor_path ) ) {
129
-
130
- if( self::check_user_can( 'install_plugins' ) ) {
131
-
132
- $install_url = wp_nonce_url( self_admin_url( sprintf( 'update.php?action=install-plugin&plugin=%s', self::$elementor ) ), 'install-plugin_elementor' );
133
-
134
- $message = sprintf( '<p>%s</p>', __('Premium Addons for Elementor is not working because you need to Install Elementor plugin.', 'premium-addons-for-elementor' ) );
135
-
136
- $message .= sprintf( '<p><a href="%s" class="button-primary">%s</a></p>', $install_url, __( 'Install Now', 'premium-addons-for-elementor' ) );
137
-
138
- }
139
- } else {
140
- if( self::check_user_can( 'activate_plugins' ) ) {
141
-
142
- $activation_url = wp_nonce_url( 'plugins.php?action=activate&amp;plugin=' . $elementor_path . '&amp;plugin_status=all&amp;paged=1&amp;s', 'activate-plugin_' . $elementor_path );
143
-
144
- $message = '<p>' . __( 'Premium Addons for Elementor is not working because you need to activate Elementor plugin.', 'premium-addons-for-elementor' ) . '</p>';
145
-
146
- $message .= '<p>' . sprintf( '<a href="%s" class="button-primary">%s</a>', $activation_url, __( 'Activate Now', 'premium-addons-for-elementor' ) ) . '</p>';
147
-
148
- }
149
- }
150
- $this->render_admin_notices( $message );
151
- }
152
- }
153
-
154
- /**
155
- * Gets admin review notice HTML
156
- *
157
- * @since 2.8.4
158
- * @return void
159
- *
160
- */
161
- public function get_review_text( $review_url, $optout_url ) {
162
-
163
- $notice = sprintf(
164
- '<p>' . __('Did you like','premium-addons-for-elementor') . '<strong>&nbspPremium Addons for Elementor&nbsp</strong>' . __('Plugin?','premium-addons-for-elementor') . '</p>
165
- <p>' . __('Could you please do us a BIG favor ? if you could take 2 min of your time, we\'d really appreciate if you give Premium Addons for Elementor 5-star rating on WordPress. By spreading the love, we can create even greater free stuff in the future!','premium-addons-for-elementor') . '</p>
166
- <p><a class="button button-primary" href="%s" target="_blank"><span><i class="dashicons dashicons-external"></i>' . __('Leave a Review','premium-addons-for-elementor') . '</span></a>
167
- <a class="button button-secondary pa-notice-reset"><span><i class="dashicons dashicons-calendar-alt"></i>' . __('Maybe Later','premium-addons-for-elementor') . '</span></a>
168
- <a class="button button-secondary" href="%2$s"><span><i class="dashicons dashicons-smiley"></i>' . __('I Already did','premium-addons-for-elementor') . '</span></a>
169
- </p>',
170
- $review_url, $optout_url );
171
-
172
- return $notice;
173
- }
174
-
175
- /**
176
- * Checks if review admin notice is dismissed
177
- *
178
- * @since 2.6.8
179
- * @return void
180
- *
181
- */
182
- public function get_review_notice() {
183
-
184
- $review = get_option( 'pa_review_notice' );
185
-
186
- $review_url = 'https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/?filter=5';
187
-
188
- if ( '1' === $review ) {
189
- return;
190
- } else if ( '1' !== $review ) {
191
- $optout_url = wp_nonce_url( add_query_arg( 'pa_review', 'opt_out' ), 'opt_out' );
192
- ?>
193
-
194
- <div class="error pa-notice-wrap" data-notice="pa-review">
195
- <div class="pa-img-wrap">
196
- <img src="<?php echo PREMIUM_ADDONS_URL .'admin/images/premium-addons-logo.png'; ?>">
197
- </div>
198
- <div class="pa-text-wrap">
199
- <?php echo $this->get_review_text( $review_url, $optout_url ); ?>
200
- </div>
201
- <div class="pa-notice-close">
202
- <a href="<?php echo esc_url( $optout_url ); ?>"><span class="dashicons dashicons-dismiss"></span></a>
203
- </div>
204
- </div>
205
-
206
- <?php }
207
-
208
- }
209
-
210
-
211
- /**
212
- *
213
- * Shows admin notice for Premium Horizontal Scroll.
214
- *
215
- * @since 3.11.7
216
- * @access public
217
- *
218
- * @return void
219
- */
220
- public function get_hscroll_notice() {
221
-
222
- $hscroll_notice = get_option( 'hscroll_notice' );
223
-
224
- if( '1' === $hscroll_notice )
225
- return;
226
-
227
- $theme = Helper_Functions::get_installed_theme();
228
-
229
- $notice_url = sprintf( 'https://premiumaddons.com/elementor-horizontal-scroll-widget/?utm_source=hscroll-notification&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme );
230
-
231
- $templates_message = '<div class="pa-text-wrap">';
232
-
233
- $templates_message .= '<img class="pa-notice-logo" src="' . PREMIUM_ADDONS_URL .'admin/images/premium-addons-logo.png' . '">';
234
-
235
- $templates_message .= '<strong>' . __('Premium Horizontal Scroll','premium-addons-for-elementor') . '&nbsp</strong><span>' . __('widget is now available in Premium Addons Pro.', 'premium-addons-for-elementor') . '&nbsp</span><a href="' . esc_url( $notice_url ) . '" target="_blank">' . __('Check it out now', 'premium-addons-for-elementor') . '</a>';
236
-
237
- $templates_message .= '<div class="pa-notice-close" data-notice="hscroll"><span class="dashicons dashicons-dismiss"></span></div>';
238
-
239
- $templates_message .= '</div>';
240
-
241
- $this->render_admin_notices( $templates_message );
242
-
243
-
244
-
245
- }
246
-
247
- /**
248
- * Checks user credentials for specific action
249
- *
250
- * @since 2.6.8
251
- *
252
- * @return boolean
253
- */
254
- public static function check_user_can( $action ) {
255
- return current_user_can( $action );
256
- }
257
-
258
- /**
259
- * Renders an admin notice error message
260
- *
261
- * @since 1.0.0
262
- * @access private
263
- *
264
- * @return void
265
- */
266
- private function render_admin_notices( $message, $class = '', $handle = '' ) {
267
- ?>
268
- <div class="error pa-new-feature-notice <?php echo $class; ?>" data-notice="<?php echo $handle; ?>">
269
- <?php echo $message; ?>
270
- </div>
271
- <?php
272
- }
273
-
274
- /*
275
- * Register admin scripts
276
- *
277
- * @since 3.2.8
278
- * @access public
279
- *
280
- */
281
- public function admin_enqueue_scripts() {
282
-
283
- wp_enqueue_script(
284
- 'pa-notice',
285
- PREMIUM_ADDONS_URL . 'admin/assets/js/pa-notice.js',
286
- array( 'jquery' ),
287
- PREMIUM_ADDONS_VERSION,
288
- true
289
- );
290
-
291
- }
292
-
293
- /**
294
- * Set transient for admin notice
295
- *
296
- * @since 3.2.8
297
- * @access public
298
- *
299
- * @return void
300
- */
301
- public function reset_admin_notice() {
302
-
303
- $key = isset( $_POST['notice'] ) ? $_POST['notice'] : '';
304
-
305
- if ( ! empty( $key ) ) {
306
-
307
- $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
308
-
309
- set_transient( $cache_key, true, WEEK_IN_SECONDS );
310
-
311
- wp_send_json_success();
312
-
313
- } else {
314
-
315
- wp_send_json_error();
316
-
317
- }
318
-
319
- }
320
-
321
- /**
322
- * Dismiss admin notice
323
- *
324
- * @since 3.11.7
325
- * @access public
326
- *
327
- * @return void
328
- */
329
- public function dismiss_admin_notice() {
330
-
331
- $key = isset( $_POST['notice'] ) ? $_POST['notice'] : '';
332
-
333
- if ( ! empty( $key ) ) {
334
-
335
- update_option( 'hscroll_notice', '1' );
336
-
337
- wp_send_json_success();
338
-
339
- } else {
340
-
341
- wp_send_json_error();
342
-
343
- }
344
-
345
- }
346
-
347
-
348
-
349
- public static function get_instance() {
350
- if( self::$instance == null ) {
351
- self::$instance = new self;
352
- }
353
- return self::$instance;
354
- }
355
-
356
- }
357
-
358
- if( ! function_exists('get_notices_instance') ) {
359
- /**
360
- * Returns an instance of the plugin class.
361
- * @since 1.1.1
362
- * @return object
363
- */
364
- function get_notices_instance() {
365
- return Admin_Notices::get_instance();
366
- }
367
- }
368
-
369
  get_notices_instance();
1
+ <?php
2
+
3
+ namespace PremiumAddons\Admin\Includes;
4
+
5
+ use PremiumAddons\Helper_Functions;
6
+
7
+ if( ! defined( 'ABSPATH') ) exit();
8
+
9
+ class Admin_Notices {
10
+
11
+ private static $instance = null;
12
+
13
+ private static $elementor = 'elementor';
14
+
15
+ private static $papro = 'premium-addons-pro';
16
+
17
+ /**
18
+ * Constructor for the class
19
+ */
20
+ public function __construct() {
21
+
22
+ add_action( 'admin_init', array( $this, 'init') );
23
+
24
+ add_action( 'admin_notices', array( $this, 'admin_notices' ) );
25
+
26
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
27
+
28
+ add_action( 'wp_ajax_pa_reset_admin_notice', array( $this, 'reset_admin_notice' ) );
29
+
30
+ add_action( 'wp_ajax_pa_dismiss_admin_notice', array( $this, 'dismiss_admin_notice' ) );
31
+
32
+ }
33
+
34
+ /**
35
+ * init required functions
36
+ */
37
+ public function init() {
38
+
39
+ $this->handle_review_notice();
40
+
41
+ $this->handle_hscroll_notice();
42
+
43
+ }
44
+
45
+ /**
46
+ * init notices check functions
47
+ */
48
+ public function admin_notices() {
49
+
50
+ $this->required_plugins_check();
51
+
52
+ $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
53
+
54
+ $response = get_transient( $cache_key );
55
+
56
+ if ( false == $response ) {
57
+ $this->get_review_notice();
58
+ }
59
+
60
+ $this->get_hscroll_notice();
61
+
62
+ }
63
+
64
+ /**
65
+ *
66
+ * Checks if review message is dismissed.
67
+ *
68
+ * @access public
69
+ * @return void
70
+ *
71
+ */
72
+ public function handle_review_notice() {
73
+
74
+ if ( ! isset( $_GET['pa_review'] ) ) {
75
+ return;
76
+ }
77
+
78
+ if ( 'opt_out' === $_GET['pa_review'] ) {
79
+ check_admin_referer( 'opt_out' );
80
+
81
+ update_option( 'pa_review_notice', '1' );
82
+ }
83
+
84
+ wp_redirect( remove_query_arg( 'pa_review' ) );
85
+
86
+ exit;
87
+ }
88
+
89
+ /**
90
+ * Checks if Premium Horizontal Scroll message is dismissed.
91
+ *
92
+ * @since 3.11.7
93
+ * @access public
94
+ *
95
+ * @return void
96
+ */
97
+ public function handle_hscroll_notice() {
98
+
99
+ if ( ! isset( $_GET['hscroll'] ) ) {
100
+ return;
101
+ }
102
+
103
+ if ( 'opt_out' === $_GET['hscroll'] ) {
104
+ check_admin_referer( 'opt_out' );
105
+
106
+ update_option( 'hscroll_notice', '1' );
107
+ }
108
+
109
+ wp_redirect( remove_query_arg( 'hscroll' ) );
110
+ exit;
111
+ }
112
+
113
+ /**
114
+ * Required plugin check
115
+ *
116
+ * Shows an admin notice when Elementor is missing.
117
+ *
118
+ * @access public
119
+ *
120
+ * @return boolean
121
+ */
122
+ public function required_plugins_check() {
123
+
124
+ $elementor_path = sprintf( '%1$s/%1$s.php', self::$elementor );
125
+
126
+ if( ! defined('ELEMENTOR_VERSION' ) ) {
127
+
128
+ if ( ! Helper_Functions::is_plugin_installed( $elementor_path ) ) {
129
+
130
+ if( self::check_user_can( 'install_plugins' ) ) {
131
+
132
+ $install_url = wp_nonce_url( self_admin_url( sprintf( 'update.php?action=install-plugin&plugin=%s', self::$elementor ) ), 'install-plugin_elementor' );
133
+
134
+ $message = sprintf( '<p>%s</p>', __('Premium Addons for Elementor is not working because you need to Install Elementor plugin.', 'premium-addons-for-elementor' ) );
135
+
136
+ $message .= sprintf( '<p><a href="%s" class="button-primary">%s</a></p>', $install_url, __( 'Install Now', 'premium-addons-for-elementor' ) );
137
+
138
+ }
139
+ } else {
140
+ if( self::check_user_can( 'activate_plugins' ) ) {
141
+
142
+ $activation_url = wp_nonce_url( 'plugins.php?action=activate&amp;plugin=' . $elementor_path . '&amp;plugin_status=all&amp;paged=1&amp;s', 'activate-plugin_' . $elementor_path );
143
+
144
+ $message = '<p>' . __( 'Premium Addons for Elementor is not working because you need to activate Elementor plugin.', 'premium-addons-for-elementor' ) . '</p>';
145
+
146
+ $message .= '<p>' . sprintf( '<a href="%s" class="button-primary">%s</a>', $activation_url, __( 'Activate Now', 'premium-addons-for-elementor' ) ) . '</p>';
147
+
148
+ }
149
+ }
150
+ $this->render_admin_notices( $message );
151
+ }
152
+ }
153
+
154
+ /**
155
+ * Gets admin review notice HTML
156
+ *
157
+ * @since 2.8.4
158
+ * @return void
159
+ *
160
+ */
161
+ public function get_review_text( $review_url, $optout_url ) {
162
+
163
+ $notice = sprintf(
164
+ '<p>' . __('Did you like','premium-addons-for-elementor') . '<strong>&nbspPremium Addons for Elementor&nbsp</strong>' . __('Plugin?','premium-addons-for-elementor') . '</p>
165
+ <p>' . __('Could you please do us a BIG favor ? if you could take 2 min of your time, we\'d really appreciate if you give Premium Addons for Elementor 5-star rating on WordPress. By spreading the love, we can create even greater free stuff in the future!','premium-addons-for-elementor') . '</p>
166
+ <p><a class="button button-primary" href="%s" target="_blank"><span><i class="dashicons dashicons-external"></i>' . __('Leave a Review','premium-addons-for-elementor') . '</span></a>
167
+ <a class="button button-secondary pa-notice-reset"><span><i class="dashicons dashicons-calendar-alt"></i>' . __('Maybe Later','premium-addons-for-elementor') . '</span></a>
168
+ <a class="button button-secondary" href="%2$s"><span><i class="dashicons dashicons-smiley"></i>' . __('I Already did','premium-addons-for-elementor') . '</span></a>
169
+ </p>',
170
+ $review_url, $optout_url );
171
+
172
+ return $notice;
173
+ }
174
+
175
+ /**
176
+ * Checks if review admin notice is dismissed
177
+ *
178
+ * @since 2.6.8
179
+ * @return void
180
+ *
181
+ */
182
+ public function get_review_notice() {
183
+
184
+ $review = get_option( 'pa_review_notice' );
185
+
186
+ $review_url = 'https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/?filter=5';
187
+
188
+ if ( '1' === $review ) {
189
+ return;
190
+ } else if ( '1' !== $review ) {
191
+ $optout_url = wp_nonce_url( add_query_arg( 'pa_review', 'opt_out' ), 'opt_out' );
192
+ ?>
193
+
194
+ <div class="error pa-notice-wrap" data-notice="pa-review">
195
+ <div class="pa-img-wrap">
196
+ <img src="<?php echo PREMIUM_ADDONS_URL .'admin/images/premium-addons-logo.png'; ?>">
197
+ </div>
198
+ <div class="pa-text-wrap">
199
+ <?php echo $this->get_review_text( $review_url, $optout_url ); ?>
200
+ </div>
201
+ <div class="pa-notice-close">
202
+ <a href="<?php echo esc_url( $optout_url ); ?>"><span class="dashicons dashicons-dismiss"></span></a>
203
+ </div>
204
+ </div>
205
+
206
+ <?php }
207
+
208
+ }
209
+
210
+
211
+ /**
212
+ *
213
+ * Shows admin notice for Premium Horizontal Scroll.
214
+ *
215
+ * @since 3.11.7
216
+ * @access public
217
+ *
218
+ * @return void
219
+ */
220
+ public function get_hscroll_notice() {
221
+
222
+ $hscroll_notice = get_option( 'hscroll_notice' );
223
+
224
+ if( '1' === $hscroll_notice )
225
+ return;
226
+
227
+ $theme = Helper_Functions::get_installed_theme();
228
+
229
+ $notice_url = sprintf( 'https://premiumaddons.com/elementor-horizontal-scroll-widget/?utm_source=hscroll-notification&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme );
230
+
231
+ $templates_message = '<div class="pa-text-wrap">';
232
+
233
+ $templates_message .= '<img class="pa-notice-logo" src="' . PREMIUM_ADDONS_URL .'admin/images/premium-addons-logo.png' . '">';
234
+
235
+ $templates_message .= '<strong>' . __('Premium Horizontal Scroll','premium-addons-for-elementor') . '&nbsp</strong><span>' . __('widget is now available in Premium Addons Pro.', 'premium-addons-for-elementor') . '&nbsp</span><a href="' . esc_url( $notice_url ) . '" target="_blank">' . __('Check it out now', 'premium-addons-for-elementor') . '</a>';
236
+
237
+ $templates_message .= '<div class="pa-notice-close" data-notice="hscroll"><span class="dashicons dashicons-dismiss"></span></div>';
238
+
239
+ $templates_message .= '</div>';
240
+
241
+ $this->render_admin_notices( $templates_message );
242
+
243
+
244
+
245
+ }
246
+
247
+ /**
248
+ * Checks user credentials for specific action
249
+ *
250
+ * @since 2.6.8
251
+ *
252
+ * @return boolean
253
+ */
254
+ public static function check_user_can( $action ) {
255
+ return current_user_can( $action );
256
+ }
257
+
258
+ /**
259
+ * Renders an admin notice error message
260
+ *
261
+ * @since 1.0.0
262
+ * @access private
263
+ *
264
+ * @return void
265
+ */
266
+ private function render_admin_notices( $message, $class = '', $handle = '' ) {
267
+ ?>
268
+ <div class="error pa-new-feature-notice <?php echo $class; ?>" data-notice="<?php echo $handle; ?>">
269
+ <?php echo $message; ?>
270
+ </div>
271
+ <?php
272
+ }
273
+
274
+ /*
275
+ * Register admin scripts
276
+ *
277
+ * @since 3.2.8
278
+ * @access public
279
+ *
280
+ */
281
+ public function admin_enqueue_scripts() {
282
+
283
+ wp_enqueue_script(
284
+ 'pa-notice',
285
+ PREMIUM_ADDONS_URL . 'admin/assets/js/pa-notice.js',
286
+ array( 'jquery' ),
287
+ PREMIUM_ADDONS_VERSION,
288
+ true
289
+ );
290
+
291
+ }
292
+
293
+ /**
294
+ * Set transient for admin notice
295
+ *
296
+ * @since 3.2.8
297
+ * @access public
298
+ *
299
+ * @return void
300
+ */
301
+ public function reset_admin_notice() {
302
+
303
+ $key = isset( $_POST['notice'] ) ? $_POST['notice'] : '';
304
+
305
+ if ( ! empty( $key ) ) {
306
+
307
+ $cache_key = 'premium_notice_' . PREMIUM_ADDONS_VERSION;
308
+
309
+ set_transient( $cache_key, true, WEEK_IN_SECONDS );
310
+
311
+ wp_send_json_success();
312
+
313
+ } else {
314
+
315
+ wp_send_json_error();
316
+
317
+ }
318
+
319
+ }
320
+
321
+ /**
322
+ * Dismiss admin notice
323
+ *
324
+ * @since 3.11.7
325
+ * @access public
326
+ *
327
+ * @return void
328
+ */
329
+ public function dismiss_admin_notice() {
330
+
331
+ $key = isset( $_POST['notice'] ) ? $_POST['notice'] : '';
332
+
333
+ if ( ! empty( $key ) ) {
334
+
335
+ update_option( 'hscroll_notice', '1' );
336
+
337
+ wp_send_json_success();
338
+
339
+ } else {
340
+
341
+ wp_send_json_error();
342
+
343
+ }
344
+
345
+ }
346
+
347
+
348
+
349
+ public static function get_instance() {
350
+ if( self::$instance == null ) {
351
+ self::$instance = new self;
352
+ }
353
+ return self::$instance;
354
+ }
355
+
356
+ }
357
+
358
+ if( ! function_exists('get_notices_instance') ) {
359
+ /**
360
+ * Returns an instance of the plugin class.
361
+ * @since 1.1.1
362
+ * @return object
363
+ */
364
+ function get_notices_instance() {
365
+ return Admin_Notices::get_instance();
366
+ }
367
+ }
368
+
369
  get_notices_instance();
admin/includes/dep/admin-helper.php CHANGED
@@ -1,345 +1,345 @@
1
- <?php
2
-
3
- namespace PremiumAddons\Admin\Includes;
4
-
5
- use PremiumAddons\Admin\Settings\Modules_Settings;
6
- use PremiumAddons\Helper_Functions;
7
-
8
- if ( ! defined( 'ABSPATH' ) ) exit;
9
-
10
- class Admin_Helper {
11
-
12
- const DUPLICATE_ACTION = 'pa_duplicator';
13
-
14
- protected $page_slug = 'premium-addons';
15
-
16
- private static $instance = null;
17
-
18
- public static $current_screen = null;
19
-
20
- /**
21
- * Constructor for the class
22
- */
23
- public function __construct() {
24
-
25
- add_action( 'current_screen', array( $this, 'get_current_screen' ) );
26
-
27
- add_filter( 'plugin_action_links_' . PREMIUM_ADDONS_BASENAME, array( $this, 'insert_action_links' ) );
28
-
29
- add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 2 );
30
-
31
- if( ! Modules_Settings::check_premium_duplicator() )
32
- return;
33
-
34
- add_action( 'admin_action_' . self::DUPLICATE_ACTION, array( $this, 'duplicate_post' ) );
35
- add_filter( 'post_row_actions', array( $this, 'add_duplicator_actions' ), 10, 2 );
36
- add_filter( 'page_row_actions', array( $this, 'add_duplicator_actions' ), 10, 2 );
37
-
38
- }
39
-
40
- /**
41
- * Insert action links.
42
- *
43
- * Adds action links to the plugin list table
44
- *
45
- * Fired by `plugin_action_links` filter.
46
- *
47
- * @since 1.0.0
48
- * @access public
49
- *
50
- */
51
- public function insert_action_links( $links ) {
52
-
53
- $papro_path = 'premium-addons-pro/premium-addons-pro-for-elementor.php';
54
-
55
- $is_papro_installed = Helper_Functions::is_plugin_installed( $papro_path );
56
-
57
- $settings_link = sprintf( '<a href="%1$s">%2$s</a>', admin_url( 'admin.php?page=' . $this->page_slug ), __( 'Settings', 'premium-addons-for-elementor' ) );
58
-
59
- $rollback_link = sprintf( '<a href="%1$s">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __( 'Rollback to Version ' . PREMIUM_ADDONS_STABLE_VERSION, 'premium-addons-for-elementor' ) );
60
-
61
- $new_links = array( $settings_link, $rollback_link );
62
-
63
- if( ! $is_papro_installed ) {
64
-
65
- $theme = Helper_Functions::get_installed_theme();
66
-
67
- $link = sprintf( 'https://premiumaddons.com/pro/?utm_source=plugins-page&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme );
68
-
69
- $pro_link = sprintf( '<a href="%s" target="_blank" style="color: #39b54a; font-weight: bold;">%s</a>', $link, __( 'Go Pro', 'premium-addons-for-elementor' ) );
70
- array_push ( $new_links, $pro_link );
71
- }
72
-
73
- $new_links = array_merge( $links, $new_links );
74
-
75
- return $new_links;
76
- }
77
-
78
- /**
79
- * Plugin row meta.
80
- *
81
- * Extends plugin row meta links
82
- *
83
- * Fired by `plugin_row_meta` filter.
84
- *
85
- * @since 3.8.4
86
- * @access public
87
- *
88
- * @return array An array of plugin row meta links.
89
- */
90
- public function plugin_row_meta( $meta, $file ) {
91
-
92
- if( Helper_Functions::is_hide_row_meta() )
93
- return $meta;
94
-
95
- if ( PREMIUM_ADDONS_BASENAME == $file ) {
96
-
97
- $theme = Helper_Functions::get_installed_theme();
98
-
99
- $link = sprintf( 'https://premiumaddons.com/support/?utm_source=plugins-page&utm_medium=wp-dash&utm_campaign=get-support&utm_term=%s', $theme );
100
-
101
- $row_meta = [
102
- 'docs' => '<a href="' . esc_attr( $link ) . '" aria-label="' . esc_attr( __( 'View Premium Addons for Elementor Documentation', 'premium-addons-for-elementor' ) ) . '" target="_blank">' . __( 'Docs & FAQs', 'premium-addons-for-elementor' ) . '</a>',
103
- 'videos' => '<a href="https://www.youtube.com/watch?v=D3INxWw_jKI&list=PLLpZVOYpMtTArB4hrlpSnDJB36D2sdoTv" aria-label="' . esc_attr( __( 'View Premium Addons Video Tutorials', 'premium-addons-for-elementor' ) ) . '" target="_blank">' . __( 'Video Tutorials', 'premium-addons-for-elementor' ) . '</a>',
104
- ];
105
-
106
- $meta = array_merge( $meta, $row_meta );
107
- }
108
-
109
- return $meta;
110
-
111
- }
112
-
113
- /**
114
- * Add Duplicator Actions
115
- *
116
- * Add duplicator action links to posts/pages
117
- *
118
- * @access public
119
- * @since 3.9.7
120
- *
121
- * @param array $actions
122
- * @param \WP_Post $post
123
- * @return array
124
- */
125
- public function add_duplicator_actions( $actions, $post ) {
126
-
127
- if ( current_user_can( 'edit_posts' ) && post_type_supports( $post->post_type, 'elementor' ) ) {
128
-
129
- $actions[ self::DUPLICATE_ACTION ] = sprintf(
130
- '<a href="%1$s" title="%2$s"><span class="screen-reader-text">%2$s</span>%3$s</a>',
131
- esc_url( self::get_duplicate_url( $post->ID ) ),
132
- sprintf( esc_attr__( 'Duplicate - %s', 'premium-addons-for-elementor' ), esc_attr( $post->post_title ) ),
133
- __( 'PA Duplicate', 'premium-addons-for-elementor' )
134
- );
135
-
136
- }
137
-
138
- return $actions;
139
- }
140
-
141
- /**
142
- * Get duplicate url
143
- *
144
- * @access public
145
- * @since 3.9.7
146
- *
147
- * @param $post_id
148
- * @return string
149
- */
150
- public static function get_duplicate_url( $post_id ) {
151
- return wp_nonce_url(
152
- add_query_arg(
153
- [
154
- 'action' => self::DUPLICATE_ACTION,
155
- 'post_id' => $post_id
156
- ],
157
- admin_url( 'admin.php' )
158
- ),
159
- self::DUPLICATE_ACTION
160
- );
161
- }
162
-
163
- /**
164
- * Duplicate required post/page
165
- *
166
- * @access public
167
- * @since 3.9.7
168
- *
169
- * @return void
170
- */
171
- public function duplicate_post() {
172
-
173
- if ( ! current_user_can( 'edit_posts' ) )
174
- return;
175
-
176
- $nonce = isset( $_GET['_wpnonce'] ) ? $_GET['_wpnonce'] : '';
177
- $post_id = isset( $_GET['post_id'] ) ? absint( $_GET['post_id'] ) : 0;
178
-
179
-
180
- if ( ! wp_verify_nonce( $nonce, self::DUPLICATE_ACTION ) )
181
- return;
182
-
183
- if ( is_null( $post = get_post( $post_id ) ) )
184
- return;
185
-
186
- $post = sanitize_post( $post, 'db' );
187
-
188
- $duplicated_post_id = self::insert_post( $post );
189
-
190
- $redirect = add_query_arg( array (
191
- 'post_type' => $post->post_type
192
- ),
193
- admin_url( 'edit.php' )
194
- );
195
-
196
- if ( ! is_wp_error( $duplicated_post_id ) ) {
197
-
198
- self::duplicate_post_taxonomies( $post, $duplicated_post_id );
199
- self::duplicate_post_meta_data( $post, $duplicated_post_id );
200
-
201
- }
202
-
203
- wp_safe_redirect( $redirect );
204
- die();
205
- }
206
-
207
- /**
208
- * Duplicate required post/page
209
- *
210
- * @access public
211
- * @since 3.9.7
212
- *
213
- * @return void
214
- */
215
- protected static function insert_post( $post ) {
216
- $current_user = wp_get_current_user();
217
-
218
- $post_meta = get_post_meta( $post->ID );
219
-
220
- $duplicated_post_args = [
221
- 'post_status' => 'draft',
222
- 'post_type' => $post->post_type,
223
- 'post_parent' => $post->post_parent,
224
- 'post_content' => $post->post_content,
225
- 'menu_order' => $post->menu_order,
226
- 'ping_status' => $post->ping_status,
227
- 'post_excerpt' => $post->post_excerpt,
228
- 'post_password' => $post->post_password,
229
- 'comment_status' => $post->comment_status,
230
- 'to_ping' => $post->to_ping,
231
- 'post_author' => $current_user->ID,
232
- 'post_title' => sprintf( __( 'Duplicated: %s - [#%d]', 'premium-addons-for-elementor' ), $post->post_title,
233
- $post->ID )
234
- ];
235
-
236
- if( isset( $post_meta['_elementor_edit_mode'][0] ) ) {
237
-
238
- $data = [
239
- 'meta_input' => array(
240
- '_elementor_edit_mode' => $post_meta['_elementor_edit_mode'][0],
241
- '_elementor_template_type' => $post_meta['_elementor_template_type'][0],
242
- )
243
- ];
244
-
245
- $duplicated_post_args = array_merge( $duplicated_post_args, $data );
246
-
247
- }
248
-
249
- return wp_insert_post( $duplicated_post_args );
250
- }
251
-
252
- /**
253
- * Add post taxonomies to the cloned version
254
- *
255
- * @access public
256
- * @since 3.9.7
257
- *
258
- * @param $post
259
- * @param $id
260
- */
261
- public static function duplicate_post_taxonomies( $post, $id ) {
262
-
263
- $taxonomies = get_object_taxonomies( $post->post_type );
264
-
265
- if ( ! empty( $taxonomies ) && is_array( $taxonomies ) ) {
266
- foreach ( $taxonomies as $taxonomy ) {
267
- $terms = wp_get_object_terms( $post->ID, $taxonomy, [ 'fields' => 'slugs' ] );
268
- wp_set_object_terms( $id, $terms, $taxonomy, false );
269
- }
270
- }
271
- }
272
-
273
- /**
274
- * Add post meta data to the cloned version
275
- *
276
- * @access public
277
- * @since 3.9.7
278
- *
279
- * @param $post
280
- * @param $id
281
- */
282
- public static function duplicate_post_meta_data( $post, $id ) {
283
-
284
- global $wpdb;
285
-
286
- $meta = $wpdb->get_results(
287
- $wpdb->prepare( "SELECT meta_key, meta_value FROM {$wpdb->postmeta} WHERE post_id = %d", $post->ID )
288
- );
289
-
290
- if ( ! empty( $meta ) && is_array( $meta ) ) {
291
-
292
- $query = "INSERT INTO {$wpdb->postmeta} ( post_id, meta_key, meta_value ) VALUES ";
293
-
294
- $_records = [];
295
-
296
- foreach ( $meta as $meta_info ) {
297
- $_value = wp_slash( $meta_info->meta_value );
298
- $_records[] = "( $id, '{$meta_info->meta_key}', '{$_value}' )";
299
- }
300
-
301
- $query .= implode( ', ', $_records ) . ';';
302
- $wpdb->query( $query );
303
- }
304
-
305
- }
306
-
307
- /**
308
- * Gets current screen slug
309
- *
310
- * @since 3.3.8
311
- * @access public
312
- *
313
- * @return string current screen slug
314
- */
315
- public static function get_current_screen() {
316
-
317
- self::$current_screen = get_current_screen()->id;
318
-
319
- return isset( self::$current_screen ) ? self::$current_screen : false;
320
-
321
- }
322
-
323
- public static function get_instance() {
324
- if( self::$instance == null ) {
325
- self::$instance = new self;
326
- }
327
- return self::$instance;
328
- }
329
-
330
- }
331
-
332
- if( ! function_exists('get_admin_helper_instance') ) {
333
- /**
334
- * Returns an instance of the plugin class.
335
- *
336
- * @since 3.3.8
337
- *
338
- * @return object
339
- */
340
- function get_admin_helper_instance() {
341
- return Admin_Helper::get_instance();
342
- }
343
- }
344
-
345
  get_admin_helper_instance();
1
+ <?php
2
+
3
+ namespace PremiumAddons\Admin\Includes;
4
+
5
+ use PremiumAddons\Admin\Settings\Modules_Settings;
6
+ use PremiumAddons\Helper_Functions;
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) exit;
9
+
10
+ class Admin_Helper {
11
+
12
+ const DUPLICATE_ACTION = 'pa_duplicator';
13
+
14
+ protected $page_slug = 'premium-addons';
15
+
16
+ private static $instance = null;
17
+
18
+ public static $current_screen = null;
19
+
20
+ /**
21
+ * Constructor for the class
22
+ */
23
+ public function __construct() {
24
+
25
+ add_action( 'current_screen', array( $this, 'get_current_screen' ) );
26
+
27
+ add_filter( 'plugin_action_links_' . PREMIUM_ADDONS_BASENAME, array( $this, 'insert_action_links' ) );
28
+
29
+ add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 2 );
30
+
31
+ if( ! Modules_Settings::check_premium_duplicator() )
32
+ return;
33
+
34
+ add_action( 'admin_action_' . self::DUPLICATE_ACTION, array( $this, 'duplicate_post' ) );
35
+ add_filter( 'post_row_actions', array( $this, 'add_duplicator_actions' ), 10, 2 );
36
+ add_filter( 'page_row_actions', array( $this, 'add_duplicator_actions' ), 10, 2 );
37
+
38
+ }
39
+
40
+ /**
41
+ * Insert action links.
42
+ *
43
+ * Adds action links to the plugin list table
44
+ *
45
+ * Fired by `plugin_action_links` filter.
46
+ *
47
+ * @since 1.0.0
48
+ * @access public
49
+ *
50
+ */
51
+ public function insert_action_links( $links ) {
52
+
53
+ $papro_path = 'premium-addons-pro/premium-addons-pro-for-elementor.php';
54
+
55
+ $is_papro_installed = Helper_Functions::is_plugin_installed( $papro_path );
56
+
57
+ $settings_link = sprintf( '<a href="%1$s">%2$s</a>', admin_url( 'admin.php?page=' . $this->page_slug ), __( 'Settings', 'premium-addons-for-elementor' ) );
58
+
59
+ $rollback_link = sprintf( '<a href="%1$s">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __( 'Rollback to Version ' . PREMIUM_ADDONS_STABLE_VERSION, 'premium-addons-for-elementor' ) );
60
+
61
+ $new_links = array( $settings_link, $rollback_link );
62
+
63
+ if( ! $is_papro_installed ) {
64
+
65
+ $theme = Helper_Functions::get_installed_theme();
66
+
67
+ $link = sprintf( 'https://premiumaddons.com/pro/?utm_source=plugins-page&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme );
68
+
69
+ $pro_link = sprintf( '<a href="%s" target="_blank" style="color: #39b54a; font-weight: bold;">%s</a>', $link, __( 'Go Pro', 'premium-addons-for-elementor' ) );
70
+ array_push ( $new_links, $pro_link );
71
+ }
72
+
73
+ $new_links = array_merge( $links, $new_links );
74
+
75
+ return $new_links;
76
+ }
77
+
78
+ /**
79
+ * Plugin row meta.
80
+ *
81
+ * Extends plugin row meta links
82
+ *
83
+ * Fired by `plugin_row_meta` filter.
84
+ *
85
+ * @since 3.8.4
86
+ * @access public
87
+ *
88
+ * @return array An array of plugin row meta links.
89
+ */
90
+ public function plugin_row_meta( $meta, $file ) {
91
+
92
+ if( Helper_Functions::is_hide_row_meta() )
93
+ return $meta;
94
+
95
+ if ( PREMIUM_ADDONS_BASENAME == $file ) {
96
+
97
+ $theme = Helper_Functions::get_installed_theme();
98
+
99
+ $link = sprintf( 'https://premiumaddons.com/support/?utm_source=plugins-page&utm_medium=wp-dash&utm_campaign=get-support&utm_term=%s', $theme );
100
+
101
+ $row_meta = [
102
+ 'docs' => '<a href="' . esc_attr( $link ) . '" aria-label="' . esc_attr( __( 'View Premium Addons for Elementor Documentation', 'premium-addons-for-elementor' ) ) . '" target="_blank">' . __( 'Docs & FAQs', 'premium-addons-for-elementor' ) . '</a>',
103
+ 'videos' => '<a href="https://www.youtube.com/watch?v=D3INxWw_jKI&list=PLLpZVOYpMtTArB4hrlpSnDJB36D2sdoTv" aria-label="' . esc_attr( __( 'View Premium Addons Video Tutorials', 'premium-addons-for-elementor' ) ) . '" target="_blank">' . __( 'Video Tutorials', 'premium-addons-for-elementor' ) . '</a>',
104
+ ];
105
+
106
+ $meta = array_merge( $meta, $row_meta );
107
+ }
108
+
109
+ return $meta;
110
+
111
+ }
112
+
113
+ /**
114
+ * Add Duplicator Actions
115
+ *
116
+ * Add duplicator action links to posts/pages
117
+ *
118
+ * @access public
119
+ * @since 3.9.7
120
+ *
121
+ * @param array $actions
122
+ * @param \WP_Post $post
123
+ * @return array
124
+ */
125
+ public function add_duplicator_actions( $actions, $post ) {
126
+
127
+ if ( current_user_can( 'edit_posts' ) && post_type_supports( $post->post_type, 'elementor' ) ) {
128
+
129
+ $actions[ self::DUPLICATE_ACTION ] = sprintf(
130
+ '<a href="%1$s" title="%2$s"><span class="screen-reader-text">%2$s</span>%3$s</a>',
131
+ esc_url( self::get_duplicate_url( $post->ID ) ),
132
+ sprintf( esc_attr__( 'Duplicate - %s', 'premium-addons-for-elementor' ), esc_attr( $post->post_title ) ),
133
+ __( 'PA Duplicate', 'premium-addons-for-elementor' )
134
+ );
135
+
136
+ }
137
+
138
+ return $actions;
139
+ }
140
+
141
+ /**
142
+ * Get duplicate url
143
+ *
144
+ * @access public
145
+ * @since 3.9.7
146
+ *
147
+ * @param $post_id
148
+ * @return string
149
+ */
150
+ public static function get_duplicate_url( $post_id ) {
151
+ return wp_nonce_url(
152
+ add_query_arg(
153
+ [
154
+ 'action' => self::DUPLICATE_ACTION,
155
+ 'post_id' => $post_id
156
+ ],
157
+ admin_url( 'admin.php' )
158
+ ),
159
+ self::DUPLICATE_ACTION
160
+ );
161
+ }
162
+
163
+ /**
164
+ * Duplicate required post/page
165
+ *
166
+ * @access public
167
+ * @since 3.9.7
168
+ *
169
+ * @return void
170
+ */
171
+ public function duplicate_post() {
172
+
173
+ if ( ! current_user_can( 'edit_posts' ) )
174
+ return;
175
+
176
+ $nonce = isset( $_GET['_wpnonce'] ) ? $_GET['_wpnonce'] : '';
177
+ $post_id = isset( $_GET['post_id'] ) ? absint( $_GET['post_id'] ) : 0;
178
+
179
+
180
+ if ( ! wp_verify_nonce( $nonce, self::DUPLICATE_ACTION ) )
181
+ return;
182
+
183
+ if ( is_null( $post = get_post( $post_id ) ) )
184
+ return;
185
+
186
+ $post = sanitize_post( $post, 'db' );
187
+
188
+ $duplicated_post_id = self::insert_post( $post );
189
+
190
+ $redirect = add_query_arg( array (
191
+ 'post_type' => $post->post_type
192
+ ),
193
+ admin_url( 'edit.php' )
194
+ );
195
+
196
+ if ( ! is_wp_error( $duplicated_post_id ) ) {
197
+
198
+ self::duplicate_post_taxonomies( $post, $duplicated_post_id );
199
+ self::duplicate_post_meta_data( $post, $duplicated_post_id );
200
+
201
+ }
202
+
203
+ wp_safe_redirect( $redirect );
204
+ die();
205
+ }
206
+
207
+ /**
208
+ * Duplicate required post/page
209
+ *
210
+ * @access public
211
+ * @since 3.9.7
212
+ *
213
+ * @return void
214
+ */
215
+ protected static function insert_post( $post ) {
216
+ $current_user = wp_get_current_user();
217
+
218
+ $post_meta = get_post_meta( $post->ID );
219
+
220
+ $duplicated_post_args = [
221
+ 'post_status' => 'draft',
222
+ 'post_type' => $post->post_type,
223
+ 'post_parent' => $post->post_parent,
224
+ 'post_content' => $post->post_content,
225
+ 'menu_order' => $post->menu_order,
226
+ 'ping_status' => $post->ping_status,
227
+ 'post_excerpt' => $post->post_excerpt,
228
+ 'post_password' => $post->post_password,
229
+ 'comment_status' => $post->comment_status,
230
+ 'to_ping' => $post->to_ping,
231
+ 'post_author' => $current_user->ID,
232
+ 'post_title' => sprintf( __( 'Duplicated: %s - [#%d]', 'premium-addons-for-elementor' ), $post->post_title,
233
+ $post->ID )
234
+ ];
235
+
236
+ if( isset( $post_meta['_elementor_edit_mode'][0] ) ) {
237
+
238
+ $data = [
239
+ 'meta_input' => array(
240
+ '_elementor_edit_mode' => $post_meta['_elementor_edit_mode'][0],
241
+ '_elementor_template_type' => $post_meta['_elementor_template_type'][0],
242
+ )
243
+ ];
244
+
245
+ $duplicated_post_args = array_merge( $duplicated_post_args, $data );
246
+
247
+ }
248
+
249
+ return wp_insert_post( $duplicated_post_args );
250
+ }
251
+
252
+ /**
253
+ * Add post taxonomies to the cloned version
254
+ *
255
+ * @access public
256
+ * @since 3.9.7
257
+ *
258
+ * @param $post
259
+ * @param $id
260
+ */
261
+ public static function duplicate_post_taxonomies( $post, $id ) {
262
+
263
+ $taxonomies = get_object_taxonomies( $post->post_type );
264
+
265
+ if ( ! empty( $taxonomies ) && is_array( $taxonomies ) ) {
266
+ foreach ( $taxonomies as $taxonomy ) {
267
+ $terms = wp_get_object_terms( $post->ID, $taxonomy, [ 'fields' => 'slugs' ] );
268
+ wp_set_object_terms( $id, $terms, $taxonomy, false );
269
+ }
270
+ }
271
+ }
272
+
273
+ /**
274
+ * Add post meta data to the cloned version
275
+ *
276
+ * @access public
277
+ * @since 3.9.7
278
+ *
279
+ * @param $post
280
+ * @param $id
281
+ */
282
+ public static function duplicate_post_meta_data( $post, $id ) {
283
+
284
+ global $wpdb;
285
+
286
+ $meta = $wpdb->get_results(
287
+ $wpdb->prepare( "SELECT meta_key, meta_value FROM {$wpdb->postmeta} WHERE post_id = %d", $post->ID )
288
+ );
289
+
290
+ if ( ! empty( $meta ) && is_array( $meta ) ) {
291
+
292
+ $query = "INSERT INTO {$wpdb->postmeta} ( post_id, meta_key, meta_value ) VALUES ";
293
+
294
+ $_records = [];
295
+
296
+ foreach ( $meta as $meta_info ) {
297
+ $_value = wp_slash( $meta_info->meta_value );
298
+ $_records[] = "( $id, '{$meta_info->meta_key}', '{$_value}' )";
299
+ }
300
+
301
+ $query .= implode( ', ', $_records ) . ';';
302
+ $wpdb->query( $query );
303
+ }
304
+
305
+ }
306
+
307
+ /**
308
+ * Gets current screen slug
309
+ *
310
+ * @since 3.3.8
311
+ * @access public
312
+ *
313
+ * @return string current screen slug
314
+ */
315
+ public static function get_current_screen() {
316
+
317
+ self::$current_screen = get_current_screen()->id;
318
+
319
+ return isset( self::$current_screen ) ? self::$current_screen : false;
320
+
321
+ }
322
+
323
+ public static function get_instance() {
324
+ if( self::$instance == null ) {
325
+ self::$instance = new self;
326
+ }
327
+ return self::$instance;
328
+ }
329
+
330
+ }
331
+
332
+ if( ! function_exists('get_admin_helper_instance') ) {
333
+ /**
334
+ * Returns an instance of the plugin class.
335
+ *
336
+ * @since 3.3.8
337
+ *
338
+ * @return object
339
+ */
340
+ function get_admin_helper_instance() {
341
+ return Admin_Helper::get_instance();
342
+ }
343
+ }
344
+
345
  get_admin_helper_instance();
admin/includes/dep/maintenance.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
-
3
- if( ! defined( 'ABSPATH' ) ) exit; //Exit if accessed directly
4
-
5
- /**
6
- *
7
- * Fire the rollback function
8
- *
9
- */
10
- function post_premium_addons_rollback() {
11
-
12
- check_admin_referer( 'premium_addons_rollback' );
13
-
14
- $plugin_slug = basename( PREMIUM_ADDONS_FILE, '.php' );
15
-
16
- $pa_rollback = new PA_Rollback(
17
- [
18
- 'version' => PREMIUM_ADDONS_STABLE_VERSION,
19
- 'plugin_name' => PREMIUM_ADDONS_BASENAME,
20
- 'plugin_slug' => $plugin_slug,
21
- 'package_url' => sprintf( 'https://downloads.wordpress.org/plugin/%s.%s.zip', $plugin_slug, PREMIUM_ADDONS_STABLE_VERSION ),
22
- ]
23
- );
24
-
25
- $pa_rollback->run();
26
-
27
- wp_die(
28
- '', __( 'Rollback to Previous Version', 'premium-addons-for-elementor' ), [
29
- 'response' => 200,
30
- ]
31
- );
32
- }
33
-
1
+ <?php
2
+
3
+ if( ! defined( 'ABSPATH' ) ) exit; //Exit if accessed directly
4
+
5
+ /**
6
+ *
7
+ * Fire the rollback function
8
+ *
9
+ */
10
+ function post_premium_addons_rollback() {
11
+
12
+ check_admin_referer( 'premium_addons_rollback' );
13
+
14
+ $plugin_slug = basename( PREMIUM_ADDONS_FILE, '.php' );
15
+
16
+ $pa_rollback = new PA_Rollback(
17
+ [
18
+ 'version' => PREMIUM_ADDONS_STABLE_VERSION,
19
+ 'plugin_name' => PREMIUM_ADDONS_BASENAME,
20
+ 'plugin_slug' => $plugin_slug,
21
+ 'package_url' => sprintf( 'https://downloads.wordpress.org/plugin/%s.%s.zip', $plugin_slug, PREMIUM_ADDONS_STABLE_VERSION ),
22
+ ]
23
+ );
24
+
25
+ $pa_rollback->run();
26
+
27
+ wp_die(
28
+ '', __( 'Rollback to Previous Version', 'premium-addons-for-elementor' ), [
29
+ 'response' => 200,
30
+ ]
31
+ );
32
+ }
33
+
admin/includes/dep/rollback.php CHANGED
@@ -1,100 +1,100 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) exit;
4
-
5
- class PA_Rollback {
6
-
7
- protected $package_url;
8
-
9
- protected $version;
10
-
11
- protected $plugin_name;
12
-
13
- protected $plugin_slug;
14
-
15
- public function __construct( $args = [] ) {
16
- foreach ( $args as $key => $value ) {
17
- $this->{$key} = $value;
18
- }
19
- }
20
-
21
- private function print_inline_style() {
22
- ?>
23
-
24
- <style>
25
- .wrap {
26
- overflow: hidden;
27
- }
28
-
29
- h1 {
30
- background: #6ec1e4;
31
- text-align: center;
32
- color: #fff !important;
33
- padding: 70px !important;
34
- text-transform: uppercase;
35
- letter-spacing: 1px;
36
- }
37
- h1 img {
38
- max-width: 300px;
39
- display: block;
40
- margin: auto auto 50px;
41
- }
42
- </style>
43
-
44
- <?php
45
- }
46
-
47
- protected function apply_package() {
48
-
49
- $update_plugins = get_site_transient( 'update_plugins' );
50
-
51
- if ( ! is_object( $update_plugins ) ) {
52
-
53
- $update_plugins = new \stdClass();
54
- }
55
-
56
- $plugin_info = new \stdClass();
57
-
58
- $plugin_info->new_version = $this->version;
59
-
60
- $plugin_info->slug = $this->plugin_slug;
61
-
62
- $plugin_info->package = $this->package_url;
63
-
64
- $plugin_info->url = 'https://premiumaddons.com/';
65
-
66
- $update_plugins->response[ $this->plugin_name ] = $plugin_info;
67
-
68
- set_site_transient( 'update_plugins', $update_plugins );
69
-
70
- }
71
-
72
- protected function upgrade() {
73
-
74
- require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
75
-
76
- $logo_url = PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png';
77
-
78
- $upgrader_args = [
79
- 'url' => 'update.php?action=upgrade-plugin&plugin=' . rawurlencode( $this->plugin_name ),
80
- 'plugin' => $this->plugin_name,
81
- 'nonce' => 'upgrade-plugin_' . $this->plugin_name,
82
- 'title' => '<img src="' . $logo_url . '" alt="Premium Addons">' . __( 'Rolling Back to Version ' . PREMIUM_ADDONS_STABLE_VERSION, 'premium-addons-for-elementor' ),
83
- ];
84
-
85
- $this->print_inline_style();
86
-
87
- $upgrader = new \Plugin_Upgrader( new \Plugin_Upgrader_Skin( $upgrader_args ) );
88
-
89
- $upgrader->upgrade( $this->plugin_name );
90
-
91
- }
92
-
93
- public function run() {
94
-
95
- $this->apply_package();
96
-
97
- $this->upgrade();
98
-
99
- }
100
- }
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) exit;
4
+
5
+ class PA_Rollback {
6
+
7
+ protected $package_url;
8
+
9
+ protected $version;
10
+
11
+ protected $plugin_name;
12
+
13
+ protected $plugin_slug;
14
+
15
+ public function __construct( $args = [] ) {
16
+ foreach ( $args as $key => $value ) {
17
+ $this->{$key} = $value;
18
+ }
19
+ }
20
+
21
+ private function print_inline_style() {
22
+ ?>
23
+
24
+ <style>
25
+ .wrap {
26
+ overflow: hidden;
27
+ }
28
+
29
+ h1 {
30
+ background: #6ec1e4;
31
+ text-align: center;
32
+ color: #fff !important;
33
+ padding: 70px !important;
34
+ text-transform: uppercase;
35
+ letter-spacing: 1px;
36
+ }
37
+ h1 img {
38
+ max-width: 300px;
39
+ display: block;
40
+ margin: auto auto 50px;
41
+ }
42
+ </style>
43
+
44
+ <?php
45
+ }
46
+
47
+ protected function apply_package() {
48
+
49
+ $update_plugins = get_site_transient( 'update_plugins' );
50
+
51
+ if ( ! is_object( $update_plugins ) ) {
52
+
53
+ $update_plugins = new \stdClass();
54
+ }
55
+
56
+ $plugin_info = new \stdClass();
57
+
58
+ $plugin_info->new_version = $this->version;
59
+
60
+ $plugin_info->slug = $this->plugin_slug;
61
+
62
+ $plugin_info->package = $this->package_url;
63
+
64
+ $plugin_info->url = 'https://premiumaddons.com/';
65
+
66
+ $update_plugins->response[ $this->plugin_name ] = $plugin_info;
67
+
68
+ set_site_transient( 'update_plugins', $update_plugins );
69
+
70
+ }
71
+
72
+ protected function upgrade() {
73
+
74
+ require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
75
+
76
+ $logo_url = PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png';
77
+
78
+ $upgrader_args = [
79
+ 'url' => 'update.php?action=upgrade-plugin&plugin=' . rawurlencode( $this->plugin_name ),
80
+ 'plugin' => $this->plugin_name,
81
+ 'nonce' => 'upgrade-plugin_' . $this->plugin_name,
82
+ 'title' => '<img src="' . $logo_url . '" alt="Premium Addons">' . __( 'Rolling Back to Version ' . PREMIUM_ADDONS_STABLE_VERSION, 'premium-addons-for-elementor' ),
83
+ ];
84
+
85
+ $this->print_inline_style();
86
+
87
+ $upgrader = new \Plugin_Upgrader( new \Plugin_Upgrader_Skin( $upgrader_args ) );
88
+
89
+ $upgrader->upgrade( $this->plugin_name );
90
+
91
+ }
92
+
93
+ public function run() {
94
+
95
+ $this->apply_package();
96
+
97
+ $this->upgrade();
98
+
99
+ }
100
+ }
admin/includes/papro-actions.php CHANGED
@@ -1,69 +1,69 @@
1
- <?php
2
-
3
- namespace PremiumAddons\Admin\Includes;
4
-
5
- use PremiumAddons\Helper_Functions;
6
-
7
- if ( ! defined( 'ABSPATH' ) ) exit;
8
-
9
- class Papro_Actions {
10
-
11
- public function create_pro_menus() {
12
-
13
- add_submenu_page(
14
- 'premium-addons',
15
- '',
16
- '<span class="dashicons dashicons-star-filled" style="font-size: 17px"></span> ' . __( 'Get PRO Widgets & Addons', 'premium-addons-for-elementor' ),
17
- 'manage_options',
18
- 'premium-addons-pro',
19
- [ $this, 'handle_custom_redirects' ]
20
- );
21
-
22
- }
23
-
24
-
25
- public function handle_custom_redirects() {
26
-
27
- $theme_slug = Helper_Functions::get_installed_theme();
28
-
29
- if ( empty( $_GET['page'] ) ) {
30
- return;
31
- }
32
-
33
- if ( 'premium-addons-pro' === $_GET['page'] ) {
34
-
35
- $url = sprintf('https://premiumaddons.com/pro/?utm_source=wp-menu&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme_slug );
36
-
37
- wp_redirect( $url );
38
-
39
- die();
40
- }
41
- }
42
-
43
-
44
- public function change_admin_menu_name() {
45
-
46
- global $submenu;
47
-
48
- if( isset($submenu['premium-addons'] ) ) {
49
- $submenu['premium-addons'][0][0] = __( 'Settings', 'premium-addons-for-elementor' );
50
- }
51
- }
52
-
53
- public function on_admin_init() {
54
-
55
- $this->handle_custom_redirects();
56
-
57
- }
58
-
59
- public function __construct() {
60
-
61
- add_action( 'admin_init', [ $this, 'on_admin_init' ] );
62
-
63
- if( ! defined('PREMIUM_PRO_ADDONS_VERSION') )
64
- add_action( 'admin_menu', array ( $this,'create_pro_menus' ), 100 );
65
-
66
- add_action( 'admin_menu', array ( $this, 'change_admin_menu_name'), 100 );
67
-
68
- }
69
  }
1
+ <?php
2
+
3
+ namespace PremiumAddons\Admin\Includes;
4
+
5
+ use PremiumAddons\Helper_Functions;
6
+
7
+ if ( ! defined( 'ABSPATH' ) ) exit;
8
+
9
+ class Papro_Actions {
10
+
11
+ public function create_pro_menus() {
12
+
13
+ add_submenu_page(
14
+ 'premium-addons',
15
+ '',
16
+ '<span class="dashicons dashicons-star-filled" style="font-size: 17px"></span> ' . __( 'Get PRO Widgets & Addons', 'premium-addons-for-elementor' ),
17
+ 'manage_options',
18
+ 'premium-addons-pro',
19
+ [ $this, 'handle_custom_redirects' ]
20
+ );
21
+
22
+ }
23
+
24
+
25
+ public function handle_custom_redirects() {
26
+
27
+ $theme_slug = Helper_Functions::get_installed_theme();
28
+
29
+ if ( empty( $_GET['page'] ) ) {
30
+ return;
31
+ }
32
+
33
+ if ( 'premium-addons-pro' === $_GET['page'] ) {
34
+
35
+ $url = sprintf('https://premiumaddons.com/pro/?utm_source=wp-menu&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme_slug );
36
+
37
+ wp_redirect( $url );
38
+
39
+ die();
40
+ }
41
+ }
42
+
43
+
44
+ public function change_admin_menu_name() {
45
+
46
+ global $submenu;
47
+
48
+ if( isset($submenu['premium-addons'] ) ) {
49
+ $submenu['premium-addons'][0][0] = __( 'Settings', 'premium-addons-for-elementor' );
50
+ }
51
+ }
52
+
53
+ public function on_admin_init() {
54
+
55
+ $this->handle_custom_redirects();
56
+
57
+ }
58
+
59
+ public function __construct() {
60
+
61
+ add_action( 'admin_init', [ $this, 'on_admin_init' ] );
62
+
63
+ if( ! defined('PREMIUM_PRO_ADDONS_VERSION') )
64
+ add_action( 'admin_menu', array ( $this,'create_pro_menus' ), 100 );
65
+
66
+ add_action( 'admin_menu', array ( $this, 'change_admin_menu_name'), 100 );
67
+
68
+ }
69
  }
admin/includes/plugin-info.php CHANGED
@@ -1,90 +1,90 @@
1
- <?php
2
-
3
- namespace PremiumAddons\Admin\Includes;
4
-
5
- use PremiumAddons\Helper_Functions;
6
-
7
- if ( ! defined( 'ABSPATH' ) ) exit;
8
-
9
- class Plugin_Info {
10
-
11
- public function create_about_menu() {
12
-
13
- if ( ! Helper_Functions::is_hide_about() ) {
14
- add_submenu_page(
15
- 'premium-addons',
16
- '',
17
- __('About','premium-addons-for-elementor'),
18
- 'manage_options',
19
- 'premium-addons-about',
20
- [ $this, 'pa_about_page' ]
21
- );
22
- }
23
-
24
- }
25
-
26
- public function pa_about_page() {
27
-
28
- $theme_name = Helper_Functions::get_installed_theme();
29
-
30
- $url = sprintf('https://premiumaddons.com/pro/?utm_source=about-page&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme_name );
31
-
32
- $support_url = sprintf('https://premiumaddons.com/support/?utm_source=about-page&utm_medium=wp-dash&utm_campaign=get-support&utm_term=%s', $theme_name );
33
-
34
- ?>
35
- <div class="wrap">
36
- <div class="response-wrap"></div>
37
- <div class="pa-header-wrapper">
38
- <div class="pa-title-left">
39
- <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
40
- <h3 class="pa-title-sub"><?php echo sprintf(__('Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor'), Helper_Functions::name(),Helper_Functions::author()); ?></h3>
41
- </div>
42
- <?php if( ! Helper_Functions::is_hide_logo() ) : ?>
43
- <div class="pa-title-right">
44
- <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png';?>">
45
- </div>
46
- <?php endif; ?>
47
- </div>
48
- <div class="pa-settings-tabs">
49
- <div id="pa-about" class="pa-settings-tab">
50
- <div class="pa-row">
51
- <div class="pa-col-half">
52
- <div class="pa-about-panel">
53
- <div class="pa-icon-container">
54
- <i class="dashicons dashicons-info abt-icon-style"></i>
55
- </div>
56
- <div class="pa-text-container">
57
- <h4><?php echo __('What is Premium Addons?', 'premium-addons-for-elementor'); ?></h4>
58
- <p><?php echo __('Premium Addons for Elementor extends Elementor Page Builder capabilities with many fully customizable widgets and addons that help you to build impressive websites with no coding required.', 'premium-addons-for-elementor'); ?></p>
59
- <?php if( ! defined('PREMIUM_PRO_ADDONS_VERSION') ) : ?>
60
- <p><?php echo __('Get more widgets and addons with ', 'premium-addons-for-elementor'); ?><strong><?php echo __('Premium Addons Pro', 'premium-addons-for-elementor'); ?></strong> <a href="<?php echo esc_url( $url ); ?>" target="_blank" ><?php echo __('Click Here', 'premium-addons-for-elementor'); ?></a><?php echo __(' to know more.', 'premium-addons-for-elementor'); ?></p>
61
- <?php endif; ?>
62
- </div>
63
- </div>
64
- </div>
65
- <div class="pa-col-half">
66
- <div class="pa-about-panel">
67
- <div class="pa-icon-container">
68
- <i class="dashicons dashicons-universal-access-alt abt-icon-style"></i>
69
- </div>
70
- <div class="pa-text-container">
71
- <h4><?php echo __('Docs and Support', 'premium-addons-for-elementor'); ?></h4>
72
- <p><?php echo __('It’s highly recommended to check out documentation and FAQ before using this plugin. ', 'premium-addons-for-elementor'); ?><a target="_blank" href="<?php echo esc_url( $support_url ); ?>"><?php echo __('Click Here', 'premium-addons-for-elementor'); ?></a><?php echo __(' for more details. You can also join our ', 'premium-addons-for-elementor'); ?><a href="https://www.facebook.com/groups/PremiumAddons" target="_blank"><?php echo __('Facebook Group', 'premium-addons-for-elementor'); ?></a><?php echo __(' and Our ', 'premium-addons-for-elementor'); ?><a href="https://my.leap13.com/forums/" target="_blank"><?php echo __('Community Forums', 'premium-addons-for-elementor'); ?></a></p>
73
- </div>
74
- </div>
75
- </div>
76
- </div>
77
- <?php if( ! Helper_Functions::is_hide_rate() ) : ?>
78
- <div>
79
- <p><?php echo __('Did you like Premium Addons for Elementor Plugin? Please ', 'premium-addons-for-elementor'); ?><a href="https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/#new-post" target="_blank"><?php echo __('Click Here to Rate it ★★★★★', 'premium-addons-for-elementor'); ?></a></p>
80
- </div>
81
- <?php endif; ?>
82
- </div>
83
- </div>
84
- </div>
85
- <?php }
86
-
87
- public function __construct() {
88
- add_action( 'admin_menu', array ($this,'create_about_menu' ), 100 );
89
- }
90
  }
1
+ <?php
2
+
3
+ namespace PremiumAddons\Admin\Includes;
4
+
5
+ use PremiumAddons\Helper_Functions;
6
+
7
+ if ( ! defined( 'ABSPATH' ) ) exit;
8
+
9
+ class Plugin_Info {
10
+
11
+ public function create_about_menu() {
12
+
13
+ if ( ! Helper_Functions::is_hide_about() ) {
14
+ add_submenu_page(
15
+ 'premium-addons',
16
+ '',
17
+ __('About','premium-addons-for-elementor'),
18
+ 'manage_options',
19
+ 'premium-addons-about',
20
+ [ $this, 'pa_about_page' ]
21
+ );
22
+ }
23
+
24
+ }
25
+
26
+ public function pa_about_page() {
27
+
28
+ $theme_name = Helper_Functions::get_installed_theme();
29
+
30
+ $url = sprintf('https://premiumaddons.com/pro/?utm_source=about-page&utm_medium=wp-dash&utm_campaign=get-pro&utm_term=%s', $theme_name );
31
+
32
+ $support_url = sprintf('https://premiumaddons.com/support/?utm_source=about-page&utm_medium=wp-dash&utm_campaign=get-support&utm_term=%s', $theme_name );
33
+
34
+ ?>
35
+ <div class="wrap">
36
+ <div class="response-wrap"></div>
37
+ <div class="pa-header-wrapper">
38
+ <div class="pa-title-left">
39
+ <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
40
+ <h3 class="pa-title-sub"><?php echo sprintf(__('Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor'), Helper_Functions::name(),Helper_Functions::author()); ?></h3>
41
+ </div>
42
+ <?php if( ! Helper_Functions::is_hide_logo() ) : ?>
43
+ <div class="pa-title-right">
44
+ <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png';?>">
45
+ </div>
46
+ <?php endif; ?>
47
+ </div>
48
+ <div class="pa-settings-tabs">
49
+ <div id="pa-about" class="pa-settings-tab">
50
+ <div class="pa-row">
51
+ <div class="pa-col-half">
52
+ <div class="pa-about-panel">
53
+ <div class="pa-icon-container">
54
+ <i class="dashicons dashicons-info abt-icon-style"></i>
55
+ </div>
56
+ <div class="pa-text-container">
57
+ <h4><?php echo __('What is Premium Addons?', 'premium-addons-for-elementor'); ?></h4>
58
+ <p><?php echo __('Premium Addons for Elementor extends Elementor Page Builder capabilities with many fully customizable widgets and addons that help you to build impressive websites with no coding required.', 'premium-addons-for-elementor'); ?></p>
59
+ <?php if( ! defined('PREMIUM_PRO_ADDONS_VERSION') ) : ?>
60
+ <p><?php echo __('Get more widgets and addons with ', 'premium-addons-for-elementor'); ?><strong><?php echo __('Premium Addons Pro', 'premium-addons-for-elementor'); ?></strong> <a href="<?php echo esc_url( $url ); ?>" target="_blank" ><?php echo __('Click Here', 'premium-addons-for-elementor'); ?></a><?php echo __(' to know more.', 'premium-addons-for-elementor'); ?></p>
61
+ <?php endif; ?>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ <div class="pa-col-half">
66
+ <div class="pa-about-panel">
67
+ <div class="pa-icon-container">
68
+ <i class="dashicons dashicons-universal-access-alt abt-icon-style"></i>
69
+ </div>
70
+ <div class="pa-text-container">
71
+ <h4><?php echo __('Docs and Support', 'premium-addons-for-elementor'); ?></h4>
72
+ <p><?php echo __('It’s highly recommended to check out documentation and FAQ before using this plugin. ', 'premium-addons-for-elementor'); ?><a target="_blank" href="<?php echo esc_url( $support_url ); ?>"><?php echo __('Click Here', 'premium-addons-for-elementor'); ?></a><?php echo __(' for more details. You can also join our ', 'premium-addons-for-elementor'); ?><a href="https://www.facebook.com/groups/PremiumAddons" target="_blank"><?php echo __('Facebook Group', 'premium-addons-for-elementor'); ?></a><?php echo __(' and Our ', 'premium-addons-for-elementor'); ?><a href="https://my.leap13.com/forums/" target="_blank"><?php echo __('Community Forums', 'premium-addons-for-elementor'); ?></a></p>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ <?php if( ! Helper_Functions::is_hide_rate() ) : ?>
78
+ <div>
79
+ <p><?php echo __('Did you like Premium Addons for Elementor Plugin? Please ', 'premium-addons-for-elementor'); ?><a href="https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/#new-post" target="_blank"><?php echo __('Click Here to Rate it ★★★★★', 'premium-addons-for-elementor'); ?></a></p>
80
+ </div>
81
+ <?php endif; ?>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ <?php }
86
+
87
+ public function __construct() {
88
+ add_action( 'admin_menu', array ($this,'create_about_menu' ), 100 );
89
+ }
90
  }
admin/includes/reports.php CHANGED
@@ -1,63 +1,63 @@
1
- <?php
2
-
3
- namespace PremiumAddons\Admin\Includes;
4
-
5
- use PremiumAddons\Helper_Functions;
6
-
7
- if( ! defined( 'ABSPATH' ) ) exit;
8
-
9
- class Config_Data {
10
-
11
- public function __construct() {
12
-
13
- add_action( 'admin_menu', array ($this,'create_sys_info_menu' ), 100 );
14
- }
15
-
16
- public function create_sys_info_menu() {
17
- add_submenu_page(
18
- 'premium-addons',
19
- '',
20
- __( 'System Info','premium-addons-for-elementor' ),
21
- 'manage_options',
22
- 'premium-addons-sys',
23
- [$this, 'pa_sys_info_page']
24
- );
25
- }
26
-
27
- public function pa_sys_info_page() {
28
- ?>
29
- <div class="wrap">
30
- <div class="response-wrap"></div>
31
- <div class="pa-header-wrapper">
32
- <div class="pa-title-left">
33
- <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
34
- <h3 class="pa-title-sub"><?php echo sprintf( __( 'Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor' ), Helper_Functions::name(), Helper_Functions::author() ); ?></h3>
35
- </div>
36
- <?php if( ! Helper_Functions::is_hide_logo() ) : ?>
37
- <div class="pa-title-right">
38
- <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png'; ?>">
39
- </div>
40
- <?php endif; ?>
41
- </div>
42
- <div class="pa-settings-tabs pa-sys-info-tab">
43
- <div id="pa-system" class="pa-settings-tab">
44
- <div class="pa-row">
45
- <h3 class="pa-sys-info-title"><?php echo __('System setup information useful for debugging purposes.','premium-addons-for-elementor');?></h3>
46
- <div class="pa-system-info-container">
47
- <?php
48
- require_once ( PREMIUM_ADDONS_PATH . 'admin/includes/dep/info.php');
49
- echo nl2br( pa_get_sysinfo() );
50
- ?>
51
- </div>
52
- </div>
53
- </div>
54
- <?php if( ! Helper_Functions::is_hide_rate() ) : ?>
55
- <div>
56
- <p><?php echo __('Did you like Premium Addons for Elementor Plugin? Please ', 'premium-addons-for-elementor'); ?><a href="https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/#new-post" target="_blank"><?php echo __('Click Here to Rate it ★★★★★', 'premium-addons-for-elementor'); ?></a></p>
57
- </div>
58
- <?php endif; ?>
59
- </div>
60
- </div>
61
- <?php }
62
- }
63
-
1
+ <?php
2
+
3
+ namespace PremiumAddons\Admin\Includes;
4
+
5
+ use PremiumAddons\Helper_Functions;
6
+
7
+ if( ! defined( 'ABSPATH' ) ) exit;
8
+
9
+ class Config_Data {
10
+
11
+ public function __construct() {
12
+
13
+ add_action( 'admin_menu', array ($this,'create_sys_info_menu' ), 100 );
14
+ }
15
+
16
+ public function create_sys_info_menu() {
17
+ add_submenu_page(
18
+ 'premium-addons',
19
+ '',
20
+ __( 'System Info','premium-addons-for-elementor' ),
21
+ 'manage_options',
22
+ 'premium-addons-sys',
23
+ [$this, 'pa_sys_info_page']
24
+ );
25
+ }
26
+
27
+ public function pa_sys_info_page() {
28
+ ?>
29
+ <div class="wrap">
30
+ <div class="response-wrap"></div>
31
+ <div class="pa-header-wrapper">
32
+ <div class="pa-title-left">
33
+ <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
34
+ <h3 class="pa-title-sub"><?php echo sprintf( __( 'Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor' ), Helper_Functions::name(), Helper_Functions::author() ); ?></h3>
35
+ </div>
36
+ <?php if( ! Helper_Functions::is_hide_logo() ) : ?>
37
+ <div class="pa-title-right">
38
+ <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png'; ?>">
39
+ </div>
40
+ <?php endif; ?>
41
+ </div>
42
+ <div class="pa-settings-tabs pa-sys-info-tab">
43
+ <div id="pa-system" class="pa-settings-tab">
44
+ <div class="pa-row">
45
+ <h3 class="pa-sys-info-title"><?php echo __('System setup information useful for debugging purposes.','premium-addons-for-elementor');?></h3>
46
+ <div class="pa-system-info-container">
47
+ <?php
48
+ require_once ( PREMIUM_ADDONS_PATH . 'admin/includes/dep/info.php');
49
+ echo nl2br( pa_get_sysinfo() );
50
+ ?>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <?php if( ! Helper_Functions::is_hide_rate() ) : ?>
55
+ <div>
56
+ <p><?php echo __('Did you like Premium Addons for Elementor Plugin? Please ', 'premium-addons-for-elementor'); ?><a href="https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/#new-post" target="_blank"><?php echo __('Click Here to Rate it ★★★★★', 'premium-addons-for-elementor'); ?></a></p>
57
+ </div>
58
+ <?php endif; ?>
59
+ </div>
60
+ </div>
61
+ <?php }
62
+ }
63
+
admin/includes/version-control.php CHANGED
@@ -1,142 +1,142 @@
1
- <?php
2
-
3
- namespace PremiumAddons\Admin\Includes;
4
-
5
- use PremiumAddons\Helper_Functions;
6
-
7
- if( ! defined( 'ABSPATH' ) ) exit;
8
-
9
- class Version_Control {
10
-
11
- public $pa_beta_keys = [ 'is-beta-tester' ];
12
-
13
- private $pa_beta_default_settings;
14
-
15
- private $pa_beta_settings;
16
-
17
- private $pa_beta_get_settings;
18
-
19
- public function __construct() {
20
-
21
- add_action( 'admin_menu', array ($this,'create_version_control_menu' ), 100 );
22
-
23
- add_action( 'wp_ajax_pa_beta_save_settings', array( $this, 'pa_beta_save_settings' ) );
24
-
25
- }
26
-
27
-
28
- public function create_version_control_menu() {
29
-
30
- if ( ! Helper_Functions::is_hide_version_control() ) {
31
-
32
- add_submenu_page(
33
- 'premium-addons',
34
- '',
35
- __('Version Control','premium-addons-for-elementor'),
36
- 'manage_options',
37
- 'premium-addons-version',
38
- [$this, 'pa_version_page']
39
- );
40
- }
41
-
42
- }
43
-
44
- public function pa_version_page() {
45
-
46
- $js_info = array(
47
- 'ajaxurl' => admin_url( 'admin-ajax.php' ),
48
- 'nonce' => wp_create_nonce( 'pa-version-control' ),
49
- );
50
-
51
- wp_localize_script( 'pa-admin-js', 'settings', $js_info );
52
-
53
- $this->pa_beta_default_settings = array_fill_keys( $this->pa_beta_keys, true );
54
-
55
- $this->pa_beta_get_settings = get_option( 'pa_beta_save_settings', $this->pa_beta_default_settings );
56
-
57
- $pa_beta_new_settings = array_diff_key( $this->pa_beta_default_settings, $this->pa_beta_get_settings );
58
-
59
- if( ! empty( $pa_beta_new_settings ) ) {
60
- $pa_beta_updated_settings = array_merge( $this->pa_beta_get_settings, $pa_beta_new_settings );
61
- update_option( 'pa_beta_save_settings', $pa_beta_updated_settings );
62
- }
63
-
64
- $this->pa_beta_get_settings = get_option( 'pa_beta_save_settings', $this->pa_beta_default_settings );
65
-
66
- ?>
67
-
68
- <div class="wrap">
69
- <div class="response-wrap"></div>
70
- <form action="" method="POST" id="pa-beta-form" name="pa-beta-form">
71
- <div class="pa-header-wrapper">
72
- <div class="pa-title-left">
73
- <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
74
- <h3 class="pa-title-sub"><?php echo sprintf(__('Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor'), Helper_Functions::name(), Helper_Functions::author() ); ?></h3>
75
- </div>
76
- <?php if( ! Helper_Functions::is_hide_logo() ) : ?>
77
- <div class="pa-title-right">
78
- <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png'; ?>">
79
- </div>
80
- <?php endif; ?>
81
- </div>
82
- <div class="pa-settings-tabs">
83
- <div id="pa-maintenance" class="pa-settings-tab">
84
- <div class="pa-row">
85
- <table class="pa-beta-table">
86
- <tr>
87
- <th>
88
- <h4 class="pa-roll-back"><?php echo __('Rollback to Previous Version', 'premium-addons-for-elementor'); ?></h4>
89
- <span class="pa-roll-back-span"><?php echo sprintf( __('Experiencing an issue with Premium Addons for Elementor version %s? Rollback to a previous version before the issue appeared.', 'premium-addons-for-elementor'), PREMIUM_ADDONS_VERSION ); ?></span>
90
- </th>
91
- </tr>
92
- <tr class="pa-roll-row">
93
- <th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
94
- <td>
95
- <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Rollback to Version ' . PREMIUM_ADDONS_STABLE_VERSION, 'premium-addons-for-elementor') ); ?></div>
96
- <p class="pa-roll-desc">
97
- <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
98
- </p>
99
- </td>
100
- </tr>
101
- <tr>
102
- <th>
103
- <h4 class="pa-beta-test"><?php echo __('Become a Beta Tester', 'premium-addons-for-elementor'); ?></h4>
104
- <span class="pa-beta-test-span"><?php echo __('Turn-on Beta Tester, to get notified when a new beta version of Premium Addons for Elementor. The Beta version will not install automatically. You always have the option to ignore it.', 'premium-addons-for-elementor'); ?></span>
105
- </th>
106
- </tr>
107
- <tr class="pa-beta-row">
108
- <th><?php echo __('Beta Tester','premium-addons-for-elementor'); ?></th>
109
- <td>
110
- <div><input name="is-beta-tester" id="is-beta-tester" type="checkbox" <?php checked(1, $this->pa_beta_get_settings['is-beta-tester'], true) ?>><span><?php echo __('Check this box to get updates for beta versions','premium-addons-for-elementor'); ?></span></div>
111
- <p class="pa-beta-desc"><span><?php echo __('Please Note: We do not recommend updating to a beta version on production sites.', 'premium-addons-for-elementor'); ?></span></p>
112
- </td>
113
- </tr>
114
- </table>
115
- <input type="submit" value="<?php echo __('Save Settings', 'premium-addons-for-elementor'); ?>" class="button pa-btn pa-save-button">
116
- </div>
117
- </div>
118
- </div>
119
- </form>
120
- </div>
121
-
122
- <?php }
123
-
124
- public function pa_beta_save_settings() {
125
-
126
- check_ajax_referer('pa-version-control', 'security');
127
-
128
- if( isset( $_POST['fields'] ) ) {
129
- parse_str( $_POST['fields'], $settings );
130
- } else {
131
- return;
132
- }
133
-
134
- $this->pa_beta_settings = array(
135
- 'is-beta-tester' => intval( $settings['is-beta-tester'] ? 1 : 0 ),
136
- );
137
-
138
- update_option( 'pa_beta_save_settings', $this->pa_beta_settings );
139
-
140
- return true;
141
- }
142
  }
1
+ <?php
2
+
3
+ namespace PremiumAddons\Admin\Includes;
4
+
5
+ use PremiumAddons\Helper_Functions;
6
+
7
+ if( ! defined( 'ABSPATH' ) ) exit;
8
+
9
+ class Version_Control {
10
+
11
+ public $pa_beta_keys = [ 'is-beta-tester' ];
12
+
13
+ private $pa_beta_default_settings;
14
+
15
+ private $pa_beta_settings;
16
+
17
+ private $pa_beta_get_settings;
18
+
19
+ public function __construct() {
20
+
21
+ add_action( 'admin_menu', array ($this,'create_version_control_menu' ), 100 );
22
+
23
+ add_action( 'wp_ajax_pa_beta_save_settings', array( $this, 'pa_beta_save_settings' ) );
24
+
25
+ }
26
+
27
+
28
+ public function create_version_control_menu() {
29
+
30
+ if ( ! Helper_Functions::is_hide_version_control() ) {
31
+
32
+ add_submenu_page(
33
+ 'premium-addons',
34
+ '',
35
+ __('Version Control','premium-addons-for-elementor'),
36
+ 'manage_options',
37
+ 'premium-addons-version',
38
+ [$this, 'pa_version_page']
39
+ );
40
+ }
41
+
42
+ }
43
+
44
+ public function pa_version_page() {
45
+
46
+ $js_info = array(
47
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
48
+ 'nonce' => wp_create_nonce( 'pa-version-control' ),
49
+ );
50
+
51
+ wp_localize_script( 'pa-admin-js', 'settings', $js_info );
52
+
53
+ $this->pa_beta_default_settings = array_fill_keys( $this->pa_beta_keys, true );
54
+
55
+ $this->pa_beta_get_settings = get_option( 'pa_beta_save_settings', $this->pa_beta_default_settings );
56
+
57
+ $pa_beta_new_settings = array_diff_key( $this->pa_beta_default_settings, $this->pa_beta_get_settings );
58
+
59
+ if( ! empty( $pa_beta_new_settings ) ) {
60
+ $pa_beta_updated_settings = array_merge( $this->pa_beta_get_settings, $pa_beta_new_settings );
61
+ update_option( 'pa_beta_save_settings', $pa_beta_updated_settings );
62
+ }
63
+
64
+ $this->pa_beta_get_settings = get_option( 'pa_beta_save_settings', $this->pa_beta_default_settings );
65
+
66
+ ?>
67
+
68
+ <div class="wrap">
69
+ <div class="response-wrap"></div>
70
+ <form action="" method="POST" id="pa-beta-form" name="pa-beta-form">
71
+ <div class="pa-header-wrapper">
72
+ <div class="pa-title-left">
73
+ <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
74
+ <h3 class="pa-title-sub"><?php echo sprintf(__('Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor'), Helper_Functions::name(), Helper_Functions::author() ); ?></h3>
75
+ </div>
76
+ <?php if( ! Helper_Functions::is_hide_logo() ) : ?>
77
+ <div class="pa-title-right">
78
+ <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png'; ?>">
79
+ </div>
80
+ <?php endif; ?>
81
+ </div>
82
+ <div class="pa-settings-tabs">
83
+ <div id="pa-maintenance" class="pa-settings-tab">
84
+ <div class="pa-row">
85
+ <table class="pa-beta-table">
86
+ <tr>
87
+ <th>
88
+ <h4 class="pa-roll-back"><?php echo __('Rollback to Previous Version', 'premium-addons-for-elementor'); ?></h4>
89
+ <span class="pa-roll-back-span"><?php echo sprintf( __('Experiencing an issue with Premium Addons for Elementor version %s? Rollback to a previous version before the issue appeared.', 'premium-addons-for-elementor'), PREMIUM_ADDONS_VERSION ); ?></span>
90
+ </th>
91
+ </tr>
92
+ <tr class="pa-roll-row">
93
+ <th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
94
+ <td>
95
+ <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Rollback to Version ' . PREMIUM_ADDONS_STABLE_VERSION, 'premium-addons-for-elementor') ); ?></div>
96
+ <p class="pa-roll-desc">
97
+ <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
98
+ </p>
99
+ </td>
100
+ </tr>
101
+ <tr>
102
+ <th>
103
+ <h4 class="pa-beta-test"><?php echo __('Become a Beta Tester', 'premium-addons-for-elementor'); ?></h4>
104
+ <span class="pa-beta-test-span"><?php echo __('Turn-on Beta Tester, to get notified when a new beta version of Premium Addons for Elementor. The Beta version will not install automatically. You always have the option to ignore it.', 'premium-addons-for-elementor'); ?></span>
105
+ </th>
106
+ </tr>
107
+ <tr class="pa-beta-row">
108
+ <th><?php echo __('Beta Tester','premium-addons-for-elementor'); ?></th>
109
+ <td>
110
+ <div><input name="is-beta-tester" id="is-beta-tester" type="checkbox" <?php checked(1, $this->pa_beta_get_settings['is-beta-tester'], true) ?>><span><?php echo __('Check this box to get updates for beta versions','premium-addons-for-elementor'); ?></span></div>
111
+ <p class="pa-beta-desc"><span><?php echo __('Please Note: We do not recommend updating to a beta version on production sites.', 'premium-addons-for-elementor'); ?></span></p>
112
+ </td>
113
+ </tr>
114
+ </table>
115
+ <input type="submit" value="<?php echo __('Save Settings', 'premium-addons-for-elementor'); ?>" class="button pa-btn pa-save-button">
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </form>
120
+ </div>
121
+
122
+ <?php }
123
+
124
+ public function pa_beta_save_settings() {
125
+
126
+ check_ajax_referer('pa-version-control', 'security');
127
+
128
+ if( isset( $_POST['fields'] ) ) {
129
+ parse_str( $_POST['fields'], $settings );
130
+ } else {
131
+ return;
132
+ }
133
+
134
+ $this->pa_beta_settings = array(
135
+ 'is-beta-tester' => intval( $settings['is-beta-tester'] ? 1 : 0 ),
136
+ );
137
+
138
+ update_option( 'pa_beta_save_settings', $this->pa_beta_settings );
139
+
140
+ return true;
141
+ }
142
  }
admin/settings/maps.php CHANGED
@@ -1,182 +1,182 @@
1
- <?php
2
-
3
- namespace PremiumAddons\Admin\Settings;
4
-
5
- use PremiumAddons\Helper_Functions;
6
-
7
- if( ! defined( 'ABSPATH' ) ) exit;
8
-
9
- class Maps {
10
-
11
- public static $pa_maps_keys = [ 'premium-map-api', 'premium-map-disable-api', 'premium-map-cluster', 'premium-map-locale' ];
12
-
13
- private $pa_maps_default_settings;
14
-
15
- private $pa_maps_settings;
16
-
17
- private $pa_maps_get_settings;
18
-
19
- public function __construct() {
20
-
21
- add_action( 'admin_menu', array ( $this,'create_maps_menu' ), 100 );
22
-
23
- add_action( 'wp_ajax_pa_maps_save_settings', array( $this, 'pa_save_maps_settings' ) );
24
-
25
- }
26
-
27
- public function create_maps_menu() {
28
-
29
- add_submenu_page(
30
- 'premium-addons',
31
- '',
32
- __('Google Maps', 'premium-addons-for-elementor'),
33
- 'manage_options',
34
- 'premium-addons-maps',
35
- [ $this, 'pa_maps_page' ]
36
- );
37
-
38
- }
39
-
40
- public function pa_maps_page() {
41
-
42
- $js_info = array(
43
- 'ajaxurl' => admin_url( 'admin-ajax.php' ),
44
- 'nonce' => wp_create_nonce( 'pa-maps' ),
45
- );
46
-
47
- wp_localize_script( 'pa-admin-js', 'settings', $js_info );
48
-
49
- $this->pa_maps_default_settings = $this->get_default_keys();
50
-
51
- $this->pa_maps_get_settings = $this->get_enabled_keys();
52
-
53
- $pa_maps_new_settings = array_diff_key( $this->pa_maps_default_settings, $this->pa_maps_get_settings );
54
-
55
- if( ! empty( $pa_maps_new_settings ) ) {
56
- $pa_maps_updated_settings = array_merge( $this->pa_maps_get_settings, $pa_maps_new_settings );
57
- update_option( 'pa_maps_save_settings', $pa_maps_updated_settings );
58
- }
59
-
60
- $this->pa_maps_get_settings = get_option( 'pa_maps_save_settings', $this->pa_maps_default_settings );
61
-
62
- $settings = $this->pa_maps_get_settings;
63
-
64
- $locales = Helper_Functions::get_google_languages();
65
-
66
- ?>
67
- <div class="wrap">
68
- <div class="response-wrap"></div>
69
- <form action="" method="POST" id="pa-maps" name="pa-maps">
70
- <div class="pa-header-wrapper">
71
- <div class="pa-title-left">
72
- <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
73
- <h3 class="pa-title-sub"><?php echo sprintf(__('Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor'), Helper_Functions::name(), Helper_Functions::author()); ?></h3>
74
- </div>
75
- <?php if( ! Helper_Functions::is_hide_logo()) : ?>
76
- <div class="pa-title-right">
77
- <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png';?>">
78
- </div>
79
- <?php endif; ?>
80
- </div>
81
- <div class="pa-settings-tabs">
82
- <div id="pa-maps-api" class="pa-maps-tab">
83
- <div class="pa-row">
84
- <table class="pa-maps-table">
85
- <tr>
86
- <p class="pa-maps-api-notice">
87
- <?php echo esc_html( Helper_Functions::get_prefix() ) . __(' Maps Element requires Google API key to be entered below. If you don’t have one, click ', 'premium-addons-for-elementor'); ?><a href="https://premiumaddons.com/docs/getting-your-api-key-for-google-reviews/" target="_blank"><?php echo __('here', 'premium-addons-for-elementor'); ?></a><?php echo __(' to get your key.', 'premium-addons-for-elementor'); ?>
88
- </p>
89
- </tr>
90
- <tr>
91
- <td>
92
- <h4 class="pa-api-title"><?php echo __('Google Maps API Key:', 'premium-addons-for-elementor'); ?></h4>
93
- </td>
94
- <td>
95
- <input name="premium-map-api" id="premium-map-api" type="text" placeholder="API Key" value="<?php echo esc_attr( $settings['premium-map-api'] ); ?>">
96
- </td>
97
- </tr>
98
- <tr>
99
- <td>
100
- <h4 class="pa-api-disable-title"><?php echo __('Google Maps Localization Language:', 'premium-addons-for-elementor'); ?></h4>
101
- </td>
102
- <td>
103
- <select name="premium-map-locale" id="premium-map-locale" class="placeholder placeholder-active">
104
- <option value=""><?php _e( 'Default', 'premium-addons-for-elementor' ); ?></option>
105
- <?php foreach ( $locales as $key => $value ) { ?>
106
- <?php
107
- $selected = '';
108
- if ( $key === $settings['premium-map-locale'] ) {
109
- $selected = 'selected="selected" ';
110
- }
111
- ?>
112
- <option value="<?php echo esc_attr( $key ); ?>" <?php echo $selected; ?>><?php echo esc_attr( $value ); ?></option>
113
- <?php } ?>
114
- </select>
115
- </td>
116
- </tr>
117
- <tr>
118
- <td>
119
- <h4 class="pa-api-disable-title"><?php echo __('Load Maps API JS File:','premium-addons-for-elementor'); ?></h4>
120
- </td>
121
- <td>
122
- <input name="premium-map-disable-api" id="premium-map-disable-api" type="checkbox" <?php checked(1, $settings['premium-map-disable-api'], true) ?>><span><?php echo __('This will load API JS file if it\'s not loaded by another theme or plugin', 'premium-addons-for-elementor'); ?></span>
123
- </td>
124
- </tr>
125
- <tr>
126
- <td>
127
- <h4 class="pa-api-disable-title"><?php echo __('Load Markers Clustering JS File:','premium-addons-for-elementor'); ?></h4>
128
- </td>
129
- <td>
130
- <input name="premium-map-cluster" id="premium-map-cluster" type="checkbox" <?php checked(1, $settings['premium-map-cluster'], true) ?>><span><?php echo __('This will load the JS file for markers clusters', 'premium-addons-for-elementor'); ?></span>
131
- </td>
132
- </tr>
133
- </table>
134
- <input type="submit" value="<?php echo __('Save Settings', 'premium-addons-for-elementor'); ?>" class="button pa-btn pa-save-button">
135
- <?php if( ! Helper_Functions::is_hide_rate() ) : ?>
136
- <div>
137
- <p><?php echo __('Did you like Premium Addons for Elementor Plugin? Please ', 'premium-addons-for-elementor'); ?><a href="https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/#new-post" target="_blank"><?php echo __('Click Here to Rate it ★★★★★', 'premium-addons-for-elementor'); ?></a></p>
138
- </div>
139
- <?php endif; ?>
140
- </div>
141
- </div>
142
- </div>
143
- </form>
144
- </div>
145
- <?php }
146
-
147
- public static function get_default_keys() {
148
-
149
- $default_keys = array_fill_keys( self::$pa_maps_keys, true );
150
-
151
- return $default_keys;
152
- }
153
-
154
- public static function get_enabled_keys() {
155
-
156
- $enabled_keys = get_option( 'pa_maps_save_settings', self::get_default_keys() );
157
-
158
- return $enabled_keys;
159
- }
160
-
161
- public function pa_save_maps_settings() {
162
-
163
- check_ajax_referer('pa-maps', 'security');
164
-
165
- if( isset( $_POST['fields'] ) ) {
166
- parse_str( $_POST['fields'], $settings );
167
- } else {
168
- return;
169
- }
170
-
171
- $this->pa_maps_settings = array(
172
- 'premium-map-api' => sanitize_text_field( $settings['premium-map-api'] ),
173
- 'premium-map-disable-api' => intval( $settings['premium-map-disable-api'] ? 1 : 0 ),
174
- 'premium-map-cluster' => intval( $settings['premium-map-cluster'] ? 1 : 0 ),
175
- 'premium-map-locale' => sanitize_text_field( $settings['premium-map-locale'] )
176
- );
177
-
178
- update_option( 'pa_maps_save_settings', $this->pa_maps_settings );
179
-
180
- return true;
181
- }
182
  }
1
+ <?php
2
+
3
+ namespace PremiumAddons\Admin\Settings;
4
+
5
+ use PremiumAddons\Helper_Functions;
6
+
7
+ if( ! defined( 'ABSPATH' ) ) exit;
8
+
9
+ class Maps {
10
+
11
+ public static $pa_maps_keys = [ 'premium-map-api', 'premium-map-disable-api', 'premium-map-cluster', 'premium-map-locale' ];
12
+
13
+ private $pa_maps_default_settings;
14
+
15
+ private $pa_maps_settings;
16
+
17
+ private $pa_maps_get_settings;
18
+
19
+ public function __construct() {
20
+
21
+ add_action( 'admin_menu', array ( $this,'create_maps_menu' ), 100 );
22
+
23
+ add_action( 'wp_ajax_pa_maps_save_settings', array( $this, 'pa_save_maps_settings' ) );
24
+
25
+ }
26
+
27
+ public function create_maps_menu() {
28
+
29
+ add_submenu_page(
30
+ 'premium-addons',
31
+ '',
32
+ __('Google Maps', 'premium-addons-for-elementor'),
33
+ 'manage_options',
34
+ 'premium-addons-maps',
35
+ [ $this, 'pa_maps_page' ]
36
+ );
37
+
38
+ }
39
+
40
+ public function pa_maps_page() {
41
+
42
+ $js_info = array(
43
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
44
+ 'nonce' => wp_create_nonce( 'pa-maps' ),
45
+ );
46
+
47
+ wp_localize_script( 'pa-admin-js', 'settings', $js_info );
48
+
49
+ $this->pa_maps_default_settings = $this->get_default_keys();
50
+
51
+ $this->pa_maps_get_settings = $this->get_enabled_keys();
52
+
53
+ $pa_maps_new_settings = array_diff_key( $this->pa_maps_default_settings, $this->pa_maps_get_settings );
54
+
55
+ if( ! empty( $pa_maps_new_settings ) ) {
56
+ $pa_maps_updated_settings = array_merge( $this->pa_maps_get_settings, $pa_maps_new_settings );
57
+ update_option( 'pa_maps_save_settings', $pa_maps_updated_settings );
58
+ }
59
+
60
+ $this->pa_maps_get_settings = get_option( 'pa_maps_save_settings', $this->pa_maps_default_settings );
61
+
62
+ $settings = $this->pa_maps_get_settings;
63
+
64
+ $locales = Helper_Functions::get_google_languages();
65
+
66
+ ?>
67
+ <div class="wrap">
68
+ <div class="response-wrap"></div>
69
+ <form action="" method="POST" id="pa-maps" name="pa-maps">
70
+ <div class="pa-header-wrapper">
71
+ <div class="pa-title-left">
72
+ <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
73
+ <h3 class="pa-title-sub"><?php echo sprintf(__('Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor'), Helper_Functions::name(), Helper_Functions::author()); ?></h3>
74
+ </div>
75
+ <?php if( ! Helper_Functions::is_hide_logo()) : ?>
76
+ <div class="pa-title-right">
77
+ <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png';?>">
78
+ </div>
79
+ <?php endif; ?>
80
+ </div>
81
+ <div class="pa-settings-tabs">
82
+ <div id="pa-maps-api" class="pa-maps-tab">
83
+ <div class="pa-row">
84
+ <table class="pa-maps-table">
85
+ <tr>
86
+ <p class="pa-maps-api-notice">
87
+ <?php echo esc_html( Helper_Functions::get_prefix() ) . __(' Maps Element requires Google API key to be entered below. If you don’t have one, click ', 'premium-addons-for-elementor'); ?><a href="https://premiumaddons.com/docs/getting-your-api-key-for-google-reviews/" target="_blank"><?php echo __('here', 'premium-addons-for-elementor'); ?></a><?php echo __(' to get your key.', 'premium-addons-for-elementor'); ?>
88
+ </p>
89
+ </tr>
90
+ <tr>
91
+ <td>
92
+ <h4 class="pa-api-title"><?php echo __('Google Maps API Key:', 'premium-addons-for-elementor'); ?></h4>
93
+ </td>
94
+ <td>
95
+ <input name="premium-map-api" id="premium-map-api" type="text" placeholder="API Key" value="<?php echo esc_attr( $settings['premium-map-api'] ); ?>">
96
+ </td>
97
+ </tr>
98
+ <tr>
99
+ <td>
100
+ <h4 class="pa-api-disable-title"><?php echo __('Google Maps Localization Language:', 'premium-addons-for-elementor'); ?></h4>
101
+ </td>
102
+ <td>
103
+ <select name="premium-map-locale" id="premium-map-locale" class="placeholder placeholder-active">
104
+ <option value=""><?php _e( 'Default', 'premium-addons-for-elementor' ); ?></option>
105
+ <?php foreach ( $locales as $key => $value ) { ?>
106
+ <?php
107
+ $selected = '';
108
+ if ( $key === $settings['premium-map-locale'] ) {
109
+ $selected = 'selected="selected" ';
110
+ }
111
+ ?>
112
+ <option value="<?php echo esc_attr( $key ); ?>" <?php echo $selected; ?>><?php echo esc_attr( $value ); ?></option>
113
+ <?php } ?>
114
+ </select>
115
+ </td>
116
+ </tr>
117
+ <tr>
118
+ <td>
119
+ <h4 class="pa-api-disable-title"><?php echo __('Load Maps API JS File:','premium-addons-for-elementor'); ?></h4>
120
+ </td>
121
+ <td>
122
+ <input name="premium-map-disable-api" id="premium-map-disable-api" type="checkbox" <?php checked(1, $settings['premium-map-disable-api'], true) ?>><span><?php echo __('This will load API JS file if it\'s not loaded by another theme or plugin', 'premium-addons-for-elementor'); ?></span>
123
+ </td>
124
+ </tr>
125
+ <tr>
126
+ <td>
127
+ <h4 class="pa-api-disable-title"><?php echo __('Load Markers Clustering JS File:','premium-addons-for-elementor'); ?></h4>
128
+ </td>
129
+ <td>
130
+ <input name="premium-map-cluster" id="premium-map-cluster" type="checkbox" <?php checked(1, $settings['premium-map-cluster'], true) ?>><span><?php echo __('This will load the JS file for markers clusters', 'premium-addons-for-elementor'); ?></span>
131
+ </td>
132
+ </tr>
133
+ </table>
134
+ <input type="submit" value="<?php echo __('Save Settings', 'premium-addons-for-elementor'); ?>" class="button pa-btn pa-save-button">
135
+ <?php if( ! Helper_Functions::is_hide_rate() ) : ?>
136
+ <div>
137
+ <p><?php echo __('Did you like Premium Addons for Elementor Plugin? Please ', 'premium-addons-for-elementor'); ?><a href="https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/#new-post" target="_blank"><?php echo __('Click Here to Rate it ★★★★★', 'premium-addons-for-elementor'); ?></a></p>
138
+ </div>
139
+ <?php endif; ?>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ </form>
144
+ </div>
145
+ <?php }
146
+
147
+ public static function get_default_keys() {
148
+
149
+ $default_keys = array_fill_keys( self::$pa_maps_keys, true );
150
+
151
+ return $default_keys;
152
+ }
153
+
154
+ public static function get_enabled_keys() {
155
+
156
+ $enabled_keys = get_option( 'pa_maps_save_settings', self::get_default_keys() );
157
+
158
+ return $enabled_keys;
159
+ }
160
+
161
+ public function pa_save_maps_settings() {
162
+
163
+ check_ajax_referer('pa-maps', 'security');
164
+
165
+ if( isset( $_POST['fields'] ) ) {
166
+ parse_str( $_POST['fields'], $settings );
167
+ } else {
168
+ return;
169
+ }
170
+
171
+ $this->pa_maps_settings = array(
172
+ 'premium-map-api' => sanitize_text_field( $settings['premium-map-api'] ),
173
+ 'premium-map-disable-api' => intval( $settings['premium-map-disable-api'] ? 1 : 0 ),
174
+ 'premium-map-cluster' => intval( $settings['premium-map-cluster'] ? 1 : 0 ),
175
+ 'premium-map-locale' => sanitize_text_field( $settings['premium-map-locale'] )
176
+ );
177
+
178
+ update_option( 'pa_maps_save_settings', $this->pa_maps_settings );
179
+
180
+ return true;
181
+ }
182
  }
admin/settings/modules-setting.php CHANGED
@@ -1,803 +1,803 @@
1
- <?php
2
-
3
- namespace PremiumAddons\Admin\Settings;
4
-
5
- use PremiumAddons\Helper_Functions;
6
-
7
- if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
8
-
9
- class Modules_Settings {
10
-
11
- protected $page_slug = 'premium-addons';
12
-
13
- public static $pa_elements_keys = ['premium-banner', 'premium-blog','premium-carousel', 'premium-countdown','premium-counter','premium-dual-header','premium-fancytext','premium-image-separator','premium-maps','premium-modalbox','premium-person','premium-progressbar','premium-testimonials','premium-title','premium-videobox','premium-pricing-table','premium-button','premium-contactform', 'premium-image-button', 'premium-grid','premium-vscroll', 'premium-image-scroll', 'premium-templates', 'premium-duplicator'];
14
-
15
- private $pa_default_settings;
16
-
17
- private $pa_settings;
18
-
19
- private $pa_get_settings;
20
-
21
- public function __construct() {
22
-
23
- add_action( 'admin_menu', array( $this,'pa_admin_menu') );
24
-
25
- add_action( 'admin_enqueue_scripts', array( $this, 'pa_admin_page_scripts' ) );
26
-
27
- add_action( 'wp_ajax_pa_save_admin_addons_settings', array( $this, 'pa_save_settings' ) );
28
-
29
- add_action( 'admin_enqueue_scripts',array( $this, 'localize_js_script' ) );
30
-
31
- }
32
-
33
- public function localize_js_script(){
34
- wp_localize_script(
35
- 'pa-admin-js',
36
- 'premiumRollBackConfirm',
37
- [
38
- 'home_url' => home_url(),
39
- 'i18n' => [
40
- 'rollback_confirm' => __( 'Are you sure you want to reinstall version ' . PREMIUM_ADDONS_STABLE_VERSION . ' ?', 'premium-addons-for-elementor' ),
41
- 'rollback_to_previous_version' => __( 'Rollback to Previous Version', 'premium-addons-for-elementor' ),
42
- 'yes' => __( 'Yes', 'premium-addons-for-elementor' ),
43
- 'cancel' => __( 'Cancel', 'premium-addons-for-elementor' ),
44
- ],
45
- ]
46
- );
47
- }
48
-
49
- public function pa_admin_page_scripts () {
50
-
51
- wp_enqueue_style( 'pa_admin_icon', PREMIUM_ADDONS_URL .'admin/assets/fonts/style.css' );
52
-
53
- $suffix = is_rtl() ? '-rtl' : '';
54
-
55
- $current_screen = get_current_screen();
56
-
57
- wp_enqueue_style(
58
- 'pa-notice-css',
59
- PREMIUM_ADDONS_URL . 'admin/assets/css/notice' . $suffix . '.css'
60
- );
61
-
62
- if( strpos( $current_screen->id , $this->page_slug ) !== false ) {
63
-
64
- wp_enqueue_style(
65
- 'pa-admin-css',
66
- PREMIUM_ADDONS_URL.'admin/assets/css/admin' . $suffix . '.css'
67
- );
68
-
69
- wp_enqueue_style(
70
- 'pa-sweetalert-style',
71
- PREMIUM_ADDONS_URL . 'admin/assets/js/sweetalert2/sweetalert2.min.css'
72
- );
73
-
74
- wp_enqueue_script(
75
- 'pa-admin-js',
76
- PREMIUM_ADDONS_URL .'admin/assets/js/admin.js',
77
- array('jquery'),
78
- PREMIUM_ADDONS_VERSION,
79
- true
80
- );
81
-
82
- wp_enqueue_script(
83
- 'pa-admin-dialog',
84
- PREMIUM_ADDONS_URL . 'admin/assets/js/dialog/dialog.js',
85
- array('jquery-ui-position'),
86
- PREMIUM_ADDONS_VERSION,
87
- true
88
- );
89
-
90
- wp_enqueue_script(
91
- 'pa-sweetalert-core',
92
- PREMIUM_ADDONS_URL . 'admin/assets/js/sweetalert2/core.js',
93
- array('jquery'),
94
- PREMIUM_ADDONS_VERSION,
95
- true
96
- );
97
-
98
- wp_enqueue_script(
99
- 'pa-sweetalert',
100
- PREMIUM_ADDONS_URL . 'admin/assets/js/sweetalert2/sweetalert2.min.js',
101
- array( 'jquery', 'pa-sweetalert-core' ),
102
- PREMIUM_ADDONS_VERSION,
103
- true
104
- );
105
-
106
- }
107
- }
108
-
109
- public function pa_admin_menu() {
110
-
111
- $plugin_name = 'Premium Addons for Elementor';
112
-
113
- if( defined( 'PREMIUM_PRO_ADDONS_VERSION' ) ) {
114
- if( isset( get_option( 'pa_wht_lbl_save_settings' )['premium-wht-lbl-plugin-name'] ) ) {
115
- $name = get_option( 'pa_wht_lbl_save_settings' )['premium-wht-lbl-plugin-name'];
116
- if( '' !== $name )
117
- $plugin_name = $name;
118
- }
119
-
120
- }
121
-
122
- add_menu_page(
123
- $plugin_name,
124
- $plugin_name,
125
- 'manage_options',
126
- 'premium-addons',
127
- array( $this , 'pa_admin_page' ),
128
- '' ,
129
- 100
130
- );
131
- }
132
-
133
- public function pa_admin_page() {
134
-
135
- $theme_slug = Helper_Functions::get_installed_theme();
136
-
137
- $js_info = array(
138
- 'ajaxurl' => admin_url( 'admin-ajax.php' ),
139
- 'nonce' => wp_create_nonce( 'pa-elements' ),
140
- 'theme' => $theme_slug
141
- );
142
-
143
- wp_localize_script( 'pa-admin-js', 'settings', $js_info );
144
-
145
- $this->pa_default_settings = $this->get_default_keys();
146
-
147
- $this->pa_get_settings = $this->get_enabled_keys();
148
-
149
- $pa_new_settings = array_diff_key( $this->pa_default_settings, $this->pa_get_settings );
150
-
151
- if( ! empty( $pa_new_settings ) ) {
152
- $pa_updated_settings = array_merge( $this->pa_get_settings, $pa_new_settings );
153
- update_option( 'pa_save_settings', $pa_updated_settings );
154
- }
155
- $this->pa_get_settings = get_option( 'pa_save_settings', $this->pa_default_settings );
156
-
157
- $prefix = Helper_Functions::get_prefix();
158
-
159
- ?>
160
- <div class="wrap">
161
- <div class="response-wrap"></div>
162
- <form action="" method="POST" id="pa-settings" name="pa-settings">
163
- <div class="pa-header-wrapper">
164
- <div class="pa-title-left">
165
- <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
166
- <h3 class="pa-title-sub"><?php echo sprintf(__('Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor'), Helper_Functions::name(), Helper_Functions::author() ); ?></h3>
167
- </div>
168
- <?php if( ! Helper_Functions::is_hide_logo() ) : ?>
169
- <div class="pa-title-right">
170
- <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png';?>">
171
- </div>
172
- <?php endif; ?>
173
- </div>
174
- <div class="pa-settings-tabs">
175
- <div id="pa-modules" class="pa-settings-tab">
176
- <div>
177
- <br>
178
- <input type="checkbox" class="pa-checkbox" checked="checked">
179
- <label>Enable/Disable All</label>
180
- </div>
181
- <table class="pa-elements-table">
182
- <tbody>
183
- <tr>
184
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Banner', 'premium-addons-for-elementor') ); ?></th>
185
- <td>
186
- <label class="switch">
187
- <input type="checkbox" id="premium-banner" name="premium-banner" <?php checked(1, $this->pa_get_settings['premium-banner'], true) ?>>
188
- <span class="slider round"></span>
189
- </label>
190
- </td>
191
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Blog', 'premium-addons-for-elementor') ); ?></th>
192
- <td>
193
- <label class="switch">
194
- <input type="checkbox" id="premium-blog" name="premium-blog" <?php checked(1, $this->pa_get_settings['premium-blog'], true) ?>>
195
- <span class="slider round"></span>
196
- </label>
197
- </td>
198
- </tr>
199
-
200
- <tr>
201
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Button', 'premium-addons-for-elementor') ); ?></th>
202
- <td>
203
- <label class="switch">
204
- <input type="checkbox" id="premium-button" name="premium-button" <?php checked(1, $this->pa_get_settings['premium-button'], true) ?>>
205
- <span class="slider round"></span>
206
- </label>
207
- </td>
208
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Carousel', 'premium-addons-for-elementor') ); ?></th>
209
- <td>
210
- <label class="switch">
211
- <input type="checkbox" id="premium-carousel" name="premium-carousel" <?php checked(1, $this->pa_get_settings['premium-carousel'], true) ?>>
212
- <span class="slider round"></span>
213
- </label>
214
- </td>
215
- </tr>
216
-
217
- <tr>
218
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Contact Form7', 'premium-addons-for-elementor') ); ?></th>
219
- <td>
220
- <label class="switch">
221
- <input type="checkbox" id="premium-contactform" name="premium-contactform" <?php checked(1, $this->pa_get_settings['premium-contactform'], true) ?>>
222
- <span class="slider round"></span>
223
- </label>
224
- </td>
225
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Countdown', 'premium-addons-for-elementor') ); ?></th>
226
- <td>
227
- <label class="switch">
228
- <input type="checkbox" id="premium-countdown" name="premium-countdown" <?php checked(1, $this->pa_get_settings['premium-countdown'], true) ?>>
229
- <span class="slider round"></span>
230
- </label>
231
- </td>
232
- </tr>
233
-
234
- <tr>
235
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Counter', 'premium-addons-for-elementor') ); ?></th>
236
- <td>
237
- <label class="switch">
238
- <input type="checkbox" id="premium-counter" name="premium-counter" <?php checked(1, $this->pa_get_settings['premium-counter'], true) ?>>
239
- <span class="slider round"></span>
240
- </label>
241
- </td>
242
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Dual Heading', 'premium-addons-for-elementor') ); ?></th>
243
- <td>
244
- <label class="switch">
245
- <input type="checkbox" id="premium-dual-header" name="premium-dual-header" <?php checked(1, $this->pa_get_settings['premium-dual-header'], true) ?>>
246
- <span class="slider round"></span>
247
- </label>
248
- </td>
249
- </tr>
250
-
251
- <tr>
252
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Fancy Text', 'premium-addons-for-elementor') ); ?></th>
253
- <td>
254
- <label class="switch">
255
- <input type="checkbox" id="premium-fancytext" name="premium-fancytext" <?php checked(1, $this->pa_get_settings['premium-fancytext'], true) ?>>
256
- <span class="slider round"></span>
257
- </label>
258
- </td>
259
-
260
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Media Grid', 'premium-addons-for-elementor') ); ?></th>
261
- <td>
262
- <label class="switch">
263
- <input type="checkbox" id="premium-grid" name="premium-grid" <?php checked(1, $this->pa_get_settings['premium-grid'], true) ?>>
264
- <span class="slider round"></span>
265
- </label>
266
- </td>
267
- </tr>
268
-
269
- <tr>
270
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Button', 'premium-addons-for-elementor') ); ?></th>
271
- <td>
272
- <label class="switch">
273
- <input type="checkbox" id="premium-image-button" name="premium-image-button" <?php checked(1, $this->pa_get_settings['premium-image-button'], true) ?>>
274
- <span class="slider round"></span>
275
- </label>
276
- </td>
277
-
278
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Scroll', 'premium-addons-for-elementor') ); ?></th>
279
- <td>
280
- <label class="switch">
281
- <input type="checkbox" id="premium-image-scroll" name="premium-image-scroll" <?php checked(1, $this->pa_get_settings['premium-image-scroll'], true) ?>>
282
- <span class="slider round"></span>
283
- </label>
284
- </td>
285
- </tr>
286
-
287
- <tr>
288
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Separator', 'premium-addons-for-elementor') ); ?></th>
289
- <td>
290
- <label class="switch">
291
- <input type="checkbox" id="premium-image-separator" name="premium-image-separator" <?php checked(1, $this->pa_get_settings['premium-image-separator'], true) ?>>
292
- <span class="slider round"></span>
293
- </label>
294
- </td>
295
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Maps', 'premium-addons-for-elementor') ); ?></th>
296
- <td>
297
- <label class="switch">
298
- <input type="checkbox" id="premium-maps" name="premium-maps" <?php checked(1, $this->pa_get_settings['premium-maps'], true) ?>>
299
- <span class="slider round"></span>
300
- </label>
301
- </td>
302
- </tr>
303
-
304
- <tr>
305
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Modal Box', 'premium-addons-for-elementor') ); ?></th>
306
- <td>
307
- <label class="switch">
308
- <input type="checkbox" id="premium-modalbox" name="premium-modalbox" <?php checked(1, $this->pa_get_settings['premium-modalbox'], true) ?>>
309
- <span class="slider round"></span>
310
- </label>
311
- </td>
312
-
313
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Team Members', 'premium-addons-for-elementor') ); ?></th>
314
- <td>
315
- <label class="switch">
316
- <input type="checkbox" id="premium-person" name="premium-person" <?php checked(1, $this->pa_get_settings['premium-person'], true) ?>>
317
- <span class="slider round"></span>
318
- </label>
319
- </td>
320
- </tr>
321
-
322
- <tr>
323
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Progress Bar', 'premium-addons-for-elementor') ); ?></th>
324
- <td>
325
- <label class="switch">
326
- <input type="checkbox" id="premium-progressbar" name="premium-progressbar" <?php checked(1, $this->pa_get_settings['premium-progressbar'], true) ?>>
327
- <span class="slider round"></span>
328
- </label>
329
- </td>
330
-
331
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Pricing Table', 'premium-addons-for-elementor') ); ?></th>
332
- <td>
333
- <label class="switch">
334
- <input type="checkbox" id="premium-pricing-table" name="premium-pricing-table" <?php checked(1, $this->pa_get_settings['premium-pricing-table'], true) ?>>
335
- <span class="slider round"></span>
336
- </label>
337
- </td>
338
- </tr>
339
-
340
- <tr>
341
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Testimonials', 'premium-addons-for-elementor') ); ?></th>
342
- <td>
343
- <label class="switch">
344
- <input type="checkbox" id="premium-testimonials" name="premium-testimonials" <?php checked(1, $this->pa_get_settings['premium-testimonials'], true) ?>>
345
- <span class="slider round"></span>
346
- </label>
347
- </td>
348
-
349
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Title', 'premium-addons-for-elementor') ); ?></th>
350
- <td>
351
- <label class="switch">
352
- <input type="checkbox" id="premium-title" name="premium-title" <?php checked(1, $this->pa_get_settings['premium-title'], true) ?>>
353
- <span class="slider round"></span>
354
- </label>
355
- </td>
356
-
357
- </tr>
358
-
359
- <tr>
360
-
361
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Video Box', 'premium-addons-for-elementor') ); ?></th>
362
- <td>
363
- <label class="switch">
364
- <input type="checkbox" id="premium-videobox" name="premium-videobox" <?php checked(1, $this->pa_get_settings['premium-videobox'], true) ?>>
365
- <span class="slider round"></span>
366
- </label>
367
- </td>
368
-
369
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Vertical Scroll', 'premium-addons-for-elementor') ); ?></th>
370
- <td>
371
- <label class="switch">
372
- <input type="checkbox" id="premium-vscroll" name="premium-vscroll" <?php checked(1, $this->pa_get_settings['premium-vscroll'], true) ?>>
373
- <span class="slider round"></span>
374
- </label>
375
- </td>
376
-
377
- </tr>
378
-
379
- <tr>
380
-
381
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Duplicator', 'premium-addons-for-elementor') ); ?></th>
382
- <td>
383
- <label class="switch">
384
- <input type="checkbox" id="premium-duplicator" name="premium-duplicator" <?php checked(1, $this->pa_get_settings['premium-duplicator'], true) ?>>
385
- <span class="slider round"></span>
386
- </label>
387
- </td>
388
-
389
- <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Templates', 'premium-addons-for-elementor') ); ?></th>
390
- <td>
391
- <label class="switch">
392
- <input type="checkbox" id="premium-templates" name="premium-templates" <?php checked(1, $this->pa_get_settings['premium-templates'], true) ?>>
393
- <span class="slider round"></span>
394
- </label>
395
- </td>
396
-
397
- </tr>
398
-
399
- <?php if( ! defined( 'PREMIUM_PRO_ADDONS_VERSION' ) ) : ?>
400
- <tr class="pa-sec-elems-tr"><th><h1>PRO Elements</h1></th></tr>
401
-
402
- <tr>
403
-
404
- <th><?php echo __('Premium Alert Box', 'premium-addons-for-elementor'); ?></th>
405
- <td>
406
- <label class="switch">
407
- <input type="checkbox">
408
- <span class="pro-slider round"></span>
409
- </label>
410
- </td>
411
-
412
- <th><?php echo __('Premium Behance Feed', 'premium-addons-for-elementor'); ?></th>
413
- <td>
414
- <label class="switch">
415
- <input type="checkbox">
416
- <span class="pro-slider round"></span>
417
- </label>
418
- </td>
419
-
420
- </tr>
421
-
422
- <tr>
423
-
424
- <th><?php echo __('Premium Charts', 'premium-addons-for-elementor'); ?></th>
425
- <td>
426
- <label class="switch">
427
- <input type="checkbox">
428
- <span class="pro-slider round"></span>
429
- </label>
430
- </td>
431
-
432
- <th><?php echo __('Premium Content Switcher', 'premium-addons-for-elementor'); ?></th>
433
- <td>
434
- <label class="switch">
435
- <input type="checkbox">
436
- <span class="pro-slider round"></span>
437
- </label>
438
- </td>
439
-
440
- </tr>
441
-
442
- <tr>
443
- <th><?php echo __('Premium Background Transition', 'premium-addons-for-elementor'); ?></th>
444
- <td>
445
- <label class="switch">
446
- <input type="checkbox">
447
- <span class="pro-slider round"></span>
448
- </label>
449
- </td>
450
-
451
- <th><?php echo __('Premium Divider', 'premium-addons-for-elementor'); ?></th>
452
- <td>
453
- <label class="switch">
454
- <input type="checkbox">
455
- <span class="pro-slider round"></span>
456
- </label>
457
- </td>
458
- </tr>
459
-
460
- <tr>
461
-
462
- <th><?php echo __('Premium Facebook Feed', 'premium-addons-for-elementor'); ?></th>
463
- <td>
464
- <label class="switch">
465
- <input type="checkbox">
466
- <span class="pro-slider round"></span>
467
- </label>
468
- </td>
469
-
470
- <th><?php echo __('Premium Facebook Reviews', 'premium-addons-for-elementor'); ?></th>
471
- <td>
472
- <label class="switch">
473
- <input type="checkbox">
474
- <span class="pro-slider round"></span>
475
- </label>
476
- </td>
477
- </tr>
478
-
479
- <tr>
480
- <th><?php echo __('Premium Flip Box', 'premium-addons-for-elementor'); ?></th>
481
- <td>
482
- <label class="switch">
483
- <input type="checkbox">
484
- <span class="pro-slider round"></span>
485
- </label>
486
- </td>
487
-
488
- <th><?php echo __('Premium Google Reviews', 'premium-addons-for-elementor'); ?></th>
489
- <td>
490
- <label class="switch">
491
- <input type="checkbox">
492
- <span class="pro-slider round"></span>
493
- </label>
494
- </td>
495
- </tr>
496
-
497
- <tr>
498
- <th><?php echo __('Premium Icon Box', 'premium-addons-for-elementor'); ?></th>
499
- <td>
500
- <label class="switch">
501
- <input type="checkbox">
502
- <span class="pro-slider round"></span>
503
- </label>
504
- </td>
505
-
506
- <th><?php echo __('Premium iHover', 'premium-addons-for-elementor'); ?></th>
507
- <td>
508
- <label class="switch">
509
- <input type="checkbox">
510
- <span class="pro-slider round"></span>
511
- </label>
512
- </td>
513
- </tr>
514
-
515
- <tr>
516
- <th><?php echo __('Premium Image Accordion', 'premium-addons-for-elementor'); ?></th>
517
- <td>
518
- <label class="switch">
519
- <input type="checkbox">
520
- <span class="pro-slider round"></span>
521
- </label>
522
- </td>
523
-
524
- <th><?php echo __('Premium Image Comparison', 'premium-addons-for-elementor'); ?></th>
525
- <td>
526
- <label class="switch">
527
- <input type="checkbox">
528
- <span class="pro-slider round"></span>
529
- </label>
530
- </td>
531
-
532
- </tr>
533
-
534
- <tr>
535
- <th><?php echo __('Premium Image Hotspots', 'premium-addons-for-elementor'); ?></th>
536
- <td>
537
- <label class="switch">
538
- <input type="checkbox">
539
- <span class="pro-slider round"></span>
540
- </label>
541
- </td>
542
-
543
- <th><?php echo __('Premium Image Layers', 'premium-addons-for-elementor'); ?></th>
544
- <td>
545
- <label class="switch">
546
- <input type="checkbox">
547
- <span class="pro-slider round"></span>
548
- </label>
549
- </td>
550
- </tr>
551
-
552
- <tr>
553
- <th><?php echo __('Premium Instagram Feed', 'premium-addons-for-elementor'); ?></th>
554
- <td>
555
- <label class="switch">
556
- <input type="checkbox">
557
- <span class="pro-slider round"></span>
558
- </label>
559
- </td>
560
-
561
- <th><?php echo __('Premium Magic Section', 'premium-addons-for-elementor'); ?></th>
562
- <td>
563
- <label class="switch">
564
- <input type="checkbox">
565
- <span class="pro-slider round"></span>
566
- </label>
567
- </td>
568
-
569
- </tr>
570
-
571
- <tr>
572
- <th><?php echo __('Premium Messenger Chat', 'premium-addons-for-elementor'); ?></th>
573
- <td>
574
- <label class="switch">
575
- <input type="checkbox">
576
- <span class="pro-slider round"></span>
577
- </label>
578
- </td>
579
-
580
- <th><?php echo __('Premium Multi Scroll', 'premium-addons-for-elementor'); ?></th>
581
- <td>
582
- <label class="switch">
583
- <input type="checkbox">
584
- <span class="pro-slider round"></span>
585
- </label>
586
- </td>
587
-
588
- </tr>
589
-
590
- <tr>
591
- <th><?php echo __('Premium Preview Window', 'premium-addons-for-elementor'); ?></th>
592
- <td>
593
- <label class="switch">
594
- <input type="checkbox">
595
- <span class="pro-slider round"></span>
596
- </label>
597
- </td>
598
-
599
- <th><?php echo __('Premium Table', 'premium-addons-for-elementor'); ?></th>
600
- <td>
601
- <label class="switch">
602
- <input type="checkbox">
603
- <span class="pro-slider round"></span>
604
- </label>
605
- </td>
606
-
607
- </tr>
608
-
609
- <tr>
610
- <th><?php echo __('Premium Tabs', 'premium-addons-for-elementor'); ?></th>
611
- <td>
612
- <label class="switch">
613
- <input type="checkbox">
614
- <span class="pro-slider round"></span>
615
- </label>
616
- </td>
617
-
618
- <th><?php echo __('Premium Twitter Feed', 'premium-addons-for-elementor'); ?></th>
619
- <td>
620
- <label class="switch">
621
- <input type="checkbox">
622
- <span class="pro-slider round"></span>
623
- </label>
624
- </td>
625
-
626
- </tr>
627
-
628
- <tr>
629
- <th><?php echo __('Premium Unfold', 'premium-addons-for-elementor'); ?></th>
630
- <td>
631
- <label class="switch">
632
- <input type="checkbox">
633
- <span class="pro-slider round"></span>
634
- </label>
635
- </td>
636
-
637
- <th><?php echo __('Premium Whatsapp Chat', 'premium-addons-for-elementor'); ?></th>
638
- <td>
639
- <label class="switch">
640
- <input type="checkbox">
641
- <span class="pro-slider round"></span>
642
- </label>
643
- </td>
644
-
645
- </tr>
646
-
647
- <tr>
648
- <th><?php echo __('Premium Yelp Reviews', 'premium-addons-for-elementor'); ?></th>
649
- <td>
650
- <label class="switch">
651
- <input type="checkbox">
652
- <span class="pro-slider round"></span>
653
- </label>
654
- </td>
655
- </tr>
656
-
657
- <tr>
658
- <th><?php echo __('Premium Section Parallax', 'premium-addons-for-elementor'); ?></th>
659
- <td>
660
- <label class="switch">
661
- <input type="checkbox">
662
- <span class="pro-slider round"></span>
663
- </label>
664
- </td>
665
- <th><?php echo __('Premium Section Particles', 'premium-addons-for-elementor'); ?></th>
666
- <td>
667
- <label class="switch">
668
- <input type="checkbox">
669
- <span class="pro-slider round"></span>
670
- </label>
671
- </td>
672
- </tr>
673
-
674
- <tr>
675
- <th><?php echo __('Premium Section Animated Gradient', 'premium-addons-for-elementor'); ?></th>
676
- <td>
677
- <label class="switch">
678
- <input type="checkbox">
679
- <span class="pro-slider round"></span>
680
- </label>
681
- </td>
682
- <th><?php echo __('Premium Section Ken Burns', 'premium-addons-for-elementor'); ?></th>
683
- <td>
684
- <label class="switch">
685
- <input type="checkbox">
686
- <span class="pro-slider round"></span>
687
- </label>
688
- </td>
689
- </tr>
690
-
691
- <?php endif; ?>
692
- </tbody>
693
- </table>
694
- <input type="submit" value="<?php echo __('Save Settings', 'premium-addons-for-elementor'); ?>" class="button pa-btn pa-save-button">
695
-
696
- </div>
697
- <?php if( ! Helper_Functions::is_hide_rate()) : ?>
698
- <div>
699
- <p><?php echo __('Did you like Premium Addons for Elementor Plugin? Please ', 'premium-addons-for-elementor'); ?><a href="https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/#new-post" target="_blank"><?php echo __('Click Here to Rate it ★★★★★', 'premium-addons-for-elementor'); ?></a></p>
700
- </div>
701
- <?php endif; ?>
702
- </div>
703
- </form>
704
- </div>
705
- <?php
706
- }
707
-
708
- public static function get_default_keys() {
709
-
710
- $default_keys = array_fill_keys( self::$pa_elements_keys, true );
711
-
712
- return $default_keys;
713
- }
714
-
715
- public static function get_enabled_keys() {
716
-
717
- $enabled_keys = get_option( 'pa_save_settings', self::get_default_keys() );
718
-
719
- return $enabled_keys;
720
- }
721
-
722
- /*
723
- * Check If Premium Templates is enabled
724
- *
725
- * @since 3.6.0
726
- * @access public
727
- *
728
- * @return boolean
729
- */
730
- public static function check_premium_templates() {
731
-
732
- $settings = self::get_enabled_keys();
733
-
734
- if( ! isset( $settings['premium-templates'] ) )
735
- return true;
736
-
737
- $is_enabled = $settings['premium-templates'];
738
-
739
- return $is_enabled;
740
- }
741
-
742
- /*
743
- * Check If Premium Duplicator is enabled
744
- *
745
- * @since 3.9.7
746
- * @access public
747
- *
748
- * @return boolean
749
- */
750
- public static function check_premium_duplicator() {
751
-
752
- $settings = self::get_enabled_keys();
753
-
754
- if( ! isset( $settings['premium-duplicator'] ) )
755
- return true;
756
-
757
- $is_enabled = $settings['premium-duplicator'];
758
-
759
- return $is_enabled;
760
- }
761
-
762
- public function pa_save_settings() {
763
-
764
- check_ajax_referer( 'pa-elements', 'security' );
765
-
766
- if( isset( $_POST['fields'] ) ) {
767
- parse_str( $_POST['fields'], $settings );
768
- } else {
769
- return;
770
- }
771
-
772
- $this->pa_settings = array(
773
- 'premium-banner' => intval( $settings['premium-banner'] ? 1 : 0 ),
774
- 'premium-blog' => intval( $settings['premium-blog'] ? 1 : 0 ),
775
- 'premium-carousel' => intval( $settings['premium-carousel'] ? 1 : 0 ),
776
- 'premium-countdown' => intval( $settings['premium-countdown'] ? 1 : 0 ),
777
- 'premium-counter' => intval( $settings['premium-counter'] ? 1 : 0 ),
778
- 'premium-dual-header' => intval( $settings['premium-dual-header'] ? 1 : 0 ),
779
- 'premium-fancytext' => intval( $settings['premium-fancytext'] ? 1 : 0 ),
780
- 'premium-image-separator' => intval( $settings['premium-image-separator'] ? 1 : 0 ),
781
- 'premium-maps' => intval( $settings['premium-maps'] ? 1 : 0 ),
782
- 'premium-modalbox' => intval( $settings['premium-modalbox'] ? 1 : 0 ),
783
- 'premium-person' => intval( $settings['premium-person'] ? 1 : 0 ),
784
- 'premium-progressbar' => intval( $settings['premium-progressbar'] ? 1 : 0 ),
785
- 'premium-testimonials' => intval( $settings['premium-testimonials'] ? 1 : 0 ),
786
- 'premium-title' => intval( $settings['premium-title'] ? 1 : 0 ),
787
- 'premium-videobox' => intval( $settings['premium-videobox'] ? 1 : 0 ),
788
- 'premium-pricing-table' => intval( $settings['premium-pricing-table'] ? 1 : 0 ),
789
- 'premium-button' => intval( $settings['premium-button'] ? 1 : 0 ),
790
- 'premium-contactform' => intval( $settings['premium-contactform'] ? 1 : 0 ),
791
- 'premium-image-button' => intval( $settings['premium-image-button'] ? 1 : 0 ),
792
- 'premium-grid' => intval( $settings['premium-grid'] ? 1 : 0 ),
793
- 'premium-vscroll' => intval( $settings['premium-vscroll'] ? 1 : 0 ),
794
- 'premium-image-scroll' => intval( $settings['premium-image-scroll'] ? 1 : 0 ),
795
- 'premium-templates' => intval( $settings['premium-templates'] ? 1 : 0 ),
796
- 'premium-duplicator' => intval( $settings['premium-duplicator'] ? 1 : 0 ),
797
- );
798
-
799
- update_option( 'pa_save_settings', $this->pa_settings );
800
-
801
- return true;
802
- }
803
  }
1
+ <?php
2
+
3
+ namespace PremiumAddons\Admin\Settings;
4
+
5
+ use PremiumAddons\Helper_Functions;
6
+
7
+ if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
8
+
9
+ class Modules_Settings {
10
+
11
+ protected $page_slug = 'premium-addons';
12
+
13
+ public static $pa_elements_keys = ['premium-banner', 'premium-blog','premium-carousel', 'premium-countdown','premium-counter','premium-dual-header','premium-fancytext','premium-image-separator','premium-maps','premium-modalbox','premium-person','premium-progressbar','premium-testimonials','premium-title','premium-videobox','premium-pricing-table','premium-button','premium-contactform', 'premium-image-button', 'premium-grid','premium-vscroll', 'premium-image-scroll', 'premium-templates', 'premium-duplicator'];
14
+
15
+ private $pa_default_settings;
16
+
17
+ private $pa_settings;
18
+
19
+ private $pa_get_settings;
20
+
21
+ public function __construct() {
22
+
23
+ add_action( 'admin_menu', array( $this,'pa_admin_menu') );
24
+
25
+ add_action( 'admin_enqueue_scripts', array( $this, 'pa_admin_page_scripts' ) );
26
+
27
+ add_action( 'wp_ajax_pa_save_admin_addons_settings', array( $this, 'pa_save_settings' ) );
28
+
29
+ add_action( 'admin_enqueue_scripts',array( $this, 'localize_js_script' ) );
30
+
31
+ }
32
+
33
+ public function localize_js_script(){
34
+ wp_localize_script(
35
+ 'pa-admin-js',
36
+ 'premiumRollBackConfirm',
37
+ [
38
+ 'home_url' => home_url(),
39
+ 'i18n' => [
40
+ 'rollback_confirm' => __( 'Are you sure you want to reinstall version ' . PREMIUM_ADDONS_STABLE_VERSION . ' ?', 'premium-addons-for-elementor' ),
41
+ 'rollback_to_previous_version' => __( 'Rollback to Previous Version', 'premium-addons-for-elementor' ),
42
+ 'yes' => __( 'Yes', 'premium-addons-for-elementor' ),
43
+ 'cancel' => __( 'Cancel', 'premium-addons-for-elementor' ),
44
+ ],
45
+ ]
46
+ );
47
+ }
48
+
49
+ public function pa_admin_page_scripts () {
50
+
51
+ wp_enqueue_style( 'pa_admin_icon', PREMIUM_ADDONS_URL .'admin/assets/fonts/style.css' );
52
+
53
+ $suffix = is_rtl() ? '-rtl' : '';
54
+
55
+ $current_screen = get_current_screen();
56
+
57
+ wp_enqueue_style(
58
+ 'pa-notice-css',
59
+ PREMIUM_ADDONS_URL . 'admin/assets/css/notice' . $suffix . '.css'
60
+ );
61
+
62
+ if( strpos( $current_screen->id , $this->page_slug ) !== false ) {
63
+
64
+ wp_enqueue_style(
65
+ 'pa-admin-css',
66
+ PREMIUM_ADDONS_URL.'admin/assets/css/admin' . $suffix . '.css'
67
+ );
68
+
69
+ wp_enqueue_style(
70
+ 'pa-sweetalert-style',
71
+ PREMIUM_ADDONS_URL . 'admin/assets/js/sweetalert2/sweetalert2.min.css'
72
+ );
73
+
74
+ wp_enqueue_script(
75
+ 'pa-admin-js',
76
+ PREMIUM_ADDONS_URL .'admin/assets/js/admin.js',
77
+ array('jquery'),
78
+ PREMIUM_ADDONS_VERSION,
79
+ true
80
+ );
81
+
82
+ wp_enqueue_script(
83
+ 'pa-admin-dialog',
84
+ PREMIUM_ADDONS_URL . 'admin/assets/js/dialog/dialog.js',
85
+ array('jquery-ui-position'),
86
+ PREMIUM_ADDONS_VERSION,
87
+ true
88
+ );
89
+
90
+ wp_enqueue_script(
91
+ 'pa-sweetalert-core',
92
+ PREMIUM_ADDONS_URL . 'admin/assets/js/sweetalert2/core.js',
93
+ array('jquery'),
94
+ PREMIUM_ADDONS_VERSION,
95
+ true
96
+ );
97
+
98
+ wp_enqueue_script(
99
+ 'pa-sweetalert',
100
+ PREMIUM_ADDONS_URL . 'admin/assets/js/sweetalert2/sweetalert2.min.js',
101
+ array( 'jquery', 'pa-sweetalert-core' ),
102
+ PREMIUM_ADDONS_VERSION,
103
+ true
104
+ );
105
+
106
+ }
107
+ }
108
+
109
+ public function pa_admin_menu() {
110
+
111
+ $plugin_name = 'Premium Addons for Elementor';
112
+
113
+ if( defined( 'PREMIUM_PRO_ADDONS_VERSION' ) ) {
114
+ if( isset( get_option( 'pa_wht_lbl_save_settings' )['premium-wht-lbl-plugin-name'] ) ) {
115
+ $name = get_option( 'pa_wht_lbl_save_settings' )['premium-wht-lbl-plugin-name'];
116
+ if( '' !== $name )
117
+ $plugin_name = $name;
118
+ }
119
+
120
+ }
121
+
122
+ add_menu_page(
123
+ $plugin_name,
124
+ $plugin_name,
125
+ 'manage_options',
126
+ 'premium-addons',
127
+ array( $this , 'pa_admin_page' ),
128
+ '' ,
129
+ 100
130
+ );
131
+ }
132
+
133
+ public function pa_admin_page() {
134
+
135
+ $theme_slug = Helper_Functions::get_installed_theme();
136
+
137
+ $js_info = array(
138
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
139
+ 'nonce' => wp_create_nonce( 'pa-elements' ),
140
+ 'theme' => $theme_slug
141
+ );
142
+
143
+ wp_localize_script( 'pa-admin-js', 'settings', $js_info );
144
+
145
+ $this->pa_default_settings = $this->get_default_keys();
146
+
147
+ $this->pa_get_settings = $this->get_enabled_keys();
148
+
149
+ $pa_new_settings = array_diff_key( $this->pa_default_settings, $this->pa_get_settings );
150
+
151
+ if( ! empty( $pa_new_settings ) ) {
152
+ $pa_updated_settings = array_merge( $this->pa_get_settings, $pa_new_settings );
153
+ update_option( 'pa_save_settings', $pa_updated_settings );
154
+ }
155
+ $this->pa_get_settings = get_option( 'pa_save_settings', $this->pa_default_settings );
156
+
157
+ $prefix = Helper_Functions::get_prefix();
158
+
159
+ ?>
160
+ <div class="wrap">
161
+ <div class="response-wrap"></div>
162
+ <form action="" method="POST" id="pa-settings" name="pa-settings">
163
+ <div class="pa-header-wrapper">
164
+ <div class="pa-title-left">
165
+ <h1 class="pa-title-main"><?php echo Helper_Functions::name(); ?></h1>
166
+ <h3 class="pa-title-sub"><?php echo sprintf(__('Thank you for using %s. This plugin has been developed by %s and we hope you enjoy using it.','premium-addons-for-elementor'), Helper_Functions::name(), Helper_Functions::author() ); ?></h3>
167
+ </div>
168
+ <?php if( ! Helper_Functions::is_hide_logo() ) : ?>
169
+ <div class="pa-title-right">
170
+ <img class="pa-logo" src="<?php echo PREMIUM_ADDONS_URL . 'admin/images/premium-addons-logo.png';?>">
171
+ </div>
172
+ <?php endif; ?>
173
+ </div>
174
+ <div class="pa-settings-tabs">
175
+ <div id="pa-modules" class="pa-settings-tab">
176
+ <div>
177
+ <br>
178
+ <input type="checkbox" class="pa-checkbox" checked="checked">
179
+ <label>Enable/Disable All</label>
180
+ </div>
181
+ <table class="pa-elements-table">
182
+ <tbody>
183
+ <tr>
184
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Banner', 'premium-addons-for-elementor') ); ?></th>
185
+ <td>
186
+ <label class="switch">
187
+ <input type="checkbox" id="premium-banner" name="premium-banner" <?php checked(1, $this->pa_get_settings['premium-banner'], true) ?>>
188
+ <span class="slider round"></span>
189
+ </label>
190
+ </td>
191
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Blog', 'premium-addons-for-elementor') ); ?></th>
192
+ <td>
193
+ <label class="switch">
194
+ <input type="checkbox" id="premium-blog" name="premium-blog" <?php checked(1, $this->pa_get_settings['premium-blog'], true) ?>>
195
+ <span class="slider round"></span>
196
+ </label>
197
+ </td>
198
+ </tr>
199
+
200
+ <tr>
201
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Button', 'premium-addons-for-elementor') ); ?></th>
202
+ <td>
203
+ <label class="switch">
204
+ <input type="checkbox" id="premium-button" name="premium-button" <?php checked(1, $this->pa_get_settings['premium-button'], true) ?>>
205
+ <span class="slider round"></span>
206
+ </label>
207
+ </td>
208
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Carousel', 'premium-addons-for-elementor') ); ?></th>
209
+ <td>
210
+ <label class="switch">
211
+ <input type="checkbox" id="premium-carousel" name="premium-carousel" <?php checked(1, $this->pa_get_settings['premium-carousel'], true) ?>>
212
+ <span class="slider round"></span>
213
+ </label>
214
+ </td>
215
+ </tr>
216
+
217
+ <tr>
218
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Contact Form7', 'premium-addons-for-elementor') ); ?></th>
219
+ <td>
220
+ <label class="switch">
221
+ <input type="checkbox" id="premium-contactform" name="premium-contactform" <?php checked(1, $this->pa_get_settings['premium-contactform'], true) ?>>
222
+ <span class="slider round"></span>
223
+ </label>
224
+ </td>
225
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Countdown', 'premium-addons-for-elementor') ); ?></th>
226
+ <td>
227
+ <label class="switch">
228
+ <input type="checkbox" id="premium-countdown" name="premium-countdown" <?php checked(1, $this->pa_get_settings['premium-countdown'], true) ?>>
229
+ <span class="slider round"></span>
230
+ </label>
231
+ </td>
232
+ </tr>
233
+
234
+ <tr>
235
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Counter', 'premium-addons-for-elementor') ); ?></th>
236
+ <td>
237
+ <label class="switch">
238
+ <input type="checkbox" id="premium-counter" name="premium-counter" <?php checked(1, $this->pa_get_settings['premium-counter'], true) ?>>
239
+ <span class="slider round"></span>
240
+ </label>
241
+ </td>
242
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Dual Heading', 'premium-addons-for-elementor') ); ?></th>
243
+ <td>
244
+ <label class="switch">
245
+ <input type="checkbox" id="premium-dual-header" name="premium-dual-header" <?php checked(1, $this->pa_get_settings['premium-dual-header'], true) ?>>
246
+ <span class="slider round"></span>
247
+ </label>
248
+ </td>
249
+ </tr>
250
+
251
+ <tr>
252
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Fancy Text', 'premium-addons-for-elementor') ); ?></th>
253
+ <td>
254
+ <label class="switch">
255
+ <input type="checkbox" id="premium-fancytext" name="premium-fancytext" <?php checked(1, $this->pa_get_settings['premium-fancytext'], true) ?>>
256
+ <span class="slider round"></span>
257
+ </label>
258
+ </td>
259
+
260
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Media Grid', 'premium-addons-for-elementor') ); ?></th>
261
+ <td>
262
+ <label class="switch">
263
+ <input type="checkbox" id="premium-grid" name="premium-grid" <?php checked(1, $this->pa_get_settings['premium-grid'], true) ?>>
264
+ <span class="slider round"></span>
265
+ </label>
266
+ </td>
267
+ </tr>
268
+
269
+ <tr>
270
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Button', 'premium-addons-for-elementor') ); ?></th>
271
+ <td>
272
+ <label class="switch">
273
+ <input type="checkbox" id="premium-image-button" name="premium-image-button" <?php checked(1, $this->pa_get_settings['premium-image-button'], true) ?>>
274
+ <span class="slider round"></span>
275
+ </label>
276
+ </td>
277
+
278
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Scroll', 'premium-addons-for-elementor') ); ?></th>
279
+ <td>
280
+ <label class="switch">
281
+ <input type="checkbox" id="premium-image-scroll" name="premium-image-scroll" <?php checked(1, $this->pa_get_settings['premium-image-scroll'], true) ?>>
282
+ <span class="slider round"></span>
283
+ </label>
284
+ </td>
285
+ </tr>
286
+
287
+ <tr>
288
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Image Separator', 'premium-addons-for-elementor') ); ?></th>
289
+ <td>
290
+ <label class="switch">
291
+ <input type="checkbox" id="premium-image-separator" name="premium-image-separator" <?php checked(1, $this->pa_get_settings['premium-image-separator'], true) ?>>
292
+ <span class="slider round"></span>
293
+ </label>
294
+ </td>
295
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Maps', 'premium-addons-for-elementor') ); ?></th>
296
+ <td>
297
+ <label class="switch">
298
+ <input type="checkbox" id="premium-maps" name="premium-maps" <?php checked(1, $this->pa_get_settings['premium-maps'], true) ?>>
299
+ <span class="slider round"></span>
300
+ </label>
301
+ </td>
302
+ </tr>
303
+
304
+ <tr>
305
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Modal Box', 'premium-addons-for-elementor') ); ?></th>
306
+ <td>
307
+ <label class="switch">
308
+ <input type="checkbox" id="premium-modalbox" name="premium-modalbox" <?php checked(1, $this->pa_get_settings['premium-modalbox'], true) ?>>
309
+ <span class="slider round"></span>
310
+ </label>
311
+ </td>
312
+
313
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Team Members', 'premium-addons-for-elementor') ); ?></th>
314
+ <td>
315
+ <label class="switch">
316
+ <input type="checkbox" id="premium-person" name="premium-person" <?php checked(1, $this->pa_get_settings['premium-person'], true) ?>>
317
+ <span class="slider round"></span>
318
+ </label>
319
+ </td>
320
+ </tr>
321
+
322
+ <tr>
323
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Progress Bar', 'premium-addons-for-elementor') ); ?></th>
324
+ <td>
325
+ <label class="switch">
326
+ <input type="checkbox" id="premium-progressbar" name="premium-progressbar" <?php checked(1, $this->pa_get_settings['premium-progressbar'], true) ?>>
327
+ <span class="slider round"></span>
328
+ </label>
329
+ </td>
330
+
331
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Pricing Table', 'premium-addons-for-elementor') ); ?></th>
332
+ <td>
333
+ <label class="switch">
334
+ <input type="checkbox" id="premium-pricing-table" name="premium-pricing-table" <?php checked(1, $this->pa_get_settings['premium-pricing-table'], true) ?>>
335
+ <span class="slider round"></span>
336
+ </label>
337
+ </td>
338
+ </tr>
339
+
340
+ <tr>
341
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Testimonials', 'premium-addons-for-elementor') ); ?></th>
342
+ <td>
343
+ <label class="switch">
344
+ <input type="checkbox" id="premium-testimonials" name="premium-testimonials" <?php checked(1, $this->pa_get_settings['premium-testimonials'], true) ?>>
345
+ <span class="slider round"></span>
346
+ </label>
347
+ </td>
348
+
349
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Title', 'premium-addons-for-elementor') ); ?></th>
350
+ <td>
351
+ <label class="switch">
352
+ <input type="checkbox" id="premium-title" name="premium-title" <?php checked(1, $this->pa_get_settings['premium-title'], true) ?>>
353
+ <span class="slider round"></span>
354
+ </label>
355
+ </td>
356
+
357
+ </tr>
358
+
359
+ <tr>
360
+
361
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Video Box', 'premium-addons-for-elementor') ); ?></th>
362
+ <td>
363
+ <label class="switch">
364
+ <input type="checkbox" id="premium-videobox" name="premium-videobox" <?php checked(1, $this->pa_get_settings['premium-videobox'], true) ?>>
365
+ <span class="slider round"></span>
366
+ </label>
367
+ </td>
368
+
369
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Vertical Scroll', 'premium-addons-for-elementor') ); ?></th>
370
+ <td>
371
+ <label class="switch">
372
+ <input type="checkbox" id="premium-vscroll" name="premium-vscroll" <?php checked(1, $this->pa_get_settings['premium-vscroll'], true) ?>>
373
+ <span class="slider round"></span>
374
+ </label>
375
+ </td>
376
+
377
+ </tr>
378
+
379
+ <tr>
380
+
381
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Duplicator', 'premium-addons-for-elementor') ); ?></th>
382
+ <td>
383
+ <label class="switch">
384
+ <input type="checkbox" id="premium-duplicator" name="premium-duplicator" <?php checked(1, $this->pa_get_settings['premium-duplicator'], true) ?>>
385
+ <span class="slider round"></span>
386
+ </label>
387
+ </td>
388
+
389
+ <th><?php echo sprintf( '%1$s %2$s', $prefix, __('Templates', 'premium-addons-for-elementor') ); ?></th>
390
+ <td>
391
+ <label class="switch">
392
+ <input type="checkbox" id="premium-templates" name="premium-templates" <?php checked(1, $this->pa_get_settings['premium-templates'], true) ?>>
393
+ <span class="slider round"></span>
394
+ </label>
395
+ </td>
396
+
397
+ </tr>
398
+
399
+ <?php if( ! defined( 'PREMIUM_PRO_ADDONS_VERSION' ) ) : ?>
400
+ <tr class="pa-sec-elems-tr"><th><h1>PRO Elements</h1></th></tr>
401
+
402
+ <tr>
403
+
404
+ <th><?php echo __('Premium Alert Box', 'premium-addons-for-elementor'); ?></th>
405
+ <td>
406
+ <label class="switch">
407
+ <input type="checkbox">
408
+ <span class="pro-slider round"></span>
409
+ </label>
410
+ </td>
411
+
412
+ <th><?php echo __('Premium Behance Feed', 'premium-addons-for-elementor'); ?></th>
413
+ <td>
414
+ <label class="switch">
415
+ <input type="checkbox">
416
+ <span class="pro-slider round"></span>
417
+ </label>
418
+ </td>
419
+
420
+ </tr>
421
+
422
+ <tr>
423
+
424
+ <th><?php echo __('Premium Charts', 'premium-addons-for-elementor'); ?></th>
425
+ <td>
426
+ <label class="switch">
427
+ <input type="checkbox">
428
+ <span class="pro-slider round"></span>
429
+ </label>
430
+ </td>
431
+
432
+ <th><?php echo __('Premium Content Switcher', 'premium-addons-for-elementor'); ?></th>
433
+ <td>
434
+ <label class="switch">
435
+ <input type="checkbox">
436
+ <span class="pro-slider round"></span>
437
+ </label>
438
+ </td>
439
+
440
+ </tr>
441
+
442
+ <tr>
443
+ <th><?php echo __('Premium Background Transition', 'premium-addons-for-elementor'); ?></th>
444
+ <td>
445
+ <label class="switch">
446
+ <input type="checkbox">
447
+ <span class="pro-slider round"></span>
448
+ </label>
449
+ </td>
450
+
451
+ <th><?php echo __('Premium Divider', 'premium-addons-for-elementor'); ?></th>
452
+ <td>
453
+ <label class="switch">
454
+ <input type="checkbox">
455
+ <span class="pro-slider round"></span>
456
+ </label>
457
+ </td>
458
+ </tr>
459
+
460
+ <tr>
461
+
462
+ <th><?php echo __('Premium Facebook Feed', 'premium-addons-for-elementor'); ?></th>
463
+ <td>
464
+ <label class="switch">
465
+ <input type="checkbox">
466
+ <span class="pro-slider round"></span>
467
+ </label>
468
+ </td>
469
+
470
+ <th><?php echo __('Premium Facebook Reviews', 'premium-addons-for-elementor'); ?></th>
471
+ <td>
472
+ <label class="switch">
473
+ <input type="checkbox">
474
+ <span class="pro-slider round"></span>
475
+ </label>
476
+ </td>
477
+ </tr>
478
+
479
+ <tr>
480
+ <th><?php echo __('Premium Flip Box', 'premium-addons-for-elementor'); ?></th>
481
+ <td>
482
+ <label class="switch">
483
+ <input type="checkbox">
484
+ <span class="pro-slider round"></span>
485
+ </label>
486
+ </td>
487
+
488
+ <th><?php echo __('Premium Google Reviews', 'premium-addons-for-elementor'); ?></th>
489
+ <td>
490
+ <label class="switch">
491
+ <input type="checkbox">
492
+ <span class="pro-slider round"></span>
493
+ </label>
494
+ </td>
495
+ </tr>
496
+
497
+ <tr>
498
+ <th><?php echo __('Premium Icon Box', 'premium-addons-for-elementor'); ?></th>
499
+ <td>
500
+ <label class="switch">
501
+ <input type="checkbox">
502
+ <span class="pro-slider round"></span>
503
+ </label>
504
+ </td>
505
+
506
+ <th><?php echo __('Premium iHover', 'premium-addons-for-elementor'); ?></th>
507
+ <td>
508
+ <label class="switch">
509
+ <input type="checkbox">
510
+ <span class="pro-slider round"></span>
511
+ </label>
512
+ </td>
513
+ </tr>
514
+
515
+ <tr>
516
+ <th><?php echo __('Premium Image Accordion', 'premium-addons-for-elementor'); ?></th>
517
+ <td>
518
+ <label class="switch">
519
+ <input type="checkbox">
520
+ <span class="pro-slider round"></span>
521
+ </label>
522
+ </td>
523
+
524
+ <th><?php echo __('Premium Image Comparison', 'premium-addons-for-elementor'); ?></th>
525
+ <td>
526
+ <label class="switch">
527
+ <input type="checkbox">
528
+ <span class="pro-slider round"></span>
529
+ </label>
530
+ </td>
531
+
532
+ </tr>
533
+
534
+ <tr>
535
+ <th><?php echo __('Premium Image Hotspots', 'premium-addons-for-elementor'); ?></th>
536
+ <td>
537
+ <label class="switch">
538
+ <input type="checkbox">
539
+ <span class="pro-slider round"></span>
540
+ </label>
541
+ </td>
542
+
543
+ <th><?php echo __('Premium Image Layers', 'premium-addons-for-elementor'); ?></th>
544
+ <td>
545
+ <label class="switch">
546
+ <input type="checkbox">
547
+ <span class="pro-slider round"></span>
548
+ </label>
549
+ </td>
550
+ </tr>
551
+
552
+ <tr>
553
+ <th><?php echo __('Premium Instagram Feed', 'premium-addons-for-elementor'); ?></th>
554
+ <td>
555
+ <label class="switch">
556
+ <input type="checkbox">
557
+ <span class="pro-slider round"></span>
558
+ </label>
559
+ </td>
560
+
561
+ <th><?php echo __('Premium Magic Section', 'premium-addons-for-elementor'); ?></th>
562
+ <td>
563
+ <label class="switch">
564
+ <input type="checkbox">
565
+ <span class="pro-slider round"></span>
566
+ </label>
567
+ </td>
568
+
569
+ </tr>
570
+
571
+ <tr>
572
+ <th><?php echo __('Premium Messenger Chat', 'premium-addons-for-elementor'); ?></th>
573
+ <td>
574
+ <label class="switch">
575
+ <input type="checkbox">
576
+ <span class="pro-slider round"></span>
577
+ </label>
578
+ </td>
579
+
580
+ <th><?php echo __('Premium Multi Scroll', 'premium-addons-for-elementor'); ?></th>
581
+ <td>
582
+ <label class="switch">
583
+ <input type="checkbox">
584
+ <span class="pro-slider round"></span>
585
+ </label>
586
+ </td>
587
+
588
+ </tr>
589
+
590
+ <tr>
591
+ <th><?php echo __('Premium Preview Window', 'premium-addons-for-elementor'); ?></th>
592
+ <td>
593
+ <label class="switch">
594
+ <input type="checkbox">
595
+ <span class="pro-slider round"></span>
596
+ </label>
597
+ </td>
598
+
599
+ <th><?php echo __('Premium Table', 'premium-addons-for-elementor'); ?></th>
600
+ <td>
601
+ <label class="switch">
602
+ <input type="checkbox">
603
+ <span class="pro-slider round"></span>
604
+ </label>
605
+ </td>
606
+
607
+ </tr>
608
+
609
+ <tr>
610
+ <th><?php echo __('Premium Tabs', 'premium-addons-for-elementor'); ?></th>
611
+ <td>
612
+ <label class="switch">
613
+ <input type="checkbox">
614
+ <span class="pro-slider round"></span>
615
+ </label>
616
+ </td>
617
+
618
+ <th><?php echo __('Premium Twitter Feed', 'premium-addons-for-elementor'); ?></th>
619
+ <td>
620
+ <label class="switch">
621
+ <input type="checkbox">
622
+ <span class="pro-slider round"></span>
623
+ </label>
624
+ </td>
625
+
626
+ </tr>
627
+
628
+ <tr>
629
+ <th><?php echo __('Premium Unfold', 'premium-addons-for-elementor'); ?></th>
630
+ <td>
631
+ <label class="switch">
632
+ <input type="checkbox">
633
+ <span class="pro-slider round"></span>
634
+ </label>
635
+ </td>
636
+
637
+ <th><?php echo __('Premium Whatsapp Chat', 'premium-addons-for-elementor'); ?></th>
638
+ <td>
639
+ <label class="switch">
640
+ <input type="checkbox">
641
+ <span class="pro-slider round"></span>
642
+ </label>
643
+ </td>
644
+
645
+ </tr>
646
+
647
+ <tr>
648
+ <th><?php echo __('Premium Yelp Reviews', 'premium-addons-for-elementor'); ?></th>
649
+ <td>
650
+ <label class="switch">
651
+ <input type="checkbox">
652
+ <span class="pro-slider round"></span>
653
+ </label>
654
+ </td>
655
+ </tr>
656
+
657
+ <tr>
658
+ <th><?php echo __('Premium Section Parallax', 'premium-addons-for-elementor'); ?></th>
659
+ <td>
660
+ <label class="switch">
661
+ <input type="checkbox">
662
+ <span class="pro-slider round"></span>
663
+ </label>
664
+ </td>
665
+ <th><?php echo __('Premium Section Particles', 'premium-addons-for-elementor'); ?></th>
666
+ <td>
667
+ <label class="switch">
668
+ <input type="checkbox">
669
+ <span class="pro-slider round"></span>
670
+ </label>
671
+ </td>
672
+ </tr>
673
+
674
+ <tr>
675
+ <th><?php echo __('Premium Section Animated Gradient', 'premium-addons-for-elementor'); ?></th>
676
+ <td>
677
+ <label class="switch">
678
+ <input type="checkbox">
679
+ <span class="pro-slider round"></span>
680
+ </label>
681
+ </td>
682
+ <th><?php echo __('Premium Section Ken Burns', 'premium-addons-for-elementor'); ?></th>
683
+ <td>
684
+ <label class="switch">
685
+ <input type="checkbox">
686
+ <span class="pro-slider round"></span>
687
+ </label>
688
+ </td>
689
+ </tr>
690
+
691
+ <?php endif; ?>
692
+ </tbody>
693
+ </table>
694
+ <input type="submit" value="<?php echo __('Save Settings', 'premium-addons-for-elementor'); ?>" class="button pa-btn pa-save-button">
695
+
696
+ </div>
697
+ <?php if( ! Helper_Functions::is_hide_rate()) : ?>
698
+ <div>
699
+ <p><?php echo __('Did you like Premium Addons for Elementor Plugin? Please ', 'premium-addons-for-elementor'); ?><a href="https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/#new-post" target="_blank"><?php echo __('Click Here to Rate it ★★★★★', 'premium-addons-for-elementor'); ?></a></p>
700
+ </div>
701
+ <?php endif; ?>
702
+ </div>
703
+ </form>
704
+ </div>
705
+ <?php
706
+ }
707
+
708
+ public static function get_default_keys() {
709
+
710
+ $default_keys = array_fill_keys( self::$pa_elements_keys, true );
711
+
712
+ return $default_keys;
713
+ }
714
+
715
+ public static function get_enabled_keys() {
716
+
717
+ $enabled_keys = get_option( 'pa_save_settings', self::get_default_keys() );
718
+
719
+ return $enabled_keys;
720
+ }
721
+
722
+ /*
723
+ * Check If Premium Templates is enabled
724
+ *
725
+ * @since 3.6.0
726
+ * @access public
727
+ *
728
+ * @return boolean
729
+ */
730
+ public static function check_premium_templates() {
731
+
732
+ $settings = self::get_enabled_keys();
733
+
734
+ if( ! isset( $settings['premium-templates'] ) )
735
+ return true;
736
+
737
+ $is_enabled = $settings['premium-templates'];
738
+
739
+ return $is_enabled;
740
+ }
741
+
742
+ /*
743
+ * Check If Premium Duplicator is enabled
744
+ *
745
+ * @since 3.9.7
746
+ * @access public
747
+ *
748
+ * @return boolean
749
+ */
750
+ public static function check_premium_duplicator() {
751
+
752
+ $settings = self::get_enabled_keys();
753
+
754
+ if( ! isset( $settings['premium-duplicator'] ) )
755
+ return true;
756
+
757
+ $is_enabled = $settings['premium-duplicator'];
758
+
759
+ return $is_enabled;
760
+ }
761
+
762
+ public function pa_save_settings() {
763
+
764
+ check_ajax_referer( 'pa-elements', 'security' );
765
+
766
+ if( isset( $_POST['fields'] ) ) {
767
+ parse_str( $_POST['fields'], $settings );
768
+ } else {
769
+ return;
770
+ }
771
+
772
+ $this->pa_settings = array(
773
+ 'premium-banner' => intval( $settings['premium-banner'] ? 1 : 0 ),
774
+ 'premium-blog' => intval( $settings['premium-blog'] ? 1 : 0 ),
775
+ 'premium-carousel' => intval( $settings['premium-carousel'] ? 1 : 0 ),
776
+ 'premium-countdown' => intval( $settings['premium-countdown'] ? 1 : 0 ),
777
+ 'premium-counter' => intval( $settings['premium-counter'] ? 1 : 0 ),
778
+ 'premium-dual-header' => intval( $settings['premium-dual-header'] ? 1 : 0 ),
779
+ 'premium-fancytext' => intval( $settings['premium-fancytext'] ? 1 : 0 ),
780
+ 'premium-image-separator' => intval( $settings['premium-image-separator'] ? 1 : 0 ),
781
+ 'premium-maps' => intval( $settings['premium-maps'] ? 1 : 0 ),
782
+ 'premium-modalbox' => intval( $settings['premium-modalbox'] ? 1 : 0 ),
783
+ 'premium-person' => intval( $settings['premium-person'] ? 1 : 0 ),
784
+ 'premium-progressbar' => intval( $settings['premium-progressbar'] ? 1 : 0 ),
785
+ 'premium-testimonials' => intval( $settings['premium-testimonials'] ? 1 : 0 ),
786
+ 'premium-title' => intval( $settings['premium-title'] ? 1 : 0 ),
787
+ 'premium-videobox' => intval( $settings['premium-videobox'] ? 1 : 0 ),
788
+ 'premium-pricing-table' => intval( $settings['premium-pricing-table'] ? 1 : 0 ),
789
+ 'premium-button' => intval( $settings['premium-button'] ? 1 : 0 ),
790
+ 'premium-contactform' => intval( $settings['premium-contactform'] ? 1 : 0 ),
791
+ 'premium-image-button' => intval( $settings['premium-image-button'] ? 1 : 0 ),
792
+ 'premium-grid' => intval( $settings['premium-grid'] ? 1 : 0 ),
793
+ 'premium-vscroll' => intval( $settings['premium-vscroll'] ? 1 : 0 ),
794
+ 'premium-image-scroll' => intval( $settings['premium-image-scroll'] ? 1 : 0 ),
795
+ 'premium-templates' => intval( $settings['premium-templates'] ? 1 : 0 ),
796
+ 'premium-duplicator' => intval( $settings['premium-duplicator'] ? 1 : 0 ),
797
+ );
798
+
799
+ update_option( 'pa_save_settings', $this->pa_settings );
800
+
801
+ return true;
802
+ }
803
  }
assets/editor/css/style.css CHANGED
@@ -1,117 +1,117 @@
1
- @font-face {
2
- font-family: 'pa-elements';
3
- src: url('../fonts/pa-elements.eot?6nhz6k');
4
- src: url('../fonts/pa-elements.eot?6nhz6k#iefix') format('embedded-opentype'),
5
- url('../fonts/pa-elements.ttf?6nhz6k') format('truetype'),
6
- url('../fonts/pa-elements.woff?6nhz6k') format('woff'),
7
- url('../fonts/pa-elements.svg?6nhz6k#pa-elements') format('svg');
8
- font-weight: normal;
9
- font-style: normal;
10
- }
11
- .elementor-element .icon {
12
- position: relative;
13
- }
14
- [class^="pa-"], [class*=" pa-"] {
15
- /* use !important to prevent issues with browser extensions that change fonts */
16
- font-family: 'pa-elements' !important;
17
- speak: none;
18
- font-style: normal;
19
- font-weight: normal;
20
- font-variant: normal;
21
- text-transform: none;
22
- line-height: 1;
23
- /* Better Font Rendering =========== */
24
- -webkit-font-smoothing: antialiased;
25
- -moz-osx-font-smoothing: grayscale;
26
- }
27
- /*
28
- * Icons Badge
29
- */
30
- [class^="pa-"]::after, [class*=" pa-"]::after {
31
- content: "PA";
32
- font-family: "Montserrat", Sans-serif;
33
- font-weight: 700;
34
- font-size: 10px;
35
- opacity: 0.4;
36
- position: absolute;
37
- right: 0.6em;
38
- top: 0.6em;
39
- }
40
- .pa-banner:before {
41
- content: "\e902";
42
- }
43
- .pa-blog:before {
44
- content: "\e903";
45
- }
46
- .pa-button:before {
47
- content: "\e904";
48
- }
49
- .pa-carousel:before {
50
- content: "\e905";
51
- }
52
- .pa-contact-form:before {
53
- content: "\e906";
54
- }
55
- .pa-countdown:before {
56
- content: "\e907";
57
- }
58
- .pa-counter:before {
59
- content: "\e908";
60
- }
61
- .pa-dual-header:before {
62
- content: "\e909";
63
- }
64
- .pa-fancy-text:before {
65
- content: "\e90a";
66
- }
67
- .pa-grid-icon:before {
68
- content: "\e90c";
69
- }
70
- .pa-image-button:before {
71
- content: "\e90d";
72
- }
73
- .pa-image-scroll:before {
74
- content: "\e900";
75
- }
76
- .pa-image-separator:before {
77
- content: "\e90e";
78
- }
79
- .pa-maps:before {
80
- content: "\e90b";
81
- }
82
- .pa-modal-box:before {
83
- content: "\e90f";
84
- }
85
- .pa-person:before {
86
- content: "\e910";
87
- }
88
- .pa-pricing-table:before {
89
- content: "\e911";
90
- }
91
- .pa-progress-bar:before {
92
- content: "\e912";
93
- }
94
- .pa-testimonials:before {
95
- content: "\e913";
96
- }
97
- .pa-title:before {
98
- content: "\e914";
99
- }
100
- .pa-vscroll:before {
101
- content: "\e915";
102
- }
103
- .pa-video-box:before {
104
- content: "\e916";
105
- }
106
- .editor-pa-doc {
107
- font-style: italic;
108
- line-height: 1.2;
109
- font-size: 12px;
110
- }
111
- .elementor-panel .elementor-control-section_pa_docs .elementor-panel-heading-title.elementor-panel-heading-title,
112
- .elementor-control-raw-html.editor-pa-doc a {
113
- color: #0f6aa7;
114
- }
115
- .elementor-control-raw-html .premium-notice-bold {
116
- font-weight: bold;
117
  }
1
+ @font-face {
2
+ font-family: 'pa-elements';
3
+ src: url('../fonts/pa-elements.eot?6nhz6k');
4
+ src: url('../fonts/pa-elements.eot?6nhz6k#iefix') format('embedded-opentype'),
5
+ url('../fonts/pa-elements.ttf?6nhz6k') format('truetype'),
6
+ url('../fonts/pa-elements.woff?6nhz6k') format('woff'),
7
+ url('../fonts/pa-elements.svg?6nhz6k#pa-elements') format('svg');
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ }
11
+ .elementor-element .icon {
12
+ position: relative;
13
+ }
14
+ [class^="pa-"], [class*=" pa-"] {
15
+ /* use !important to prevent issues with browser extensions that change fonts */
16
+ font-family: 'pa-elements' !important;
17
+ speak: none;
18
+ font-style: normal;
19
+ font-weight: normal;
20
+ font-variant: normal;
21
+ text-transform: none;
22
+ line-height: 1;
23
+ /* Better Font Rendering =========== */
24
+ -webkit-font-smoothing: antialiased;
25
+ -moz-osx-font-smoothing: grayscale;
26
+ }
27
+ /*
28
+ * Icons Badge
29
+ */
30
+ [class^="pa-"]::after, [class*=" pa-"]::after {
31
+ content: "PA";
32
+ font-family: "Montserrat", Sans-serif;
33
+ font-weight: 700;
34
+ font-size: 10px;
35
+ opacity: 0.4;
36
+ position: absolute;
37
+ right: 0.6em;
38
+ top: 0.6em;
39
+ }
40
+ .pa-banner:before {
41
+ content: "\e902";
42
+ }
43
+ .pa-blog:before {
44
+ content: "\e903";
45
+ }
46
+ .pa-button:before {
47
+ content: "\e904";
48
+ }
49
+ .pa-carousel:before {
50
+ content: "\e905";
51
+ }
52
+ .pa-contact-form:before {
53
+ content: "\e906";
54
+ }
55
+ .pa-countdown:before {
56
+ content: "\e907";
57
+ }
58
+ .pa-counter:before {
59
+ content: "\e908";
60
+ }
61
+ .pa-dual-header:before {
62
+ content: "\e909";
63
+ }
64
+ .pa-fancy-text:before {
65
+ content: "\e90a";
66
+ }
67
+ .pa-grid-icon:before {
68
+ content: "\e90c";
69
+ }
70
+ .pa-image-button:before {
71
+ content: "\e90d";
72
+ }
73
+ .pa-image-scroll:before {
74
+ content: "\e900";
75
+ }
76
+ .pa-image-separator:before {
77
+ content: "\e90e";
78
+ }
79
+ .pa-maps:before {
80
+ content: "\e90b";
81
+ }
82
+ .pa-modal-box:before {
83
+ content: "\e90f";
84
+ }
85
+ .pa-person:before {
86
+ content: "\e910";
87
+ }
88
+ .pa-pricing-table:before {
89
+ content: "\e911";
90
+ }
91
+ .pa-progress-bar:before {
92
+ content: "\e912";
93
+ }
94
+ .pa-testimonials:before {
95
+ content: "\e913";
96
+ }
97
+ .pa-title:before {
98
+ content: "\e914";
99
+ }
100
+ .pa-vscroll:before {
101
+ content: "\e915";
102
+ }
103
+ .pa-video-box:before {
104
+ content: "\e916";
105
+ }
106
+ .editor-pa-doc {
107
+ font-style: italic;
108
+ line-height: 1.2;
109
+ font-size: 12px;
110
+ }
111
+ .elementor-panel .elementor-control-section_pa_docs .elementor-panel-heading-title.elementor-panel-heading-title,
112
+ .elementor-control-raw-html.editor-pa-doc a {
113
+ color: #0f6aa7;
114
+ }
115
+ .elementor-control-raw-html .premium-notice-bold {
116
+ font-weight: bold;
117
  }
assets/editor/fonts/pa-elements.svg CHANGED
@@ -1,35 +1,35 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata>Generated by IcoMoon</metadata>
5
- <defs>
6
- <font id="icomoon" horiz-adv-x="1024">
7
- <font-face units-per-em="1024" ascent="960" descent="-64" />
8
- <missing-glyph horiz-adv-x="1024" />
9
- <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
- <glyph unicode="&#xe900;" glyph-name="pa-image-scroll" d="M651.636 650.938c-33.513 0-61.44-27.927-61.44-61.44s27.927-61.44 61.44-61.44 61.44 27.927 61.44 61.44c0 33.513-27.927 61.44-61.44 61.44zM651.636 552.262c-20.48 0-35.375 16.756-35.375 35.375 0 20.48 16.756 35.375 35.375 35.375s35.375-14.895 35.375-35.375-16.756-35.375-35.375-35.375zM772.655 721.687h-519.447c-7.447 0-13.033-5.585-13.033-13.033v-521.309c0-7.447 5.585-13.033 13.033-13.033h519.447c7.447 0 13.033 5.585 13.033 13.033v521.309c-1.862 7.447-5.585 13.033-13.033 13.033zM268.102 202.24v109.847l139.636 139.636 249.484-249.484h-389.12zM690.735 202.24c0 0 0 0-1.862 1.862l-126.604 126.604 67.025 67.025 128.465-128.465 1.862-67.025h-68.887zM759.622 304.64l-119.156 119.156c-3.724 3.724-13.033 3.724-18.618 0l-76.335-76.335-130.327 130.327c-5.585 5.585-13.033 5.585-18.618 0l-130.327-130.327v346.298h493.382v-389.12zM891.811 343.738c1.862-1.862 5.585-3.724 9.309-3.724s7.447 1.862 9.309 3.724l94.953 94.953c1.862 1.862 3.724 5.585 3.724 9.309s-1.862 7.447-3.724 9.309l-94.953 94.953c-5.585 5.585-13.033 5.585-18.618 0s-5.585-13.033 0-18.618l85.644-85.644-85.644-85.644c-5.585-5.585-5.585-13.033 0-18.618zM132.189 552.262c-1.862 1.862-5.585 3.724-9.309 3.724s-7.447-1.862-9.309-3.724l-94.953-94.953c-1.862-1.862-3.724-5.585-3.724-9.309s1.862-7.447 3.724-9.309l94.953-94.953c5.585-5.585 13.033-5.585 18.618 0s5.585 13.033 0 18.618l-85.644 85.644 85.644 85.644c5.585 5.585 5.585 13.033 0 18.618zM407.738 68.189c-1.862-1.862-3.724-5.585-3.724-9.309s1.862-7.447 3.724-9.309l94.953-94.953c1.862-1.862 5.585-3.724 9.309-3.724s7.447 1.862 9.309 3.724l94.953 94.953c5.585 5.585 5.585 13.033 0 18.618s-13.033 5.585-18.618 0l-85.644-85.644-85.644 85.644c-5.585 5.585-13.033 5.585-18.618 0zM616.262 827.811c1.862 1.862 3.724 5.585 3.724 9.309s-1.862 7.447-3.724 9.309l-94.953 94.953c-1.862 1.862-5.585 3.724-9.309 3.724s-7.447-1.862-9.309-3.724l-94.953-94.953c-5.585-5.585-5.585-13.033 0-18.618s13.033-5.585 18.618 0l85.644 85.644 85.644-85.644c5.585-5.585 13.033-5.585 18.618 0z" />
11
- <glyph unicode="&#xe901;" glyph-name="pa-admin-icon" d="M918.187 628.907c0-13.653-13.653-27.307-27.307-27.307h-249.173c-13.653 0-30.72 10.24-34.133 23.893l-81.92 256c-3.413 13.653 3.413 23.893 6.827 23.893s17.067-6.827 30.72-17.067l314.027-180.907c13.653-6.827 37.547-27.307 40.96-37.547-3.413-6.827 0-27.307 0-40.96zM501.76 881.493l-81.92-256c-3.413-13.653-20.48-23.893-34.133-23.893h-252.587c-13.653 0-27.307 13.653-27.307 27.307s6.827 47.787 10.24 54.613c6.827 6.827 20.48 20.48 34.133 27.307l314.027 180.907c13.653 6.827 30.72 17.067 37.547 17.067 3.413 0 3.413-13.653 0-27.307zM723.627 103.253l-163.84-98.987c-13.653-6.827-44.373-20.48-51.2-17.067-10.24 3.413-27.307 10.24-40.96 17.067l-167.253 95.573c-13.653 6.827-13.653 20.48 0 30.72l191.147 139.947c13.653 6.827 30.72 6.827 44.373 0l191.147-139.947c10.24-6.827 10.24-20.48-3.413-27.307zM918.187 553.813v-286.72c0-13.653-6.827-47.787-10.24-54.613-6.827-6.827-20.48-17.067-34.133-27.307l-81.92-44.373c-13.653-6.827-27.307-3.413-30.72 10.24l-75.093 228.693c-3.413 13.653 0 34.133 13.653 40.96l197.973 143.36c10.24 10.24 20.48 6.827 20.48-10.24zM337.92 383.147l-75.093-228.693c-3.413-13.653-20.48-20.48-30.72-10.24l-78.507 47.787c-13.653 6.827-37.547 27.307-40.96 37.547s-6.827 27.307-6.827 44.373v286.72c0 13.653 10.24 20.48 20.48 10.24l197.973-143.36c13.653-13.653 17.067-30.72 13.653-44.373z" />
12
- <glyph unicode="&#xe902;" glyph-name="pa-banner" d="M942.080 900.422h-858.298c-11.171 0-22.342-9.309-22.342-20.48v-860.16c0-11.171 9.309-22.342 22.342-22.342h858.298c11.171 0 22.342 9.309 22.342 22.342v860.16c0 11.171-9.309 20.48-22.342 20.48zM104.262 857.6h817.338v-644.189l-197.353 197.353c-7.447 7.447-22.342 7.447-29.789 0l-128.465-126.604-215.971 214.109c-9.309 9.309-22.342 9.309-29.789 0l-215.971-214.109v573.44zM104.262 42.124v182.458l230.865 230.865 413.324-413.324c0-1.862-644.189-1.862-644.189 0zM921.6 42.124h-111.709c0 0 0 1.862-1.862 1.862l-212.247 208.524 111.709 111.709 212.247-212.247 1.862-109.847zM744.727 582.051c-55.855 0-100.538 44.684-100.538 100.538s44.684 100.538 100.538 100.538 100.538-44.684 100.538-100.538-44.684-100.538-100.538-100.538zM744.727 740.305c-31.651 0-57.716-26.065-57.716-57.716s26.065-57.716 57.716-57.716 57.716 26.065 57.716 57.716-26.065 57.716-57.716 57.716z" />
13
- <glyph unicode="&#xe903;" glyph-name="pa-blog" d="M837.818 19.782h-733.556c-11.171 0-22.342 9.309-22.342 22.342v729.833c0 11.171 9.309 22.342 22.342 22.342h344.436v-42.822h-323.956v-688.873h688.873v322.095h42.822v-346.298c0-9.309-9.309-18.618-18.618-18.618zM558.545 312.087h-161.978c-11.171 0-22.342 9.309-22.342 22.342v160.116c0 5.585 1.862 11.171 5.585 14.895l364.916 361.193c7.447 7.447 22.342 7.447 29.789 0l161.978-161.978c7.447-9.309 7.447-22.342 0-29.789l-363.055-361.193c-3.724-3.724-9.309-5.585-14.895-5.585zM417.047 354.909h130.327l340.713 340.713-130.327 132.189-340.713-342.575v-130.327z" />
14
- <glyph unicode="&#xe904;" glyph-name="pa-button" d="M919.738 820.364h-813.615c-52.131 0-96.815-42.822-96.815-96.815v-284.858c0-52.131 42.822-96.815 96.815-96.815h405.876v27.927h-405.876c-37.236 0-68.887 29.789-68.887 68.887v284.858c0 37.236 29.789 68.887 68.887 68.887h811.753c37.236 0 68.887-29.789 68.887-68.887v-284.858c0-37.236-29.789-68.887-68.887-68.887h-52.131l31.651-27.927h20.48c52.131 0 96.815 42.822 96.815 96.815v284.858c0 53.993-42.822 96.815-94.953 96.815zM884.364 274.851c9.309 0 13.033 11.171 5.585 16.756l-55.855 50.269-31.651 27.927-243.898 227.142c-5.585 5.585-16.756 1.862-16.756-7.447v-452.422c0-9.309 9.309-13.033 16.756-7.447l83.782 80.058c5.585 3.724 13.033 3.724 14.895-3.724l55.855-126.604c3.724-5.585 9.309-7.447 13.033-5.585l83.782 37.236c5.585 3.724 7.447 9.309 5.585 13.033l-55.855 126.604c-3.724 5.585 1.862 13.033 9.309 14.895l115.433 9.309zM768.931 127.767l-26.065-9.309c-5.585-3.724-11.171 0-13.033 5.585l-59.578 137.775c-3.724 5.585-11.171 9.309-14.895 3.724l-63.302-61.44c-5.585-5.585-16.756-1.862-16.756 7.447v305.338c0 9.309 9.309 13.033 16.756 7.447l169.425-154.531 31.651-27.927 26.065-24.204c7.447-5.585 3.724-16.756-5.585-16.756l-89.367-5.585c-7.447 0-11.171-7.447-9.309-14.895l61.44-139.636c1.862-3.724-1.862-9.309-7.447-13.033z" />
15
- <glyph unicode="&#xe905;" glyph-name="pa-carousel" d="M687.011 189.207c-26.065 0-46.545-20.48-46.545-46.545s20.48-46.545 46.545-46.545 46.545 20.48 46.545 46.545-20.48 46.545-46.545 46.545zM687.011 114.735c-14.895 0-27.927 13.033-27.927 27.927s13.033 27.927 27.927 27.927c14.895 0 27.927-13.033 27.927-27.927s-13.033-27.927-27.927-27.927zM336.989 189.207c-26.065 0-46.545-20.48-46.545-46.545s20.48-46.545 46.545-46.545c26.065 0 46.545 20.48 46.545 46.545s-20.48 46.545-46.545 46.545zM336.989 114.735c-14.895 0-27.927 13.033-27.927 27.927s13.033 27.927 27.927 27.927c14.895 0 27.927-13.033 27.927-27.927 1.862-14.895-11.171-27.927-27.927-27.927zM512 189.207c-26.065 0-46.545-20.48-46.545-46.545s20.48-46.545 46.545-46.545c27.927 0 46.545 20.48 46.545 46.545s-20.48 46.545-46.545 46.545zM512 114.735c-14.895 0-27.927 13.033-27.927 27.927s13.033 27.927 27.927 27.927c16.756 0 27.927-13.033 27.927-27.927s-13.033-27.927-27.927-27.927zM761.484 278.575h-497.105c-7.447 0-13.033 5.585-13.033 13.033v497.105c0 7.447 5.585 13.033 13.033 13.033h497.105c7.447 0 13.033-5.585 13.033-13.033v-497.105c0-7.447-7.447-13.033-13.033-13.033zM277.411 304.64h471.040v471.040h-471.040v-471.040zM152.669 801.745h-135.913v-26.065h122.88v-471.040h-122.88v-26.065h135.913c7.447 0 13.033 5.585 13.033 13.033v497.105c0 7.447-5.585 13.033-13.033 13.033zM858.298 788.713v-497.105c0-7.447 5.585-13.033 13.033-13.033h135.913v26.065h-122.88v471.040h122.88v26.065h-135.913c-7.447 0-13.033-5.585-13.033-13.033z" />
16
- <glyph unicode="&#xe906;" glyph-name="pa-contact-form" d="M1012.829 526.196c0 1.862-1.862 3.724-1.862 5.585s-1.862 3.724-3.724 3.724c-1.862 1.862-3.724 3.724-5.585 3.724v0l-161.978 83.782v85.644c0 1.862 0 3.724 0 3.724 0 3.724-3.724 9.309-5.585 11.171l-202.938 202.938c0 0 0 1.862-1.862 1.862-1.862 1.862-1.862 1.862-3.724 1.862-3.724 1.862-5.585 1.862-9.309 1.862h-411.462c-11.171 0-22.342-9.309-22.342-22.342v-288.582l-161.978-85.644-1.862-1.862c0 0 0 0-1.862-1.862s-1.862-3.724-3.724-3.724c0-1.862-1.862-3.724-1.862-3.724v0-1.862c0-1.862 0-3.724 0-3.724v-536.204c0-11.171 9.309-20.48 20.48-20.48h960.698c11.171 0 20.48 9.309 20.48 20.48v538.065c0 1.862 0 3.724 0 5.585zM839.68 574.604l104.262-53.993-104.262-44.684v98.676zM634.88 863.185l134.051-134.051h-134.051v134.051zM227.142 892.975h368.64v-184.32c0-11.171 9.309-22.342 22.342-22.342h182.458v-229.004l-286.72-122.88-284.858 124.742v433.804zM184.32 576.465v-100.538l-104.262 46.545 104.262 53.993zM971.869 6.749h-919.738v482.211l450.56-197.353c5.585-1.862 11.171-1.862 16.756 0l454.284 197.353v-482.211z" />
17
- <glyph unicode="&#xe907;" glyph-name="pa-countdown" d="M917.876 861.324h-223.418v35.375c0 11.171-9.309 20.48-22.342 20.48s-20.48-9.309-20.48-20.48v-35.375h-282.996v35.375c0 11.171-9.309 20.48-22.342 20.48-11.171 0-22.342-9.309-22.342-20.48v-35.375h-223.418c-9.309 0-18.618-9.309-18.618-20.48v-837.818c0-11.171 9.309-22.342 22.342-22.342h815.476c11.171 0 22.342 9.309 22.342 22.342v837.818c-1.862 11.171-11.171 20.48-24.204 20.48zM124.742 818.502h201.076v-44.684c0-11.171 9.309-22.342 22.342-22.342 11.171 0 22.342 9.309 22.342 22.342v44.684h284.858v-44.684c0-11.171 9.309-22.342 22.342-22.342s22.342 9.309 22.342 22.342v44.684h201.076v-148.945h-776.378v148.945zM897.396 25.367h-772.655v601.367h772.655v-601.367zM385.396 140.8h-40.96v262.516c0 22.342 0 42.822 1.862 61.44-3.724-3.724-7.447-7.447-11.171-11.171-5.585-3.724-24.204-20.48-61.44-48.407l-22.342 27.927 96.815 74.473h37.236v-366.778zM571.578 140.8l152.669 329.542h-201.076v39.098h245.76v-33.513l-150.807-335.127h-46.545z" />
18
- <glyph unicode="&#xe908;" glyph-name="pa-counter" d="M420.771 265.542h-40.96v258.793c0 22.342 0 42.822 1.862 61.44-3.724-3.724-7.447-7.447-11.171-11.171s-24.204-20.48-59.578-48.407l-22.342 27.927 94.953 72.611h35.375c1.862 1.862 1.862-361.193 1.862-361.193zM660.945 265.542h-40.96v258.793c0 22.342 0 42.822 1.862 61.44-3.724-3.724-7.447-7.447-11.171-11.171s-24.204-20.48-59.578-48.407l-22.342 27.927 94.953 72.611h35.375v-361.193zM512 939.52c-279.273 0-504.553-221.556-504.553-491.52s225.28-489.658 504.553-489.658 504.553 219.695 504.553 489.658-225.28 491.52-504.553 491.52zM512 8.611c-251.345 0-456.145 197.353-456.145 439.389s204.8 439.389 456.145 439.389 456.145-197.353 456.145-439.389-204.8-439.389-456.145-439.389z" />
19
- <glyph unicode="&#xe909;" glyph-name="pa-dual-heading" d="M990.487 222.72h-93.091c-11.171 0-18.618 7.447-18.618 16.756s7.447 16.756 18.618 16.756h27.927v173.149h-255.069v-173.149h27.927c11.171 0 18.618-7.447 18.618-16.756s-9.309-16.756-18.618-16.756h-93.091c-11.171 0-18.618 7.447-18.618 16.756s7.447 16.756 18.618 16.756h27.927v383.535h-27.927c-11.171 0-18.618 7.447-18.618 16.756s9.309 16.756 18.618 16.756h93.091c11.171 0 18.618-7.447 18.618-16.756s-7.447-16.756-18.618-16.756h-27.927v-175.011h253.207v175.011h-27.927c-11.171 0-18.618 7.447-18.618 16.756s9.309 16.756 18.618 16.756h93.091c11.171 0 18.618-7.447 18.618-16.756s-9.309-16.756-18.618-16.756h-27.927v-381.673h26.065c11.171 0 18.618-7.447 18.618-16.756 3.724-11.171-3.724-18.618-14.895-18.618zM897.396 245.062c-3.724 0-7.447-1.862-7.447-5.585s3.724-5.585 7.447-5.585h93.091c3.724 0 7.447 1.862 7.447 5.585s-3.724 5.585-7.447 5.585h-39.098v405.876h39.098c3.724 0 7.447 1.862 7.447 5.585s-3.724 5.585-7.447 5.585h-93.091c-3.724 0-7.447-1.862-7.447-5.585s3.724-5.585 7.447-5.585h39.098v-197.353h-277.411v197.353h39.098c3.724 0 7.447 1.862 7.447 5.585s-3.724 5.585-7.447 5.585h-93.091c-3.724 0-7.447-1.862-7.447-5.585s3.724-5.585 7.447-5.585h39.098v-405.876h-39.098c-3.724 0-7.447-1.862-7.447-5.585s3.724-5.585 7.447-5.585h93.091c3.724 0 7.447 1.862 7.447 5.585s-3.724 5.585-7.447 5.585h-39.098v195.491h275.549v-197.353l-37.236 1.862zM437.527 233.891c0-7.447-5.585-11.171-13.033-11.171h-96.815c-7.447 0-13.033 5.585-13.033 11.171 0 7.447 5.585 11.171 13.033 11.171h33.513v189.905h-271.825v-189.905h33.513c7.447 0 13.033-5.585 13.033-11.171 0-7.447-7.447-11.171-13.033-11.171h-94.953c-7.447 0-13.033 5.585-13.033 11.171 0 7.447 5.585 11.171 13.033 11.171h33.513v404.015h-33.513c-7.447 0-13.033 5.585-13.033 11.171s5.585 11.171 13.033 11.171h96.815c7.447 0 13.033-5.585 13.033-11.171s-5.585-11.171-13.033-11.171h-35.375v-189.905h271.825v189.905h-33.513c-7.447 0-13.033 5.585-13.033 11.171s5.585 11.171 13.033 11.171h96.815c7.447 0 13.033-5.585 13.033-11.171s-5.585-11.171-13.033-11.171h-33.513v-404.015h33.513c5.585 0 13.033-3.724 13.033-11.171z" />
20
- <glyph unicode="&#xe90a;" glyph-name="pa-fancy-text" d="M860.16 161.28c-26.065 0-50.269 11.171-65.164 31.651l-9.309 11.171-9.309-11.171c-16.756-20.48-40.96-31.651-65.164-31.651-7.447 0-13.033 5.585-13.033 13.033s5.585 13.033 13.033 13.033c33.513 0 61.44 31.651 61.44 70.749v176.873h-37.236c-7.447 0-13.033 5.585-13.033 13.033s5.585 13.033 13.033 13.033h37.236v176.873c0 39.098-27.927 70.749-61.44 70.749-7.447 0-13.033 5.585-13.033 13.033s5.585 13.033 13.033 13.033c26.065 0 50.269-11.171 65.164-31.651l9.309-11.171 9.309 11.171c16.756 20.48 40.96 31.651 65.164 31.651 7.447 0 13.033-5.585 13.033-13.033s-5.585-13.033-13.033-13.033c-33.513 0-61.44-31.651-61.44-70.749v-176.873h37.236c7.447 0 13.033-5.585 13.033-13.033s-5.585-13.033-13.033-13.033h-37.236v-176.873c0-39.098 27.927-70.749 61.44-70.749 7.447 0 13.033-5.585 13.033-13.033s-7.447-13.033-13.033-13.033zM342.575 647.215c0-7.447-5.585-13.033-13.033-13.033h-137.775c-7.447 0-13.033 5.585-13.033 13.033s7.447 13.033 13.033 13.033h135.913c9.309 0 14.895-5.585 14.895-13.033zM342.575 254.371c0-7.447-5.585-13.033-13.033-13.033h-137.775c-7.447 0-13.033 5.585-13.033 13.033s7.447 13.033 13.033 13.033h135.913c9.309 1.862 14.895-3.724 14.895-13.033zM616.262 254.371c0-7.447-5.585-13.033-13.033-13.033h-137.775c-7.447 0-13.033 5.585-13.033 13.033s7.447 13.033 13.033 13.033h135.913c7.447 1.862 14.895-3.724 14.895-13.033zM1012.829 367.942v-78.196c1.862-26.065-20.48-48.407-46.545-48.407-7.447 0-14.895 5.585-14.895 13.033 0 3.724 1.862 7.447 3.724 11.171 1.862 1.862 5.585 3.724 11.171 3.724 11.171 0 20.48 7.447 20.48 20.48v78.196c0 7.447 7.447 13.033 13.033 13.033 7.447 0 13.033-5.585 13.033-13.033zM1001.658 522.473c-7.447 0-13.033 5.585-13.033 13.033v78.196c0 11.171-9.309 18.618-20.48 20.48-3.724 0-7.447 1.862-11.171 3.724s-3.724 3.724-3.724 7.447c0 7.447 7.447 13.033 13.033 13.033 26.065 0 48.407-20.48 48.407-46.545v-78.196c1.862-5.585-5.585-11.171-13.033-11.171zM616.262 647.215c0-7.447-5.585-13.033-13.033-13.033h-137.775c-7.447 0-13.033 5.585-13.033 13.033s7.447 13.033 13.033 13.033h135.913c7.447 0 14.895-5.585 14.895-13.033zM72.611 647.215c0-3.724-1.862-7.447-3.724-11.171s-7.447-3.724-11.171-3.724c-11.171 0-20.48-7.447-20.48-18.618v-78.196c0-7.447-7.447-13.033-14.895-13.033s-13.033 5.585-13.033 13.033v78.196c0 26.065 22.342 46.545 48.407 46.545 7.447 1.862 14.895-3.724 14.895-13.033zM70.749 254.371c0-5.585-5.585-13.033-13.033-13.033-26.065 0-48.407 22.342-48.407 46.545v78.196c0 7.447 7.447 13.033 13.033 13.033 7.447 0 13.033-5.585 13.033-13.033v-78.196c0-11.171 9.309-18.618 20.48-20.48 3.724 0 7.447-1.862 11.171-3.724 1.862-1.862 3.724-5.585 3.724-9.309z" />
21
- <glyph unicode="&#xe90b;" glyph-name="pa-google-maps" d="M666.531 863.185v0l-20.48 7.447-20.48-7.447-249.484-80.058-292.305 93.091v-759.622l269.964-83.782 22.342-7.447 22.342 7.447 249.484 80.058 292.305-93.091v757.76l-273.687 85.644zM353.745 75.636l-227.142 74.473v670.255l227.142-74.473v-670.255zM396.567 745.891l227.142 72.611v-668.393l-227.142-74.473v670.255zM895.535 75.636l-227.142 72.611v670.255l227.142-72.611v-670.255zM666.531 863.185v0 0 0zM623.709 863.185v0 0 0z" />
22
- <glyph unicode="&#xe90c;" glyph-name="pa-grid" d="M474.764 485.236h-431.942v433.804h431.942v-433.804zM85.644 529.92h346.298v344.436h-346.298v-344.436zM981.178 485.236h-431.942v433.804h431.942v-433.804zM592.058 529.92h346.298v344.436h-346.298v-344.436zM474.764-23.040h-431.942v433.804h431.942v-433.804zM85.644 19.782h346.298v346.298h-346.298v-346.298zM981.178-23.040h-431.942v433.804h431.942v-433.804zM592.058 19.782h346.298v346.298h-346.298v-346.298z" />
23
- <glyph unicode="&#xe90d;" glyph-name="pa-image-button" d="M1010.967 207.825l-303.476 180.596c-3.724 1.862-7.447 1.862-13.033 0-3.724-3.724-5.585-7.447-5.585-11.171l74.473-348.16c0-5.585 5.585-7.447 7.447-7.447 5.585-1.862 9.309 1.862 11.171 5.585l52.131 74.473c0 1.862 1.862 1.862 3.724 1.862s1.862 0 3.724-1.862l63.302-89.367c1.862-3.724 7.447-5.585 9.309-5.585s5.585 0 7.447 1.862l57.716 40.96c3.724 1.862 3.724 5.585 5.585 7.447 0 3.724 0 7.447-1.862 7.447l-63.302 89.367c0 0 0 1.862 0 3.724s1.862 1.862 1.862 1.862l89.367 24.204c5.585 1.862 7.447 5.585 7.447 9.309s-3.724 13.033-7.447 14.895zM867.607 178.036c-1.862-3.724 0-7.447 1.862-11.171l70.749-96.815c1.862-1.862 1.862-3.724 0-5.585l-18.618-13.033h-1.862c-1.862 0-1.862 0-3.724 1.862l-70.749 96.815c-1.862 3.724-7.447 5.585-9.309 5.585v0c-3.724 0-7.447-1.862-9.309-5.585l-39.098-57.716c-1.862-1.862-3.724-1.862-3.724-1.862s-3.724 0-3.724 3.724l-48.407 232.727c0 1.862 1.862 3.724 1.862 3.724s1.862 1.862 3.724 0l204.8-122.88c1.862-1.862 1.862-3.724 1.862-3.724s0-1.862-3.724-3.724l-67.025-18.618c0 0-3.724-1.862-5.585-3.724zM275.549 755.2c-52.131 0-94.953-42.822-94.953-94.953s40.96-94.953 94.953-94.953c52.131 0 94.953 42.822 94.953 94.953 1.862 53.993-42.822 94.953-94.953 94.953zM275.549 602.531c-31.651 0-57.716 24.204-57.716 57.716 0 31.651 24.204 57.716 57.716 57.716s57.716-24.204 57.716-57.716c0-29.789-26.065-57.716-57.716-57.716zM891.811 440.553c-7.447-7.447-18.618-7.447-26.065-1.862l-186.182 171.287-150.807-165.702 27.927-27.927c3.724-3.724 5.585-7.447 5.585-13.033s-1.862-9.309-5.585-13.033c-7.447-7.447-20.48-7.447-26.065 0l-121.018 119.156-271.825-236.451c-3.724-3.724-7.447-5.585-13.033-5.585s-9.309 1.862-13.033 7.447-7.447 20.48 1.862 26.065l284.858 251.345c7.447 7.447 18.618 7.447 24.204 0l76.335-78.196 161.978 176.873c3.724 3.724 7.447 7.447 13.033 7.447s9.309-1.862 13.033-5.585l201.076-184.32c9.309-9.309 9.309-20.48 3.724-27.927zM979.316 870.633v-534.342c0-9.309-7.447-18.618-18.618-18.618s-18.618 7.447-18.618 18.618v515.724h-897.396v-698.182h599.505c9.309 0 18.618-7.447 18.618-18.618s-7.447-18.618-18.618-18.618h-618.124c-9.309 0-18.618 7.447-18.618 18.618v735.418c0 9.309 7.447 18.618 18.618 18.618h936.495c9.309 0 16.756-7.447 16.756-18.618z" />
24
- <glyph unicode="&#xe90e;" glyph-name="pa-image-separator" d="M651.636 528.058c-33.513 0-61.44 27.927-61.44 61.44s27.927 61.44 61.44 61.44 61.44-27.927 61.44-61.44-27.927-61.44-61.44-61.44zM651.636 623.011c-18.618 0-35.375-14.895-35.375-35.375 0-18.618 14.895-35.375 35.375-35.375 18.618 0 35.375 14.895 35.375 35.375s-16.756 35.375-35.375 35.375zM997.935 459.171h-214.109v249.484c0 7.447-5.585 13.033-13.033 13.033h-519.447c-7.447 0-13.033-5.585-13.033-13.033v-249.484h-212.247c-5.585 0-11.171-5.585-11.171-11.171s5.585-11.171 11.171-11.171h212.247v-249.484c0-7.447 5.585-13.033 13.033-13.033h519.447c7.447 0 13.033 5.585 13.033 13.033v249.484h212.247c5.585 0 11.171 5.585 11.171 11.171s-3.724 11.171-9.309 11.171zM266.24 202.24v109.847l139.636 139.636 249.484-249.484h-389.12zM757.76 202.24h-68.887c0 0 0 0-1.862 1.862l-126.604 126.604 67.025 67.025 128.465-128.465v-67.025zM757.76 304.64l-119.156 119.156c-3.724 3.724-13.033 3.724-18.618 0l-76.335-76.335-130.327 130.327c-5.585 5.585-13.033 5.585-18.618 0l-130.327-130.327v346.298h493.382v-389.12z" />
25
- <glyph unicode="&#xe90f;" glyph-name="pa-modal-box" d="M925.324 881.804h-822.924c-11.171 0-22.342-9.309-22.342-20.48v-822.924c0-11.171 9.309-22.342 22.342-22.342h822.924c11.171 0 20.48 9.309 20.48 22.342v822.924c0 11.171-11.171 20.48-20.48 20.48zM124.742 838.982h778.24v-141.498h-778.24v141.498zM902.982 60.742h-778.24v593.92h778.24v-593.92zM856.436 747.753h-98.676c-11.171 0-22.342 9.309-22.342 22.342s9.309 22.342 22.342 22.342h98.676c11.171 0 22.342-9.309 22.342-22.342s-9.309-22.342-22.342-22.342z" />
26
- <glyph unicode="&#xe910;" glyph-name="pa-persons" d="M601.367 431.244c81.92 35.375 139.636 117.295 139.636 214.109 0 128.465-102.4 232.727-229.004 232.727s-229.004-104.262-229.004-232.727c0-94.953 57.716-178.735 139.636-214.109-186.182-40.96-327.68-210.385-327.68-413.324h42.822c0 210.385 167.564 379.811 374.225 379.811s374.225-171.287 374.225-379.811h42.822c0 202.938-139.636 372.364-327.68 413.324zM325.818 645.353c0 104.262 83.782 189.905 186.182 189.905s186.182-85.644 186.182-189.905-83.782-189.905-186.182-189.905-186.182 85.644-186.182 189.905z" />
27
- <glyph unicode="&#xe911;" glyph-name="pa-pricing-table" d="M640.465 371.665c0-50.269-40.96-93.091-93.091-93.091h-11.171c-1.862 0-3.724-1.862-3.724-3.724v-48.407c0-11.171-9.309-18.618-18.618-18.618-11.171 0-18.618 9.309-18.618 18.618v46.545c0 1.862-1.862 3.724-3.724 3.724h-67.025c-11.171 0-18.618 9.309-18.618 18.618s9.309 18.618 18.618 18.618h122.88c31.651 0 55.855 24.204 55.855 55.855s-24.204 55.855-55.855 55.855h-68.887c-52.131 0-93.091 40.96-93.091 93.091s40.96 93.091 93.091 93.091h11.171c1.862 0 3.724 1.862 3.724 3.724v48.407c0 9.309 9.309 18.618 18.618 18.618s18.618-9.309 18.618-18.618v-48.407c0-1.862 1.862-3.724 3.724-3.724h63.302c9.309 0 18.618-9.309 18.618-18.618 0-11.171-9.309-18.618-18.618-18.618h-121.018c-31.651 0-55.855-26.065-55.855-55.855 0-31.651 26.065-55.855 55.855-55.855h68.887c52.131 1.862 94.953-39.098 94.953-91.229zM841.542 930.211h-657.222c-22.342 0-39.098-18.618-39.098-39.098v-888.087c0-22.342 18.618-39.098 39.098-39.098h657.222c22.342 0 39.098 18.618 39.098 39.098v888.087c-1.862 20.48-18.618 39.098-39.098 39.098zM834.095 6.749h-644.189v878.778h646.051c0 0 0-878.778-1.862-878.778z" />
28
- <glyph unicode="&#xe912;" glyph-name="pa-progress-bar" d="M942.080 155.695v-42.822h-409.6v-68.887h-42.822v68.887h-407.738v42.822h407.738v68.887h42.822v-68.887zM942.080 784.989v-42.822h-586.473v-68.887h-42.822v68.887h-230.865v42.822h230.865v68.887h42.822v-68.887zM822.924 470.342v-42.822h-117.295v-68.887h-42.822v68.887h-580.887v42.822h580.887v68.887h42.822v-68.887z" />
29
- <glyph unicode="&#xe913;" glyph-name="pa-testimonials" d="M318.371 615.564h383.535v-42.822h-383.535v42.822zM318.371 474.065h383.535v-42.822h-383.535v42.822zM182.458 86.807l53.993 173.149c-96.815 53.993-154.531 152.669-154.531 262.516 0 167.564 137.775 301.615 305.338 301.615h247.622c167.564 1.862 305.338-134.051 305.338-301.615s-137.775-301.615-305.338-301.615h-160.116l-275.549-148.945c-9.309-5.585-20.48 3.724-16.756 14.895zM389.12 783.127c-145.222 0-262.516-117.295-262.516-260.655 0-100.538 55.855-188.044 147.084-232.727l16.756-7.447-42.822-137.775 219.695 119.156h169.425c145.222 0 262.516 117.295 262.516 258.793s-117.295 260.655-262.516 260.655h-247.622z" />
30
- <glyph unicode="&#xe914;" glyph-name="pa-title" d="M822.924 898.56h-619.985c-13.033 0-22.342-9.309-22.342-22.342v-102.4c0-13.033 9.309-22.342 22.342-22.342s22.342 7.447 22.342 20.48v80.058h264.378v-809.891h-55.855c-13.033 0-22.342-9.309-22.342-22.342s9.309-22.342 22.342-22.342h156.393c13.033 0 22.342 9.309 22.342 22.342s-9.309 22.342-22.342 22.342h-55.855v809.891h264.378v-80.058c0-13.033 9.309-22.342 22.342-22.342s22.342 9.309 22.342 22.342v104.262c1.862 11.171-9.309 22.342-20.48 22.342v0z" />
31
- <glyph unicode="&#xe915;" glyph-name="pa-vertical-scroll" d="M512 898.56c-65.164 0-121.018-53.993-121.018-121.018s53.993-121.018 121.018-121.018c67.025 0 121.018 53.993 121.018 121.018 1.862 67.025-52.131 121.018-121.018 121.018zM512 690.036c-48.407 0-87.505 39.098-87.505 87.505s39.098 87.505 87.505 87.505 87.505-39.098 87.505-87.505c0-48.407-39.098-87.505-87.505-87.505zM512 243.2c-65.164 0-121.018-55.855-121.018-121.018 0-67.025 53.993-121.018 121.018-121.018s121.018 53.993 121.018 121.018c1.862 65.164-52.131 121.018-121.018 121.018zM512 34.676c-48.407 0-87.505 39.098-87.505 87.505s39.098 87.505 87.505 87.505 87.505-39.098 87.505-87.505-39.098-87.505-87.505-87.505zM512 570.88c-67.025 0-121.018-53.993-121.018-121.018s55.855-122.88 121.018-122.88c67.025 0 121.018 53.993 121.018 121.018 1.862 68.887-52.131 122.88-121.018 122.88zM512 362.356c-48.407 0-87.505 39.098-87.505 87.505s39.098 87.505 87.505 87.505 87.505-39.098 87.505-87.505-39.098-87.505-87.505-87.505z" />
32
- <glyph unicode="&#xe916;" glyph-name="pa-video-box" d="M703.767 457.309l-284.858 210.385c-5.585 3.724-14.895 0-14.895-7.447v-422.633c0-7.447 9.309-11.171 14.895-7.447l286.72 210.385c3.724 5.585 3.724 13.033-1.862 16.756zM446.836 306.502v282.996l191.767-141.498-191.767-141.498zM512 930.211c-273.687 0-495.244-217.833-495.244-482.211s223.418-482.211 495.244-482.211c273.687 0 495.244 215.971 495.244 482.211s-221.556 482.211-495.244 482.211zM512 19.782c-247.622 0-446.836 193.629-446.836 430.080s199.215 430.080 446.836 430.080 446.836-193.629 446.836-430.080-201.076-430.080-446.836-430.080z" />
33
- <glyph unicode="&#xe917;" glyph-name="horizontal-mouse-scroll" d="M693.248 523.776c0 98.304-79.872 177.152-177.152 177.152h-8.192c-98.304 0-177.152-79.872-177.152-177.152v-150.528c0-98.304 79.872-177.152 177.152-177.152h8.192c98.304 0 177.152 79.872 177.152 177.152v150.528zM663.552 372.224c0-40.96-16.384-77.824-43.008-104.448s-63.488-43.008-104.448-43.008h-8.192c-40.96 0-77.824 16.384-104.448 43.008s-43.008 63.488-43.008 104.448v151.552c0 40.96 16.384 77.824 43.008 104.448s63.488 43.008 104.448 43.008h8.192c40.96 0 77.824-16.384 104.448-43.008s43.008-63.488 43.008-104.448v-151.552zM512 551.424c-8.192 0-15.36-7.168-15.36-15.36v-44.032c0-8.192 7.168-15.36 15.36-15.36s15.36 7.168 15.36 15.36v44.032c-1.024 8.192-7.168 15.36-15.36 15.36zM54.272 457.216c-4.096-5.12-4.096-13.312 0-18.432l59.392-74.752c5.12-6.144 14.336-7.168 20.48-2.048s7.168 14.336 2.048 20.48v0l-51.2 65.536 52.224 65.536c5.12 6.144 4.096 15.36-2.048 20.48s-15.36 4.096-20.48-2.048l-60.416-74.752zM886.784 382.464c-5.12-6.144-4.096-15.36 2.048-20.48s15.36-4.096 20.48 2.048l59.392 74.752c4.096 5.12 4.096 13.312 0 18.432l-59.392 74.752c-5.12 6.144-14.336 7.168-20.48 2.048s-7.168-14.336-2.048-20.48v0l52.224-65.536-52.224-65.536z" />
34
- <glyph unicode="&#xe918;" glyph-name="vertical-mouse-scroll" d="M693.248 523.776c0 98.304-79.872 177.152-177.152 177.152h-8.192c-98.304 0-177.152-79.872-177.152-177.152v-150.528c0-98.304 79.872-177.152 177.152-177.152h8.192c98.304 0 177.152 79.872 177.152 177.152v150.528zM663.552 372.224c0-40.96-16.384-77.824-43.008-104.448s-63.488-43.008-104.448-43.008h-8.192c-40.96 0-77.824 16.384-104.448 43.008s-43.008 63.488-43.008 104.448v151.552c0 40.96 16.384 77.824 43.008 104.448s63.488 43.008 104.448 43.008h8.192c40.96 0 77.824-16.384 104.448-43.008s43.008-63.488 43.008-104.448v-151.552zM512 551.424c-8.192 0-15.36-7.168-15.36-15.36v-44.032c0-8.192 7.168-15.36 15.36-15.36s15.36 7.168 15.36 15.36v44.032c-1.024 8.192-7.168 15.36-15.36 15.36zM502.784-9.728c5.12-4.096 13.312-4.096 18.432 0l74.752 59.392c6.144 5.12 7.168 14.336 2.048 20.48s-14.336 7.168-20.48 2.048v0l-65.536-51.2-65.536 52.224c-6.144 5.12-15.36 4.096-20.48-2.048s-4.096-15.36 2.048-20.48l74.752-60.416zM577.536 822.784c6.144-5.12 15.36-4.096 20.48 2.048s4.096 15.36-2.048 20.48l-74.752 59.392c-5.12 4.096-13.312 4.096-18.432 0l-74.752-59.392c-6.144-5.12-7.168-14.336-2.048-20.48s14.336-7.168 20.48-2.048v0l65.536 52.224 65.536-52.224z" />
35
  </font></defs></svg>
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="pa-image-scroll" d="M651.636 650.938c-33.513 0-61.44-27.927-61.44-61.44s27.927-61.44 61.44-61.44 61.44 27.927 61.44 61.44c0 33.513-27.927 61.44-61.44 61.44zM651.636 552.262c-20.48 0-35.375 16.756-35.375 35.375 0 20.48 16.756 35.375 35.375 35.375s35.375-14.895 35.375-35.375-16.756-35.375-35.375-35.375zM772.655 721.687h-519.447c-7.447 0-13.033-5.585-13.033-13.033v-521.309c0-7.447 5.585-13.033 13.033-13.033h519.447c7.447 0 13.033 5.585 13.033 13.033v521.309c-1.862 7.447-5.585 13.033-13.033 13.033zM268.102 202.24v109.847l139.636 139.636 249.484-249.484h-389.12zM690.735 202.24c0 0 0 0-1.862 1.862l-126.604 126.604 67.025 67.025 128.465-128.465 1.862-67.025h-68.887zM759.622 304.64l-119.156 119.156c-3.724 3.724-13.033 3.724-18.618 0l-76.335-76.335-130.327 130.327c-5.585 5.585-13.033 5.585-18.618 0l-130.327-130.327v346.298h493.382v-389.12zM891.811 343.738c1.862-1.862 5.585-3.724 9.309-3.724s7.447 1.862 9.309 3.724l94.953 94.953c1.862 1.862 3.724 5.585 3.724 9.309s-1.862 7.447-3.724 9.309l-94.953 94.953c-5.585 5.585-13.033 5.585-18.618 0s-5.585-13.033 0-18.618l85.644-85.644-85.644-85.644c-5.585-5.585-5.585-13.033 0-18.618zM132.189 552.262c-1.862 1.862-5.585 3.724-9.309 3.724s-7.447-1.862-9.309-3.724l-94.953-94.953c-1.862-1.862-3.724-5.585-3.724-9.309s1.862-7.447 3.724-9.309l94.953-94.953c5.585-5.585 13.033-5.585 18.618 0s5.585 13.033 0 18.618l-85.644 85.644 85.644 85.644c5.585 5.585 5.585 13.033 0 18.618zM407.738 68.189c-1.862-1.862-3.724-5.585-3.724-9.309s1.862-7.447 3.724-9.309l94.953-94.953c1.862-1.862 5.585-3.724 9.309-3.724s7.447 1.862 9.309 3.724l94.953 94.953c5.585 5.585 5.585 13.033 0 18.618s-13.033 5.585-18.618 0l-85.644-85.644-85.644 85.644c-5.585 5.585-13.033 5.585-18.618 0zM616.262 827.811c1.862 1.862 3.724 5.585 3.724 9.309s-1.862 7.447-3.724 9.309l-94.953 94.953c-1.862 1.862-5.585 3.724-9.309 3.724s-7.447-1.862-9.309-3.724l-94.953-94.953c-5.585-5.585-5.585-13.033 0-18.618s13.033-5.585 18.618 0l85.644 85.644 85.644-85.644c5.585-5.585 13.033-5.585 18.618 0z" />
11
+ <glyph unicode="&#xe901;" glyph-name="pa-admin-icon" d="M918.187 628.907c0-13.653-13.653-27.307-27.307-27.307h-249.173c-13.653 0-30.72 10.24-34.133 23.893l-81.92 256c-3.413 13.653 3.413 23.893 6.827 23.893s17.067-6.827 30.72-17.067l314.027-180.907c13.653-6.827 37.547-27.307 40.96-37.547-3.413-6.827 0-27.307 0-40.96zM501.76 881.493l-81.92-256c-3.413-13.653-20.48-23.893-34.133-23.893h-252.587c-13.653 0-27.307 13.653-27.307 27.307s6.827 47.787 10.24 54.613c6.827 6.827 20.48 20.48 34.133 27.307l314.027 180.907c13.653 6.827 30.72 17.067 37.547 17.067 3.413 0 3.413-13.653 0-27.307zM723.627 103.253l-163.84-98.987c-13.653-6.827-44.373-20.48-51.2-17.067-10.24 3.413-27.307 10.24-40.96 17.067l-167.253 95.573c-13.653 6.827-13.653 20.48 0 30.72l191.147 139.947c13.653 6.827 30.72 6.827 44.373 0l191.147-139.947c10.24-6.827 10.24-20.48-3.413-27.307zM918.187 553.813v-286.72c0-13.653-6.827-47.787-10.24-54.613-6.827-6.827-20.48-17.067-34.133-27.307l-81.92-44.373c-13.653-6.827-27.307-3.413-30.72 10.24l-75.093 228.693c-3.413 13.653 0 34.133 13.653 40.96l197.973 143.36c10.24 10.24 20.48 6.827 20.48-10.24zM337.92 383.147l-75.093-228.693c-3.413-13.653-20.48-20.48-30.72-10.24l-78.507 47.787c-13.653 6.827-37.547 27.307-40.96 37.547s-6.827 27.307-6.827 44.373v286.72c0 13.653 10.24 20.48 20.48 10.24l197.973-143.36c13.653-13.653 17.067-30.72 13.653-44.373z" />
12
+ <glyph unicode="&#xe902;" glyph-name="pa-banner" d="M942.080 900.422h-858.298c-11.171 0-22.342-9.309-22.342-20.48v-860.16c0-11.171 9.309-22.342 22.342-22.342h858.298c11.171 0 22.342 9.309 22.342 22.342v860.16c0 11.171-9.309 20.48-22.342 20.48zM104.262 857.6h817.338v-644.189l-197.353 197.353c-7.447 7.447-22.342 7.447-29.789 0l-128.465-126.604-215.971 214.109c-9.309 9.309-22.342 9.309-29.789 0l-215.971-214.109v573.44zM104.262 42.124v182.458l230.865 230.865 413.324-413.324c0-1.862-644.189-1.862-644.189 0zM921.6 42.124h-111.709c0 0 0 1.862-1.862 1.862l-212.247 208.524 111.709 111.709 212.247-212.247 1.862-109.847zM744.727 582.051c-55.855 0-100.538 44.684-100.538 100.538s44.684 100.538 100.538 100.538 100.538-44.684 100.538-100.538-44.684-100.538-100.538-100.538zM744.727 740.305c-31.651 0-57.716-26.065-57.716-57.716s26.065-57.716 57.716-57.716 57.716 26.065 57.716 57.716-26.065 57.716-57.716 57.716z" />
13
+ <glyph unicode="&#xe903;" glyph-name="pa-blog" d="M837.818 19.782h-733.556c-11.171 0-22.342 9.309-22.342 22.342v729.833c0 11.171 9.309 22.342 22.342 22.342h344.436v-42.822h-323.956v-688.873h688.873v322.095h42.822v-346.298c0-9.309-9.309-18.618-18.618-18.618zM558.545 312.087h-161.978c-11.171 0-22.342 9.309-22.342 22.342v160.116c0 5.585 1.862 11.171 5.585 14.895l364.916 361.193c7.447 7.447 22.342 7.447 29.789 0l161.978-161.978c7.447-9.309 7.447-22.342 0-29.789l-363.055-361.193c-3.724-3.724-9.309-5.585-14.895-5.585zM417.047 354.909h130.327l340.713 340.713-130.327 132.189-340.713-342.575v-130.327z" />
14
+ <glyph unicode="&#xe904;" glyph-name="pa-button" d="M919.738 820.364h-813.615c-52.131 0-96.815-42.822-96.815-96.815v-284.858c0-52.131 42.822-96.815 96.815-96.815h405.876v27.927h-405.876c-37.236 0-68.887 29.789-68.887 68.887v284.858c0 37.236 29.789 68.887 68.887 68.887h811.753c37.236 0 68.887-29.789 68.887-68.887v-284.858c0-37.236-29.789-68.887-68.887-68.887h-52.131l31.651-27.927h20.48c52.131 0 96.815 42.822 96.815 96.815v284.858c0 53.993-42.822 96.815-94.953 96.815zM884.364 274.851c9.309 0 13.033 11.171 5.585 16.756l-55.855 50.269-31.651 27.927-243.898 227.142c-5.585 5.585-16.756 1.862-16.756-7.447v-452.422c0-9.309 9.309-13.033 16.756-7.447l83.782 80.058c5.585 3.724 13.033 3.724 14.895-3.724l55.855-126.604c3.724-5.585 9.309-7.447 13.033-5.585l83.782 37.236c5.585 3.724 7.447 9.309 5.585 13.033l-55.855 126.604c-3.724 5.585 1.862 13.033 9.309 14.895l115.433 9.309zM768.931 127.767l-26.065-9.309c-5.585-3.724-11.171 0-13.033 5.585l-59.578 137.775c-3.724 5.585-11.171 9.309-14.895 3.724l-63.302-61.44c-5.585-5.585-16.756-1.862-16.756 7.447v305.338c0 9.309 9.309 13.033 16.756 7.447l169.425-154.531 31.651-27.927 26.065-24.204c7.447-5.585 3.724-16.756-5.585-16.756l-89.367-5.585c-7.447 0-11.171-7.447-9.309-14.895l61.44-139.636c1.862-3.724-1.862-9.309-7.447-13.033z" />
15
+ <glyph unicode="&#xe905;" glyph-name="pa-carousel" d="M687.011 189.207c-26.065 0-46.545-20.48-46.545-46.545s20.48-46.545 46.545-46.545 46.545 20.48 46.545 46.545-20.48 46.545-46.545 46.545zM687.011 114.735c-14.895 0-27.927 13.033-27.927 27.927s13.033 27.927 27.927 27.927c14.895 0 27.927-13.033 27.927-27.927s-13.033-27.927-27.927-27.927zM336.989 189.207c-26.065 0-46.545-20.48-46.545-46.545s20.48-46.545 46.545-46.545c26.065 0 46.545 20.48 46.545 46.545s-20.48 46.545-46.545 46.545zM336.989 114.735c-14.895 0-27.927 13.033-27.927 27.927s13.033 27.927 27.927 27.927c14.895 0 27.927-13.033 27.927-27.927 1.862-14.895-11.171-27.927-27.927-27.927zM512 189.207c-26.065 0-46.545-20.48-46.545-46.545s20.48-46.545 46.545-46.545c27.927 0 46.545 20.48 46.545 46.545s-20.48 46.545-46.545 46.545zM512 114.735c-14.895 0-27.927 13.033-27.927 27.927s13.033 27.927 27.927 27.927c16.756 0 27.927-13.033 27.927-27.927s-13.033-27.927-27.927-27.927zM761.484 278.575h-497.105c-7.447 0-13.033 5.585-13.033 13.033v497.105c0 7.447 5.585 13.033 13.033 13.033h497.105c7.447 0 13.033-5.585 13.033-13.033v-497.105c0-7.447-7.447-13.033-13.033-13.033zM277.411 304.64h471.040v471.040h-471.040v-471.040zM152.669 801.745h-135.913v-26.065h122.88v-471.040h-122.88v-26.065h135.913c7.447 0 13.033 5.585 13.033 13.033v497.105c0 7.447-5.585 13.033-13.033 13.033zM858.298 788.713v-497.105c0-7.447 5.585-13.033 13.033-13.033h135.913v26.065h-122.88v471.040h122.88v26.065h-135.913c-7.447 0-13.033-5.585-13.033-13.033z" />
16
+ <glyph unicode="&#xe906;" glyph-name="pa-contact-form" d="M1012.829 526.196c0 1.862-1.862 3.724-1.862 5.585s-1.862 3.724-3.724 3.724c-1.862 1.862-3.724 3.724-5.585 3.724v0l-161.978 83.782v85.644c0 1.862 0 3.724 0 3.724 0 3.724-3.724 9.309-5.585 11.171l-202.938 202.938c0 0 0 1.862-1.862 1.862-1.862 1.862-1.862 1.862-3.724 1.862-3.724 1.862-5.585 1.862-9.309 1.862h-411.462c-11.171 0-22.342-9.309-22.342-22.342v-288.582l-161.978-85.644-1.862-1.862c0 0 0 0-1.862-1.862s-1.862-3.724-3.724-3.724c0-1.862-1.862-3.724-1.862-3.724v0-1.862c0-1.862 0-3.724 0-3.724v-536.204c0-11.171 9.309-20.48 20.48-20.48h960.698c11.171 0 20.48 9.309 20.48 20.48v538.065c0 1.862 0 3.724 0 5.585zM839.68 574.604l104.262-53.993-104.262-44.684v98.676zM634.88 863.185l134.051-134.051h-134.051v134.051zM227.142 892.975h368.64v-184.32c0-11.171 9.309-22.342 22.342-22.342h182.458v-229.004l-286.72-122.88-284.858 124.742v433.804zM184.32 576.465v-100.538l-104.262 46.545 104.262 53.993zM971.869 6.749h-919.738v482.211l450.56-197.353c5.585-1.862 11.171-1.862 16.756 0l454.284 197.353v-482.211z" />
17
+ <glyph unicode="&#xe907;" glyph-name="pa-countdown" d="M917.876 861.324h-223.418v35.375c0 11.171-9.309 20.48-22.342 20.48s-20.48-9.309-20.48-20.48v-35.375h-282.996v35.375c0 11.171-9.309 20.48-22.342 20.48-11.171 0-22.342-9.309-22.342-20.48v-35.375h-223.418c-9.309 0-18.618-9.309-18.618-20.48v-837.818c0-11.171 9.309-22.342 22.342-22.342h815.476c11.171 0 22.342 9.309 22.342 22.342v837.818c-1.862 11.171-11.171 20.48-24.204 20.48zM124.742 818.502h201.076v-44.684c0-11.171 9.309-22.342 22.342-22.342 11.171 0 22.342 9.309 22.342 22.342v44.684h284.858v-44.684c0-11.171 9.309-22.342 22.342-22.342s22.342 9.309 22.342 22.342v44.684h201.076v-148.945h-776.378v148.945zM897.396 25.367h-772.655v601.367h772.655v-601.367zM385.396 140.8h-40.96v262.516c0 22.342 0 42.822 1.862 61.44-3.724-3.724-7.447-7.447-11.171-11.171-5.585-3.724-24.204-20.48-61.44-48.407l-22.342 27.927 96.815 74.473h37.236v-366.778zM571.578 140.8l152.669 329.542h-201.076v39.098h245.76v-33.513l-150.807-335.127h-46.545z" />
18
+ <glyph unicode="&#xe908;" glyph-name="pa-counter" d="M420.771 265.542h-40.96v258.793c0 22.342 0 42.822 1.862 61.44-3.724-3.724-7.447-7.447-11.171-11.171s-24.204-20.48-59.578-48.407l-22.342 27.927 94.953 72.611h35.375c1.862 1.862 1.862-361.193 1.862-361.193zM660.945 265.542h-40.96v258.793c0 22.342 0 42.822 1.862 61.44-3.724-3.724-7.447-7.447-11.171-11.171s-24.204-20.48-59.578-48.407l-22.342 27.927 94.953 72.611h35.375v-361.193zM512 939.52c-279.273 0-504.553-221.556-504.553-491.52s225.28-489.658 504.553-489.658 504.553 219.695 504.553 489.658-225.28 491.52-504.553 491.52zM512 8.611c-251.345 0-456.145 197.353-456.145 439.389s204.8 439.389 456.145 439.389 456.145-197.353 456.145-439.389-204.8-439.389-456.145-439.389z" />
19
+ <glyph unicode="&#xe909;" glyph-name="pa-dual-heading" d="M990.487 222.72h-93.091c-11.171 0-18.618 7.447-18.618 16.756s7.447 16.756 18.618 16.756h27.927v173.149h-255.069v-173.149h27.927c11.171 0 18.618-7.447 18.618-16.756s-9.309-16.756-18.618-16.756h-93.091c-11.171 0-18.618 7.447-18.618 16.756s7.447 16.756 18.618 16.756h27.927v383.535h-27.927c-11.171 0-18.618 7.447-18.618 16.756s9.309 16.756 18.618 16.756h93.091c11.171 0 18.618-7.447 18.618-16.756s-7.447-16.756-18.618-16.756h-27.927v-175.011h253.207v175.011h-27.927c-11.171 0-18.618 7.447-18.618 16.756s9.309 16.756 18.618 16.756h93.091c11.171 0 18.618-7.447 18.618-16.756s-9.309-16.756-18.618-16.756h-27.927v-381.673h26.065c11.171 0 18.618-7.447 18.618-16.756 3.724-11.171-3.724-18.618-14.895-18.618zM897.396 245.062c-3.724 0-7.447-1.862-7.447-5.585s3.724-5.585 7.447-5.585h93.091c3.724 0 7.447 1.862 7.447 5.585s-3.724 5.585-7.447 5.585h-39.098v405.876h39.098c3.724 0 7.447 1.862 7.447 5.585s-3.724 5.585-7.447 5.585h-93.091c-3.724 0-7.447-1.862-7.447-5.585s3.724-5.585 7.447-5.585h39.098v-197.353h-277.411v197.353h39.098c3.724 0 7.447 1.862 7.447 5.585s-3.724 5.585-7.447 5.585h-93.091c-3.724 0-7.447-1.862-7.447-5.585s3.724-5.585 7.447-5.585h39.098v-405.876h-39.098c-3.724 0-7.447-1.862-7.447-5.585s3.724-5.585 7.447-5.585h93.091c3.724 0 7.447 1.862 7.447 5.585s-3.724 5.585-7.447 5.585h-39.098v195.491h275.549v-197.353l-37.236 1.862zM437.527 233.891c0-7.447-5.585-11.171-13.033-11.171h-96.815c-7.447 0-13.033 5.585-13.033 11.171 0 7.447 5.585 11.171 13.033 11.171h33.513v189.905h-271.825v-189.905h33.513c7.447 0 13.033-5.585 13.033-11.171 0-7.447-7.447-11.171-13.033-11.171h-94.953c-7.447 0-13.033 5.585-13.033 11.171 0 7.447 5.585 11.171 13.033 11.171h33.513v404.015h-33.513c-7.447 0-13.033 5.585-13.033 11.171s5.585 11.171 13.033 11.171h96.815c7.447 0 13.033-5.585 13.033-11.171s-5.585-11.171-13.033-11.171h-35.375v-189.905h271.825v189.905h-33.513c-7.447 0-13.033 5.585-13.033 11.171s5.585 11.171 13.033 11.171h96.815c7.447 0 13.033-5.585 13.033-11.171s-5.585-11.171-13.033-11.171h-33.513v-404.015h33.513c5.585 0 13.033-3.724 13.033-11.171z" />
20
+ <glyph unicode="&#xe90a;" glyph-name="pa-fancy-text" d="M860.16 161.28c-26.065 0-50.269 11.171-65.164 31.651l-9.309 11.171-9.309-11.171c-16.756-20.48-40.96-31.651-65.164-31.651-7.447 0-13.033 5.585-13.033 13.033s5.585 13.033 13.033 13.033c33.513 0 61.44 31.651 61.44 70.749v176.873h-37.236c-7.447 0-13.033 5.585-13.033 13.033s5.585 13.033 13.033 13.033h37.236v176.873c0 39.098-27.927 70.749-61.44 70.749-7.447 0-13.033 5.585-13.033 13.033s5.585 13.033 13.033 13.033c26.065 0 50.269-11.171 65.164-31.651l9.309-11.171 9.309 11.171c16.756 20.48 40.96 31.651 65.164 31.651 7.447 0 13.033-5.585 13.033-13.033s-5.585-13.033-13.033-13.033c-33.513 0-61.44-31.651-61.44-70.749v-176.873h37.236c7.447 0 13.033-5.585 13.033-13.033s-5.585-13.033-13.033-13.033h-37.236v-176.873c0-39.098 27.927-70.749 61.44-70.749 7.447 0 13.033-5.585 13.033-13.033s-7.447-13.033-13.033-13.033zM342.575 647.215c0-7.447-5.585-13.033-13.033-13.033h-137.775c-7.447 0-13.033 5.585-13.033 13.033s7.447 13.033 13.033 13.033h135.913c9.309 0 14.895-5.585 14.895-13.033zM342.575 254.371c0-7.447-5.585-13.033-13.033-13.033h-137.775c-7.447 0-13.033 5.585-13.033 13.033s7.447 13.033 13.033 13.033h135.913c9.309 1.862 14.895-3.724 14.895-13.033zM616.262 254.371c0-7.447-5.585-13.033-13.033-13.033h-137.775c-7.447 0-13.033 5.585-13.033 13.033s7.447 13.033 13.033 13.033h135.913c7.447 1.862 14.895-3.724 14.895-13.033zM1012.829 367.942v-78.196c1.862-26.065-20.48-48.407-46.545-48.407-7.447 0-14.895 5.585-14.895 13.033 0 3.724 1.862 7.447 3.724 11.171 1.862 1.862 5.585 3.724 11.171 3.724 11.171 0 20.48 7.447 20.48 20.48v78.196c0 7.447 7.447 13.033 13.033 13.033 7.447 0 13.033-5.585 13.033-13.033zM1001.658 522.473c-7.447 0-13.033 5.585-13.033 13.033v78.196c0 11.171-9.309 18.618-20.48 20.48-3.724 0-7.447 1.862-11.171 3.724s-3.724 3.724-3.724 7.447c0 7.447 7.447 13.033 13.033 13.033 26.065 0 48.407-20.48 48.407-46.545v-78.196c1.862-5.585-5.585-11.171-13.033-11.171zM616.262 647.215c0-7.447-5.585-13.033-13.033-13.033h-137.775c-7.447 0-13.033 5.585-13.033 13.033s7.447 13.033 13.033 13.033h135.913c7.447 0 14.895-5.585 14.895-13.033zM72.611 647.215c0-3.724-1.862-7.447-3.724-11.171s-7.447-3.724-11.171-3.724c-11.171 0-20.48-7.447-20.48-18.618v-78.196c0-7.447-7.447-13.033-14.895-13.033s-13.033 5.585-13.033 13.033v78.196c0 26.065 22.342 46.545 48.407 46.545 7.447 1.862 14.895-3.724 14.895-13.033zM70.749 254.371c0-5.585-5.585-13.033-13.033-13.033-26.065 0-48.407 22.342-48.407 46.545v78.196c0 7.447 7.447 13.033 13.033 13.033 7.447 0 13.033-5.585 13.033-13.033v-78.196c0-11.171 9.309-18.618 20.48-20.48 3.724 0 7.447-1.862 11.171-3.724 1.862-1.862 3.724-5.585 3.724-9.309z" />
21
+ <glyph unicode="&#xe90b;" glyph-name="pa-google-maps" d="M666.531 863.185v0l-20.48 7.447-20.48-7.447-249.484-80.058-292.305 93.091v-759.622l269.964-83.782 22.342-7.447 22.342 7.447 249.484 80.058 292.305-93.091v757.76l-273.687 85.644zM353.745 75.636l-227.142 74.473v670.255l227.142-74.473v-670.255zM396.567 745.891l227.142 72.611v-668.393l-227.142-74.473v670.255zM895.535 75.636l-227.142 72.611v670.255l227.142-72.611v-670.255zM666.531 863.185v0 0 0zM623.709 863.185v0 0 0z" />
22
+ <glyph unicode="&#xe90c;" glyph-name="pa-grid" d="M474.764 485.236h-431.942v433.804h431.942v-433.804zM85.644 529.92h346.298v344.436h-346.298v-344.436zM981.178 485.236h-431.942v433.804h431.942v-433.804zM592.058 529.92h346.298v344.436h-346.298v-344.436zM474.764-23.040h-431.942v433.804h431.942v-433.804zM85.644 19.782h346.298v346.298h-346.298v-346.298zM981.178-23.040h-431.942v433.804h431.942v-433.804zM592.058 19.782h346.298v346.298h-346.298v-346.298z" />
23
+ <glyph unicode="&#xe90d;" glyph-name="pa-image-button" d="M1010.967 207.825l-303.476 180.596c-3.724 1.862-7.447 1.862-13.033 0-3.724-3.724-5.585-7.447-5.585-11.171l74.473-348.16c0-5.585 5.585-7.447 7.447-7.447 5.585-1.862 9.309 1.862 11.171 5.585l52.131 74.473c0 1.862 1.862 1.862 3.724 1.862s1.862 0 3.724-1.862l63.302-89.367c1.862-3.724 7.447-5.585 9.309-5.585s5.585 0 7.447 1.862l57.716 40.96c3.724 1.862 3.724 5.585 5.585 7.447 0 3.724 0 7.447-1.862 7.447l-63.302 89.367c0 0 0 1.862 0 3.724s1.862 1.862 1.862 1.862l89.367 24.204c5.585 1.862 7.447 5.585 7.447 9.309s-3.724 13.033-7.447 14.895zM867.607 178.036c-1.862-3.724 0-7.447 1.862-11.171l70.749-96.815c1.862-1.862 1.862-3.724 0-5.585l-18.618-13.033h-1.862c-1.862 0-1.862 0-3.724 1.862l-70.749 96.815c-1.862 3.724-7.447 5.585-9.309 5.585v0c-3.724 0-7.447-1.862-9.309-5.585l-39.098-57.716c-1.862-1.862-3.724-1.862-3.724-1.862s-3.724 0-3.724 3.724l-48.407 232.727c0 1.862 1.862 3.724 1.862 3.724s1.862 1.862 3.724 0l204.8-122.88c1.862-1.862 1.862-3.724 1.862-3.724s0-1.862-3.724-3.724l-67.025-18.618c0 0-3.724-1.862-5.585-3.724zM275.549 755.2c-52.131 0-94.953-42.822-94.953-94.953s40.96-94.953 94.953-94.953c52.131 0 94.953 42.822 94.953 94.953 1.862 53.993-42.822 94.953-94.953 94.953zM275.549 602.531c-31.651 0-57.716 24.204-57.716 57.716 0 31.651 24.204 57.716 57.716 57.716s57.716-24.204 57.716-57.716c0-29.789-26.065-57.716-57.716-57.716zM891.811 440.553c-7.447-7.447-18.618-7.447-26.065-1.862l-186.182 171.287-150.807-165.702 27.927-27.927c3.724-3.724 5.585-7.447 5.585-13.033s-1.862-9.309-5.585-13.033c-7.447-7.447-20.48-7.447-26.065 0l-121.018 119.156-271.825-236.451c-3.724-3.724-7.447-5.585-13.033-5.585s-9.309 1.862-13.033 7.447-7.447 20.48 1.862 26.065l284.858 251.345c7.447 7.447 18.618 7.447 24.204 0l76.335-78.196 161.978 176.873c3.724 3.724 7.447 7.447 13.033 7.447s9.309-1.862 13.033-5.585l201.076-184.32c9.309-9.309 9.309-20.48 3.724-27.927zM979.316 870.633v-534.342c0-9.309-7.447-18.618-18.618-18.618s-18.618 7.447-18.618 18.618v515.724h-897.396v-698.182h599.505c9.309 0 18.618-7.447 18.618-18.618s-7.447-18.618-18.618-18.618h-618.124c-9.309 0-18.618 7.447-18.618 18.618v735.418c0 9.309 7.447 18.618 18.618 18.618h936.495c9.309 0 16.756-7.447 16.756-18.618z" />
24
+ <glyph unicode="&#xe90e;" glyph-name="pa-image-separator" d="M651.636 528.058c-33.513 0-61.44 27.927-61.44 61.44s27.927 61.44 61.44 61.44 61.44-27.927 61.44-61.44-27.927-61.44-61.44-61.44zM651.636 623.011c-18.618 0-35.375-14.895-35.375-35.375 0-18.618 14.895-35.375 35.375-35.375 18.618 0 35.375 14.895 35.375 35.375s-16.756 35.375-35.375 35.375zM997.935 459.171h-214.109v249.484c0 7.447-5.585 13.033-13.033 13.033h-519.447c-7.447 0-13.033-5.585-13.033-13.033v-249.484h-212.247c-5.585 0-11.171-5.585-11.171-11.171s5.585-11.171 11.171-11.171h212.247v-249.484c0-7.447 5.585-13.033 13.033-13.033h519.447c7.447 0 13.033 5.585 13.033 13.033v249.484h212.247c5.585 0 11.171 5.585 11.171 11.171s-3.724 11.171-9.309 11.171zM266.24 202.24v109.847l139.636 139.636 249.484-249.484h-389.12zM757.76 202.24h-68.887c0 0 0 0-1.862 1.862l-126.604 126.604 67.025 67.025 128.465-128.465v-67.025zM757.76 304.64l-119.156 119.156c-3.724 3.724-13.033 3.724-18.618 0l-76.335-76.335-130.327 130.327c-5.585 5.585-13.033 5.585-18.618 0l-130.327-130.327v346.298h493.382v-389.12z" />
25
+ <glyph unicode="&#xe90f;" glyph-name="pa-modal-box" d="M925.324 881.804h-822.924c-11.171 0-22.342-9.309-22.342-20.48v-822.924c0-11.171 9.309-22.342 22.342-22.342h822.924c11.171 0 20.48 9.309 20.48 22.342v822.924c0 11.171-11.171 20.48-20.48 20.48zM124.742 838.982h778.24v-141.498h-778.24v141.498zM902.982 60.742h-778.24v593.92h778.24v-593.92zM856.436 747.753h-98.676c-11.171 0-22.342 9.309-22.342 22.342s9.309 22.342 22.342 22.342h98.676c11.171 0 22.342-9.309 22.342-22.342s-9.309-22.342-22.342-22.342z" />
26
+ <glyph unicode="&#xe910;" glyph-name="pa-persons" d="M601.367 431.244c81.92 35.375 139.636 117.295 139.636 214.109 0 128.465-102.4 232.727-229.004 232.727s-229.004-104.262-229.004-232.727c0-94.953 57.716-178.735 139.636-214.109-186.182-40.96-327.68-210.385-327.68-413.324h42.822c0 210.385 167.564 379.811 374.225 379.811s374.225-171.287 374.225-379.811h42.822c0 202.938-139.636 372.364-327.68 413.324zM325.818 645.353c0 104.262 83.782 189.905 186.182 189.905s186.182-85.644 186.182-189.905-83.782-189.905-186.182-189.905-186.182 85.644-186.182 189.905z" />
27
+ <glyph unicode="&#xe911;" glyph-name="pa-pricing-table" d="M640.465 371.665c0-50.269-40.96-93.091-93.091-93.091h-11.171c-1.862 0-3.724-1.862-3.724-3.724v-48.407c0-11.171-9.309-18.618-18.618-18.618-11.171 0-18.618 9.309-18.618 18.618v46.545c0 1.862-1.862 3.724-3.724 3.724h-67.025c-11.171 0-18.618 9.309-18.618 18.618s9.309 18.618 18.618 18.618h122.88c31.651 0 55.855 24.204 55.855 55.855s-24.204 55.855-55.855 55.855h-68.887c-52.131 0-93.091 40.96-93.091 93.091s40.96 93.091 93.091 93.091h11.171c1.862 0 3.724 1.862 3.724 3.724v48.407c0 9.309 9.309 18.618 18.618 18.618s18.618-9.309 18.618-18.618v-48.407c0-1.862 1.862-3.724 3.724-3.724h63.302c9.309 0 18.618-9.309 18.618-18.618 0-11.171-9.309-18.618-18.618-18.618h-121.018c-31.651 0-55.855-26.065-55.855-55.855 0-31.651 26.065-55.855 55.855-55.855h68.887c52.131 1.862 94.953-39.098 94.953-91.229zM841.542 930.211h-657.222c-22.342 0-39.098-18.618-39.098-39.098v-888.087c0-22.342 18.618-39.098 39.098-39.098h657.222c22.342 0 39.098 18.618 39.098 39.098v888.087c-1.862 20.48-18.618 39.098-39.098 39.098zM834.095 6.749h-644.189v878.778h646.051c0 0 0-878.778-1.862-878.778z" />
28
+ <glyph unicode="&#xe912;" glyph-name="pa-progress-bar" d="M942.080 155.695v-42.822h-409.6v-68.887h-42.822v68.887h-407.738v42.822h407.738v68.887h42.822v-68.887zM942.080 784.989v-42.822h-586.473v-68.887h-42.822v68.887h-230.865v42.822h230.865v68.887h42.822v-68.887zM822.924 470.342v-42.822h-117.295v-68.887h-42.822v68.887h-580.887v42.822h580.887v68.887h42.822v-68.887z" />
29
+ <glyph unicode="&#xe913;" glyph-name="pa-testimonials" d="M318.371 615.564h383.535v-42.822h-383.535v42.822zM318.371 474.065h383.535v-42.822h-383.535v42.822zM182.458 86.807l53.993 173.149c-96.815 53.993-154.531 152.669-154.531 262.516 0 167.564 137.775 301.615 305.338 301.615h247.622c167.564 1.862 305.338-134.051 305.338-301.615s-137.775-301.615-305.338-301.615h-160.116l-275.549-148.945c-9.309-5.585-20.48 3.724-16.756 14.895zM389.12 783.127c-145.222 0-262.516-117.295-262.516-260.655 0-100.538 55.855-188.044 147.084-232.727l16.756-7.447-42.822-137.775 219.695 119.156h169.425c145.222 0 262.516 117.295 262.516 258.793s-117.295 260.655-262.516 260.655h-247.622z" />
30
+ <glyph unicode="&#xe914;" glyph-name="pa-title" d="M822.924 898.56h-619.985c-13.033 0-22.342-9.309-22.342-22.342v-102.4c0-13.033 9.309-22.342 22.342-22.342s22.342 7.447 22.342 20.48v80.058h264.378v-809.891h-55.855c-13.033 0-22.342-9.309-22.342-22.342s9.309-22.342 22.342-22.342h156.393c13.033 0 22.342 9.309 22.342 22.342s-9.309 22.342-22.342 22.342h-55.855v809.891h264.378v-80.058c0-13.033 9.309-22.342 22.342-22.342s22.342 9.309 22.342 22.342v104.262c1.862 11.171-9.309 22.342-20.48 22.342v0z" />
31
+ <glyph unicode="&#xe915;" glyph-name="pa-vertical-scroll" d="M512 898.56c-65.164 0-121.018-53.993-121.018-121.018s53.993-121.018 121.018-121.018c67.025 0 121.018 53.993 121.018 121.018 1.862 67.025-52.131 121.018-121.018 121.018zM512 690.036c-48.407 0-87.505 39.098-87.505 87.505s39.098 87.505 87.505 87.505 87.505-39.098 87.505-87.505c0-48.407-39.098-87.505-87.505-87.505zM512 243.2c-65.164 0-121.018-55.855-121.018-121.018 0-67.025 53.993-121.018 121.018-121.018s121.018 53.993 121.018 121.018c1.862 65.164-52.131 121.018-121.018 121.018zM512 34.676c-48.407 0-87.505 39.098-87.505 87.505s39.098 87.505 87.505 87.505 87.505-39.098 87.505-87.505-39.098-87.505-87.505-87.505zM512 570.88c-67.025 0-121.018-53.993-121.018-121.018s55.855-122.88 121.018-122.88c67.025 0 121.018 53.993 121.018 121.018 1.862 68.887-52.131 122.88-121.018 122.88zM512 362.356c-48.407 0-87.505 39.098-87.505 87.505s39.098 87.505 87.505 87.505 87.505-39.098 87.505-87.505-39.098-87.505-87.505-87.505z" />
32
+ <glyph unicode="&#xe916;" glyph-name="pa-video-box" d="M703.767 457.309l-284.858 210.385c-5.585 3.724-14.895 0-14.895-7.447v-422.633c0-7.447 9.309-11.171 14.895-7.447l286.72 210.385c3.724 5.585 3.724 13.033-1.862 16.756zM446.836 306.502v282.996l191.767-141.498-191.767-141.498zM512 930.211c-273.687 0-495.244-217.833-495.244-482.211s223.418-482.211 495.244-482.211c273.687 0 495.244 215.971 495.244 482.211s-221.556 482.211-495.244 482.211zM512 19.782c-247.622 0-446.836 193.629-446.836 430.080s199.215 430.080 446.836 430.080 446.836-193.629 446.836-430.080-201.076-430.080-446.836-430.080z" />
33
+ <glyph unicode="&#xe917;" glyph-name="horizontal-mouse-scroll" d="M693.248 523.776c0 98.304-79.872 177.152-177.152 177.152h-8.192c-98.304 0-177.152-79.872-177.152-177.152v-150.528c0-98.304 79.872-177.152 177.152-177.152h8.192c98.304 0 177.152 79.872 177.152 177.152v150.528zM663.552 372.224c0-40.96-16.384-77.824-43.008-104.448s-63.488-43.008-104.448-43.008h-8.192c-40.96 0-77.824 16.384-104.448 43.008s-43.008 63.488-43.008 104.448v151.552c0 40.96 16.384 77.824 43.008 104.448s63.488 43.008 104.448 43.008h8.192c40.96 0 77.824-16.384 104.448-43.008s43.008-63.488 43.008-104.448v-151.552zM512 551.424c-8.192 0-15.36-7.168-15.36-15.36v-44.032c0-8.192 7.168-15.36 15.36-15.36s15.36 7.168 15.36 15.36v44.032c-1.024 8.192-7.168 15.36-15.36 15.36zM54.272 457.216c-4.096-5.12-4.096-13.312 0-18.432l59.392-74.752c5.12-6.144 14.336-7.168 20.48-2.048s7.168 14.336 2.048 20.48v0l-51.2 65.536 52.224 65.536c5.12 6.144 4.096 15.36-2.048 20.48s-15.36 4.096-20.48-2.048l-60.416-74.752zM886.784 382.464c-5.12-6.144-4.096-15.36 2.048-20.48s15.36-4.096 20.48 2.048l59.392 74.752c4.096 5.12 4.096 13.312 0 18.432l-59.392 74.752c-5.12 6.144-14.336 7.168-20.48 2.048s-7.168-14.336-2.048-20.48v0l52.224-65.536-52.224-65.536z" />
34
+ <glyph unicode="&#xe918;" glyph-name="vertical-mouse-scroll" d="M693.248 523.776c0 98.304-79.872 177.152-177.152 177.152h-8.192c-98.304 0-177.152-79.872-177.152-177.152v-150.528c0-98.304 79.872-177.152 177.152-177.152h8.192c98.304 0 177.152 79.872 177.152 177.152v150.528zM663.552 372.224c0-40.96-16.384-77.824-43.008-104.448s-63.488-43.008-104.448-43.008h-8.192c-40.96 0-77.824 16.384-104.448 43.008s-43.008 63.488-43.008 104.448v151.552c0 40.96 16.384 77.824 43.008 104.448s63.488 43.008 104.448 43.008h8.192c40.96 0 77.824-16.384 104.448-43.008s43.008-63.488 43.008-104.448v-151.552zM512 551.424c-8.192 0-15.36-7.168-15.36-15.36v-44.032c0-8.192 7.168-15.36 15.36-15.36s15.36 7.168 15.36 15.36v44.032c-1.024 8.192-7.168 15.36-15.36 15.36zM502.784-9.728c5.12-4.096 13.312-4.096 18.432 0l74.752 59.392c6.144 5.12 7.168 14.336 2.048 20.48s-14.336 7.168-20.48 2.048v0l-65.536-51.2-65.536 52.224c-6.144 5.12-15.36 4.096-20.48-2.048s-4.096-15.36 2.048-20.48l74.752-60.416zM577.536 822.784c6.144-5.12 15.36-4.096 20.48 2.048s4.096 15.36-2.048 20.48l-74.752 59.392c-5.12 4.096-13.312 4.096-18.432 0l-74.752-59.392c-6.144-5.12-7.168-14.336-2.048-20.48s14.336-7.168 20.48-2.048v0l65.536 52.224 65.536-52.224z" />
35
  </font></defs></svg>
assets/editor/js/pa-maps-finder.js CHANGED
@@ -1,68 +1,68 @@
1
-
2
- var $ = jQuery;
3
-
4
- function getAddress(ob) {
5
-
6
- var address = $(ob).parent().find("input").attr("value");
7
-
8
- if ( address !== "" ) {
9
-
10
- geocoder = new google.maps.Geocoder();
11
-
12
- geocoder.geocode({
13
- address: address
14
- }, function(results, status) {
15
-
16
- if (status == google.maps.GeocoderStatus.OK) {
17
-
18
- var output = $(ob).parent().find(".premium-address-result"),
19
- latiude = results[0].geometry.location.lat(),
20
- longitude = results[0].geometry.location.lng();
21
-
22
- $(output).html("Latitude: " + latiude + "<br>Longitude: " + longitude + "<br>(Copy and Paste your Latitude & Longitude value below)");
23
-
24
- $(ob).parents(".elementor-control-premium_map_notice").nextAll(".elementor-control-premium_maps_center_lat").find("input").val(latiude).trigger("input");
25
-
26
- $(ob).parents(".elementor-control-premium_map_notice").nextAll(".elementor-control-premium_maps_center_long").find("input").val(longitude).trigger("input");
27
-
28
- } else {
29
-
30
- alert("Geocode was not successful for the following reason: " + status);
31
-
32
- }
33
- });
34
- }
35
- }
36
-
37
- function getPinAddress(ob) {
38
-
39
- var address = $(ob).parent().find("input").attr("value");
40
-
41
- if (address !== "") {
42
-
43
- geocoder = new google.maps.Geocoder();
44
-
45
- geocoder.geocode({
46
- address: address
47
- }, function(results, status) {
48
-
49
- if (status == google.maps.GeocoderStatus.OK) {
50
-
51
- var output = $(ob).parent().find(".premium-address-result"),
52
- latiude = results[0].geometry.location.lat(),
53
- longitude = results[0].geometry.location.lng();
54
-
55
- $(output).html("Latitude: " + latiude + "<br>Longitude: " + longitude + "<br>(Copy and Paste your Latitude & Longitude value below)");
56
-
57
- $(ob).parents(".elementor-control-premium_map_pin_notice").nextAll(".elementor-control-map_latitude").find("input").val(latiude).trigger("input");
58
-
59
- $(ob).parents(".elementor-control-premium_map_pin_notice").nextAll(".elementor-control-map_longitude").find("input").val(longitude).trigger("input");
60
-
61
- } else {
62
-
63
- alert("Geocode was not successful for the following reason: " + status);
64
-
65
- }
66
- });
67
- }
68
  }
1
+
2
+ var $ = jQuery;
3
+
4
+ function getAddress(ob) {
5
+
6
+ var address = $(ob).parent().find("input").attr("value");
7
+
8
+ if ( address !== "" ) {
9
+
10
+ geocoder = new google.maps.Geocoder();
11
+
12
+ geocoder.geocode({
13
+ address: address
14
+ }, function(results, status) {
15
+
16
+ if (status == google.maps.GeocoderStatus.OK) {
17
+
18
+ var output = $(ob).parent().find(".premium-address-result"),
19
+ latiude = results[0].geometry.location.lat(),
20
+ longitude = results[0].geometry.location.lng();
21
+
22
+ $(output).html("Latitude: " + latiude + "<br>Longitude: " + longitude + "<br>(Copy and Paste your Latitude & Longitude value below)");
23
+
24
+ $(ob).parents(".elementor-control-premium_map_notice").nextAll(".elementor-control-premium_maps_center_lat").find("input").val(latiude).trigger("input");
25
+
26
+ $(ob).parents(".elementor-control-premium_map_notice").nextAll(".elementor-control-premium_maps_center_long").find("input").val(longitude).trigger("input");
27
+
28
+ } else {
29
+
30
+ alert("Geocode was not successful for the following reason: " + status);
31
+
32
+ }
33
+ });
34
+ }
35
+ }
36
+
37
+ function getPinAddress(ob) {
38
+
39
+ var address = $(ob).parent().find("input").attr("value");
40
+
41
+ if (address !== "") {
42
+
43
+ geocoder = new google.maps.Geocoder();
44
+
45
+ geocoder.geocode({
46
+ address: address
47
+ }, function(results, status) {
48
+
49
+ if (status == google.maps.GeocoderStatus.OK) {
50
+
51
+ var output = $(ob).parent().find(".premium-address-result"),
52
+ latiude = results[0].geometry.location.lat(),
53
+ longitude = results[0].geometry.location.lng();
54
+
55
+ $(output).html("Latitude: " + latiude + "<br>Longitude: " + longitude + "<br>(Copy and Paste your Latitude & Longitude value below)");
56
+
57
+ $(ob).parents(".elementor-control-premium_map_pin_notice").nextAll(".elementor-control-map_latitude").find("input").val(latiude).trigger("input");
58
+
59
+ $(ob).parents(".elementor-control-premium_map_pin_notice").nextAll(".elementor-control-map_longitude").find("input").val(longitude).trigger("input");
60
+
61
+ } else {
62
+
63
+ alert("Geocode was not successful for the following reason: " + status);
64
+
65
+ }
66
+ });
67
+ }
68
  }
assets/editor/templates/css/editor-rtl.css CHANGED
@@ -1,523 +1,523 @@
1
- #premium-template-modal .dialog-widget-content {
2
- background-color: #f1f3f5;
3
- width: 100%;
4
- }
5
- @media (max-width: 1439px) {
6
- #premium-template-modal .dialog-widget-content {
7
- max-width: 990px;
8
- }
9
- }
10
- @media (min-width: 1440px) {
11
- #premium-template-modal .dialog-widget-content {
12
- max-width: 1200px;
13
- }
14
- }
15
- #premium-template-modal .dialog-widget-header,
16
- #premium-template-modal .dialog-header {
17
- padding: 0;
18
- background-color: #fff;
19
- -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
20
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
21
- position: relative;
22
- z-index: 1;
23
- }
24
- #premium-template-modal .dialog-buttons-wrapper {
25
- display: none;
26
- }
27
- #premium-template-modal a,
28
- #premium-template-modal a:hover {
29
- color: inherit;
30
- }
31
- #premium-template-modal a.elementor-template-library-blank-footer-link {
32
- -webkit-transition: color 0.5s;
33
- transition: color 0.5s;
34
- }
35
- #premium-template-modal a.elementor-template-library-blank-footer-link:hover {
36
- color: #9b0a46;
37
- }
38
- #premium-template-modal .elementor-button {
39
- text-transform: uppercase;
40
- }
41
- #premium-template-modal ::-webkit-scrollbar {
42
- width: 6px;
43
- height: 0;
44
- border-radius: 3px;
45
- }
46
- #premium-template-modal ::-webkit-scrollbar-button {
47
- width: 0;
48
- height: 10px;
49
- }
50
- #premium-template-modal ::-webkit-scrollbar-thumb {
51
- background-color: #d5dadf;
52
- border: 0 none #d5dadf;
53
- border-radius: 0;
54
- border-radius: 3px;
55
- }
56
- #premium-template-modal ::-webkit-scrollbar-track {
57
- border: 0 none #fff;
58
- border-radius: 0;
59
- }
60
- #premium-template-modal ::-webkit-scrollbar-corner {
61
- background: transparent;
62
- }
63
- #premium-template-modal-header {
64
- display: -webkit-box;
65
- display: -ms-flexbox;
66
- display: flex;
67
- -webkit-box-pack: justify;
68
- -ms-flex-pack: justify;
69
- display: -webkit-box;
70
- display: -webkit-flex;
71
- display: -ms-flexbox;
72
- display: flex;
73
- -webkit-box-align: center;
74
- -webkit-align-items: center;
75
- -ms-flex-align: center;
76
- align-items: center;
77
- -webkit-box-pack: justify;
78
- -ms-flex-pack: justify;
79
-
80
- height: 50px;
81
- }
82
- #premium-template-modal-header .premium-template-modal-back {
83
- background: none;
84
- border: none;
85
- border-left: 1px solid #e6e9ec;
86
- padding: 15px 15px 15px 20px;
87
- line-height: 20px;
88
- font-size: 13px;
89
- font-weight: 700;
90
- outline: none;
91
- -webkit-transition: all 200ms linear;
92
- transition: all 200ms linear;
93
- cursor: pointer;
94
- color: #6d7882;
95
- }
96
- #premium-template-modal-header .premium-template-modal-back:not(:hover) {
97
- color: #a4afb7;
98
- }
99
- #premium-template-modal-header .elementor-button {
100
- padding: 8px 10px;
101
- }
102
- #premium-template-modal-header-close-modal {
103
- width: 45px;
104
- border-right: 1px solid #e6e9ec;
105
- display: -webkit-box;
106
- display: -ms-flexbox;
107
- display: flex;
108
- -webkit-box-align: center;
109
- -ms-flex-align: center;
110
- align-items: center;
111
- -webkit-box-pack: center;
112
- -ms-flex-pack: center;
113
- justify-content: center;
114
- cursor: pointer;
115
- -webkit-transition: all 200ms linear;
116
- transition: all 200ms linear;
117
- }
118
- #premium-template-modal-header-close-modal i {
119
- color: #a4afb7;
120
- font-size: 16px;
121
- }
122
- #premium-template-modal-header-close-modal:hover i {
123
- color: #6d7882;
124
- }
125
- #premium-template-modal-header-actions .template-library-activate-license {
126
- display: block;
127
- padding: 8px 10px;
128
- color: #fff;
129
- }
130
- #premium-template-modal-header-actions
131
- .template-library-activate-license:hover {
132
- color: #fff;
133
- opacity: 0.85;
134
- -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.12),
135
- 0 2px 2px rgba(0, 0, 0, 0.2);
136
- box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
137
- }
138
- #premium-template-modal .elementor-library-error {
139
- margin: 18% 0 0;
140
- }
141
- #premium-template-modal .elementor-library-error-message {
142
- font-size: 18px;
143
- padding: 0 0 20px;
144
- }
145
- #premium-template-modal .elementor-library-error-link a {
146
- display: inline-block;
147
- color: #fff;
148
- background-image: none;
149
- background: #f47216;
150
- font-size: 13px;
151
- font-weight: 400;
152
- font-style: normal;
153
- text-transform: uppercase;
154
- line-height: 1;
155
- height: 40px;
156
- line-height: 40px;
157
- min-width: 170px;
158
- padding: 0 20px;
159
- border: none;
160
- border-radius: 3px;
161
- cursor: pointer;
162
- -webkit-transition: all 0.5s;
163
- transition: all 0.5s;
164
- }
165
- #premium-template-modal .elementor-library-error-link a:hover {
166
- opacity: 0.85;
167
- -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.12),
168
- 0 2px 2px rgba(0, 0, 0, 0.2);
169
- box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
170
- }
171
- #premium-modal-tabs-items {
172
- display: none;
173
- }
174
- #premium-template-modal-header-tabs {
175
- display: -webkit-box;
176
- display: -webkit-flex;
177
- display: -ms-flexbox;
178
- display: flex;
179
- flex: 2;
180
- -webkit-box-align: center;
181
- -webkit-align-items: center;
182
- -ms-flex-align: center;
183
- align-items: center;
184
- -webkit-box-pack: justify;
185
- -webkit-justify-content: space-between;
186
- -ms-flex-pack: justify;
187
- justify-content: space-between;
188
- }
189
- #premium-template-modal-header-logo-area {
190
- text-align: right;
191
- padding-right: 15px;
192
- }
193
- #premium-template-modal-header-logo-area > * {
194
- display: -webkit-box;
195
- display: -webkit-flex;
196
- display: -ms-flexbox;
197
- display: flex;
198
- -webkit-box-align: center;
199
- -webkit-align-items: center;
200
- -ms-flex-align: center;
201
- align-items: center;
202
- }
203
- #premium-template-modal-header-logo .premium-template-modal-header-logo-icon {
204
- margin-left: 5px;
205
- }
206
- #premium-template-modal-header-logo
207
- .premium-template-modal-header-logo-icon
208
- img {
209
- width: 30px;
210
- height: 30px;
211
- }
212
- #premium-template-modal-header-logo {
213
- color: #495157;
214
- line-height: 1;
215
- text-transform: uppercase;
216
- font-weight: 700;
217
- cursor: pointer;
218
- }
219
- #premium-template-library-content {
220
- display: -webkit-box;
221
- display: -ms-flexbox;
222
- display: flex;
223
- height: calc(100% - 20px);
224
- }
225
- #premium-template-library-content .premium-filters-list {
226
- width: 18%;
227
- padding: 0px 0px 10px 10px;
228
- height: 100%;
229
- overflow: auto;
230
- }
231
- #premium-template-library-content .premium-templates-wrap {
232
- width: 85%;
233
- }
234
- #premium-template-library-content .premium-templates-list {
235
- height: 100%;
236
- overflow: auto;
237
- margin-top: 12px;
238
- }
239
- #premium-template-library-content .premium-keywords-list {
240
- padding-right: 10px;
241
- }
242
- #elementor-template-library-filter {
243
- display: -webkit-box;
244
- display: -ms-flexbox;
245
- display: flex;
246
- align-items: center;
247
- }
248
- #elementor-template-library-filter label {
249
- color: #6d7882;
250
- font-size: 14px;
251
- font-weight: 500;
252
- margin-left: 0.5em;
253
- }
254
- #premium-template-modal .elementor-loader {
255
- position: relative;
256
- background-color: hsla(0,0%,100%,.9);
257
- }
258
- #premium-template-modal .elementor-loader .elementor-loader-box:first-of-type {
259
- left: 40px;
260
- top: 40px;
261
- width: 14px;
262
- height: 70px;
263
- }
264
- #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(2) {
265
- top: 40px;
266
- }
267
- #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(3) {
268
- top: 68px;
269
- }
270
- #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(4) {
271
- bottom: 40px;
272
- }
273
- #premium-template-modal
274
- .elementor-loader
275
- .elementor-loader-box:not(:first-of-type) {
276
- right: 40px;
277
- height: 14px;
278
- width: 42px;
279
- }
280
- #premium-template-library-content .premium-template-filter-label {
281
- display: block;
282
- position: relative;
283
- text-align: right;
284
- padding: 9px 0;
285
- }
286
- #premium-template-library-content
287
- .premium-template-filter-label
288
- input[type="radio"] {
289
- position: absolute;
290
- right: 0;
291
- top: 0;
292
- left: 0;
293
- bottom: 0;
294
- margin: 0;
295
- opacity: 0;
296
- display: block;
297
- width: 100%;
298
- height: 100%;
299
- cursor: pointer;
300
- }
301
- .premium-template-filter-label span {
302
- color: #6d7882;
303
- }
304
- #premium-template-library-content .premium-template-filter-label:hover span,
305
- #premium-template-library-content
306
- .premium-template-filter-label
307
- input:checked
308
- + span {
309
- color: #f47216;
310
- }
311
- #premium-template-library-content .premium-template-filter-item {
312
- border-top: 1px solid rgba(213, 218, 223, 0.5);
313
- }
314
- #premium-template-library-content .premium-template-filter-item:first-child {
315
- border-top: none;
316
- }
317
- #premium-template-library-content .premium-templates-wrap {
318
- width: 100%;
319
- }
320
- #premium-template-library-content .premium-template-insert {
321
- padding: 5px 12px;
322
- }
323
- #premium-template-library-content .premium-template-insert i {
324
- margin-left: 2px;
325
- }
326
- #premium-template-library-content .premium-template-insert span {
327
- font-size: 11px;
328
- }
329
- #premium-template-library-content .elementor-template-library-template-name {
330
- width: 200px;
331
- }
332
- #premium-modal-templates-container {
333
- display: -webkit-box;
334
- display: -ms-flexbox;
335
- display: flex;
336
- -ms-flex-wrap: wrap;
337
- flex-wrap: wrap;
338
- -webkit-box-align: start;
339
- -ms-flex-align: start;
340
- align-items: flex-start;
341
- }
342
- #premium-modal-templates-container .elementor-template-library-template {
343
- position: relative;
344
- background: #fff;
345
- }
346
- #premium-modal-templates-container .premium-template-pro::before {
347
- position: absolute;
348
- left: -76px;
349
- top: 2px;
350
- content: "PRO";
351
- z-index: 10;
352
- width: 180px;
353
- height: 20px;
354
- padding: 0 20px;
355
- font-size: 12px;
356
- line-height: 10px;
357
- text-align: center;
358
- color: #fff;
359
- font-weight: bold;
360
- box-shadow: 0px 1px 3px #888888;
361
- background: #f47216;
362
- border-top: 5px solid #f47216;
363
- border-bottom: 5px solid #f47216;
364
- -webkit-transform: rotate(-35deg);
365
- transform: rotate(-35deg);
366
- }
367
- #premium-modal-templates-container .elementor-template-library-template-remote {
368
- width: calc(33.3333% - 30px);
369
- }
370
- #premium-template-library-content
371
- #premium-modal-templates-container
372
- .elementor-template-library-template-controls {
373
- position: absolute;
374
- background-color: #fff;
375
- right: 0;
376
- bottom: -15px;
377
- left: 0;
378
- display: -webkit-box;
379
- display: -ms-flexbox;
380
- display: flex;
381
- -webkit-box-pack: justify;
382
- -ms-flex-pack: justify;
383
- -webkit-transition: all 0.3s ease;
384
- transition: all 0.3s ease;
385
- justify-content: center;
386
- padding: 9px 8px 9px 10px;
387
- z-index: 10;
388
- }
389
- #premium-template-library-content
390
- #premium-modal-templates-container
391
- .elementor-template-library-template:hover
392
- .elementor-template-library-template-controls {
393
- bottom: 0;
394
- }
395
- #premium-template-library-content
396
- #premium-modal-templates-container
397
- .premium-template-insert {
398
- padding: 0;
399
- margin: 0;
400
- color: #39b54a;
401
- background: none;
402
- text-transform: none;
403
- font-size: 12px;
404
- }
405
- #premium-template-library-content
406
- #premium-modal-templates-container
407
- .premium-clone-template {
408
- background: none;
409
- border: none;
410
- padding: 0;
411
- margin: 0;
412
- color: #9b0a46;
413
- cursor: pointer;
414
- display: none;
415
- font-size: 12px;
416
- -webkit-box-shadow: none;
417
- box-shadow: none;
418
- outline: none;
419
- font-weight: bold;
420
- }
421
- div.premium-template-has-url:hover .premium-clone-template {
422
- display: block !important;
423
- }
424
- #premium-template-library-content
425
- #premium-modal-templates-container
426
- .premium-template-insert:hover {
427
- -webkit-box-shadow: none;
428
- box-shadow: none;
429
- }
430
- #premium-template-library-content
431
- #premium-modal-templates-container
432
- .elementor-template-library-template-name {
433
- padding: 5px 0 0;
434
- text-align: center;
435
- display: block !important;
436
- }
437
- #premium-template-library-content
438
- #premium-modal-templates-container
439
- .elementor-template-library-template-name-holder {
440
- height: 23px;
441
- }
442
- #premium-template-library-content
443
- #premium-modal-templates-container
444
- .template-library-activate-license {
445
- display: none;
446
- color: #fcb92c;
447
- font-size: 12px;
448
- }
449
- #premium-template-library-content
450
- #premium-modal-templates-container
451
- .template-library-activate-license:hover {
452
- color: #d89403;
453
- }
454
- #premium-template-library-content
455
- #premium-modal-templates-container
456
- .elementor-template-library-template:hover
457
- .elementor-template-library-template-name {
458
- opacity: 0;
459
- }
460
- .library-tab-premium_page
461
- #premium-modal-templates-container
462
- .elementor-template-library-template-remote {
463
- width: calc(25% - 20px);
464
- margin: 10px;
465
- }
466
- .library-tab-premium_page
467
- #premium-modal-templates-container
468
- .elementor-template-library-template-remote
469
- .elementor-template-library-template-action {
470
- padding: 8px;
471
- }
472
- #premium-modal-templates-container
473
- .premium-template-no-url
474
- .elementor-template-library-template-preview {
475
- cursor: default !important;
476
- opacity: 0 !important;
477
- }
478
- #premium-modal-templates-container .premium-template-no-url .fa-search-plus {
479
- display: none !important;
480
- }
481
- #premium-modal-templates-container
482
- .elementor-template-library-template:hover
483
- .template-library-activate-license {
484
- display: block !important;
485
- }
486
- .elementor-template-library-template-screenshot img {
487
- width: 100%;
488
- max-width: 100%;
489
- height: auto;
490
- display: block;
491
- }
492
- /* * Preview Iframe */
493
- #premium-templatate-item-preview-wrap,
494
- #premium-templatate-item-preview-wrap .premium-template-item-preview-iframe {
495
- height: 100%;
496
- overflow: hidden;
497
- }
498
- #premium-templatate-item-preview-wrap iframe {
499
- height: 140%;
500
- -webkit-transform: scale(0.666) translateX(25%) translateY(-25%);
501
- -ms-transform: scale(0.666) translateX(25%) translateY(-25%);
502
- transform: scale(0.666) translateX(25%) translateY(-25%);
503
- }
504
- @media (max-width: 1439px) {
505
- #premium-templatate-item-preview-wrap iframe {
506
- width: 1440px;
507
- }
508
- }
509
- @media (min-width: 1440px) {
510
- #premium-templatate-item-preview-wrap iframe {
511
- width: 1710px;
512
- }
513
- }
514
- .premium-template-item-notice div {
515
- color: #31708f;
516
- background-color: #d9edf7;
517
- border-color: #bcdff1;
518
- padding: 15px;
519
- border-right: 5px solid #bcdff1;
520
- position: relative;
521
- text-align: right;
522
- margin-bottom: 8px;
523
- }
1
+ #premium-template-modal .dialog-widget-content {
2
+ background-color: #f1f3f5;
3
+ width: 100%;
4
+ }
5
+ @media (max-width: 1439px) {
6
+ #premium-template-modal .dialog-widget-content {
7
+ max-width: 990px;
8
+ }
9
+ }
10
+ @media (min-width: 1440px) {
11
+ #premium-template-modal .dialog-widget-content {
12
+ max-width: 1200px;
13
+ }
14
+ }
15
+ #premium-template-modal .dialog-widget-header,
16
+ #premium-template-modal .dialog-header {
17
+ padding: 0;
18
+ background-color: #fff;
19
+ -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
20
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
21
+ position: relative;
22
+ z-index: 1;
23
+ }
24
+ #premium-template-modal .dialog-buttons-wrapper {
25
+ display: none;
26
+ }
27
+ #premium-template-modal a,
28
+ #premium-template-modal a:hover {
29
+ color: inherit;
30
+ }
31
+ #premium-template-modal a.elementor-template-library-blank-footer-link {
32
+ -webkit-transition: color 0.5s;
33
+ transition: color 0.5s;
34
+ }
35
+ #premium-template-modal a.elementor-template-library-blank-footer-link:hover {
36
+ color: #9b0a46;
37
+ }
38
+ #premium-template-modal .elementor-button {
39
+ text-transform: uppercase;
40
+ }
41
+ #premium-template-modal ::-webkit-scrollbar {
42
+ width: 6px;
43
+ height: 0;
44
+ border-radius: 3px;
45
+ }
46
+ #premium-template-modal ::-webkit-scrollbar-button {
47
+ width: 0;
48
+ height: 10px;
49
+ }
50
+ #premium-template-modal ::-webkit-scrollbar-thumb {
51
+ background-color: #d5dadf;
52
+ border: 0 none #d5dadf;
53
+ border-radius: 0;
54
+ border-radius: 3px;
55
+ }
56
+ #premium-template-modal ::-webkit-scrollbar-track {
57
+ border: 0 none #fff;
58
+ border-radius: 0;
59
+ }
60
+ #premium-template-modal ::-webkit-scrollbar-corner {
61
+ background: transparent;
62
+ }
63
+ #premium-template-modal-header {
64
+ display: -webkit-box;
65
+ display: -ms-flexbox;
66
+ display: flex;
67
+ -webkit-box-pack: justify;
68
+ -ms-flex-pack: justify;
69
+ display: -webkit-box;
70
+ display: -webkit-flex;
71
+ display: -ms-flexbox;
72
+ display: flex;
73
+ -webkit-box-align: center;
74
+ -webkit-align-items: center;
75
+ -ms-flex-align: center;
76
+ align-items: center;
77
+ -webkit-box-pack: justify;
78
+ -ms-flex-pack: justify;
79
+
80
+ height: 50px;
81
+ }
82
+ #premium-template-modal-header .premium-template-modal-back {
83
+ background: none;
84
+ border: none;
85
+ border-left: 1px solid #e6e9ec;
86
+ padding: 15px 15px 15px 20px;
87
+ line-height: 20px;
88
+ font-size: 13px;
89
+ font-weight: 700;
90
+ outline: none;
91
+ -webkit-transition: all 200ms linear;
92
+ transition: all 200ms linear;
93
+ cursor: pointer;
94
+ color: #6d7882;
95
+ }
96
+ #premium-template-modal-header .premium-template-modal-back:not(:hover) {
97
+ color: #a4afb7;
98
+ }
99
+ #premium-template-modal-header .elementor-button {
100
+ padding: 8px 10px;
101
+ }
102
+ #premium-template-modal-header-close-modal {
103
+ width: 45px;
104
+ border-right: 1px solid #e6e9ec;
105
+ display: -webkit-box;
106
+ display: -ms-flexbox;
107
+ display: flex;
108
+ -webkit-box-align: center;
109
+ -ms-flex-align: center;
110
+ align-items: center;
111
+ -webkit-box-pack: center;
112
+ -ms-flex-pack: center;
113
+ justify-content: center;
114
+ cursor: pointer;
115
+ -webkit-transition: all 200ms linear;
116
+ transition: all 200ms linear;
117
+ }
118
+ #premium-template-modal-header-close-modal i {
119
+ color: #a4afb7;
120
+ font-size: 16px;
121
+ }
122
+ #premium-template-modal-header-close-modal:hover i {
123
+ color: #6d7882;
124
+ }
125
+ #premium-template-modal-header-actions .template-library-activate-license {
126
+ display: block;
127
+ padding: 8px 10px;
128
+ color: #fff;
129
+ }
130
+ #premium-template-modal-header-actions
131
+ .template-library-activate-license:hover {
132
+ color: #fff;
133
+ opacity: 0.85;
134
+ -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.12),
135
+ 0 2px 2px rgba(0, 0, 0, 0.2);
136
+ box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
137
+ }
138
+ #premium-template-modal .elementor-library-error {
139
+ margin: 18% 0 0;
140
+ }
141
+ #premium-template-modal .elementor-library-error-message {
142
+ font-size: 18px;
143
+ padding: 0 0 20px;
144
+ }
145
+ #premium-template-modal .elementor-library-error-link a {
146
+ display: inline-block;
147
+ color: #fff;
148
+ background-image: none;
149
+ background: #f47216;
150
+ font-size: 13px;
151
+ font-weight: 400;
152
+ font-style: normal;
153
+ text-transform: uppercase;
154
+ line-height: 1;
155
+ height: 40px;
156
+ line-height: 40px;
157
+ min-width: 170px;
158
+ padding: 0 20px;
159
+ border: none;
160
+ border-radius: 3px;
161
+ cursor: pointer;
162
+ -webkit-transition: all 0.5s;
163
+ transition: all 0.5s;
164
+ }
165
+ #premium-template-modal .elementor-library-error-link a:hover {
166
+ opacity: 0.85;
167
+ -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.12),
168
+ 0 2px 2px rgba(0, 0, 0, 0.2);
169
+ box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
170
+ }
171
+ #premium-modal-tabs-items {
172
+ display: none;
173
+ }
174
+ #premium-template-modal-header-tabs {
175
+ display: -webkit-box;
176
+ display: -webkit-flex;
177
+ display: -ms-flexbox;
178
+ display: flex;
179
+ flex: 2;
180
+ -webkit-box-align: center;
181
+ -webkit-align-items: center;
182
+ -ms-flex-align: center;
183
+ align-items: center;
184
+ -webkit-box-pack: justify;
185
+ -webkit-justify-content: space-between;
186
+ -ms-flex-pack: justify;
187
+ justify-content: space-between;
188
+ }
189
+ #premium-template-modal-header-logo-area {
190
+ text-align: right;
191
+ padding-right: 15px;
192
+ }
193
+ #premium-template-modal-header-logo-area > * {
194
+ display: -webkit-box;
195
+ display: -webkit-flex;
196
+ display: -ms-flexbox;
197
+ display: flex;
198
+ -webkit-box-align: center;
199
+ -webkit-align-items: center;
200
+ -ms-flex-align: center;
201
+ align-items: center;
202
+ }
203
+ #premium-template-modal-header-logo .premium-template-modal-header-logo-icon {
204
+ margin-left: 5px;
205
+ }
206
+ #premium-template-modal-header-logo
207
+ .premium-template-modal-header-logo-icon
208
+ img {
209
+ width: 30px;
210
+ height: 30px;
211
+ }
212
+ #premium-template-modal-header-logo {
213
+ color: #495157;
214
+ line-height: 1;
215
+ text-transform: uppercase;
216
+ font-weight: 700;
217
+ cursor: pointer;
218
+ }
219
+ #premium-template-library-content {
220
+ display: -webkit-box;
221
+ display: -ms-flexbox;
222
+ display: flex;
223
+ height: calc(100% - 20px);
224
+ }
225
+ #premium-template-library-content .premium-filters-list {
226
+ width: 18%;
227
+ padding: 0px 0px 10px 10px;
228
+ height: 100%;
229
+ overflow: auto;
230
+ }
231
+ #premium-template-library-content .premium-templates-wrap {
232
+ width: 85%;
233
+ }
234
+ #premium-template-library-content .premium-templates-list {
235
+ height: 100%;
236
+ overflow: auto;
237
+ margin-top: 12px;
238
+ }
239
+ #premium-template-library-content .premium-keywords-list {
240
+ padding-right: 10px;
241
+ }
242
+ #elementor-template-library-filter {
243
+ display: -webkit-box;
244
+ display: -ms-flexbox;
245
+ display: flex;
246
+ align-items: center;
247
+ }
248
+ #elementor-template-library-filter label {
249
+ color: #6d7882;
250
+ font-size: 14px;
251
+ font-weight: 500;
252
+ margin-left: 0.5em;
253
+ }
254
+ #premium-template-modal .elementor-loader {
255
+ position: relative;
256
+ background-color: hsla(0,0%,100%,.9);
257
+ }
258
+ #premium-template-modal .elementor-loader .elementor-loader-box:first-of-type {
259
+ left: 40px;
260
+ top: 40px;
261
+ width: 14px;
262
+ height: 70px;
263
+ }
264
+ #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(2) {
265
+ top: 40px;
266
+ }
267
+ #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(3) {
268
+ top: 68px;
269
+ }
270
+ #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(4) {
271
+ bottom: 40px;
272
+ }
273
+ #premium-template-modal
274
+ .elementor-loader
275
+ .elementor-loader-box:not(:first-of-type) {
276
+ right: 40px;
277
+ height: 14px;
278
+ width: 42px;
279
+ }
280
+ #premium-template-library-content .premium-template-filter-label {
281
+ display: block;
282
+ position: relative;
283
+ text-align: right;
284
+ padding: 9px 0;
285
+ }
286
+ #premium-template-library-content
287
+ .premium-template-filter-label
288
+ input[type="radio"] {
289
+ position: absolute;
290
+ right: 0;
291
+ top: 0;
292
+ left: 0;
293
+ bottom: 0;
294
+ margin: 0;
295
+ opacity: 0;
296
+ display: block;
297
+ width: 100%;
298
+ height: 100%;
299
+ cursor: pointer;
300
+ }
301
+ .premium-template-filter-label span {
302
+ color: #6d7882;
303
+ }
304
+ #premium-template-library-content .premium-template-filter-label:hover span,
305
+ #premium-template-library-content
306
+ .premium-template-filter-label
307
+ input:checked
308
+ + span {
309
+ color: #f47216;
310
+ }
311
+ #premium-template-library-content .premium-template-filter-item {
312
+ border-top: 1px solid rgba(213, 218, 223, 0.5);
313
+ }
314
+ #premium-template-library-content .premium-template-filter-item:first-child {
315
+ border-top: none;
316
+ }
317
+ #premium-template-library-content .premium-templates-wrap {
318
+ width: 100%;
319
+ }
320
+ #premium-template-library-content .premium-template-insert {
321
+ padding: 5px 12px;
322
+ }
323
+ #premium-template-library-content .premium-template-insert i {
324
+ margin-left: 2px;
325
+ }
326
+ #premium-template-library-content .premium-template-insert span {
327
+ font-size: 11px;
328
+ }
329
+ #premium-template-library-content .elementor-template-library-template-name {
330
+ width: 200px;
331
+ }
332
+ #premium-modal-templates-container {
333
+ display: -webkit-box;
334
+ display: -ms-flexbox;
335
+ display: flex;
336
+ -ms-flex-wrap: wrap;
337
+ flex-wrap: wrap;
338
+ -webkit-box-align: start;
339
+ -ms-flex-align: start;
340
+ align-items: flex-start;
341
+ }
342
+ #premium-modal-templates-container .elementor-template-library-template {
343
+ position: relative;
344
+ background: #fff;
345
+ }
346
+ #premium-modal-templates-container .premium-template-pro::before {
347
+ position: absolute;
348
+ left: -76px;
349
+ top: 2px;
350
+ content: "PRO";
351
+ z-index: 10;
352
+ width: 180px;
353
+ height: 20px;
354
+ padding: 0 20px;
355
+ font-size: 12px;
356
+ line-height: 10px;
357
+ text-align: center;
358
+ color: #fff;
359
+ font-weight: bold;
360
+ box-shadow: 0px 1px 3px #888888;
361
+ background: #f47216;
362
+ border-top: 5px solid #f47216;
363
+ border-bottom: 5px solid #f47216;
364
+ -webkit-transform: rotate(-35deg);
365
+ transform: rotate(-35deg);
366
+ }
367
+ #premium-modal-templates-container .elementor-template-library-template-remote {
368
+ width: calc(33.3333% - 30px);
369
+ }
370
+ #premium-template-library-content
371
+ #premium-modal-templates-container
372
+ .elementor-template-library-template-controls {
373
+ position: absolute;
374
+ background-color: #fff;
375
+ right: 0;
376
+ bottom: -15px;
377
+ left: 0;
378
+ display: -webkit-box;
379
+ display: -ms-flexbox;
380
+ display: flex;
381
+ -webkit-box-pack: justify;
382
+ -ms-flex-pack: justify;
383
+ -webkit-transition: all 0.3s ease;
384
+ transition: all 0.3s ease;
385
+ justify-content: center;
386
+ padding: 9px 8px 9px 10px;
387
+ z-index: 10;
388
+ }
389
+ #premium-template-library-content
390
+ #premium-modal-templates-container
391
+ .elementor-template-library-template:hover
392
+ .elementor-template-library-template-controls {
393
+ bottom: 0;
394
+ }
395
+ #premium-template-library-content
396
+ #premium-modal-templates-container
397
+ .premium-template-insert {
398
+ padding: 0;
399
+ margin: 0;
400
+ color: #39b54a;
401
+ background: none;
402
+ text-transform: none;
403
+ font-size: 12px;
404
+ }
405
+ #premium-template-library-content
406
+ #premium-modal-templates-container
407
+ .premium-clone-template {
408
+ background: none;
409
+ border: none;
410
+ padding: 0;
411
+ margin: 0;
412
+ color: #9b0a46;
413
+ cursor: pointer;
414
+ display: none;
415
+ font-size: 12px;
416
+ -webkit-box-shadow: none;
417
+ box-shadow: none;
418
+ outline: none;
419
+ font-weight: bold;
420
+ }
421
+ div.premium-template-has-url:hover .premium-clone-template {
422
+ display: block !important;
423
+ }
424
+ #premium-template-library-content
425
+ #premium-modal-templates-container
426
+ .premium-template-insert:hover {
427
+ -webkit-box-shadow: none;
428
+ box-shadow: none;
429
+ }
430
+ #premium-template-library-content
431
+ #premium-modal-templates-container
432
+ .elementor-template-library-template-name {
433
+ padding: 5px 0 0;
434
+ text-align: center;
435
+ display: block !important;
436
+ }
437
+ #premium-template-library-content
438
+ #premium-modal-templates-container
439
+ .elementor-template-library-template-name-holder {
440
+ height: 23px;
441
+ }
442
+ #premium-template-library-content
443
+ #premium-modal-templates-container
444
+ .template-library-activate-license {
445
+ display: none;
446
+ color: #fcb92c;
447
+ font-size: 12px;
448
+ }
449
+ #premium-template-library-content
450
+ #premium-modal-templates-container
451
+ .template-library-activate-license:hover {
452
+ color: #d89403;
453
+ }
454
+ #premium-template-library-content
455
+ #premium-modal-templates-container
456
+ .elementor-template-library-template:hover
457
+ .elementor-template-library-template-name {
458
+ opacity: 0;
459
+ }
460
+ .library-tab-premium_page
461
+ #premium-modal-templates-container
462
+ .elementor-template-library-template-remote {
463
+ width: calc(25% - 20px);
464
+ margin: 10px;
465
+ }
466
+ .library-tab-premium_page
467
+ #premium-modal-templates-container
468
+ .elementor-template-library-template-remote
469
+ .elementor-template-library-template-action {
470
+ padding: 8px;
471
+ }
472
+ #premium-modal-templates-container
473
+ .premium-template-no-url
474
+ .elementor-template-library-template-preview {
475
+ cursor: default !important;
476
+ opacity: 0 !important;
477
+ }
478
+ #premium-modal-templates-container .premium-template-no-url .fa-search-plus {
479
+ display: none !important;
480
+ }
481
+ #premium-modal-templates-container
482
+ .elementor-template-library-template:hover
483
+ .template-library-activate-license {
484
+ display: block !important;
485
+ }
486
+ .elementor-template-library-template-screenshot img {
487
+ width: 100%;
488
+ max-width: 100%;
489
+ height: auto;
490
+ display: block;
491
+ }
492
+ /* * Preview Iframe */
493
+ #premium-templatate-item-preview-wrap,
494
+ #premium-templatate-item-preview-wrap .premium-template-item-preview-iframe {
495
+ height: 100%;
496
+ overflow: hidden;
497
+ }
498
+ #premium-templatate-item-preview-wrap iframe {
499
+ height: 140%;
500
+ -webkit-transform: scale(0.666) translateX(25%) translateY(-25%);
501
+ -ms-transform: scale(0.666) translateX(25%) translateY(-25%);
502
+ transform: scale(0.666) translateX(25%) translateY(-25%);
503
+ }
504
+ @media (max-width: 1439px) {
505
+ #premium-templatate-item-preview-wrap iframe {
506
+ width: 1440px;
507
+ }
508
+ }
509
+ @media (min-width: 1440px) {
510
+ #premium-templatate-item-preview-wrap iframe {
511
+ width: 1710px;
512
+ }
513
+ }
514
+ .premium-template-item-notice div {
515
+ color: #31708f;
516
+ background-color: #d9edf7;
517
+ border-color: #bcdff1;
518
+ padding: 15px;
519
+ border-right: 5px solid #bcdff1;
520
+ position: relative;
521
+ text-align: right;
522
+ margin-bottom: 8px;
523
+ }
assets/editor/templates/css/editor.css CHANGED
@@ -1,523 +1,523 @@
1
- #premium-template-modal .dialog-widget-content {
2
- background-color: #f1f3f5;
3
- width: 100%;
4
- }
5
- @media (max-width: 1439px) {
6
- #premium-template-modal .dialog-widget-content {
7
- max-width: 990px;
8
- }
9
- }
10
- @media (min-width: 1440px) {
11
- #premium-template-modal .dialog-widget-content {
12
- max-width: 1200px;
13
- }
14
- }
15
- #premium-template-modal .dialog-widget-header,
16
- #premium-template-modal .dialog-header {
17
- padding: 0;
18
- background-color: #fff;
19
- -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
20
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
21
- position: relative;
22
- z-index: 1;
23
- }
24
- #premium-template-modal .dialog-buttons-wrapper {
25
- display: none;
26
- }
27
- #premium-template-modal a,
28
- #premium-template-modal a:hover {
29
- color: inherit;
30
- }
31
- #premium-template-modal a.elementor-template-library-blank-footer-link {
32
- -webkit-transition: color 0.5s;
33
- transition: color 0.5s;
34
- }
35
- #premium-template-modal a.elementor-template-library-blank-footer-link:hover {
36
- color: #9b0a46;
37
- }
38
- #premium-template-modal .elementor-button {
39
- text-transform: uppercase;
40
- }
41
- #premium-template-modal ::-webkit-scrollbar {
42
- width: 6px;
43
- height: 0;
44
- border-radius: 3px;
45
- }
46
- #premium-template-modal ::-webkit-scrollbar-button {
47
- width: 0;
48
- height: 10px;
49
- }
50
- #premium-template-modal ::-webkit-scrollbar-thumb {
51
- background-color: #d5dadf;
52
- border: 0 none #d5dadf;
53
- border-radius: 0;
54
- border-radius: 3px;
55
- }
56
- #premium-template-modal ::-webkit-scrollbar-track {
57
- border: 0 none #fff;
58
- border-radius: 0;
59
- }
60
- #premium-template-modal ::-webkit-scrollbar-corner {
61
- background: transparent;
62
- }
63
- #premium-template-modal-header {
64
- display: -webkit-box;
65
- display: -ms-flexbox;
66
- display: flex;
67
- -webkit-box-pack: justify;
68
- -ms-flex-pack: justify;
69
- display: -webkit-box;
70
- display: -webkit-flex;
71
- display: -ms-flexbox;
72
- display: flex;
73
- -webkit-box-align: center;
74
- -webkit-align-items: center;
75
- -ms-flex-align: center;
76
- align-items: center;
77
- -webkit-box-pack: justify;
78
- -ms-flex-pack: justify;
79
-
80
- height: 50px;
81
- }
82
- #premium-template-modal-header .premium-template-modal-back {
83
- background: none;
84
- border: none;
85
- border-right: 1px solid #e6e9ec;
86
- padding: 15px 20px 15px 15px;
87
- line-height: 20px;
88
- font-size: 13px;
89
- font-weight: 700;
90
- outline: none;
91
- -webkit-transition: all 200ms linear;
92
- transition: all 200ms linear;
93
- cursor: pointer;
94
- color: #6d7882;
95
- }
96
- #premium-template-modal-header .premium-template-modal-back:not(:hover) {
97
- color: #a4afb7;
98
- }
99
- #premium-template-modal-header .elementor-button {
100
- padding: 8px 10px;
101
- }
102
- #premium-template-modal-header-close-modal {
103
- width: 45px;
104
- border-left: 1px solid #e6e9ec;
105
- display: -webkit-box;
106
- display: -ms-flexbox;
107
- display: flex;
108
- -webkit-box-align: center;
109
- -ms-flex-align: center;
110
- align-items: center;
111
- -webkit-box-pack: center;
112
- -ms-flex-pack: center;
113
- justify-content: center;
114
- cursor: pointer;
115
- -webkit-transition: all 200ms linear;
116
- transition: all 200ms linear;
117
- }
118
- #premium-template-modal-header-close-modal i {
119
- color: #a4afb7;
120
- font-size: 16px;
121
- }
122
- #premium-template-modal-header-close-modal:hover i {
123
- color: #6d7882;
124
- }
125
- #premium-template-modal-header-actions .template-library-activate-license {
126
- display: block;
127
- padding: 8px 10px;
128
- color: #fff;
129
- }
130
- #premium-template-modal-header-actions
131
- .template-library-activate-license:hover {
132
- color: #fff;
133
- opacity: 0.85;
134
- -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.12),
135
- 0 2px 2px rgba(0, 0, 0, 0.2);
136
- box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
137
- }
138
- #premium-template-modal .elementor-library-error {
139
- margin: 18% 0 0;
140
- }
141
- #premium-template-modal .elementor-library-error-message {
142
- font-size: 18px;
143
- padding: 0 0 20px;
144
- }
145
- #premium-template-modal .elementor-library-error-link a {
146
- display: inline-block;
147
- color: #fff;
148
- background-image: none;
149
- background: #f47216;
150
- font-size: 13px;
151
- font-weight: 400;
152
- font-style: normal;
153
- text-transform: uppercase;
154
- line-height: 1;
155
- height: 40px;
156
- line-height: 40px;
157
- min-width: 170px;
158
- padding: 0 20px;
159
- border: none;
160
- border-radius: 3px;
161
- cursor: pointer;
162
- -webkit-transition: all 0.5s;
163
- transition: all 0.5s;
164
- }
165
- #premium-template-modal .elementor-library-error-link a:hover {
166
- opacity: 0.85;
167
- -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.12),
168
- 0 2px 2px rgba(0, 0, 0, 0.2);
169
- box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
170
- }
171
- #premium-modal-tabs-items {
172
- display: none;
173
- }
174
- #premium-template-modal-header-tabs {
175
- display: -webkit-box;
176
- display: -webkit-flex;
177
- display: -ms-flexbox;
178
- display: flex;
179
- flex: 2;
180
- -webkit-box-align: center;
181
- -webkit-align-items: center;
182
- -ms-flex-align: center;
183
- align-items: center;
184
- -webkit-box-pack: justify;
185
- -webkit-justify-content: space-between;
186
- -ms-flex-pack: justify;
187
- justify-content: space-between;
188
- }
189
- #premium-template-modal-header-logo-area {
190
- text-align: left;
191
- padding-left: 15px;
192
- }
193
- #premium-template-modal-header-logo-area > * {
194
- display: -webkit-box;
195
- display: -webkit-flex;
196
- display: -ms-flexbox;
197
- display: flex;
198
- -webkit-box-align: center;
199
- -webkit-align-items: center;
200
- -ms-flex-align: center;
201
- align-items: center;
202
- }
203
- #premium-template-modal-header-logo .premium-template-modal-header-logo-icon {
204
- margin-right: 5px;
205
- }
206
- #premium-template-modal-header-logo
207
- .premium-template-modal-header-logo-icon
208
- img {
209
- width: 30px;
210
- height: 30px;
211
- }
212
- #premium-template-modal-header-logo {
213
- color: #495157;
214
- line-height: 1;
215
- text-transform: uppercase;
216
- font-weight: 700;
217
- cursor: pointer;
218
- }
219
- #premium-template-library-content {
220
- display: -webkit-box;
221
- display: -ms-flexbox;
222
- display: flex;
223
- height: calc(100% - 20px);
224
- }
225
- #premium-template-library-content .premium-filters-list {
226
- width: 18%;
227
- padding: 0px 10px 10px 0px;
228
- height: 100%;
229
- overflow: auto;
230
- }
231
- #premium-template-library-content .premium-templates-wrap {
232
- width: 85%;
233
- }
234
- #premium-template-library-content .premium-templates-list {
235
- height: 100%;
236
- overflow: auto;
237
- margin-top: 12px;
238
- }
239
- #premium-template-library-content .premium-keywords-list {
240
- padding-left: 10px;
241
- }
242
- #elementor-template-library-filter {
243
- display: -webkit-box;
244
- display: -ms-flexbox;
245
- display: flex;
246
- align-items: center;
247
- }
248
- #elementor-template-library-filter label {
249
- color: #6d7882;
250
- font-size: 14px;
251
- font-weight: 500;
252
- margin-right: 0.5em;
253
- }
254
- #premium-template-modal .elementor-loader {
255
- position: relative;
256
- background-color: hsla(0,0%,100%,.9);
257
- }
258
- #premium-template-modal .elementor-loader .elementor-loader-box:first-of-type {
259
- left: 40px;
260
- top: 40px;
261
- width: 14px;
262
- height: 70px;
263
- }
264
- #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(2) {
265
- top: 40px;
266
- }
267
- #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(3) {
268
- top: 68px;
269
- }
270
- #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(4) {
271
- bottom: 40px;
272
- }
273
- #premium-template-modal
274
- .elementor-loader
275
- .elementor-loader-box:not(:first-of-type) {
276
- right: 40px;
277
- height: 14px;
278
- width: 42px;
279
- }
280
- #premium-template-library-content .premium-template-filter-label {
281
- display: block;
282
- position: relative;
283
- text-align: left;
284
- padding: 9px 0;
285
- }
286
- #premium-template-library-content
287
- .premium-template-filter-label
288
- input[type="radio"] {
289
- position: absolute;
290
- left: 0;
291
- top: 0;
292
- right: 0;
293
- bottom: 0;
294
- margin: 0;
295
- opacity: 0;
296
- display: block;
297
- width: 100%;
298
- height: 100%;
299
- cursor: pointer;
300
- }
301
- .premium-template-filter-label span {
302
- color: #6d7882;
303
- }
304
- #premium-template-library-content .premium-template-filter-label:hover span,
305
- #premium-template-library-content
306
- .premium-template-filter-label
307
- input:checked
308
- + span {
309
- color: #f47216;
310
- }
311
- #premium-template-library-content .premium-template-filter-item {
312
- border-top: 1px solid rgba(213, 218, 223, 0.5);
313
- }
314
- #premium-template-library-content .premium-template-filter-item:first-child {
315
- border-top: none;
316
- }
317
- #premium-template-library-content .premium-templates-wrap {
318
- width: 100%;
319
- }
320
- #premium-template-library-content .premium-template-insert {
321
- padding: 5px 12px;
322
- }
323
- #premium-template-library-content .premium-template-insert i {
324
- margin-right: 2px;
325
- }
326
- #premium-template-library-content .premium-template-insert span {
327
- font-size: 11px;
328
- }
329
- #premium-template-library-content .elementor-template-library-template-name {
330
- width: 200px;
331
- }
332
- #premium-modal-templates-container {
333
- display: -webkit-box;
334
- display: -ms-flexbox;
335
- display: flex;
336
- -ms-flex-wrap: wrap;
337
- flex-wrap: wrap;
338
- -webkit-box-align: start;
339
- -ms-flex-align: start;
340
- align-items: flex-start;
341
- }
342
- #premium-modal-templates-container .elementor-template-library-template {
343
- position: relative;
344
- background: #fff;
345
- }
346
- #premium-modal-templates-container .premium-template-pro::before {
347
- position: absolute;
348
- right: -76px;
349
- top: 2px;
350
- content: "PRO";
351
- z-index: 10;
352
- width: 180px;
353
- height: 20px;
354
- padding: 0 20px;
355
- font-size: 12px;
356
- line-height: 10px;
357
- text-align: center;
358
- color: #fff;
359
- font-weight: bold;
360
- box-shadow: 0px 1px 3px #888888;
361
- background: #f47216;
362
- border-top: 5px solid #f47216;
363
- border-bottom: 5px solid #f47216;
364
- -webkit-transform: rotate(35deg);
365
- transform: rotate(35deg);
366
- }
367
- #premium-modal-templates-container .elementor-template-library-template-remote {
368
- width: calc(33.3333% - 30px);
369
- }
370
- #premium-template-library-content
371
- #premium-modal-templates-container
372
- .elementor-template-library-template-controls {
373
- position: absolute;
374
- background-color: #fff;
375
- left: 0;
376
- bottom: -15px;
377
- right: 0;
378
- display: -webkit-box;
379
- display: -ms-flexbox;
380
- display: flex;
381
- -webkit-box-pack: justify;
382
- -ms-flex-pack: justify;
383
- -webkit-transition: all 0.3s ease;
384
- transition: all 0.3s ease;
385
- justify-content: center;
386
- padding: 9px 10px 9px 8px;
387
- z-index: 10;
388
- }
389
- #premium-template-library-content
390
- #premium-modal-templates-container
391
- .elementor-template-library-template:hover
392
- .elementor-template-library-template-controls {
393
- bottom: 0;
394
- }
395
- #premium-template-library-content
396
- #premium-modal-templates-container
397
- .premium-template-insert {
398
- padding: 0;
399
- margin: 0;
400
- color: #39b54a;
401
- background: none;
402
- text-transform: none;
403
- font-size: 12px;
404
- }
405
- #premium-template-library-content
406
- #premium-modal-templates-container
407
- .premium-clone-template {
408
- background: none;
409
- border: none;
410
- padding: 0;
411
- margin: 0;
412
- color: #9b0a46;
413
- cursor: pointer;
414
- display: none;
415
- font-size: 12px;
416
- -webkit-box-shadow: none;
417
- box-shadow: none;
418
- outline: none;
419
- font-weight: bold;
420
- }
421
- div.premium-template-has-url:hover .premium-clone-template {
422
- display: block !important;
423
- }
424
- #premium-template-library-content
425
- #premium-modal-templates-container
426
- .premium-template-insert:hover {
427
- -webkit-box-shadow: none;
428
- box-shadow: none;
429
- }
430
- #premium-template-library-content
431
- #premium-modal-templates-container
432
- .elementor-template-library-template-name {
433
- padding: 5px 0 0;
434
- text-align: center;
435
- display: block !important;
436
- }
437
- #premium-template-library-content
438
- #premium-modal-templates-container
439
- .elementor-template-library-template-name-holder {
440
- height: 23px;
441
- }
442
- #premium-template-library-content
443
- #premium-modal-templates-container
444
- .template-library-activate-license {
445
- display: none;
446
- color: #fcb92c;
447
- font-size: 12px;
448
- }
449
- #premium-template-library-content
450
- #premium-modal-templates-container
451
- .template-library-activate-license:hover {
452
- color: #d89403;
453
- }
454
- #premium-template-library-content
455
- #premium-modal-templates-container
456
- .elementor-template-library-template:hover
457
- .elementor-template-library-template-name {
458
- opacity: 0;
459
- }
460
- .library-tab-premium_page
461
- #premium-modal-templates-container
462
- .elementor-template-library-template-remote {
463
- width: calc(25% - 20px);
464
- margin: 10px;
465
- }
466
- .library-tab-premium_page
467
- #premium-modal-templates-container
468
- .elementor-template-library-template-remote
469
- .elementor-template-library-template-action {
470
- padding: 8px;
471
- }
472
- #premium-modal-templates-container
473
- .premium-template-no-url
474
- .elementor-template-library-template-preview {
475
- cursor: default !important;
476
- opacity: 0 !important;
477
- }
478
- #premium-modal-templates-container .premium-template-no-url .fa-search-plus {
479
- display: none !important;
480
- }
481
- #premium-modal-templates-container
482
- .elementor-template-library-template:hover
483
- .template-library-activate-license {
484
- display: block !important;
485
- }
486
- .elementor-template-library-template-screenshot img {
487
- width: 100%;
488
- max-width: 100%;
489
- height: auto;
490
- display: block;
491
- }
492
- /* * Preview Iframe */
493
- #premium-templatate-item-preview-wrap,
494
- #premium-templatate-item-preview-wrap .premium-template-item-preview-iframe {
495
- height: 100%;
496
- overflow: hidden;
497
- }
498
- #premium-templatate-item-preview-wrap iframe {
499
- height: 140%;
500
- -webkit-transform: scale(0.666) translateX(-25%) translateY(-25%);
501
- -ms-transform: scale(0.666) translateX(-25%) translateY(-25%);
502
- transform: scale(0.666) translateX(-25%) translateY(-25%);
503
- }
504
- @media (max-width: 1439px) {
505
- #premium-templatate-item-preview-wrap iframe {
506
- width: 1440px;
507
- }
508
- }
509
- @media (min-width: 1440px) {
510
- #premium-templatate-item-preview-wrap iframe {
511
- width: 1710px;
512
- }
513
- }
514
- .premium-template-item-notice div {
515
- color: #31708f;
516
- background-color: #d9edf7;
517
- border-color: #bcdff1;
518
- padding: 15px;
519
- border-left: 5px solid #bcdff1;
520
- position: relative;
521
- text-align: left;
522
- margin-bottom: 8px;
523
- }
1
+ #premium-template-modal .dialog-widget-content {
2
+ background-color: #f1f3f5;
3
+ width: 100%;
4
+ }
5
+ @media (max-width: 1439px) {
6
+ #premium-template-modal .dialog-widget-content {
7
+ max-width: 990px;
8
+ }
9
+ }
10
+ @media (min-width: 1440px) {
11
+ #premium-template-modal .dialog-widget-content {
12
+ max-width: 1200px;
13
+ }
14
+ }
15
+ #premium-template-modal .dialog-widget-header,
16
+ #premium-template-modal .dialog-header {
17
+ padding: 0;
18
+ background-color: #fff;
19
+ -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
20
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
21
+ position: relative;
22
+ z-index: 1;
23
+ }
24
+ #premium-template-modal .dialog-buttons-wrapper {
25
+ display: none;
26
+ }
27
+ #premium-template-modal a,
28
+ #premium-template-modal a:hover {
29
+ color: inherit;
30
+ }
31
+ #premium-template-modal a.elementor-template-library-blank-footer-link {
32
+ -webkit-transition: color 0.5s;
33
+ transition: color 0.5s;
34
+ }
35
+ #premium-template-modal a.elementor-template-library-blank-footer-link:hover {
36
+ color: #9b0a46;
37
+ }
38
+ #premium-template-modal .elementor-button {
39
+ text-transform: uppercase;
40
+ }
41
+ #premium-template-modal ::-webkit-scrollbar {
42
+ width: 6px;
43
+ height: 0;
44
+ border-radius: 3px;
45
+ }
46
+ #premium-template-modal ::-webkit-scrollbar-button {
47
+ width: 0;
48
+ height: 10px;
49
+ }
50
+ #premium-template-modal ::-webkit-scrollbar-thumb {
51
+ background-color: #d5dadf;
52
+ border: 0 none #d5dadf;
53
+ border-radius: 0;
54
+ border-radius: 3px;
55
+ }
56
+ #premium-template-modal ::-webkit-scrollbar-track {
57
+ border: 0 none #fff;
58
+ border-radius: 0;
59
+ }
60
+ #premium-template-modal ::-webkit-scrollbar-corner {
61
+ background: transparent;
62
+ }
63
+ #premium-template-modal-header {
64
+ display: -webkit-box;
65
+ display: -ms-flexbox;
66
+ display: flex;
67
+ -webkit-box-pack: justify;
68
+ -ms-flex-pack: justify;
69
+ display: -webkit-box;
70
+ display: -webkit-flex;
71
+ display: -ms-flexbox;
72
+ display: flex;
73
+ -webkit-box-align: center;
74
+ -webkit-align-items: center;
75
+ -ms-flex-align: center;
76
+ align-items: center;
77
+ -webkit-box-pack: justify;
78
+ -ms-flex-pack: justify;
79
+
80
+ height: 50px;
81
+ }
82
+ #premium-template-modal-header .premium-template-modal-back {
83
+ background: none;
84
+ border: none;
85
+ border-right: 1px solid #e6e9ec;
86
+ padding: 15px 20px 15px 15px;
87
+ line-height: 20px;
88
+ font-size: 13px;
89
+ font-weight: 700;
90
+ outline: none;
91
+ -webkit-transition: all 200ms linear;
92
+ transition: all 200ms linear;
93
+ cursor: pointer;
94
+ color: #6d7882;
95
+ }
96
+ #premium-template-modal-header .premium-template-modal-back:not(:hover) {
97
+ color: #a4afb7;
98
+ }
99
+ #premium-template-modal-header .elementor-button {
100
+ padding: 8px 10px;
101
+ }
102
+ #premium-template-modal-header-close-modal {
103
+ width: 45px;
104
+ border-left: 1px solid #e6e9ec;
105
+ display: -webkit-box;
106
+ display: -ms-flexbox;
107
+ display: flex;
108
+ -webkit-box-align: center;
109
+ -ms-flex-align: center;
110
+ align-items: center;
111
+ -webkit-box-pack: center;
112
+ -ms-flex-pack: center;
113
+ justify-content: center;
114
+ cursor: pointer;
115
+ -webkit-transition: all 200ms linear;
116
+ transition: all 200ms linear;
117
+ }
118
+ #premium-template-modal-header-close-modal i {
119
+ color: #a4afb7;
120
+ font-size: 16px;
121
+ }
122
+ #premium-template-modal-header-close-modal:hover i {
123
+ color: #6d7882;
124
+ }
125
+ #premium-template-modal-header-actions .template-library-activate-license {
126
+ display: block;
127
+ padding: 8px 10px;
128
+ color: #fff;
129
+ }
130
+ #premium-template-modal-header-actions
131
+ .template-library-activate-license:hover {
132
+ color: #fff;
133
+ opacity: 0.85;
134
+ -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.12),
135
+ 0 2px 2px rgba(0, 0, 0, 0.2);
136
+ box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
137
+ }
138
+ #premium-template-modal .elementor-library-error {
139
+ margin: 18% 0 0;
140
+ }
141
+ #premium-template-modal .elementor-library-error-message {
142
+ font-size: 18px;
143
+ padding: 0 0 20px;
144
+ }
145
+ #premium-template-modal .elementor-library-error-link a {
146
+ display: inline-block;
147
+ color: #fff;
148
+ background-image: none;
149
+ background: #f47216;
150
+ font-size: 13px;
151
+ font-weight: 400;
152
+ font-style: normal;
153
+ text-transform: uppercase;
154
+ line-height: 1;
155
+ height: 40px;
156
+ line-height: 40px;
157
+ min-width: 170px;
158
+ padding: 0 20px;
159
+ border: none;
160
+ border-radius: 3px;
161
+ cursor: pointer;
162
+ -webkit-transition: all 0.5s;
163
+ transition: all 0.5s;
164
+ }
165
+ #premium-template-modal .elementor-library-error-link a:hover {
166
+ opacity: 0.85;
167
+ -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.12),
168
+ 0 2px 2px rgba(0, 0, 0, 0.2);
169
+ box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
170
+ }
171
+ #premium-modal-tabs-items {
172
+ display: none;
173
+ }
174
+ #premium-template-modal-header-tabs {
175
+ display: -webkit-box;
176
+ display: -webkit-flex;
177
+ display: -ms-flexbox;
178
+ display: flex;
179
+ flex: 2;
180
+ -webkit-box-align: center;
181
+ -webkit-align-items: center;
182
+ -ms-flex-align: center;
183
+ align-items: center;
184
+ -webkit-box-pack: justify;
185
+ -webkit-justify-content: space-between;
186
+ -ms-flex-pack: justify;
187
+ justify-content: space-between;
188
+ }
189
+ #premium-template-modal-header-logo-area {
190
+ text-align: left;
191
+ padding-left: 15px;
192
+ }
193
+ #premium-template-modal-header-logo-area > * {
194
+ display: -webkit-box;
195
+ display: -webkit-flex;
196
+ display: -ms-flexbox;
197
+ display: flex;
198
+ -webkit-box-align: center;
199
+ -webkit-align-items: center;
200
+ -ms-flex-align: center;
201
+ align-items: center;
202
+ }
203
+ #premium-template-modal-header-logo .premium-template-modal-header-logo-icon {
204
+ margin-right: 5px;
205
+ }
206
+ #premium-template-modal-header-logo
207
+ .premium-template-modal-header-logo-icon
208
+ img {
209
+ width: 30px;
210
+ height: 30px;
211
+ }
212
+ #premium-template-modal-header-logo {
213
+ color: #495157;
214
+ line-height: 1;
215
+ text-transform: uppercase;
216
+ font-weight: 700;
217
+ cursor: pointer;
218
+ }
219
+ #premium-template-library-content {
220
+ display: -webkit-box;
221
+ display: -ms-flexbox;
222
+ display: flex;
223
+ height: calc(100% - 20px);
224
+ }
225
+ #premium-template-library-content .premium-filters-list {
226
+ width: 18%;
227
+ padding: 0px 10px 10px 0px;
228
+ height: 100%;
229
+ overflow: auto;
230
+ }
231
+ #premium-template-library-content .premium-templates-wrap {
232
+ width: 85%;
233
+ }
234
+ #premium-template-library-content .premium-templates-list {
235
+ height: 100%;
236
+ overflow: auto;
237
+ margin-top: 12px;
238
+ }
239
+ #premium-template-library-content .premium-keywords-list {
240
+ padding-left: 10px;
241
+ }
242
+ #elementor-template-library-filter {
243
+ display: -webkit-box;
244
+ display: -ms-flexbox;
245
+ display: flex;
246
+ align-items: center;
247
+ }
248
+ #elementor-template-library-filter label {
249
+ color: #6d7882;
250
+ font-size: 14px;
251
+ font-weight: 500;
252
+ margin-right: 0.5em;
253
+ }
254
+ #premium-template-modal .elementor-loader {
255
+ position: relative;
256
+ background-color: hsla(0,0%,100%,.9);
257
+ }
258
+ #premium-template-modal .elementor-loader .elementor-loader-box:first-of-type {
259
+ left: 40px;
260
+ top: 40px;
261
+ width: 14px;
262
+ height: 70px;
263
+ }
264
+ #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(2) {
265
+ top: 40px;
266
+ }
267
+ #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(3) {
268
+ top: 68px;
269
+ }
270
+ #premium-template-modal .elementor-loader .elementor-loader-box:nth-of-type(4) {
271
+ bottom: 40px;
272
+ }
273
+ #premium-template-modal
274
+ .elementor-loader
275
+ .elementor-loader-box:not(:first-of-type) {
276
+ right: 40px;
277
+ height: 14px;
278
+ width: 42px;
279
+ }
280
+ #premium-template-library-content .premium-template-filter-label {
281
+ display: block;
282
+ position: relative;
283
+ text-align: left;
284
+ padding: 9px 0;
285
+ }
286
+ #premium-template-library-content
287
+ .premium-template-filter-label
288
+ input[type="radio"] {
289
+ position: absolute;
290
+ left: 0;
291
+ top: 0;
292
+ right: 0;
293
+ bottom: 0;
294
+ margin: 0;
295
+ opacity: 0;
296
+ display: block;
297
+ width: 100%;
298
+ height: 100%;
299
+ cursor: pointer;
300
+ }
301
+ .premium-template-filter-label span {
302
+ color: #6d7882;
303
+ }
304
+ #premium-template-library-content .premium-template-filter-label:hover span,
305
+ #premium-template-library-content
306
+ .premium-template-filter-label
307
+ input:checked
308
+ + span {
309
+ color: #f47216;
310
+ }
311
+ #premium-template-library-content .premium-template-filter-item {
312
+ border-top: 1px solid rgba(213, 218, 223, 0.5);
313
+ }
314
+ #premium-template-library-content .premium-template-filter-item:first-child {
315
+ border-top: none;
316
+ }
317
+ #premium-template-library-content .premium-templates-wrap {
318
+ width: 100%;
319
+ }
320
+ #premium-template-library-content .premium-template-insert {
321
+ padding: 5px 12px;
322
+ }
323
+ #premium-template-library-content .premium-template-insert i {
324
+ margin-right: 2px;
325
+ }
326
+ #premium-template-library-content .premium-template-insert span {
327
+ font-size: 11px;
328
+ }
329
+ #premium-template-library-content .elementor-template-library-template-name {
330
+ width: 200px;
331
+ }
332
+ #premium-modal-templates-container {
333
+ display: -webkit-box;
334
+ display: -ms-flexbox;
335
+ display: flex;
336
+ -ms-flex-wrap: wrap;
337
+ flex-wrap: wrap;
338
+ -webkit-box-align: start;
339
+ -ms-flex-align: start;
340
+ align-items: flex-start;
341
+ }
342
+ #premium-modal-templates-container .elementor-template-library-template {
343
+ position: relative;
344
+ background: #fff;
345
+ }
346
+ #premium-modal-templates-container .premium-template-pro::before {
347
+ position: absolute;
348
+ right: -76px;
349
+ top: 2px;
350
+ content: "PRO";
351
+ z-index: 10;
352
+ width: 180px;
353
+ height: 20px;
354
+ padding: 0 20px;
355
+ font-size: 12px;
356
+ line-height: 10px;
357
+ text-align: center;
358
+ color: #fff;
359
+ font-weight: bold;
360
+ box-shadow: 0px 1px 3px #888888;
361
+ background: #f47216;
362
+ border-top: 5px solid #f47216;
363
+ border-bottom: 5px solid #f47216;
364
+ -webkit-transform: rotate(35deg);
365
+ transform: rotate(35deg);
366
+ }
367
+ #premium-modal-templates-container .elementor-template-library-template-remote {
368
+ width: calc(33.3333% - 30px);
369
+ }
370
+ #premium-template-library-content
371
+ #premium-modal-templates-container
372
+ .elementor-template-library-template-controls {
373
+ position: absolute;
374
+ background-color: #fff;
375
+ left: 0;
376
+ bottom: -15px;
377
+ right: 0;
378
+ display: -webkit-box;
379
+ display: -ms-flexbox;
380
+ display: flex;
381
+ -webkit-box-pack: justify;
382
+ -ms-flex-pack: justify;
383
+ -webkit-transition: all 0.3s ease;
384
+ transition: all 0.3s ease;
385
+ justify-content: center;
386
+ padding: 9px 10px 9px 8px;
387
+ z-index: 10;
388
+ }
389
+ #premium-template-library-content
390
+ #premium-modal-templates-container
391
+ .elementor-template-library-template:hover
392
+ .elementor-template-library-template-controls {
393
+ bottom: 0;
394
+ }
395
+ #premium-template-library-content
396
+ #premium-modal-templates-container
397
+ .premium-template-insert {
398
+ padding: 0;
399
+ margin: 0;
400
+ color: #39b54a;
401
+ background: none;
402
+ text-transform: none;
403
+ font-size: 12px;
404
+ }
405
+ #premium-template-library-content
406
+ #premium-modal-templates-container
407
+ .premium-clone-template {
408
+ background: none;
409
+ border: none;
410
+ padding: 0;
411
+ margin: 0;
412
+ color: #9b0a46;
413
+ cursor: pointer;
414
+ display: none;
415
+ font-size: 12px;
416
+ -webkit-box-shadow: none;
417
+ box-shadow: none;
418
+ outline: none;
419
+ font-weight: bold;
420
+ }
421
+ div.premium-template-has-url:hover .premium-clone-template {
422
+ display: block !important;
423
+ }
424
+ #premium-template-library-content
425
+ #premium-modal-templates-container
426
+ .premium-template-insert:hover {
427
+ -webkit-box-shadow: none;
428
+ box-shadow: none;
429
+ }
430
+ #premium-template-library-content
431
+ #premium-modal-templates-container
432
+ .elementor-template-library-template-name {
433
+ padding: 5px 0 0;
434
+ text-align: center;
435
+ display: block !important;
436
+ }
437
+ #premium-template-library-content
438
+ #premium-modal-templates-container
439
+ .elementor-template-library-template-name-holder {
440
+ height: 23px;
441
+ }
442
+ #premium-template-library-content
443
+ #premium-modal-templates-container
444
+ .template-library-activate-license {
445
+ display: none;
446
+ color: #fcb92c;
447
+ font-size: 12px;
448
+ }
449
+ #premium-template-library-content
450
+ #premium-modal-templates-container
451
+ .template-library-activate-license:hover {
452
+ color: #d89403;
453
+ }
454
+ #premium-template-library-content
455
+ #premium-modal-templates-container
456
+ .elementor-template-library-template:hover
457
+ .elementor-template-library-template-name {
458
+ opacity: 0;
459
+ }
460
+ .library-tab-premium_page
461
+ #premium-modal-templates-container
462
+ .elementor-template-library-template-remote {
463
+ width: calc(25% - 20px);
464
+ margin: 10px;
465
+ }
466
+ .library-tab-premium_page
467
+ #premium-modal-templates-container
468
+ .elementor-template-library-template-remote
469
+ .elementor-template-library-template-action {
470
+ padding: 8px;
471
+ }
472
+ #premium-modal-templates-container
473
+ .premium-template-no-url
474
+ .elementor-template-library-template-preview {
475
+ cursor: default !important;
476
+ opacity: 0 !important;
477
+ }
478
+ #premium-modal-templates-container .premium-template-no-url .fa-search-plus {
479
+ display: none !important;
480
+ }
481
+ #premium-modal-templates-container
482
+ .elementor-template-library-template:hover
483
+ .template-library-activate-license {
484
+ display: block !important;
485
+ }
486
+ .elementor-template-library-template-screenshot img {
487
+ width: 100%;
488
+ max-width: 100%;
489
+ height: auto;
490
+ display: block;
491
+ }
492
+ /* * Preview Iframe */
493
+ #premium-templatate-item-preview-wrap,
494
+ #premium-templatate-item-preview-wrap .premium-template-item-preview-iframe {
495
+ height: 100%;
496
+ overflow: hidden;
497
+ }
498
+ #premium-templatate-item-preview-wrap iframe {
499
+ height: 140%;
500
+ -webkit-transform: scale(0.666) translateX(-25%) translateY(-25%);
501
+ -ms-transform: scale(0.666) translateX(-25%) translateY(-25%);
502
+ transform: scale(0.666) translateX(-25%) translateY(-25%);
503
+ }
504
+ @media (max-width: 1439px) {
505
+ #premium-templatate-item-preview-wrap iframe {
506
+ width: 1440px;
507
+ }
508
+ }
509
+ @media (min-width: 1440px) {
510
+ #premium-templatate-item-preview-wrap iframe {
511
+ width: 1710px;
512
+ }
513
+ }
514
+ .premium-template-item-notice div {
515
+ color: #31708f;
516
+ background-color: #d9edf7;
517
+ border-color: #bcdff1;
518
+ padding: 15px;
519
+ border-left: 5px solid #bcdff1;
520
+ position: relative;
521
+ text-align: left;
522
+ margin-bottom: 8px;
523
+ }
assets/editor/templates/css/preview-rtl.css CHANGED
@@ -1,5 +1,5 @@
1
- .elementor-add-new-section .pa-add-section-btn {
2
- color: #fff;
3
- background: #F47216;
4
- margin-left: 5px;
5
  }
1
+ .elementor-add-new-section .pa-add-section-btn {
2
+ color: #fff;
3
+ background: #F47216;
4
+ margin-left: 5px;
5
  }
assets/editor/templates/css/preview.css CHANGED
@@ -1,5 +1,5 @@
1
- .elementor-add-new-section .pa-add-section-btn {
2
- color: #fff;
3
- background: #F47216;
4
- margin-right: 5px;
5
  }
1
+ .elementor-add-new-section .pa-add-section-btn {
2
+ color: #fff;
3
+ background: #F47216;
4
+ margin-right: 5px;
5
  }
assets/editor/templates/js/editor.js CHANGED
@@ -1,1045 +1,1045 @@
1
- (function ($) {
2
-
3
- 'use strict';
4
-
5
- var PremiumTempsData = window.PremiumTempsData || {},
6
- PremiumEditor,
7
- PremiumEditorViews,
8
- PremiumControlsViews,
9
- PremiumModules;
10
-
11
- PremiumEditorViews = {
12
-
13
- ModalLayoutView: null,
14
- ModalHeaderView: null,
15
- ModalHeaderInsertButton: null,
16
- ModalLoadingView: null,
17
- ModalBodyView: null,
18
- ModalErrorView: null,
19
- LibraryCollection: null,
20
- KeywordsModel: null,
21
- ModalCollectionView: null,
22
- ModalTabsCollection: null,
23
- ModalTabsCollectionView: null,
24
- FiltersCollectionView: null,
25
- FiltersItemView: null,
26
- ModalTabsItemView: null,
27
- ModalTemplateItemView: null,
28
- ModalInsertTemplateBehavior: null,
29
- ModalTemplateModel: null,
30
- CategoriesCollection: null,
31
- ModalPreviewView: null,
32
- ModalHeaderBack: null,
33
- ModalHeaderLogo: null,
34
- KeywordsView: null,
35
- TabModel: null,
36
- CategoryModel: null,
37
-
38
- init: function () {
39
- var self = this;
40
-
41
- self.ModalTemplateModel = Backbone.Model.extend({
42
- defaults: {
43
- template_id: 0,
44
- name: '',
45
- title: '',
46
- thumbnail: '',
47
- preview: '',
48
- source: '',
49
- categories: [],
50
- keywords: []
51
- }
52
- });
53
-
54
- self.ModalHeaderView = Marionette.LayoutView.extend({
55
-
56
- id: 'premium-template-modal-header',
57
- template: '#tmpl-premium-template-modal-header',
58
-
59
- ui: {
60
- closeModal: '#premium-template-modal-header-close-modal'
61
- },
62
-
63
- events: {
64
- 'click @ui.closeModal': 'onCloseModalClick'
65
- },
66
-
67
- regions: {
68
- headerLogo: '#premium-template-modal-header-logo-area',
69
- headerTabs: '#premium-template-modal-header-tabs',
70
- headerActions: '#premium-template-modal-header-actions'
71
- },
72
-
73
- onCloseModalClick: function () {
74
- PremiumEditor.closeModal();
75
- }
76
-
77
- });
78
-
79
- self.TabModel = Backbone.Model.extend({
80
- defaults: {
81
- slug: '',
82
- title: ''
83
- }
84
- });
85
-
86
- self.LibraryCollection = Backbone.Collection.extend({
87
- model: self.ModalTemplateModel
88
- });
89
-
90
- self.ModalTabsCollection = Backbone.Collection.extend({
91
- model: self.TabModel
92
- });
93
-
94
- self.CategoryModel = Backbone.Model.extend({
95
- defaults: {
96
- slug: '',
97
- title: ''
98
- }
99
- });
100
-
101
- self.KeywordsModel = Backbone.Model.extend({
102
- defaults: {
103
- keywords: {}
104
- }
105
- });
106
-
107
- self.CategoriesCollection = Backbone.Collection.extend({
108
- model: self.CategoryModel
109
- });
110
-
111
- self.KeywordsView = Marionette.ItemView.extend({
112
- id: 'elementor-template-library-filter',
113
- template: '#tmpl-premium-template-modal-keywords',
114
- ui: {
115
- keywords: '.premium-library-keywords'
116
- },
117
-
118
- events: {
119
- 'change @ui.keywords': 'onSelectKeyword'
120
- },
121
-
122
- onSelectKeyword: function (event) {
123
- var selected = event.currentTarget.selectedOptions[0].value;
124
- PremiumEditor.setFilter('keyword', selected);
125
- },
126
-
127
- onRender: function () {
128
- var $filters = this.$('.premium-library-keywords');
129
- $filters.select2({
130
- placeholder: 'Choose Widget',
131
- allowClear: true,
132
- width: 250
133
- });
134
- }
135
- });
136
-
137
- self.ModalPreviewView = Marionette.ItemView.extend({
138
-
139
- template: '#tmpl-premium-template-modal-preview',
140
-
141
- id: 'premium-templatate-item-preview-wrap',
142
-
143
- ui: {
144
- iframe: 'iframe',
145
- notice: '.premium-template-item-notice'
146
- },
147
-
148
-
149
- onRender: function () {
150
-
151
- if (null !== this.getOption('notice')) {
152
- if (this.getOption('notice').length) {
153
- var message = "";
154
- if (-1 !== this.getOption('notice').indexOf("facebook")) {
155
- message += "<p>Please login with your Facebook account in order to get your Facebook Reviews.</p>";
156
- } else if (-1 !== this.getOption('notice').indexOf("google")) {
157
- message += "<p>You need to add your Google API key from Dashboard -> Premium Add-ons for Elementor -> Google Maps</p>";
158
- } else if (-1 !== this.getOption('notice').indexOf("form")) {
159
- message += "<p>You need to have <a href='https://wordpress.org/plugins/contact-form-7/' target='_blank'>Contact Form 7 plugin</a> installed and active.</p>";
160
- }
161
-
162
- this.ui.notice.html('<div><p><strong>Important!</strong></p>' + message + '</div>');
163
- }
164
- }
165
-
166
- this.ui.iframe.attr('src', this.getOption('url'));
167
-
168
- }
169
- });
170
-
171
- self.ModalHeaderBack = Marionette.ItemView.extend({
172
-
173
- template: '#tmpl-premium-template-modal-header-back',
174
-
175
- id: 'premium-template-modal-header-back',
176
-
177
- ui: {
178
- button: 'button'
179
- },
180
-
181
- events: {
182
- 'click @ui.button': 'onBackClick',
183
- },
184
-
185
- onBackClick: function () {
186
- PremiumEditor.setPreview('back');
187
- }
188
-
189
- });
190
-
191
- self.ModalHeaderLogo = Marionette.ItemView.extend({
192
-
193
- template: '#tmpl-premium-template-modal-header-logo',
194
-
195
- id: 'premium-template-modal-header-logo'
196
-
197
- });
198
-
199
- self.ModalBodyView = Marionette.LayoutView.extend({
200
-
201
- id: 'premium-template-library-content',
202
-
203
- className: function () {
204
- return 'library-tab-' + PremiumEditor.getTab();
205
- },
206
-
207
- template: '#tmpl-premium-template-modal-content',
208
-
209
- regions: {
210
- contentTemplates: '.premium-templates-list',
211
- contentFilters: '.premium-filters-list',
212
- contentKeywords: '.premium-keywords-list'
213
- }
214
-
215
- });
216
-
217
- self.ModalInsertTemplateBehavior = Marionette.Behavior.extend({
218
- ui: {
219
- insertButton: '.premium-template-insert'
220
- },
221
-
222
- events: {
223
- 'click @ui.insertButton': 'onInsertButtonClick'
224
- },
225
-
226
- onInsertButtonClick: function () {
227
-
228
- var templateModel = this.view.model,
229
- innerTemplates = templateModel.attributes.dependencies,
230
- isPro = templateModel.attributes.pro,
231
- innerTemplatesLength = Object.keys(innerTemplates).length,
232
- options = {};
233
-
234
- PremiumEditor.layout.showLoadingView();
235
- if (innerTemplatesLength > 0) {
236
- for (var key in innerTemplates) {
237
- $.ajax({
238
- url: ajaxurl,
239
- type: 'post',
240
- dataType: 'json',
241
- data: {
242
- action: 'premium_inner_template',
243
- template: innerTemplates[key],
244
- tab: PremiumEditor.getTab()
245
- }
246
- });
247
- }
248
- }
249
-
250
- if ("valid" === PremiumTempsData.license.status || !isPro) {
251
-
252
- elementor.templates.requestTemplateContent(
253
- templateModel.get('source'),
254
- templateModel.get('template_id'),
255
- {
256
- data: {
257
- tab: PremiumEditor.getTab(),
258
- page_settings: false
259
- },
260
- success: function (data) {
261
-
262
- if (!data.license) {
263
- PremiumEditor.layout.showLicenseError();
264
- return;
265
- }
266
-
267
- console.log("%c Template Inserted Successfully!!", "color: #7a7a7a; background-color: #eee;");
268
-
269
- PremiumEditor.closeModal();
270
-
271
- elementor.channels.data.trigger('template:before:insert', templateModel);
272
-
273
- if (null !== PremiumEditor.atIndex) {
274
- options.at = PremiumEditor.atIndex;
275
- }
276
-
277
- elementor.sections.currentView.addChildModel(data.content, options);
278
-
279
- elementor.channels.data.trigger('template:after:insert', templateModel);
280
-
281
- PremiumEditor.atIndex = null;
282
-
283
- },
284
- error: function (err) {
285
- console.log(err);
286
- }
287
- }
288
- );
289
- } else {
290
- PremiumEditor.layout.showLicenseError();
291
- }
292
- }
293
- });
294
-
295
- self.ModalHeaderInsertButton = Marionette.ItemView.extend({
296
-
297
- template: '#tmpl-premium-template-modal-insert-button',
298
-
299
- id: 'premium-template-modal-insert-button',
300
-
301
- behaviors: {
302
- insertTemplate: {
303
- behaviorClass: self.ModalInsertTemplateBehavior
304
- }
305
- }
306
-
307
- });
308
-
309
- self.FiltersItemView = Marionette.ItemView.extend({
310
-
311
- template: '#tmpl-premium-template-modal-filters-item',
312
-
313
- className: function () {
314
- return 'premium-template-filter-item';
315
- },
316
-
317
- ui: function () {
318
- return {
319
- filterLabels: '.premium-template-filter-label'
320
- };
321
- },
322
-
323
- events: function () {
324
- return {
325
- 'click @ui.filterLabels': 'onFilterClick'
326
- };
327
- },
328
-
329
- onFilterClick: function (event) {
330
-
331
- var $clickedInput = jQuery(event.target);
332
- jQuery('.premium-library-keywords').val('');
333
- PremiumEditor.setFilter('category', $clickedInput.val());
334
- PremiumEditor.setFilter('keyword', '');
335
- }
336
-
337
- });
338
-
339
- self.ModalTabsItemView = Marionette.ItemView.extend({
340
-
341
- template: '#tmpl-premium-template-modal-tabs-item',
342
-
343
- className: function () {
344
- return 'elementor-template-library-menu-item';
345
- },
346
-
347
- ui: function () {
348
- return {
349
- tabsLabels: 'label',
350
- tabsInput: 'input'
351
- };
352
- },
353
-
354
- events: function () {
355
- return {
356
- 'click @ui.tabsLabels': 'onTabClick'
357
- };
358
- },
359
-
360
- onRender: function () {
361
- if (this.model.get('slug') === PremiumEditor.getTab()) {
362
- this.ui.tabsInput.attr('checked', 'checked');
363
- }
364
- },
365
-
366
- onTabClick: function (event) {
367
-
368
- var $clickedInput = jQuery(event.target);
369
- PremiumEditor.setTab($clickedInput.val());
370
- PremiumEditor.setFilter('keyword', '');
371
- }
372
-
373
- });
374
-
375
- self.FiltersCollectionView = Marionette.CompositeView.extend({
376
-
377
- id: 'premium-template-library-filters',
378
-
379
- template: '#tmpl-premium-template-modal-filters',
380
-
381
- childViewContainer: '#premium-modal-filters-container',
382
-
383
- getChildView: function (childModel) {
384
- return self.FiltersItemView;
385
- }
386
-
387
- });
388
-
389
- self.ModalTabsCollectionView = Marionette.CompositeView.extend({
390
-
391
- template: '#tmpl-premium-template-modal-tabs',
392
-
393
- childViewContainer: '#premium-modal-tabs-items',
394
-
395
- initialize: function () {
396
- this.listenTo(PremiumEditor.channels.layout, 'tamplate:cloned', this._renderChildren);
397
- },
398
-
399
- getChildView: function (childModel) {
400
- return self.ModalTabsItemView;
401
- }
402
-
403
- });
404
-
405
- self.ModalTemplateItemView = Marionette.ItemView.extend({
406
-
407
- template: '#tmpl-premium-template-modal-item',
408
-
409
- className: function () {
410
-
411
- var urlClass = ' premium-template-has-url',
412
- sourceClass = ' elementor-template-library-template-',
413
- proTemplate = '';
414
-
415
- if ('' === this.model.get('preview')) {
416
- urlClass = ' premium-template-no-url';
417
- }
418
-
419
- sourceClass += 'remote';
420
-
421
- if (this.model.get('pro')) {
422
- proTemplate = ' premium-template-pro';
423
- }
424
-
425
- return 'elementor-template-library-template' + sourceClass + urlClass + proTemplate;
426
- },
427
-
428
- ui: function () {
429
- return {
430
- previewButton: '.elementor-template-library-template-preview',
431
- };
432
- },
433
-
434
- events: function () {
435
- return {
436
- 'click @ui.previewButton': 'onPreviewButtonClick',
437
- };
438
- },
439
-
440
- onPreviewButtonClick: function () {
441
-
442
- if ('' === this.model.get('url')) {
443
- return;
444
- }
445
-
446
- PremiumEditor.setPreview(this.model);
447
- },
448
-
449
- behaviors: {
450
- insertTemplate: {
451
- behaviorClass: self.ModalInsertTemplateBehavior
452
- }
453
- }
454
- });
455
-
456
- self.ModalCollectionView = Marionette.CompositeView.extend({
457
-
458
- template: '#tmpl-premium-template-modal-templates',
459
-
460
- id: 'premium-template-library-templates',
461
-
462
- childViewContainer: '#premium-modal-templates-container',
463
-
464
- initialize: function () {
465
-
466
- this.listenTo(PremiumEditor.channels.templates, 'filter:change', this._renderChildren);
467
- },
468
-
469
- filter: function (childModel) {
470
-
471
- var filter = PremiumEditor.getFilter('category'),
472
- keyword = PremiumEditor.getFilter('keyword');
473
-
474
- if (!filter && !keyword) {
475
- return true;
476
- }
477
-
478
- if (keyword && !filter) {
479
- return _.contains(childModel.get('keywords'), keyword);
480
- }
481
-
482
- if (filter && !keyword) {
483
- return _.contains(childModel.get('categories'), filter);
484
- }
485
-
486
- return _.contains(childModel.get('categories'), filter) && _.contains(childModel.get('keywords'), keyword);
487
-
488
- },
489
-
490
- getChildView: function (childModel) {
491
- return self.ModalTemplateItemView;
492
- },
493
-
494
- onRenderCollection: function () {
495
-
496
- var container = this.$childViewContainer,
497
- items = this.$childViewContainer.children(),
498
- tab = PremiumEditor.getTab();
499
-
500
- if ('premium_page' === tab || 'local' === tab) {
501
- return;
502
- }
503
-
504
- // Wait for thumbnails to be loaded
505
- container.imagesLoaded(function () { }).done(function () {
506
- self.masonry.init({
507
- container: container,
508
- items: items
509
- });
510
- });
511
- }
512
-
513
- });
514
-
515
- self.ModalLayoutView = Marionette.LayoutView.extend({
516
-
517
- el: '#premium-template-modal',
518
-
519
- regions: PremiumTempsData.modalRegions,
520
-
521
- initialize: function () {
522
-
523
- this.getRegion('modalHeader').show(new self.ModalHeaderView());
524
- this.listenTo(PremiumEditor.channels.tabs, 'filter:change', this.switchTabs);
525
- this.listenTo(PremiumEditor.channels.layout, 'preview:change', this.switchPreview);
526
-
527
- },
528
-
529
- switchTabs: function () {
530
- this.showLoadingView();
531
- PremiumEditor.setFilter('keyword', '');
532
- PremiumEditor.requestTemplates(PremiumEditor.getTab());
533
- },
534
-
535
- switchPreview: function () {
536
-
537
- var header = this.getHeaderView(),
538
- preview = PremiumEditor.getPreview();
539
-
540
- var filter = PremiumEditor.getFilter('category'),
541
- keyword = PremiumEditor.getFilter('keyword');
542
-
543
- if ('back' === preview) {
544
- header.headerLogo.show(new self.ModalHeaderLogo());
545
- header.headerTabs.show(new self.ModalTabsCollectionView({
546
- collection: PremiumEditor.collections.tabs
547
- }));
548
-
549
- header.headerActions.empty();
550
- PremiumEditor.setTab(PremiumEditor.getTab());
551
-
552
- if ('' != filter) {
553
- PremiumEditor.setFilter('category', filter);
554
- jQuery('#premium-modal-filters-container').find("input[value='" + filter + "']").prop('checked', true);
555
-
556
- }
557
-
558
- if ('' != keyword) {
559
- PremiumEditor.setFilter('keyword', keyword);
560
- }
561
-
562
- return;
563
- }
564
-
565
- if ('initial' === preview) {
566
- header.headerActions.empty();
567
- header.headerLogo.show(new self.ModalHeaderLogo());
568
- return;
569
- }
570
-
571
- this.getRegion('modalContent').show(new self.ModalPreviewView({
572
- 'preview': preview.get('preview'),
573
- 'url': preview.get('url'),
574
- 'notice': preview.get('notice')
575
- }));
576
-
577
- header.headerLogo.empty();
578
- header.headerTabs.show(new self.ModalHeaderBack());
579
- header.headerActions.show(new self.ModalHeaderInsertButton({
580
- model: preview
581
- }));
582
-
583
- },
584
-
585
- getHeaderView: function () {
586
- return this.getRegion('modalHeader').currentView;
587
- },
588
-
589
- getContentView: function () {
590
- return this.getRegion('modalContent').currentView;
591
- },
592
-
593
- showLoadingView: function () {
594
- this.modalContent.show(new self.ModalLoadingView());
595
- },
596
-
597
- showLicenseError: function () {
598
- this.modalContent.show(new self.ModalErrorView());
599
- },
600
-
601
- showTemplatesView: function (templatesCollection, categoriesCollection, keywords) {
602
-
603
- this.getRegion('modalContent').show(new self.ModalBodyView());
604
-
605
- var contentView = this.getContentView(),
606
- header = this.getHeaderView(),
607
- keywordsModel = new self.KeywordsModel({
608
- keywords: keywords
609
- });
610
-
611
- PremiumEditor.collections.tabs = new self.ModalTabsCollection(PremiumEditor.getTabs());
612
-
613
- header.headerTabs.show(new self.ModalTabsCollectionView({
614
- collection: PremiumEditor.collections.tabs
615
- }));
616
-
617
- contentView.contentTemplates.show(new self.ModalCollectionView({
618
- collection: templatesCollection
619
- }));
620
-
621
- contentView.contentFilters.show(new self.FiltersCollectionView({
622
- collection: categoriesCollection
623
- }));
624
-
625
- contentView.contentKeywords.show(new self.KeywordsView({
626
- model: keywordsModel
627
- }));
628
-
629
- }
630
-
631
- });
632
-
633
- self.ModalLoadingView = Marionette.ItemView.extend({
634
- id: 'premium-template-modal-loading',
635
- template: '#tmpl-premium-template-modal-loading'
636
- });
637
-
638
- self.ModalErrorView = Marionette.ItemView.extend({
639
- id: 'premium-template-modal-loading',
640
- template: '#tmpl-premium-template-modal-error'
641
- });
642
-
643
- },
644
-
645
- masonry: {
646
-
647
- self: {},
648
- elements: {},
649
-
650
- init: function (settings) {
651
-
652
- var self = this;
653
- self.settings = $.extend(self.getDefaultSettings(), settings);
654
- self.elements = self.getDefaultElements();
655
-
656
- self.run();
657
- },
658
-
659
- getSettings: function (key) {
660
- if (key) {
661
- return this.settings[key];
662
- } else {
663
- return this.settings;
664
- }
665
- },
666
-
667
- getDefaultSettings: function () {
668
- return {
669
- container: null,
670
- items: null,
671
- columnsCount: 3,
672
- verticalSpaceBetween: 30
673
- };
674
- },
675
-
676
- getDefaultElements: function () {
677
- return {
678
- $container: jQuery(this.getSettings('container')),
679
- $items: jQuery(this.getSettings('items'))
680
- };
681
- },
682
-
683
- run: function () {
684
- var heights = [],
685
- distanceFromTop = this.elements.$container.position().top,
686
- settings = this.getSettings(),
687
- columnsCount = settings.columnsCount;
688
-
689
- distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10);
690
-
691
- this.elements.$container.height('');
692
-
693
- this.elements.$items.each(function (index) {
694
- var row = Math.floor(index / columnsCount),
695
- indexAtRow = index % columnsCount,
696
- $item = jQuery(this),
697
- itemPosition = $item.position(),
698
- itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween;
699
-
700
- if (row) {
701
- var pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow];
702
- pullHeight -= parseInt($item.css('margin-top'), 10);
703
- pullHeight *= -1;
704
- $item.css('margin-top', pullHeight + 'px');
705
- heights[indexAtRow] += itemHeight;
706
- } else {
707
- heights.push(itemHeight);
708
- }
709
- });
710
-
711
- this.elements.$container.height(Math.max.apply(Math, heights));
712
- }
713
- }
714
-
715
- };
716
-
717
- PremiumControlsViews = {
718
-
719
- PremiumSearchView: null,
720
-
721
- init: function () {
722
-
723
- var self = this;
724
-
725
- self.PremiumSearchView = window.elementor.modules.controls.BaseData.extend({
726
-
727
- onReady: function () {
728
-
729
- var action = this.model.attributes.action,
730
- queryParams = this.model.attributes.query_params;
731
-
732
- this.ui.select.find('option').each(function (index, el) {
733
- $(this).attr('selected', true);
734
- });
735
-
736
- this.ui.select.select2({
737
- ajax: {
738
- url: function () {
739
-
740
- var query = '';
741
-
742
- if (queryParams.length > 0) {
743
- $.each(queryParams, function (index, param) {
744
-
745
- if (window.elementor.settings.page.model.attributes[param]) {
746
- query += '&' + param + '=' + window.elementor.settings.page.model.attributes[param];
747
- }
748
- });
749
- }
750
-
751
- return ajaxurl + '?action=' + action + query;
752
- },
753
- dataType: 'json'
754
- },
755
- placeholder: 'Please enter 3 or more characters',
756
- minimumInputLength: 3
757
- });
758
-
759
- },
760
-
761
- onBeforeDestroy: function () {
762
-
763
- if (this.ui.select.data('select2')) {
764
- this.ui.select.select2('destroy');
765
- }
766
-
767
- this.$el.remove();
768
- }
769
-
770
- });
771
-
772
- window.elementor.addControlView('premium_search', self.PremiumSearchView);
773
-
774
- }
775
-
776
- };
777
-
778
-
779
- PremiumModules = {
780
-
781
- getDataToSave: function (data) {
782
- data.id = window.elementor.config.post_id;
783
- return data;
784
- },
785
-
786
- init: function () {
787
- if (window.elementor.settings.premium_template) {
788
- window.elementor.settings.premium_template.getDataToSave = this.getDataToSave;
789
- }
790
-
791
- if (window.elementor.settings.premium_page) {
792
- window.elementor.settings.premium_page.getDataToSave = this.getDataToSave;
793
- window.elementor.settings.premium_page.changeCallbacks = {
794
- custom_header: function () {
795
- this.save(function () {
796
- elementor.reloadPreview();
797
-
798
- elementor.once('preview:loaded', function () {
799
- elementor.getPanelView().setPage('premium_page_settings');
800
- });
801
- });
802
- },
803
- custom_footer: function () {
804
- this.save(function () {
805
- elementor.reloadPreview();
806
-
807
- elementor.once('preview:loaded', function () {
808
- elementor.getPanelView().setPage('premium_page_settings');
809
- });
810
- });
811
- }
812
- };
813
- }
814
-
815
- }
816
-
817
- };
818
-
819
- PremiumEditor = {
820
-
821
- modal: false,
822
- layout: false,
823
- collections: {},
824
- tabs: {},
825
- defaultTab: '',
826
- channels: {},
827
- atIndex: null,
828
-
829
- init: function () {
830
-
831
- window.elementor.on(
832
- 'preview:loaded',
833
- window._.bind(PremiumEditor.onPreviewLoaded, PremiumEditor)
834
- );
835
-
836
- PremiumEditorViews.init();
837
- PremiumControlsViews.init();
838
- PremiumModules.init();
839
-
840
- },
841
-
842
- onPreviewLoaded: function () {
843
-
844
- this.initPremTempsButton();
845
-
846
- window.elementor.$previewContents.on(
847
- 'click.addPremiumTemplate',
848
- '.pa-add-section-btn',
849
- _.bind(this.showTemplatesModal, this)
850
- );
851
-
852
- this.channels = {
853
- templates: Backbone.Radio.channel('PREMIUM_EDITOR:templates'),
854
- tabs: Backbone.Radio.channel('PREMIUM_EDITOR:tabs'),
855
- layout: Backbone.Radio.channel('PREMIUM_EDITOR:layout'),
856
- };
857
-
858
- this.tabs = PremiumTempsData.tabs;
859
- this.defaultTab = PremiumTempsData.defaultTab;
860
-
861
- },
862
-
863
- initPremTempsButton: function () {
864
-
865
- setTimeout(function () {
866
- var $addNewSection = window.elementor.$previewContents.find('.elementor-add-new-section'),
867
- addPremiumTemplate = "<div class='elementor-add-section-area-button pa-add-section-btn' title='Add Premium Template'><i class='fas fa-star'></i></div>",
868
- $addPremiumTemplate;
869
-
870
- if ($addNewSection.length && PremiumTempsData.PremiumTemplatesBtn) {
871
-
872
- $addPremiumTemplate = $(addPremiumTemplate).prependTo($addNewSection);
873
- }
874
-
875
-
876
- window.elementor.$previewContents.on(
877
- 'click.addPremiumTemplate',
878
- '.elementor-editor-section-settings .elementor-editor-element-add',
879
- function () {
880
-
881
- var $this = $(this),
882
- $section = $this.closest('.elementor-top-section'),
883
- modelID = $section.data('model-cid');
884
-
885
- if (window.elementor.sections.currentView.collection.length) {
886
- $.each(window.elementor.sections.currentView.collection.models, function (index, model) {
887
- if (modelID === model.cid) {
888
- PremiumEditor.atIndex = index;
889
- }
890
- });
891
- }
892
-
893
- if (PremiumTempsData.PremiumTemplatesBtn) {
894
- setTimeout(function () {
895
- var $addNew = $section.prev('.elementor-add-section').find('.elementor-add-new-section');
896
- $addNew.prepend(addPremiumTemplate);
897
- }, 100);
898
- }
899
-
900
- }
901
- );
902
- }, 100);
903
- },
904
-
905
- getFilter: function (name) {
906
-
907
- return this.channels.templates.request('filter:' + name);
908
- },
909
-
910
- setFilter: function (name, value) {
911
- this.channels.templates.reply('filter:' + name, value);
912
- this.channels.templates.trigger('filter:change');
913
- },
914
-
915
- getTab: function () {
916
- return this.channels.tabs.request('filter:tabs');
917
- },
918
-
919
- setTab: function (value, silent) {
920
-
921
- this.channels.tabs.reply('filter:tabs', value);
922
-
923
- if (!silent) {
924
- this.channels.tabs.trigger('filter:change');
925
- }
926
-
927
- },
928
-
929
- getTabs: function () {
930
-
931
- var tabs = [];
932
-
933
- _.each(this.tabs, function (item, slug) {
934
- tabs.push({
935
- slug: slug,
936
- title: item.title
937
- });
938
- });
939
-
940
- return tabs;
941
- },
942
-
943
- getPreview: function (name) {
944
- return this.channels.layout.request('preview');
945
- },
946
-
947
- setPreview: function (value, silent) {
948
-
949
- this.channels.layout.reply('preview', value);
950
-
951
- if (!silent) {
952
- this.channels.layout.trigger('preview:change');
953
- }
954
- },
955
-
956
- getKeywords: function () {
957
-
958
- var keywords = [];
959
-
960
- _.each(this.keywords, function (title, slug) {
961
- tabs.push({
962
- slug: slug,
963
- title: title
964
- });
965
- });
966
-
967
- return keywords;
968
- },
969
-
970
- showTemplatesModal: function () {
971
-
972
- this.getModal().show();
973
-
974
- if (!this.layout) {
975
- this.layout = new PremiumEditorViews.ModalLayoutView();
976
- this.layout.showLoadingView();
977
- }
978
-
979
- this.setTab(this.defaultTab, true);
980
- this.requestTemplates(this.defaultTab);
981
- this.setPreview('initial');
982
-
983
- },
984
-
985
- requestTemplates: function (tabName) {
986
-
987
- var self = this,
988
- tab = self.tabs[tabName];
989
-
990
- self.setFilter('category', false);
991
-
992
- if (tab.data.templates && tab.data.categories) {
993
- self.layout.showTemplatesView(tab.data.templates, tab.data.categories, tab.data.keywords);
994
- } else {
995
- $.ajax({
996
- url: ajaxurl,
997
- type: 'get',
998
- dataType: 'json',
999
- data: {
1000
- action: 'premium_get_templates',
1001
- tab: tabName
1002
- },
1003
- success: function (response) {
1004
- console.log("%cTemplates Retrieved Successfully!!", "color: #7a7a7a; background-color: #eee;");
1005
-
1006
- var templates = new PremiumEditorViews.LibraryCollection(response.data.templates),
1007
- categories = new PremiumEditorViews.CategoriesCollection(response.data.categories);
1008
-
1009
- self.tabs[tabName].data = {
1010
- templates: templates,
1011
- categories: categories,
1012
- keywords: response.data.keywords
1013
- };
1014
-
1015
- self.layout.showTemplatesView(templates, categories, response.data.keywords);
1016
-
1017
- }
1018
- });
1019
- }
1020
-
1021
- },
1022
-
1023
- closeModal: function () {
1024
- this.getModal().hide();
1025
- },
1026
-
1027
- getModal: function () {
1028
-
1029
- if (!this.modal) {
1030
- this.modal = elementor.dialogsManager.createWidget('lightbox', {
1031
- id: 'premium-template-modal',
1032
- className: 'elementor-templates-modal',
1033
- closeButton: false
1034
- });
1035
- }
1036
-
1037
- return this.modal;
1038
-
1039
- }
1040
-
1041
- };
1042
-
1043
- $(window).on('elementor:init', PremiumEditor.init);
1044
-
1045
  })(jQuery);
1
+ (function ($) {
2
+
3
+ 'use strict';
4
+
5
+ var PremiumTempsData = window.PremiumTempsData || {},
6
+ PremiumEditor,
7
+ PremiumEditorViews,
8
+ PremiumControlsViews,
9
+ PremiumModules;
10
+
11
+ PremiumEditorViews = {
12
+
13
+ ModalLayoutView: null,
14
+ ModalHeaderView: null,
15
+ ModalHeaderInsertButton: null,
16
+ ModalLoadingView: null,
17
+ ModalBodyView: null,
18
+ ModalErrorView: null,
19
+ LibraryCollection: null,
20
+ KeywordsModel: null,
21
+ ModalCollectionView: null,
22
+ ModalTabsCollection: null,
23
+ ModalTabsCollectionView: null,
24
+ FiltersCollectionView: null,
25
+ FiltersItemView: null,
26
+ ModalTabsItemView: null,
27
+ ModalTemplateItemView: null,
28
+ ModalInsertTemplateBehavior: null,
29
+ ModalTemplateModel: null,
30
+ CategoriesCollection: null,
31
+ ModalPreviewView: null,
32
+ ModalHeaderBack: null,
33
+ ModalHeaderLogo: null,
34
+ KeywordsView: null,
35
+ TabModel: null,
36
+ CategoryModel: null,
37
+
38
+ init: function () {
39
+ var self = this;
40
+
41
+ self.ModalTemplateModel = Backbone.Model.extend({
42
+ defaults: {
43
+ template_id: 0,
44
+ name: '',
45
+ title: '',
46
+ thumbnail: '',
47
+ preview: '',
48
+ source: '',
49
+ categories: [],
50
+ keywords: []
51
+ }
52
+ });
53
+
54
+ self.ModalHeaderView = Marionette.LayoutView.extend({
55
+
56
+ id: 'premium-template-modal-header',
57
+ template: '#tmpl-premium-template-modal-header',
58
+
59
+ ui: {
60
+ closeModal: '#premium-template-modal-header-close-modal'
61
+ },
62
+
63
+ events: {
64
+ 'click @ui.closeModal': 'onCloseModalClick'
65
+ },
66
+
67
+ regions: {
68
+ headerLogo: '#premium-template-modal-header-logo-area',
69
+ headerTabs: '#premium-template-modal-header-tabs',
70
+ headerActions: '#premium-template-modal-header-actions'
71
+ },
72
+
73
+ onCloseModalClick: function () {
74
+ PremiumEditor.closeModal();
75
+ }
76
+
77
+ });
78
+
79
+ self.TabModel = Backbone.Model.extend({
80
+ defaults: {
81
+ slug: '',
82
+ title: ''
83
+ }
84
+ });
85
+
86
+ self.LibraryCollection = Backbone.Collection.extend({
87
+ model: self.ModalTemplateModel
88
+ });
89
+
90
+ self.ModalTabsCollection = Backbone.Collection.extend({
91
+ model: self.TabModel
92
+ });
93
+
94
+ self.CategoryModel = Backbone.Model.extend({
95
+ defaults: {
96
+ slug: '',
97
+ title: ''
98
+ }
99
+ });
100
+
101
+ self.KeywordsModel = Backbone.Model.extend({
102
+ defaults: {
103
+ keywords: {}
104
+ }
105
+ });
106
+
107
+ self.CategoriesCollection = Backbone.Collection.extend({
108
+ model: self.CategoryModel
109
+ });
110
+
111
+ self.KeywordsView = Marionette.ItemView.extend({
112
+ id: 'elementor-template-library-filter',
113
+ template: '#tmpl-premium-template-modal-keywords',
114
+ ui: {
115
+ keywords: '.premium-library-keywords'
116
+ },
117
+
118
+ events: {
119
+ 'change @ui.keywords': 'onSelectKeyword'
120
+ },
121
+
122
+ onSelectKeyword: function (event) {
123
+ var selected = event.currentTarget.selectedOptions[0].value;
124
+ PremiumEditor.setFilter('keyword', selected);
125
+ },
126
+
127
+ onRender: function () {
128
+ var $filters = this.$('.premium-library-keywords');
129
+ $filters.select2({
130
+ placeholder: 'Choose Widget',
131
+ allowClear: true,
132
+ width: 250
133
+ });
134
+ }
135
+ });
136
+
137
+ self.ModalPreviewView = Marionette.ItemView.extend({
138
+
139
+ template: '#tmpl-premium-template-modal-preview',
140
+
141
+ id: 'premium-templatate-item-preview-wrap',
142
+
143
+ ui: {
144
+ iframe: 'iframe',
145
+ notice: '.premium-template-item-notice'
146
+ },
147
+
148
+
149
+ onRender: function () {
150
+
151
+ if (null !== this.getOption('notice')) {
152
+ if (this.getOption('notice').length) {
153
+ var message = "";
154
+ if (-1 !== this.getOption('notice').indexOf("facebook")) {
155
+ message += "<p>Please login with your Facebook account in order to get your Facebook Reviews.</p>";
156
+ } else if (-1 !== this.getOption('notice').indexOf("google")) {
157
+ message += "<p>You need to add your Google API key from Dashboard -> Premium Add-ons for Elementor -> Google Maps</p>";
158
+ } else if (-1 !== this.getOption('notice').indexOf("form")) {
159
+ message += "<p>You need to have <a href='https://wordpress.org/plugins/contact-form-7/' target='_blank'>Contact Form 7 plugin</a> installed and active.</p>";
160
+ }
161
+
162
+ this.ui.notice.html('<div><p><strong>Important!</strong></p>' + message + '</div>');
163
+ }
164
+ }
165
+
166
+ this.ui.iframe.attr('src', this.getOption('url'));
167
+
168
+ }
169
+ });
170
+
171
+ self.ModalHeaderBack = Marionette.ItemView.extend({
172
+
173
+ template: '#tmpl-premium-template-modal-header-back',
174
+
175
+ id: 'premium-template-modal-header-back',
176
+
177
+ ui: {
178
+ button: 'button'
179
+ },
180
+
181
+ events: {
182
+ 'click @ui.button': 'onBackClick',
183
+ },
184
+
185
+ onBackClick: function () {
186
+ PremiumEditor.setPreview('back');
187
+ }
188
+
189
+ });
190
+
191
+ self.ModalHeaderLogo = Marionette.ItemView.extend({
192
+
193
+ template: '#tmpl-premium-template-modal-header-logo',
194
+
195
+ id: 'premium-template-modal-header-logo'
196
+
197
+ });
198
+
199
+ self.ModalBodyView = Marionette.LayoutView.extend({
200
+
201
+ id: 'premium-template-library-content',
202
+
203
+ className: function () {
204
+ return 'library-tab-' + PremiumEditor.getTab();
205
+ },
206
+
207
+ template: '#tmpl-premium-template-modal-content',
208
+
209
+ regions: {
210
+ contentTemplates: '.premium-templates-list',
211
+ contentFilters: '.premium-filters-list',
212
+ contentKeywords: '.premium-keywords-list'
213
+ }
214
+
215
+ });
216
+
217
+ self.ModalInsertTemplateBehavior = Marionette.Behavior.extend({
218
+ ui: {
219
+ insertButton: '.premium-template-insert'
220
+ },
221
+
222
+ events: {
223
+ 'click @ui.insertButton': 'onInsertButtonClick'
224
+ },
225
+
226
+ onInsertButtonClick: function () {
227
+
228
+ var templateModel = this.view.model,
229
+ innerTemplates = templateModel.attributes.dependencies,
230
+ isPro = templateModel.attributes.pro,
231
+ innerTemplatesLength = Object.keys(innerTemplates).length,
232
+ options = {};
233
+
234
+ PremiumEditor.layout.showLoadingView();
235
+ if (innerTemplatesLength > 0) {
236
+ for (var key in innerTemplates) {
237
+ $.ajax({
238
+ url: ajaxurl,
239
+ type: 'post',
240
+ dataType: 'json',
241
+ data: {
242
+ action: 'premium_inner_template',
243
+ template: innerTemplates[key],
244
+ tab: PremiumEditor.getTab()
245
+ }
246
+ });
247
+ }
248
+ }
249
+
250
+ if ("valid" === PremiumTempsData.license.status || !isPro) {
251
+
252
+ elementor.templates.requestTemplateContent(
253
+ templateModel.get('source'),
254
+ templateModel.get('template_id'),
255
+ {
256
+ data: {
257
+ tab: PremiumEditor.getTab(),
258
+ page_settings: false
259
+ },
260
+ success: function (data) {
261
+
262
+ if (!data.license) {
263
+ PremiumEditor.layout.showLicenseError();
264
+ return;
265
+ }
266
+
267
+ console.log("%c Template Inserted Successfully!!", "color: #7a7a7a; background-color: #eee;");
268
+
269
+ PremiumEditor.closeModal();
270
+
271
+ elementor.channels.data.trigger('template:before:insert', templateModel);
272
+
273
+ if (null !== PremiumEditor.atIndex) {
274
+ options.at = PremiumEditor.atIndex;
275
+ }
276
+
277
+ elementor.sections.currentView.addChildModel(data.content, options);
278
+
279
+ elementor.channels.data.trigger('template:after:insert', templateModel);
280
+
281
+ PremiumEditor.atIndex = null;
282
+
283
+ },
284
+ error: function (err) {
285
+ console.log(err);
286
+ }
287
+ }
288
+ );
289
+ } else {
290
+ PremiumEditor.layout.showLicenseError();
291
+ }
292
+ }
293
+ });
294
+
295
+ self.ModalHeaderInsertButton = Marionette.ItemView.extend({
296
+
297
+ template: '#tmpl-premium-template-modal-insert-button',
298
+
299
+ id: 'premium-template-modal-insert-button',
300
+
301
+ behaviors: {
302
+ insertTemplate: {
303
+ behaviorClass: self.ModalInsertTemplateBehavior
304
+ }
305
+ }
306
+
307
+ });
308
+
309
+ self.FiltersItemView = Marionette.ItemView.extend({
310
+
311
+ template: '#tmpl-premium-template-modal-filters-item',
312
+
313
+ className: function () {
314
+ return 'premium-template-filter-item';
315
+ },
316
+
317
+ ui: function () {
318
+ return {
319
+ filterLabels: '.premium-template-filter-label'
320
+ };
321
+ },
322
+
323
+ events: function () {
324
+ return {
325
+ 'click @ui.filterLabels': 'onFilterClick'
326
+ };
327
+ },
328
+
329
+ onFilterClick: function (event) {
330
+
331
+ var $clickedInput = jQuery(event.target);
332
+ jQuery('.premium-library-keywords').val('');
333
+ PremiumEditor.setFilter('category', $clickedInput.val());
334
+ PremiumEditor.setFilter('keyword', '');
335
+ }
336
+
337
+ });
338
+
339
+ self.ModalTabsItemView = Marionette.ItemView.extend({
340
+
341
+ template: '#tmpl-premium-template-modal-tabs-item',
342
+
343
+ className: function () {
344
+ return 'elementor-template-library-menu-item';
345
+ },
346
+
347
+ ui: function () {
348
+ return {
349
+ tabsLabels: 'label',
350
+ tabsInput: 'input'
351
+ };
352
+ },
353
+
354
+ events: function () {
355
+ return {
356
+ 'click @ui.tabsLabels': 'onTabClick'
357
+ };
358
+ },
359
+
360
+ onRender: function () {
361
+ if (this.model.get('slug') === PremiumEditor.getTab()) {
362
+ this.ui.tabsInput.attr('checked', 'checked');
363
+ }
364
+ },
365
+
366
+ onTabClick: function (event) {
367
+
368
+ var $clickedInput = jQuery(event.target);
369
+ PremiumEditor.setTab($clickedInput.val());
370
+ PremiumEditor.setFilter('keyword', '');
371
+ }
372
+
373
+ });
374
+
375
+ self.FiltersCollectionView = Marionette.CompositeView.extend({
376
+
377
+ id: 'premium-template-library-filters',
378
+
379
+ template: '#tmpl-premium-template-modal-filters',
380
+
381
+ childViewContainer: '#premium-modal-filters-container',
382
+
383
+ getChildView: function (childModel) {
384
+ return self.FiltersItemView;
385
+ }
386
+
387
+ });
388
+
389
+ self.ModalTabsCollectionView = Marionette.CompositeView.extend({
390
+
391
+ template: '#tmpl-premium-template-modal-tabs',
392
+
393
+ childViewContainer: '#premium-modal-tabs-items',
394
+
395
+ initialize: function () {
396
+ this.listenTo(PremiumEditor.channels.layout, 'tamplate:cloned', this._renderChildren);
397
+ },
398
+
399
+ getChildView: function (childModel) {
400
+ return self.ModalTabsItemView;
401
+ }
402
+
403
+ });
404
+
405
+ self.ModalTemplateItemView = Marionette.ItemView.extend({
406
+
407
+ template: '#tmpl-premium-template-modal-item',
408
+
409
+ className: function () {
410
+
411
+ var urlClass = ' premium-template-has-url',
412
+ sourceClass = ' elementor-template-library-template-',
413
+ proTemplate = '';
414
+
415
+ if ('' === this.model.get('preview')) {
416
+ urlClass = ' premium-template-no-url';
417
+ }
418
+
419
+ sourceClass += 'remote';
420
+
421
+ if (this.model.get('pro')) {
422
+ proTemplate = ' premium-template-pro';
423
+ }
424
+
425
+ return 'elementor-template-library-template' + sourceClass + urlClass + proTemplate;
426
+ },
427
+
428
+ ui: function () {
429
+ return {
430
+ previewButton: '.elementor-template-library-template-preview',
431
+ };
432
+ },
433
+
434
+ events: function () {
435
+ return {
436
+ 'click @ui.previewButton': 'onPreviewButtonClick',
437
+ };
438
+ },
439
+
440
+ onPreviewButtonClick: function () {
441
+
442
+ if ('' === this.model.get('url')) {
443
+ return;
444
+ }
445
+
446
+ PremiumEditor.setPreview(this.model);
447
+ },
448
+
449
+ behaviors: {
450
+ insertTemplate: {
451
+ behaviorClass: self.ModalInsertTemplateBehavior
452
+ }
453
+ }
454
+ });
455
+
456
+ self.ModalCollectionView = Marionette.CompositeView.extend({
457
+
458
+ template: '#tmpl-premium-template-modal-templates',
459
+
460
+ id: 'premium-template-library-templates',
461
+
462
+ childViewContainer: '#premium-modal-templates-container',
463
+
464
+ initialize: function () {
465
+
466
+ this.listenTo(PremiumEditor.channels.templates, 'filter:change', this._renderChildren);
467
+ },
468
+
469
+ filter: function (childModel) {
470
+
471
+ var filter = PremiumEditor.getFilter('category'),
472
+ keyword = PremiumEditor.getFilter('keyword');
473
+
474
+ if (!filter && !keyword) {
475
+ return true;
476
+ }
477
+
478
+ if (keyword && !filter) {
479
+ return _.contains(childModel.get('keywords'), keyword);
480
+ }
481
+
482
+ if (filter && !keyword) {
483
+ return _.contains(childModel.get('categories'), filter);
484
+ }
485
+
486
+ return _.contains(childModel.get('categories'), filter) && _.contains(childModel.get('keywords'), keyword);
487
+
488
+ },
489
+
490
+ getChildView: function (childModel) {
491
+ return self.ModalTemplateItemView;
492
+ },
493
+
494
+ onRenderCollection: function () {
495
+
496
+ var container = this.$childViewContainer,
497
+ items = this.$childViewContainer.children(),
498
+ tab = PremiumEditor.getTab();
499
+
500
+ if ('premium_page' === tab || 'local' === tab) {
501
+ return;
502
+ }
503
+
504
+ // Wait for thumbnails to be loaded
505
+ container.imagesLoaded(function () { }).done(function () {
506
+ self.masonry.init({
507
+ container: container,
508
+ items: items
509
+ });
510
+ });
511
+ }
512
+
513
+ });
514
+
515
+ self.ModalLayoutView = Marionette.LayoutView.extend({
516
+
517
+ el: '#premium-template-modal',
518
+
519
+ regions: PremiumTempsData.modalRegions,
520
+
521
+ initialize: function () {
522
+
523
+ this.getRegion('modalHeader').show(new self.ModalHeaderView());
524
+ this.listenTo(PremiumEditor.channels.tabs, 'filter:change', this.switchTabs);
525
+ this.listenTo(PremiumEditor.channels.layout, 'preview:change', this.switchPreview);
526
+
527
+ },
528
+
529
+ switchTabs: function () {
530
+ this.showLoadingView();
531
+ PremiumEditor.setFilter('keyword', '');
532
+ PremiumEditor.requestTemplates(PremiumEditor.getTab());
533
+ },
534
+
535
+ switchPreview: function () {
536
+
537
+ var header = this.getHeaderView(),
538
+ preview = PremiumEditor.getPreview();
539
+
540
+ var filter = PremiumEditor.getFilter('category'),
541
+ keyword = PremiumEditor.getFilter('keyword');
542
+
543
+ if ('back' === preview) {
544
+ header.headerLogo.show(new self.ModalHeaderLogo());
545
+ header.headerTabs.show(new self.ModalTabsCollectionView({
546
+ collection: PremiumEditor.collections.tabs
547
+ }));
548
+
549
+ header.headerActions.empty();
550
+ PremiumEditor.setTab(PremiumEditor.getTab());
551
+
552
+ if ('' != filter) {
553
+ PremiumEditor.setFilter('category', filter);
554
+ jQuery('#premium-modal-filters-container').find("input[value='" + filter + "']").prop('checked', true);
555
+
556
+ }
557
+
558
+ if ('' != keyword) {
559
+ PremiumEditor.setFilter('keyword', keyword);
560
+ }
561
+
562
+ return;
563
+ }
564
+
565
+ if ('initial' === preview) {
566
+ header.headerActions.empty();
567
+ header.headerLogo.show(new self.ModalHeaderLogo());
568
+ return;
569
+ }
570
+
571
+ this.getRegion('modalContent').show(new self.ModalPreviewView({
572
+ 'preview': preview.get('preview'),
573
+ 'url': preview.get('url'),
574
+ 'notice': preview.get('notice')
575
+ }));
576
+
577
+ header.headerLogo.empty();
578
+ header.headerTabs.show(new self.ModalHeaderBack());
579
+ header.headerActions.show(new self.ModalHeaderInsertButton({
580
+ model: preview
581
+ }));
582
+
583
+ },
584
+
585
+ getHeaderView: function () {
586
+ return this.getRegion('modalHeader').currentView;
587
+ },
588
+
589
+ getContentView: function () {
590
+ return this.getRegion('modalContent').currentView;
591
+ },
592
+
593
+ showLoadingView: function () {
594
+ this.modalContent.show(new self.ModalLoadingView());
595
+ },
596
+
597
+ showLicenseError: function () {
598
+ this.modalContent.show(new self.ModalErrorView());
599
+ },
600
+
601
+ showTemplatesView: function (templatesCollection, categoriesCollection, keywords) {
602
+
603
+ this.getRegion('modalContent').show(new self.ModalBodyView());
604
+
605
+ var contentView = this.getContentView(),
606
+ header = this.getHeaderView(),
607
+ keywordsModel = new self.KeywordsModel({
608
+ keywords: keywords
609
+ });
610
+
611
+ PremiumEditor.collections.tabs = new self.ModalTabsCollection(PremiumEditor.getTabs());
612
+
613
+ header.headerTabs.show(new self.ModalTabsCollectionView({
614
+ collection: PremiumEditor.collections.tabs
615
+ }));
616
+
617
+ contentView.contentTemplates.show(new self.ModalCollectionView({
618
+ collection: templatesCollection
619
+ }));
620
+
621
+ contentView.contentFilters.show(new self.FiltersCollectionView({
622
+ collection: categoriesCollection
623
+ }));
624
+
625
+ contentView.contentKeywords.show(new self.KeywordsView({
626
+ model: keywordsModel
627
+ }));
628
+
629
+ }
630
+
631
+ });
632
+
633
+ self.ModalLoadingView = Marionette.ItemView.extend({
634
+ id: 'premium-template-modal-loading',
635
+ template: '#tmpl-premium-template-modal-loading'
636
+ });
637
+
638
+ self.ModalErrorView = Marionette.ItemView.extend({
639
+ id: 'premium-template-modal-loading',
640
+ template: '#tmpl-premium-template-modal-error'
641
+ });
642
+
643
+ },
644
+
645
+ masonry: {
646
+
647
+ self: {},
648
+ elements: {},
649
+
650
+ init: function (settings) {
651
+
652
+ var self = this;
653
+ self.settings = $.extend(self.getDefaultSettings(), settings);
654
+ self.elements = self.getDefaultElements();
655
+
656
+ self.run();
657
+ },
658
+
659
+ getSettings: function (key) {
660
+ if (key) {
661
+ return this.settings[key];
662
+ } else {
663
+ return this.settings;
664
+ }
665
+ },
666
+
667
+ getDefaultSettings: function () {
668
+ return {
669
+ container: null,
670
+ items: null,
671
+ columnsCount: 3,
672
+ verticalSpaceBetween: 30
673
+ };
674
+ },
675
+
676
+ getDefaultElements: function () {
677
+ return {
678
+ $container: jQuery(this.getSettings('container')),
679
+ $items: jQuery(this.getSettings('items'))
680
+ };
681
+ },
682
+
683
+ run: function () {
684
+ var heights = [],
685
+ distanceFromTop = this.elements.$container.position().top,
686
+ settings = this.getSettings(),
687
+ columnsCount = settings.columnsCount;
688
+
689
+ distanceFromTop += parseInt(this.elements.$container.css('margin-top'), 10);
690
+
691
+ this.elements.$container.height('');
692
+
693
+ this.elements.$items.each(function (index) {
694
+ var row = Math.floor(index / columnsCount),
695
+ indexAtRow = index % columnsCount,
696
+ $item = jQuery(this),
697
+ itemPosition = $item.position(),
698
+ itemHeight = $item[0].getBoundingClientRect().height + settings.verticalSpaceBetween;
699
+
700
+ if (row) {
701
+ var pullHeight = itemPosition.top - distanceFromTop - heights[indexAtRow];
702
+ pullHeight -= parseInt($item.css('margin-top'), 10);
703
+ pullHeight *= -1;
704
+ $item.css('margin-top', pullHeight + 'px');
705
+ heights[indexAtRow] += itemHeight;
706
+ } else {
707
+ heights.push(itemHeight);
708
+ }
709
+ });
710
+
711
+ this.elements.$container.height(Math.max.apply(Math, heights));
712
+ }
713
+ }
714
+
715
+ };
716
+
717
+ PremiumControlsViews = {
718
+
719
+ PremiumSearchView: null,
720
+
721
+ init: function () {
722
+
723
+ var self = this;
724
+
725
+ self.PremiumSearchView = window.elementor.modules.controls.BaseData.extend({
726
+
727
+ onReady: function () {
728
+
729
+ var action = this.model.attributes.action,
730
+ queryParams = this.model.attributes.query_params;
731
+
732
+ this.ui.select.find('option').each(function (index, el) {
733
+ $(this).attr('selected', true);
734
+ });
735
+
736
+ this.ui.select.select2({
737
+ ajax: {
738
+ url: function () {
739
+
740
+ var query = '';
741
+
742
+ if (queryParams.length > 0) {
743
+ $.each(queryParams, function (index, param) {
744
+
745
+ if (window.elementor.settings.page.model.attributes[param]) {
746
+ query += '&' + param + '=' + window.elementor.settings.page.model.attributes[param];
747
+ }
748
+ });
749
+ }
750
+
751
+ return ajaxurl + '?action=' + action + query;
752
+ },
753
+ dataType: 'json'
754
+ },
755
+ placeholder: 'Please enter 3 or more characters',
756
+ minimumInputLength: 3
757
+ });
758
+
759
+ },
760
+
761
+ onBeforeDestroy: function () {
762
+
763
+ if (this.ui.select.data('select2')) {
764
+ this.ui.select.select2('destroy');
765
+ }
766
+
767
+ this.$el.remove();
768
+ }
769
+
770
+ });
771
+
772
+ window.elementor.addControlView('premium_search', self.PremiumSearchView);
773
+
774
+ }
775
+
776
+ };
777
+
778
+
779
+ PremiumModules = {
780
+
781
+ getDataToSave: function (data) {
782
+ data.id = window.elementor.config.post_id;
783
+ return data;
784
+ },
785
+
786
+ init: function () {
787
+ if (window.elementor.settings.premium_template) {
788
+ window.elementor.settings.premium_template.getDataToSave = this.getDataToSave;
789
+ }
790
+
791
+ if (window.elementor.settings.premium_page) {
792
+ window.elementor.settings.premium_page.getDataToSave = this.getDataToSave;
793
+ window.elementor.settings.premium_page.changeCallbacks = {
794
+ custom_header: function () {
795
+ this.save(function () {
796
+ elementor.reloadPreview();
797
+
798
+ elementor.once('preview:loaded', function () {
799
+ elementor.getPanelView().setPage('premium_page_settings');
800
+ });
801
+ });
802
+ },
803
+ custom_footer: function () {
804
+ this.save(function () {
805
+ elementor.reloadPreview();
806
+
807
+ elementor.once('preview:loaded', function () {
808
+ elementor.getPanelView().setPage('premium_page_settings');
809
+ });
810
+ });
811
+ }
812
+ };
813
+ }
814
+
815
+ }
816
+
817
+ };
818
+
819
+ PremiumEditor = {
820
+
821
+ modal: false,
822
+ layout: false,
823
+ collections: {},
824
+ tabs: {},
825
+ defaultTab: '',
826
+ channels: {},
827
+ atIndex: null,
828
+
829
+ init: function () {
830
+
831
+ window.elementor.on(
832
+ 'preview:loaded',
833
+ window._.bind(PremiumEditor.onPreviewLoaded, PremiumEditor)
834
+ );
835
+
836
+ PremiumEditorViews.init();
837
+ PremiumControlsViews.init();
838
+ PremiumModules.init();
839
+
840
+ },
841
+
842
+ onPreviewLoaded: function () {
843
+
844
+ this.initPremTempsButton();
845
+
846
+ window.elementor.$previewContents.on(
847
+ 'click.addPremiumTemplate',
848
+ '.pa-add-section-btn',
849
+ _.bind(this.showTemplatesModal, this)
850
+ );
851
+
852
+ this.channels = {
853
+ templates: Backbone.Radio.channel('PREMIUM_EDITOR:templates'),
854
+ tabs: Backbone.Radio.channel('PREMIUM_EDITOR:tabs'),
855
+ layout: Backbone.Radio.channel('PREMIUM_EDITOR:layout'),
856
+ };
857
+
858
+ this.tabs = PremiumTempsData.tabs;
859
+ this.defaultTab = PremiumTempsData.defaultTab;
860
+
861
+ },
862
+
863
+ initPremTempsButton: function () {
864
+
865
+ setTimeout(function () {
866
+ var $addNewSection = window.elementor.$previewContents.find('.elementor-add-new-section'),
867
+ addPremiumTemplate = "<div class='elementor-add-section-area-button pa-add-section-btn' title='Add Premium Template'><i class='fas fa-star'></i></div>",
868
+ $addPremiumTemplate;
869
+
870
+ if ($addNewSection.length && PremiumTempsData.PremiumTemplatesBtn) {
871
+
872
+ $addPremiumTemplate = $(addPremiumTemplate).prependTo($addNewSection);
873
+ }
874
+
875
+
876
+ window.elementor.$previewContents.on(
877
+ 'click.addPremiumTemplate',
878
+ '.elementor-editor-section-settings .elementor-editor-element-add',
879
+ function () {
880
+
881
+ var $this = $(this),
882
+ $section = $this.closest('.elementor-top-section'),
883
+ modelID = $section.data('model-cid');
884
+
885
+ if (window.elementor.sections.currentView.collection.length) {
886
+ $.each(window.elementor.sections.currentView.collection.models, function (index, model) {
887
+ if (modelID === model.cid) {
888
+ PremiumEditor.atIndex = index;
889
+ }
890
+ });
891
+ }
892
+
893
+ if (PremiumTempsData.PremiumTemplatesBtn) {
894
+ setTimeout(function () {
895
+ var $addNew = $section.prev('.elementor-add-section').find('.elementor-add-new-section');
896
+ $addNew.prepend(addPremiumTemplate);
897
+ }, 100);
898
+ }
899
+
900
+ }
901
+ );
902
+ }, 100);
903
+ },
904
+
905
+ getFilter: function (name) {
906
+
907
+ return this.channels.templates.request('filter:' + name);
908
+ },
909
+
910
+ setFilter: function (name, value) {
911
+ this.channels.templates.reply('filter:' + name, value);
912
+ this.channels.templates.trigger('filter:change');
913
+ },
914
+
915
+ getTab: function () {
916
+ return this.channels.tabs.request('filter:tabs');
917
+ },
918
+
919
+ setTab: function (value, silent) {
920
+
921
+ this.channels.tabs.reply('filter:tabs', value);
922
+
923
+ if (!silent) {
924
+ this.channels.tabs.trigger('filter:change');
925
+ }
926
+
927
+ },
928
+
929
+ getTabs: function () {
930
+
931
+ var tabs = [];
932
+
933
+ _.each(this.tabs, function (item, slug) {
934
+ tabs.push({
935
+ slug: slug,
936
+ title: item.title
937
+ });
938
+ });
939
+
940
+ return tabs;
941
+ },
942
+
943
+ getPreview: function (name) {
944
+ return this.channels.layout.request('preview');
945
+ },
946
+
947
+ setPreview: function (value, silent) {
948
+
949
+ this.channels.layout.reply('preview', value);
950
+
951
+ if (!silent) {
952
+ this.channels.layout.trigger('preview:change');
953
+ }
954
+ },
955
+
956
+ getKeywords: function () {
957
+
958
+ var keywords = [];
959
+
960
+ _.each(this.keywords, function (title, slug) {
961
+ tabs.push({
962
+ slug: slug,
963
+ title: title
964
+ });
965
+ });
966
+
967
+ return keywords;
968
+ },
969
+
970
+ showTemplatesModal: function () {
971
+
972
+ this.getModal().show();
973
+
974
+ if (!this.layout) {
975
+ this.layout = new PremiumEditorViews.ModalLayoutView();
976
+ this.layout.showLoadingView();
977
+ }
978
+
979
+ this.setTab(this.defaultTab, true);
980
+ this.requestTemplates(this.defaultTab);
981
+ this.setPreview('initial');
982
+
983
+ },
984
+
985
+ requestTemplates: function (tabName) {
986
+
987
+ var self = this,
988
+ tab = self.tabs[tabName];
989
+
990
+ self.setFilter('category', false);
991
+
992
+ if (tab.data.templates && tab.data.categories) {
993
+ self.layout.showTemplatesView(tab.data.templates, tab.data.categories, tab.data.keywords);
994
+ } else {
995
+ $.ajax({
996
+ url: ajaxurl,
997
+ type: 'get',
998
+ dataType: 'json',
999
+ data: {
1000
+ action: 'premium_get_templates',
1001
+ tab: tabName
1002
+ },
1003
+ success: function (response) {
1004
+ console.log("%cTemplates Retrieved Successfully!!", "color: #7a7a7a; background-color: #eee;");
1005
+
1006
+ var templates = new PremiumEditorViews.LibraryCollection(response.data.templates),
1007
+ categories = new PremiumEditorViews.CategoriesCollection(response.data.categories);
1008
+
1009
+ self.tabs[tabName].data = {
1010
+ templates: templates,
1011
+ categories: categories,
1012
+ keywords: response.data.keywords
1013
+ };
1014
+
1015
+ self.layout.showTemplatesView(templates, categories, response.data.keywords);
1016
+
1017
+ }
1018
+ });
1019
+ }
1020
+
1021
+ },
1022
+
1023
+ closeModal: function () {
1024
+ this.getModal().hide();
1025
+ },
1026
+
1027
+ getModal: function () {
1028
+
1029
+ if (!this.modal) {
1030
+ this.modal = elementor.dialogsManager.createWidget('lightbox', {
1031
+ id: 'premium-template-modal',
1032
+ className: 'elementor-templates-modal',
1033
+ closeButton: false
1034
+ });
1035
+ }
1036
+
1037
+ return this.modal;
1038
+
1039
+ }
1040
+
1041
+ };
1042
+
1043
+ $(window).on('elementor:init', PremiumEditor.init);
1044
+
1045
  })(jQuery);
assets/frontend/css/premium-addons-rtl.css CHANGED
@@ -1,4503 +1,4800 @@
1
- @font-face {
2
- font-family: 'pa-elements';
3
- src: url('../../editor/fonts/pa-elements.eot?6nhz6k');
4
- src: url('../../editor/fonts/pa-elements.eot?6nhz6k#iefix') format('embedded-opentype'), url('../../editor/fonts/pa-elements.ttf?6nhz6k') format('truetype'), url('../../editor/fonts/pa-elements.woff?6nhz6k') format('woff'), url('../../editor/fonts/pa-elements.svg?6nhz6k#pa-elements') format('svg');
5
- font-weight: normal;
6
- font-style: normal;
7
- }
8
- /**************** Premium Banner ****************/
9
- /************************************************/
10
- .premium-banner {
11
- overflow: hidden;
12
- }
13
- .premium-banner-ib, .premium-banner-ib img {
14
- display: block;
15
- position: relative;
16
- }
17
- .premium-banner-img-wrap {
18
- display: -ms-flexbox;
19
- display: -webkit-flex;
20
- display: -moz-flex;
21
- display: -ms-flex;
22
- -js-display: flex;
23
- display: -webkit-box;
24
- display: -moz-box;
25
- display: flex;
26
- height: 100%;
27
- }
28
- .premium-banner-img-wrap .premium-banner-ib-img {
29
- -webkit-flex-shrink: 0;
30
- -ms-flex-negative: 0;
31
- flex-shrink: 0;
32
- }
33
- .premium-banner-ib {
34
- z-index: 1;
35
- overflow: hidden;
36
- margin: 0 0 35px;
37
- text-align: center;
38
- /* cursor: pointer;
39
- */
40
- -webkit-box-sizing: border-box;
41
- -moz-box-sizing: border-box;
42
- box-sizing: border-box;
43
- }
44
- .premium-banner-ib-desc .premium-banner-read-more {
45
- z-index: 100;
46
- }
47
- .premium-banner-ib, .wpb_column>.wpb_wrapper .premium-banner-ib {
48
- margin-bottom: 0px
49
- }
50
- .elementor-widget-premium-addon-banner .premium-banner-ib-title {
51
- background: transparent;
52
- }
53
- .premium-banner-ib *, .premium-banner-ib .premium-banner-ib-desc {
54
- -webkit-box-sizing: border-box;
55
- -moz-box-sizing: border-box;
56
- }
57
- .premium-banner-ib img {
58
- min-width: 100%;
59
- max-width: 100%;
60
- -webkit-transition: opacity .35s;
61
- transition: opacity .35s;
62
- }
63
- .premium-banner-ib .premium-banner-ib-desc {
64
- padding: 15px;
65
- -webkit-backface-visibility: hidden;
66
- backface-visibility: hidden;
67
- -webkit-box-sizing: border-box;
68
- -moz-box-sizing: border-box;
69
- box-sizing: border-box;
70
- }
71
- .premium-banner-ib .premium-banner-ib-desc, .premium-banner-ib .premium-banner-ib-link {
72
- position: absolute;
73
- top: 0;
74
- right: 0;
75
- width: 100%;
76
- height: 100%;
77
- }
78
- .premium-banner-ib .premium-banner-ib-link {
79
- z-index: 1000;
80
- text-indent: 200%;
81
- white-space: nowrap;
82
- font-size: 0;
83
- opacity: 0;
84
- }
85
- .premium-banner-ib a.premium-banner-ib-link {
86
- display: block;
87
- background: 100% 0;
88
- }
89
- .premium-banner-animation1 img {
90
- width: -webkit-calc(100% + 50px)!important;
91
- width: calc(100% + 50px)!important;
92
- max-width: -webkit-calc(100% + 50px)!important;
93
- max-width: calc(100% + 50px)!important;
94
- -webkit-transition: opacity .35s,filter 0.35s, -webkit-transform .35s;
95
- transition: opacity .35s, filter 0.35s, -webkit-transform .35s;
96
- -webkit-transition: opacity .35s, -webkit-filter 0.35s, -webkit-transform .35s;
97
- transition: opacity .35s, -webkit-filter 0.35s, -webkit-transform .35s;
98
- transition: opacity .35s, filter 0.35s, transform .35s;
99
- transition: opacity .35s, filter 0.35s, transform .35s, -webkit-filter 0.35s, -webkit-transform .35s;
100
- transition: opacity .35s, filter 0.35s, transform .35s, -webkit-transform .35s;
101
- -webkit-transform: translate3d(40px, 0, 0);
102
- transform: translate3d(40px, 0, 0);
103
- }
104
- .premium-banner-animation2 .premium-banner-ib-title {
105
- padding: 15px;
106
- }
107
- .premium-banner-animation1 .premium-banner-ib-desc {
108
- top: auto;
109
- bottom: 0;
110
- min-height: 25%;
111
- height: auto;
112
- max-height: 100%;
113
- text-align: right;
114
- }
115
- .premium-banner-animation1 .premium-banner-ib-content, .premium-banner-animation1 .premium-banner-ib-title, .premium-banner-animation1 .premium-banner-read-more {
116
- -webkit-transform: translate3d(0, 40px, 0);
117
- transform: translate3d(0, 40px, 0);
118
- -webkit-transition-delay: .05s;
119
- transition-delay: .05s;
120
- -webkit-transition-duration: .35s;
121
- transition-duration: .35s;
122
- }
123
- .premium-banner-animation1 .premium-banner-ib-title {
124
- -webkit-transition: -webkit-transform .35s;
125
- transition: -webkit-transform .35s;
126
- transition: transform .35s;
127
- transition: transform .35s, -webkit-transform .35s;
128
- }
129
- .premium-banner-animation1 .premium-banner-ib-content, .premium-banner-animation1 .premium-banner-read-more {
130
- margin-top: 10px;
131
- opacity: 0;
132
- -webkit-transition: opacity .2s, -webkit-transform .35s;
133
- transition: opacity .2s, -webkit-transform .35s;
134
- transition: opacity .2s, transform .35s;
135
- transition: opacity .2s, transform .35s, -webkit-transform .35s;
136
- }
137
- .premium-banner-animation1:hover .premium-banner-ib-content, .premium-banner-animation1.active .premium-banner-ib-content, .premium-banner-animation1:hover .premium-banner-read-more, .premium-banner-animation1.active .premium-banner-read-more {
138
- opacity: 1;
139
- -webkit-transition-delay: .05s;
140
- transition-delay: .05s;
141
- -webkit-transition-duration: .35s;
142
- transition-duration: .35s;
143
- }
144
- .premium-banner-animation1:hover .premium-banner-ib-content, .premium-banner-animation1.active .premium-banner-ib-content, .premium-banner-animation1:hover .premium-banner-read-more, .premium-banner-animation1.active .premium-banner-read-more, .premium-banner-animation1:hover .premium-banner-ib-title, .premium-banner-animation1.active .premium-banner-ib-title, .premium-banner-animation1:hover img, .premium-banner-animation1.active img {
145
- -webkit-transform: translate3d(0, 0, 0);
146
- transform: translate3d(0, 0, 0);
147
- -webkit-transition-delay: .05s;
148
- transition-delay: .05s;
149
- -webkit-transition-duration: .35s;
150
- transition-duration: .35s;
151
- }
152
- .premium-banner-animation1.zoomout img, .premium-banner-animation1.scale img {
153
- -webkit-transform: translate3d(40px, 0, 0) scale(1.1);
154
- transform: translate3d(40px, 0, 0) scale(1.1);
155
- }
156
- .premium-banner-ib.sepia img {
157
- -webkit-filter: sepia(30%);
158
- filter: sepia(30%);
159
- }
160
- .premium-banner-ib.bright img {
161
- -webkit-filter: brightness(1);
162
- filter: brightness(1);
163
- }
164
- .premium-banner-ib.sepia:hover img {
165
- -webkit-filter: sepia(0%);
166
- filter: sepia(0%);
167
- }
168
- .premium-banner-ib.bright:hover img {
169
- -webkit-filter: brightness(1.2);
170
- filter: brightness(1.2);
171
- }
172
- .premium-banner-animation1.premium-banner-min-height img, .premium-banner-animation2.premium-banner-min-height img, .premium-banner-animation4.premium-banner-min-height img, .premium-banner-animation5.premium-banner-min-height img, .premium-banner-animation6.premium-banner-min-height img, .premium-banner-animation13.premium-banner-min-height img {
173
- height: auto;
174
- }
175
- .premium-banner-animation2 img {
176
- width: 100%;
177
- }
178
- .premium-banner-animation2 .premium-banner-ib-desc::before {
179
- position: absolute;
180
- content: "";
181
- top: 0;
182
- right: 0;
183
- width: 100%;
184
- height: 100%;
185
- opacity: 0;
186
- -webkit-transform: translate3d(0, 50%, 0);
187
- transform: translate3d(0, 50%, 0);
188
- }
189
- .premium-banner-animation2 .premium-banner-ib-title {
190
- position: absolute;
191
- top: 50%;
192
- right: 0;
193
- width: 100%;
194
- -webkit-transition: -webkit-transform .35s, color .35s;
195
- -webkit-transition: color .35s, -webkit-transform .35s;
196
- transition: color .35s, -webkit-transform .35s;
197
- transition: transform .35s, color .35s;
198
- transition: transform .35s, color .35s, -webkit-transform .35s;
199
- -webkit-transform: translate3d(0, -50%, 0);
200
- transform: translate3d(0, -50%, 0);
201
- }
202
- .premium-banner-animation2 .premium-banner-ib-content, .premium-banner-animation2 .premium-banner-read-more, .premium-banner-animation2 .premium-banner-ib-desc::before {
203
- -webkit-transition: opacity .35s, -webkit-transform .35s;
204
- transition: opacity .35s, -webkit-transform .35s;
205
- transition: opacity .35s, transform .35s;
206
- transition: opacity .35s, transform .35s, -webkit-transform .35s;
207
- }
208
- .premium-banner-animation2 .premium-banner-ib-content, .premium-banner-animation2 .premium-banner-read-more {
209
- position: absolute;
210
- bottom: 0;
211
- right: 0;
212
- padding: 15px;
213
- width: 100%;
214
- max-height: 50%;
215
- opacity: 0;
216
- -webkit-transform: translate3d(0, 10px, 0);
217
- transform: translate3d(0, 10px, 0);
218
- }
219
- .premium-banner-animation2:hover .premium-banner-ib-title, .premium-banner-animation2.active .premium-banner-ib-title {
220
- -webkit-transform: translate3d(0, -40px, 0);
221
- transform: translate3d(0, -40px, 0);
222
- }
223
- .premium-banner-animation2:hover .premium-banner-read-more, .premium-banner-animation2.active .premium-banner-read-more, .premium-banner-animation2:hover .premium-banner-ib-desc::before, .premium-banner-animation2.active .premium-banner-ib-desc::before {
224
- opacity: 1;
225
- -webkit-transform: translate3d(0, 0, 0);
226
- transform: translate3d(0, 0, 0);
227
- }
228
- .premium-banner-animation2:hover .premium-banner-ib-content, .premium-banner-animation2.active .premium-banner-ib-content {
229
- opacity: 1;
230
- -webkit-transform: translate3d(0, -30px, 0);
231
- transform: translate3d(0, -30px, 0);
232
- }
233
- .premium-banner-animation3 .premium-banner-ib-title {
234
- position: absolute;
235
- bottom: 0;
236
- right: 0;
237
- padding: 15px;
238
- width: 100%;
239
- text-align: right;
240
- -webkit-transform: translate3d(0, -30px, 0);
241
- transform: translate3d(0, -30px, 0);
242
- }
243
- .premium-banner-animation3 .premium-banner-ib-desc::before, .premium-banner-animation3 .premium-banner-ib-title {
244
- -webkit-transition: -webkit-transform .35s;
245
- transition: -webkit-transform .35s;
246
- transition: transform .35s;
247
- transition: transform .35s, -webkit-transform .35s;
248
- }
249
- .premium-banner-animation3:hover .premium-banner-ib-desc::before, .premium-banner-animation3.active .premium-banner-ib-desc::before, .premium-banner-animation3:hover .premium-banner-ib-title, .premium-banner-animation3.active .premium-banner-ib-title {
250
- opacity: 1;
251
- -webkit-transform: translate3d(0, 0, 0);
252
- transform: translate3d(0, 0, 0);
253
- }
254
- .premium-banner-animation3 .premium-banner-ib-content {
255
- max-height: -webkit-calc(100% - 60px - 1.5em);
256
- max-height: calc(100% - 60px - 1.5em);
257
- overflow: hidden;
258
- }
259
- .premium-banner-animation4 img {
260
- width: -webkit-calc(100% + 40px)!important;
261
- width: calc(100% + 40px)!important;
262
- max-width: -webkit-calc(100% + 40px)!important;
263
- max-width: calc(100% + 40px)!important;
264
- }
265
- .premium-banner-animation4 .premium-banner-ib-desc {
266
- padding: 30px;
267
- }
268
- .premium-banner-animation4 .premium-banner-ib-desc::after, .premium-banner-animation4 .premium-banner-ib-desc::before {
269
- position: absolute;
270
- content: "";
271
- opacity: 0;
272
- }
273
- .premium-banner-animation4 .premium-banner-ib-desc::before {
274
- top: 50px;
275
- left: 30px;
276
- bottom: 50px;
277
- right: 30px;
278
- border-top: 1px solid #fff;
279
- border-bottom: 1px solid #fff;
280
- -webkit-transform: scale(0, 1);
281
- -ms-transform: scale(0, 1);
282
- transform: scale(0, 1);
283
- -webkit-transform-origin: 100% 0;
284
- -ms-transform-origin: 100% 0;
285
- transform-origin: 100% 0;
286
- }
287
- .premium-banner-animation4 .premium-banner-ib-desc::after {
288
- top: 30px;
289
- left: 50px;
290
- bottom: 30px;
291
- right: 50px;
292
- border-left: 1px solid #fff;
293
- border-right: 1px solid #fff;
294
- -webkit-transform: scale(1, 0);
295
- -ms-transform: scale(1, 0);
296
- transform: scale(1, 0);
297
- -webkit-transform-origin: 0% 0;
298
- -ms-transform-origin: 0% 0;
299
- transform-origin: 0% 0;
300
- }
301
- .premium-banner-animation4 .premium-banner-ib-title {
302
- padding: 50px 30px 0 30px;
303
- -webkit-transition: -webkit-transform .35s;
304
- transition: -webkit-transform .35s;
305
- transition: transform .35s;
306
- transition: transform .35s, -webkit-transform .35s;
307
- }
308
- .premium-banner-animation4 .premium-banner-ib-content, .premium-banner-animation4 .premium-banner-read-more {
309
- padding: 10px 30px;
310
- opacity: 0;
311
- overflow: hidden;
312
- -webkit-transform: translate3d(0, -10px, 0);
313
- transform: translate3d(0, -10px, 0);
314
- }
315
- .premium-banner-animation4 .premium-banner-ib-title, .premium-banner-animation4 img {
316
- -webkit-transform: translate3d(30px, 0, 0);
317
- transform: translate3d(30px, 0, 0);
318
- }
319
- .premium-banner-animation4.zoomout img, .premium-banner-animation4.scale img {
320
- -webkit-transform: translate3d(30px, 0, 0) scale(1.1);
321
- transform: translate3d(30px, 0, 0) scale(1.1);
322
- }
323
- .premium-banner-animation4 .premium-banner-ib-content, .premium-banner-animation4 .premium-banner-read-more, .premium-banner-animation4 .premium-banner-ib-desc::after, .premium-banner-animation4 .premium-banner-ib-desc::before, .premium-banner-animation4 img {
324
- -webkit-transition: opacity .35s, -webkit-transform .35s;
325
- transition: opacity .35s, -webkit-transform .35s;
326
- transition: opacity .35s, transform .35s;
327
- transition: opacity .35s, transform .35s, -webkit-transform .35s;
328
- }
329
- /*.premium-banner-animation4:hover img, .premium-banner-animation4.active img {
330
- -webkit-transform: translate3d(0, 0, 0);
331
- transform: translate3d(0, 0, 0);
332
- }
333
- */
334
- .premium-banner-animation4:hover .premium-banner-ib-desc::after, .premium-banner-animation4.active .premium-banner-ib-desc::after, .premium-banner-animation4:hover .premium-banner-ib-desc::before, .premium-banner-animation4.active .premium-banner-ib-desc::before {
335
- opacity: 1;
336
- -webkit-transform: scale(1);
337
- -ms-transform: scale(1);
338
- transform: scale(1);
339
- }
340
- .premium-banner-animation4:hover .premium-banner-ib-content, .premium-banner-animation4.active .premium-banner-ib-content, .premium-banner-animation4:hover .premium-banner-read-more, .premium-banner-animation4.active .premium-banner-read-more, .premium-banner-animation4:hover .premium-banner-ib-title, .premium-banner-animation4.active .premium-banner-ib-title {
341
- opacity: 1;
342
- -webkit-transform: translate3d(0, 0, 0);
343
- transform: translate3d(0, 0, 0);
344
- }
345
- .premium-banner-animation4:hover .premium-banner-ib-content, .premium-banner-animation4:hover .premium-banner-ib-desc::after, .premium-banner-animation4:hover .premium-banner-ib-title, .premium-banner-animation4:hover img {
346
- -webkit-transition-delay: .15s;
347
- transition-delay: .15s;
348
- }
349
- .premium-banner-animation5 .premium-banner-ib-desc {
350
- top: auto;
351
- bottom: 0;
352
- padding: 15px;
353
- height: auto;
354
- background: #f2f2f2;
355
- color: #3c4a50;
356
- -webkit-transition: -webkit-transform .35s;
357
- transition: -webkit-transform .35s;
358
- transition: transform .35s;
359
- transition: transform .35s, -webkit-transform .35s;
360
- -webkit-transform: translate3d(0, 100%, 0);
361
- transform: translate3d(0, 100%, 0);
362
- }
363
- .premium-banner-animation5 .premium-banner-ib-content {
364
- position: absolute;
365
- top: auto;
366
- bottom: 100%;
367
- right: 0;
368
- width: 100%;
369
- padding: 15px;
370
- opacity: 0;
371
- -webkit-transition: opacity .35s;
372
- transition: opacity .35s;
373
- }
374
- .premium-banner-animation5 .premium-banner-ib-title, .premium-banner-animation5 .premium-banner-read-more {
375
- -webkit-transition: -webkit-transform .35s;
376
- transition: -webkit-transform .35s;
377
- transition: transform .35s;
378
- transition: transform .35s, -webkit-transform .35s;
379
- -webkit-transform: translate3d(0, 200%, 0);
380
- transform: translate3d(0, 200%, 0);
381
- text-align: center;
382
- }
383
- .premium-banner-animation5 .premium-banner-ib-title {
384
- margin: 10px 0;
385
- }
386
- .premium-banner-animation5:hover .premium-banner-ib-content, .premium-banner-animation5.active .premium-banner-ib-content, .premium-banner-animation5:hover .premium-banner-ib-content *, .premium-banner-animation5.active .premium-banner-ib-content * {
387
- opacity: 1 !important;
388
- z-index: 99 !important;
389
- -webkit-backface-visibility: hidden !important;
390
- backface-visibility: hidden !important;
391
- }
392
- .premium-banner-animation5:hover .premium-banner-ib-desc, .premium-banner-animation5.active .premium-banner-ib-desc, .premium-banner-animation5:hover .premium-banner-ib-title, .premium-banner-animation5.active .premium-banner-ib-title, .premium-banner-animation5:hover .premium-banner-read-more, .premium-banner-animation5.active .premium-banner-read-more {
393
- -webkit-transform: translateY(0);
394
- -ms-transform: translateY(0);
395
- transform: translateY(0);
396
- }
397
- .premium-banner-animation5:hover .premium-banner-ib-title {
398
- -webkit-transition-delay: .05s;
399
- transition-delay: .05s;
400
- }
401
- .premium-banner-animation5 img, .premium-banner-animation2 img, .premium-banner-animation4 img, .premium-banner-animation6 img{
402
- -webkit-transition: opacity .35s,filter 0.35s, -webkit-transform .35s;
403
- transition: opacity .35s,filter 0.35s ,-webkit-transform .35s;
404
- -webkit-transition: opacity .35s,-webkit-filter 0.35s, -webkit-transform .35s;
405
- transition: opacity .35s,-webkit-filter 0.35s, -webkit-transform .35s;
406
- transition: opacity .35s,filter 0.35s, transform .35s;
407
- transition: opacity .35s,filter 0.35s, transform .35s,-webkit-filter 0.35s, -webkit-transform .35s;
408
- transition: opacity .35s,filter 0.35s, transform .35s, -webkit-transform .35s;
409
- }
410
- .premium-banner-animation5.zoomout img, .premium-banner-animation5.scale img, .premium-banner-animation2.zoomout img, .premium-banner-animation2.scale img, .premium-banner-animation6.zoomout img, .premium-banner-animation6.scale img {
411
- -webkit-transform: scale(1.1);
412
- -ms-transform: scale(1.1);
413
- transform: scale(1.1);
414
- }
415
- .premium-banner-animation5.zoomin:hover img, .premium-banner-animation2.zoomin:hover img, .premium-banner-animation6.zoomin:hover img{
416
- -webkit-transform: scale(1.1);
417
- -ms-transform: scale(1.1);
418
- transform: scale(1.1);
419
- }
420
- .premium-banner-animation5.zoomout:hover img, .premium-banner-animation2.zoomout:hover img, .premium-banner-animation6.zoomout:hover img{
421
- -webkit-transform: scale(1.0);
422
- -ms-transform: scale(1.0);
423
- transform: scale(1.0);
424
- }
425
- .premium-banner-animation5.scale:hover img, .premium-banner-animation2.scale:hover img, .premium-banner-animation6.scale:hover img {
426
- -webkit-transform: scale(1.2) rotate(-5deg);
427
- -ms-transform: scale(1.2) rotate(-5deg);
428
- transform: scale(1.2) rotate(-5deg);
429
- }
430
- .premium-banner-animation5.grayscale:hover img, .premium-banner-animation2.grayscale:hover img, .premium-banner-animation6.grayscale:hover img{
431
- -webkit-filter: grayscale(100%);
432
- filter: grayscale(100%);
433
- }
434
- .premium-banner-animation5.blur:hover img, .premium-banner-animation2.blur:hover img, .premium-banner-animation6.blur:hover img {
435
- -webkit-filter: blur(3px);
436
- filter: blur(3px);
437
- }
438
- .premium-banner-animation6 .premium-banner-ib-desc {
439
- padding: 45px;
440
- }
441
- .premium-banner-animation6 .premium-banner-ib-desc::before {
442
- position: absolute;
443
- content: "";
444
- top: 30px;
445
- left: 30px;
446
- bottom: 30px;
447
- right: 30px;
448
- border: 1px solid #fff;
449
- }
450
- .premium-banner-animation6 .premium-banner-ib-title {
451
- margin: 20px 0 10px;
452
- -webkit-transition: -webkit-transform .35s;
453
- transition: -webkit-transform .35s;
454
- transition: transform .35s;
455
- transition: transform .35s, -webkit-transform .35s;
456
- -webkit-transform: translate3d(0, 100%, 0);
457
- transform: translate3d(0, 100%, 0);
458
- }
459
- .premium-banner-animation6 .premium-banner-ib-content, .premium-banner-animation6 .premium-banner-read-more, .premium-banner-animation6 .premium-banner-ib-desc::before {
460
- opacity: 0;
461
- -webkit-transition: opacity .35s, -webkit-transform .35s;
462
- transition: opacity .35s, -webkit-transform .35s;
463
- transition: opacity .35s, transform .35s;
464
- transition: opacity .35s, transform .35s, -webkit-transform .35s;
465
- -webkit-transform: scale(0);
466
- -ms-transform: scale(0);
467
- transform: scale(0);
468
- }
469
- .premium-banner-animation6 .premium-banner-read-more {
470
- margin-top: 10px;
471
- }
472
- .premium-banner-animation6:hover .premium-banner-ib-title, .premium-banner-animation6.active .premium-banner-ib-title {
473
- -webkit-transform: translate3d(0, 0, 0);
474
- transform: translate3d(0, 0, 0);
475
- }
476
- .premium-banner-animation6:hover .premium-banner-ib-content, .premium-banner-animation6.active .premium-banner-ib-content, .premium-banner-animation6:hover .premium-banner-read-more, .premium-banner-animation6.active .premium-banner-read-more, .premium-banner-animation6:hover .premium-banner-ib-desc::before, .premium-banner-animation6.active .premium-banner-ib-desc::before {
477
- opacity: 1;
478
- -webkit-transform: scale(1);
479
- -ms-transform: scale(1);
480
- transform: scale(1);
481
- }
482
- .premium-banner-animation8 img {
483
- -webkit-transition: opacity .35s, -webkit-transform .35s;
484
- transition: opacity .35s, -webkit-transform .35s;
485
- transition: opacity .35s, transform .35s;
486
- transition: opacity .35s, transform .35s, -webkit-transform .35s;
487
- -webkit-transform: scale(1.15);
488
- -ms-transform: scale(1.15);
489
- transform: scale(1.15)
490
- }
491
- .premium-banner-animation8:hover img, .premium-banner-animation8.active img {
492
- -webkit-transform: scale(1);
493
- -ms-transform: scale(1);
494
- transform: scale(1);
495
- }
496
- .premium-banner-animation8 .premium-banner-ib-title {
497
- margin-top: 20%;
498
- -webkit-transition: -webkit-transform .35s;
499
- transition: -webkit-transform .35s;
500
- transition: transform .35s;
501
- transition: transform .35s, -webkit-transform .35s;
502
- -webkit-transform: translate3d(0, 20px, 0);
503
- transform: translate3d(0, 20px, 0);
504
- }
505
- .premium-banner-animation8:hover .premium-banner-ib-title, .premium-banner-animation8.active .premium-banner-ib-title {
506
- -webkit-transform: translate3d(0, 0, 0);
507
- transform: translate3d(0, 0, 0);
508
- }
509
- .premium-banner-animation8 .premium-banner-ib-content {
510
- margin: 1em 0 0;
511
- padding: 35px;
512
- border: 1px solid #fff;
513
- opacity: 0;
514
- -webkit-transition: opacity .35s, -webkit-transform .35s;
515
- transition: opacity .35s, -webkit-transform .35s;
516
- transition: opacity .35s, transform .35s;
517
- transition: opacity .35s, transform .35s, -webkit-transform .35s;
518
- -webkit-transform: translate3d(0, 20px, 0) scale(1.1);
519
- transform: translate3d(0, 20px, 0) scale(1.1);
520
- }
521
- .premium-banner-animation8:hover .premium-banner-ib-content, .premium-banner-animation8.active .premium-banner-ib-content {
522
- opacity: 1;
523
- -webkit-transform: translate3d(0, 0, 0) scale(1);
524
- transform: translate3d(0, 0, 0) scale(1);
525
- }
526
- .premium-banner-animation12 .premium-banner-ib-desc::after {
527
- position: absolute;
528
- content: "";
529
- left: 30px;
530
- bottom: 30px;
531
- right: 30px;
532
- height: -webkit-calc(50% - 30px);
533
- height: calc(50% - 30px);
534
- border: 7px solid #fff;
535
- -webkit-transition: -webkit-transform .35s;
536
- transition: -webkit-transform .35s;
537
- transition: transform .35s;
538
- transition: transform .35s, -webkit-transform .35s;
539
- -webkit-transform: translate3d(0, -100%, 0);
540
- transform: translate3d(0, -100%, 0);
541
- }
542
- .premium-banner-animation12:hover .premium-banner-ib-desc::after, .premium-banner-animation12.active .premium-banner-ib-desc::after {
543
- -webkit-transform: translate3d(0, 0, 0);
544
- transform: translate3d(0, 0, 0);
545
- }
546
- .premium-banner-animation12 .premium-banner-ib-desc {
547
- padding: 45px;
548
- text-align: right;
549
- }
550
- .premium-banner-animation12 .premium-banner-ib-content {
551
- position: absolute;
552
- left: 60px;
553
- bottom: 60px;
554
- right: 60px;
555
- opacity: 0;
556
- -webkit-transition: opacity .35s, -webkit-transform .35s;
557
- transition: opacity .35s, -webkit-transform .35s;
558
- transition: opacity .35s, transform .35s;
559
- transition: opacity .35s, transform .35s, -webkit-transform .35s;
560
- -webkit-transform: translate3d(0, -100px, 0);
561
- transform: translate3d(0, -100px, 0);
562
- }
563
- .premium-banner-animation12:hover .premium-banner-ib-content, .premium-banner-animation12.active .premium-banner-ib-content {
564
- opacity: 1;
565
- -webkit-transform: translate3d(0, 0, 0);
566
- transform: translate3d(0, 0, 0);
567
- }
568
- .premium-banner-animation13 img {
569
- width: -webkit-calc(100% + 20px)!important;
570
- width: calc(100% + 20px)!important;
571
- max-width: -webkit-calc(100% + 20px)!important;
572
- max-width: calc(100% + 20px)!important;
573
- -webkit-transition: opacity .35s,filter 0.35s, -webkit-transform .35s;
574
- transition: opacity .35s,filter 0.35s ,-webkit-transform .35s;
575
- -webkit-transition: opacity .35s,-webkit-filter 0.35s, -webkit-transform .35s;
576
- transition: opacity .35s,-webkit-filter 0.35s, -webkit-transform .35s;
577
- transition: opacity .35s,filter 0.35s, transform .35s;
578
- transition: opacity .35s,filter 0.35s, transform .35s,-webkit-filter 0.35s, -webkit-transform .35s;
579
- transition: opacity .35s,filter 0.35s, transform .35s, -webkit-transform .35s;
580
- -webkit-transform: translate3d(10px, 0, 0);
581
- transform: translate3d(10px, 0, 0);
582
- -webkit-backface-visibility: hidden;
583
- backface-visibility: hidden;
584
- }
585
- .premium-banner-animation13.zoomout img, .premium-banner-animation13.scale img {
586
- -webkit-transform: translate3d(10px, 0, 0) scale(1.1);
587
- transform: translate3d(10px, 0, 0) scale(1.1);
588
- }
589
- .premium-banner-animation13.none:hover img, .premium-banner-animation1.none:hover img, .premium-banner-animation4.none:hover img {
590
- -webkit-transform: translate3d(0, 0, 0);
591
- transform: translate3d(0, 0, 0);
592
- }
593
- .premium-banner-animation13.zoomin:hover img, .premium-banner-animation1.zoomin:hover img, .premium-banner-animation4.zoomin:hover img{
594
- -webkit-transform: translate3d(0, 0, 0) scale(1.1);
595
- transform: translate3d(0, 0, 0) scale(1.1);
596
- }
597
- .premium-banner-animation13.zoomout:hover img, .premium-banner-animation1.zoomout:hover img, .premium-banner-animation4.zoomout:hover img {
598
- -webkit-transform: translate3d(0, 0, 0) scale(1.0);
599
- transform: translate3d(0, 0, 0) scale(1.0);
600
- }
601
- .premium-banner-animation13.scale:hover img, .premium-banner-animation1.scale:hover img, .premium-banner-animation4.scale:hover img {
602
- -webkit-transform: translate3d(0, 0, 0) scale(1.2) rotate(-5deg);
603
- transform: translate3d(0, 0, 0) scale(1.2) rotate(-5deg);
604
- }
605
- .premium-banner-animation13.grayscale:hover img, .premium-banner-animation1.grayscale:hover img, .premium-banner-animation4.grayscale:hover img{
606
- -webkit-transform: translate3d(0, 0, 0);
607
- transform: translate3d(0, 0, 0);
608
- -webkit-filter: grayscale(100%);
609
- filter: grayscale(100%);
610
- }
611
- .premium-banner-animation13.blur:hover img, .premium-banner-animation1.blur:hover img, .premium-banner-animation4.blur:hover img {
612
- -webkit-transform: translate3d(0, 0, 0);
613
- transform: translate3d(0, 0, 0);
614
- -webkit-filter: blur(3px);
615
- filter: blur(3px);
616
- }
617
- .premium-banner-animation13 .premium-banner-ib-desc {
618
- text-align: right;
619
- }
620
- .premium-banner-animation13 .premium-banner-ib-title {
621
- position: relative;
622
- overflow: hidden;
623
- padding: 5px 0 10px;
624
- }
625
- .premium-banner-animation13 .premium-banner-ib-title::after {
626
- position: absolute;
627
- content: "";
628
- bottom: 0;
629
- right: 0;
630
- width: 100%;
631
- height: 2px;
632
- background: #fff;
633
- -webkit-transition: -webkit-transform .35s;
634
- transition: -webkit-transform .35s;
635
- transition: transform .35s;
636
- transition: transform .35s, -webkit-transform .35s;
637
- -webkit-transform: translate3d(101%, 0, 0);
638
- transform: translate3d(101%, 0, 0);
639
- }
640
- .premium-banner-animation13:hover .premium-banner-ib-title::after, .premium-banner-animation13.active .premium-banner-ib-title::after {
641
- -webkit-transform: translate3d(0, 0, 0);
642
- transform: translate3d(0, 0, 0);
643
- }
644
- .premium-banner-animation13 .premium-banner-ib-content, .premium-banner-animation13 .premium-banner-read-more {
645
- padding: 15px 0;
646
- opacity: 0;
647
- -webkit-transition: opacity .35s, -webkit-transform .35s;
648
- transition: opacity .35s, -webkit-transform .35s;
649
- transition: opacity .35s, transform .35s;
650
- transition: opacity .35s, transform .35s, -webkit-transform .35s;
651
- -webkit-transform: translate3d(-100%, 0, 0);
652
- transform: translate3d(-100%, 0, 0);
653
- }
654
- .premium-banner-animation13:hover .premium-banner-ib-content, .premium-banner-animation13.active .premium-banner-ib-content, .premium-banner-animation13:hover .premium-banner-read-more, .premium-banner-animation13.active .premium-banner-read-more {
655
- opacity: 1;
656
- -webkit-transform: translate3d(0, 0, 0);
657
- transform: translate3d(0, 0, 0);
658
- }
659
- .premium-banner-ib.premium-banner-animation5 .premium-banner-toggle-size {
660
- right: 50%;
661
- width: auto!important;
662
- height: 100%;
663
- max-width: none;
664
- -webkit-transform: translateX(50%);
665
- -ms-transform: translateX(50%);
666
- transform: translateX(50%);
667
- }
668
- .premium-banner-ib img {
669
- border: none;
670
- padding: 0;
671
- margin: 0;
672
- }
673
- /**************** Premium CountDown *************/
674
- /************************************************/
675
- .premium-countdown {
676
- display: -ms-flexbox;
677
- display: -webkit-flex;
678
- display: -moz-flex;
679
- display: -ms-flex;
680
- -js-display: flex;
681
- display: -webkit-box;
682
- display: -moz-box;
683
- display: flex;
684
- }
685
- /* jQuery Countdown styles 2.0.0. */
686
- .pre_countdown-row {
687
- display: block;
688
- text-align: center;
689
- }
690
- .countdown .pre_countdown-section {
691
- display: inline-block;
692
- max-width: 100%;
693
- margin-bottom: 15px;
694
- }
695
- .countdown .pre_countdown-section {
696
- display: -webkit-inline-box;
697
- display: -webkit-inline-flex;
698
- display: -ms-inline-flexbox;
699
- -js-display: inline-flex;
700
- display: -moz-inline-box;
701
- display: inline-flex;
702
- -webkit-box-align: center;
703
- -webkit-align-items: center;
704
- -moz-box-align: center;
705
- -ms-flex-align: center;
706
- align-items: center;
707
- }
708
- .countdown .pre_countdown-section:last-child {
709
- margin-left: 0;
710
- }
711
- .countdown span.pre_countdown-amount {
712
- font-size: 70px;
713
- line-height: 1;
714
- }
715
- .countdown .pre_time-mid {
716
- display: block;
717
- }
718
- .premium-countdown-separator-yes .pre-countdown_separator {
719
- display: block;
720
- margin: 0 50px;
721
- font-size: 30px;
722
- }
723
- .premium-countdown-separator-yes .pre_countdown-row .pre_countdown-section:last-child .pre-countdown_separator {
724
- display: none;
725
- }
726
- /************************************ * Digit and unit styles *************************************/
727
- .side .pre_countdown-section .pre_countdown-period {
728
- vertical-align: bottom;
729
- }
730
- .countdown .pre_countdown-section .pre_countdown-period {
731
- font-size: 17px;
732
- line-height: 3em;
733
- }
734
- /************************************ * Digit and unit side by side *************************************/
735
- .side .pre_countdown-section .pre_countdown-amount, .side .pre_countdown-section .pre_countdown-period {
736
- display: inline-block;
737
- }
738
- .side .pre_countdown-section .pre_countdown-amount {
739
- margin-left: 5px;
740
- }
741
- /************************************ * Digit and unit up and down *************************************/
742
- .down .pre_countdown-section .pre_countdown-amount, .down .pre_countdown-section .pre_countdown-period {
743
- display: block;
744
- }
745
- /**************** Premium Carousel **************/
746
- /************************************************/
747
- .premium-carousel-wrapper a.carousel-arrow, .premium-carousel-wrapper a.ver-carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-blog-wrap a.carousel-arrow, .premium-hscroll-wrap a.carousel-arrow, .premium-twitter-feed-wrapper a.carousel-arrow, .premium-persons-container a.carousel-arrow {
748
- display: -ms-flexbox;
749
- display: -webkit-flex;
750
- display: -moz-flex;
751
- display: -ms-flex;
752
- -js-display: flex;
753
- display: -webkit-box;
754
- display: -moz-box;
755
- display: flex;
756
- -webkit-box-align: center;
757
- -webkit-align-items: center;
758
- -moz-box-align: center;
759
- -ms-flex-align: center;
760
- align-items: center;
761
- -webkit-box-pack: center;
762
- -webkit-justify-content: center;
763
- -moz-box-pack: center;
764
- -ms-flex-pack: center;
765
- justify-content: center;
766
- width: 2em;
767
- height: 2em;
768
- line-height: 0;
769
- text-align: center;
770
- position: absolute;
771
- z-index: 99;
772
- cursor: pointer;
773
- -webkit-transition: all 0.3s ease-in-out;
774
- transition: all 0.3s ease-in-out;
775
- -webkit-appearance: inherit;
776
- border: none;
777
- -webkit-box-shadow: none;
778
- box-shadow: none;
779
- }
780
- div[class^="premium-"] .slick-arrow i {
781
- display: block;
782
- }
783
- .ver-carousel-arrow.carousel-next i{
784
- margin-bottom: -3px;
785
- }
786
- .premium-carousel-wrapper a.slick-arrow:hover {
787
- -webkit-box-shadow: none !important;
788
- box-shadow: none !important;
789
- }
790
- .premium-carousel-wrapper .premium-carousel-content-hidden {
791
- visibility: hidden;
792
- }
793
- .premium-carousel-wrapper a.carousel-arrow, .premium-fb-rev-container a.carousel-arrow, .premium-blog-wrap a.carousel-arrow, .premium-hscroll-wrap a.carousel-arrow, .premium-twitter-feed-wrapper a.carousel-arrow, .premium-persons-container a.carousel-arrow {
794
- top: 50%;
795
- }
796
- .premium-carousel-wrapper a.ver-carousel-arrow {
797
- right: 50%;
798
- }
799
- a.carousel-arrow.carousel-next {
800
- right: -20px;
801
- }
802
- a.carousel-arrow.carousel-prev {
803
- left: -20px;
804
- }
805
- a.ver-carousel-arrow.carousel-next {
806
- bottom: -56px;
807
- }
808
- a.ver-carousel-arrow.carousel-prev {
809
- top: -45px;
810
- }
811
- a.circle-bg {
812
- -webkit-border-radius: 100%;
813
- border-radius: 100%;
814
- }
815
- a.circle-border {
816
- -webkit-border-radius: 100%;
817
- border-radius: 100%;
818
- border: solid black;
819
- }
820
- a.square-border {
821
- border: solid black;
822
- }
823
- .premium-carousel-wrapper ul.slick-dots, .premium-blog-wrap ul.slick-dots {
824
- list-style: none;
825
- text-align: center;
826
- margin: 0;
827
- padding: 0;
828
- }
829
- .premium-carousel-dots-above ul.slick-dots {
830
- position: absolute;
831
- display: -ms-flexbox;
832
- display: -webkit-flex;
833
- display: -moz-flex;
834
- display: -ms-flex;
835
- -js-display: flex;
836
- display: -webkit-box;
837
- display: -moz-box;
838
- display: flex;
839
- top: 50%;
840
- -webkit-transform: translateY(-50%);
841
- -ms-transform: translateY(-50%);
842
- transform: translateY(-50%);
843
- -webkit-flex-direction: column;
844
- -webkit-box-orient: vertical;
845
- -webkit-box-direction: normal;
846
- -moz-box-orient: vertical;
847
- -moz-box-direction: normal;
848
- -ms-flex-direction: column;
849
- flex-direction: column;
850
- }
851
- ul.slick-dots li {
852
- font-size: 10px;
853
- display: -webkit-inline-box;
854
- display: -webkit-inline-flex;
855
- display: -ms-inline-flexbox;
856
- -js-display: inline-flex;
857
- display: -moz-inline-box;
858
- display: inline-flex;
859
- -webkit-box-pack: center;
860
- -webkit-justify-content: center;
861
- -moz-box-pack: center;
862
- -ms-flex-pack: center;
863
- justify-content: center;
864
- -webkit-box-align: center;
865
- -webkit-align-items: center;
866
- -moz-box-align: center;
867
- -ms-flex-align: center;
868
- align-items: center;
869
- margin: 5px;
870
- width: 20px;
871
- height: 20px;
872
- cursor: pointer;
873
- }
874
- /* Ripple Out */
875
- @-webkit-keyframes hvr-ripple-out {
876
- 0% {
877
- -webkit-transform: scale(1);
878
- transform: scale(1);
879
- opacity: 1;
880
- }
881
- 100% {
882
- -webkit-transform: scale(1.5);
883
- transform: scale(1.5);
884
- opacity: 0;
885
- }
886
- }
887
- @keyframes hvr-ripple-out {
888
- 0% {
889
- -webkit-transform: scale(1);
890
- transform: scale(1);
891
- opacity: 1;
892
- }
893
- 100% {
894
- -webkit-transform: scale(1.5);
895
- transform: scale(1.5);
896
- opacity: 0;
897
- }
898
- }
899
- .premium-carousel-ripple-yes .premium-carousel-wrapper {
900
- padding-bottom: 1px;
901
- }
902
- /*.premium-carousel-ripple-yes .premium-carousel-wrapper li {
903
- display: inline-block;
904
- -webkit-transform: perspective(0px) translateZ(0);
905
- transform: perspective(0px) translateZ(0);
906
- box-shadow: 0 0 1px rgba(0, 0, 0, 0);
907
- position: relative;
908
- }*/
909
- .premium-carousel-ripple-yes ul.slick-dots li,
910
- .premium-carousel-ripple-yes ul.slick-dots li i {
911
- position: relative
912
- }
913
- .premium-carousel-ripple-yes ul.slick-dots li i {
914
- z-index: 1
915
- }
916
- .premium-carousel-ripple-yes ul.slick-dots li:hover:before {
917
- content: "";
918
- position: absolute;
919
- -webkit-transform: scale(1);
920
- -ms-transform: scale(1);
921
- transform: scale(1);
922
- top: 0;
923
- left: 0;
924
- bottom: 0;
925
- right: 0;
926
- -webkit-border-radius: 50%;
927
- border-radius: 50%;
928
- pointer-events: none;
929
- background-color: rgba(0, 0, 0, 0.15)
930
- }
931
- .premium-carousel-ripple-yes ul.slick-dots li.slick-active:hover:before {
932
- background-color: rgba(0, 0, 0, 0.3)
933
- }
934
- .premium-carousel-ripple-yes ul.slick-dots li:hover:before {
935
- -webkit-animation: hvr-ripple-out 1.3s infinite;
936
- animation: hvr-ripple-out 1.3s infinite;
937
- }
938
- .premium-carousel-wrapper.premium-carousel-scale .slick-slide {
939
- -webkit-transform: scale(1.25, 1.25);
940
- -ms-transform: scale(1.25, 1.25);
941
- transform: scale(1.25, 1.25);
942
- -webkit-transition: all 0.3s ease-in-out !important;
943
- transition: all 0.3s ease-in-out !important;
944
- }
945
- .premium-carousel-wrapper.premium-carousel-scale div.slick-active {
946
- -webkit-transform: scale(1, 1);
947
- -ms-transform: scale(1, 1);
948
- transform: scale(1, 1);
949
- }
950
- [dir='rtl'] .premium-carousel-inner .slick-slide {
951
- float: right;
952
- }
953
- /**************** Premium Counter ***************/
954
- /************************************************/
955
- .premium-counter-area {
956
- padding: 10px 0;
957
- }
958
- .premium-counter-area .premium-counter-icon span.icon {
959
- width: 1em;
960
- height: 1em;
961
- line-height: 1em;
962
- text-align: center;
963
- display: inline-block;
964
- vertical-align: middle;
965
- }
966
- .premium-counter-area .premium-counter-title {
967
- padding: 0;
968
- margin: 0;
969
- }
970
- .premium-counter-icon .icon i.fa:before {
971
- vertical-align: text-top;
972
- }
973
- /* * Circle Icon style */
974
- .premium-counter-area .premium-counter-icon .circle {
975
- -webkit-border-radius: 100%;
976
- border-radius: 100%;
977
- }
978
- .premium-counter-area.center {
979
- text-align: center;
980
- }
981
- .premium-counter-area .right, .premium-counter-area .left {
982
- display: table-cell;
983
- vertical-align: middle;
984
- }
985
- .premium-counter-icon.right {
986
- padding-right: 20px;
987
- }
988
- .premium-counter-icon.left {
989
- padding-left: 20px;
990
- }
991
- .premium-init-wrapper.right {
992
- text-align: left;
993
- }
994
- /* * Custom image and simple styles image fix */
995
- span.icon.flex-width {
996
- width: auto !important;
997
- height: auto !important;
998
- }
999
- .premium-counter-area .premium-counter-init {
1000
- font-size: 35px;
1001
- }
1002
- /**************** Premium Image Separator ****************/
1003
- /*********************************************************/
1004
- /*Image Separator Container Style*/
1005
- .premium-image-separator-container{
1006
- position: absolute;
1007
- width: 100%;
1008
- z-index: 2;
1009
- top: auto;
1010
- }
1011
- /*Link on Image Style*/
1012
- .premium-image-separator-link{
1013
- position: absolute;
1014
- z-index: 9999;
1015
- top: 0;
1016
- right: 0;
1017
- width: 100%;
1018
- height: 100%;
1019
- text-decoration: none;
1020
- }
1021
- /*Important to override Theme options*/
1022
- a.premium-image-separator-link:hover, a.premium-image-separator-link:visited, a.premium-image-separator-link:focus, a.premium-image-separator-link:active {
1023
- -webkit-box-shadow: none !important;
1024
- box-shadow: none !important;
1025
- outline: none !important;
1026
- border: none !important;
1027
- text-decoration: none !important;
1028
- }
1029
- .premium-image-separator-container .img-responsive {
1030
- display: inline-block;
1031
- }
1032
- .premium-image-separator-container i {
1033
- padding: 0.1em;
1034
- -webkit-transition: all 0.3s ease-in-out;
1035
- transition: all 0.3s ease-in-out;
1036
- }
1037
- /**************** Premium Modal Box ****************/
1038
- /***************************************************/
1039
- .premium-modal-box-button-selector, .premium-modal-box-modal-lower-close {
1040
- display: inline-block;
1041
- padding: 6px 12px;
1042
- margin-bottom: 0;
1043
- font-size: 14px;
1044
- font-weight: normal;
1045
- line-height: 1.42857143;
1046
- text-align: center;
1047
- white-space: nowrap;
1048
- vertical-align: middle;
1049
- -ms-touch-action: manipulation;
1050
- touch-action: manipulation;
1051
- cursor: pointer;
1052
- -webkit-user-select: none;
1053
- -moz-user-select: none;
1054
- -ms-user-select: none;
1055
- user-select: none;
1056
- background-image: none;
1057
- border: 1px solid transparent;
1058
- }
1059
- .premium-modal-box-button-selector i {
1060
- -webkit-transition: all 0.3s ease-in-out;
1061
- transition: all 0.3s ease-in-out;
1062
- }
1063
- .premium-btn-md {
1064
- padding: 8px 14px;
1065
- font-size: 16px;
1066
- line-height: 1.2;
1067
- }
1068
- .premium-btn-lg {
1069
- padding: 10px 16px;
1070
- font-size: 18px;
1071
- line-height: 1.3333333;
1072
- }
1073
- .premium-btn-block {
1074
- display: block;
1075
- width: 100%;
1076
- }
1077
- .premium-modal-box-modal-close {
1078
- float: left;
1079
- font-size: 21px;
1080
- font-weight: bold;
1081
- line-height: 1;
1082
- color: #000;
1083
- }
1084
- .premium-modal-box-modal-close:hover, .premium-modal-box-modal-close:focus {
1085
- color: #000;
1086
- text-decoration: none;
1087
- cursor: pointer;
1088
- }
1089
- button.premium-modal-box-modal-close {
1090
- -webkit-appearance: none;
1091
- padding: 0;
1092
- cursor: pointer;
1093
- background: transparent;
1094
- border: 0
1095
- }
1096
- .premium-modal-box-modal {
1097
- position: fixed;
1098
- top: 0;
1099
- left: 0;
1100
- bottom: 0;
1101
- right: 0;
1102
- z-index: 1050;
1103
- display: none;
1104
- -webkit-overflow-scrolling: touch;
1105
- outline: 0;
1106
- padding: 0 !important;
1107
- background: rgba(0,0,0,0.5)
1108
- /*Added New to fix backdrop background*/
1109
- }
1110
- .premium-modal-box-modal .premium-modal-box-modal-dialog {
1111
- position: absolute;
1112
- top: 0;
1113
- right: 50%;
1114
- -webkit-transform: translate(50%,-50%) !important;
1115
- -ms-transform: translate(50%,-50%) !important;
1116
- transform: translate(50%,-50%) !important;
1117
- margin: 0;
1118
- -webkit-transition: all .3s ease-in-out;
1119
- transition: all .3s ease-in-out;
1120
- }
1121
- .premium-modal-box-modal-content {
1122
- overflow: hidden;
1123
- background-color: #fff;
1124
- -webkit-background-clip: padding-box;
1125
- background-clip: padding-box;
1126
- border: 1px solid rgba(0, 0, 0, .2);
1127
- -webkit-border-radius: 6px;
1128
- border-radius: 6px;
1129
- outline: 0;
1130
- /* -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
1131
- box-shadow: 0 3px 9px rgba(0, 0, 0, .5)*/
1132
- }
1133
- .premium-modal-backdrop.premium-in {
1134
- filter: alpha(opacity=50);
1135
- opacity: .5 !important;
1136
- }
1137
- .premium-modal-fade.premium-in {
1138
- opacity: 1;
1139
- }
1140
- .premium-modal-backdrop {
1141
- position: fixed;
1142
- top: 0;
1143
- left: 0;
1144
- bottom: 0;
1145
- right: 0;
1146
- z-index: 1040;
1147
- background-color: #000
1148
- }
1149
- .premium-modal-backdrop.premium-modal-fade {
1150
- filter: alpha(opacity=0);
1151
- opacity: 0;
1152
- }
1153
- .premium-modal-fade {
1154
- opacity: 0;
1155
- -webkit-transition: opacity .3s ease-in-out;
1156
- transition: opacity .3s ease-in-out;
1157
- }
1158
- .premium-modal-box-modal.premium-in .premium-modal-box-modal-dialog {
1159
- -webkit-transition: all .3s ease-in-out;
1160
- transition: all .3s ease-in-out;
1161
- top: 50%;
1162
- }
1163
- .premium-modal-box-modal-header {
1164
- display: -ms-flexbox;
1165
- display: -webkit-flex;
1166
- display: -moz-flex;
1167
- display: -ms-flex;
1168
- -js-display: flex;
1169
- display: -webkit-box;
1170
- display: -moz-box;
1171
- display: flex;
1172
- -webkit-box-pack: justify;
1173
- -webkit-justify-content: space-between;
1174
- -moz-box-pack: justify;
1175
- -ms-flex-pack: justify;
1176
- justify-content: space-between;
1177
- -webkit-box-align: center;
1178
- -webkit-align-items: center;
1179
- -moz-box-align: center;
1180
- -ms-flex-align: center;
1181
- align-items: center;
1182
- padding: 5px 15px;
1183
- border-bottom: 1px solid #e5e5e5
1184
- }
1185
- .premium-modal-box-modal-header .premium-modal-box-modal-close {
1186
- margin-top: -2px
1187
- }
1188
- .premium-modal-box-modal-header .premium-modal-box-modal-title {
1189
- margin: 0;
1190
- padding: 0;
1191
- line-height: 1.42857143;
1192
- /* clear: none;
1193
- */
1194
- padding: 0;
1195
- margin: 0;
1196
- }
1197
- .premium-modal-box-modal-body {
1198
- position: relative;
1199
- padding: 15px
1200
- }
1201
- .premium-modal-box-modal-footer {
1202
- padding: 15px;
1203
- text-align: left;
1204
- border-top: 1px solid #e5e5e5
1205
- }
1206
- .premium-modal-box-modal-footer .btn + .btn {
1207
- margin-bottom: 0;
1208
- margin-right: 5px
1209
- }
1210
- .premium-modal-scrollbar-measure {
1211
- position: absolute;
1212
- top: -9999px;
1213
- width: 50px;
1214
- height: 50px;
1215
- overflow: scroll;
1216
- }
1217
- .premium-modal-box-text-selector {
1218
- background: none !important;
1219
- }
1220
- .premium-modal-box-container {
1221
- width: 100% !important;
1222
- }
1223
- /*Open Modal Button Style*/
1224
- .premium-modal-box-selector-container .premium-modal-box-button-selector {
1225
- border: none;
1226
- -webkit-transition: all 0.3s ease-in-out;
1227
- transition: all 0.3s ease-in-out;
1228
- }
1229
- /*Open Modal Img, Span Style */
1230
- .premium-modal-box-selector-container img, .premium-modal-box-selector-container span{
1231
- cursor: pointer;
1232
- }
1233
- /*Image on Modal Header Style*/
1234
- .premium-modal-box-modal-header img {
1235
- width: 48px;
1236
- padding: 5px 0;
1237
- vertical-align: top;
1238
- }
1239
- /*Icon On Modal Header Style*/
1240
- .premium-modal-box-modal-header i {
1241
- padding-left: 6px;
1242
- }
1243
- /*Image On Modal Header Style*/
1244
- .premium-modal-box-modal-title img {
1245
- vertical-align : middle;
1246
- }
1247
- /*Close Button Container Style*/
1248
- /*.premium-modal-box-close-button-container {
1249
- float: right;
1250
- }
1251
- */
1252
- .premium-modal-box-modal-close {
1253
- position: relative;
1254
- z-index: 99;
1255
- }
1256
- .premium-modal-box-img-selector, .premium-modal-box-text-selector, .premium-modal-box-close-button-container, .premium-modal-box-modal-close, .premium-modal-box-modal-lower-close{
1257
- -webkit-transition: all 0.3s ease-in-out;
1258
- transition: all 0.3s ease-in-out;
1259
- }
1260
- /* prevent Scroll on body */
1261
- .premium-modal-open {
1262
- /* overflow: hidden;
1263
- */
1264
- /* height: 100vh;
1265
- */
1266
- }
1267
- @media (min-width:768px) {
1268
- .premium-modal-box-modal-dialog {
1269
- width: 700px;
1270
- max-height: 600px;
1271
- overflow: auto;
1272
- }
1273
- /* .premium-modal-box-modal-content {
1274
- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
1275
- box-shadow: 0 5px 15px rgba(0, 0, 0, .5)
1276
- }
1277
- */
1278
- }
1279
- @media (max-width:767px) {
1280
- .premium-modal-box-modal-dialog {
1281
- width: 100%;
1282
- max-height: 500px;
1283
- overflow: auto;
1284
- }
1285
- }
1286
- /**************** Premium Progress Bar ****************/
1287
- /******************************************************/
1288
- .premium-progressbar-container {
1289
- position:relative;
1290
- }
1291
- .premium-progressbar-progress {
1292
- overflow: hidden;
1293
- height: 20px;
1294
- margin-bottom: 50px;
1295
- background-color: #f5f5f5;
1296
- -webkit-border-radius: 4px;
1297
- border-radius: 4px;
1298
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
1299
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
1300
- }
1301
- .premium-progressbar-progress-bar {
1302
- float: right;
1303
- width: 0%;
1304
- height: 100%;
1305
- font-size: 12px;
1306
- line-height: 20px;
1307
- background: #6ec1e4;
1308
- text-align: center;
1309
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
1310
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
1311
- }
1312
- .progress-striped .progress-bar, .progress-bar-striped {
1313
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
1314
- background-image: -webkit-linear-gradient(-135deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
1315
- background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
1316
- -webkit-background-size: 40px 40px;
1317
- background-size: 40px 40px;
1318
- }
1319
- .pa-progress.active .progress-bar, .progress-bar.active {
1320
- -webkit-animation: progress-bar-stripes 2s linear infinite;
1321
- animation: progress-bar-stripes 2s linear infinite;
1322
- }
1323
- .premium-progressbar-progress{
1324
- position: relative;
1325
- text-align:right;
1326
- }
1327
- .premium-progressbar-progress-bar {
1328
- position: absolute;
1329
- overflow: hidden;
1330
- line-height: 20px;
1331
- }
1332
- .premium-progressbar-container .clearfix {
1333
- clear: both;
1334
- }
1335
- /*Progress Bar Style*/
1336
- .premium-progressbar-progress-bar {
1337
- -webkit-transition: width 0s ease-in-out !important;
1338
- transition: width 0s ease-in-out !important;
1339
- }
1340
- /*Left Label Style*/
1341
- .premium-progressbar-container p:first-of-type{
1342
- margin:0;
1343
- float:right;
1344
- }
1345
- /*Right Label Style*/
1346
- .premium-progressbar-container p:nth-of-type(2){
1347
- margin: 0;
1348
- float: left;
1349
- }
1350
- .premium-progressbar-name{
1351
- right:50%;
1352
- top :0;
1353
- left:0;
1354
- -webkit-transform: translateX(12.5px);
1355
- -ms-transform: translateX(12.5px);
1356
- transform: translateX(12.5px);
1357
- z-index:1;
1358
- }
1359
- .premium-progressbar-multiple-label{
1360
- position:relative;
1361
- float:right;
1362
- width:0;
1363
- right:50%;
1364
- }
1365
- .premium-progressbar-center-label{
1366
- position:relative;
1367
- white-space:nowrap;
1368
- }
1369
- .premium-progressbar-arrow {
1370
- right:50%;
1371
- display: inline-block;
1372
- border-right: 7px solid transparent;
1373
- border-left: 7px solid transparent;
1374
- border-top: 11px solid ;
1375
- -webkit-transform: translateX(50%);
1376
- -ms-transform: translateX(50%);
1377
- transform: translateX(50%);
1378
- }
1379
- .premium-progressbar-pin {
1380
- border-right: 1px solid;
1381
- height: 12px;
1382
- right:50%;
1383
- display: inline-block;
1384
- }
1385
- @-webkit-keyframes progress-bar-stripes {
1386
- from {
1387
- background-position: 100% 0;
1388
- }
1389
- to {
1390
- background-position: 40px 0;
1391
- }
1392
- }
1393
- @keyframes progress-bar-stripes {
1394
- from {
1395
- background-position: 100% 0;
1396
- }
1397
- to {
1398
- background-position: 40px 0;
1399
- }
1400
- }
1401
- /**************** Premium Testimonials ****************/
1402
- /******************************************************/
1403
- /*Testimonial Container Style*/
1404
- .premium-testimonial-box {
1405
- width: 100%;
1406
- background: transparent;
1407
- -webkit-transition: all 0.3s ease-in-out;
1408
- transition: all 0.3s ease-in-out;
1409
- }
1410
- /*Testimonial Title Style*/
1411
- .premium-testimonial-box .premium-testimonial-person-name, .premium-testimonial-box .premium-testimonial-company-name {
1412
- display: inline;
1413
- font-weight: 600;
1414
- margin: 0;
1415
- }
1416
- /*Testimonial Text Style*/
1417
- .premium-testimonial-container {
1418
- position: relative;
1419
- }
1420
- /*Testimonial Img Container Style*/
1421
- .premium-testimonial-img-wrapper {
1422
- margin-right: auto;
1423
- margin-left: auto;
1424
- overflow: hidden;
1425
- }
1426
- /*Testimonial Person Image Style*/
1427
- .premium-testimonial-person-image {
1428
- -o-object-fit: cover;
1429
- object-fit: cover;
1430
- width: 100%;
1431
- height: 100% !important;
1432
- border-style: solid !important;
1433
- }
1434
- /*Testimonial Content Wrapper Style*/
1435
- .premium-testimonial-content-wrapper {
1436
- position: relative;
1437
- display: -ms-flexbox;
1438
- display: -webkit-flex;
1439
- display: -moz-flex;
1440
- display: -ms-flex;
1441
- -js-display: flex;
1442
- display: -webkit-box;
1443
- display: -moz-box;
1444
- display: flex;
1445
- -webkit-box-orient: vertical;
1446
- -webkit-box-direction: normal;
1447
- -webkit-flex-direction: column;
1448
- -moz-box-orient: vertical;
1449
- -moz-box-direction: normal;
1450
- -ms-flex-direction: column;
1451
- flex-direction: column;
1452
- z-index: 2;
1453
- width: 100%;
1454
- padding: 20px;
1455
- text-align: center;
1456
- }
1457
- /*Testimonial Quotes Container Div Style*/
1458
- .premium-testimonial-quotes-wrapper {
1459
- z-index: 1;
1460
- }
1461
- /*Clear Float*/
1462
- .premium-testimonial-clear-float {
1463
- clear: both;
1464
- }
1465
- /*Upper Quote Style*/
1466
- .premium-testimonial-upper-quote {
1467
- position: absolute;
1468
- z-index: 1;
1469
- }
1470
- /*Lower Quote Style*/
1471
- .premium-testimonial-lower-quote{
1472
- position:absolute;
1473
- z-index: 1;
1474
- }
1475
- /*Author Info Container Div Style*/
1476
- .premium-testimonial-author-info {
1477
- display: block;
1478
- }
1479
- /**************** Premium Title ****************/
1480
- /***********************************************/
1481
- /*Title Container Div Style*/
1482
- .premium-title-container {
1483
- position: relative;
1484
- width: 100%;
1485
- clear: both;
1486
- overflow: hidden;
1487
- }
1488
- /*Header Style*/
1489
- .premium-title-container .premium-title-header {
1490
- margin: 0;
1491
- padding: 10px;
1492
- }
1493
- .premium-title-header svg {
1494
- width: 40px;
1495
- height: 40px;
1496
- }
1497
- /*Style 2,3,6,7,8 Header*/
1498
- .premium-title-style1, .premium-title-style2, .premium-title-style5, .premium-title-style6 {
1499
- display: inline-block;
1500
- float: none;
1501
- }
1502
- .premium-title-style7 {
1503
- display: -webkit-inline-box;
1504
- display: -webkit-inline-flex;
1505
- display: -ms-inline-flexbox;
1506
- -js-display: inline-flex;
1507
- display: -moz-inline-box;
1508
- display: inline-flex;
1509
- -webkit-flex-direction: column;
1510
- -ms-flex-direction: column;
1511
- -webkit-box-orient: vertical;
1512
- -webkit-box-direction: normal;
1513
- -moz-box-orient: vertical;
1514
- -moz-box-direction: normal;
1515
- flex-direction: column;
1516
- }
1517
- .premium-title-style1 {
1518
- border-right: 3px solid #6ec1e4;
1519
- }
1520
- .premium-title-container.style2, .premium-title-container.style4, .premium-title-container.style5, .premium-title-container.style6 {
1521
- border-bottom: 3px solid #6ec1e4;
1522
- }
1523
- /*Style 6 Header*/
1524
- .premium-title-style6{
1525
- position: relative;
1526
- }
1527
- /*Style 6 Trinagle*/
1528
- .premium-title-style6:before {
1529
- position: absolute;
1530
- right: 50%;
1531
- bottom: 0;
1532
- margin-right: -2px;
1533
- content: '';
1534
- border: 3px solid transparent;
1535
- }
1536
- .premium-title-style7-stripe-wrap {
1537
- display: -ms-flexbox;
1538
- display: -webkit-flex;
1539
- display: -moz-flex;
1540
- display: -ms-flex;
1541
- -js-display: flex;
1542
- display: -webkit-box;
1543
- display: -moz-box;
1544
- display: flex;
1545
- }
1546
- .premium-title-style7:before {
1547
- display: none;
1548
- }
1549
- /**************** Premium Video Box ************/
1550
- /***********************************************/
1551
- .premium-video-box-container {
1552
- position: relative;
1553
- height: 0;
1554
- }
1555
- .pa-aspect-ratio-11 .premium-video-box-container {
1556
- padding-bottom: 100%;
1557
- }
1558
- .pa-aspect-ratio-169 .premium-video-box-container {
1559
- padding-bottom: 56.25%;
1560
- }
1561
- .pa-aspect-ratio-43 .premium-video-box-container {
1562
- padding-bottom: 75%;
1563
- }
1564
- .pa-aspect-ratio-32 .premium-video-box-container {
1565
- padding-bottom: 66.6666%;
1566
- }
1567
- .pa-aspect-ratio-219 .premium-video-box-container {
1568
- padding-bottom: 42.8571%;
1569
- }
1570
- .premium-video-box-image-container {
1571
- position: absolute;
1572
- top: 0;
1573
- right: 0;
1574
- width: 100%;
1575
- height: 100%;
1576
- -webkit-background-size: cover;
1577
- background-size: cover;
1578
- background-position: 50%;
1579
- cursor: pointer;
1580
- }
1581
- .premium-video-box-play-icon-container {
1582
- position: absolute;
1583
- z-index: 2;
1584
- cursor: pointer;
1585
- -webkit-transform: translate(50%,-50%);
1586
- -ms-transform: translate(50%,-50%);
1587
- transform: translate(50%,-50%);
1588
- background: rgba(252,252,252,0.35);
1589
- }
1590
- .premium-video-box-description-container {
1591
- position: absolute;
1592
- z-index: 1;
1593
- padding: 5px;
1594
- text-align: center;
1595
- cursor: pointer;
1596
- -webkit-transform: translate(50%,-50%);
1597
- -ms-transform: translate(50%,-50%);
1598
- transform: translate(50%,-50%);
1599
- }
1600
- .premium-video-box-text {
1601
- margin-bottom: 0 !important;
1602
- -webkit-transition: all 0.3s ease-in-out;
1603
- transition: all 0.3s ease-in-out;
1604
- }
1605
- .premium-video-box-play-icon{
1606
- padding: 15px;
1607
- -webkit-transform: translateX(-4%);
1608
- -ms-transform: translateX(-4%);
1609
- transform: translateX(-4%);
1610
- -webkit-transition: all 0.3s ease-in-out;
1611
- transition: all 0.3s ease-in-out;
1612
- }
1613
- .premium-video-box-video-container {
1614
- position: absolute;
1615
- top: 0;
1616
- right: 0;
1617
- z-index: 2;
1618
- width: 100%;
1619
- height: 100%;
1620
- -webkit-transition: opacity 0.8s ease-in-out;
1621
- transition: opacity 0.8s ease-in-out;
1622
- overflow: hidden;
1623
- cursor: pointer;
1624
- }
1625
- .premium-video-box-container[data-overlay="true"][data-type="self"] .premium-video-box-video-container {
1626
- opacity: 0;
1627
- visibility: hidden;
1628
- }
1629
- .premium-video-box-video-container iframe, .premium-video-box-video-container video {
1630
- max-width: 100%;
1631
- width: 100%;
1632
- height: 100%;
1633
- margin: 0;
1634
- line-height: 1;
1635
- border: none;
1636
- }
1637
- .premium-video-box-video-container video {
1638
- background-color: #000;
1639
- -o-object-fit: contain;
1640
- object-fit: contain;
1641
- }
1642
- /**************** Premium Blog *****************/
1643
- /***********************************************/
1644
- .premium-blog-post-container {
1645
- padding: 15px;
1646
- }
1647
- .premium-blog-thumb-effect-wrapper {
1648
- position: relative;
1649
- overflow: hidden;
1650
- }
1651
- .premium-blog-thumbnail-container {
1652
- overflow: hidden;
1653
- }
1654
- .premium-blog-post-link {
1655
- position: absolute;
1656
- top: 0;
1657
- right: 0;
1658
- width: 100%;
1659
- height: 100%;
1660
- z-index: 99;
1661
- }
1662
- .premium-blog-post-link:hover {
1663
- -webkit-box-shadow: none !important;
1664
- box-shadow: none !important;
1665
- border: none !important;
1666
- outline: none !important;
1667
- }
1668
- /*Thumbnail Img*/
1669
- .premium-blog-thumbnail-container img, .premium-blog-thumbnail-container .below-entry-meta{
1670
- width: 100%;
1671
- height: 100%;
1672
- margin: 0 !important;
1673
- -webkit-transition: all 0.4s ease-in-out;
1674
- transition: all 0.4s ease-in-out;
1675
- }
1676
- .premium-blog-thumb-effect-wrapper .premium-blog-zoomout-effect img, .premium-blog-thumb-effect-wrapper .premium-blog-scale-effect img {
1677
- -webkit-transform: scale(1.2);
1678
- -ms-transform: scale(1.2);
1679
- transform: scale(1.2);
1680
- }
1681
- .premium-blog-thumb-effect-wrapper .premium-blog-sepia-effect img {
1682
- -webkit-filter: sepia(30%);
1683
- filter: sepia(30%);
1684
- }
1685
- .premium-blog-thumb-effect-wrapper .premium-blog-bright-effect img {
1686
- -webkit-filter: brightness(1);
1687
- filter: brightness(1);
1688
- }
1689
- .premium-blog-thumb-effect-wrapper .premium-blog-trans-effect img {
1690
- -webkit-transform: translateX(15px) scale(1.1);
1691
- -ms-transform: translateX(15px) scale(1.1);
1692
- transform: translateX(15px) scale(1.1);
1693
- }
1694
- /*Thumbnail Container Hover*/
1695
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-zoomin-effect img {
1696
- -webkit-transform: scale(1.2);
1697
- -ms-transform: scale(1.2);
1698
- transform: scale(1.2);
1699
- }
1700
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-zoomout-effect img {
1701
- -webkit-transform: scale(1.1);
1702
- -ms-transform: scale(1.1);
1703
- transform: scale(1.1);
1704
- }
1705
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-scale-effect img {
1706
- -webkit-transform: scale(1.3) rotate(-5deg);
1707
- -ms-transform: scale(1.3) rotate(-5deg);
1708
- transform: scale(1.3) rotate(-5deg);
1709
- }
1710
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-gray-effect img {
1711
- -webkit-filter: grayscale(100%);
1712
- filter: grayscale(100%);
1713
- }
1714
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-blur-effect img {
1715
- -webkit-filter: blur(3px);
1716
- filter: blur(3px);
1717
- }
1718
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-sepia-effect img {
1719
- -webkit-filter: sepia(0%);
1720
- filter: sepia(0%);
1721
- }
1722
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-bright-effect img {
1723
- -webkit-filter: brightness(1.2);
1724
- filter: brightness(1.2);
1725
- }
1726
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-trans-effect img {
1727
- -webkit-transform: translateX(0px) scale(1.1);
1728
- -ms-transform: translateX(0px) scale(1.1);
1729
- transform: translateX(0px) scale(1.1);
1730
- }
1731
- .premium-blog-post-container:not(.premium-blog-skin-classic) .premium-blog-thumbnail-container:before, .premium-blog-post-container:not(.premium-blog-skin-classic) .premium-blog-thumbnail-container:after {
1732
- position: absolute;
1733
- content: '';
1734
- z-index: 1;
1735
- top: 50%;
1736
- right: 50%;
1737
- opacity: 0;
1738
- -webkit-transform: translate(50%,-50%);
1739
- -ms-transform: translate(50%,-50%);
1740
- transform: translate(50%,-50%);
1741
- -webkit-transition: all 0.4s linear 0s;
1742
- transition: all 0.4s linear 0s;
1743
- height: 1px;
1744
- width: 100%;
1745
- }
1746
- .premium-blog-post-container:not(.premium-blog-skin-classic) .premium-blog-thumbnail-container:before {
1747
- width: 1px;
1748
- height: 100%;
1749
- }
1750
- .premium-blog-post-container:not(.premium-blog-skin-classic) .premium-blog-thumb-effect-wrapper:hover .premium-blog-thumbnail-container:after {
1751
- width: 20px;
1752
- opacity: 1;
1753
- }
1754
- .premium-blog-post-container:not(.premium-blog-skin-classic) .premium-blog-thumb-effect-wrapper:hover .premium-blog-thumbnail-container:before {
1755
- height: 20px;
1756
- opacity: 1;
1757
- }
1758
- .premium-blog-diagonal-container {
1759
- position: absolute;
1760
- top: 0;
1761
- right: 0;
1762
- width: 100%;
1763
- height: 100%;
1764
- }
1765
- .premium-blog-diagonal-effect:before {
1766
- position: absolute;
1767
- top: 0px;
1768
- right: 0px;
1769
- width: 100%;
1770
- height: 100%;
1771
- content: " ";
1772
- z-index: 1;
1773
- background: rgba(255,255,255,0.2);
1774
- -webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,-150%,0);
1775
- -ms-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,-150%,0);
1776
- transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,-150%,0);
1777
- -webkit-transition: all 0.3s linear 0s;
1778
- transition: all 0.3s linear 0s;
1779
- }
1780
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-diagonal-effect:before {
1781
- -webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,150%,0);
1782
- -ms-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,150%,0);
1783
- transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,150%,0);
1784
- }
1785
- .premium-blog-framed-effect {
1786
- position: absolute;
1787
- width: -webkit-calc(100% - 30px);
1788
- width: calc(100% - 30px);
1789
- height: -webkit-calc(100% - 30px);
1790
- height: calc(100% - 30px);
1791
- top: 15px;
1792
- right: 15px;
1793
- opacity: 0;
1794
- -webkit-transform: scale(0.3);
1795
- -ms-transform: scale(0.3);
1796
- transform: scale(0.3);
1797
- -webkit-transition: all 0.3s linear 0s;
1798
- transition: all 0.3s linear 0s;
1799
- }
1800
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-framed-effect {
1801
- opacity: 0.99;
1802
- -webkit-transform: scale(1);
1803
- -ms-transform: scale(1);
1804
- transform: scale(1);
1805
- }
1806
- .premium-blog-bordered-effect {
1807
- position: absolute;
1808
- top: 0;
1809
- right: 0;
1810
- width: 100%;
1811
- height: 100%;
1812
- opacity: 0;
1813
- padding: 15px;
1814
- -webkit-transition: all 0.3s linear 0s;
1815
- transition: all 0.3s linear 0s;
1816
- }
1817
- .premium-blog-bordered-border-container {
1818
- width: 100%;
1819
- height: 100%;
1820
- border: 2px solid;
1821
- -webkit-transform: scale(0,1);
1822
- -ms-transform: scale(0,1);
1823
- transform: scale(0,1);
1824
- -webkit-transform-origin: 100% 0;
1825
- -ms-transform-origin: 100% 0;
1826
- transform-origin: 100% 0;
1827
- -webkit-transition: all 0.3s linear 0s;
1828
- transition: all 0.3s linear 0s;
1829
- }
1830
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-bordered-effect {
1831
- opacity: 0.99;
1832
- }
1833
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-bordered-effect .premium-blog-bordered-border-container {
1834
- -webkit-transform: scale(1,1);
1835
- -ms-transform: scale(1,1);
1836
- transform: scale(1,1);
1837
- }
1838
- .premium-blog-squares-effect, .premium-blog-squares-square-container{
1839
- position: absolute;
1840
- top: 0;
1841
- right: 0;
1842
- width: 100%;
1843
- height: 100%;
1844
- }
1845
- .premium-blog-squares-effect:before, .premium-blog-squares-effect:after, .premium-blog-squares-square-container:before, .premium-blog-squares-square-container:after{
1846
- position: absolute;
1847
- content: '';
1848
- top: 0;
1849
- right: 0;
1850
- width: 50%;
1851
- height: 50%;
1852
- -webkit-transform: translate(100%,-100%);
1853
- -ms-transform: translate(100%,-100%);
1854
- transform: translate(100%,-100%);
1855
- opacity: 0.7;
1856
- -webkit-transition: all 0.3s linear 0s;
1857
- transition: all 0.3s linear 0s;
1858
- }
1859
- .premium-blog-squares-square-container:before, .premium-blog-squares-square-container:after {
1860
- opacity: 0.8;
1861
- }
1862
- .premium-blog-squares-effect:after {
1863
- -webkit-transform: translate(-200%,200%);
1864
- -ms-transform: translate(-200%,200%);
1865
- transform: translate(-200%,200%);
1866
- }
1867
- .premium-blog-squares-square-container:before{
1868
- -webkit-transform: translate(100%,200%);
1869
- -ms-transform: translate(100%,200%);
1870
- transform: translate(100%,200%);
1871
- }
1872
- .premium-blog-squares-square-container:after {
1873
- -webkit-transform: translate(-200%,-100%);
1874
- -ms-transform: translate(-200%,-100%);
1875
- transform: translate(-200%,-100%);
1876
- }
1877
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-squares-effect:before {
1878
- -webkit-transform: translate(0,0%) scaleY(1.003) scaleX(1.003);
1879
- -ms-transform: translate(0,0%) scaleY(1.003) scaleX(1.003);
1880
- transform: translate(0,0%) scaleY(1.003) scaleX(1.003);
1881
- }
1882
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-squares-effect:after {
1883
- -webkit-transform: translate(-100%,100%) scaleY(1.003) scaleX(1.003);
1884
- -ms-transform: translate(-100%,100%) scaleY(1.003) scaleX(1.003);
1885
- transform: translate(-100%,100%) scaleY(1.003) scaleX(1.003);
1886
- }
1887
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-squares-square-container:before{
1888
- -webkit-transform: translate(0,100%);
1889
- -ms-transform: translate(0,100%);
1890
- transform: translate(0,100%);
1891
- }
1892
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-squares-square-container:after{
1893
- -webkit-transform: translate(-100%,0%);
1894
- -ms-transform: translate(-100%,0%);
1895
- transform: translate(-100%,0%);
1896
- }
1897
- .premium-blog-post-container:not(.premium-blog-skin-classic) .premium-blog-content-wrapper {
1898
- margin: 0px 10px 20px;
1899
- clear: both;
1900
- }
1901
- .premium-blog-post-container .premium-blog-content-wrapper {
1902
- padding: 30px;
1903
- }
1904
- .premium-blog-skin-classic .premium-blog-thumbnail-overlay {
1905
- position: absolute;
1906
- top: 0;
1907
- right: 0;
1908
- display: -ms-flexbox;
1909
- display: -webkit-flex;
1910
- display: -moz-flex;
1911
- display: -ms-flex;
1912
- -js-display: flex;
1913
- display: -webkit-box;
1914
- display: -moz-box;
1915
- display: flex;
1916
- -webkit-justify-content: center;
1917
- -webkit-box-pack: center;
1918
- -moz-box-pack: center;
1919
- -ms-flex-pack: center;
1920
- justify-content: center;
1921
- -webkit-box-align: center;
1922
- -ms-flex-align: center;
1923
- -webkit-align-items: center;
1924
- -ms-flex-align: center;
1925
- -moz-box-align: center;
1926
- align-items: center;
1927
- width: 100%;
1928
- height: 100%;
1929
- -webkit-transition: all 0.3s ease-in-out;
1930
- transition: all 0.3s ease-in-out;
1931
- opacity: 0;
1932
- }
1933
- .premium-blog-skin-classic .premium-blog-thumbnail-overlay a {
1934
- -webkit-transform: scale(0);
1935
- -ms-transform: scale(0);
1936
- transform: scale(0);
1937
- -webkit-transition: all .5s ease-in-out 0s;
1938
- transition: all .5s ease-in-out 0s;
1939
- }
1940
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-thumbnail-overlay a {
1941
- opacity: 1;
1942
- -webkit-transform: scale(1);
1943
- -ms-transform: scale(1);
1944
- transform: scale(1);
1945
- }
1946
- .premium-blog-thumb-effect-wrapper:hover .premium-blog-thumbnail-overlay {
1947
- opacity: 1;
1948
- }
1949
- .premium-blog-skin-modern .premium-blog-content-wrapper {
1950
- position: relative;
1951
- z-index: 2;
1952
- top: -50px;
1953
- }
1954
- .premium-blog-content-wrapper.empty-thumb {
1955
- top: 0;
1956
- }
1957
- .premium-blog-clear-fix {
1958
- clear: both;
1959
- }
1960
- .premium-blog-content-wrapper .premium-blog-inner-container {
1961
- display: -ms-flexbox;
1962
- display: -webkit-flex;
1963
- display: -moz-flex;
1964
- display: -ms-flex;
1965
- -js-display: flex;
1966
- display: -webkit-box;
1967
- display: -moz-box;
1968
- display: flex;
1969
- }
1970
- /*Post Format Container*/
1971
- .premium-blog-format-container {
1972
- display: -ms-flexbox;
1973
- display: -webkit-flex;
1974
- display: -moz-flex;
1975
- display: -ms-flex;
1976
- -js-display: flex;
1977
- display: -webkit-box;
1978
- display: -moz-box;
1979
- display: flex;
1980
- -webkit-box-align: center;
1981
- -webkit-align-items: center;
1982
- -moz-box-align: center;
1983
- -ms-flex-align: center;
1984
- align-items: center;
1985
- -webkit-box-pack: center;
1986
- -webkit-justify-content: center;
1987
- -moz-box-pack: center;
1988
- -ms-flex-pack: center;
1989
- justify-content: center;
1990
- cursor: pointer;
1991
- background: #eee;
1992
- width: 55px;
1993
- height: 55px;
1994
- font-size: 25px;
1995
- margin-left: 20px;
1996
- text-align: center;
1997
- -webkit-transition: all 0.3s ease-in-out;
1998
- transition: all 0.3s ease-in-out;
1999
- }
2000
- .premium-blog-format-link {
2001
- line-height: 0;
2002
- }
2003
- /*Post Format Icon*/
2004
- .premium-blog-format-container i {
2005
- -webkit-transition: all 0.3s ease-in-out;
2006
- transition: all 0.3s ease-in-out;
2007
- }
2008
- .premium-blog-entry-title {
2009
- display: inline;
2010
- margin-bottom: 0px;
2011
- }
2012
- .premium-blog-entry-meta {
2013
- margin-bottom: 8px;
2014
- }
2015
- .premium-blog-entry-meta i{
2016
- margin-left: 3px;
2017
- -webkit-transition: all 0.3s ease-in-out;
2018
- transition: all 0.3s ease-in-out;
2019
- }
2020
- .premium-blog-post-tags-container a{
2021
- -webkit-transition: all 0.3s ease-in-out;
2022
- transition: all 0.3s ease-in-out;
2023
- }
2024
- .premium-blog-meta-data .premium-blog-meta-separator {
2025
- margin: 0 5px;
2026
- }
2027
- .premium-blog-post-content {
2028
- padding: 14px 0;
2029
- }
2030
- .premium-blog-skin-modern .premium-blog-post-content {
2031
- border-top: 1px solid #eaeaea;
2032
- }
2033
- .premium-blog-post-container.cards .premium-blog-post-content {
2034
- border-bottom: 1px solid #eaeaea;
2035
- }
2036
- .premium-blog-post-container.cards .premium-blog-post-content {
2037
- border-bottom: 1px solid #eaeaea;
2038
- }
2039
- .premium-blog-post-container.cards .premium-blog-entry-meta {
2040
- padding-top: 14px;
2041
- }
2042
- .premium-blog-author-thumbnail {
2043
- position: relative;
2044
- padding: 0 30px;
2045
- width: 100%;
2046
- top: -10px;
2047
- height: 0;
2048
- pointer-events: none;
2049
- }
2050
- .premium-blog-author-thumbnail img {
2051
- -webkit-border-radius: 50%;
2052
- border-radius: 50%;
2053
- width: 60px;
2054
- pointer-events: all;
2055
- -webkit-transform: translateY(-50%);
2056
- -ms-transform: translateY(-50%);
2057
- transform: translateY(-50%);
2058
- }
2059
- .premium-blog-post-content {
2060
- margin-top: 0;
2061
- margin-right: 75px;
2062
- }
2063
- .premium-blog-post-tags-container {
2064
- margin-top: 8px;
2065
- margin-right: 75px;
2066
- }
2067
- .premium-blog-entry-title a, .premium-blog-meta-data a, .premium-blog-post-tags a, .premium-blog-post-content .premium-blog-excerpt-link{
2068
- -webkit-transition: color 0.3s ease-in-out;
2069
- transition: color 0.3s ease-in-out;
2070
- }
2071
- .premium-blog-pagination-container {
2072
- padding: 15px;
2073
- margin-top: -30px;
2074
- text-align: left;
2075
- }
2076
- .premium-blog-pagination-container ul.page-numbers {
2077
- display: -ms-flexbox;
2078
- display: -webkit-flex;
2079
- display: -moz-flex;
2080
- display: -ms-flex;
2081
- -js-display: flex;
2082
- display: -webkit-box;
2083
- display: -moz-box;
2084
- display: flex;
2085
- list-style-type: none;
2086
- margin: 0;
2087
- margin-top: 10px;
2088
- padding: 0;
2089
- border: none;
2090
- -webkit-justify-content: center;
2091
- -moz-justify-content: center;
2092
- -ms-justify-content: center;
2093
- -webkit-box-pack: center;
2094
- -moz-box-pack: center;
2095
- -ms-flex-pack: center;
2096
- justify-content: center;
2097
- }
2098
- .premium-blog-pagination-container li {
2099
- margin: 0 0 0.4em 0.4em;
2100
- padding: 0;
2101
- text-align: center;
2102
- }
2103
- .premium-blog-pagination-container li span {
2104
- cursor: default;
2105
- }
2106
- .premium-blog-pagination-container li .page-numbers {
2107
- margin: 0;
2108
- text-decoration: none;
2109
- color: #000;
2110
- padding: 0;
2111
- line-height: 1;
2112
- font-size: 1em;
2113
- font-weight: 400;
2114
- padding: .75em;
2115
- display: block;
2116
- min-width: 2.5em;
2117
- -webkit-transition: all 0.2s ease-in-out;
2118
- -mos-transition: all 0.2s ease-in-out;
2119
- transition: all 0.2s ease-in-out;
2120
- }
2121
- .premium-blog-wrap {
2122
- display: -ms-flexbox;
2123
- display: -webkit-flex;
2124
- display: -moz-flex;
2125
- display: -ms-flex;
2126
- -js-display: flex;
2127
- display: -webkit-box;
2128
- display: -moz-box;
2129
- display: flex;
2130
- -webkit-flex-wrap: wrap;
2131
- -ms-flex-wrap: wrap;
2132
- flex-wrap: wrap;
2133
- }
2134
- .premium-blog-wrap.premium-blog-col-3 .premium-blog-entry-meta, .premium-blog-wrap.premium-blog-col-3 .premium-blog-post-content, .premium-blog-wrap.premium-blog-col-3 .premium-blog-post-tags-container, .premium-blog-wrap.premium-blog-col-4 .premium-blog-entry-meta, .premium-blog-wrap.premium-blog-col-4 .premium-blog-post-content, .premium-blog-wrap.premium-blog-col-4 .premium-blog-post-tags-container {
2135
- margin-right: 0;
2136
- }
2137
- .premium-blog-wrap.premium-blog-col-3 .premium-blog-format-container, .premium-blog-wrap.premium-blog-col-4 .premium-blog-format-container {
2138
- display: none;
2139
- }
2140
- .premium-blog-wrap.premium-blog-col-3 .premium-blog-entry-title, .premium-blog-wrap.premium-blog-col-4 .premium-blog-entry-title {
2141
- line-height: 1;
2142
- }
2143
- .premium-blog-wrap.premium-blog-col-3 .premium-blog-entry-title a, .premium-blog-wrap.premium-blog-col-4 .premium-blog-entry-title a{
2144
- font-size: 20px;
2145
- }
2146
- /* * Carousel */
2147
- .premium-blog-wrap ul.slick-dots {
2148
- width: 100%;
2149
- }
2150
- /* * Even Layout */
2151
- .premium-blog-even .premium-blog-post-container {
2152
- height: 100%;
2153
- }
2154
- @media ( max-width: 1025px ) {
2155
- .premium-blog-entry-title a {
2156
- font-size: 18px;
2157
- }
2158
- }
2159
- @media ( max-width: 768px ) {
2160
- .premium-blog-content-wrapper {
2161
- top: 0;
2162
- margin: 0;
2163
- padding: 15px;
2164
- }
2165
- .premium-blog-thumb-effect-wrapper {
2166
- margin-bottom: 15px;
2167
- }
2168
- .premium-blog-format-container {
2169
- display: none;
2170
- }
2171
- .premium-blog-entry-title {
2172
- line-height: 1;
2173
- }
2174
- .premium-blog-entry-title a {
2175
- font-size: 16px;
2176
- }
2177
- .premium-blog-entry-meta, .premium-blog-post-content {
2178
- margin-right: 0px;
2179
- }
2180
- .premium-blog-post-tags-container {
2181
- margin-right: 0px;
2182
- }
2183
- }
2184
- /**************** Premium Person ******************/
2185
- /**************************************************/
2186
- .premium-person-container {
2187
- position: relative;
2188
- }
2189
- .premium-person-style1 {
2190
- overflow: hidden;
2191
- }
2192
- .premium-person-image-container {
2193
- position: relative;
2194
- text-align: center;
2195
- }
2196
- .premium-person-image-container .premium-person-image-wrap {
2197
- overflow: hidden;
2198
- }
2199
- .premium-person-zoomout-effect .premium-person-image-container img, .premium-person-scale-effect .premium-person-image-container img {
2200
- -webkit-transform: scale(1.2);
2201
- -ms-transform: scale(1.2);
2202
- transform: scale(1.2);
2203
- }
2204
- .premium-person-sepia-effect .premium-person-image-container img {
2205
- -webkit-filter: sepia(30%);
2206
- filter: sepia(30%);
2207
- }
2208
- .premium-person-bright-effect .premium-person-image-container img {
2209
- -webkit-filter: brightness(1);
2210
- filter: brightness(1);
2211
- }
2212
- .premium-person-trans-effect .premium-person-image-container img {
2213
- -webkit-transform: translateX(15px) scale(1.1);
2214
- -ms-transform: translateX(15px) scale(1.1);
2215
- transform: translateX(15px) scale(1.1);
2216
- }
2217
- .premium-person-zoomin-effect:hover .premium-person-image-container img{
2218
- -webkit-transform: scale(1.2);
2219
- -ms-transform: scale(1.2);
2220
- transform: scale(1.2);
2221
- }
2222
- .premium-person-zoomout-effect:hover .premium-person-image-container img{
2223
- -webkit-transform: scale(1.1);
2224
- -ms-transform: scale(1.1);
2225
- transform: scale(1.1);
2226
- }
2227
- .premium-person-scale-effect:hover .premium-person-image-container img {
2228
- -webkit-transform: scale(1.3) rotate(-5deg);
2229
- -ms-transform: scale(1.3) rotate(-5deg);
2230
- transform: scale(1.3) rotate(-5deg);
2231
- }
2232
- .premium-person-grayscale-effect:hover .premium-person-image-container img {
2233
- -webkit-filter: grayscale(100%);
2234
- -moz-filter: grayscale(100%);
2235
- -ms-filter: grayscale(100%);
2236
- -o-filter: grayscale(100%);
2237
- filter: grayscale(100%);
2238
- }
2239
- .premium-person-blur-effect:hover .premium-person-image-container img {
2240
- -webkit-filter: blur(3px);
2241
- -moz-filter: blur(3px);
2242
- -ms-filter: blur(3px);
2243
- -o-filter: blur(3px);
2244
- filter: blur(3px);
2245
- }
2246
- .premium-person-sepia-effect:hover .premium-person-image-container img {
2247
- -webkit-filter: sepia(0%);
2248
- filter: sepia(0%);
2249
- }
2250
- .premium-person-bright-effect:hover .premium-person-image-container img {
2251
- -webkit-filter: brightness(1.2);
2252
- filter: brightness(1.2);
2253
- }
2254
- .premium-person-trans-effect:hover .premium-person-image-container img {
2255
- -webkit-transform: translateX(0px) scale(1.1);
2256
- -ms-transform: translateX(0px) scale(1.1);
2257
- transform: translateX(0px) scale(1.1);
2258
- }
2259
- .premium-person-container .premium-person-image-container img {
2260
- width: 100%;
2261
- height: 100%;
2262
- -o-object-fit: cover;
2263
- object-fit: cover;
2264
- -webkit-transition: all 0.5s ease-in-out;
2265
- transition: all 0.5s ease-in-out;
2266
- }
2267
- .premium-person-style1 .premium-person-info {
2268
- position: absolute;
2269
- top: auto;
2270
- left: 0;
2271
- right: 0;
2272
- /* width: 100%;*/
2273
- -webkit-transition: all 500ms ease 0s;
2274
- transition: all 500ms ease 0s;
2275
- -webkit-transform: translate3d(0,100%,0);
2276
- -ms-transform: translate3d(0,100%,0);
2277
- transform: translate3d(0,100%,0);
2278
- }
2279
- .premium-person-style2 .premium-person-social {
2280
- position: absolute;
2281
- top: 0;
2282
- right: 0;
2283
- width: 100%;
2284
- height: 100%;
2285
- z-index: 2;
2286
- display: -ms-flexbox;
2287
- display: -webkit-flex;
2288
- display: -moz-flex;
2289
- display: -ms-flex;
2290
- -js-display: flex;
2291
- display: -webkit-box;
2292
- display: -moz-box;
2293
- display: flex;
2294
- -webkit-justify-content: center;
2295
- -webkit-box-pack: center;
2296
- -moz-box-pack: center;
2297
- -ms-flex-pack: center;
2298
- justify-content: center;
2299
- -webkit-box-align: center;
2300
- -ms-flex-align: center;
2301
- -webkit-align-items: center;
2302
- -ms-flex-align: center;
2303
- -moz-box-align: center;
2304
- align-items: center;
2305
- box-shadow: inset 0 0 120px 0 rgba(0,0,0,.5);
2306
- -webkit-box-shadow: inset 0 0 120px 0 rgba(0,0,0,.5);
2307
- -moz-box-shadow: inset 0 0 120px 0 rgba(0,0,0,.5);
2308
- -ms-box-shadow: inset 0 0 120px 0 rgba(0,0,0,.5);
2309
- -o-box-shadow: inset 0 0 120px 0 rgba(0,0,0,.5);
2310
- -webkit-transition: all .5s linear 0s;
2311
- transition: all .5s linear 0s;
2312
- opacity: 0;
2313
- }
2314
- .premium-person-style2 .premium-person-image-container:hover .premium-person-social {
2315
- opacity: 1;
2316
- }
2317
- .premium-person-list-item a {
2318
- display: inline-block;
2319
- }
2320
- .premium-person-style2 .premium-person-list-item a {
2321
- opacity: 0;
2322
- -webkit-transform: scale(0);
2323
- -ms-transform: scale(0);
2324
- transform: scale(0);
2325
- -webkit-transition: all .5s ease-in-out 0s;
2326
- transition: all .5s ease-in-out 0s;
2327
- }
2328
- .premium-person-style2 .premium-person-image-container:hover .premium-person-list-item a {
2329
- opacity: 1;
2330
- -webkit-transform: scale(1);
2331
- -ms-transform: scale(1);
2332
- transform: scale(1);
2333
- }
2334
- .premium-person-container:hover .premium-person-info {
2335
- -webkit-transform: translate3d(0,0,0);
2336
- -ms-transform: translate3d(0,0,0);
2337
- transform: translate3d(0,0,0);
2338
- bottom: -1px !important;
2339
- }
2340
- .premium-person-info-container {
2341
- padding: 30px 15px;
2342
- }
2343
- .premium-person-name {
2344
- margin: 0 0 5px;
2345
- font-weight: 700;
2346
- }
2347
- .premium-person-title {
2348
- margin: 0 0 20px;
2349
- padding: 0;
2350
- }
2351
- .premium-person-content {
2352
- margin: 0 0 30px;
2353
- }
2354
- /*Override Theme List Margin*/
2355
- ul.premium-person-social-list {
2356
- margin: 0px !important;
2357
- padding: 0;
2358
- }
2359
- .premium-person-social-list .premium-person-list-item {
2360
- display: inline;
2361
- list-style: none;
2362
- }
2363
- .premium-person-social-list li, .premium-person-social-list li i {
2364
- position: relative;
2365
- bottom: 0px;
2366
- -webkit-transition: all 0.2s ease-in-out;
2367
- transition: all 0.2s ease-in-out;
2368
- }
2369
- .premium-person-style1 .premium-person-social-list li:hover {
2370
- bottom: 5px;
2371
- }
2372
- .premium-person-defaults-yes li.premium-person-facebook:hover a {
2373
- background-color: #3b5998 !important;
2374
- }
2375
- .premium-person-defaults-yes li.premium-person-twitter:hover a {
2376
- background-color: #55acee !important;
2377
- }
2378
- .premium-person-defaults-yes li.premium-person-linkedin:hover a {
2379
- background-color: #0077b5 !important;
2380
- }
2381
- .premium-person-defaults-yes li.premium-person-google:hover a {
2382
- background-color: #dc4e41 !important;
2383
- }
2384
- .premium-person-defaults-yes li.premium-person-youtube:hover a {
2385
- background-color: #b31217 !important;
2386
- }
2387
- .premium-person-defaults-yes li.premium-person-instagram:hover a {
2388
- background-color: #E4405F !important;
2389
- }
2390
- .premium-person-defaults-yes li.premium-person-skype:hover a {
2391
- background-color: #00AFF0 !important;
2392
- }
2393
- .premium-person-defaults-yes li.premium-person-pinterest:hover a {
2394
- background-color: #bd081c !important;
2395
- }
2396
- .premium-person-defaults-yes li.premium-person-dribbble:hover a {
2397
- background-color: #ea4c89 !important;
2398
- }
2399
- .premium-person-defaults-yes li.premium-person-mail:hover a {
2400
- background-color: #b23121 !important;
2401
- }
2402
- .premium-person-defaults-yes li.premium-person-behance:hover a {
2403
- background-color: #1769ff !important;
2404
- }
2405
- .premium-person-defaults-yes li.premium-person-whatsapp:hover a {
2406
- background-color: #25d366 !important;
2407
- }
2408
- .premium-person-defaults-yes li.premium-person-telegram:hover a {
2409
- background-color: #0088cc !important;
2410
- }
2411
- .premium-person-social-list li:hover a {
2412
- -webkit-box-shadow: none;
2413
- box-shadow: none;
2414
- }
2415
- .premium-person-social-list li a:focus {
2416
- -webkit-box-shadow: none;
2417
- box-shadow: none;
2418
- outline: none;
2419
- }
2420
- .premium-person-social-list li i {
2421
- font-size: 18px;
2422
- }
2423
- .elementor-widget-premium-addon-person .elementor-widget-container {
2424
- display: -ms-flexbox;
2425
- display: -webkit-flex;
2426
- display: -moz-flex;
2427
- display: -ms-flex;
2428
- -js-display: flex;
2429
- display: -webkit-box;
2430
- display: -moz-box;
2431
- display: flex;
2432
- -webkit-box-pack: center;
2433
- -webkit-justify-content: center;
2434
- -moz-box-pack: center;
2435
- -ms-flex-pack: center;
2436
- justify-content: center;
2437
- }
2438
- /*
2439
- * Multiple Persons
2440
- */
2441
- .premium-persons-container.multiple-persons {
2442
- display: -ms-flexbox;
2443
- display: -webkit-flex;
2444
- display: -moz-flex;
2445
- display: -ms-flex;
2446
- -js-display: flex;
2447
- display: -webkit-box;
2448
- display: -moz-box;
2449
- display: flex;
2450
- -webkit-flex-wrap: wrap;
2451
- -ms-flex-wrap: wrap;
2452
- flex-wrap: wrap;
2453
- width: 100%;
2454
- }
2455
- .premium-person-widget-style1 .multiple-persons:not([data-persons-equal="yes"]) {
2456
- -webkit-align-items: flex-start;
2457
- -ms-flex-align: flex-start;
2458
- -webkit-box-align: start;
2459
- -moz-box-align: start;
2460
- align-items: flex-start;
2461
- }
2462
- .premium-person-widget-style1 .slick-track {
2463
- display: -ms-flexbox;
2464
- display: -webkit-flex;
2465
- display: -moz-flex;
2466
- display: -ms-flex;
2467
- -js-display: flex;
2468
- display: -webkit-box;
2469
- display: -moz-box;
2470
- display: flex;
2471
- }
2472
- .premium-person-widget-style1 .slick-slide {
2473
- height: inherit !important;
2474
- }
2475
- .premium-person-widget-style1 .multiple-persons[data-persons-equal="yes"] .premium-person-image-container,
2476
- .premium-person-widget-style1 .multiple-persons[data-persons-equal="yes"] .premium-person-image-wrap {
2477
- height: 100%;
2478
- }
2479
- /**************** Premium Dual Header ******************/
2480
- /*******************************************************/
2481
- .premium-dual-header-container .premium-dual-header-first-header, .premium-dual-header-container .premium-dual-header-second-header {
2482
- position: relative;
2483
- padding: 0;
2484
- margin: 0;
2485
- display: inline-block;
2486
- -webkit-transform: translate(0,0);
2487
- -ms-transform: translate(0,0);
2488
- transform: translate(0,0);
2489
- }
2490
- .premium-dual-header-first-clip .premium-dual-header-first-span, .premium-dual-header-second-clip {
2491
- -webkit-text-fill-color: transparent;
2492
- -webkit-background-clip: text;
2493
- }
2494
- .premium-dual-header-first-clip.stroke .premium-dual-header-first-span, .premium-dual-header-second-clip.stroke {
2495
- -webkit-text-stroke-color: transparent;
2496
- -webkit-text-fill-color: #fafafa;
2497
- -webkit-text-stroke-width: 2px;
2498
- }
2499
- @media (max-width: 500px) {
2500
- .premium-dual-header-container .premium-dual-header-first-header, .premium-dual-header-container .premium-dual-header-second-header {
2501
- display: block;
2502
- word-wrap: break-word;
2503
- }
2504
- .premium-dual-header-first-container, .premium-dual-header-second-container {
2505
- margin: 0;
2506
- }
2507
- }
2508
- @media (min-width: 501px) {
2509
- .premium-dual-header-first-container {
2510
- margin-left: 5px;
2511
- }
2512
- }
2513
- .premium-dual-header-first-header.gradient .premium-dual-header-first-span, .premium-dual-header-second-header.gradient {
2514
- -webkit-background-size: 300% 300% !important;
2515
- background-size: 300% 300% !important;
2516
- -webkit-animation: Gradient 10s ease-in-out infinite;
2517
- animation: Gradient 10s ease-in-out infinite;
2518
- }
2519
- @-webkit-keyframes Gradient {
2520
- 0% {
2521
- background-position: 100% 50%
2522
- }
2523
- 50% {
2524
- background-position: 0% 50%
2525
- }
2526
- 100% {
2527
- background-position: 100% 50%
2528
- }
2529
- }
2530
- @keyframes Gradient {
2531
- 0% {
2532
- background-position: 100% 50%
2533
- }
2534
- 50% {
2535
- background-position: 0% 50%
2536
- }
2537
- 100% {
2538
- background-position: 100% 50%
2539
- }
2540
- }
2541
- /**************** Premium Fancy Text *******************/
2542
- /*******************************************************/
2543
- .premium-suffix-text, .premium-fancy-text, .premium-prefix-text {
2544
- font-size: 40px;
2545
- }
2546
- .premium-fancy-text-wrapper .premium-fancy-list-items {
2547
- list-style: none;
2548
- }
2549
- .premium-fancy-text-wrapper .premium-fancy-text-span-align {
2550
- vertical-align: top;
2551
- }
2552
- .premium-fancy-text-wrapper:not(.typing):not(.slide) .premium-fancy-text-items-wrapper {
2553
- margin: 0;
2554
- padding: 0;
2555
- border: none;
2556
- position: relative;
2557
- }
2558
- .premium-fancy-text-wrapper:not(.typing):not(.slide) .premium-fancy-list-items {
2559
- position: absolute;
2560
- top: 0;
2561
- right: 0;
2562
- display: inline-block;
2563
- }
2564
- .premium-fancy-text-wrapper.zoomout .premium-fancy-item-hidden {
2565
- opacity: 0;
2566
- -webkit-animation: pa-zoom-out .8s;
2567
- animation: pa-zoom-out .8s;
2568
- }
2569
- .premium-fancy-text-wrapper.zoomout .premium-fancy-item-visible {
2570
- position: relative !important;
2571
- -webkit-animation: pa-zoom-in .8s;
2572
- animation: pa-zoom-in .8s;
2573
- }
2574
- .premium-fancy-text-wrapper.zoomout .premium-fancy-text-items-wrapper {
2575
- -webkit-perspective: 300px;
2576
- perspective: 300px;
2577
- }
2578
- .premium-fancy-text-wrapper.rotate .premium-fancy-list-items {
2579
- -webkit-transform-origin: 50% 100%;
2580
- -ms-transform-origin: 50% 100%;
2581
- transform-origin: 50% 100%;
2582
- }
2583
- .premium-fancy-text-wrapper.rotate .premium-fancy-item-hidden {
2584
- opacity: 0;
2585
- -webkit-transform: rotateX(180deg);
2586
- -ms-transform: rotateX(180deg);
2587
- transform: rotateX(180deg);
2588
- -webkit-animation: pa-rotate-out 1.2s;
2589
- animation: pa-rotate-out 1.2s;
2590
- }
2591
- .premium-fancy-text-wrapper.rotate .premium-fancy-item-visible {
2592
- position: relative !important;
2593
- -webkit-transform: rotateX(0deg);
2594
- -ms-transform: rotateX(0deg);
2595
- transform: rotateX(0deg);
2596
- -webkit-animation: pa-rotate-in 1.2s;
2597
- animation: pa-rotate-in 1.2s;
2598
- }
2599
- .premium-fancy-text-wrapper.bar .premium-fancy-text-items-wrapper::after {
2600
- position: absolute;
2601
- content: '';
2602
- right: 0;
2603
- bottom: 0;
2604
- width: 0;
2605
- height: 3px;
2606
- background: #000;
2607
- }
2608
- .premium-fancy-text-wrapper.bar