WooCommerce Variation Swatches - Version 1.0.72

Version Description

  • Add: Namespace on themes events
  • Fix: WooCommerce Product bundle Issue.
Download this release

Release Info

Developer EmranAhmed
Plugin Icon 128x128 WooCommerce Variation Swatches
Version 1.0.72
Comparing to
See all releases

Code changes from version 1.0.71 to 1.0.72

README.txt CHANGED
@@ -6,7 +6,7 @@ Tested up to: 5.3
6
Requires PHP: 5.6
7
Stable tag: trunk
8
WC requires at least: 3.2
9
- WC tested up to: 3.8
10
License: GPLv3
11
License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
@@ -382,6 +382,11 @@ And your are ready to go.
382
383
== Changelog ==
384
385
= 1.0.71 =
386
387
* Update: Tooltip transform
6
Requires PHP: 5.6
7
Stable tag: trunk
8
WC requires at least: 3.2
9
+ WC tested up to: 3.9
10
License: GPLv3
11
License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
382
383
== Changelog ==
384
385
+ = 1.0.72 =
386
+
387
+ * Add: Namespace on themes events
388
+ * Fix: WooCommerce Product bundle Issue.
389
+
390
= 1.0.71 =
391
392
* Update: Tooltip transform
assets/css/admin.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:42 PM
6
* Released under the GPLv3 license.
7
*/
8
.button.button-danger {
@@ -129,8 +129,10 @@
129
130
#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li {
131
overflow: hidden;
132
display: flex;
133
- align-items: center;
134
padding: 50px 30px;
135
margin: 0;
136
border-bottom: 1px solid #DDDDDD;
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:13 PM
6
* Released under the GPLv3 license.
7
*/
8
.button.button-danger {
129
130
#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li {
131
overflow: hidden;
132
+ display: -webkit-box;
133
display: flex;
134
+ -webkit-box-align: center;
135
+ align-items: center;
136
padding: 50px 30px;
137
margin: 0;
138
border-bottom: 1px solid #DDDDDD;
assets/css/admin.min.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:57 PM
6
* Released under the GPLv3 license.
7
*/
8
- .button.button-danger{color:#fff;background-color:#af2d2b;border-color:#a62d2b;box-shadow:0 1px 0 #a72d2b;vertical-align:top}.button.button-danger.active,.button.button-danger:active,.button.button-danger:focus,.button.button-danger:hover{color:#fff;background:#c9302c}[data-wvsdepends]{display:none}.meta-image-field-wrapper{display:table}.meta-image-field-wrapper .button{margin:5px 0;display:block}.meta-image-field-wrapper .image-preview{display:table-cell;width:60px;padding-right:10px}.meta-image-field-wrapper .button-wrapper{display:table-cell;vertical-align:top}.gwp-rate-stars{display:inline-block;color:#ffb900;position:relative;top:3px}.gwp-rate-stars svg,.gwp-rate-stars svg a{fill:#ffb900;stroke:#ffb900;cursor:pointer}.gwp-rate-stars svg:hover,.gwp-rate-stars svg a:hover{fill:#ffb900}.gwp-rate-stars svg:hover~svg,.gwp-rate-stars svg:hover~svg a,.gwp-rate-stars svg a:hover~svg,.gwp-rate-stars svg a:hover~svg a{fill:none}#wvs-meta-preview{width:30px}.wvs-preview{width:30px;height:30px;border:1px solid #000}#woo-variation-swatches-settings-wrap #settings-tabs{margin-top:30px}#woo-variation-swatches-settings-wrap #settings-tabs h2{font-size:1.5em;margin-bottom:10px}#woo-variation-swatches-settings-wrap #settings-tabs .form-table{margin-top:15px;background:#fff;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.07),0 1px 1px rgba(0,0,0,.04)}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr{border-bottom:1px solid #eee;display:block}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr:last-child{border:0}#woo-variation-swatches-settings-wrap #settings-tabs .form-table th{padding:20px 10px 20px 20px}#woo-variation-swatches-settings-wrap #settings-tabs #special .form-table,#woo-variation-swatches-settings-wrap #settings-tabs #style .form-table{margin-bottom:30px}#woo-variation-swatches-settings-wrap #tutorial .form-table tr{padding:0!important}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper img{width:100%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper ul{margin:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li{overflow:hidden;display:flex;align-items:center;padding:50px 30px;margin:0;border-bottom:1px solid #ddd;position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li:last-child{border:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper,#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{float:left;padding:0 20px;box-sizing:border-box}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{width:60%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper{width:40%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper h3{margin:0 0 20px;font-size:1.5em}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-contents{font-size:15px;line-height:1.5em;margin-bottom:20px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button{border-radius:3px;line-height:1;padding:13px 20px;font-size:13px;height:40px;box-shadow:none;text-shadow:none}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button:active{-webkit-transform:translateY(0);transform:translateY(0)}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo{background-color:#fff;color:#333;border:1px solid #eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo:hover{background:#eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs{background-color:#36373a;color:#fff;border:1px solid #36373a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs:hover{background:#5d5e61;border-color:#5d5e61}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro{background-color:#39b54a;color:#fff;border:1px solid #39b54a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro:hover{background:#3fc851;border-color:#3fc851}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon{position:absolute;left:-5px;top:-5px;z-index:1;overflow:hidden;width:75px;height:75px;text-align:right;margin:1px 22px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span{font-size:10px;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:100px;display:block;background:#bc0808;box-shadow:0 3px 10px -5px #000;position:absolute;top:19px;left:-21px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #8f0808;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #8f0808;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab{position:relative}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab:before{content:attr(data-pro-text);position:absolute;right:5px;top:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:#ff5722;color:#fff;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}.woo-variation-swatches-pro_tab.pro-inactive a{background-color:#ff9800;color:#fff}
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:19 PM
6
* Released under the GPLv3 license.
7
*/
8
+ .button.button-danger{color:#fff;background-color:#af2d2b;border-color:#a62d2b;box-shadow:0 1px 0 #a72d2b;vertical-align:top}.button.button-danger.active,.button.button-danger:active,.button.button-danger:focus,.button.button-danger:hover{color:#fff;background:#c9302c}[data-wvsdepends]{display:none}.meta-image-field-wrapper{display:table}.meta-image-field-wrapper .button{margin:5px 0;display:block}.meta-image-field-wrapper .image-preview{display:table-cell;width:60px;padding-right:10px}.meta-image-field-wrapper .button-wrapper{display:table-cell;vertical-align:top}.gwp-rate-stars{display:inline-block;color:#ffb900;position:relative;top:3px}.gwp-rate-stars svg,.gwp-rate-stars svg a{fill:#ffb900;stroke:#ffb900;cursor:pointer}.gwp-rate-stars svg:hover,.gwp-rate-stars svg a:hover{fill:#ffb900}.gwp-rate-stars svg:hover~svg,.gwp-rate-stars svg:hover~svg a,.gwp-rate-stars svg a:hover~svg,.gwp-rate-stars svg a:hover~svg a{fill:none}#wvs-meta-preview{width:30px}.wvs-preview{width:30px;height:30px;border:1px solid #000}#woo-variation-swatches-settings-wrap #settings-tabs{margin-top:30px}#woo-variation-swatches-settings-wrap #settings-tabs h2{font-size:1.5em;margin-bottom:10px}#woo-variation-swatches-settings-wrap #settings-tabs .form-table{margin-top:15px;background:#fff;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.07),0 1px 1px rgba(0,0,0,.04)}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr{border-bottom:1px solid #eee;display:block}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr:last-child{border:0}#woo-variation-swatches-settings-wrap #settings-tabs .form-table th{padding:20px 10px 20px 20px}#woo-variation-swatches-settings-wrap #settings-tabs #special .form-table,#woo-variation-swatches-settings-wrap #settings-tabs #style .form-table{margin-bottom:30px}#woo-variation-swatches-settings-wrap #tutorial .form-table tr{padding:0!important}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper img{width:100%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper ul{margin:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li{overflow:hidden;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:50px 30px;margin:0;border-bottom:1px solid #ddd;position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li:last-child{border:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper,#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{float:left;padding:0 20px;box-sizing:border-box}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{width:60%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper{width:40%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper h3{margin:0 0 20px;font-size:1.5em}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-contents{font-size:15px;line-height:1.5em;margin-bottom:20px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button{border-radius:3px;line-height:1;padding:13px 20px;font-size:13px;height:40px;box-shadow:none;text-shadow:none}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button:active{-webkit-transform:translateY(0);transform:translateY(0)}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo{background-color:#fff;color:#333;border:1px solid #eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo:hover{background:#eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs{background-color:#36373a;color:#fff;border:1px solid #36373a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs:hover{background:#5d5e61;border-color:#5d5e61}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro{background-color:#39b54a;color:#fff;border:1px solid #39b54a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro:hover{background:#3fc851;border-color:#3fc851}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon{position:absolute;left:-5px;top:-5px;z-index:1;overflow:hidden;width:75px;height:75px;text-align:right;margin:1px 22px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span{font-size:10px;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:100px;display:block;background:#bc0808;box-shadow:0 3px 10px -5px #000;position:absolute;top:19px;left:-21px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #8f0808;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #8f0808;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab{position:relative}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab:before{content:attr(data-pro-text);position:absolute;right:5px;top:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:#ff5722;color:#fff;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}.woo-variation-swatches-pro_tab.pro-inactive a{background-color:#ff9800;color:#fff}
assets/css/frontend-tooltip.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:42 PM
6
* Released under the GPLv3 license.
7
*/
8
.variable-items-wrapper [data-wvstooltip],
@@ -27,6 +27,7 @@
27
-webkit-transform: translateZ(0);
28
transform: translateZ(0);
29
box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
30
transition: opacity 300ms linear, bottom 300ms linear;
31
}
32
@@ -75,16 +76,8 @@
75
76
.variable-items-wrapper [data-wvstooltip]:hover:before,
77
.variable-items-wrapper [data-wvstooltip]:hover:after,
78
- .variable-items-wrapper [data-wvstooltip]:focus:before,
79
- .variable-items-wrapper [data-wvstooltip]:focus:after,
80
- .variable-items-wrapper [data-wvstooltip]:active:before,
81
- .variable-items-wrapper [data-wvstooltip]:active:after,
82
.variable-items-wrapper .wvs-has-image-tooltip:hover:before,
83
- .variable-items-wrapper .wvs-has-image-tooltip:hover:after,
84
- .variable-items-wrapper .wvs-has-image-tooltip:focus:before,
85
- .variable-items-wrapper .wvs-has-image-tooltip:focus:after,
86
- .variable-items-wrapper .wvs-has-image-tooltip:active:before,
87
- .variable-items-wrapper .wvs-has-image-tooltip:active:after {
88
bottom: 120%;
89
visibility: visible;
90
opacity: 1;
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:13 PM
6
* Released under the GPLv3 license.
7
*/
8
.variable-items-wrapper [data-wvstooltip],
27
-webkit-transform: translateZ(0);
28
transform: translateZ(0);
29
box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
30
+ -webkit-transition: opacity 300ms linear, bottom 300ms linear;
31
transition: opacity 300ms linear, bottom 300ms linear;
32
}
33
76
77
.variable-items-wrapper [data-wvstooltip]:hover:before,
78
.variable-items-wrapper [data-wvstooltip]:hover:after,
79
.variable-items-wrapper .wvs-has-image-tooltip:hover:before,
80
+ .variable-items-wrapper .wvs-has-image-tooltip:hover:after {
81
bottom: 120%;
82
visibility: visible;
83
opacity: 1;
assets/css/frontend-tooltip.min.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:57 PM
6
* Released under the GPLv3 license.
7
*/
8
- .variable-items-wrapper .wvs-has-image-tooltip,.variable-items-wrapper [data-wvstooltip]{position:relative;cursor:pointer;outline:none}.variable-items-wrapper .wvs-has-image-tooltip:after,.variable-items-wrapper .wvs-has-image-tooltip:before,.variable-items-wrapper [data-wvstooltip]:after,.variable-items-wrapper [data-wvstooltip]:before{visibility:hidden;opacity:0;pointer-events:none;box-sizing:inherit;position:absolute;bottom:130%;left:50%;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0);box-shadow:0 7px 15px rgba(0,0,0,.3);transition:opacity .3s linear,bottom .3s linear}.variable-items-wrapper .wvs-has-image-tooltip:before,.variable-items-wrapper [data-wvstooltip]:before{margin-bottom:5px;-webkit-transform:translateX(-50%);transform:translateX(-50%);padding:7px;border-radius:3px;background-color:#000;background-color:rgba(51,51,51,.9);color:#fff;text-align:center;font-size:14px;line-height:1.2}.variable-items-wrapper [data-wvstooltip]:before{min-width:100px;content:attr(data-wvstooltip)}.variable-items-wrapper .wvs-has-image-tooltip:before{content:" ";background-image:var(--tooltip-background);width:var(--tooltip-width);height:var(--tooltip-height);background-size:cover;border:2px solid;background-position:50%}.variable-items-wrapper .wvs-has-image-tooltip:after,.variable-items-wrapper [data-wvstooltip]:after{margin-left:-5px;width:0;border-top:5px solid #000;border-top:5px solid rgba(51,51,51,.9);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.variable-items-wrapper .wvs-has-image-tooltip:active:after,.variable-items-wrapper .wvs-has-image-tooltip:active:before,.variable-items-wrapper .wvs-has-image-tooltip:focus:after,.variable-items-wrapper .wvs-has-image-tooltip:focus:before,.variable-items-wrapper .wvs-has-image-tooltip:hover:after,.variable-items-wrapper .wvs-has-image-tooltip:hover:before,.variable-items-wrapper [data-wvstooltip]:active:after,.variable-items-wrapper [data-wvstooltip]:active:before,.variable-items-wrapper [data-wvstooltip]:focus:after,.variable-items-wrapper [data-wvstooltip]:focus:before,.variable-items-wrapper [data-wvstooltip]:hover:after,.variable-items-wrapper [data-wvstooltip]:hover:before{bottom:120%;visibility:visible;opacity:1}
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:19 PM
6
* Released under the GPLv3 license.
7
*/
8
+ .variable-items-wrapper .wvs-has-image-tooltip,.variable-items-wrapper [data-wvstooltip]{position:relative;cursor:pointer;outline:none}.variable-items-wrapper .wvs-has-image-tooltip:after,.variable-items-wrapper .wvs-has-image-tooltip:before,.variable-items-wrapper [data-wvstooltip]:after,.variable-items-wrapper [data-wvstooltip]:before{visibility:hidden;opacity:0;pointer-events:none;box-sizing:inherit;position:absolute;bottom:130%;left:50%;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0);box-shadow:0 7px 15px rgba(0,0,0,.3);-webkit-transition:opacity .3s linear,bottom .3s linear;transition:opacity .3s linear,bottom .3s linear}.variable-items-wrapper .wvs-has-image-tooltip:before,.variable-items-wrapper [data-wvstooltip]:before{margin-bottom:5px;-webkit-transform:translateX(-50%);transform:translateX(-50%);padding:7px;border-radius:3px;background-color:#000;background-color:rgba(51,51,51,.9);color:#fff;text-align:center;font-size:14px;line-height:1.2}.variable-items-wrapper [data-wvstooltip]:before{min-width:100px;content:attr(data-wvstooltip)}.variable-items-wrapper .wvs-has-image-tooltip:before{content:" ";background-image:var(--tooltip-background);width:var(--tooltip-width);height:var(--tooltip-height);background-size:cover;border:2px solid;background-position:50%}.variable-items-wrapper .wvs-has-image-tooltip:after,.variable-items-wrapper [data-wvstooltip]:after{margin-left:-5px;width:0;border-top:5px solid #000;border-top:5px solid rgba(51,51,51,.9);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.variable-items-wrapper .wvs-has-image-tooltip:hover:after,.variable-items-wrapper .wvs-has-image-tooltip:hover:before,.variable-items-wrapper [data-wvstooltip]:hover:after,.variable-items-wrapper [data-wvstooltip]:hover:before{bottom:120%;visibility:visible;opacity:1}
assets/css/frontend.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:42 PM
6
* Released under the GPLv3 license.
7
*/
8
.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,
@@ -11,6 +11,7 @@
11
}
12
13
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper {
14
display: flex;
15
flex-wrap: wrap;
16
margin: 0;
@@ -22,6 +23,7 @@
22
margin: 0;
23
padding: 0;
24
list-style: none;
25
transition: all 200ms ease;
26
position: relative;
27
}
@@ -67,9 +69,12 @@
67
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item) {
68
box-sizing: border-box;
69
cursor: pointer;
70
display: flex;
71
- justify-content: center;
72
- align-items: center;
73
background-color: #FFFFFF;
74
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
75
padding: 2px;
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:13 PM
6
* Released under the GPLv3 license.
7
*/
8
.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,
11
}
12
13
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper {
14
+ display: -webkit-box;
15
display: flex;
16
flex-wrap: wrap;
17
margin: 0;
23
margin: 0;
24
padding: 0;
25
list-style: none;
26
+ -webkit-transition: all 200ms ease;
27
transition: all 200ms ease;
28
position: relative;
29
}
69
.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item) {
70
box-sizing: border-box;
71
cursor: pointer;
72
+ display: -webkit-box;
73
display: flex;
74
+ -webkit-box-pack: center;
75
+ justify-content: center;
76
+ -webkit-box-align: center;
77
+ align-items: center;
78
background-color: #FFFFFF;
79
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
80
padding: 2px;
assets/css/frontend.min.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:57 PM
6
* Released under the GPLv3 license.
7
*/
8
- .woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;transition:all .2s ease;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item{box-sizing:border-box;display:block;list-style:none;cursor:pointer;margin:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item){box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;align-items:center;background-color:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.3);padding:2px;margin:4px 8px 4px 0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{box-shadow:0 0 0 2px rgba(0,0,0,.9)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color{width:100%;height:100%;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color:after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;box-shadow:inset 0 0 1px 0 rgba(0,0,0,.5)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover{cursor:not-allowed;box-shadow:0 0 0 1px rgba(0,0,0,.05);pointer-events:none;position:relative;overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{position:absolute;content:" "!important;width:100%;height:1px;background:red!important;left:0;right:0;bottom:0;top:50%;visibility:visible;opacity:1;border:0;margin:0!important;padding:0!important;min-width:auto;-webkit-transform-origin:center;transform-origin:center;z-index:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover{pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.05);position:relative;overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled{opacity:0;visibility:hidden;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;transform-origin:center;width:0!important;height:0!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.woo-variation-swatches-stylesheet-enabled.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches-stylesheet-enabled.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:19 PM
6
* Released under the GPLv3 license.
7
*/
8
+ .woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper{display:-webkit-box;display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;-webkit-transition:all .2s ease;transition:all .2s ease;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item{box-sizing:border-box;display:block;list-style:none;cursor:pointer;margin:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item){box-sizing:border-box;cursor:pointer;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;background-color:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.3);padding:2px;margin:4px 8px 4px 0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{box-shadow:0 0 0 2px rgba(0,0,0,.9)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color{width:100%;height:100%;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color:after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;box-shadow:inset 0 0 1px 0 rgba(0,0,0,.5)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover{cursor:not-allowed;box-shadow:0 0 0 1px rgba(0,0,0,.05);pointer-events:none;position:relative;overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{position:absolute;content:" "!important;width:100%;height:1px;background:red!important;left:0;right:0;bottom:0;top:50%;visibility:visible;opacity:1;border:0;margin:0!important;padding:0!important;min-width:auto;-webkit-transform-origin:center;transform-origin:center;z-index:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover{pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.05);position:relative;overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled{opacity:0;visibility:hidden;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;transform-origin:center;width:0!important;height:0!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.woo-variation-swatches-stylesheet-enabled.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches-stylesheet-enabled.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}
assets/css/gwp-admin-notice.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:42 PM
6
* Released under the GPLv3 license.
7
*/
8
.gwp-live-feed-contents {
@@ -55,8 +55,10 @@
55
.gwp-live-feed-contents.gwp-notice-required,
56
.gwp-live-feed-contents.gwp-notice-recommended,
57
.gwp-live-feed-contents.gwp-ad-gallery {
58
display: flex;
59
- align-items: stretch;
60
padding: 0;
61
border-radius: 4px;
62
}
@@ -72,8 +74,10 @@
72
font-size: 20px;
73
color: #FFFFFF;
74
padding: 10px;
75
display: flex;
76
- align-items: center;
77
}
78
79
.gwp-live-feed-contents.notice-info .feed-message-wrapper,
@@ -89,8 +93,10 @@
89
.gwp-live-feed-contents.gwp-notice-discount {
90
border-radius: 5px;
91
border: 0;
92
display: flex;
93
- align-items: center;
94
padding: 0;
95
max-width: 750px;
96
margin-left: auto;
@@ -103,9 +109,12 @@
103
}
104
105
.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper {
106
display: flex;
107
- justify-content: space-between;
108
- align-items: center;
109
width: 100%;
110
color: #FFFFFF;
111
text-shadow: 0 -1px 1px #594679;
@@ -153,8 +162,10 @@
153
.gwp-live-feed-contents.gwp-notice-pro {
154
border-radius: 5px;
155
border: 0;
156
display: flex;
157
- align-items: center;
158
padding: 0;
159
max-width: 750px;
160
margin-left: auto;
@@ -163,9 +174,12 @@
163
}
164
165
.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper {
166
display: flex;
167
- justify-content: space-between;
168
- align-items: center;
169
width: 100%;
170
color: #FFFFFF;
171
text-shadow: 0 -1px 1px #2196F3;
@@ -290,6 +304,7 @@
290
}
291
292
.gwp-live-feed-contents .gwp-live-feed-close {
293
display: flex;
294
right: 0;
295
text-decoration: none;
@@ -301,6 +316,7 @@
301
}
302
303
.gwp-live-feed-contents .gwp-live-feed-close-plain {
304
display: flex;
305
right: 0;
306
text-decoration: none;
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:13 PM
6
* Released under the GPLv3 license.
7
*/
8
.gwp-live-feed-contents {
55
.gwp-live-feed-contents.gwp-notice-required,
56
.gwp-live-feed-contents.gwp-notice-recommended,
57
.gwp-live-feed-contents.gwp-ad-gallery {
58
+ display: -webkit-box;
59
display: flex;
60
+ -webkit-box-align: stretch;
61
+ align-items: stretch;
62
padding: 0;
63
border-radius: 4px;
64
}
74
font-size: 20px;
75
color: #FFFFFF;
76
padding: 10px;
77
+ display: -webkit-box;
78
display: flex;
79
+ -webkit-box-align: center;
80
+ align-items: center;
81
}
82
83
.gwp-live-feed-contents.notice-info .feed-message-wrapper,
93
.gwp-live-feed-contents.gwp-notice-discount {
94
border-radius: 5px;
95
border: 0;
96
+ display: -webkit-box;
97
display: flex;
98
+ -webkit-box-align: center;
99
+ align-items: center;
100
padding: 0;
101
max-width: 750px;
102
margin-left: auto;
109
}
110
111
.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper {
112
+ display: -webkit-box;
113
display: flex;
114
+ -webkit-box-pack: justify;
115
+ justify-content: space-between;
116
+ -webkit-box-align: center;
117
+ align-items: center;
118
width: 100%;
119
color: #FFFFFF;
120
text-shadow: 0 -1px 1px #594679;
162
.gwp-live-feed-contents.gwp-notice-pro {
163
border-radius: 5px;
164
border: 0;
165
+ display: -webkit-box;
166
display: flex;
167
+ -webkit-box-align: center;
168
+ align-items: center;
169
padding: 0;
170
max-width: 750px;
171
margin-left: auto;
174
}
175
176
.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper {
177
+ display: -webkit-box;
178
display: flex;
179
+ -webkit-box-pack: justify;
180
+ justify-content: space-between;
181
+ -webkit-box-align: center;
182
+ align-items: center;
183
width: 100%;
184
color: #FFFFFF;
185
text-shadow: 0 -1px 1px #2196F3;
304
}
305
306
.gwp-live-feed-contents .gwp-live-feed-close {
307
+ display: -webkit-box;
308
display: flex;
309
right: 0;
310
text-decoration: none;
316
}
317
318
.gwp-live-feed-contents .gwp-live-feed-close-plain {
319
+ display: -webkit-box;
320
display: flex;
321
right: 0;
322
text-decoration: none;
assets/css/gwp-admin-notice.min.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:57 PM
6
* Released under the GPLv3 license.
7
*/
8
- .gwp-live-feed-contents{position:relative;clear:both;overflow:hidden}.gwp-live-feed-contents.gwp-ad-gallery:before,.gwp-live-feed-contents.notice-info:before{content:"\F161";background:#41a1d3}.gwp-live-feed-contents.notice-success:before{content:"\F147";background:#46b450}.gwp-live-feed-contents.notice-error:before{content:"\F158";background:#dc3232}.gwp-live-feed-contents.notice-warning:before{content:"\F534";background:#f6ba33}.gwp-live-feed-contents.gwp-notice-required:before{content:"\F463";background:#ce3100;text-shadow:0 -1px 1px #ce3100}.gwp-live-feed-contents.gwp-notice-recommended:before{content:"\F529";background:#3d4046;text-shadow:0 -1px 1px #3d4046}.gwp-live-feed-contents.gwp-ad-gallery,.gwp-live-feed-contents.gwp-notice-recommended,.gwp-live-feed-contents.gwp-notice-required,.gwp-live-feed-contents.notice-error,.gwp-live-feed-contents.notice-info,.gwp-live-feed-contents.notice-success,.gwp-live-feed-contents.notice-warning{display:flex;align-items:stretch;padding:0;border-radius:4px}.gwp-live-feed-contents.gwp-ad-gallery:before,.gwp-live-feed-contents.gwp-notice-recommended:before,.gwp-live-feed-contents.gwp-notice-required:before,.gwp-live-feed-contents.notice-error:before,.gwp-live-feed-contents.notice-info:before,.gwp-live-feed-contents.notice-success:before,.gwp-live-feed-contents.notice-warning:before{font-family:dashicons;font-size:20px;color:#fff;padding:10px;display:flex;align-items:center}.gwp-live-feed-contents.gwp-ad-gallery .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-recommended .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-required .feed-message-wrapper,.gwp-live-feed-contents.notice-error .feed-message-wrapper,.gwp-live-feed-contents.notice-info .feed-message-wrapper,.gwp-live-feed-contents.notice-success .feed-message-wrapper,.gwp-live-feed-contents.notice-warning .feed-message-wrapper{padding:10px 60px 10px 20px}.gwp-live-feed-contents.gwp-notice-discount{border-radius:5px;border:0;display:flex;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#594679}.gwp-live-feed-contents.gwp-notice-discount .feed-thumbnail-wrapper .attachment-thumbnail{display:block}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper{display:flex;justify-content:space-between;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #594679;padding:20px 30px 20px 20px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper .button-primary{font-size:16px;border-radius:30px;padding:0 25px;border:0;height:40px;line-height:40px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-pro{border-radius:5px;border:0;display:flex;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#2196f3}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper{display:flex;justify-content:space-between;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #2196f3;padding:20px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade{position:relative;font-size:16px;color:#fff;font-weight:600;text-decoration:none;padding:25px 25px 25px 80px;display:block;margin:-20px;background:#673ab7;text-shadow:0 -1px 1px #673ab7}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade small{font-weight:300;display:block}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade i{position:absolute;left:25px;font-size:36px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:36px;height:36px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade:hover{background:#305af3;text-shadow:0 -1px 1px #305af3}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px;z-index:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-new{border:0;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:transparent;box-shadow:none}.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper img,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper p{padding:0;margin:0}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close{color:rgba(0,0,0,.5);opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:before{color:rgba(0,0,0,.5)}.gwp-live-feed-contents .button-primary{background:#56bfd4;border-color:#3a9db1;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.3);text-shadow:0 -1px 1px #238ea5}.gwp-live-feed-contents .button-primary:active,.gwp-live-feed-contents .button-primary:focus,.gwp-live-feed-contents .button-primary:hover{background:#39b1ca;border-color:#3a9db1}.gwp-live-feed-contents .gwp-live-feed-close{display:flex;right:0;text-decoration:none;padding:10px 10px 10px 25px}.gwp-live-feed-contents .gwp-live-feed-close:before{display:inline-block}.gwp-live-feed-contents .gwp-live-feed-close-plain{display:flex;right:0;text-decoration:none;padding:15px}.gwp-live-feed-contents .gwp-live-feed-close-plain:before{display:inline-block}
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:19 PM
6
* Released under the GPLv3 license.
7
*/
8
+ .gwp-live-feed-contents{position:relative;clear:both;overflow:hidden}.gwp-live-feed-contents.gwp-ad-gallery:before,.gwp-live-feed-contents.notice-info:before{content:"\F161";background:#41a1d3}.gwp-live-feed-contents.notice-success:before{content:"\F147";background:#46b450}.gwp-live-feed-contents.notice-error:before{content:"\F158";background:#dc3232}.gwp-live-feed-contents.notice-warning:before{content:"\F534";background:#f6ba33}.gwp-live-feed-contents.gwp-notice-required:before{content:"\F463";background:#ce3100;text-shadow:0 -1px 1px #ce3100}.gwp-live-feed-contents.gwp-notice-recommended:before{content:"\F529";background:#3d4046;text-shadow:0 -1px 1px #3d4046}.gwp-live-feed-contents.gwp-ad-gallery,.gwp-live-feed-contents.gwp-notice-recommended,.gwp-live-feed-contents.gwp-notice-required,.gwp-live-feed-contents.notice-error,.gwp-live-feed-contents.notice-info,.gwp-live-feed-contents.notice-success,.gwp-live-feed-contents.notice-warning{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;padding:0;border-radius:4px}.gwp-live-feed-contents.gwp-ad-gallery:before,.gwp-live-feed-contents.gwp-notice-recommended:before,.gwp-live-feed-contents.gwp-notice-required:before,.gwp-live-feed-contents.notice-error:before,.gwp-live-feed-contents.notice-info:before,.gwp-live-feed-contents.notice-success:before,.gwp-live-feed-contents.notice-warning:before{font-family:dashicons;font-size:20px;color:#fff;padding:10px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.gwp-live-feed-contents.gwp-ad-gallery .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-recommended .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-required .feed-message-wrapper,.gwp-live-feed-contents.notice-error .feed-message-wrapper,.gwp-live-feed-contents.notice-info .feed-message-wrapper,.gwp-live-feed-contents.notice-success .feed-message-wrapper,.gwp-live-feed-contents.notice-warning .feed-message-wrapper{padding:10px 60px 10px 20px}.gwp-live-feed-contents.gwp-notice-discount{border-radius:5px;border:0;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#594679}.gwp-live-feed-contents.gwp-notice-discount .feed-thumbnail-wrapper .attachment-thumbnail{display:block}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #594679;padding:20px 30px 20px 20px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper .button-primary{font-size:16px;border-radius:30px;padding:0 25px;border:0;height:40px;line-height:40px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-pro{border-radius:5px;border:0;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#2196f3}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #2196f3;padding:20px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade{position:relative;font-size:16px;color:#fff;font-weight:600;text-decoration:none;padding:25px 25px 25px 80px;display:block;margin:-20px;background:#673ab7;text-shadow:0 -1px 1px #673ab7}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade small{font-weight:300;display:block}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade i{position:absolute;left:25px;font-size:36px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:36px;height:36px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade:hover{background:#305af3;text-shadow:0 -1px 1px #305af3}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px;z-index:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-new{border:0;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:transparent;box-shadow:none}.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper img,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper p{padding:0;margin:0}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close{color:rgba(0,0,0,.5);opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:before{color:rgba(0,0,0,.5)}.gwp-live-feed-contents .button-primary{background:#56bfd4;border-color:#3a9db1;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.3);text-shadow:0 -1px 1px #238ea5}.gwp-live-feed-contents .button-primary:active,.gwp-live-feed-contents .button-primary:focus,.gwp-live-feed-contents .button-primary:hover{background:#39b1ca;border-color:#3a9db1}.gwp-live-feed-contents .gwp-live-feed-close{display:-webkit-box;display:flex;right:0;text-decoration:none;padding:10px 10px 10px 25px}.gwp-live-feed-contents .gwp-live-feed-close:before{display:inline-block}.gwp-live-feed-contents .gwp-live-feed-close-plain{display:-webkit-box;display:flex;right:0;text-decoration:none;padding:15px}.gwp-live-feed-contents .gwp-live-feed-close-plain:before{display:inline-block}
assets/css/gwp-admin.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:42 PM
6
* Released under the GPLv3 license.
7
*/
8
/**
@@ -184,6 +184,7 @@
184
border: 0;
185
border-left: 1px solid #DDDDDD;
186
background-color: transparent;
187
transition: color 0.1s ease-in-out, background 0.1s ease-in-out;
188
}
189
@@ -314,10 +315,14 @@
314
}
315
316
.gwp-action-button-group .gwp-action-button-group__items {
317
display: inline-flex;
318
- flex-flow: row wrap;
319
align-content: flex-start;
320
- justify-content: flex-start;
321
}
322
323
.gwp-action-button-group .gwp-action-button {
@@ -332,7 +337,8 @@
332
position: relative;
333
overflow: hidden;
334
text-overflow: ellipsis;
335
- flex: 1 0 auto;
336
box-sizing: border-box;
337
text-align: center;
338
white-space: nowrap;
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:13 PM
6
* Released under the GPLv3 license.
7
*/
8
/**
184
border: 0;
185
border-left: 1px solid #DDDDDD;
186
background-color: transparent;
187
+ -webkit-transition: color 0.1s ease-in-out, background 0.1s ease-in-out;
188
transition: color 0.1s ease-in-out, background 0.1s ease-in-out;
189
}
190
315
}
316
317
.gwp-action-button-group .gwp-action-button-group__items {
318
+ display: -webkit-inline-box;
319
display: inline-flex;
320
+ -webkit-box-orient: horizontal;
321
+ -webkit-box-direction: normal;
322
+ flex-flow: row wrap;
323
align-content: flex-start;
324
+ -webkit-box-pack: start;
325
+ justify-content: flex-start;
326
}
327
328
.gwp-action-button-group .gwp-action-button {
337
position: relative;
338
overflow: hidden;
339
text-overflow: ellipsis;
340
+ -webkit-box-flex: 1;
341
+ flex: 1 0 auto;
342
box-sizing: border-box;
343
text-align: center;
344
white-space: nowrap;
assets/css/gwp-admin.min.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:57 PM
6
* Released under the GPLv3 license.
7
*/
8
- .gwp-backbone-modal *{box-sizing:border-box}.gwp-backbone-modal .gwp-backbone-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:100%;min-width:300px}.gwp-backbone-modal .gwp-backbone-modal-content article{overflow:auto}.gwp-backbone-modal .gwp-backbone-modal-content{width:40%}.gwp-backbone-modal .gwp-feedback-dialog-form-body h2{font-weight:700;font-size:15px;color:#495157;margin:0 0 20px}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-input-wrapper{line-height:1.3;overflow:hidden;margin-bottom:15px}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-input{float:left;margin:0 10px 0 0;box-shadow:none}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-text{margin:10px 0 0 25px;padding:5px;font-size:13px;box-shadow:none;background-color:#fff;width:92%;display:none}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-alert{color:#0273a9;background-color:#fff;font-weight:600}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-label{display:block;font-size:13px;color:#6d7882}.gwp-backbone-modal footer{margin-top:30px;overflow:hidden;clear:both}.gwp-backbone-modal footer .feedback-dialog-form-button-send{background-color:#56bfd4;border-radius:3px;color:#fff;line-height:1;padding:12px 20px;font-size:13px;height:40px;border:0;box-shadow:none;text-shadow:none;float:left}.gwp-backbone-modal footer .feedback-dialog-form-button-send:hover{background:#389db1}.gwp-backbone-modal footer .feedback-dialog-form-button-send:active{-webkit-transform:translateY(0);transform:translateY(0)}.gwp-backbone-modal footer .feedback-dialog-form-button-skip{font-size:12px;color:#a4afb7;background:none;float:right;width:auto;cursor:pointer;padding:10px 0;outline:0;text-decoration:none}.gwp-backbone-modal footer .feedback-dialog-form-button-skip:focus{box-shadow:none}.gwp-backbone-modal footer .feedback-dialog-form-button-skip:hover{text-decoration:underline}@media screen and (max-width:782px){.gwp-backbone-modal .gwp-backbone-modal-content{width:100%;height:100%;min-width:100%}}.gwp-backbone-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.gwp-backbone-modal-main{padding-bottom:55px}.gwp-backbone-modal-main article,.gwp-backbone-modal-main header{display:block;position:relative}.gwp-backbone-modal-main .gwp-backbone-modal-header{height:auto;background:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.gwp-backbone-modal-main .gwp-backbone-modal-header h1{margin:0;color:#495157;font-weight:700;font-size:14px;background:transparent;line-height:2em;text-transform:uppercase;border:0}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:"\F335";font-weight:300}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:focus,.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:focus{outline:none}.gwp-backbone-modal-main article{padding:1.5em}.gwp-backbone-modal-main article p{margin:1.5em 0}.gwp-backbone-modal-main article p:first-child{margin-top:0}.gwp-backbone-modal-main article p:last-child{margin-bottom:0}.gwp-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.gwp-backbone-modal-main article table.widefat{margin:0;width:100%;border:0;box-shadow:none}.gwp-backbone-modal-main article table.widefat thead th{padding:0 1em 1em;text-align:left}.gwp-backbone-modal-main article table.widefat thead th:first-child{padding-left:0}.gwp-backbone-modal-main article table.widefat thead th:last-child{padding-right:0;text-align:right}.gwp-backbone-modal-main article table.widefat tbody td,.gwp-backbone-modal-main article table.widefat tbody th{padding:1em;text-align:left;vertical-align:middle}.gwp-backbone-modal-main article table.widefat tbody td:first-child,.gwp-backbone-modal-main article table.widefat tbody th:first-child{padding-left:0}.gwp-backbone-modal-main article table.widefat tbody td:last-child,.gwp-backbone-modal-main article table.widefat tbody th:last-child{padding-right:0;text-align:right}.gwp-backbone-modal-main article table.widefat tbody td .select2-container,.gwp-backbone-modal-main article table.widefat tbody td select,.gwp-backbone-modal-main article table.widefat tbody th .select2-container,.gwp-backbone-modal-main article table.widefat tbody th select{width:100%}.gwp-backbone-modal-main footer{position:absolute;left:0;right:0;bottom:0;z-index:100;padding:1em 1.5em;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.gwp-backbone-modal-main footer .inner{text-align:right;line-height:23px}.gwp-backbone-modal-main footer .inner .button{margin-bottom:0}.gwp-backbone-modal-main footer .inner .gwp-action-button-group{display:inline-block;float:left}.gwp-backbone-modal-main footer .inner .button.button-large{margin-left:10px;padding:0 10px!important;line-height:28px;height:auto;display:inline-block}.gwp-action-button-group{vertical-align:middle;line-height:26px;text-align:left}.gwp-action-button-group .gwp-action-button-group__items{display:inline-flex;flex-flow:row wrap;align-content:flex-start;justify-content:flex-start}.gwp-action-button-group .gwp-action-button{margin:0 0 0 -1px!important;border:1px solid #ccc;padding:0 10px!important;border-radius:0!important;float:none;line-height:28px;height:auto;z-index:1;position:relative;overflow:hidden;text-overflow:ellipsis;flex:1 0 auto;box-sizing:border-box;text-align:center;white-space:nowrap}.gwp-action-button-group .gwp-action-button:focus,.gwp-action-button-group .gwp-action-button:hover{border:1px solid #999;z-index:2}.gwp-action-button-group .gwp-action-button:first-child{margin-left:0!important;border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}.gwp-action-button-group .gwp-action-button:last-child{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important}.gwp-action-button-group .spinner{margin:10px}.gwp-action-button-group .spinner.visible{visibility:visible}
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:19 PM
6
* Released under the GPLv3 license.
7
*/
8
+ .gwp-backbone-modal *{box-sizing:border-box}.gwp-backbone-modal .gwp-backbone-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:100%;min-width:300px}.gwp-backbone-modal .gwp-backbone-modal-content article{overflow:auto}.gwp-backbone-modal .gwp-backbone-modal-content{width:40%}.gwp-backbone-modal .gwp-feedback-dialog-form-body h2{font-weight:700;font-size:15px;color:#495157;margin:0 0 20px}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-input-wrapper{line-height:1.3;overflow:hidden;margin-bottom:15px}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-input{float:left;margin:0 10px 0 0;box-shadow:none}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-text{margin:10px 0 0 25px;padding:5px;font-size:13px;box-shadow:none;background-color:#fff;width:92%;display:none}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-alert{color:#0273a9;background-color:#fff;font-weight:600}.gwp-backbone-modal .gwp-feedback-dialog-form-body .feedback-dialog-form-body .feedback-dialog-label{display:block;font-size:13px;color:#6d7882}.gwp-backbone-modal footer{margin-top:30px;overflow:hidden;clear:both}.gwp-backbone-modal footer .feedback-dialog-form-button-send{background-color:#56bfd4;border-radius:3px;color:#fff;line-height:1;padding:12px 20px;font-size:13px;height:40px;border:0;box-shadow:none;text-shadow:none;float:left}.gwp-backbone-modal footer .feedback-dialog-form-button-send:hover{background:#389db1}.gwp-backbone-modal footer .feedback-dialog-form-button-send:active{-webkit-transform:translateY(0);transform:translateY(0)}.gwp-backbone-modal footer .feedback-dialog-form-button-skip{font-size:12px;color:#a4afb7;background:none;float:right;width:auto;cursor:pointer;padding:10px 0;outline:0;text-decoration:none}.gwp-backbone-modal footer .feedback-dialog-form-button-skip:focus{box-shadow:none}.gwp-backbone-modal footer .feedback-dialog-form-button-skip:hover{text-decoration:underline}@media screen and (max-width:782px){.gwp-backbone-modal .gwp-backbone-modal-content{width:100%;height:100%;min-width:100%}}.gwp-backbone-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.gwp-backbone-modal-main{padding-bottom:55px}.gwp-backbone-modal-main article,.gwp-backbone-modal-main header{display:block;position:relative}.gwp-backbone-modal-main .gwp-backbone-modal-header{height:auto;background:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.gwp-backbone-modal-main .gwp-backbone-modal-header h1{margin:0;color:#495157;font-weight:700;font-size:14px;background:transparent;line-height:2em;text-transform:uppercase;border:0}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:"\F335";font-weight:300}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:focus,.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.gwp-backbone-modal-main .gwp-backbone-modal-header .modal-close-link:focus{outline:none}.gwp-backbone-modal-main article{padding:1.5em}.gwp-backbone-modal-main article p{margin:1.5em 0}.gwp-backbone-modal-main article p:first-child{margin-top:0}.gwp-backbone-modal-main article p:last-child{margin-bottom:0}.gwp-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.gwp-backbone-modal-main article table.widefat{margin:0;width:100%;border:0;box-shadow:none}.gwp-backbone-modal-main article table.widefat thead th{padding:0 1em 1em;text-align:left}.gwp-backbone-modal-main article table.widefat thead th:first-child{padding-left:0}.gwp-backbone-modal-main article table.widefat thead th:last-child{padding-right:0;text-align:right}.gwp-backbone-modal-main article table.widefat tbody td,.gwp-backbone-modal-main article table.widefat tbody th{padding:1em;text-align:left;vertical-align:middle}.gwp-backbone-modal-main article table.widefat tbody td:first-child,.gwp-backbone-modal-main article table.widefat tbody th:first-child{padding-left:0}.gwp-backbone-modal-main article table.widefat tbody td:last-child,.gwp-backbone-modal-main article table.widefat tbody th:last-child{padding-right:0;text-align:right}.gwp-backbone-modal-main article table.widefat tbody td .select2-container,.gwp-backbone-modal-main article table.widefat tbody td select,.gwp-backbone-modal-main article table.widefat tbody th .select2-container,.gwp-backbone-modal-main article table.widefat tbody th select{width:100%}.gwp-backbone-modal-main footer{position:absolute;left:0;right:0;bottom:0;z-index:100;padding:1em 1.5em;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.gwp-backbone-modal-main footer .inner{text-align:right;line-height:23px}.gwp-backbone-modal-main footer .inner .button{margin-bottom:0}.gwp-backbone-modal-main footer .inner .gwp-action-button-group{display:inline-block;float:left}.gwp-backbone-modal-main footer .inner .button.button-large{margin-left:10px;padding:0 10px!important;line-height:28px;height:auto;display:inline-block}.gwp-action-button-group{vertical-align:middle;line-height:26px;text-align:left}.gwp-action-button-group .gwp-action-button-group__items{display:-webkit-inline-box;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;align-content:flex-start;-webkit-box-pack:start;justify-content:flex-start}.gwp-action-button-group .gwp-action-button{margin:0 0 0 -1px!important;border:1px solid #ccc;padding:0 10px!important;border-radius:0!important;float:none;line-height:28px;height:auto;z-index:1;position:relative;overflow:hidden;text-overflow:ellipsis;-webkit-box-flex:1;flex:1 0 auto;box-sizing:border-box;text-align:center;white-space:nowrap}.gwp-action-button-group .gwp-action-button:focus,.gwp-action-button-group .gwp-action-button:hover{border:1px solid #999;z-index:2}.gwp-action-button-group .gwp-action-button:first-child{margin-left:0!important;border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}.gwp-action-button-group .gwp-action-button:last-child{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important}.gwp-action-button-group .spinner{margin:10px}.gwp-action-button-group .spinner.visible{visibility:visible}
assets/css/wvs-theme-override.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:42 PM
6
* Released under the GPLv3 license.
7
*/
8
.woo-variation-swatches-theme-sober .product form.cart .variations .variable,
@@ -34,7 +34,8 @@
34
35
.woo-variation-swatches-theme-sober .product form.cart .variations .value,
36
.woo-variation-swatches-theme-child-sober .product form.cart .variations .value {
37
- flex-grow: unset;
38
}
39
40
.woo-variation-swatches-theme-sober .product form.cart .variations select,
@@ -42,7 +43,8 @@
42
border: 1px solid #E4E6EB !important;
43
padding: .5em 1em !important;
44
text-align: left !important;
45
- text-align-last: left !important;
46
-webkit-appearance: menulist-button !important;
47
}
48
@@ -158,6 +160,7 @@
158
159
.woo-variation-swatches-theme-savoy .nm-variation-row,
160
.woo-variation-swatches-theme-child-savoy .nm-variation-row {
161
display: flex;
162
}
163
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:13 PM
6
* Released under the GPLv3 license.
7
*/
8
.woo-variation-swatches-theme-sober .product form.cart .variations .variable,
34
35
.woo-variation-swatches-theme-sober .product form.cart .variations .value,
36
.woo-variation-swatches-theme-child-sober .product form.cart .variations .value {
37
+ -webkit-box-flex: unset;
38
+ flex-grow: unset;
39
}
40
41
.woo-variation-swatches-theme-sober .product form.cart .variations select,
43
border: 1px solid #E4E6EB !important;
44
padding: .5em 1em !important;
45
text-align: left !important;
46
+ -moz-text-align-last: left !important;
47
+ text-align-last: left !important;
48
-webkit-appearance: menulist-button !important;
49
}
50
160
161
.woo-variation-swatches-theme-savoy .nm-variation-row,
162
.woo-variation-swatches-theme-child-savoy .nm-variation-row {
163
+ display: -webkit-box;
164
display: flex;
165
}
166
assets/css/wvs-theme-override.min.css CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:57 PM
6
* Released under the GPLv3 license.
7
*/
8
- .woo-variation-swatches-theme-child-sober .product form.cart .variations .variable,.woo-variation-swatches-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options{border:0!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options:after,.woo-variation-swatches-theme-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options:after{display:none}.woo-variation-swatches-theme-child-sober .product form.cart .variations .label,.woo-variation-swatches-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.woo-variation-swatches-theme-child-sober .product form.cart .variations .value,.woo-variation-swatches-theme-sober .product form.cart .variations .value{flex-grow:unset}.woo-variation-swatches-theme-child-sober .product form.cart .variations select,.woo-variation-swatches-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item:last-child,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:before,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:after,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.woo-variation-swatches-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.woo-variation-swatches-theme-shophistic-lite .ql_custom_variations{display:none!important}.woo-variation-swatches-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.woo-variation-swatches-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.woo-variation-swatches-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.woo-variation-swatches-theme-kalium-child .image-variable-item img,.woo-variation-swatches-theme-kalium .image-variable-item img{width:100%!important}.woo-variation-swatches-theme-kalium-child .radio-variable-item input,.woo-variation-swatches-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.woo-variation-swatches-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.woo-variation-swatches-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.woo-variation-swatches-theme-aurum .variable-items-wrapper .image-variable-item>img,.woo-variation-swatches-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.woo-variation-swatches-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.woo-variation-swatches-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.woo-variation-swatches-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.woo-variation-swatches-theme-child-thegem .wvs-archive-variation-wrapper .variations,.woo-variation-swatches-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.woo-variation-swatches-theme-child-ushop .variations_form,.woo-variation-swatches-theme-ushop .variations_form{overflow:visible!important}.woo-variation-swatches-theme-child-ushop .single-product-summary .product_meta,.woo-variation-swatches-theme-ushop .single-product-summary .product_meta{display:inline-table}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper{position:relative!important}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper .sod_select,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.woo-variation-swatches-theme-child-savoy .nm-variation-row,.woo-variation-swatches-theme-savoy .nm-variation-row{display:flex}.woo-variation-swatches-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.woo-variation-swatches-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.woo-variation-swatches-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.woo-variation-swatches-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper,.woo-variation-swatches-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.woo-variation-swatches-theme-gecko .variations .value.woo-variation-items-wrapper:after{display:none!important}.woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection{border:0;height:auto;width:auto}.woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations{font-size:8px!important;width:20px;height:20px;padding:5px;box-sizing:border-box;border-radius:100%;border:1px solid #f04040;color:#f04040}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper{border:none}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper:after,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper:after{display:none}.woo-variation-swatches-theme-child-jupiter table.variations,.woo-variation-swatches-theme-jupiter table.variations{overflow:initial}.woo-variation-swatches-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.woo-variation-swatches-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.woo-variation-swatches-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.woo-variation-swatches-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.woo-variation-swatches-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.woo-variation-swatches-theme-child-twentytwenty table.variations,.woo-variation-swatches-theme-twentytwenty table.variations{overflow:auto}
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:19 PM
6
* Released under the GPLv3 license.
7
*/
8
+ .woo-variation-swatches-theme-child-sober .product form.cart .variations .variable,.woo-variation-swatches-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options{border:0!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options:after,.woo-variation-swatches-theme-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options:after{display:none}.woo-variation-swatches-theme-child-sober .product form.cart .variations .label,.woo-variation-swatches-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.woo-variation-swatches-theme-child-sober .product form.cart .variations .value,.woo-variation-swatches-theme-sober .product form.cart .variations .value{-webkit-box-flex:unset;flex-grow:unset}.woo-variation-swatches-theme-child-sober .product form.cart .variations select,.woo-variation-swatches-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;-moz-text-align-last:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item:last-child,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:before,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:after,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.woo-variation-swatches-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.woo-variation-swatches-theme-shophistic-lite .ql_custom_variations{display:none!important}.woo-variation-swatches-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.woo-variation-swatches-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.woo-variation-swatches-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.woo-variation-swatches-theme-kalium-child .image-variable-item img,.woo-variation-swatches-theme-kalium .image-variable-item img{width:100%!important}.woo-variation-swatches-theme-kalium-child .radio-variable-item input,.woo-variation-swatches-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.woo-variation-swatches-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.woo-variation-swatches-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.woo-variation-swatches-theme-aurum .variable-items-wrapper .image-variable-item>img,.woo-variation-swatches-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.woo-variation-swatches-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.woo-variation-swatches-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.woo-variation-swatches-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.woo-variation-swatches-theme-child-thegem .wvs-archive-variation-wrapper .variations,.woo-variation-swatches-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.woo-variation-swatches-theme-child-ushop .variations_form,.woo-variation-swatches-theme-ushop .variations_form{overflow:visible!important}.woo-variation-swatches-theme-child-ushop .single-product-summary .product_meta,.woo-variation-swatches-theme-ushop .single-product-summary .product_meta{display:inline-table}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper{position:relative!important}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper .sod_select,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.woo-variation-swatches-theme-child-savoy .nm-variation-row,.woo-variation-swatches-theme-savoy .nm-variation-row{display:-webkit-box;display:flex}.woo-variation-swatches-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.woo-variation-swatches-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.woo-variation-swatches-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.woo-variation-swatches-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper,.woo-variation-swatches-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.woo-variation-swatches-theme-gecko .variations .value.woo-variation-items-wrapper:after{display:none!important}.woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection{border:0;height:auto;width:auto}.woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations{font-size:8px!important;width:20px;height:20px;padding:5px;box-sizing:border-box;border-radius:100%;border:1px solid #f04040;color:#f04040}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper{border:none}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper:after,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper:after{display:none}.woo-variation-swatches-theme-child-jupiter table.variations,.woo-variation-swatches-theme-jupiter table.variations{overflow:initial}.woo-variation-swatches-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.woo-variation-swatches-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.woo-variation-swatches-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.woo-variation-swatches-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.woo-variation-swatches-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.woo-variation-swatches-theme-child-twentytwenty table.variations,.woo-variation-swatches-theme-twentytwenty table.variations{overflow:auto}
assets/js/admin.js CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:42 PM
6
* Released under the GPLv3 license.
7
*/
8
/******/ (function(modules) { // webpackBootstrap
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:13 PM
6
* Released under the GPLv3 license.
7
*/
8
/******/ (function(modules) { // webpackBootstrap
assets/js/bluebird.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.Promise=t()}}(function(){var t,e,n;return function o(s,a,c){function l(n,t){if(!a[n]){if(!s[n]){var e="function"==typeof _dereq_&&_dereq_;if(!t&&e)return e(n,!0);if(u)return u(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}var i=a[n]={exports:{}};s[n][0].call(i.exports,function(t){var e=s[n][1][t];return l(e||t)},i,i.exports,o,s,a,c)}return a[n].exports}for(var u="function"==typeof _dereq_&&_dereq_,t=0;t<c.length;t++)l(c[t]);return l}({1:[function(t,e,n){"use strict";e.exports=function(t){var r=t._SomePromiseArray;function e(t){var e=new r(t),n=e.promise();return e.setHowMany(1),e.setUnwrap(),e.init(),n}t.any=function(t){return e(t)},t.prototype.any=function(){return e(this)}}},{}],2:[function(t,e,n){"use strict";var r;try{throw new Error}catch(t){r=t}var i=t("./schedule"),o=t("./queue"),s=t("./util");function a(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new o(16),this._normalQueue=new o(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var t=this;this.drainQueues=function(){t._drainQueues()},this._schedule=i}function c(t,e,n){this._lateQueue.push(t,e,n),this._queueTick()}function l(t,e,n){this._normalQueue.push(t,e,n),this._queueTick()}function u(t){this._normalQueue._pushOne(t),this._queueTick()}function p(t){for(;0<t.length();)h(t)}function h(t){var e=t.shift();if("function"!=typeof e)e._settlePromises();else{var n=t.shift(),r=t.shift();e.call(n,r)}}a.prototype.setScheduler=function(t){var e=this._schedule;return this._schedule=t,this._customScheduler=!0,e},a.prototype.hasCustomScheduler=function(){return this._customScheduler},a.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},a.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this._trampolineEnabled=!1)},a.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},a.prototype.fatalError=function(t,e){e?(process.stderr.write("Fatal "+(t instanceof Error?t.stack:t)+"\n"),process.exit(2)):this.throwLater(t)},a.prototype.throwLater=function(t,e){if(1===arguments.length&&(e=t,t=function(){throw e}),"undefined"!=typeof setTimeout)setTimeout(function(){t(e)},0);else try{this._schedule(function(){t(e)})}catch(t){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},a.prototype.settlePromises=s.hasDevTools?(a.prototype.invokeLater=function(t,e,n){this._trampolineEnabled?c.call(this,t,e,n):this._schedule(function(){setTimeout(function(){t.call(e,n)},100)})},a.prototype.invoke=function(t,e,n){this._trampolineEnabled?l.call(this,t,e,n):this._schedule(function(){t.call(e,n)})},function(t){this._trampolineEnabled?u.call(this,t):this._schedule(function(){t._settlePromises()})}):(a.prototype.invokeLater=c,a.prototype.invoke=l,u),a.prototype._drainQueues=function(){p(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,p(this._lateQueue)},a.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},a.prototype._reset=function(){this._isTickUsed=!1},e.exports=a,e.exports.firstLineError=r},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,e,n){"use strict";e.exports=function(o,s,a,c){var l=!1,n=function(t,e){this._reject(e)},u=function(t,e){e.promiseRejectionQueued=!0,e.bindingPromise._then(n,n,null,this,t)},p=function(t,e){0==(50397184&this._bitField)&&this._resolveCallback(e.target)},h=function(t,e){e.promiseRejectionQueued||this._reject(t)};o.prototype.bind=function(t){l||(l=!0,o.prototype._propagateFrom=c.propagateFromFunction(),o.prototype._boundValue=c.boundValueFunction());var e=a(t),n=new o(s);n._propagateFrom(this,1);var r=this._target();if(n._setBoundTo(e),e instanceof o){var i={promiseRejectionQueued:!1,promise:n,target:r,bindingPromise:e};r._then(s,u,void 0,n,i),e._then(p,h,void 0,n,i),n._setOnCancel(e)}else n._resolveCallback(r);return n},o.prototype._setBoundTo=function(t){void 0!==t?(this._bitField=2097152|this._bitField,this._boundTo=t):this._bitField=-2097153&this._bitField},o.prototype._isBound=function(){return 2097152==(2097152&this._bitField)},o.bind=function(t,e){return o.resolve(e).bind(t)}}},{}],4:[function(t,e,n){"use strict";var r;"undefined"!=typeof Promise&&(r=Promise);var i=t("./promise")();i.noConflict=function(){try{Promise===i&&(Promise=r)}catch(t){}return i},e.exports=i},{"./promise":22}],5:[function(t,e,n){"use strict";var r=Object.create;if(r){var i=r(null),o=r(null);i[" size"]=o[" size"]=0}e.exports=function(i){var r,o=t("./util"),s=o.canEvaluate;o.isIdentifier;function e(t,e){var n;if(null!=t&&(n=t[e]),"function"==typeof n)return n;var r="Object "+o.classString(t)+" has no method '"+o.toString(e)+"'";throw new i.TypeError(r)}function n(t){return e(t,this.pop()).apply(t,this)}function a(t){return t[this]}function c(t){var e=+this;return e<0&&(e=Math.max(0,e+t.length)),t[e]}i.prototype.call=function(t){var e=[].slice.call(arguments,1);return e.push(t),this._then(n,void 0,void 0,e,void 0)},i.prototype.get=function(t){var e;if("number"==typeof t)e=c;else if(s){var n=r(t);e=null!==n?n:a}else e=a;return this._then(e,void 0,void 0,t,void 0)}}},{"./util":36}],6:[function(c,t,e){"use strict";t.exports=function(t,e,n,r){var i=c("./util"),o=i.tryCatch,s=i.errorObj,a=t._async;t.prototype.break=t.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var t=this,e=t;t._isCancellable();){if(!t._cancelBy(e)){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}var n=t._cancellationParent;if(null==n||!n._isCancellable()){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}t._isFollowing()&&t._followee().cancel(),t._setWillBeCancelled(),e=t,t=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(t){return t===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),a.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){0<this._length()&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(t,e){if(i.isArray(t))for(var n=0;n<t.length;++n)this._doInvokeOnCancel(t[n],e);else if(void 0!==t)if("function"==typeof t){if(!e){var r=o(t).call(this._boundValue());r===s&&(this._attachExtraTrace(r.e),a.throwLater(r.e))}}else t._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var t=this._onCancel();this._unsetOnCancel(),a.invoke(this._doInvokeOnCancel,this,t)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{"./util":36}],7:[function(t,e,n){"use strict";e.exports=function(p){var h=t("./util"),f=t("./es5").keys,_=h.tryCatch,d=h.errorObj;return function(c,l,u){return function(t){var e=u._boundValue();t:for(var n=0;n<c.length;++n){var r=c[n];if(r===Error||null!=r&&r.prototype instanceof Error){if(t instanceof r)return _(l).call(e,t)}else if("function"==typeof r){var i=_(r).call(e,t);if(i===d)return i;if(i)return _(l).call(e,t)}else if(h.isObject(t)){for(var o=f(r),s=0;s<o.length;++s){var a=o[s];if(r[a]!=t[a])continue t}return _(l).call(e,t)}}return p}}}},{"./es5":13,"./util":36}],8:[function(t,e,n){"use strict";e.exports=function(o){var s=!1,n=[];function a(){this._trace=new a.CapturedTrace(c())}function c(){var t=n.length-1;if(0<=t)return n[t]}return o.prototype._promiseCreated=function(){},o.prototype._pushContext=function(){},o.prototype._popContext=function(){return null},o._peekContext=o.prototype._peekContext=function(){},a.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,n.push(this._trace))},a.prototype._popContext=function(){if(void 0===this._trace)return null;var t=n.pop(),e=t._promiseCreated;return t._promiseCreated=null,e},a.CapturedTrace=null,a.create=function(){if(s)return new a},a.deactivateLongStackTraces=function(){},a.activateLongStackTraces=function(){var t=o.prototype._pushContext,e=o.prototype._popContext,n=o._peekContext,r=o.prototype._peekContext,i=o.prototype._promiseCreated;a.deactivateLongStackTraces=function(){o.prototype._pushContext=t,o.prototype._popContext=e,o._peekContext=n,o.prototype._peekContext=r,o.prototype._promiseCreated=i,s=!1},s=!0,o.prototype._pushContext=a.prototype._pushContext,o.prototype._popContext=a.prototype._popContext,o._peekContext=o.prototype._peekContext=c,o.prototype._promiseCreated=function(){var t=this._peekContext();t&&null==t._promiseCreated&&(t._promiseCreated=this)}},a}},{}],9:[function(Y,t,e){"use strict";t.exports=function(s,r){var n,i,o,a=s._getDomain,c=s._async,l=Y("./errors").Warning,u=Y("./util"),p=Y("./es5"),h=u.canAttachTrace,f=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,_=/\((?:timers\.js):\d+:\d+\)/,d=/[\/<\(](.+?):(\d+):(\d+)\)?\s*#x2F;,v=null,y=null,m=!1,t=!(0==u.env("BLUEBIRD_DEBUG")),e=!(0==u.env("BLUEBIRD_WARNINGS")||!t&&!u.env("BLUEBIRD_WARNINGS")),g=!(0==u.env("BLUEBIRD_LONG_STACK_TRACES")||!t&&!u.env("BLUEBIRD_LONG_STACK_TRACES")),b=0!=u.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(e||!!u.env("BLUEBIRD_W_FORGOTTEN_RETURN"));s.prototype.suppressUnhandledRejections=function(){var t=this._target();t._bitField=-1048577&t._bitField|524288},s.prototype._ensurePossibleRejectionHandled=function(){if(0==(524288&this._bitField)){this._setRejectionIsUnhandled();var t=this;setTimeout(function(){t._notifyUnhandledRejection()},1)}},s.prototype._notifyUnhandledRejectionIsHandled=function(){q("rejectionHandled",n,void 0,this)},s.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},s.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)},s.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var t=this._settledValue();this._setUnhandledRejectionIsNotified(),q("unhandledRejection",i,t,this)}},s.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},s.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},s.prototype._isUnhandledRejectionNotified=function(){return 0<(262144&this._bitField)},s.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},s.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},s.prototype._isRejectionUnhandled=function(){return 0<(1048576&this._bitField)},s.prototype._warn=function(t,e,n){return N(t,e,n||this)},s.onPossiblyUnhandledRejection=function(t){var e=a();i="function"==typeof t?null===e?t:u.domainBind(e,t):void 0},s.onUnhandledRejectionHandled=function(t){var e=a();n="function"==typeof t?null===e?t:u.domainBind(e,t):void 0};var w=function(){};s.longStackTraces=function(){if(c.haveItemsQueued()&&!J.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!J.longStackTraces&&Q()){var t=s.prototype._captureStackTrace,e=s.prototype._attachExtraTrace,n=s.prototype._dereferenceTrace;J.longStackTraces=!0,w=function(){if(c.haveItemsQueued()&&!J.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");s.prototype._captureStackTrace=t,s.prototype._attachExtraTrace=e,s.prototype._dereferenceTrace=n,r.deactivateLongStackTraces(),c.enableTrampoline(),J.longStackTraces=!1},s.prototype._captureStackTrace=I,s.prototype._attachExtraTrace=L,s.prototype._dereferenceTrace=H,r.activateLongStackTraces(),c.disableTrampolineIfNecessary()}},s.hasLongStackTraces=function(){return J.longStackTraces&&Q()};var C=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return u.global.dispatchEvent(t),function(t,e){var n={detail:e,cancelable:!0};p.defineProperty(n,"promise",{value:e.promise}),p.defineProperty(n,"reason",{value:e.reason});var r=new CustomEvent(t.toLowerCase(),n);return!u.global.dispatchEvent(r)}}if("function"!=typeof Event)return(t=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),u.global.dispatchEvent(t),function(t,e){var n=document.createEvent("CustomEvent");return n.initCustomEvent(t.toLowerCase(),!1,!0,e),!u.global.dispatchEvent(n)};var t=new Event("CustomEvent");return u.global.dispatchEvent(t),function(t,e){var n=new Event(t.toLowerCase(),{cancelable:!0});return n.detail=e,p.defineProperty(n,"promise",{value:e.promise}),p.defineProperty(n,"reason",{value:e.reason}),!u.global.dispatchEvent(n)}}catch(t){}return function(){return!1}}(),j=u.isNode?function(){return process.emit.apply(process,arguments)}:u.global?function(t){var e="on"+t.toLowerCase(),n=u.global[e];return!!n&&(n.apply(u.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function E(t,e){return{promise:e}}var k={promiseCreated:E,promiseFulfilled:E,promiseRejected:E,promiseResolved:E,promiseCancelled:E,promiseChained:function(t,e,n){return{promise:e,child:n}},warning:function(t,e){return{warning:e}},unhandledRejection:function(t,e,n){return{reason:e,promise:n}},rejectionHandled:E},F=function(t){var e=!1;try{e=j.apply(null,arguments)}catch(t){c.throwLater(t),e=!0}var n=!1;try{n=C(t,k[t].apply(null,arguments))}catch(t){c.throwLater(t),n=!0}return n||e};function T(){return!1}function x(t,e,n){var r=this;try{t(e,n,function(t){if("function"!=typeof t)throw new TypeError("onCancel must be a function, got: "+u.toString(t));r._attachCancellationCallback(t)})}catch(t){return t}}function P(t){if(!this._isCancellable())return this;var e=this._onCancel();void 0!==e?u.isArray(e)?e.push(t):this._setOnCancel([e,t]):this._setOnCancel(t)}function R(){return this._onCancelField}function S(t){this._onCancelField=t}function O(){this._cancellationParent=void 0,this._onCancelField=void 0}function A(t,e){if(0!=(1&e)){var n=(this._cancellationParent=t)._branchesRemainingToCancel;void 0===n&&(n=0),t._branchesRemainingToCancel=n+1}0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}s.config=function(t){if("longStackTraces"in(t=Object(t))&&(t.longStackTraces?s.longStackTraces():!t.longStackTraces&&s.hasLongStackTraces()&&w()),"warnings"in t){var e=t.warnings;J.warnings=!!e,b=J.warnings,u.isObject(e)&&"wForgottenReturn"in e&&(b=!!e.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!J.cancellation){if(c.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");s.prototype._clearCancellationData=O,s.prototype._propagateFrom=A,s.prototype._onCancel=R,s.prototype._setOnCancel=S,s.prototype._attachCancellationCallback=P,s.prototype._execute=x,D=A,J.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!J.monitoring?(J.monitoring=!0,s.prototype._fireEvent=F):!t.monitoring&&J.monitoring&&(J.monitoring=!1,s.prototype._fireEvent=T)),s},s.prototype._fireEvent=T,s.prototype._execute=function(t,e,n){try{t(e,n)}catch(t){return t}},s.prototype._onCancel=function(){},s.prototype._setOnCancel=function(t){},s.prototype._attachCancellationCallback=function(t){},s.prototype._captureStackTrace=function(){},s.prototype._attachExtraTrace=function(){},s.prototype._dereferenceTrace=function(){},s.prototype._clearCancellationData=function(){},s.prototype._propagateFrom=function(t,e){};var D=function(t,e){0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)};function V(){var t=this._boundTo;return void 0!==t&&t instanceof s?t.isFulfilled()?t.value():void 0:t}function I(){this._trace=new W(this._peekContext())}function L(t,e){if(h(t)){var n=this._trace;if(void 0!==n&&e&&(n=n._parent),void 0!==n)n.attachExtraTrace(t);else if(!t.__stackCleaned__){var r=B(t);u.notEnumerableProp(t,"stack",r.message+"\n"+r.stack.join("\n")),u.notEnumerableProp(t,"__stackCleaned__",!0)}}}function H(){this._trace=void 0}function N(t,e,n){if(J.warnings){var r,i=new l(t);if(e)n._attachExtraTrace(i);else if(J.longStackTraces&&(r=s._peekContext()))r.attachExtraTrace(i);else{var o=B(i);i.stack=o.message+"\n"+o.stack.join("\n")}F("warning",i)||M(i,"",!0)}}function U(t){for(var e=[],n=0;n<t.length;++n){var r=t[n],i=" (No stack trace)"===r||v.test(r),o=i&&z(r);i&&!o&&(m&&" "!==r.charAt(0)&&(r=" "+r),e.push(r))}return e}function B(t){var e=t.stack,n=t.toString();return e="string"==typeof e&&0<e.length?function(t){for(var e=t.stack.replace(/\s+#x2F;g,"").split("\n"),n=0;n<e.length;++n){var r=e[n];if(" (No stack trace)"===r||v.test(r))break}return 0<n&&"SyntaxError"!=t.name&&(e=e.slice(n)),e}(t):[" (No stack trace)"],{message:n,stack:"SyntaxError"==t.name?e:U(e)}}function M(t,e,n){if("undefined"!=typeof console){var r;if(u.isObject(t)){var i=t.stack;r=e+y(i,t)}else r=e+String(t);"function"==typeof o?o(r,n):"function"==typeof console.log||console.log}}function q(t,e,n,r){var i=!1;try{"function"==typeof e&&(i=!0,"rejectionHandled"===t?e(r):e(n,r))}catch(t){c.throwLater(t)}"unhandledRejection"===t?F(t,n,r)||i||M(n,"Unhandled rejection "):F(t,r)}function $(t){var e;if("function"==typeof t)e="[function "+(t.name||"anonymous")+"]";else{e=t&&"function"==typeof t.toString?t.toString():u.toString(t);if(/\[object [a-zA-Z0-9$_]+\]/.test(e))try{e=JSON.stringify(t)}catch(t){}0===e.length&&(e="(empty array)")}return"(<"+function(t){if(t.length<41)return t;return t.substr(0,38)+"..."}(e)+">, no stack trace)"}function Q(){return"function"==typeof K}var z=function(){return!1},G=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*#x2F;;function X(t){var e=t.match(G);if(e)return{fileName:e[1],line:parseInt(e[2],10)}}function W(t){this._parent=t,this._promisesCreated=0;var e=this._length=1+(void 0===t?0:t._length);K(this,W),32<e&&this.uncycle()}u.inherits(W,Error),(r.CapturedTrace=W).prototype.uncycle=function(){var t=this._length;if(!(t<2)){for(var e=[],n={},r=0,i=this;void 0!==i;++r)e.push(i),i=i._parent;for(r=(t=this._length=r)-1;0<=r;--r){var o=e[r].stack;void 0===n[o]&&(n[o]=r)}for(r=0;r<t;++r){var s=n[e[r].stack];if(void 0!==s&&s!==r){0<s&&(e[s-1]._parent=void 0,e[s-1]._length=1),e[r]._parent=void 0,e[r]._length=1;var a=0<r?e[r-1]:this;a._length=s<t-1?(a._parent=e[s+1],a._parent.uncycle(),a._parent._length+1):(a._parent=void 0,1);for(var c=a._length+1,l=r-2;0<=l;--l)e[l]._length=c,c++;return}}}},W.prototype.attachExtraTrace=function(t){if(!t.__stackCleaned__){this.uncycle();for(var e=B(t),n=e.message,r=[e.stack],i=this;void 0!==i;)r.push(U(i.stack.split("\n"))),i=i._parent;!function(t){for(var e=t[0],n=1;n<t.length;++n){for(var r=t[n],i=e.length-1,o=e[i],s=-1,a=r.length-1;0<=a;--a)if(r[a]===o){s=a;break}for(a=s;0<=a;--a){var c=r[a];if(e[i]!==c)break;e.pop(),i--}e=r}}(r),function(t){for(var e=0;e<t.length;++e)(0===t[e].length||e+1<t.length&&t[e][0]===t[e+1][0])&&(t.splice(e,1),e--)}(r),u.notEnumerableProp(t,"stack",function(t,e){for(var n=0;n<e.length-1;++n)e[n].push("From previous event:"),e[n]=e[n].join("\n");return n<e.length&&(e[n]=e[n].join("\n")),t+"\n"+e.join("\n")}(n,r)),u.notEnumerableProp(t,"__stackCleaned__",!0)}};var K=function(){var t=/^\s*at\s*/,e=function(t,e){return"string"==typeof t?t:void 0!==e.name&&void 0!==e.message?e.toString():$(e)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,v=t,y=e;var n=Error.captureStackTrace;return z=function(t){return f.test(t)},function(t,e){Error.stackTraceLimit+=6,n(t,e),Error.stackTraceLimit-=6}}var r,i=new Error;if("string"==typeof i.stack&&0<=i.stack.split("\n")[0].indexOf("stackDetection@"))return v=/@/,y=e,m=!0,function(t){t.stack=(new Error).stack};try{throw new Error}catch(t){r="stack"in t}return"stack"in i||!r||"number"!=typeof Error.stackTraceLimit?(y=function(t,e){return"string"==typeof t?t:"object"!=typeof e&&"function"!=typeof e||void 0===e.name||void 0===e.message?$(e):e.toString()},null):(v=t,y=e,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(o=function(t){},u.isNode&&process.stderr.isTTY?o=function(t,e){}:u.isNode||"string"!=typeof(new Error).stack||(o=function(t,e){}));var J={warnings:e,longStackTraces:!1,cancellation:!1,monitoring:!1};return g&&s.longStackTraces(),{longStackTraces:function(){return J.longStackTraces},warnings:function(){return J.warnings},cancellation:function(){return J.cancellation},monitoring:function(){return J.monitoring},propagateFromFunction:function(){return D},boundValueFunction:function(){return V},checkForgottenReturns:function(t,e,n,r,i){if(void 0===t&&null!==e&&b){if(void 0!==i&&i._returnedNonUndefined())return;if(0==(65535&r._bitField))return;n&&(n+=" ");var o="",s="";if(e._trace){for(var a=e._trace.stack.split("\n"),c=U(a),l=c.length-1;0<=l;--l){var u=c[l];if(!_.test(u)){var p=u.match(d);p&&(o="at "+p[1]+":"+p[2]+":"+p[3]+" ");break}}if(0<c.length){var h=c[0];for(l=0;l<a.length;++l)if(a[l]===h){0<l&&(s="\n"+a[l-1]);break}}}var f="a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+s;r._warn(f,!0,e)}},setBounds:function(t,e){if(Q()){for(var n,r,i=t.stack.split("\n"),o=e.stack.split("\n"),s=-1,a=-1,c=0;c<i.length;++c)if(l=X(i[c])){n=l.fileName,s=l.line;break}for(c=0;c<o.length;++c){var l;if(l=X(o[c])){r=l.fileName,a=l.line;break}}s<0||a<0||!n||!r||n!==r||a<=s||(z=function(t){if(f.test(t))return!0;var e=X(t);return!!(e&&e.fileName===n&&s<=e.line&&e.line<=a)})}},warn:N,deprecated:function(t,e){var n=t+" is deprecated and will be removed in a future version.";return e&&(n+=" Use "+e+" instead."),N(n)},CapturedTrace:W,fireDomEvent:C,fireGlobalEvent:j}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,e,n){"use strict";e.exports=function(n){function r(){return this.value}function i(){throw this.reason}n.prototype.return=n.prototype.thenReturn=function(t){return t instanceof n&&t.suppressUnhandledRejections(),this._then(r,void 0,void 0,{value:t},void 0)},n.prototype.throw=n.prototype.thenThrow=function(t){return this._then(i,void 0,void 0,{reason:t},void 0)},n.prototype.catchThrow=function(t){if(arguments.length<=1)return this._then(void 0,i,void 0,{reason:t},void 0);var e=arguments[1];return this.caught(t,function(){throw e})},n.prototype.catchReturn=function(t){if(arguments.length<=1)return t instanceof n&&t.suppressUnhandledRejections(),this._then(void 0,r,void 0,{value:t},void 0);var e=arguments[1];e instanceof n&&e.suppressUnhandledRejections();return this.caught(t,function(){return e})}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t,n){var r=t.reduce,e=t.all;function i(){return e(this)}t.prototype.each=function(t){return r(this,t,n,0)._then(i,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return r(this,t,n,n)},t.each=function(t,e){return r(t,e,n,0)._then(i,void 0,void 0,t,void 0)},t.mapSeries=function(t,e){return r(t,e,n,n)}}},{}],12:[function(t,e,n){"use strict";var r,i,o=t("./es5"),s=o.freeze,a=t("./util"),c=a.inherits,l=a.notEnumerableProp;function u(e,n){function r(t){if(!(this instanceof r))return new r(t);l(this,"message","string"==typeof t?t:n),l(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return c(r,Error),r}var p=u("Warning","warning"),h=u("CancellationError","cancellation error"),f=u("TimeoutError","timeout error"),_=u("AggregateError","aggregate error");try{r=TypeError,i=RangeError}catch(t){r=u("TypeError","type error"),i=u("RangeError","range error")}for(var d="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),v=0;v<d.length;++v)"function"==typeof Array.prototype[d[v]]&&(_.prototype[d[v]]=Array.prototype[d[v]]);o.defineProperty(_.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),_.prototype.isOperational=!0;var y=0;function m(t){if(!(this instanceof m))return new m(t);l(this,"name","OperationalError"),l(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof Error?(l(this,"message",t.message),l(this,"stack",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}_.prototype.toString=function(){var t=Array(4*y+1).join(" "),e="\n"+t+"AggregateError of:\n";y++,t=Array(4*y+1).join(" ");for(var n=0;n<this.length;++n){for(var r=this[n]===this?"[Circular AggregateError]":this[n]+"",i=r.split("\n"),o=0;o<i.length;++o)i[o]=t+i[o];e+=(r=i.join("\n"))+"\n"}return y--,e},c(m,Error);var g=Error.__BluebirdErrorTypes__;g||(g=s({CancellationError:h,TimeoutError:f,OperationalError:m,RejectionError:m,AggregateError:_}),o.defineProperty(Error,"__BluebirdErrorTypes__",{value:g,writable:!1,enumerable:!1,configurable:!1})),e.exports={Error:Error,TypeError:r,RangeError:i,CancellationError:g.CancellationError,OperationalError:g.OperationalError,TimeoutError:g.TimeoutError,AggregateError:g.AggregateError,Warning:p}},{"./es5":13,"./util":36}],13:[function(t,e,n){var r=function(){"use strict";return void 0===this}();if(r)e.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(t,e){var n=Object.getOwnPropertyDescriptor(t,e);return!(n&&!n.writable&&!n.set)}};else{var i={}.hasOwnProperty,o={}.toString,s={}.constructor.prototype,a=function(t){var e=[];for(var n in t)i.call(t,n)&&e.push(n);return e};e.exports={isArray:function(t){try{return"[object Array]"===o.call(t)}catch(t){return!1}},keys:a,names:a,defineProperty:function(t,e,n){return t[e]=n.value,t},getDescriptor:function(t,e){return{value:t[e]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return Object(t).constructor.prototype}catch(t){return s}},isES5:r,propertyIsWritable:function(){return!0}}}},{}],14:[function(t,e,n){"use strict";e.exports=function(t,r){var i=t.map;t.prototype.filter=function(t,e){return i(this,t,e,r)},t.filter=function(t,e,n){return i(t,e,n,r)}}},{}],15:[function(t,e,n){"use strict";e.exports=function(a,s,c){var l=t("./util"),u=a.CancellationError,p=l.errorObj,h=t("./catch_filter")(c);function i(t,e,n){this.promise=t,this.type=e,this.handler=n,this.called=!1,this.cancelPromise=null}function f(t){this.finallyHandler=t}function _(t,e){return null!=t.cancelPromise&&(1<arguments.length?t.cancelPromise._reject(e):t.cancelPromise._cancel(),!(t.cancelPromise=null))}function d(){return y.call(this,this.promise._target()._settledValue())}function v(t){if(!_(this,t))return p.e=t,p}function y(t){var e=this.promise,n=this.handler;if(!this.called){this.called=!0;var r=this.isFinallyHandler()?n.call(e._boundValue()):n.call(e._boundValue(),t);if(r===c)return r;if(void 0!==r){e._setReturnedNonUndefined();var i=s(r,e);if(i instanceof a){if(null!=this.cancelPromise){if(i._isCancelled()){var o=new u("late cancellation observer");return e._attachExtraTrace(o),p.e=o,p}i.isPending()&&i._attachCancellationCallback(new f(this))}return i._then(d,v,void 0,this,void 0)}}}return e.isRejected()?(_(this),p.e=t,p):(_(this),t)}return i.prototype.isFinallyHandler=function(){return 0===this.type},f.prototype._resultCancelled=function(){_(this.finallyHandler)},a.prototype._passThrough=function(t,e,n,r){return"function"!=typeof t?this.then():this._then(n,r,void 0,new i(this,e,t),void 0)},a.prototype.lastly=a.prototype.finally=function(t){return this._passThrough(t,0,y,y)},a.prototype.tap=function(t){return this._passThrough(t,1,y)},a.prototype.tapCatch=function(t){var e=arguments.length;if(1===e)return this._passThrough(t,1,void 0,y);var n,r=new Array(e-1),i=0;for(n=0;n<e-1;++n){var o=arguments[n];if(!l.isObject(o))return a.reject(new TypeError("tapCatch statement predicate: expecting an object but got "+l.classString(o)));r[i++]=o}r.length=i;var s=arguments[n];return this._passThrough(h(r,s,this),1,void 0,y)},i}},{"./catch_filter":7,"./util":36}],16:[function(n,t,e){"use strict";t.exports=function(a,r,s,c,t,l){var u=n("./errors").TypeError,e=n("./util"),p=e.errorObj,h=e.tryCatch,f=[];function _(t,e,n,r){if(l.cancellation()){var i=new a(s),o=this._finallyPromise=new a(s);this._promise=i.lastly(function(){return o}),i._captureStackTrace(),i._setOnCancel(this)}else{(this._promise=new a(s))._captureStackTrace()}this._stack=r,this._generatorFunction=t,this._receiver=e,this._generator=void 0,this._yieldHandlers="function"==typeof n?[n].concat(f):f,this._yieldedPromise=null,this._cancellationPhase=!1}e.inherits(_,t),_.prototype._isResolved=function(){return null===this._promise},_.prototype._cleanup=function(){this._promise=this._generator=null,l.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},_.prototype._promiseCancelled=function(){if(!this._isResolved()){var t;if(void 0!==this._generator.return)this._promise._pushContext(),t=h(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var e=new a.CancellationError("generator .return() sentinel");a.coroutine.returnSentinel=e,this._promise._attachExtraTrace(e),this._promise._pushContext(),t=h(this._generator.throw).call(this._generator,e),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(t)}},_.prototype._promiseFulfilled=function(t){this._yieldedPromise=null,this._promise._pushContext();var e=h(this._generator.next).call(this._generator,t);this._promise._popContext(),this._continue(e)},_.prototype._promiseRejected=function(t){this._yieldedPromise=null,this._promise._attachExtraTrace(t),this._promise._pushContext();var e=h(this._generator.throw).call(this._generator,t);this._promise._popContext(),this._continue(e)},_.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof a){var t=this._yieldedPromise;this._yieldedPromise=null,t.cancel()}},_.prototype.promise=function(){return this._promise},_.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},_.prototype._continue=function(t){var e=this._promise;if(t===p)return this._cleanup(),this._cancellationPhase?e.cancel():e._rejectCallback(t.e,!1);var n=t.value;if(!0===t.done)return this._cleanup(),this._cancellationPhase?e.cancel():e._resolveCallback(n);var r=c(n,this._promise);if(r instanceof a||null!==(r=function(t,e,n){for(var r=0;r<e.length;++r){n._pushContext();var i=h(e[r])(t);if(n._popContext(),i===p){n._pushContext();var o=a.reject(p.e);return n._popContext(),o}var s=c(i,n);if(s instanceof a)return s}return null}(r,this._yieldHandlers,this._promise))){var i=(r=r._target())._bitField;0==(50397184&i)?(this._yieldedPromise=r)._proxy(this,null):0!=(33554432&i)?a._async.invoke(this._promiseFulfilled,this,r._value()):0!=(16777216&i)?a._async.invoke(this._promiseRejected,this,r._reason()):this._promiseCancelled()}else this._promiseRejected(new u("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/MqrFmX\n\n".replace("%s",String(n))+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")))},a.coroutine=function(r,t){if("function"!=typeof r)throw new u("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var i=Object(t).yieldHandler,o=_,s=(new Error).stack;return function(){var t=r.apply(this,arguments),e=new o(void 0,void 0,i,s),n=e.promise();return e._generator=t,e._promiseFulfilled(void 0),n}},a.coroutine.addYieldHandler=function(t){if("function"!=typeof t)throw new u("expecting a function but got "+e.classString(t));f.push(t)},a.spawn=function(t){if(l.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return r("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var e=new _(t,this),n=e.promise();return e._run(a.spawn),n}}},{"./errors":12,"./util":36}],17:[function(a,t,e){"use strict";t.exports=function(t,i,e,n,r,o){var s=a("./util");s.canEvaluate,s.tryCatch,s.errorObj;t.join=function(){var t,e=arguments.length-1;0<e&&"function"==typeof arguments[e]&&(t=arguments[e]);var n=[].slice.call(arguments);t&&n.pop();var r=new i(n).promise();return void 0!==t?r.spread(t):r}}},{"./util":36}],18:[function(e,t,n){"use strict";t.exports=function(f,t,o,_,s,d){var a=f._getDomain,c=e("./util"),v=c.tryCatch,y=c.errorObj,l=f._async;function u(t,e,n,r){this.constructor$(t),this._promise._captureStackTrace();var i=a();this._callback=null===i?e:c.domainBind(i,e),this._preservedValues=r===s?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=[],l.invoke(this._asyncInit,this,void 0)}function i(t,e,n,r){if("function"!=typeof e)return o("expecting a function but got "+c.classString(e));var i=0;if(void 0!==n){if("object"!=typeof n||null===n)return f.reject(new TypeError("options argument must be an object but it is "+c.classString(n)));if("number"!=typeof n.concurrency)return f.reject(new TypeError("'concurrency' must be a number but it is "+c.classString(n.concurrency)));i=n.concurrency}return new u(t,e,i="number"==typeof i&&isFinite(i)&&1<=i?i:0,r).promise()}c.inherits(u,t),u.prototype._asyncInit=function(){this._init$(void 0,-2)},u.prototype._init=function(){},u.prototype._promiseFulfilled=function(t,e){var n=this._values,r=this.length(),i=this._preservedValues,o=this._limit;if(e<0){if(n[e=-1*e-1]=t,1<=o&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(1<=o&&this._inFlight>=o)return n[e]=t,this._queue.push(e),!1;null!==i&&(i[e]=t);var s=this._promise,a=this._callback,c=s._boundValue();s._pushContext();var l=v(a).call(c,t,e,r),u=s._popContext();if(d.checkForgottenReturns(l,u,null!==i?"Promise.filter":"Promise.map",s),l===y)return this._reject(l.e),!0;var p=_(l,this._promise);if(p instanceof f){var h=(p=p._target())._bitField;if(0==(50397184&h))return 1<=o&&this._inFlight++,(n[e]=p)._proxy(this,-1*(e+1)),!1;if(0==(33554432&h))return 0!=(16777216&h)?this._reject(p._reason()):this._cancel(),!0;l=p._value()}n[e]=l}return r<=++this._totalResolved&&(null!==i?this._filter(n,i):this._resolve(n),!0)},u.prototype._drainQueue=function(){for(var t=this._queue,e=this._limit,n=this._values;0<t.length&&this._inFlight<e;){if(this._isResolved())return;var r=t.pop();this._promiseFulfilled(n[r],r)}},u.prototype._filter=function(t,e){for(var n=e.length,r=new Array(n),i=0,o=0;o<n;++o)t[o]&&(r[i++]=e[o]);r.length=i,this._resolve(r)},u.prototype.preservedValues=function(){return this._preservedValues},f.prototype.map=function(t,e){return i(this,t,e,null)},f.map=function(t,e,n,r){return i(t,e,n,r)}}},{"./util":36}],19:[function(e,t,n){"use strict";t.exports=function(s,a,t,c,l){var u=e("./util"),p=u.tryCatch;s.method=function(r){if("function"!=typeof r)throw new s.TypeError("expecting a function but got "+u.classString(r));return function(){var t=new s(a);t._captureStackTrace(),t._pushContext();var e=p(r).apply(this,arguments),n=t._popContext();return l.checkForgottenReturns(e,n,"Promise.method",t),t._resolveFromSyncValue(e),t}},s.attempt=s.try=function(t){if("function"!=typeof t)return c("expecting a function but got "+u.classString(t));var e,n=new s(a);if(n._captureStackTrace(),n._pushContext(),1<arguments.length){l.deprecated("calling Promise.try with more than 1 argument");var r=arguments[1],i=arguments[2];e=u.isArray(r)?p(t).apply(i,r):p(t).call(i,r)}else e=p(t)();var o=n._popContext();return l.checkForgottenReturns(e,o,"Promise.try",n),n._resolveFromSyncValue(e),n},s.prototype._resolveFromSyncValue=function(t){t===u.errorObj?this._rejectCallback(t.e,!1):this._resolveCallback(t,!0)}}},{"./util":36}],20:[function(t,e,n){"use strict";var s=t("./util"),a=s.maybeWrapAsError,c=t("./errors").OperationalError,l=t("./es5");var u=/^(?:name|message|stack|cause)#x2F;;function p(t){var e,n;if((n=t)instanceof Error&&l.getPrototypeOf(n)===Error.prototype){(e=new c(t)).name=t.name,e.message=t.message,e.stack=t.stack;for(var r=l.keys(t),i=0;i<r.length;++i){var o=r[i];u.test(o)||(e[o]=t[o])}return e}return s.markAsOriginatingFromRejection(t),t}e.exports=function(i,o){return function(t,e){if(null!==i){if(t){var n=p(a(t));i._attachExtraTrace(n),i._reject(n)}else if(o){var r=[].slice.call(arguments,1);i._fulfill(r)}else i._fulfill(e);i=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(e,t,n){"use strict";t.exports=function(t){var r=e("./util"),i=t._async,o=r.tryCatch,s=r.errorObj;function a(t,e){if(!r.isArray(t))return c.call(this,t,e);var n=o(e).apply(this._boundValue(),[null].concat(t));n===s&&i.throwLater(n.e)}function c(t,e){var n=this._boundValue(),r=void 0===t?o(e).call(n,null):o(e).call(n,null,t);r===s&&i.throwLater(r.e)}function l(t,e){if(!t){var n=new Error(t+"");n.cause=t,t=n}var r=o(e).call(this._boundValue(),t);r===s&&i.throwLater(r.e)}t.prototype.asCallback=t.prototype.nodeify=function(t,e){if("function"==typeof t){var n=c;void 0!==e&&Object(e).spread&&(n=a),this._then(n,l,void 0,this,t)}return this}}},{"./util":36}],22:[function(R,S,t){"use strict";S.exports=function(){var c=function(){return new p("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},a=function(){return new F.PromiseInspection(this._target())},s=function(t){return F.reject(new p(t))};function l(){}var f,u={},_=R("./util");f=_.isNode?function(){var t=process.domain;return void 0===t&&(t=null),t}:function(){return null},_.notEnumerableProp(F,"_getDomain",f);var t=R("./es5"),e=R("./async"),d=new e;t.defineProperty(F,"_async",{value:d});var n=R("./errors"),p=F.TypeError=n.TypeError;F.RangeError=n.RangeError;var v=F.CancellationError=n.CancellationError;F.TimeoutError=n.TimeoutError,F.OperationalError=n.OperationalError,F.RejectionError=n.OperationalError,F.AggregateError=n.AggregateError;var y=function(){},h={},m={},g=R("./thenables")(F,y),b=R("./promise_array")(F,y,g,s,l),r=R("./context")(F),i=r.create,w=R("./debuggability")(F,r),C=(w.CapturedTrace,R("./finally")(F,g,m)),j=R("./catch_filter")(m),o=R("./nodeback"),E=_.errorObj,k=_.tryCatch;function F(t){t!==y&&function(t,e){if(null==t||t.constructor!==F)throw new p("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof e)throw new p("expecting a function but got "+_.classString(e))}(this,t),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(t),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function T(t){this.promise._resolveCallback(t)}function x(t){this.promise._rejectCallback(t,!1)}function P(t){var e=new F(y);e._fulfillmentHandler0=t,e._rejectionHandler0=t,e._promise0=t,e._receiver0=t}return F.prototype.toString=function(){return"[object Promise]"},F.prototype.caught=F.prototype.catch=function(t){var e=arguments.length;if(1<e){var n,r=new Array(e-1),i=0;for(n=0;n<e-1;++n){var o=arguments[n];if(!_.isObject(o))return s("Catch statement predicate: expecting an object but got "+_.classString(o));r[i++]=o}return r.length=i,t=arguments[n],this.then(void 0,j(r,t,this))}return this.then(void 0,t)},F.prototype.reflect=function(){return this._then(a,a,void 0,this,void 0)},F.prototype.then=function(t,e){if(w.warnings()&&0<arguments.length&&"function"!=typeof t&&"function"!=typeof e){var n=".then() only accepts functions but was passed: "+_.classString(t);1<arguments.length&&(n+=", "+_.classString(e)),this._warn(n)}return this._then(t,e,void 0,void 0,void 0)},F.prototype.done=function(t,e){this._then(t,e,void 0,void 0,void 0)._setIsFinal()},F.prototype.spread=function(t){return"function"!=typeof t?s("expecting a function but got "+_.classString(t)):this.all()._then(t,void 0,void 0,h,void 0)},F.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},F.prototype.all=function(){return 0<arguments.length&&this._warn(".all() was passed arguments but it does not take any"),new b(this).promise()},F.prototype.error=function(t){return this.caught(_.originatesFromRejection,t)},F.getNewLibraryCopy=S.exports,F.is=function(t){return t instanceof F},F.fromNode=F.fromCallback=function(t){var e=new F(y);e._captureStackTrace();var n=1<arguments.length&&!!Object(arguments[1]).multiArgs,r=k(t)(o(e,n));return r===E&&e._rejectCallback(r.e,!0),e._isFateSealed()||e._setAsyncGuaranteed(),e},F.all=function(t){return new b(t).promise()},F.resolve=F.fulfilled=F.cast=function(t){var e=g(t);return e instanceof F||((e=new F(y))._captureStackTrace(),e._setFulfilled(),e._rejectionHandler0=t),e},F.reject=F.rejected=function(t){var e=new F(y);return e._captureStackTrace(),e._rejectCallback(t,!0),e},F.setScheduler=function(t){if("function"!=typeof t)throw new p("expecting a function but got "+_.classString(t));return d.setScheduler(t)},F.prototype._then=function(t,e,n,r,i){var o=void 0!==i,s=o?i:new F(y),a=this._target(),c=a._bitField;o||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===r&&0!=(2097152&this._bitField)&&(r=0!=(50397184&c)?this._boundValue():a===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var l=f();if(0!=(50397184&c)){var u,p,h=a._settlePromiseCtx;0!=(33554432&c)?(p=a._rejectionHandler0,u=t):0!=(16777216&c)?(p=a._fulfillmentHandler0,u=e,a._unsetRejectionIsUnhandled()):(h=a._settlePromiseLateCancellationObserver,p=new v("late cancellation observer"),a._attachExtraTrace(p),u=e),d.invoke(h,a,{handler:null===l?u:"function"==typeof u&&_.domainBind(l,u),promise:s,receiver:r,value:p})}else a._addCallbacks(t,e,s,r,l);return s},F.prototype._length=function(){return 65535&this._bitField},F.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},F.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},F.prototype._setLength=function(t){this._bitField=-65536&this._bitField|65535&t},F.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},F.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},F.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},F.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},F.prototype._isFinal=function(){return 0<(4194304&this._bitField)},F.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},F.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},F.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},F.prototype._setAsyncGuaranteed=function(){d.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},F.prototype._receiverAt=function(t){var e=0===t?this._receiver0:this[4*t-4+3];if(e!==u)return void 0===e&&this._isBound()?this._boundValue():e},F.prototype._promiseAt=function(t){return this[4*t-4+2]},F.prototype._fulfillmentHandlerAt=function(t){return this[4*t-4+0]},F.prototype._rejectionHandlerAt=function(t){return this[4*t-4+1]},F.prototype._boundValue=function(){},F.prototype._migrateCallback0=function(t){t._bitField;var e=t._fulfillmentHandler0,n=t._rejectionHandler0,r=t._promise0,i=t._receiverAt(0);void 0===i&&(i=u),this._addCallbacks(e,n,r,i,null)},F.prototype._migrateCallbackAt=function(t,e){var n=t._fulfillmentHandlerAt(e),r=t._rejectionHandlerAt(e),i=t._promiseAt(e),o=t._receiverAt(e);void 0===o&&(o=u),this._addCallbacks(n,r,i,o,null)},F.prototype._addCallbacks=function(t,e,n,r,i){var o=this._length();if(65531<=o&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,"function"==typeof t&&(this._fulfillmentHandler0=null===i?t:_.domainBind(i,t)),"function"==typeof e&&(this._rejectionHandler0=null===i?e:_.domainBind(i,e));else{var s=4*o-4;this[s+2]=n,this[s+3]=r,"function"==typeof t&&(this[s+0]=null===i?t:_.domainBind(i,t)),"function"==typeof e&&(this[s+1]=null===i?e:_.domainBind(i,e))}return this._setLength(o+1),o},F.prototype._proxy=function(t,e){this._addCallbacks(void 0,void 0,e,t,null)},F.prototype._resolveCallback=function(t,e){if(0==(117506048&this._bitField)){if(t===this)return this._rejectCallback(c(),!1);var n=g(t,this);if(!(n instanceof F))return this._fulfill(t);e&&this._propagateFrom(n,2);var r=n._target();if(r!==this){var i=r._bitField;if(0==(50397184&i)){var o=this._length();0<o&&r._migrateCallback0(this);for(var s=1;s<o;++s)r._migrateCallbackAt(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(r)}else if(0!=(33554432&i))this._fulfill(r._value());else if(0!=(16777216&i))this._reject(r._reason());else{var a=new v("late cancellation observer");r._attachExtraTrace(a),this._reject(a)}}else this._reject(c())}},F.prototype._rejectCallback=function(t,e,n){var r=_.ensureErrorObject(t),i=r===t;if(!i&&!n&&w.warnings()){var o="a promise was rejected with a non-error: "+_.classString(t);this._warn(o,!0)}this._attachExtraTrace(r,!!e&&i),this._reject(t)},F.prototype._resolveFromExecutor=function(t){if(t!==y){var e=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(t,function(t){e._resolveCallback(t)},function(t){e._rejectCallback(t,n)});n=!1,this._popContext(),void 0!==r&&e._rejectCallback(r,!0)}},F.prototype._settlePromiseFromHandler=function(t,e,n,r){var i=r._bitField;if(0==(65536&i)){var o;r._pushContext(),e===h?n&&"number"==typeof n.length?o=k(t).apply(this._boundValue(),n):(o=E).e=new p("cannot .spread() a non-array: "+_.classString(n)):o=k(t).call(e,n);var s=r._popContext();0==(65536&(i=r._bitField))&&(o===m?r._reject(n):o===E?r._rejectCallback(o.e,!1):(w.checkForgottenReturns(o,s,"",r,this),r._resolveCallback(o)))}},F.prototype._target=function(){for(var t=this;t._isFollowing();)t=t._followee();return t},F.prototype._followee=function(){return this._rejectionHandler0},F.prototype._setFollowee=function(t){this._rejectionHandler0=t},F.prototype._settlePromise=function(t,e,n,r){var i=t instanceof F,o=this._bitField,s=0!=(134217728&o);0!=(65536&o)?(i&&t._invokeInternalOnCancel(),n instanceof C&&n.isFinallyHandler()?(n.cancelPromise=t,k(e).call(n,r)===E&&t._reject(E.e)):e===a?t._fulfill(a.call(n)):n instanceof l?n._promiseCancelled(t):i||t instanceof b?t._cancel():n.cancel()):"function"==typeof e?i?(s&&t._setAsyncGuaranteed(),this._settlePromiseFromHandler(e,n,r,t)):e.call(n,r,t):n instanceof l?n._isResolved()||(0!=(33554432&o)?n._promiseFulfilled(r,t):n._promiseRejected(r,t)):i&&(s&&t._setAsyncGuaranteed(),0!=(33554432&o)?t._fulfill(r):t._reject(r))},F.prototype._settlePromiseLateCancellationObserver=function(t){var e=t.handler,n=t.promise,r=t.receiver,i=t.value;"function"==typeof e?n instanceof F?this._settlePromiseFromHandler(e,r,i,n):e.call(r,i,n):n instanceof F&&n._reject(i)},F.prototype._settlePromiseCtx=function(t){this._settlePromise(t.promise,t.handler,t.receiver,t.value)},F.prototype._settlePromise0=function(t,e,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,t,i,e)},F.prototype._clearCallbackDataAtIndex=function(t){var e=4*t-4;this[e+2]=this[e+3]=this[e+0]=this[e+1]=void 0},F.prototype._fulfill=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(t===this){var n=c();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=t,0<(65535&e)&&(0!=(134217728&e)?this._settlePromises():d.settlePromises(this),this._dereferenceTrace())}},F.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=t,this._isFinal())return d.fatalError(t,_.isNode);0<(65535&e)?d.settlePromises(this):this._ensurePossibleRejectionHandled()}},F.prototype._fulfillPromises=function(t,e){for(var n=1;n<t;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},F.prototype._rejectPromises=function(t,e){for(var n=1;n<t;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},F.prototype._settlePromises=function(){var t=this._bitField,e=65535&t;if(0<e){if(0!=(16842752&t)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,t),this._rejectPromises(e,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,t),this._fulfillPromises(e,r)}this._setLength(0)}this._clearCancellationData()},F.prototype._settledValue=function(){var t=this._bitField;return 0!=(33554432&t)?this._rejectionHandler0:0!=(16777216&t)?this._fulfillmentHandler0:void 0},F.defer=F.pending=function(){return w.deprecated("Promise.defer","new Promise"),{promise:new F(y),resolve:T,reject:x}},_.notEnumerableProp(F,"_makeSelfResolutionError",c),R("./method")(F,y,g,s,w),R("./bind")(F,y,g,w),R("./cancel")(F,b,s,w),R("./direct_resolve")(F),R("./synchronous_inspection")(F),R("./join")(F,b,g,y,d,f),(F.Promise=F).version="3.5.3",R("./map.js")(F,b,s,g,y,w),R("./call_get.js")(F),R("./using.js")(F,s,g,i,y,w),R("./timers.js")(F,y,w),R("./generators.js")(F,s,y,g,l,w),R("./nodeify.js")(F),R("./promisify.js")(F,y),R("./props.js")(F,b,g,s),R("./race.js")(F,y,g,s),R("./reduce.js")(F,b,s,g,y,w),R("./settle.js")(F,b,w),R("./some.js")(F,b,s),R("./filter.js")(F,y),R("./each.js")(F,y),R("./any.js")(F),_.toFastProperties(F),_.toFastProperties(F.prototype),P({a:1}),P({b:2}),P({c:3}),P(1),P(function(){}),P(void 0),P(!1),P(new F(y)),w.setBounds(e.firstLineError,_.lastLineError),F}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(r,t,e){"use strict";t.exports=function(a,n,c,s,t){var l=r("./util");l.isArray;function e(t){var e=this._promise=new a(n);t instanceof a&&e._propagateFrom(t,3),e._setOnCancel(this),this._values=t,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return l.inherits(e,t),e.prototype.length=function(){return this._length},e.prototype.promise=function(){return this._promise},e.prototype._init=function t(e,n){var r=c(this._values,this._promise);if(r instanceof a){var i=(r=r._target())._bitField;if(this._values=r,0==(50397184&i))return this._promise._setAsyncGuaranteed(),r._then(t,this._reject,void 0,this,n);if(0==(33554432&i))return 0!=(16777216&i)?this._reject(r._reason()):this._cancel();r=r._value()}if(null!==(r=l.asArray(r)))0!==r.length?this._iterate(r):-5===n?this._resolveEmptyArray():this._resolve(function(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}(n));else{var o=s("expecting an array or an iterable object but got "+l.classString(r)).reason();this._promise._rejectCallback(o,!1)}},e.prototype._iterate=function(t){var e=this.getActualLength(t.length);this._length=e,this._values=this.shouldCopyValues()?new Array(e):this._values;for(var n=this._promise,r=!1,i=null,o=0;o<e;++o){var s=c(t[o],n);i=s instanceof a?(s=s._target())._bitField:null,r?null!==i&&s.suppressUnhandledRejections():null!==i?0==(50397184&i)?(s._proxy(this,o),this._values[o]=s):r=0!=(33554432&i)?this._promiseFulfilled(s._value(),o):0!=(16777216&i)?this._promiseRejected(s._reason(),o):this._promiseCancelled(o):r=this._promiseFulfilled(s,o)}r||n._setAsyncGuaranteed()},e.prototype._isResolved=function(){return null===this._values},e.prototype._resolve=function(t){this._values=null,this._promise._fulfill(t)},e.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},e.prototype._reject=function(t){this._values=null,this._promise._rejectCallback(t,!1)},e.prototype._promiseFulfilled=function(t,e){return this._values[e]=t,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},e.prototype._promiseCancelled=function(){return this._cancel(),!0},e.prototype._promiseRejected=function(t){return this._totalResolved++,this._reject(t),!0},e.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof a)t.cancel();else for(var e=0;e<t.length;++e)t[e]instanceof a&&t[e].cancel()}},e.prototype.shouldCopyValues=function(){return!0},e.prototype.getActualLength=function(t){return t},e}},{"./util":36}],24:[function(r,t,e){"use strict";t.exports=function(l,u){var f={},_=r("./util"),p=r("./nodeback"),h=_.withAppended,d=_.maybeWrapAsError,t=_.canEvaluate,v=r("./errors").TypeError,y={__isPromisified__:!0},e=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"].join("|")+")quot;),m=function(t){return _.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t};function s(t){return!e.test(t)}function g(t){try{return!0===t.__isPromisified__}catch(t){return!1}}function b(t,e,n,r){for(var i,o,s,a,c=_.inheritedDataKeys(t),l=[],u=0;u<c.length;++u){var p=c[u],h=t[p],f=r===m||m(p,h,t);"function"!=typeof h||g(h)||(i=t,o=p,s=e,void 0,(a=_.getDataPropertyOrDefault(i,o+s,y))&&g(a))||!r(p,h,t,f)||l.push(p,h)}return function(t,e,n){for(var r=0;r<t.length;r+=2){var i=t[r];if(n.test(i))for(var o=i.replace(n,""),s=0;s<t.length;s+=2)if(t[s]===o)throw new v("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",e))}}(l,e,n),l}var n,w=function(t){return t.replace(/([$])/,"\\quot;)};var C=t?n:function(i,o,t,e,n,s){var a=function(){return this}(),c=i;function r(){var t=o;o===f&&(t=this);var e=new l(u);e._captureStackTrace();var n="string"==typeof c&&this!==a?this[c]:i,r=p(e,s);try{n.apply(t,h(arguments,r))}catch(t){e._rejectCallback(d(t),!0,!0)}return e._isFateSealed()||e._setAsyncGuaranteed(),e}return"string"==typeof c&&(i=e),_.notEnumerableProp(r,"__isPromisified__",!0),r};function j(t,e,n,r,i){for(var o=new RegExp(w(e)+"quot;),s=b(t,e,o,n),a=0,c=s.length;a<c;a+=2){var l=s[a],u=s[a+1],p=l+e;if(r===C)t[p]=C(l,f,l,u,e,i);else{var h=r(u,function(){return C(l,f,l,u,e,i)});_.notEnumerableProp(h,"__isPromisified__",!0),t[p]=h}}return _.toFastProperties(t),t}l.promisify=function(t,e){if("function"!=typeof t)throw new v("expecting a function but got "+_.classString(t));if(g(t))return t;var n,r=void 0===(e=Object(e)).context?f:e.context,i=!!e.multiArgs,o=C(n=t,r,void 0,n,null,i);return _.copyDescriptors(t,o,s),o},l.promisifyAll=function(t,e){if("function"!=typeof t&&"object"!=typeof t)throw new v("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var n=!!(e=Object(e)).multiArgs,r=e.suffix;"string"!=typeof r&&(r="Async");var i=e.filter;"function"!=typeof i&&(i=m);var o=e.promisifier;if("function"!=typeof o&&(o=C),!_.isIdentifier(r))throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var s=_.inheritedDataKeys(t),a=0;a<s.length;++a){var c=t[s[a]];"constructor"!==s[a]&&_.isClass(c)&&(j(c.prototype,r,i,o,n),j(c,r,i,o,n))}return j(t,r,i,o,n)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(p,t,e){"use strict";t.exports=function(r,t,i,o){var a,e=p("./util"),s=e.isObject,c=p("./es5");"function"==typeof Map&&(a=Map);var l=function(){var n=0,r=0;function i(t,e){this[n]=t,this[n+r]=e,n++}return function(t){r=t.size,n=0;var e=new Array(2*t.size);return t.forEach(i,e),e}}();function u(t){var e,n=!1;if(void 0!==a&&t instanceof a)e=l(t),n=!0;else{var r=c.keys(t),i=r.length;e=new Array(2*i);for(var o=0;o<i;++o){var s=r[o];e[o]=t[s],e[o+i]=s}}this.constructor$(e),this._isMap=n,this._init$(void 0,n?-6:-3)}function n(t){var e,n=i(t);return s(n)?(e=n instanceof r?n._then(r.props,void 0,void 0,void 0,void 0):new u(n).promise(),n instanceof r&&e._propagateFrom(n,2),e):o("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}e.inherits(u,t),u.prototype._init=function(){},u.prototype._promiseFulfilled=function(t,e){if(this._values[e]=t,++this._totalResolved>=this._length){var n;if(this._isMap)n=function(t){for(var e=new a,n=t.length/2|0,r=0;r<n;++r){var i=t[n+r],o=t[r];e.set(i,o)}return e}(this._values);else{n={};for(var r=this.length(),i=0,o=this.length();i<o;++i)n[this._values[i+r]]=this._values[i]}return this._resolve(n),!0}return!1},u.prototype.shouldCopyValues=function(){return!1},u.prototype.getActualLength=function(t){return t>>1},r.prototype.props=function(){return n(this)},r.props=function(t){return n(t)}}},{"./es5":13,"./util":36}],26:[function(t,e,n){"use strict";function r(t){this._capacity=t,this._length=0,this._front=0}r.prototype._willBeOverCapacity=function(t){return this._capacity<t},r.prototype._pushOne=function(t){var e=this.length();this._checkCapacity(e+1),this[this._front+e&this._capacity-1]=t,this._length=e+1},r.prototype.push=function(t,e,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(t),this._pushOne(e),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=t,this[i+1&o]=e,this[i+2&o]=n,this._length=r},r.prototype.shift=function(){var t=this._front,e=this[t];return this[t]=void 0,this._front=t+1&this._capacity-1,this._length--,e},r.prototype.length=function(){return this._length},r.prototype._checkCapacity=function(t){this._capacity<t&&this._resizeTo(this._capacity<<1)},r.prototype._resizeTo=function(t){var e=this._capacity;this._capacity=t,function(t,e,n,r,i){for(var o=0;o<i;++o)n[o+r]=t[o+e],t[o+e]=void 0}(this,0,this,e,this._front+this._length&e-1)},e.exports=r},{}],27:[function(t,e,n){"use strict";e.exports=function(l,u,p,h){var f=t("./util"),_=function(e){return e.then(function(t){return n(t,e)})};function n(t,e){var n=p(t);if(n instanceof l)return _(n);if(null===(t=f.asArray(t)))return h("expecting an array or an iterable object but got "+f.classString(t));var r=new l(u);void 0!==e&&r._propagateFrom(e,3);for(var i=r._fulfill,o=r._reject,s=0,a=t.length;s<a;++s){var c=t[s];(void 0!==c||s in t)&&l.cast(c)._then(i,o,void 0,r,null)}return r}l.race=function(t){return n(t,void 0)},l.prototype.race=function(){return n(this,void 0)}}},{"./util":36}],28:[function(e,t,n){"use strict";t.exports=function(s,t,i,n,o,a){var c=s._getDomain,l=e("./util"),u=l.tryCatch;function p(t,e,n,r){this.constructor$(t);var i=c();this._fn=null===i?e:l.domainBind(i,e),void 0!==n&&(n=s.resolve(n))._attachCancellationCallback(this),this._initialValue=n,this._currentCancellable=null,this._eachValues=r===o?Array(this._length):0===r?null:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function h(t,e){this.isFulfilled()?e._resolve(t):e._reject(t)}function f(t,e,n,r){return"function"!=typeof e?i("expecting a function but got "+l.classString(e)):new p(t,e,n,r).promise()}function _(t){this.accum=t,this.array._gotAccum(t);var e=n(this.value,this.array._promise);return e instanceof s?(this.array._currentCancellable=e)._then(r,void 0,void 0,this,void 0):r.call(this,e)}function r(t){var e,n=this.array,r=n._promise,i=u(n._fn);r._pushContext(),(e=void 0!==n._eachValues?i.call(r._boundValue(),t,this.index,this.length):i.call(r._boundValue(),this.accum,t,this.index,this.length))instanceof s&&(n._currentCancellable=e);var o=r._popContext();return a.checkForgottenReturns(e,o,void 0!==n._eachValues?"Promise.each":"Promise.reduce",r),e}l.inherits(p,t),p.prototype._gotAccum=function(t){void 0!==this._eachValues&&null!==this._eachValues&&t!==o&&this._eachValues.push(t)},p.prototype._eachComplete=function(t){return null!==this._eachValues&&this._eachValues.push(t),this._eachValues},p.prototype._init=function(){},p.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},p.prototype.shouldCopyValues=function(){return!1},p.prototype._resolve=function(t){this._promise._resolveCallback(t),this._values=null},p.prototype._resultCancelled=function(t){if(t===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof s&&this._currentCancellable.cancel(),this._initialValue instanceof s&&this._initialValue.cancel())},p.prototype._iterate=function(t){var e,n,r=(this._values=t).length;if(n=void 0!==this._initialValue?(e=this._initialValue,0):(e=s.resolve(t[0]),1),!(this._currentCancellable=e).isRejected())for(;n<r;++n){var i={accum:null,value:t[n],index:n,length:r,array:this};e=e._then(_,void 0,void 0,i,void 0)}void 0!==this._eachValues&&(e=e._then(this._eachComplete,void 0,void 0,this,void 0)),e._then(h,h,void 0,e,this)},s.prototype.reduce=function(t,e){return f(this,t,e,null)},s.reduce=function(t,e,n,r){return f(t,e,n,r)}}},{"./util":36}],29:[function(t,e,n){"use strict";var r,i=t("./util"),o=i.getNativePromise();if(i.isNode&&"undefined"==typeof MutationObserver){var s=global.setImmediate,a=process.nextTick;r=i.isRecentNode?function(t){s.call(global,t)}:function(t){a.call(process,t)}}else if("function"==typeof o&&"function"==typeof o.resolve){var c=o.resolve();r=function(t){c.then(t)}}else r="undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:"undefined"!=typeof setTimeout?function(t){setTimeout(t,0)}:function(){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}:function(){var n=document.createElement("div"),r={attributes:!0},i=!1,o=document.createElement("div");new MutationObserver(function(){n.classList.toggle("foo"),i=!1}).observe(o,r);return function(t){var e=new MutationObserver(function(){e.disconnect(),t()});e.observe(n,r),i||(i=!0,o.classList.toggle("foo"))}}();e.exports=r},{"./util":36}],30:[function(o,t,e){"use strict";t.exports=function(t,e,n){var r=t.PromiseInspection;function i(t){this.constructor$(t)}o("./util").inherits(i,e),i.prototype._promiseResolved=function(t,e){return this._values[t]=e,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},i.prototype._promiseFulfilled=function(t,e){var n=new r;return n._bitField=33554432,n._settledValueField=t,this._promiseResolved(e,n)},i.prototype._promiseRejected=function(t,e){var n=new r;return n._bitField=16777216,n._settledValueField=t,this._promiseResolved(e,n)},t.settle=function(t){return n.deprecated(".settle()",".reflect()"),new i(t).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":36}],31:[function(u,t,e){"use strict";t.exports=function(t,e,i){var n=u("./util"),r=u("./errors").RangeError,o=u("./errors").AggregateError,s=n.isArray,a={};function c(t){this.constructor$(t),this._howMany=0,this._unwrap=!1,this._initialized=!1}function l(t,e){if((0|e)!==e||e<0)return i("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new c(t),r=n.promise();return n.setHowMany(e),n.init(),r}n.inherits(c,e),c.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var t=s(this._values);!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(t){this._howMany=t},c.prototype._promiseFulfilled=function(t){return this._addFulfilled(t),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},c.prototype._promiseRejected=function(t){return this._addRejected(t),this._checkOutcome()},c.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(a),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var t=new o,e=this.length();e<this._values.length;++e)this._values[e]!==a&&t.push(this._values[e]);return 0<t.length?this._reject(t):this._cancel(),!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(t){this._values.push(t)},c.prototype._addFulfilled=function(t){this._values[this._totalResolved++]=t},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(t){var e="Input array must contain at least "+this._howMany+" items but contains only "+t+" items";return new r(e)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(t,e){return l(t,e)},t.prototype.some=function(t){return l(this,t)},t._SomePromiseArray=c}},{"./errors":12,"./util":36}],32:[function(t,e,n){"use strict";e.exports=function(t){function e(t){this._settledValueField=void 0!==t?(t=t._target(),this._bitField=t._bitField,t._isFateSealed()?t._settledValue():void 0):void(this._bitField=0)}e.prototype._settledValue=function(){return this._settledValueField};var n=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},r=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=e.prototype.isFulfilled=function(){return 0!=(33554432&this._bitField)},o=e.prototype.isRejected=function(){return 0!=(16777216&this._bitField)},s=e.prototype.isPending=function(){return 0==(50397184&this._bitField)},a=e.prototype.isResolved=function(){return 0!=(50331648&this._bitField)};e.prototype.isCancelled=function(){return 0!=(8454144&this._bitField)},t.prototype.__isCancelled=function(){return 65536==(65536&this._bitField)},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return 0!=(8454144&this._target()._bitField)},t.prototype.isPending=function(){return s.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return i.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return n.call(this._target())},t.prototype.reason=function(){var t=this._target();return t._unsetRejectionIsUnhandled(),r.call(t)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}},{}],33:[function(t,e,n){"use strict";e.exports=function(a,c){var l=t("./util"),u=l.errorObj,i=l.isObject;var o={}.hasOwnProperty;return function(t,e){if(i(t)){if(t instanceof a)return t;var n=function(t){try{return t.then}catch(t){return u.e=t,u}}(t);if(n===u){e&&e._pushContext();var r=a.reject(n.e);return e&&e._popContext(),r}if("function"==typeof n)return function(t){try{return o.call(t,"_promise0")}catch(t){return!1}}(t)?(r=new a(c),t._then(r._fulfill,r._reject,void 0,r,null),r):function(t,e,n){var r=new a(c),i=r;n&&n._pushContext(),r._captureStackTrace(),n&&n._popContext();var o=!0,s=l.tryCatch(e).call(t,function(t){r&&(r._resolveCallback(t),r=null)},function(t){r&&(r._rejectCallback(t,o,!0),r=null)});return o=!1,r&&s===u&&(r._rejectCallback(s.e,!0,!0),r=null),i}(t,n,e)}return t}}},{"./util":36}],34:[function(t,e,n){"use strict";e.exports=function(i,o,a){var c=t("./util"),l=i.TimeoutError;function u(t){this.handle=t}u.prototype._resultCancelled=function(){clearTimeout(this.handle)};var s=function(t){return e(+this).thenReturn(t)},e=i.delay=function(t,e){var n,r;return void 0!==e?(n=i.resolve(e)._then(s,null,null,t,void 0),a.cancellation()&&e instanceof i&&n._setOnCancel(e)):(n=new i(o),r=setTimeout(function(){n._fulfill()},+t),a.cancellation()&&n._setOnCancel(new u(r)),n._captureStackTrace()),n._setAsyncGuaranteed(),n};i.prototype.delay=function(t){return e(t,this)};function n(t){return clearTimeout(this.handle),t}function r(t){throw clearTimeout(this.handle),t}i.prototype.timeout=function(t,i){var o,s;t=+t;var e=new u(setTimeout(function(){var t,e,n,r;o.isPending()&&(t=o,n=s,r="string"!=typeof(e=i)?e instanceof Error?e:new l("operation timed out"):new l(e),c.markAsOriginatingFromRejection(r),t._attachExtraTrace(r),t._reject(r),null!=n&&n.cancel())},t));return a.cancellation()?(s=this.then(),(o=s._then(n,r,void 0,e,void 0))._setOnCancel(e)):o=this._then(n,r,void 0,e,void 0),o}}},{"./util":36}],35:[function(s,t,e){"use strict";t.exports=function(h,f,_,e,t,d){var v=s("./util"),n=s("./errors").TypeError,r=s("./util").inherits,y=v.errorObj,m=v.tryCatch,i={};function l(t){setTimeout(function(){throw t},0)}function g(i,o){var s=0,a=i.length,c=new h(t);return function t(){if(a<=s)return c._fulfill();var e,n,r=(e=i[s++],(n=_(e))!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&n._setDisposable(e._getDisposer()),n);if(r instanceof h&&r._isDisposable()){try{r=_(r._getDisposer().tryDispose(o),i.promise)}catch(t){return l(t)}if(r instanceof h)return r._then(t,l,null,null,null)}t()}(),c}function b(t,e,n){this._data=t,this._promise=e,this._context=n}function o(t,e,n){this.constructor$(t,e,n)}function w(t){return b.isDisposer(t)?(this.resources[this.index]._setDisposable(t),t.promise()):t}function C(t){this.length=t,this.promise=null,this[t-1]=null}b.prototype.data=function(){return this._data},b.prototype.promise=function(){return this._promise},b.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():i},b.prototype.tryDispose=function(t){var e=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=e!==i?this.doDispose(e,t):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},b.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},r(o,b),o.prototype.doDispose=function(t,e){return this.data().call(t,t,e)},C.prototype._resultCancelled=function(){for(var t=this.length,e=0;e<t;++e){var n=this[e];n instanceof h&&n.cancel()}},h.using=function(){var t=arguments.length;if(t<2)return f("you must pass at least 2 arguments to Promise.using");var e,o=arguments[t-1];if("function"!=typeof o)return f("expecting a function but got "+v.classString(o));var s=!0;2===t&&Array.isArray(arguments[0])?(t=(e=arguments[0]).length,s=!1):(e=arguments,t--);for(var n=new C(t),r=0;r<t;++r){var i=e[r];if(b.isDisposer(i)){var a=i;(i=i.promise())._setDisposable(a)}else{var c=_(i);c instanceof h&&(i=c._then(w,null,null,{resources:n,index:r},void 0))}n[r]=i}var l=new Array(n.length);for(r=0;r<l.length;++r)l[r]=h.resolve(n[r]).reflect();var u=h.all(l).then(function(t){for(var e=0;e<t.length;++e){var n=t[e];if(n.isRejected())return y.e=n.error(),y;if(!n.isFulfilled())return void u.cancel();t[e]=n.value()}p._pushContext(),o=m(o);var r=s?o.apply(void 0,t):o(t),i=p._popContext();return d.checkForgottenReturns(r,i,"Promise.using",p),r}),p=u.lastly(function(){var t=new h.PromiseInspection(u);return g(n,t)});return(n.promise=p)._setOnCancel(n),p},h.prototype._setDisposable=function(t){this._bitField=131072|this._bitField,this._disposer=t},h.prototype._isDisposable=function(){return 0<(131072&this._bitField)},h.prototype._getDisposer=function(){return this._disposer},h.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},h.prototype.disposer=function(t){if("function"==typeof t)return new o(t,this,e());throw new n}}},{"./errors":12,"./util":36}],36:[function(t,e,n){"use strict";var l=t("./es5"),r="undefined"==typeof navigator,i={e:{}},o,s="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0!==this?this:null;function a(){try{var t=o;return o=null,t.apply(this,arguments)}catch(t){return i.e=t,i}}function c(t){return o=t,a}var u=function(e,n){var r={}.hasOwnProperty;function t(){for(var t in this.constructor=e,(this.constructor$=n).prototype)r.call(n.prototype,t)&&"quot;!==t.charAt(t.length-1)&&(this[t+"quot;]=n.prototype[t])}return t.prototype=n.prototype,e.prototype=new t,e.prototype};function p(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function h(t){return"function"==typeof t||"object"==typeof t&&null!==t}function f(t){return p(t)?new Error(k(t)):t}function _(t,e){var n,r=t.length,i=new Array(r+1);for(n=0;n<r;++n)i[n]=t[n];return i[n]=e,i}function d(t,e,n){if(!l.isES5)return{}.hasOwnProperty.call(t,e)?t[e]:void 0;var r=Object.getOwnPropertyDescriptor(t,e);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function v(t,e,n){if(p(t))return t;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return l.defineProperty(t,e,r),t}function y(t){throw t}var m=function(){var i=[Array.prototype,Object.prototype,Function.prototype],a=function(t){for(var e=0;e<i.length;++e)if(i[e]===t)return!0;return!1};if(l.isES5){var c=Object.getOwnPropertyNames;return function(t){for(var e=[],n=Object.create(null);null!=t&&!a(t);){var r;try{r=c(t)}catch(t){return e}for(var i=0;i<r.length;++i){var o=r[i];if(!n[o]){n[o]=!0;var s=Object.getOwnPropertyDescriptor(t,o);null!=s&&null==s.get&&null==s.set&&e.push(o)}}t=l.getPrototypeOf(t)}return e}}var o={}.hasOwnProperty;return function(t){if(a(t))return[];var e=[];t:for(var n in t)if(o.call(t,n))e.push(n);else{for(var r=0;r<i.length;++r)if(o.call(i[r],n))continue t;e.push(n)}return e}}(),g=/this\s*\.\s*\S+\s*=/;function b(t){try{if("function"==typeof t){var e=l.names(t.prototype),n=l.isES5&&1<e.length,r=0<e.length&&!(1===e.length&&"constructor"===e[0]),i=g.test(t+"")&&0<l.names(t).length;if(n||r||i)return!0}return!1}catch(t){return!1}}function w(t){function e(){}e.prototype=t;var n=new e;function r(){return typeof n.foo}return r(),r(),t}var C=/^[a-z$_][a-z$_0-9]*#x2F;i;function j(t){return C.test(t)}function E(t,e,n){for(var r=new Array(t),i=0;i<t;++i)r[i]=e+i+n;return r}function k(t){try{return t+""}catch(t){return"[no string representation]"}}function F(t){return t instanceof Error||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function T(t){try{v(t,"isOperational",!0)}catch(t){}}function x(t){return null!=t&&(t instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===t.isOperational)}function P(t){return F(t)&&l.propertyIsWritable(t,"stack")}var R="stack"in new Error?function(t){return P(t)?t:new Error(k(t))}:function(t){if(P(t))return t;try{throw new Error(k(t))}catch(t){return t}};function S(t){return{}.toString.call(t)}function O(t,e,n){for(var r=l.names(t),i=0;i<r.length;++i){var o=r[i];if(n(o))try{l.defineProperty(e,o,l.getDescriptor(t,o))}catch(t){}}}var A=function(t){return l.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var D="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var e,n=[],r=t[Symbol.iterator]();!(e=r.next()).done;)n.push(e.value);return n};A=function(t){return l.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?D(t):null}}var V="undefined"!=typeof process&&"[object process]"===S(process).toLowerCase(),I="undefined"!=typeof process&&void 0!==process.env;function L(t){return I?process.env[t]:void 0}function H(){if("function"==typeof Promise)try{var t=new Promise(function(){});if("[object Promise]"==={}.toString.call(t))return Promise}catch(t){}}function N(t,e){return t.bind(e)}var U={isClass:b,isIdentifier:j,inheritedDataKeys:m,getDataPropertyOrDefault:d,thrower:y,isArray:l.isArray,asArray:A,notEnumerableProp:v,isPrimitive:p,isObject:h,isError:F,canEvaluate:r,errorObj:i,tryCatch:c,inherits:u,withAppended:_,maybeWrapAsError:f,toFastProperties:w,filledRange:E,toString:k,canAttachTrace:P,ensureErrorObject:R,originatesFromRejection:x,markAsOriginatingFromRejection:T,classString:S,copyDescriptors:O,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:V,hasEnvVariables:I,env:L,global:s,getNativePromise:H,domainBind:N},B;U.isRecentNode=U.isNode&&(B=process.versions.node.split(".").map(Number),0===B[0]&&10<B[1]||0<B[0]),U.isNode&&U.toFastProperties(process);try{throw new Error}catch(t){U.lastLineError=t}e.exports=U},{"./es5":13}]},{},[4])(4)}),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise);
1
+ !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.Promise=t()}}(function(){var t,e,n;return function o(s,a,c){function l(n,t){if(!a[n]){if(!s[n]){var e="function"==typeof _dereq_&&_dereq_;if(!t&&e)return e(n,!0);if(u)return u(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}var i=a[n]={exports:{}};s[n][0].call(i.exports,function(t){var e=s[n][1][t];return l(e||t)},i,i.exports,o,s,a,c)}return a[n].exports}for(var u="function"==typeof _dereq_&&_dereq_,t=0;t<c.length;t++)l(c[t]);return l}({1:[function(t,e,n){"use strict";e.exports=function(t){var r=t._SomePromiseArray;function e(t){var e=new r(t),n=e.promise();return e.setHowMany(1),e.setUnwrap(),e.init(),n}t.any=function(t){return e(t)},t.prototype.any=function(){return e(this)}}},{}],2:[function(t,e,n){"use strict";var r;try{throw new Error}catch(t){r=t}var i=t("./schedule"),o=t("./queue"),s=t("./util");function a(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new o(16),this._normalQueue=new o(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var t=this;this.drainQueues=function(){t._drainQueues()},this._schedule=i}function c(t,e,n){this._lateQueue.push(t,e,n),this._queueTick()}function l(t,e,n){this._normalQueue.push(t,e,n),this._queueTick()}function u(t){this._normalQueue._pushOne(t),this._queueTick()}function p(t){for(;0<t.length();)h(t)}function h(t){var e=t.shift();if("function"!=typeof e)e._settlePromises();else{var n=t.shift(),r=t.shift();e.call(n,r)}}a.prototype.setScheduler=function(t){var e=this._schedule;return this._schedule=t,this._customScheduler=!0,e},a.prototype.hasCustomScheduler=function(){return this._customScheduler},a.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},a.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this._trampolineEnabled=!1)},a.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},a.prototype.fatalError=function(t,e){e?(process.stderr.write("Fatal "+(t instanceof Error?t.stack:t)+"\n"),process.exit(2)):this.throwLater(t)},a.prototype.throwLater=function(t,e){if(1===arguments.length&&(e=t,t=function(){throw e}),"undefined"!=typeof setTimeout)setTimeout(function(){t(e)},0);else try{this._schedule(function(){t(e)})}catch(t){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(a.prototype.invokeLater=function(t,e,n){this._trampolineEnabled?c.call(this,t,e,n):this._schedule(function(){setTimeout(function(){t.call(e,n)},100)})},a.prototype.invoke=function(t,e,n){this._trampolineEnabled?l.call(this,t,e,n):this._schedule(function(){t.call(e,n)})},a.prototype.settlePromises=function(t){this._trampolineEnabled?u.call(this,t):this._schedule(function(){t._settlePromises()})}):(a.prototype.invokeLater=c,a.prototype.invoke=l,a.prototype.settlePromises=u),a.prototype._drainQueues=function(){p(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,p(this._lateQueue)},a.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},a.prototype._reset=function(){this._isTickUsed=!1},e.exports=a,e.exports.firstLineError=r},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,e,n){"use strict";e.exports=function(o,s,a,c){function n(t,e){this._reject(e)}function l(t,e){e.promiseRejectionQueued=!0,e.bindingPromise._then(n,n,null,this,t)}function u(t,e){0==(50397184&this._bitField)&&this._resolveCallback(e.target)}function p(t,e){e.promiseRejectionQueued||this._reject(t)}var h=!1;o.prototype.bind=function(t){h||(h=!0,o.prototype._propagateFrom=c.propagateFromFunction(),o.prototype._boundValue=c.boundValueFunction());var e=a(t),n=new o(s);n._propagateFrom(this,1);var r=this._target();if(n._setBoundTo(e),e instanceof o){var i={promiseRejectionQueued:!1,promise:n,target:r,bindingPromise:e};r._then(s,l,void 0,n,i),e._then(u,p,void 0,n,i),n._setOnCancel(e)}else n._resolveCallback(r);return n},o.prototype._setBoundTo=function(t){void 0!==t?(this._bitField=2097152|this._bitField,this._boundTo=t):this._bitField=-2097153&this._bitField},o.prototype._isBound=function(){return 2097152==(2097152&this._bitField)},o.bind=function(t,e){return o.resolve(e).bind(t)}}},{}],4:[function(t,e,n){"use strict";var r;"undefined"!=typeof Promise&&(r=Promise);var i=t("./promise")();i.noConflict=function(){try{Promise===i&&(Promise=r)}catch(t){}return i},e.exports=i},{"./promise":22}],5:[function(t,e,n){"use strict";var r=Object.create;if(r){var i=r(null),o=r(null);i[" size"]=o[" size"]=0}e.exports=function(i){var r,o=t("./util"),s=o.canEvaluate;o.isIdentifier;function e(t,e){var n;if(null!=t&&(n=t[e]),"function"==typeof n)return n;var r="Object "+o.classString(t)+" has no method '"+o.toString(e)+"'";throw new i.TypeError(r)}function n(t){return e(t,this.pop()).apply(t,this)}function a(t){return t[this]}function c(t){var e=+this;return e<0&&(e=Math.max(0,e+t.length)),t[e]}i.prototype.call=function(t){var e=[].slice.call(arguments,1);return e.push(t),this._then(n,void 0,void 0,e,void 0)},i.prototype.get=function(t){var e;if("number"==typeof t)e=c;else if(s){var n=r(t);e=null!==n?n:a}else e=a;return this._then(e,void 0,void 0,t,void 0)}}},{"./util":36}],6:[function(c,t,e){"use strict";t.exports=function(t,e,n,r){var i=c("./util"),o=i.tryCatch,s=i.errorObj,a=t._async;t.prototype.break=t.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var t=this,e=t;t._isCancellable();){if(!t._cancelBy(e)){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}var n=t._cancellationParent;if(null==n||!n._isCancellable()){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}t._isFollowing()&&t._followee().cancel(),t._setWillBeCancelled(),e=t,t=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(t){return t===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),a.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){0<this._length()&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(t,e){if(i.isArray(t))for(var n=0;n<t.length;++n)this._doInvokeOnCancel(t[n],e);else if(void 0!==t)if("function"==typeof t){if(!e){var r=o(t).call(this._boundValue());r===s&&(this._attachExtraTrace(r.e),a.throwLater(r.e))}}else t._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var t=this._onCancel();this._unsetOnCancel(),a.invoke(this._doInvokeOnCancel,this,t)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{"./util":36}],7:[function(t,e,n){"use strict";e.exports=function(p){var h=t("./util"),f=t("./es5").keys,_=h.tryCatch,d=h.errorObj;return function(c,l,u){return function(t){var e=u._boundValue();t:for(var n=0;n<c.length;++n){var r=c[n];if(r===Error||null!=r&&r.prototype instanceof Error){if(t instanceof r)return _(l).call(e,t)}else if("function"==typeof r){var i=_(r).call(e,t);if(i===d)return i;if(i)return _(l).call(e,t)}else if(h.isObject(t)){for(var o=f(r),s=0;s<o.length;++s){var a=o[s];if(r[a]!=t[a])continue t}return _(l).call(e,t)}}return p}}}},{"./es5":13,"./util":36}],8:[function(t,e,n){"use strict";e.exports=function(o){var s=!1,n=[];function a(){this._trace=new a.CapturedTrace(c())}function c(){var t=n.length-1;if(0<=t)return n[t]}return o.prototype._promiseCreated=function(){},o.prototype._pushContext=function(){},o.prototype._popContext=function(){return null},o._peekContext=o.prototype._peekContext=function(){},a.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,n.push(this._trace))},a.prototype._popContext=function(){if(void 0===this._trace)return null;var t=n.pop(),e=t._promiseCreated;return t._promiseCreated=null,e},a.CapturedTrace=null,a.create=function(){if(s)return new a},a.deactivateLongStackTraces=function(){},a.activateLongStackTraces=function(){var t=o.prototype._pushContext,e=o.prototype._popContext,n=o._peekContext,r=o.prototype._peekContext,i=o.prototype._promiseCreated;a.deactivateLongStackTraces=function(){o.prototype._pushContext=t,o.prototype._popContext=e,o._peekContext=n,o.prototype._peekContext=r,o.prototype._promiseCreated=i,s=!1},s=!0,o.prototype._pushContext=a.prototype._pushContext,o.prototype._popContext=a.prototype._popContext,o._peekContext=o.prototype._peekContext=c,o.prototype._promiseCreated=function(){var t=this._peekContext();t&&null==t._promiseCreated&&(t._promiseCreated=this)}},a}},{}],9:[function(Y,t,e){"use strict";t.exports=function(s,r){var n,i,o,a=s._getDomain,c=s._async,l=Y("./errors").Warning,u=Y("./util"),p=Y("./es5"),h=u.canAttachTrace,f=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,_=/\((?:timers\.js):\d+:\d+\)/,d=/[\/<\(](.+?):(\d+):(\d+)\)?\s*#x2F;,v=null,y=null,m=!1,t=!(0==u.env("BLUEBIRD_DEBUG")),e=!(0==u.env("BLUEBIRD_WARNINGS")||!t&&!u.env("BLUEBIRD_WARNINGS")),g=!(0==u.env("BLUEBIRD_LONG_STACK_TRACES")||!t&&!u.env("BLUEBIRD_LONG_STACK_TRACES")),b=0!=u.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(e||!!u.env("BLUEBIRD_W_FORGOTTEN_RETURN"));s.prototype.suppressUnhandledRejections=function(){var t=this._target();t._bitField=-1048577&t._bitField|524288},s.prototype._ensurePossibleRejectionHandled=function(){if(0==(524288&this._bitField)){this._setRejectionIsUnhandled();var t=this;setTimeout(function(){t._notifyUnhandledRejection()},1)}},s.prototype._notifyUnhandledRejectionIsHandled=function(){q("rejectionHandled",n,void 0,this)},s.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},s.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)},s.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var t=this._settledValue();this._setUnhandledRejectionIsNotified(),q("unhandledRejection",i,t,this)}},s.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},s.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},s.prototype._isUnhandledRejectionNotified=function(){return 0<(262144&this._bitField)},s.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},s.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},s.prototype._isRejectionUnhandled=function(){return 0<(1048576&this._bitField)},s.prototype._warn=function(t,e,n){return N(t,e,n||this)},s.onPossiblyUnhandledRejection=function(t){var e=a();i="function"==typeof t?null===e?t:u.domainBind(e,t):void 0},s.onUnhandledRejectionHandled=function(t){var e=a();n="function"==typeof t?null===e?t:u.domainBind(e,t):void 0};var w=function(){};s.longStackTraces=function(){if(c.haveItemsQueued()&&!J.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!J.longStackTraces&&Q()){var t=s.prototype._captureStackTrace,e=s.prototype._attachExtraTrace,n=s.prototype._dereferenceTrace;J.longStackTraces=!0,w=function(){if(c.haveItemsQueued()&&!J.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");s.prototype._captureStackTrace=t,s.prototype._attachExtraTrace=e,s.prototype._dereferenceTrace=n,r.deactivateLongStackTraces(),c.enableTrampoline(),J.longStackTraces=!1},s.prototype._captureStackTrace=I,s.prototype._attachExtraTrace=L,s.prototype._dereferenceTrace=H,r.activateLongStackTraces(),c.disableTrampolineIfNecessary()}},s.hasLongStackTraces=function(){return J.longStackTraces&&Q()};var C=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return u.global.dispatchEvent(t),function(t,e){var n={detail:e,cancelable:!0};p.defineProperty(n,"promise",{value:e.promise}),p.defineProperty(n,"reason",{value:e.reason});var r=new CustomEvent(t.toLowerCase(),n);return!u.global.dispatchEvent(r)}}if("function"!=typeof Event)return(t=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),u.global.dispatchEvent(t),function(t,e){var n=document.createEvent("CustomEvent");return n.initCustomEvent(t.toLowerCase(),!1,!0,e),!u.global.dispatchEvent(n)};var t=new Event("CustomEvent");return u.global.dispatchEvent(t),function(t,e){var n=new Event(t.toLowerCase(),{cancelable:!0});return n.detail=e,p.defineProperty(n,"promise",{value:e.promise}),p.defineProperty(n,"reason",{value:e.reason}),!u.global.dispatchEvent(n)}}catch(t){}return function(){return!1}}(),j=u.isNode?function(){return process.emit.apply(process,arguments)}:u.global?function(t){var e="on"+t.toLowerCase(),n=u.global[e];return!!n&&(n.apply(u.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function E(t,e){return{promise:e}}var k={promiseCreated:E,promiseFulfilled:E,promiseRejected:E,promiseResolved:E,promiseCancelled:E,promiseChained:function(t,e,n){return{promise:e,child:n}},warning:function(t,e){return{warning:e}},unhandledRejection:function(t,e,n){return{reason:e,promise:n}},rejectionHandled:E},F=function(t){var e=!1;try{e=j.apply(null,arguments)}catch(t){c.throwLater(t),e=!0}var n=!1;try{n=C(t,k[t].apply(null,arguments))}catch(t){c.throwLater(t),n=!0}return n||e};function T(){return!1}function x(t,e,n){var r=this;try{t(e,n,function(t){if("function"!=typeof t)throw new TypeError("onCancel must be a function, got: "+u.toString(t));r._attachCancellationCallback(t)})}catch(t){return t}}function P(t){if(!this._isCancellable())return this;var e=this._onCancel();void 0!==e?u.isArray(e)?e.push(t):this._setOnCancel([e,t]):this._setOnCancel(t)}function R(){return this._onCancelField}function S(t){this._onCancelField=t}function O(){this._cancellationParent=void 0,this._onCancelField=void 0}function A(t,e){if(0!=(1&e)){var n=(this._cancellationParent=t)._branchesRemainingToCancel;void 0===n&&(n=0),t._branchesRemainingToCancel=n+1}0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}s.config=function(t){if("longStackTraces"in(t=Object(t))&&(t.longStackTraces?s.longStackTraces():!t.longStackTraces&&s.hasLongStackTraces()&&w()),"warnings"in t){var e=t.warnings;J.warnings=!!e,b=J.warnings,u.isObject(e)&&"wForgottenReturn"in e&&(b=!!e.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!J.cancellation){if(c.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");s.prototype._clearCancellationData=O,s.prototype._propagateFrom=A,s.prototype._onCancel=R,s.prototype._setOnCancel=S,s.prototype._attachCancellationCallback=P,s.prototype._execute=x,D=A,J.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!J.monitoring?(J.monitoring=!0,s.prototype._fireEvent=F):!t.monitoring&&J.monitoring&&(J.monitoring=!1,s.prototype._fireEvent=T)),s},s.prototype._fireEvent=T,s.prototype._execute=function(t,e,n){try{t(e,n)}catch(t){return t}},s.prototype._onCancel=function(){},s.prototype._setOnCancel=function(t){},s.prototype._attachCancellationCallback=function(t){},s.prototype._captureStackTrace=function(){},s.prototype._attachExtraTrace=function(){},s.prototype._dereferenceTrace=function(){},s.prototype._clearCancellationData=function(){},s.prototype._propagateFrom=function(t,e){};var D=function(t,e){0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)};function V(){var t=this._boundTo;return void 0!==t&&t instanceof s?t.isFulfilled()?t.value():void 0:t}function I(){this._trace=new W(this._peekContext())}function L(t,e){if(h(t)){var n=this._trace;if(void 0!==n&&e&&(n=n._parent),void 0!==n)n.attachExtraTrace(t);else if(!t.__stackCleaned__){var r=B(t);u.notEnumerableProp(t,"stack",r.message+"\n"+r.stack.join("\n")),u.notEnumerableProp(t,"__stackCleaned__",!0)}}}function H(){this._trace=void 0}function N(t,e,n){if(J.warnings){var r,i=new l(t);if(e)n._attachExtraTrace(i);else if(J.longStackTraces&&(r=s._peekContext()))r.attachExtraTrace(i);else{var o=B(i);i.stack=o.message+"\n"+o.stack.join("\n")}F("warning",i)||M(i,"",!0)}}function U(t){for(var e=[],n=0;n<t.length;++n){var r=t[n],i=" (No stack trace)"===r||v.test(r),o=i&&z(r);i&&!o&&(m&&" "!==r.charAt(0)&&(r=" "+r),e.push(r))}return e}function B(t){var e=t.stack,n=t.toString();return e="string"==typeof e&&0<e.length?function(t){for(var e=t.stack.replace(/\s+#x2F;g,"").split("\n"),n=0;n<e.length;++n){var r=e[n];if(" (No stack trace)"===r||v.test(r))break}return 0<n&&"SyntaxError"!=t.name&&(e=e.slice(n)),e}(t):[" (No stack trace)"],{message:n,stack:"SyntaxError"==t.name?e:U(e)}}function M(t,e,n){if("undefined"!=typeof console){var r;if(u.isObject(t)){var i=t.stack;r=e+y(i,t)}else r=e+String(t);"function"==typeof o?o(r,n):"function"==typeof console.log||console.log}}function q(t,e,n,r){var i=!1;try{"function"==typeof e&&(i=!0,"rejectionHandled"===t?e(r):e(n,r))}catch(t){c.throwLater(t)}"unhandledRejection"===t?F(t,n,r)||i||M(n,"Unhandled rejection "):F(t,r)}function $(t){var e;if("function"==typeof t)e="[function "+(t.name||"anonymous")+"]";else{e=t&&"function"==typeof t.toString?t.toString():u.toString(t);if(/\[object [a-zA-Z0-9$_]+\]/.test(e))try{e=JSON.stringify(t)}catch(t){}0===e.length&&(e="(empty array)")}return"(<"+function(t){if(t.length<41)return t;return t.substr(0,38)+"..."}(e)+">, no stack trace)"}function Q(){return"function"==typeof K}var z=function(){return!1},G=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*#x2F;;function X(t){var e=t.match(G);if(e)return{fileName:e[1],line:parseInt(e[2],10)}}function W(t){this._parent=t,this._promisesCreated=0;var e=this._length=1+(void 0===t?0:t._length);K(this,W),32<e&&this.uncycle()}u.inherits(W,Error),(r.CapturedTrace=W).prototype.uncycle=function(){var t=this._length;if(!(t<2)){for(var e=[],n={},r=0,i=this;void 0!==i;++r)e.push(i),i=i._parent;for(r=(t=this._length=r)-1;0<=r;--r){var o=e[r].stack;void 0===n[o]&&(n[o]=r)}for(r=0;r<t;++r){var s=n[e[r].stack];if(void 0!==s&&s!==r){0<s&&(e[s-1]._parent=void 0,e[s-1]._length=1),e[r]._parent=void 0,e[r]._length=1;var a=0<r?e[r-1]:this;s<t-1?(a._parent=e[s+1],a._parent.uncycle(),a._length=a._parent._length+1):(a._parent=void 0,a._length=1);for(var c=a._length+1,l=r-2;0<=l;--l)e[l]._length=c,c++;return}}}},W.prototype.attachExtraTrace=function(t){if(!t.__stackCleaned__){this.uncycle();for(var e=B(t),n=e.message,r=[e.stack],i=this;void 0!==i;)r.push(U(i.stack.split("\n"))),i=i._parent;!function(t){for(var e=t[0],n=1;n<t.length;++n){for(var r=t[n],i=e.length-1,o=e[i],s=-1,a=r.length-1;0<=a;--a)if(r[a]===o){s=a;break}for(a=s;0<=a;--a){var c=r[a];if(e[i]!==c)break;e.pop(),i--}e=r}}(r),function(t){for(var e=0;e<t.length;++e)(0===t[e].length||e+1<t.length&&t[e][0]===t[e+1][0])&&(t.splice(e,1),e--)}(r),u.notEnumerableProp(t,"stack",function(t,e){for(var n=0;n<e.length-1;++n)e[n].push("From previous event:"),e[n]=e[n].join("\n");return n<e.length&&(e[n]=e[n].join("\n")),t+"\n"+e.join("\n")}(n,r)),u.notEnumerableProp(t,"__stackCleaned__",!0)}};var K=function(){function t(t,e){return"string"==typeof t?t:void 0!==e.name&&void 0!==e.message?e.toString():$(e)}var e=/^\s*at\s*/;if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,v=e,y=t;var n=Error.captureStackTrace;return z=function(t){return f.test(t)},function(t,e){Error.stackTraceLimit+=6,n(t,e),Error.stackTraceLimit-=6}}var r,i=new Error;if("string"==typeof i.stack&&0<=i.stack.split("\n")[0].indexOf("stackDetection@"))return v=/@/,y=t,m=!0,function(t){t.stack=(new Error).stack};try{throw new Error}catch(t){r="stack"in t}return"stack"in i||!r||"number"!=typeof Error.stackTraceLimit?(y=function(t,e){return"string"==typeof t?t:"object"!=typeof e&&"function"!=typeof e||void 0===e.name||void 0===e.message?$(e):e.toString()},null):(v=e,y=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(o=function(t){},u.isNode&&process.stderr.isTTY?o=function(t,e){}:u.isNode||"string"!=typeof(new Error).stack||(o=function(t,e){}));var J={warnings:e,longStackTraces:!1,cancellation:!1,monitoring:!1};return g&&s.longStackTraces(),{longStackTraces:function(){return J.longStackTraces},warnings:function(){return J.warnings},cancellation:function(){return J.cancellation},monitoring:function(){return J.monitoring},propagateFromFunction:function(){return D},boundValueFunction:function(){return V},checkForgottenReturns:function(t,e,n,r,i){if(void 0===t&&null!==e&&b){if(void 0!==i&&i._returnedNonUndefined())return;if(0==(65535&r._bitField))return;n&&(n+=" ");var o="",s="";if(e._trace){for(var a=e._trace.stack.split("\n"),c=U(a),l=c.length-1;0<=l;--l){var u=c[l];if(!_.test(u)){var p=u.match(d);p&&(o="at "+p[1]+":"+p[2]+":"+p[3]+" ");break}}if(0<c.length){var h=c[0];for(l=0;l<a.length;++l)if(a[l]===h){0<l&&(s="\n"+a[l-1]);break}}}var f="a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+s;r._warn(f,!0,e)}},setBounds:function(t,e){if(Q()){for(var n,r,i=t.stack.split("\n"),o=e.stack.split("\n"),s=-1,a=-1,c=0;c<i.length;++c){if(l=X(i[c])){n=l.fileName,s=l.line;break}}for(c=0;c<o.length;++c){var l;if(l=X(o[c])){r=l.fileName,a=l.line;break}}s<0||a<0||!n||!r||n!==r||a<=s||(z=function(t){if(f.test(t))return!0;var e=X(t);return!!(e&&e.fileName===n&&s<=e.line&&e.line<=a)})}},warn:N,deprecated:function(t,e){var n=t+" is deprecated and will be removed in a future version.";return e&&(n+=" Use "+e+" instead."),N(n)},CapturedTrace:W,fireDomEvent:C,fireGlobalEvent:j}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,e,n){"use strict";e.exports=function(n){function r(){return this.value}function i(){throw this.reason}n.prototype.return=n.prototype.thenReturn=function(t){return t instanceof n&&t.suppressUnhandledRejections(),this._then(r,void 0,void 0,{value:t},void 0)},n.prototype.throw=n.prototype.thenThrow=function(t){return this._then(i,void 0,void 0,{reason:t},void 0)},n.prototype.catchThrow=function(t){if(arguments.length<=1)return this._then(void 0,i,void 0,{reason:t},void 0);var e=arguments[1];return this.caught(t,function(){throw e})},n.prototype.catchReturn=function(t){if(arguments.length<=1)return t instanceof n&&t.suppressUnhandledRejections(),this._then(void 0,r,void 0,{value:t},void 0);var e=arguments[1];e instanceof n&&e.suppressUnhandledRejections();return this.caught(t,function(){return e})}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t,n){var r=t.reduce,e=t.all;function i(){return e(this)}t.prototype.each=function(t){return r(this,t,n,0)._then(i,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return r(this,t,n,n)},t.each=function(t,e){return r(t,e,n,0)._then(i,void 0,void 0,t,void 0)},t.mapSeries=function(t,e){return r(t,e,n,n)}}},{}],12:[function(t,e,n){"use strict";var r,i,o=t("./es5"),s=o.freeze,a=t("./util"),c=a.inherits,l=a.notEnumerableProp;function u(e,n){function r(t){if(!(this instanceof r))return new r(t);l(this,"message","string"==typeof t?t:n),l(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return c(r,Error),r}var p=u("Warning","warning"),h=u("CancellationError","cancellation error"),f=u("TimeoutError","timeout error"),_=u("AggregateError","aggregate error");try{r=TypeError,i=RangeError}catch(t){r=u("TypeError","type error"),i=u("RangeError","range error")}for(var d="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),v=0;v<d.length;++v)"function"==typeof Array.prototype[d[v]]&&(_.prototype[d[v]]=Array.prototype[d[v]]);o.defineProperty(_.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),_.prototype.isOperational=!0;var y=0;function m(t){if(!(this instanceof m))return new m(t);l(this,"name","OperationalError"),l(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof Error?(l(this,"message",t.message),l(this,"stack",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}_.prototype.toString=function(){var t=Array(4*y+1).join(" "),e="\n"+t+"AggregateError of:\n";y++,t=Array(4*y+1).join(" ");for(var n=0;n<this.length;++n){for(var r=this[n]===this?"[Circular AggregateError]":this[n]+"",i=r.split("\n"),o=0;o<i.length;++o)i[o]=t+i[o];e+=(r=i.join("\n"))+"\n"}return y--,e},c(m,Error);var g=Error.__BluebirdErrorTypes__;g||(g=s({CancellationError:h,TimeoutError:f,OperationalError:m,RejectionError:m,AggregateError:_}),o.defineProperty(Error,"__BluebirdErrorTypes__",{value:g,writable:!1,enumerable:!1,configurable:!1})),e.exports={Error:Error,TypeError:r,RangeError:i,CancellationError:g.CancellationError,OperationalError:g.OperationalError,TimeoutError:g.TimeoutError,AggregateError:g.AggregateError,Warning:p}},{"./es5":13,"./util":36}],13:[function(t,e,n){var r=function(){"use strict";return void 0===this}();if(r)e.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(t,e){var n=Object.getOwnPropertyDescriptor(t,e);return!(n&&!n.writable&&!n.set)}};else{function i(t){var e=[];for(var n in t)o.call(t,n)&&e.push(n);return e}var o={}.hasOwnProperty,s={}.toString,a={}.constructor.prototype;e.exports={isArray:function(t){try{return"[object Array]"===s.call(t)}catch(t){return!1}},keys:i,names:i,defineProperty:function(t,e,n){return t[e]=n.value,t},getDescriptor:function(t,e){return{value:t[e]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return Object(t).constructor.prototype}catch(t){return a}},isES5:r,propertyIsWritable:function(){return!0}}}},{}],14:[function(t,e,n){"use strict";e.exports=function(t,r){var i=t.map;t.prototype.filter=function(t,e){return i(this,t,e,r)},t.filter=function(t,e,n){return i(t,e,n,r)}}},{}],15:[function(t,e,n){"use strict";e.exports=function(a,s,c){var l=t("./util"),u=a.CancellationError,p=l.errorObj,h=t("./catch_filter")(c);function i(t,e,n){this.promise=t,this.type=e,this.handler=n,this.called=!1,this.cancelPromise=null}function f(t){this.finallyHandler=t}function _(t,e){return null!=t.cancelPromise&&(1<arguments.length?t.cancelPromise._reject(e):t.cancelPromise._cancel(),t.cancelPromise=null,1)}function d(){return y.call(this,this.promise._target()._settledValue())}function v(t){if(!_(this,t))return p.e=t,p}function y(t){var e=this.promise,n=this.handler;if(!this.called){this.called=!0;var r=this.isFinallyHandler()?n.call(e._boundValue()):n.call(e._boundValue(),t);if(r===c)return r;if(void 0!==r){e._setReturnedNonUndefined();var i=s(r,e);if(i instanceof a){if(null!=this.cancelPromise){if(i._isCancelled()){var o=new u("late cancellation observer");return e._attachExtraTrace(o),p.e=o,p}i.isPending()&&i._attachCancellationCallback(new f(this))}return i._then(d,v,void 0,this,void 0)}}}return e.isRejected()?(_(this),p.e=t,p):(_(this),t)}return i.prototype.isFinallyHandler=function(){return 0===this.type},f.prototype._resultCancelled=function(){_(this.finallyHandler)},a.prototype._passThrough=function(t,e,n,r){return"function"!=typeof t?this.then():this._then(n,r,void 0,new i(this,e,t),void 0)},a.prototype.lastly=a.prototype.finally=function(t){return this._passThrough(t,0,y,y)},a.prototype.tap=function(t){return this._passThrough(t,1,y)},a.prototype.tapCatch=function(t){var e=arguments.length;if(1===e)return this._passThrough(t,1,void 0,y);var n,r=new Array(e-1),i=0;for(n=0;n<e-1;++n){var o=arguments[n];if(!l.isObject(o))return a.reject(new TypeError("tapCatch statement predicate: expecting an object but got "+l.classString(o)));r[i++]=o}r.length=i;var s=arguments[n];return this._passThrough(h(r,s,this),1,void 0,y)},i}},{"./catch_filter":7,"./util":36}],16:[function(n,t,e){"use strict";t.exports=function(a,r,s,c,t,l){var u=n("./errors").TypeError,e=n("./util"),p=e.errorObj,h=e.tryCatch,f=[];function _(t,e,n,r){if(l.cancellation()){var i=new a(s),o=this._finallyPromise=new a(s);this._promise=i.lastly(function(){return o}),i._captureStackTrace(),i._setOnCancel(this)}else{(this._promise=new a(s))._captureStackTrace()}this._stack=r,this._generatorFunction=t,this._receiver=e,this._generator=void 0,this._yieldHandlers="function"==typeof n?[n].concat(f):f,this._yieldedPromise=null,this._cancellationPhase=!1}e.inherits(_,t),_.prototype._isResolved=function(){return null===this._promise},_.prototype._cleanup=function(){this._promise=this._generator=null,l.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},_.prototype._promiseCancelled=function(){if(!this._isResolved()){var t;if(void 0!==this._generator.return)this._promise._pushContext(),t=h(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var e=new a.CancellationError("generator .return() sentinel");a.coroutine.returnSentinel=e,this._promise._attachExtraTrace(e),this._promise._pushContext(),t=h(this._generator.throw).call(this._generator,e),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(t)}},_.prototype._promiseFulfilled=function(t){this._yieldedPromise=null,this._promise._pushContext();var e=h(this._generator.next).call(this._generator,t);this._promise._popContext(),this._continue(e)},_.prototype._promiseRejected=function(t){this._yieldedPromise=null,this._promise._attachExtraTrace(t),this._promise._pushContext();var e=h(this._generator.throw).call(this._generator,t);this._promise._popContext(),this._continue(e)},_.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof a){var t=this._yieldedPromise;this._yieldedPromise=null,t.cancel()}},_.prototype.promise=function(){return this._promise},_.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},_.prototype._continue=function(t){var e=this._promise;if(t===p)return this._cleanup(),this._cancellationPhase?e.cancel():e._rejectCallback(t.e,!1);var n=t.value;if(!0===t.done)return this._cleanup(),this._cancellationPhase?e.cancel():e._resolveCallback(n);var r=c(n,this._promise);if(r instanceof a||null!==(r=function(t,e,n){for(var r=0;r<e.length;++r){n._pushContext();var i=h(e[r])(t);if(n._popContext(),i===p){n._pushContext();var o=a.reject(p.e);return n._popContext(),o}var s=c(i,n);if(s instanceof a)return s}return null}(r,this._yieldHandlers,this._promise))){var i=(r=r._target())._bitField;0==(50397184&i)?(this._yieldedPromise=r)._proxy(this,null):0!=(33554432&i)?a._async.invoke(this._promiseFulfilled,this,r._value()):0!=(16777216&i)?a._async.invoke(this._promiseRejected,this,r._reason()):this._promiseCancelled()}else this._promiseRejected(new u("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/MqrFmX\n\n".replace("%s",String(n))+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")))},a.coroutine=function(r,t){if("function"!=typeof r)throw new u("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var i=Object(t).yieldHandler,o=_,s=(new Error).stack;return function(){var t=r.apply(this,arguments),e=new o(void 0,void 0,i,s),n=e.promise();return e._generator=t,e._promiseFulfilled(void 0),n}},a.coroutine.addYieldHandler=function(t){if("function"!=typeof t)throw new u("expecting a function but got "+e.classString(t));f.push(t)},a.spawn=function(t){if(l.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return r("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var e=new _(t,this),n=e.promise();return e._run(a.spawn),n}}},{"./errors":12,"./util":36}],17:[function(a,t,e){"use strict";t.exports=function(t,i,e,n,r,o){var s=a("./util");s.canEvaluate,s.tryCatch,s.errorObj;t.join=function(){var t,e=arguments.length-1;0<e&&"function"==typeof arguments[e]&&(t=arguments[e]);var n=[].slice.call(arguments);t&&n.pop();var r=new i(n).promise();return void 0!==t?r.spread(t):r}}},{"./util":36}],18:[function(e,t,n){"use strict";t.exports=function(f,t,o,_,s,d){var a=f._getDomain,c=e("./util"),v=c.tryCatch,y=c.errorObj,l=f._async;function u(t,e,n,r){this.constructor$(t),this._promise._captureStackTrace();var i=a();this._callback=null===i?e:c.domainBind(i,e),this._preservedValues=r===s?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=[],l.invoke(this._asyncInit,this,void 0)}function i(t,e,n,r){if("function"!=typeof e)return o("expecting a function but got "+c.classString(e));var i=0;if(void 0!==n){if("object"!=typeof n||null===n)return f.reject(new TypeError("options argument must be an object but it is "+c.classString(n)));if("number"!=typeof n.concurrency)return f.reject(new TypeError("'concurrency' must be a number but it is "+c.classString(n.concurrency)));i=n.concurrency}return new u(t,e,i="number"==typeof i&&isFinite(i)&&1<=i?i:0,r).promise()}c.inherits(u,t),u.prototype._asyncInit=function(){this._init$(void 0,-2)},u.prototype._init=function(){},u.prototype._promiseFulfilled=function(t,e){var n=this._values,r=this.length(),i=this._preservedValues,o=this._limit;if(e<0){if(n[e=-1*e-1]=t,1<=o&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(1<=o&&this._inFlight>=o)return n[e]=t,this._queue.push(e),!1;null!==i&&(i[e]=t);var s=this._promise,a=this._callback,c=s._boundValue();s._pushContext();var l=v(a).call(c,t,e,r),u=s._popContext();if(d.checkForgottenReturns(l,u,null!==i?"Promise.filter":"Promise.map",s),l===y)return this._reject(l.e),!0;var p=_(l,this._promise);if(p instanceof f){var h=(p=p._target())._bitField;if(0==(50397184&h))return 1<=o&&this._inFlight++,(n[e]=p)._proxy(this,-1*(e+1)),!1;if(0==(33554432&h))return 0!=(16777216&h)?this._reject(p._reason()):this._cancel(),!0;l=p._value()}n[e]=l}return r<=++this._totalResolved&&(null!==i?this._filter(n,i):this._resolve(n),!0)},u.prototype._drainQueue=function(){for(var t=this._queue,e=this._limit,n=this._values;0<t.length&&this._inFlight<e;){if(this._isResolved())return;var r=t.pop();this._promiseFulfilled(n[r],r)}},u.prototype._filter=function(t,e){for(var n=e.length,r=new Array(n),i=0,o=0;o<n;++o)t[o]&&(r[i++]=e[o]);r.length=i,this._resolve(r)},u.prototype.preservedValues=function(){return this._preservedValues},f.prototype.map=function(t,e){return i(this,t,e,null)},f.map=function(t,e,n,r){return i(t,e,n,r)}}},{"./util":36}],19:[function(e,t,n){"use strict";t.exports=function(s,a,t,c,l){var u=e("./util"),p=u.tryCatch;s.method=function(r){if("function"!=typeof r)throw new s.TypeError("expecting a function but got "+u.classString(r));return function(){var t=new s(a);t._captureStackTrace(),t._pushContext();var e=p(r).apply(this,arguments),n=t._popContext();return l.checkForgottenReturns(e,n,"Promise.method",t),t._resolveFromSyncValue(e),t}},s.attempt=s.try=function(t){if("function"!=typeof t)return c("expecting a function but got "+u.classString(t));var e,n=new s(a);if(n._captureStackTrace(),n._pushContext(),1<arguments.length){l.deprecated("calling Promise.try with more than 1 argument");var r=arguments[1],i=arguments[2];e=u.isArray(r)?p(t).apply(i,r):p(t).call(i,r)}else e=p(t)();var o=n._popContext();return l.checkForgottenReturns(e,o,"Promise.try",n),n._resolveFromSyncValue(e),n},s.prototype._resolveFromSyncValue=function(t){t===u.errorObj?this._rejectCallback(t.e,!1):this._resolveCallback(t,!0)}}},{"./util":36}],20:[function(t,e,n){"use strict";var s=t("./util"),a=s.maybeWrapAsError,c=t("./errors").OperationalError,l=t("./es5");var u=/^(?:name|message|stack|cause)#x2F;;function p(t){var e,n;if((n=t)instanceof Error&&l.getPrototypeOf(n)===Error.prototype){(e=new c(t)).name=t.name,e.message=t.message,e.stack=t.stack;for(var r=l.keys(t),i=0;i<r.length;++i){var o=r[i];u.test(o)||(e[o]=t[o])}return e}return s.markAsOriginatingFromRejection(t),t}e.exports=function(i,o){return function(t,e){if(null!==i){if(t){var n=p(a(t));i._attachExtraTrace(n),i._reject(n)}else if(o){var r=[].slice.call(arguments,1);i._fulfill(r)}else i._fulfill(e);i=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(e,t,n){"use strict";t.exports=function(t){var r=e("./util"),i=t._async,o=r.tryCatch,s=r.errorObj;function a(t,e){if(!r.isArray(t))return c.call(this,t,e);var n=o(e).apply(this._boundValue(),[null].concat(t));n===s&&i.throwLater(n.e)}function c(t,e){var n=this._boundValue(),r=void 0===t?o(e).call(n,null):o(e).call(n,null,t);r===s&&i.throwLater(r.e)}function l(t,e){if(!t){var n=new Error(t+"");n.cause=t,t=n}var r=o(e).call(this._boundValue(),t);r===s&&i.throwLater(r.e)}t.prototype.asCallback=t.prototype.nodeify=function(t,e){if("function"==typeof t){var n=c;void 0!==e&&Object(e).spread&&(n=a),this._then(n,l,void 0,this,t)}return this}}},{"./util":36}],22:[function(R,S,t){"use strict";S.exports=function(){function c(){return new p("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")}function a(){return new F.PromiseInspection(this._target())}function s(t){return F.reject(new p(t))}function l(){}var f,u={},_=R("./util");f=_.isNode?function(){var t=process.domain;return void 0===t&&(t=null),t}:function(){return null},_.notEnumerableProp(F,"_getDomain",f);var t=R("./es5"),e=R("./async"),d=new e;t.defineProperty(F,"_async",{value:d});var n=R("./errors"),p=F.TypeError=n.TypeError;F.RangeError=n.RangeError;var v=F.CancellationError=n.CancellationError;F.TimeoutError=n.TimeoutError,F.OperationalError=n.OperationalError,F.RejectionError=n.OperationalError,F.AggregateError=n.AggregateError;var y=function(){},h={},m={},g=R("./thenables")(F,y),b=R("./promise_array")(F,y,g,s,l),r=R("./context")(F),i=r.create,w=R("./debuggability")(F,r),C=(w.CapturedTrace,R("./finally")(F,g,m)),j=R("./catch_filter")(m),o=R("./nodeback"),E=_.errorObj,k=_.tryCatch;function F(t){t!==y&&function(t,e){if(null==t||t.constructor!==F)throw new p("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof e)throw new p("expecting a function but got "+_.classString(e))}(this,t),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(t),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function T(t){this.promise._resolveCallback(t)}function x(t){this.promise._rejectCallback(t,!1)}function P(t){var e=new F(y);e._fulfillmentHandler0=t,e._rejectionHandler0=t,e._promise0=t,e._receiver0=t}return F.prototype.toString=function(){return"[object Promise]"},F.prototype.caught=F.prototype.catch=function(t){var e=arguments.length;if(1<e){var n,r=new Array(e-1),i=0;for(n=0;n<e-1;++n){var o=arguments[n];if(!_.isObject(o))return s("Catch statement predicate: expecting an object but got "+_.classString(o));r[i++]=o}return r.length=i,t=arguments[n],this.then(void 0,j(r,t,this))}return this.then(void 0,t)},F.prototype.reflect=function(){return this._then(a,a,void 0,this,void 0)},F.prototype.then=function(t,e){if(w.warnings()&&0<arguments.length&&"function"!=typeof t&&"function"!=typeof e){var n=".then() only accepts functions but was passed: "+_.classString(t);1<arguments.length&&(n+=", "+_.classString(e)),this._warn(n)}return this._then(t,e,void 0,void 0,void 0)},F.prototype.done=function(t,e){this._then(t,e,void 0,void 0,void 0)._setIsFinal()},F.prototype.spread=function(t){return"function"!=typeof t?s("expecting a function but got "+_.classString(t)):this.all()._then(t,void 0,void 0,h,void 0)},F.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},F.prototype.all=function(){return 0<arguments.length&&this._warn(".all() was passed arguments but it does not take any"),new b(this).promise()},F.prototype.error=function(t){return this.caught(_.originatesFromRejection,t)},F.getNewLibraryCopy=S.exports,F.is=function(t){return t instanceof F},F.fromNode=F.fromCallback=function(t){var e=new F(y);e._captureStackTrace();var n=1<arguments.length&&!!Object(arguments[1]).multiArgs,r=k(t)(o(e,n));return r===E&&e._rejectCallback(r.e,!0),e._isFateSealed()||e._setAsyncGuaranteed(),e},F.all=function(t){return new b(t).promise()},F.resolve=F.fulfilled=F.cast=function(t){var e=g(t);return e instanceof F||((e=new F(y))._captureStackTrace(),e._setFulfilled(),e._rejectionHandler0=t),e},F.reject=F.rejected=function(t){var e=new F(y);return e._captureStackTrace(),e._rejectCallback(t,!0),e},F.setScheduler=function(t){if("function"!=typeof t)throw new p("expecting a function but got "+_.classString(t));return d.setScheduler(t)},F.prototype._then=function(t,e,n,r,i){var o=void 0!==i,s=o?i:new F(y),a=this._target(),c=a._bitField;o||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===r&&0!=(2097152&this._bitField)&&(r=0!=(50397184&c)?this._boundValue():a===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var l=f();if(0!=(50397184&c)){var u,p,h=a._settlePromiseCtx;0!=(33554432&c)?(p=a._rejectionHandler0,u=t):0!=(16777216&c)?(p=a._fulfillmentHandler0,u=e,a._unsetRejectionIsUnhandled()):(h=a._settlePromiseLateCancellationObserver,p=new v("late cancellation observer"),a._attachExtraTrace(p),u=e),d.invoke(h,a,{handler:null===l?u:"function"==typeof u&&_.domainBind(l,u),promise:s,receiver:r,value:p})}else a._addCallbacks(t,e,s,r,l);return s},F.prototype._length=function(){return 65535&this._bitField},F.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},F.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},F.prototype._setLength=function(t){this._bitField=-65536&this._bitField|65535&t},F.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},F.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},F.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},F.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},F.prototype._isFinal=function(){return 0<(4194304&this._bitField)},F.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},F.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},F.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},F.prototype._setAsyncGuaranteed=function(){d.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},F.prototype._receiverAt=function(t){var e=0===t?this._receiver0:this[4*t-4+3];if(e!==u)return void 0===e&&this._isBound()?this._boundValue():e},F.prototype._promiseAt=function(t){return this[4*t-4+2]},F.prototype._fulfillmentHandlerAt=function(t){return this[4*t-4+0]},F.prototype._rejectionHandlerAt=function(t){return this[4*t-4+1]},F.prototype._boundValue=function(){},F.prototype._migrateCallback0=function(t){t._bitField;var e=t._fulfillmentHandler0,n=t._rejectionHandler0,r=t._promise0,i=t._receiverAt(0);void 0===i&&(i=u),this._addCallbacks(e,n,r,i,null)},F.prototype._migrateCallbackAt=function(t,e){var n=t._fulfillmentHandlerAt(e),r=t._rejectionHandlerAt(e),i=t._promiseAt(e),o=t._receiverAt(e);void 0===o&&(o=u),this._addCallbacks(n,r,i,o,null)},F.prototype._addCallbacks=function(t,e,n,r,i){var o=this._length();if(65531<=o&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,"function"==typeof t&&(this._fulfillmentHandler0=null===i?t:_.domainBind(i,t)),"function"==typeof e&&(this._rejectionHandler0=null===i?e:_.domainBind(i,e));else{var s=4*o-4;this[2+s]=n,this[3+s]=r,"function"==typeof t&&(this[0+s]=null===i?t:_.domainBind(i,t)),"function"==typeof e&&(this[1+s]=null===i?e:_.domainBind(i,e))}return this._setLength(o+1),o},F.prototype._proxy=function(t,e){this._addCallbacks(void 0,void 0,e,t,null)},F.prototype._resolveCallback=function(t,e){if(0==(117506048&this._bitField)){if(t===this)return this._rejectCallback(c(),!1);var n=g(t,this);if(!(n instanceof F))return this._fulfill(t);e&&this._propagateFrom(n,2);var r=n._target();if(r!==this){var i=r._bitField;if(0==(50397184&i)){var o=this._length();0<o&&r._migrateCallback0(this);for(var s=1;s<o;++s)r._migrateCallbackAt(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(r)}else if(0!=(33554432&i))this._fulfill(r._value());else if(0!=(16777216&i))this._reject(r._reason());else{var a=new v("late cancellation observer");r._attachExtraTrace(a),this._reject(a)}}else this._reject(c())}},F.prototype._rejectCallback=function(t,e,n){var r=_.ensureErrorObject(t),i=r===t;if(!i&&!n&&w.warnings()){var o="a promise was rejected with a non-error: "+_.classString(t);this._warn(o,!0)}this._attachExtraTrace(r,!!e&&i),this._reject(t)},F.prototype._resolveFromExecutor=function(t){if(t!==y){var e=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(t,function(t){e._resolveCallback(t)},function(t){e._rejectCallback(t,n)});n=!1,this._popContext(),void 0!==r&&e._rejectCallback(r,!0)}},F.prototype._settlePromiseFromHandler=function(t,e,n,r){var i=r._bitField;if(0==(65536&i)){var o;r._pushContext(),e===h?n&&"number"==typeof n.length?o=k(t).apply(this._boundValue(),n):(o=E).e=new p("cannot .spread() a non-array: "+_.classString(n)):o=k(t).call(e,n);var s=r._popContext();0==(65536&(i=r._bitField))&&(o===m?r._reject(n):o===E?r._rejectCallback(o.e,!1):(w.checkForgottenReturns(o,s,"",r,this),r._resolveCallback(o)))}},F.prototype._target=function(){for(var t=this;t._isFollowing();)t=t._followee();return t},F.prototype._followee=function(){return this._rejectionHandler0},F.prototype._setFollowee=function(t){this._rejectionHandler0=t},F.prototype._settlePromise=function(t,e,n,r){var i=t instanceof F,o=this._bitField,s=0!=(134217728&o);0!=(65536&o)?(i&&t._invokeInternalOnCancel(),n instanceof C&&n.isFinallyHandler()?(n.cancelPromise=t,k(e).call(n,r)===E&&t._reject(E.e)):e===a?t._fulfill(a.call(n)):n instanceof l?n._promiseCancelled(t):i||t instanceof b?t._cancel():n.cancel()):"function"==typeof e?i?(s&&t._setAsyncGuaranteed(),this._settlePromiseFromHandler(e,n,r,t)):e.call(n,r,t):n instanceof l?n._isResolved()||(0!=(33554432&o)?n._promiseFulfilled(r,t):n._promiseRejected(r,t)):i&&(s&&t._setAsyncGuaranteed(),0!=(33554432&o)?t._fulfill(r):t._reject(r))},F.prototype._settlePromiseLateCancellationObserver=function(t){var e=t.handler,n=t.promise,r=t.receiver,i=t.value;"function"==typeof e?n instanceof F?this._settlePromiseFromHandler(e,r,i,n):e.call(r,i,n):n instanceof F&&n._reject(i)},F.prototype._settlePromiseCtx=function(t){this._settlePromise(t.promise,t.handler,t.receiver,t.value)},F.prototype._settlePromise0=function(t,e,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,t,i,e)},F.prototype._clearCallbackDataAtIndex=function(t){var e=4*t-4;this[2+e]=this[3+e]=this[0+e]=this[1+e]=void 0},F.prototype._fulfill=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(t===this){var n=c();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=t,0<(65535&e)&&(0!=(134217728&e)?this._settlePromises():d.settlePromises(this),this._dereferenceTrace())}},F.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=t,this._isFinal())return d.fatalError(t,_.isNode);0<(65535&e)?d.settlePromises(this):this._ensurePossibleRejectionHandled()}},F.prototype._fulfillPromises=function(t,e){for(var n=1;n<t;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},F.prototype._rejectPromises=function(t,e){for(var n=1;n<t;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},F.prototype._settlePromises=function(){var t=this._bitField,e=65535&t;if(0<e){if(0!=(16842752&t)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,t),this._rejectPromises(e,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,t),this._fulfillPromises(e,r)}this._setLength(0)}this._clearCancellationData()},F.prototype._settledValue=function(){var t=this._bitField;return 0!=(33554432&t)?this._rejectionHandler0:0!=(16777216&t)?this._fulfillmentHandler0:void 0},F.defer=F.pending=function(){return w.deprecated("Promise.defer","new Promise"),{promise:new F(y),resolve:T,reject:x}},_.notEnumerableProp(F,"_makeSelfResolutionError",c),R("./method")(F,y,g,s,w),R("./bind")(F,y,g,w),R("./cancel")(F,b,s,w),R("./direct_resolve")(F),R("./synchronous_inspection")(F),R("./join")(F,b,g,y,d,f),(F.Promise=F).version="3.5.3",R("./map.js")(F,b,s,g,y,w),R("./call_get.js")(F),R("./using.js")(F,s,g,i,y,w),R("./timers.js")(F,y,w),R("./generators.js")(F,s,y,g,l,w),R("./nodeify.js")(F),R("./promisify.js")(F,y),R("./props.js")(F,b,g,s),R("./race.js")(F,y,g,s),R("./reduce.js")(F,b,s,g,y,w),R("./settle.js")(F,b,w),R("./some.js")(F,b,s),R("./filter.js")(F,y),R("./each.js")(F,y),R("./any.js")(F),_.toFastProperties(F),_.toFastProperties(F.prototype),P({a:1}),P({b:2}),P({c:3}),P(1),P(function(){}),P(void 0),P(!1),P(new F(y)),w.setBounds(e.firstLineError,_.lastLineError),F}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(r,t,e){"use strict";t.exports=function(a,n,c,s,t){var l=r("./util");l.isArray;function e(t){var e=this._promise=new a(n);t instanceof a&&e._propagateFrom(t,3),e._setOnCancel(this),this._values=t,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return l.inherits(e,t),e.prototype.length=function(){return this._length},e.prototype.promise=function(){return this._promise},e.prototype._init=function t(e,n){var r=c(this._values,this._promise);if(r instanceof a){var i=(r=r._target())._bitField;if(this._values=r,0==(50397184&i))return this._promise._setAsyncGuaranteed(),r._then(t,this._reject,void 0,this,n);if(0==(33554432&i))return 0!=(16777216&i)?this._reject(r._reason()):this._cancel();r=r._value()}if(null!==(r=l.asArray(r)))0!==r.length?this._iterate(r):-5===n?this._resolveEmptyArray():this._resolve(function(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}(n));else{var o=s("expecting an array or an iterable object but got "+l.classString(r)).reason();this._promise._rejectCallback(o,!1)}},e.prototype._iterate=function(t){var e=this.getActualLength(t.length);this._length=e,this._values=this.shouldCopyValues()?new Array(e):this._values;for(var n=this._promise,r=!1,i=null,o=0;o<e;++o){var s=c(t[o],n);i=s instanceof a?(s=s._target())._bitField:null,r?null!==i&&s.suppressUnhandledRejections():null!==i?0==(50397184&i)?(s._proxy(this,o),this._values[o]=s):r=0!=(33554432&i)?this._promiseFulfilled(s._value(),o):0!=(16777216&i)?this._promiseRejected(s._reason(),o):this._promiseCancelled(o):r=this._promiseFulfilled(s,o)}r||n._setAsyncGuaranteed()},e.prototype._isResolved=function(){return null===this._values},e.prototype._resolve=function(t){this._values=null,this._promise._fulfill(t)},e.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},e.prototype._reject=function(t){this._values=null,this._promise._rejectCallback(t,!1)},e.prototype._promiseFulfilled=function(t,e){return this._values[e]=t,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},e.prototype._promiseCancelled=function(){return this._cancel(),!0},e.prototype._promiseRejected=function(t){return this._totalResolved++,this._reject(t),!0},e.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof a)t.cancel();else for(var e=0;e<t.length;++e)t[e]instanceof a&&t[e].cancel()}},e.prototype.shouldCopyValues=function(){return!0},e.prototype.getActualLength=function(t){return t},e}},{"./util":36}],24:[function(r,t,e){"use strict";t.exports=function(l,u){var f={},_=r("./util"),p=r("./nodeback"),h=_.withAppended,d=_.maybeWrapAsError,t=_.canEvaluate,v=r("./errors").TypeError,y={__isPromisified__:!0},e=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"].join("|")+")quot;),m=function(t){return _.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t};function s(t){return!e.test(t)}function g(t){try{return!0===t.__isPromisified__}catch(t){return!1}}function b(t,e,n,r){for(var i,o,s,a,c=_.inheritedDataKeys(t),l=[],u=0;u<c.length;++u){var p=c[u],h=t[p],f=r===m||m(p,h,t);"function"!=typeof h||g(h)||(i=t,o=p,s=e,(a=_.getDataPropertyOrDefault(i,o+s,y))&&g(a))||!r(p,h,t,f)||l.push(p,h)}return function(t,e,n){for(var r=0;r<t.length;r+=2){var i=t[r];if(n.test(i))for(var o=i.replace(n,""),s=0;s<t.length;s+=2)if(t[s]===o)throw new v("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",e))}}(l,e,n),l}var n,w=function(t){return t.replace(/([$])/,"\\quot;)};var C=t?n:function(i,o,t,e,n,s){var a=function(){return this}(),c=i;function r(){var t=o;o===f&&(t=this);var e=new l(u);e._captureStackTrace();var n="string"==typeof c&&this!==a?this[c]:i,r=p(e,s);try{n.apply(t,h(arguments,r))}catch(t){e._rejectCallback(d(t),!0,!0)}return e._isFateSealed()||e._setAsyncGuaranteed(),e}return"string"==typeof c&&(i=e),_.notEnumerableProp(r,"__isPromisified__",!0),r};function j(t,e,n,r,i){for(var o=new RegExp(w(e)+"quot;),s=b(t,e,o,n),a=0,c=s.length;a<c;a+=2){var l=s[a],u=s[a+1],p=l+e;if(r===C)t[p]=C(l,f,l,u,e,i);else{var h=r(u,function(){return C(l,f,l,u,e,i)});_.notEnumerableProp(h,"__isPromisified__",!0),t[p]=h}}return _.toFastProperties(t),t}l.promisify=function(t,e){if("function"!=typeof t)throw new v("expecting a function but got "+_.classString(t));if(g(t))return t;var n,r=void 0===(e=Object(e)).context?f:e.context,i=!!e.multiArgs,o=C(n=t,r,void 0,n,null,i);return _.copyDescriptors(t,o,s),o},l.promisifyAll=function(t,e){if("function"!=typeof t&&"object"!=typeof t)throw new v("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var n=!!(e=Object(e)).multiArgs,r=e.suffix;"string"!=typeof r&&(r="Async");var i=e.filter;"function"!=typeof i&&(i=m);var o=e.promisifier;if("function"!=typeof o&&(o=C),!_.isIdentifier(r))throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var s=_.inheritedDataKeys(t),a=0;a<s.length;++a){var c=t[s[a]];"constructor"!==s[a]&&_.isClass(c)&&(j(c.prototype,r,i,o,n),j(c,r,i,o,n))}return j(t,r,i,o,n)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(_,t,e){"use strict";t.exports=function(r,t,i,o){var a,e=_("./util"),s=e.isObject,c=_("./es5");"function"==typeof Map&&(a=Map);var n,l,u=(l=n=0,function(t){l=t.size,n=0;var e=new Array(2*t.size);return t.forEach(p,e),e});function p(t,e){this[n]=t,this[n+l]=e,n++}function h(t){var e,n=!1;if(void 0!==a&&t instanceof a)e=u(t),n=!0;else{var r=c.keys(t),i=r.length;e=new Array(2*i);for(var o=0;o<i;++o){var s=r[o];e[o]=t[s],e[o+i]=s}}this.constructor$(e),this._isMap=n,this._init$(void 0,n?-6:-3)}function f(t){var e,n=i(t);return s(n)?(e=n instanceof r?n._then(r.props,void 0,void 0,void 0,void 0):new h(n).promise(),n instanceof r&&e._propagateFrom(n,2),e):o("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}e.inherits(h,t),h.prototype._init=function(){},h.prototype._promiseFulfilled=function(t,e){if(this._values[e]=t,++this._totalResolved>=this._length){var n;if(this._isMap)n=function(t){for(var e=new a,n=t.length/2|0,r=0;r<n;++r){var i=t[n+r],o=t[r];e.set(i,o)}return e}(this._values);else{n={};for(var r=this.length(),i=0,o=this.length();i<o;++i)n[this._values[i+r]]=this._values[i]}return this._resolve(n),!0}return!1},h.prototype.shouldCopyValues=function(){return!1},h.prototype.getActualLength=function(t){return t>>1},r.prototype.props=function(){return f(this)},r.props=function(t){return f(t)}}},{"./es5":13,"./util":36}],26:[function(t,e,n){"use strict";function r(t){this._capacity=t,this._length=0,this._front=0}r.prototype._willBeOverCapacity=function(t){return this._capacity<t},r.prototype._pushOne=function(t){var e=this.length();this._checkCapacity(e+1),this[this._front+e&this._capacity-1]=t,this._length=e+1},r.prototype.push=function(t,e,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(t),this._pushOne(e),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[0+i&o]=t,this[1+i&o]=e,this[2+i&o]=n,this._length=r},r.prototype.shift=function(){var t=this._front,e=this[t];return this[t]=void 0,this._front=t+1&this._capacity-1,this._length--,e},r.prototype.length=function(){return this._length},r.prototype._checkCapacity=function(t){this._capacity<t&&this._resizeTo(this._capacity<<1)},r.prototype._resizeTo=function(t){var e=this._capacity;this._capacity=t,function(t,e,n,r,i){for(var o=0;o<i;++o)n[o+r]=t[o+e],t[o+e]=void 0}(this,0,this,e,this._front+this._length&e-1)},e.exports=r},{}],27:[function(t,e,n){"use strict";e.exports=function(l,u,p,h){var f=t("./util"),_=function(e){return e.then(function(t){return n(t,e)})};function n(t,e){var n=p(t);if(n instanceof l)return _(n);if(null===(t=f.asArray(t)))return h("expecting an array or an iterable object but got "+f.classString(t));var r=new l(u);void 0!==e&&r._propagateFrom(e,3);for(var i=r._fulfill,o=r._reject,s=0,a=t.length;s<a;++s){var c=t[s];(void 0!==c||s in t)&&l.cast(c)._then(i,o,void 0,r,null)}return r}l.race=function(t){return n(t,void 0)},l.prototype.race=function(){return n(this,void 0)}}},{"./util":36}],28:[function(e,t,n){"use strict";t.exports=function(s,t,i,n,o,a){var c=s._getDomain,l=e("./util"),u=l.tryCatch;function p(t,e,n,r){this.constructor$(t);var i=c();this._fn=null===i?e:l.domainBind(i,e),void 0!==n&&(n=s.resolve(n))._attachCancellationCallback(this),this._initialValue=n,this._currentCancellable=null,this._eachValues=r===o?Array(this._length):0===r?null:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function h(t,e){this.isFulfilled()?e._resolve(t):e._reject(t)}function f(t,e,n,r){return"function"!=typeof e?i("expecting a function but got "+l.classString(e)):new p(t,e,n,r).promise()}function _(t){this.accum=t,this.array._gotAccum(t);var e=n(this.value,this.array._promise);return e instanceof s?(this.array._currentCancellable=e)._then(r,void 0,void 0,this,void 0):r.call(this,e)}function r(t){var e,n=this.array,r=n._promise,i=u(n._fn);r._pushContext(),(e=void 0!==n._eachValues?i.call(r._boundValue(),t,this.index,this.length):i.call(r._boundValue(),this.accum,t,this.index,this.length))instanceof s&&(n._currentCancellable=e);var o=r._popContext();return a.checkForgottenReturns(e,o,void 0!==n._eachValues?"Promise.each":"Promise.reduce",r),e}l.inherits(p,t),p.prototype._gotAccum=function(t){void 0!==this._eachValues&&null!==this._eachValues&&t!==o&&this._eachValues.push(t)},p.prototype._eachComplete=function(t){return null!==this._eachValues&&this._eachValues.push(t),this._eachValues},p.prototype._init=function(){},p.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},p.prototype.shouldCopyValues=function(){return!1},p.prototype._resolve=function(t){this._promise._resolveCallback(t),this._values=null},p.prototype._resultCancelled=function(t){if(t===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof s&&this._currentCancellable.cancel(),this._initialValue instanceof s&&this._initialValue.cancel())},p.prototype._iterate=function(t){var e,n,r=(this._values=t).length;if(n=void 0!==this._initialValue?(e=this._initialValue,0):(e=s.resolve(t[0]),1),!(this._currentCancellable=e).isRejected())for(;n<r;++n){var i={accum:null,value:t[n],index:n,length:r,array:this};e=e._then(_,void 0,void 0,i,void 0)}void 0!==this._eachValues&&(e=e._then(this._eachComplete,void 0,void 0,this,void 0)),e._then(h,h,void 0,e,this)},s.prototype.reduce=function(t,e){return f(this,t,e,null)},s.reduce=function(t,e,n,r){return f(t,e,n,r)}}},{"./util":36}],29:[function(t,e,n){"use strict";var r,i=t("./util"),o=i.getNativePromise();if(i.isNode&&"undefined"==typeof MutationObserver){var s=global.setImmediate,a=process.nextTick;r=i.isRecentNode?function(t){s.call(global,t)}:function(t){a.call(process,t)}}else if("function"==typeof o&&"function"==typeof o.resolve){var c=o.resolve();r=function(t){c.then(t)}}else r="undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:"undefined"!=typeof setTimeout?function(t){setTimeout(t,0)}:function(){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}:function(){var n=document.createElement("div"),r={attributes:!0},i=!1,o=document.createElement("div");new MutationObserver(function(){n.classList.toggle("foo"),i=!1}).observe(o,r);return function(t){var e=new MutationObserver(function(){e.disconnect(),t()});e.observe(n,r),i||(i=!0,o.classList.toggle("foo"))}}();e.exports=r},{"./util":36}],30:[function(o,t,e){"use strict";t.exports=function(t,e,n){var r=t.PromiseInspection;function i(t){this.constructor$(t)}o("./util").inherits(i,e),i.prototype._promiseResolved=function(t,e){return this._values[t]=e,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},i.prototype._promiseFulfilled=function(t,e){var n=new r;return n._bitField=33554432,n._settledValueField=t,this._promiseResolved(e,n)},i.prototype._promiseRejected=function(t,e){var n=new r;return n._bitField=16777216,n._settledValueField=t,this._promiseResolved(e,n)},t.settle=function(t){return n.deprecated(".settle()",".reflect()"),new i(t).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":36}],31:[function(u,t,e){"use strict";t.exports=function(t,e,i){var n=u("./util"),r=u("./errors").RangeError,o=u("./errors").AggregateError,s=n.isArray,a={};function c(t){this.constructor$(t),this._howMany=0,this._unwrap=!1,this._initialized=!1}function l(t,e){if((0|e)!==e||e<0)return i("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new c(t),r=n.promise();return n.setHowMany(e),n.init(),r}n.inherits(c,e),c.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var t=s(this._values);!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(t){this._howMany=t},c.prototype._promiseFulfilled=function(t){return this._addFulfilled(t),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},c.prototype._promiseRejected=function(t){return this._addRejected(t),this._checkOutcome()},c.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(a),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var t=new o,e=this.length();e<this._values.length;++e)this._values[e]!==a&&t.push(this._values[e]);return 0<t.length?this._reject(t):this._cancel(),!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(t){this._values.push(t)},c.prototype._addFulfilled=function(t){this._values[this._totalResolved++]=t},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(t){var e="Input array must contain at least "+this._howMany+" items but contains only "+t+" items";return new r(e)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(t,e){return l(t,e)},t.prototype.some=function(t){return l(this,t)},t._SomePromiseArray=c}},{"./errors":12,"./util":36}],32:[function(t,e,n){"use strict";e.exports=function(t){function e(t){void 0!==t?(t=t._target(),this._bitField=t._bitField,this._settledValueField=t._isFateSealed()?t._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}e.prototype._settledValue=function(){return this._settledValueField};var n=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},r=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this._settledValue()},i=e.prototype.isFulfilled=function(){return 0!=(33554432&this._bitField)},o=e.prototype.isRejected=function(){return 0!=(16777216&this._bitField)},s=e.prototype.isPending=function(){return 0==(50397184&this._bitField)},a=e.prototype.isResolved=function(){return 0!=(50331648&this._bitField)};e.prototype.isCancelled=function(){return 0!=(8454144&this._bitField)},t.prototype.__isCancelled=function(){return 65536==(65536&this._bitField)},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return 0!=(8454144&this._target()._bitField)},t.prototype.isPending=function(){return s.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return i.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return n.call(this._target())},t.prototype.reason=function(){var t=this._target();return t._unsetRejectionIsUnhandled(),r.call(t)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}},{}],33:[function(t,e,n){"use strict";e.exports=function(a,c){var l=t("./util"),u=l.errorObj,i=l.isObject;var o={}.hasOwnProperty;return function(t,e){if(i(t)){if(t instanceof a)return t;var n=function(t){try{return function(t){return t.then}(t)}catch(t){return u.e=t,u}}(t);if(n===u){e&&e._pushContext();var r=a.reject(n.e);return e&&e._popContext(),r}if("function"==typeof n){if(function(t){try{return o.call(t,"_promise0")}catch(t){return}}(t)){r=new a(c);return t._then(r._fulfill,r._reject,void 0,r,null),r}return function(t,e,n){var r=new a(c),i=r;n&&n._pushContext();r._captureStackTrace(),n&&n._popContext();var o=!0,s=l.tryCatch(e).call(t,function(t){if(!r)return;r._resolveCallback(t),r=null},function(t){if(!r)return;r._rejectCallback(t,o,!0),r=null});o=!1,r&&s===u&&(r._rejectCallback(s.e,!0,!0),r=null);return i}(t,n,e)}}return t}}},{"./util":36}],34:[function(t,e,n){"use strict";e.exports=function(i,o,a){var c=t("./util"),l=i.TimeoutError;function u(t){this.handle=t}u.prototype._resultCancelled=function(){clearTimeout(this.handle)};function s(t){return e(+this).thenReturn(t)}var e=i.delay=function(t,e){var n,r;return void 0!==e?(n=i.resolve(e)._then(s,null,null,t,void 0),a.cancellation()&&e instanceof i&&n._setOnCancel(e)):(n=new i(o),r=setTimeout(function(){n._fulfill()},+t),a.cancellation()&&n._setOnCancel(new u(r)),n._captureStackTrace()),n._setAsyncGuaranteed(),n};i.prototype.delay=function(t){return e(t,this)};function n(t){return clearTimeout(this.handle),t}function r(t){throw clearTimeout(this.handle),t}i.prototype.timeout=function(t,i){var o,s;t=+t;var e=new u(setTimeout(function(){var t,e,n,r;o.isPending()&&(t=o,n=s,r="string"!=typeof(e=i)?e instanceof Error?e:new l("operation timed out"):new l(e),c.markAsOriginatingFromRejection(r),t._attachExtraTrace(r),t._reject(r),null!=n&&n.cancel())},t));return a.cancellation()?(s=this.then(),(o=s._then(n,r,void 0,e,void 0))._setOnCancel(e)):o=this._then(n,r,void 0,e,void 0),o}}},{"./util":36}],35:[function(s,t,e){"use strict";t.exports=function(h,f,_,e,t,d){var v=s("./util"),n=s("./errors").TypeError,r=s("./util").inherits,y=v.errorObj,m=v.tryCatch,i={};function l(t){setTimeout(function(){throw t},0)}function g(i,o){var s=0,a=i.length,c=new h(t);return function t(){if(a<=s)return c._fulfill();var e,n,r=(e=i[s++],(n=_(e))!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&n._setDisposable(e._getDisposer()),n);if(r instanceof h&&r._isDisposable()){try{r=_(r._getDisposer().tryDispose(o),i.promise)}catch(t){return l(t)}if(r instanceof h)return r._then(t,l,null,null,null)}t()}(),c}function b(t,e,n){this._data=t,this._promise=e,this._context=n}function o(t,e,n){this.constructor$(t,e,n)}function w(t){return b.isDisposer(t)?(this.resources[this.index]._setDisposable(t),t.promise()):t}function C(t){this.length=t,this.promise=null,this[t-1]=null}b.prototype.data=function(){return this._data},b.prototype.promise=function(){return this._promise},b.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():i},b.prototype.tryDispose=function(t){var e=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=e!==i?this.doDispose(e,t):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},b.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},r(o,b),o.prototype.doDispose=function(t,e){return this.data().call(t,t,e)},C.prototype._resultCancelled=function(){for(var t=this.length,e=0;e<t;++e){var n=this[e];n instanceof h&&n.cancel()}},h.using=function(){var t=arguments.length;if(t<2)return f("you must pass at least 2 arguments to Promise.using");var e,o=arguments[t-1];if("function"!=typeof o)return f("expecting a function but got "+v.classString(o));var s=!0;2===t&&Array.isArray(arguments[0])?(t=(e=arguments[0]).length,s=!1):(e=arguments,t--);for(var n=new C(t),r=0;r<t;++r){var i=e[r];if(b.isDisposer(i)){var a=i;(i=i.promise())._setDisposable(a)}else{var c=_(i);c instanceof h&&(i=c._then(w,null,null,{resources:n,index:r},void 0))}n[r]=i}var l=new Array(n.length);for(r=0;r<l.length;++r)l[r]=h.resolve(n[r]).reflect();var u=h.all(l).then(function(t){for(var e=0;e<t.length;++e){var n=t[e];if(n.isRejected())return y.e=n.error(),y;if(!n.isFulfilled())return void u.cancel();t[e]=n.value()}p._pushContext(),o=m(o);var r=s?o.apply(void 0,t):o(t),i=p._popContext();return d.checkForgottenReturns(r,i,"Promise.using",p),r}),p=u.lastly(function(){var t=new h.PromiseInspection(u);return g(n,t)});return(n.promise=p)._setOnCancel(n),p},h.prototype._setDisposable=function(t){this._bitField=131072|this._bitField,this._disposer=t},h.prototype._isDisposable=function(){return 0<(131072&this._bitField)},h.prototype._getDisposer=function(){return this._disposer},h.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},h.prototype.disposer=function(t){if("function"==typeof t)return new o(t,this,e());throw new n}}},{"./errors":12,"./util":36}],36:[function(t,e,n){"use strict";var l=t("./es5"),r="undefined"==typeof navigator,i={e:{}},o,s="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0!==this?this:null;function a(){try{var t=o;return o=null,t.apply(this,arguments)}catch(t){return i.e=t,i}}function c(t){return o=t,a}var u=function(e,n){var r={}.hasOwnProperty;function t(){for(var t in this.constructor=e,(this.constructor$=n).prototype)r.call(n.prototype,t)&&"quot;!==t.charAt(t.length-1)&&(this[t+"quot;]=n.prototype[t])}return t.prototype=n.prototype,e.prototype=new t,e.prototype};function p(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function h(t){return"function"==typeof t||"object"==typeof t&&null!==t}function f(t){return p(t)?new Error(k(t)):t}function _(t,e){var n,r=t.length,i=new Array(r+1);for(n=0;n<r;++n)i[n]=t[n];return i[n]=e,i}function d(t,e,n){if(!l.isES5)return{}.hasOwnProperty.call(t,e)?t[e]:void 0;var r=Object.getOwnPropertyDescriptor(t,e);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function v(t,e,n){if(p(t))return t;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return l.defineProperty(t,e,r),t}function y(t){throw t}var m=function(){function a(t){for(var e=0;e<i.length;++e)if(i[e]===t)return 1}var i=[Array.prototype,Object.prototype,Function.prototype];if(l.isES5){var c=Object.getOwnPropertyNames;return function(t){for(var e=[],n=Object.create(null);null!=t&&!a(t);){var r;try{r=c(t)}catch(t){return e}for(var i=0;i<r.length;++i){var o=r[i];if(!n[o]){n[o]=!0;var s=Object.getOwnPropertyDescriptor(t,o);null!=s&&null==s.get&&null==s.set&&e.push(o)}}t=l.getPrototypeOf(t)}return e}}var o={}.hasOwnProperty;return function(t){if(a(t))return[];var e=[];t:for(var n in t)if(o.call(t,n))e.push(n);else{for(var r=0;r<i.length;++r)if(o.call(i[r],n))continue t;e.push(n)}return e}}(),g=/this\s*\.\s*\S+\s*=/;function b(t){try{if("function"==typeof t){var e=l.names(t.prototype),n=l.isES5&&1<e.length,r=0<e.length&&!(1===e.length&&"constructor"===e[0]),i=g.test(t+"")&&0<l.names(t).length;if(n||r||i)return!0}return!1}catch(t){return!1}}function w(t){function e(){}e.prototype=t;var n=new e;function r(){return n.foo,1}return r(),r(),t}var C=/^[a-z$_][a-z$_0-9]*#x2F;i;function j(t){return C.test(t)}function E(t,e,n){for(var r=new Array(t),i=0;i<t;++i)r[i]=e+i+n;return r}function k(t){try{return t+""}catch(t){return"[no string representation]"}}function F(t){return t instanceof Error||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function T(t){try{v(t,"isOperational",!0)}catch(t){}}function x(t){return null!=t&&(t instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===t.isOperational)}function P(t){return F(t)&&l.propertyIsWritable(t,"stack")}var R="stack"in new Error?function(t){return P(t)?t:new Error(k(t))}:function(t){if(P(t))return t;try{throw new Error(k(t))}catch(t){return t}};function S(t){return{}.toString.call(t)}function O(t,e,n){for(var r=l.names(t),i=0;i<r.length;++i){var o=r[i];if(n(o))try{l.defineProperty(e,o,l.getDescriptor(t,o))}catch(t){}}}var A=function(t){return l.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var D="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var e,n=[],r=t[Symbol.iterator]();!(e=r.next()).done;)n.push(e.value);return n};A=function(t){return l.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?D(t):null}}var V="undefined"!=typeof process&&"[object process]"===S(process).toLowerCase(),I="undefined"!=typeof process&&void 0!==process.env;function L(t){return I?process.env[t]:void 0}function H(){if("function"==typeof Promise)try{var t=new Promise(function(){});if("[object Promise]"==={}.toString.call(t))return Promise}catch(t){}}function N(t,e){return t.bind(e)}var U={isClass:b,isIdentifier:j,inheritedDataKeys:m,getDataPropertyOrDefault:d,thrower:y,isArray:l.isArray,asArray:A,notEnumerableProp:v,isPrimitive:p,isObject:h,isError:F,canEvaluate:r,errorObj:i,tryCatch:c,inherits:u,withAppended:_,maybeWrapAsError:f,toFastProperties:w,filledRange:E,toString:k,canAttachTrace:P,ensureErrorObject:R,originatesFromRejection:x,markAsOriginatingFromRejection:T,classString:S,copyDescriptors:O,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:V,hasEnvVariables:I,env:L,global:s,getNativePromise:H,domainBind:N},B;U.isRecentNode=U.isNode&&(B=process.versions.node.split(".").map(Number),0===B[0]&&10<B[1]||0<B[0]),U.isNode&&U.toFastProperties(process);try{throw new Error}catch(t){U.lastLineError=t}e.exports=U},{"./es5":13}]},{},[4])(4)}),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise);
assets/js/form-field-dependency.min.js CHANGED
@@ -1 +1 @@
1
- var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(h){h.fn.FormFieldDependency=function(e){var t,a=h.extend({attribute:"wvsdepends",rules:{}},e),u=function(e,t,a){if(void 0===a&&(a=!1),null==e&&(e=[]),1==a)return e.sort().join(",").toLowerCase()==t.sort().join(",").toLowerCase();for(var s=0;s<e.length;s++)if(0<=t.indexOf(e[s]))return!0;return!1},p=function(e,t){return 0<=h.inArray(e,t)&&h.isArray(t)},l=function(e){if("null"==typeof e||void 0===e)return!0;if("string"==typeof e)return""==h.trim(e);if("object"==(void 0===e?"undefined":_typeof(e))){if(h.isArray(e)){var t=h.map(e,function(e,t){return""==h.trim(e)?null:e});return h.isEmptyObject(t)}return h.isEmptyObject(e)}},s=function(a,e){h.each(e,function(e,t){switch(t.type){case"empty":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h(i).val();switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":""==h.trim(r)?h(a).show():h(a).hide();break;case"input:checkbox":h(i).is(":checked")&&""!=h.trim(r)?h(a).hide():h(a).show();break;case"select:select-multiple":l(r)?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"notempty":case"not-empty":case"notEmpty":case"!empty":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h(i).val();switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":""!=h.trim(r)?h(a).show():h(a).hide();break;case"input:checkbox":h(i).is(":checked")&&""!=h.trim(r)?h(a).show():h(a).hide();break;case"select:select-multiple":l(r)?h(a).hide():h(a).show()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"equal":case"==":case"=":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h(i).val(),o=void 0!==s.like;if(s.empty=void 0!==s.empty&&s.empty,s.strict=void 0!==s.strict&&s.strict,o){var c=h(s.like).prop("tagName").toLowerCase()+":"+h(s.like).prop("type").toLowerCase();"input:checkbox"==c||"input:radio"==c?s.value=h(s.like+":checked").map(function(){return this.value}).get():(s.value=h(s.like).val(),showOnEmptyValue||(s.value=""==h.trim(h(s.like).val())?null:h(s.like).val()))}switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":h.trim(r)==s.value?h(a).show():p(r,s.value)?h(a).show():""==h.trim(r)&&s.empty?h(a).show():h(a).hide();break;case"input:checkbox":case"input:radio":(r=h(i+":checked").map(function(){return this.value}).get())==s.value?h(a).show():p(r,s.value)?h(a).show():u(r,s.value,s.strict)?h(a).show():l(r)&&s.empty?h(a).show():h(a).hide();break;case"select:select-multiple":u(r,s.value,s.strict)?h(a).show():null==r&&s.empty?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"!equal":case"notequal":case"!=":case"not-equal":case"notEqual":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h(i).val(),o=void 0!==s.like;if(s.strict=void 0!==s.strict&&s.strict,s.empty=void 0===s.empty||s.empty,o){var c=h(s.like).prop("tagName").toLowerCase()+":"+h(s.like).prop("type").toLowerCase();"input:checkbox"==c||"input:radio"==c?s.value=h(s.like+":checked").map(function(){return this.value}).get():(s.value=h(s.like).val(),showOnEmptyValue||(s.value=""==h.trim(h(s.like).val())?null:h(s.like).val()))}switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":r==s.value?h(a).hide():p(r,s.value)?h(a).hide():""!=h.trim(r)||s.empty?h(a).show():h(a).hide();break;case"input:checkbox":case"input:radio":r=h(i+":checked").map(function(){return this.value}).get(),void 0===s.strict&&(s.strict=!1),r==s.value?h(a).hide():p(r,s.value)?h(a).hide():u(r,s.value,s.strict)?h(a).hide():l(r)&&!s.empty?h(a).hide():h(a).show();break;case"select:select-multiple":u(r,s.value,s.strict)?h(a).hide():null!=r||s.empty?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"regexp":case"expression":case"reg":case"exp":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;var n=h(i).prop("tagName").toLowerCase()+":"+h(i).prop("type").toLowerCase(),r=h.trim(h(i).val());switch(n){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":var o=void 0===s.modifier?"":s.modifier;new RegExp(s.pattern,o).test(r)?h(a).show():h(a).hide()}e&&h(document.body).on("input",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"compare":case"comp":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;h(i).prop("tagName").toLowerCase(),h(i).prop("type").toLowerCase();var n=parseInt(h(i).val());switch(s.value=parseInt(s.value),s.sign){case"<":case"lt":case"lessthen":case"less-then":case"LessThen":n<s.value?h(a).show():h(a).hide();break;case"<=":case"lteq":case"lessthenequal":case"less-then-equal":case"LessThenEqual":case"eqlt":n<=s.value?h(a).show():h(a).hide();break;case">=":case"gteq":case"greaterthenequal":case"greater-then-equal":case"GreaterThenEqual":case"eqgt":n>=s.value?h(a).show():h(a).hide();break;case">":case"gt":case"greaterthen":case"greater-then":case"GreaterThen":n>s.value?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"length":case"lng":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;h(i).prop("tagName").toLowerCase(),h(i).prop("type").toLowerCase();var n=h(i).val().length;switch(s.value=parseInt(s.value),s.sign){case"<":case"lt":case"lessthen":case"less-then":case"LessThen":n<s.value?h(a).show():h(a).hide();break;case"<=":case"lteq":case"lessthenequal":case"less-then-equal":case"LessThenEqual":case"eqlt":n<=s.value?h(a).show():h(a).hide();break;case">=":case"gteq":case"greaterthenequal":case"greater-then-equal":case"GreaterThenEqual":case"eqgt":n>=s.value?h(a).show():h(a).hide();break;case">":case"gt":case"greaterthen":case"greater-then":case"GreaterThen":n>s.value?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0);break;case"range":!function t(a,s,i,e){if(void 0===e&&(e=!1),void 0===h(i).prop("tagName"))return!1;h(i).prop("tagName").toLowerCase(),h(i).prop("type").toLowerCase();var n,r,o=parseInt(h(i).val());h.isArray(s.value)&&(n=parseInt(s.value[0]),r=parseInt(s.value[1])),void 0===s.value&&(n=parseInt(s.min),r=parseInt(s.max)),n<o&&o<r?h(a).show():h(a).hide(),e&&h(document.body).on("input change",h(i),function(e){t(a,s,i,!1)})}(a,t,e,!0)}})};return t=a.rules,h.each(t,function(e,t){s(h(e),t)}),this.each(function(){var e=h(this).data(a.attribute.replace("data-","").trim());e&&(h(this).addClass("has-dependent-data"),h.each(e,function(e,t){s(h(this),t)}.bind(this)))})}}(jQuery);
1
+ var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(h){h.fn.FormFieldDependency=function(e){function u(e,t,a){if(void 0===a&&(a=!1),null==e&&(e=[]),1==a)return e.sort().join(",").toLowerCase()==t.sort().join(",").toLowerCase();for(var s=0;s<e.length;s++)if(0<=t.indexOf(e[s]))return 1}function p(e,t){return 0<=h.inArray(e,t)&&h.isArray(t)}function l(e){if("null"==typeof e||void 0===e)return 1;if("string"==typeof e)return""==h.trim(e);if("object"==(void 0===e?"undefined":_typeof(e))){if(h.isArray(e)){var t=h.map(e,function(e,t){return""==h.trim(e)?null:e});return h.isEmptyObject(t)}return h.isEmptyObject(e)}}function a(a,e){h.each(e,function(e,t){switch(t.type){case"empty":!function t(a,s,n,e){if(void 0===e&&(e=!1),void 0===h(n).prop("tagName"))return!1;var i=h(n).prop("tagName").toLowerCase()+":"+h(n).prop("type").toLowerCase(),r=h(n).val();switch(i){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":""==h.trim(r)?h(a).show():h(a).hide();break;case"input:checkbox":h(n).is(":checked")&&""!=h.trim(r)?h(a).hide():h(a).show();break;case"select:select-multiple":l(r)?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(n),function(e){t(a,s,n,!1)})}(a,t,e,!0);break;case"notempty":case"not-empty":case"notEmpty":case"!empty":!function t(a,s,n,e){if(void 0===e&&(e=!1),void 0===h(n).prop("tagName"))return!1;var i=h(n).prop("tagName").toLowerCase()+":"+h(n).prop("type").toLowerCase(),r=h(n).val();switch(i){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":""!=h.trim(r)?h(a).show():h(a).hide();break;case"input:checkbox":h(n).is(":checked")&&""!=h.trim(r)?h(a).show():h(a).hide();break;case"select:select-multiple":l(r)?h(a).hide():h(a).show()}e&&h(document.body).on("input change",h(n),function(e){t(a,s,n,!1)})}(a,t,e,!0);break;case"equal":case"==":case"=":!function t(a,s,n,e){if(void 0===e&&(e=!1),void 0===h(n).prop("tagName"))return!1;var i=h(n).prop("tagName").toLowerCase()+":"+h(n).prop("type").toLowerCase(),r=h(n).val(),c=void 0!==s.like;if(s.empty=void 0!==s.empty&&s.empty,s.strict=void 0!==s.strict&&s.strict,c){var o=h(s.like).prop("tagName").toLowerCase()+":"+h(s.like).prop("type").toLowerCase();"input:checkbox"==o||"input:radio"==o?s.value=h(s.like+":checked").map(function(){return this.value}).get():(s.value=h(s.like).val(),showOnEmptyValue||(s.value=""==h.trim(h(s.like).val())?null:h(s.like).val()))}switch(i){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":h.trim(r)==s.value||p(r,s.value)||""==h.trim(r)&&s.empty?h(a).show():h(a).hide();break;case"input:checkbox":case"input:radio":(r=h(n+":checked").map(function(){return this.value}).get())==s.value||p(r,s.value)||u(r,s.value,s.strict)||l(r)&&s.empty?h(a).show():h(a).hide();break;case"select:select-multiple":u(r,s.value,s.strict)||null==r&&s.empty?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(n),function(e){t(a,s,n,!1)})}(a,t,e,!0);break;case"!equal":case"notequal":case"!=":case"not-equal":case"notEqual":!function t(a,s,n,e){if(void 0===e&&(e=!1),void 0===h(n).prop("tagName"))return!1;var i=h(n).prop("tagName").toLowerCase()+":"+h(n).prop("type").toLowerCase(),r=h(n).val(),c=void 0!==s.like;if(s.strict=void 0!==s.strict&&s.strict,s.empty=void 0===s.empty||s.empty,c){var o=h(s.like).prop("tagName").toLowerCase()+":"+h(s.like).prop("type").toLowerCase();"input:checkbox"==o||"input:radio"==o?s.value=h(s.like+":checked").map(function(){return this.value}).get():(s.value=h(s.like).val(),showOnEmptyValue||(s.value=""==h.trim(h(s.like).val())?null:h(s.like).val()))}switch(i){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":case"select:select-one":r==s.value||p(r,s.value)?h(a).hide():""!=h.trim(r)||s.empty?h(a).show():h(a).hide();break;case"input:checkbox":case"input:radio":r=h(n+":checked").map(function(){return this.value}).get(),void 0===s.strict&&(s.strict=!1),r==s.value||p(r,s.value)||u(r,s.value,s.strict)||l(r)&&!s.empty?h(a).hide():h(a).show();break;case"select:select-multiple":u(r,s.value,s.strict)?h(a).hide():null!=r||s.empty?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(n),function(e){t(a,s,n,!1)})}(a,t,e,!0);break;case"regexp":case"expression":case"reg":case"exp":!function t(a,s,n,e){if(void 0===e&&(e=!1),void 0===h(n).prop("tagName"))return!1;var i=h(n).prop("tagName").toLowerCase()+":"+h(n).prop("type").toLowerCase(),r=h.trim(h(n).val());switch(i){case"input:text":case"input:password":case"input:number":case"input:date":case"input:email":case"input:url":case"input:tel":case"textarea:textarea":var c=void 0===s.modifier?"":s.modifier;new RegExp(s.pattern,c).test(r)?h(a).show():h(a).hide()}e&&h(document.body).on("input",h(n),function(e){t(a,s,n,!1)})}(a,t,e,!0);break;case"compare":case"comp":!function t(a,s,n,e){if(void 0===e&&(e=!1),void 0===h(n).prop("tagName"))return!1;h(n).prop("tagName").toLowerCase(),h(n).prop("type").toLowerCase();var i=parseInt(h(n).val());switch(s.value=parseInt(s.value),s.sign){case"<":case"lt":case"lessthen":case"less-then":case"LessThen":i<s.value?h(a).show():h(a).hide();break;case"<=":case"lteq":case"lessthenequal":case"less-then-equal":case"LessThenEqual":case"eqlt":i<=s.value?h(a).show():h(a).hide();break;case">=":case"gteq":case"greaterthenequal":case"greater-then-equal":case"GreaterThenEqual":case"eqgt":i>=s.value?h(a).show():h(a).hide();break;case">":case"gt":case"greaterthen":case"greater-then":case"GreaterThen":i>s.value?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(n),function(e){t(a,s,n,!1)})}(a,t,e,!0);break;case"length":case"lng":!function t(a,s,n,e){if(void 0===e&&(e=!1),void 0===h(n).prop("tagName"))return!1;h(n).prop("tagName").toLowerCase(),h(n).prop("type").toLowerCase();var i=h(n).val().length;switch(s.value=parseInt(s.value),s.sign){case"<":case"lt":case"lessthen":case"less-then":case"LessThen":i<s.value?h(a).show():h(a).hide();break;case"<=":case"lteq":case"lessthenequal":case"less-then-equal":case"LessThenEqual":case"eqlt":i<=s.value?h(a).show():h(a).hide();break;case">=":case"gteq":case"greaterthenequal":case"greater-then-equal":case"GreaterThenEqual":case"eqgt":i>=s.value?h(a).show():h(a).hide();break;case">":case"gt":case"greaterthen":case"greater-then":case"GreaterThen":i>s.value?h(a).show():h(a).hide()}e&&h(document.body).on("input change",h(n),function(e){t(a,s,n,!1)})}(a,t,e,!0);break;case"range":!function t(a,s,n,e){if(void 0===e&&(e=!1),void 0===h(n).prop("tagName"))return!1;h(n).prop("tagName").toLowerCase(),h(n).prop("type").toLowerCase();var i,r,c=parseInt(h(n).val());h.isArray(s.value)&&(i=parseInt(s.value[0]),r=parseInt(s.value[1])),void 0===s.value&&(i=parseInt(s.min),r=parseInt(s.max)),i<c&&c<r?h(a).show():h(a).hide(),e&&h(document.body).on("input change",h(n),function(e){t(a,s,n,!1)})}(a,t,e,!0)}})}var t,s=h.extend({attribute:"wvsdepends",rules:{}},e);return t=s.rules,h.each(t,function(e,t){a(h(e),t)}),this.each(function(){var e=h(this).data(s.attribute.replace("data-","").trim());e&&(h(this).addClass("has-dependent-data"),h.each(e,function(e,t){a(h(this),t)}.bind(this)))})}}(jQuery);
assets/js/frontend.js CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:42 PM
6
* Released under the GPLv3 license.
7
*/
8
/******/ (function(modules) { // webpackBootstrap
@@ -80,40 +80,40 @@ jQuery(function ($) {
80
return __webpack_require__(11);
81
}).then(function () {
82
// Init on Ajax Popup :)
83
- $(document).on('wc_variation_form', '.variations_form', function () {
84
$(this).WooVariationSwatches();
85
});
86
87
// Support for Jetpack's Infinite Scroll,
88
- $(document.body).on('post-load', function () {
89
$('.variations_form').each(function () {
90
$(this).wc_variation_form();
91
});
92
});
93
94
// Support for Yith Infinite Scroll
95
- $(document).on('yith_infs_added_elem', function () {
96
$('.variations_form').each(function () {
97
$(this).wc_variation_form();
98
});
99
});
100
101
// Support for Yith Ajax Filter
102
- $(document).on('yith-wcan-ajax-filtered', function () {
103
$('.variations_form').each(function () {
104
$(this).wc_variation_form();
105
});
106
});
107
108
// Support for Woodmart theme
109
- $(document).on('wood-images-loaded', function () {
110
$('.variations_form').each(function () {
111
$(this).wc_variation_form();
112
});
113
});
114
115
// Support for berocket ajax filters
116
- $(document).on('berocket_ajax_products_loaded', function () {
117
$('.variations_form').each(function () {
118
$(this).wc_variation_form();
119
});
@@ -127,14 +127,14 @@ jQuery(function ($) {
127
});
128
129
// FacetWP Load More
130
- $(document).on('facetwp-loaded', function () {
131
$('.variations_form').each(function () {
132
$(this).wc_variation_form();
133
});
134
});
135
136
// WooCommerce Filter Nav
137
- $('body').on('aln_reloaded', function () {
138
_.delay(function () {
139
$('.variations_form').each(function () {
140
$(this).wc_variation_form();
@@ -218,13 +218,13 @@ var WooVariationSwatches = function ($) {
218
select.val(value).trigger('change');
219
select.trigger('click');
220
221
- select.trigger('focusin');
222
223
- if (is_mobile) {
224
- select.trigger('touchstart');
225
- }
226
227
- $(this).trigger('focus'); // Mobile tooltip
228
$(this).trigger('wvs-selected-item', [value, select, _this._element]); // Custom Event for li
229
});
230
@@ -237,13 +237,13 @@ var WooVariationSwatches = function ($) {
237
select.val('').trigger('change');
238
select.trigger('click');
239
240
- select.trigger('focusin');
241
242
- if (is_mobile) {
243
- select.trigger('touchstart');
244
- }
245
246
- $(this).trigger('focus'); // Mobile tooltip
247
248
$(this).trigger('wvs-unselected-item', [value, select, _this._element]); // Custom Event for li
249
});
@@ -275,9 +275,9 @@ var WooVariationSwatches = function ($) {
275
}
276
277
select.trigger('click');
278
- select.trigger('focusin');
279
if (is_mobile) {
280
- select.trigger('touchstart');
281
}
282
});
283
} else {
@@ -287,12 +287,12 @@ var WooVariationSwatches = function ($) {
287
var value = $(this).data('value');
288
select.val(value).trigger('change');
289
select.trigger('click');
290
- select.trigger('focusin');
291
- if (is_mobile) {
292
- select.trigger('touchstart');
293
- }
294
295
- $(this).trigger('focus'); // Mobile tooltip
296
297
$(this).trigger('wvs-selected-item', [value, select, _this._element]); // Custom Event for li
298
});
@@ -305,11 +305,11 @@ var WooVariationSwatches = function ($) {
305
306
select.val(value).trigger('change');
307
select.trigger('click');
308
- select.trigger('focusin');
309
310
- if (is_mobile) {
311
- select.trigger('touchstart');
312
- }
313
314
// Radio
315
$(this).parent('li.radio-variable-item').removeClass('selected disabled').addClass('selected');
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:13 PM
6
* Released under the GPLv3 license.
7
*/
8
/******/ (function(modules) { // webpackBootstrap
80
return __webpack_require__(11);
81
}).then(function () {
82
// Init on Ajax Popup :)
83
+ $(document).on('wc_variation_form.wvs', '.variations_form', function () {
84
$(this).WooVariationSwatches();
85
});
86
87
// Support for Jetpack's Infinite Scroll,
88
+ $(document.body).on('post-load.wvs', function () {
89
$('.variations_form').each(function () {
90
$(this).wc_variation_form();
91
});
92
});
93
94
// Support for Yith Infinite Scroll
95
+ $(document).on('yith_infs_added_elem.wvs', function () {
96
$('.variations_form').each(function () {
97
$(this).wc_variation_form();
98
});
99
});
100
101
// Support for Yith Ajax Filter
102
+ $(document).on('yith-wcan-ajax-filtered.wvs', function () {
103
$('.variations_form').each(function () {
104
$(this).wc_variation_form();
105
});
106
});
107
108
// Support for Woodmart theme
109
+ $(document).on('wood-images-loaded.wvs', function () {
110
$('.variations_form').each(function () {
111
$(this).wc_variation_form();
112
});
113
});
114
115
// Support for berocket ajax filters
116
+ $(document).on('berocket_ajax_products_loaded.wvs', function () {
117
$('.variations_form').each(function () {
118
$(this).wc_variation_form();
119
});
127
});
128
129
// FacetWP Load More
130
+ $(document).on('facetwp-loaded.wvs', function () {
131
$('.variations_form').each(function () {
132
$(this).wc_variation_form();
133
});
134
});
135
136
// WooCommerce Filter Nav
137
+ $('body').on('aln_reloaded.wvs', function () {
138
_.delay(function () {
139
$('.variations_form').each(function () {
140
$(this).wc_variation_form();
218
select.val(value).trigger('change');
219
select.trigger('click');
220
221
+ // select.trigger('focusin');
222
+
223
+ if (is_mobile) {}
224
+ // select.trigger('touchstart');
225
226
227
+ // $(this).trigger('focus'); // Mobile tooltip
228
$(this).trigger('wvs-selected-item', [value, select, _this._element]); // Custom Event for li
229
});
230
237
select.val('').trigger('change');
238
select.trigger('click');
239
240
+ //select.trigger('focusin');
241
+
242
+ if (is_mobile) {}
243
+ // select.trigger('touchstart');
244
245
246
+ // $(this).trigger('focus'); // Mobile tooltip
247
248
$(this).trigger('wvs-unselected-item', [value, select, _this._element]); // Custom Event for li
249
});
275
}
276
277
select.trigger('click');
278
+ //select.trigger('focusin');
279
if (is_mobile) {
280
+ // select.trigger('touchstart');
281
}
282
});
283
} else {
287
var value = $(this).data('value');
288
select.val(value).trigger('change');
289
select.trigger('click');
290
+ //select.trigger('focusin');
291
+ if (is_mobile) {}
292
+ // select.trigger('touchstart');
293
+
294
295
+ // $(this).trigger('focus'); // Mobile tooltip
296
297
$(this).trigger('wvs-selected-item', [value, select, _this._element]); // Custom Event for li
298
});
305
306
select.val(value).trigger('change');
307
select.trigger('click');
308
+ //select.trigger('focusin');
309
+
310
+ if (is_mobile) {}
311
+ // select.trigger('touchstart');
312
313
314
// Radio
315
$(this).parent('li.radio-variable-item').removeClass('selected disabled').addClass('selected');
assets/js/frontend.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){var i={};function e(a){if(i[a])return i[a].exports;var o=i[a]={i:a,l:!1,exports:{}};return t[a].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=i,e.d=function(t,i,a){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},e.p="",e(e.s=9)}({10:function(t,i,e){jQuery(function(t){Promise.resolve().then(function(){return e(11)}).then(function(){t(document).on("wc_variation_form",".variations_form",function(){t(this).WooVariationSwatches()}),t(document.body).on("post-load",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("yith_infs_added_elem",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("yith-wcan-ajax-filtered",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("wood-images-loaded",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("berocket_ajax_products_loaded",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(".shop-container .products").on("append.infiniteScroll",function(i,e,a){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("facetwp-loaded",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t("body").on("aln_reloaded",function(){_.delay(function(){t(".variations_form").each(function(){t(this).wc_variation_form()})},100)})})})},11:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=function(){function t(t,i){for(var e=0;e<i.length;e++){var a=i[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(i,e,a){return e&&t(i.prototype,e),a&&t(i,a),i}}();var o=function(t){var i={},e=function(){function e(a,o){!function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,e),this._element=t(a),this._config=t.extend({},i,o),this._generated={},this._out_of_stock={},this.product_variations=this._element.data("product_variations"),this.is_ajax_variation=!this.product_variations,this.product_id=this._element.data("product_id"),this.hidden_behaviour=t("body").hasClass("woo-variation-swatches-attribute-behavior-hide"),this.is_mobile=t("body").hasClass("woo-variation-swatches-on-mobile"),this.init(this.is_ajax_variation,this.hidden_behaviour),this.loaded(this.is_ajax_variation,this.hidden_behaviour),this.update(this.is_ajax_variation,this.hidden_behaviour),this.reset(this.is_ajax_variation,this.hidden_behaviour),t(document).trigger("woo_variation_swatches",[this._element])}return a(e,[{key:"init",value:function(i,e){var a=this,o=this;this._element.find("ul.variable-items-wrapper").each(function(i,e){var a=t(this).siblings("select.woo-variation-raw-select"),n=(t(this).find("li"),t(this).hasClass("reselect-clear")),r=t("body").hasClass("woo-variation-swatches-on-mobile");t(this).parent().addClass("woo-variation-items-wrapper"),a.length<1&&(a=t(this).parent().find("select.woo-variation-raw-select")),n?(t(this).on("click","li:not(.selected):not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(i){i.preventDefault(),i.stopPropagation();var e=t(this).data("value");a.val(e).trigger("change"),a.trigger("click"),a.trigger("focusin"),r&&a.trigger("touchstart"),t(this).trigger("focus"),t(this).trigger("wvs-selected-item",[e,a,o._element])}),t(this).on("click","li.selected:not(.radio-variable-item)",function(i){i.preventDefault(),i.stopPropagation();var e=t(this).val();a.val("").trigger("change"),a.trigger("click"),a.trigger("focusin"),r&&a.trigger("touchstart"),t(this).trigger("focus"),t(this).trigger("wvs-unselected-item",[e,a,o._element])}),t(this).on("click","input.wvs-radio-variable-item:radio",function(i){i.preventDefault(),i.stopPropagation(),t(this).trigger("change")}),t(this).on("change","input.wvs-radio-variable-item:radio",function(i){var e=this;i.preventDefault(),i.stopPropagation();var n=t(this).val();t(this).parent("li.radio-variable-item").hasClass("selected")?(a.val("").trigger("change"),_.delay(function(){t(e).prop("checked",!1),t(e).parent("li.radio-variable-item").trigger("wvs-unselected-item",[n,a,o._element])},1)):(a.val(n).trigger("change"),t(this).parent(".radio-variable-item").trigger("wvs-selected-item",[n,a,o._element])),a.trigger("click"),a.trigger("focusin"),r&&a.trigger("touchstart")})):(t(this).on("click","li:not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(i){i.preventDefault(),i.stopPropagation();var e=t(this).data("value");a.val(e).trigger("change"),a.trigger("click"),a.trigger("focusin"),r&&a.trigger("touchstart"),t(this).trigger("focus"),t(this).trigger("wvs-selected-item",[e,a,o._element])}),t(this).on("change","input.wvs-radio-variable-item:radio",function(i){i.preventDefault(),i.stopPropagation();var e=t(this).val();a.val(e).trigger("change"),a.trigger("click"),a.trigger("focusin"),r&&a.trigger("touchstart"),t(this).parent("li.radio-variable-item").removeClass("selected disabled").addClass("selected"),t(this).parent("li.radio-variable-item").trigger("wvs-selected-item",[e,a,o._element])}))}),_.delay(function(){a._element.trigger("reload_product_variations"),a._element.trigger("woo_variation_swatches_init",[a,a.product_variations]),t(document).trigger("woo_variation_swatches_loaded",[a._element,a.product_variations])},1)}},{key:"loaded",value:function(i,e){i||this._element.on("woo_variation_swatches_init",function(i,e,a){e._generated=a.reduce(function(t,i){return Object.keys(i.attributes).map(function(e){t[e]||(t[e]=[]),i.attributes[e]&&t[e].push(i.attributes[e])}),t},{}),e._out_of_stock=a.reduce(function(t,i){return Object.keys(i.attributes).map(function(e){t[e]||(t[e]=[]),i.attributes[e]&&!i.is_in_stock&&t[e].push(i.attributes[e])}),t},{}),t(this).find("ul.variable-items-wrapper").each(function(){var i=t(this).find("li:not(.woo-variation-swatches-variable-item-more)"),a=t(this).data("attribute_name"),o=e._generated[a];e._out_of_stock[a];i.each(function(){var i=t(this).attr("data-value");_.isEmpty(o)||-1!==_.indexOf(o,i)||(t(this).removeClass("selected"),t(this).addClass("disabled"),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!0).prop("checked",!1))})})})}},{key:"reset",value:function(i,e){var a=this;this._element.on("reset_data",function(e){t(this).find("ul.variable-items-wrapper").each(function(){t(this).find("li").each(function(){i?t(this).hasClass("radio-variable-item"):(t(this).removeClass("selected disabled"),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1).prop("checked",!1)),t(this).trigger("wvs-unselected-item",["","",a._element])})})})}},{key:"update",value:function(i,e){this._element.on("__found_variation",function(t,i){}),this._element.on("woocommerce_variation_has_changed",function(e){i&&t(this).find("ul.variable-items-wrapper").each(function(){var i=this,e="",a=t(this).siblings("select.woo-variation-raw-select").find("option"),o=t(this).siblings("select.woo-variation-raw-select").find("option:selected"),n=t(this).siblings("select.woo-variation-raw-select").find("option").eq(1),r=t(this).find("li"),s=[];a.length<1&&(a=t(this).parent().find("select.woo-variation-raw-select").find("option"),o=t(this).parent().find("select.woo-variation-raw-select").find("option:selected"),n=t(this).parent().find("select.woo-variation-raw-select").find("option").eq(1)),a.each(function(){""!==t(this).val()&&(s.push(t(this).val()),e=o?o.val():n.val())}),_.delay(function(){r.each(function(){var i=t(this).attr("data-value");t(this).removeClass("selected disabled"),i===e&&(t(this).addClass("selected"),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1).prop("checked",!0))}),t(i).trigger("wvs-items-updated")},1)})}),this._element.on("woocommerce_update_variation_values",function(i){t(this).find("ul.variable-items-wrapper").each(function(){var i=this,e="",a=t(this).siblings("select.woo-variation-raw-select").find("option"),o=t(this).siblings("select.woo-variation-raw-select").find("option:selected"),n=t(this).siblings("select.woo-variation-raw-select").find("option").eq(1),r=t(this).find("li:not(.woo-variation-swatches-variable-item-more)"),s=[];a.length<1&&(a=t(this).parent().find("select.woo-variation-raw-select").find("option"),o=t(this).parent().find("select.woo-variation-raw-select").find("option:selected"),n=t(this).parent().find("select.woo-variation-raw-select").find("option").eq(1)),a.each(function(){""!==t(this).val()&&(s.push(t(this).val()),e=o?o.val():n.val())}),_.delay(function(){r.each(function(){var i=t(this).attr("data-value");t(this).removeClass("selected disabled").addClass("disabled"),-1!==_.indexOf(s,i)?(t(this).removeClass("disabled"),t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1),i===e&&(t(this).addClass("selected"),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("checked",!0))):t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!0).prop("checked",!1)}),t(i).trigger("wvs-items-updated")},1)})})}}],[{key:"_jQueryInterface",value:function(t){return this.each(function(){new e(this,t)})}}]),e}();return t.fn.WooVariationSwatches=e._jQueryInterface,t.fn.WooVariationSwatches.Constructor=e,t.fn.WooVariationSwatches.noConflict=function(){return t.fn.WooVariationSwatches=t.fn.WooVariationSwatches,e._jQueryInterface},e}(jQuery);i.default=o},9:function(t,i,e){t.exports=e(10)}});
1
+ !function(i){var t={};function e(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return i[a].call(n.exports,n,n.exports,e),n.l=!0,n.exports}e.m=i,e.c=t,e.d=function(i,t,a){e.o(i,t)||Object.defineProperty(i,t,{configurable:!1,enumerable:!0,get:a})},e.n=function(i){var t=i&&i.__esModule?function(){return i.default}:function(){return i};return e.d(t,"a",t),t},e.o=function(i,t){return Object.prototype.hasOwnProperty.call(i,t)},e.p="",e(e.s=9)}({10:function(i,t,e){jQuery(function(i){Promise.resolve().then(function(){return e(11)}).then(function(){i(document).on("wc_variation_form.wvs",".variations_form",function(){i(this).WooVariationSwatches()}),i(document.body).on("post-load.wvs",function(){i(".variations_form").each(function(){i(this).wc_variation_form()})}),i(document).on("yith_infs_added_elem.wvs",function(){i(".variations_form").each(function(){i(this).wc_variation_form()})}),i(document).on("yith-wcan-ajax-filtered.wvs",function(){i(".variations_form").each(function(){i(this).wc_variation_form()})}),i(document).on("wood-images-loaded.wvs",function(){i(".variations_form").each(function(){i(this).wc_variation_form()})}),i(document).on("berocket_ajax_products_loaded.wvs",function(){i(".variations_form").each(function(){i(this).wc_variation_form()})}),i(".shop-container .products").on("append.infiniteScroll",function(t,e,a){i(".variations_form").each(function(){i(this).wc_variation_form()})}),i(document).on("facetwp-loaded.wvs",function(){i(".variations_form").each(function(){i(this).wc_variation_form()})}),i("body").on("aln_reloaded.wvs",function(){_.delay(function(){i(".variations_form").each(function(){i(this).wc_variation_form()})},100)})})})},11:function(i,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function i(i,t){for(var e=0;e<t.length;e++){var a=t[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}return function(t,e,a){return e&&i(t.prototype,e),a&&i(t,a),t}}();var n=function(i){var t={},e=function(){function e(a,n){!function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._element=i(a),this._config=i.extend({},t,n),this._generated={},this._out_of_stock={},this.product_variations=this._element.data("product_variations"),this.is_ajax_variation=!this.product_variations,this.product_id=this._element.data("product_id"),this.hidden_behaviour=i("body").hasClass("woo-variation-swatches-attribute-behavior-hide"),this.is_mobile=i("body").hasClass("woo-variation-swatches-on-mobile"),this.init(this.is_ajax_variation,this.hidden_behaviour),this.loaded(this.is_ajax_variation,this.hidden_behaviour),this.update(this.is_ajax_variation,this.hidden_behaviour),this.reset(this.is_ajax_variation,this.hidden_behaviour),i(document).trigger("woo_variation_swatches",[this._element])}return a(e,[{key:"init",value:function(t,e){var a=this,n=this;this._element.find("ul.variable-items-wrapper").each(function(t,e){var a=i(this).siblings("select.woo-variation-raw-select"),o=(i(this).find("li"),i(this).hasClass("reselect-clear"));i("body").hasClass("woo-variation-swatches-on-mobile");i(this).parent().addClass("woo-variation-items-wrapper"),a.length<1&&(a=i(this).parent().find("select.woo-variation-raw-select")),o?(i(this).on("click","li:not(.selected):not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(t){t.preventDefault(),t.stopPropagation();var e=i(this).data("value");a.val(e).trigger("change"),a.trigger("click"),i(this).trigger("wvs-selected-item",[e,a,n._element])}),i(this).on("click","li.selected:not(.radio-variable-item)",function(t){t.preventDefault(),t.stopPropagation();var e=i(this).val();a.val("").trigger("change"),a.trigger("click"),i(this).trigger("wvs-unselected-item",[e,a,n._element])}),i(this).on("click","input.wvs-radio-variable-item:radio",function(t){t.preventDefault(),t.stopPropagation(),i(this).trigger("change")}),i(this).on("change","input.wvs-radio-variable-item:radio",function(t){var e=this;t.preventDefault(),t.stopPropagation();var o=i(this).val();i(this).parent("li.radio-variable-item").hasClass("selected")?(a.val("").trigger("change"),_.delay(function(){i(e).prop("checked",!1),i(e).parent("li.radio-variable-item").trigger("wvs-unselected-item",[o,a,n._element])},1)):(a.val(o).trigger("change"),i(this).parent(".radio-variable-item").trigger("wvs-selected-item",[o,a,n._element])),a.trigger("click")})):(i(this).on("click","li:not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(t){t.preventDefault(),t.stopPropagation();var e=i(this).data("value");a.val(e).trigger("change"),a.trigger("click"),i(this).trigger("wvs-selected-item",[e,a,n._element])}),i(this).on("change","input.wvs-radio-variable-item:radio",function(t){t.preventDefault(),t.stopPropagation();var e=i(this).val();a.val(e).trigger("change"),a.trigger("click"),i(this).parent("li.radio-variable-item").removeClass("selected disabled").addClass("selected"),i(this).parent("li.radio-variable-item").trigger("wvs-selected-item",[e,a,n._element])}))}),_.delay(function(){a._element.trigger("reload_product_variations"),a._element.trigger("woo_variation_swatches_init",[a,a.product_variations]),i(document).trigger("woo_variation_swatches_loaded",[a._element,a.product_variations])},1)}},{key:"loaded",value:function(t,e){t||this._element.on("woo_variation_swatches_init",function(t,e,a){e._generated=a.reduce(function(i,t){return Object.keys(t.attributes).map(function(e){i[e]||(i[e]=[]),t.attributes[e]&&i[e].push(t.attributes[e])}),i},{}),e._out_of_stock=a.reduce(function(i,t){return Object.keys(t.attributes).map(function(e){i[e]||(i[e]=[]),t.attributes[e]&&!t.is_in_stock&&i[e].push(t.attributes[e])}),i},{}),i(this).find("ul.variable-items-wrapper").each(function(){var t=i(this).find("li:not(.woo-variation-swatches-variable-item-more)"),a=i(this).data("attribute_name"),n=e._generated[a];e._out_of_stock[a];t.each(function(){var t=i(this).attr("data-value");_.isEmpty(n)||-1!==_.indexOf(n,t)||(i(this).removeClass("selected"),i(this).addClass("disabled"),i(this).hasClass("radio-variable-item")&&i(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!0).prop("checked",!1))})})})}},{key:"reset",value:function(t,e){var a=this;this._element.on("reset_data",function(e){i(this).find("ul.variable-items-wrapper").each(function(){i(this).find("li").each(function(){t?i(this).hasClass("radio-variable-item"):(i(this).removeClass("selected disabled"),i(this).hasClass("radio-variable-item")&&i(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1).prop("checked",!1)),i(this).trigger("wvs-unselected-item",["","",a._element])})})})}},{key:"update",value:function(t,e){this._element.on("__found_variation",function(i,t){}),this._element.on("woocommerce_variation_has_changed",function(e){t&&i(this).find("ul.variable-items-wrapper").each(function(){var t=this,e="",a=i(this).siblings("select.woo-variation-raw-select").find("option"),n=i(this).siblings("select.woo-variation-raw-select").find("option:selected"),o=i(this).siblings("select.woo-variation-raw-select").find("option").eq(1),r=i(this).find("li"),s=[];a.length<1&&(a=i(this).parent().find("select.woo-variation-raw-select").find("option"),n=i(this).parent().find("select.woo-variation-raw-select").find("option:selected"),o=i(this).parent().find("select.woo-variation-raw-select").find("option").eq(1)),a.each(function(){""!==i(this).val()&&(s.push(i(this).val()),e=n?n.val():o.val())}),_.delay(function(){r.each(function(){var t=i(this).attr("data-value");i(this).removeClass("selected disabled"),t===e&&(i(this).addClass("selected"),i(this).hasClass("radio-variable-item")&&i(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1).prop("checked",!0))}),i(t).trigger("wvs-items-updated")},1)})}),this._element.on("woocommerce_update_variation_values",function(t){i(this).find("ul.variable-items-wrapper").each(function(){var t=this,e="",a=i(this).siblings("select.woo-variation-raw-select").find("option"),n=i(this).siblings("select.woo-variation-raw-select").find("option:selected"),o=i(this).siblings("select.woo-variation-raw-select").find("option").eq(1),r=i(this).find("li:not(.woo-variation-swatches-variable-item-more)"),s=[];a.length<1&&(a=i(this).parent().find("select.woo-variation-raw-select").find("option"),n=i(this).parent().find("select.woo-variation-raw-select").find("option:selected"),o=i(this).parent().find("select.woo-variation-raw-select").find("option").eq(1)),a.each(function(){""!==i(this).val()&&(s.push(i(this).val()),e=n?n.val():o.val())}),_.delay(function(){r.each(function(){var t=i(this).attr("data-value");i(this).removeClass("selected disabled").addClass("disabled"),-1!==_.indexOf(s,t)?(i(this).removeClass("disabled"),i(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1),t===e&&(i(this).addClass("selected"),i(this).hasClass("radio-variable-item")&&i(this).find("input.wvs-radio-variable-item:radio").prop("checked",!0))):i(this).hasClass("radio-variable-item")&&i(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!0).prop("checked",!1)}),i(t).trigger("wvs-items-updated")},1)})})}}],[{key:"_jQueryInterface",value:function(i){return this.each(function(){new e(this,i)})}}]),e}();return i.fn.WooVariationSwatches=e._jQueryInterface,i.fn.WooVariationSwatches.Constructor=e,i.fn.WooVariationSwatches.noConflict=function(){return i.fn.WooVariationSwatches=i.fn.WooVariationSwatches,e._jQueryInterface},e}(jQuery);t.default=n},9:function(i,t,e){i.exports=e(10)}});
assets/js/gwp-admin.js CHANGED
@@ -1,8 +1,8 @@
1
/*!
2
- * Variation Swatches for WooCommerce v1.0.71
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 1/5/2020, 3:32:42 PM
6
* Released under the GPLv3 license.
7
*/
8
/******/ (function(modules) { // webpackBootstrap
1
/*!
2
+ * Variation Swatches for WooCommerce v1.0.72
3
*
4
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 1/23/2020, 5:44:13 PM
6
* Released under the GPLv3 license.
7
*/
8
/******/ (function(modules) { // webpackBootstrap
assets/js/gwp-backbone-modal.min.js CHANGED
@@ -1 +1 @@
1
- !function(n,t,a){"use strict";n.fn.GWPBackboneModal=function(t){return this.each(function(){new n.GWPBackboneModal(n(this),t)})},n.GWPBackboneModal=function(t,e){var a=n.extend({},n.GWPBackboneModal.defaultOptions,e);a.template&&new n.GWPBackboneModal.View({target:a.template,string:a.data})},n.GWPBackboneModal.defaultOptions={template:"",data:{}},n.GWPBackboneModal.View=t.View.extend({tagName:"div",id:"gwp-backbone-modal-dialog",_target:void 0,_string:void 0,events:{"click .modal-close":"closeButton","click #btn-ok":"addButton","click #send-ajax":"sendAjax","touchstart #btn-ok":"addButton",keydown:"keyboardActions","change :radio":"optionChange"},resizeContent:function(){var t=n(".gwp-backbone-modal-content").find("article"),e=.75*n(window).height();t.css({"max-height":e+"px"})},initialize:function(t){var e=this;this._target=t.target,this._string=t.string,a.bindAll(this,"render"),this.render(),n(window).resize(function(){e.resizeContent()})},render:function(){var t=wp.template(this._target);this.$el.append(t(this._string)),n(document.body).css({overflow:"hidden"}).append(this.$el),this.resizeContent(),this.$(".gwp-backbone-modal-content").attr("tabindex","0").focus(),n(document.body).trigger("gwp_backbone_modal_loaded",this._target)},closeButton:function(t){t.preventDefault(),n(document.body).trigger("gwp_backbone_modal_before_remove",this._target),this.undelegateEvents(),n(document).off("focusin"),n(document.body).css({overflow:"auto"}),this.remove(),n(document.body).trigger("gwp_backbone_modal_removed",this._target)},addButton:function(t){n(document.body).trigger("gwp_backbone_modal_response",[this._target,this.getFormData()]),this.closeButton(t)},sendAjax:function(e){var a=this;e.preventDefault();var t=this.getFormData(),o=this._string;void 0!==t.reason_type?(n(e.target).prop("disabled",!0).text(n(e.target).data("deactivating")).next().addClass("visible"),wp.ajax.send(t.action,{form:t,success:function(t){window.location.replace(o.deactivate_link),a.closeButton(e)},error:function(){window.location.replace(o.deactivate_link),a.closeButton(e)}})):this.closeButton(e)},optionChange:function(t){n(t.target).closest(".feedback-dialog-form-body").find(".feedback-text").prop("disabled",!0).hide(),n(t.target).nextAll(".feedback-text").prop("disabled",!1).show().focus()},getFormData:function(){var a={};return n(document.body).trigger("gwp_backbone_modal_before_update",this._target),n.each(n("form",this.$el).serializeArray(),function(t,e){-1!==e.name.indexOf("[]")?(e.name=e.name.replace("[]",""),a[e.name]=n.makeArray(a[e.name]),a[e.name].push(e.value)):a[e.name]=e.value}),a},keyboardActions:function(t){var e=t.keyCode||t.which;13!==e||t.target.tagName&&("input"===t.target.tagName.toLowerCase()||"textarea"===t.target.tagName.toLowerCase())||this.addButton(t),27===e&&this.closeButton(t)}})}(jQuery,Backbone,_);
1
+ !function(n,t,a){"use strict";n.fn.GWPBackboneModal=function(t){return this.each(function(){new n.GWPBackboneModal(n(this),t)})},n.GWPBackboneModal=function(t,e){var a=n.extend({},n.GWPBackboneModal.defaultOptions,e);a.template&&new n.GWPBackboneModal.View({target:a.template,string:a.data})},n.GWPBackboneModal.defaultOptions={template:"",data:{}},n.GWPBackboneModal.View=t.View.extend({tagName:"div",id:"gwp-backbone-modal-dialog",_target:void 0,_string:void 0,events:{"click .modal-close":"closeButton","click #btn-ok":"addButton","click #send-ajax":"sendAjax","touchstart #btn-ok":"addButton",keydown:"keyboardActions","change :radio":"optionChange"},resizeContent:function(){var t=n(".gwp-backbone-modal-content").find("article"),e=.75*n(window).height();t.css({"max-height":e+"px"})},initialize:function(t){var e=this;this._target=t.target,this._string=t.string,a.bindAll(this,"render"),this.render(),n(window).resize(function(){e.resizeContent()})},render:function(){var t=wp.template(this._target);this.$el.append(t(this._string)),n(document.body).css({overflow:"hidden"}).append(this.$el),this.resizeContent(),this.$(".gwp-backbone-modal-content").attr("tabindex","0").focus(),n(document.body).trigger("gwp_backbone_modal_loaded",this._target)},closeButton:function(t){t.preventDefault(),n(document.body).trigger("gwp_backbone_modal_before_remove",this._target),this.undelegateEvents(),n(document).off("focusin"),n(document.body).css({overflow:"auto"}),this.remove(),n(document.body).trigger("gwp_backbone_modal_removed",this._target)},addButton:function(t){n(document.body).trigger("gwp_backbone_modal_response",[this._target,this.getFormData()]),this.closeButton(t)},sendAjax:function(t){var e=this;t.preventDefault();var a=this.getFormData(),o=this._string;void 0!==a.reason_type?(n(t.target).prop("disabled",!0).text(n(t.target).data("deactivating")).next().addClass("visible"),wp.ajax.send(a.action,{form:a,success:function(){window.location.replace(o.deactivate_link),e.closeButton(t)},error:function(){window.location.replace(o.deactivate_link),e.closeButton(t)}})):this.closeButton(t)},optionChange:function(t){n(t.target).closest(".feedback-dialog-form-body").find(".feedback-text").prop("disabled",!0).hide(),n(t.target).nextAll(".feedback-text").prop("disabled",!1).show().focus()},getFormData:function(){var a={};return n(document.body).trigger("gwp_backbone_modal_before_update",this._target),n.each(n("form",this.$el).serializeArray(),function(t,e){-1!==e.name.indexOf("[]")?(e.name=e.name.replace("[]",""),a[e.name]=n.makeArray(a[e.name]),a[e.name].push(e.value)):a[e.name]=e.value}),a},keyboardActions:function(t){var e=t.keyCode||t.which;13!==e||t.target.tagName&&("input"===t.target.tagName.toLowerCase()||"textarea"===t.target.tagName.toLowerCase())||this.addButton(t),27===e&&this.closeButton(t)}})}(jQuery,Backbone,_);
assets/js/wp-color-picker-alpha.min.js CHANGED
@@ -1 +1 @@
1
- !function(s){if(!s.wp.wpColorPicker.prototype._hasAlpha){var p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==",o='<div class="wp-picker-holder" />',a='<div class="wp-picker-container" />',e='<input type="button" class="button button-small" />',i=void 0!==wpColorPickerL10n.current;if(i)var n='<a tabindex="0" class="wp-color-result" />';else{n='<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>';var l="<label></label>",c='<span class="screen-reader-text"></span>'}Color.fn.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var t=parseInt(this._color,10).toString(16);return this.error?"":(t.length<6&&(t=("00000"+t).substr(-6)),"#"+t)},s.widget("wp.wpColorPicker",s.wp.wpColorPicker,{_hasAlpha:!0,_create:function(){if(s.support.iris){var r=this,t=r.element;if(s.extend(r.options,t.data()),"hue"===r.options.type)return r._createHueOnly();r.close=s.proxy(r.close,r),r.initialValue=t.val(),t.addClass("wp-color-picker"),r.button=i?(t.hide().wrap(a),r.wrap=t.parent(),r.toggler=s(n).insertBefore(t).css({backgroundColor:r.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),r.pickerContainer=s(o).insertAfter(t),s(e).addClass("hidden")):(t.parent("label").length||(t.wrap(l),r.wrappingLabelText=s(c).insertBefore(t).text(wpColorPickerL10n.defaultLabel)),r.wrappingLabel=t.parent(),r.wrappingLabel.wrap(a),r.wrap=r.wrappingLabel.parent(),r.toggler=s(n).insertBefore(r.wrappingLabel).css({backgroundColor:r.initialValue}),r.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),r.pickerContainer=s(o).insertAfter(r.wrappingLabel),s(e)),r.options.defaultColor?(r.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString),i||r.button.attr("aria-label",wpColorPickerL10n.defaultAriaLabel)):(r.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),i||r.button.attr("aria-label",wpColorPickerL10n.clearAriaLabel)),i?t.wrap('<span class="wp-picker-input-wrap" />').after(r.button):(r.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(r.button),r.inputWrapper=t.closest(".wp-picker-input-wrap")),t.iris({target:r.pickerContainer,hide:r.options.hide,width:r.options.width,mode:r.options.mode,palettes:r.options.palettes,change:function(t,o){r.options.alpha?(r.toggler.css({"background-image":"url("+p+")"}),i?r.toggler.html('<span class="color-alpha" />'):(r.toggler.css({position:"relative"}),0==r.toggler.find("span.color-alpha").length&&r.toggler.append('<span class="color-alpha" />')),r.toggler.find("span.color-alpha").css({width:"30px",height:"24px",position:"absolute",top:0,left:0,"border-top-left-radius":"2px","border-bottom-left-radius":"2px",background:o.color.toString()})):r.toggler.css({backgroundColor:o.color.toString()}),s.isFunction(r.options.change)&&r.options.change.call(this,t,o)}}),t.val(r.initialValue),r._addListeners(),r.options.hide||r.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(t){t.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.on("change",function(t){(""===s(this).val()||o.element.hasClass("iris-error"))&&(o.options.alpha?(i&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),s.isFunction(o.options.clear)&&o.options.clear.call(this,t))}),o.button.on("click",function(t){s(this).hasClass("wp-picker-clear")?(o.element.val(""),o.options.alpha?(i&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),s.isFunction(o.options.clear)&&o.options.clear.call(this,t)):s(this).hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})}}),s.widget("a8c.iris",s.a8c.iris,{_create:function(){if(this._super(),this.options.alpha=this.element.data("alpha")||!1,this.element.is(":input")||(this.options.alpha=!1),void 0!==this.options.alpha&&this.options.alpha){var r=this,t=r.element,o=s('<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>').appendTo(r.picker.find(".iris-picker-inner")),a=o.find(".iris-slider-offset-alpha"),e={aContainer:o,aSlider:a};void 0!==t.data("custom-width")?r.options.customWidth=parseInt(t.data("custom-width"))||0:r.options.customWidth=15,r.options.defaultWidth=t.width(),(r._color._alpha<1||-1!=r._color.toString().indexOf("rgb"))&&t.width(parseInt(r.options.defaultWidth+r.options.customWidth)),s.each(e,function(t,o){r.controls[t]=o}),r.controls.square.css({"margin-right":"0"});var i=r.picker.width()-r.controls.square.width()-20,n=i/6,l=i/2-n;s.each(["aContainer","strip"],function(t,o){r.controls[o].width(l).css({"margin-left":n+"px"})}),r._initControls(),r._change()}},_initControls:function(){if(this._super(),this.options.alpha){var r=this;r.controls.aSlider.slider({orientation:"vertical",min:0,max:100,step:1,value:parseInt(100*r._color._alpha),slide:function(t,o){r._color._alpha=parseFloat(o.value/100),r._change.apply(r,arguments)}})}},_change:function(){this._super();var t=this,o=t.element;if(this.options.alpha){var r=t.controls,a=parseInt(100*t._color._alpha),e=t._color.toRgb(),i=["rgb("+e.r+","+e.g+","+e.b+") 0%","rgba("+e.r+","+e.g+","+e.b+", 0) 100%"],n=t.options.defaultWidth,l=t.options.customWidth,s=t.picker.closest(".wp-picker-container").find(".wp-color-result");r.aContainer.css({background:"linear-gradient(to bottom, "+i.join(", ")+"), url("+p+")"}),s.hasClass("wp-picker-open")&&(r.aSlider.slider("value",a),t._color._alpha<1?(r.strip.attr("style",r.strip.attr("style").replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g,"rgb($1$3$5)")),o.width(parseInt(n+l))):o.width(n))}(o.data("reset-alpha")||!1)&&t.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){t._color._alpha=1,t.active="external",t._change()})},_addInputListeners:function(a){var e=this,t=function(t){var o=new Color(a.val()),r=a.val();a.removeClass("iris-error"),o.error?""!==r&&a.addClass("iris-error"):o.toString()!==e._color.toString()&&("keyup"===t.type&&r.match(/^[0-9a-fA-F]{3}#x2F;)||e._setOption("color",o.toString()))};a.on("change",t).on("keyup",e._debounce(t,100)),e.options.hide&&a.on("focus",function(){e.show()})}})}}(jQuery);
1
+ !function(s){if(!s.wp.wpColorPicker.prototype._hasAlpha){var p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==",o='<div class="wp-picker-holder" />',a='<div class="wp-picker-container" />',e='<input type="button" class="button button-small" />',i=void 0!==wpColorPickerL10n.current;if(i)var n='<a tabindex="0" class="wp-color-result" />';else{n='<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>';var l="<label></label>",c='<span class="screen-reader-text"></span>'}Color.fn.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var t=parseInt(this._color,10).toString(16);return this.error?"":(t.length<6&&(t=("00000"+t).substr(-6)),"#"+t)},s.widget("wp.wpColorPicker",s.wp.wpColorPicker,{_hasAlpha:!0,_create:function(){if(s.support.iris){var r=this,t=r.element;if(s.extend(r.options,t.data()),"hue"===r.options.type)return r._createHueOnly();r.close=s.proxy(r.close,r),r.initialValue=t.val(),t.addClass("wp-color-picker"),i?(t.hide().wrap(a),r.wrap=t.parent(),r.toggler=s(n).insertBefore(t).css({backgroundColor:r.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),r.pickerContainer=s(o).insertAfter(t),r.button=s(e).addClass("hidden")):(t.parent("label").length||(t.wrap(l),r.wrappingLabelText=s(c).insertBefore(t).text(wpColorPickerL10n.defaultLabel)),r.wrappingLabel=t.parent(),r.wrappingLabel.wrap(a),r.wrap=r.wrappingLabel.parent(),r.toggler=s(n).insertBefore(r.wrappingLabel).css({backgroundColor:r.initialValue}),r.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),r.pickerContainer=s(o).insertAfter(r.wrappingLabel),r.button=s(e)),r.options.defaultColor?(r.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString),i||r.button.attr("aria-label",wpColorPickerL10n.defaultAriaLabel)):(r.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),i||r.button.attr("aria-label",wpColorPickerL10n.clearAriaLabel)),i?t.wrap('<span class="wp-picker-input-wrap" />').after(r.button):(r.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(r.button),r.inputWrapper=t.closest(".wp-picker-input-wrap")),t.iris({target:r.pickerContainer,hide:r.options.hide,width:r.options.width,mode:r.options.mode,palettes:r.options.palettes,change:function(t,o){r.options.alpha?(r.toggler.css({"background-image":"url("+p+")"}),i?r.toggler.html('<span class="color-alpha" />'):(r.toggler.css({position:"relative"}),0==r.toggler.find("span.color-alpha").length&&r.toggler.append('<span class="color-alpha" />')),r.toggler.find("span.color-alpha").css({width:"30px",height:"24px",position:"absolute",top:0,left:0,"border-top-left-radius":"2px","border-bottom-left-radius":"2px",background:o.color.toString()})):r.toggler.css({backgroundColor:o.color.toString()}),s.isFunction(r.options.change)&&r.options.change.call(this,t,o)}}),t.val(r.initialValue),r._addListeners(),r.options.hide||r.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(t){t.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.on("change",function(t){""!==s(this).val()&&!o.element.hasClass("iris-error")||(o.options.alpha?(i&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),s.isFunction(o.options.clear)&&o.options.clear.call(this,t))}),o.button.on("click",function(t){s(this).hasClass("wp-picker-clear")?(o.element.val(""),o.options.alpha?(i&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),s.isFunction(o.options.clear)&&o.options.clear.call(this,t)):s(this).hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})}}),s.widget("a8c.iris",s.a8c.iris,{_create:function(){if(this._super(),this.options.alpha=this.element.data("alpha")||!1,this.element.is(":input")||(this.options.alpha=!1),void 0!==this.options.alpha&&this.options.alpha){var r=this,t=r.element,o=s('<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>').appendTo(r.picker.find(".iris-picker-inner")),a=o.find(".iris-slider-offset-alpha"),e={aContainer:o,aSlider:a};void 0!==t.data("custom-width")?r.options.customWidth=parseInt(t.data("custom-width"))||0:r.options.customWidth=15,r.options.defaultWidth=t.width(),(r._color._alpha<1||-1!=r._color.toString().indexOf("rgb"))&&t.width(parseInt(r.options.defaultWidth+r.options.customWidth)),s.each(e,function(t,o){r.controls[t]=o}),r.controls.square.css({"margin-right":"0"});var i=r.picker.width()-r.controls.square.width()-20,n=i/6,l=i/2-n;s.each(["aContainer","strip"],function(t,o){r.controls[o].width(l).css({"margin-left":n+"px"})}),r._initControls(),r._change()}},_initControls:function(){if(this._super(),this.options.alpha){var r=this;r.controls.aSlider.slider({orientation:"vertical",min:0,max:100,step:1,value:parseInt(100*r._color._alpha),slide:function(t,o){r._color._alpha=parseFloat(o.value/100),r._change.apply(r,arguments)}})}},_change:function(){this._super();var t=this,o=t.element;if(this.options.alpha){var r=t.controls,a=parseInt(100*t._color._alpha),e=t._color.toRgb(),i=["rgb("+e.r+","+e.g+","+e.b+") 0%","rgba("+e.r+","+e.g+","+e.b+", 0) 100%"],n=t.options.defaultWidth,l=t.options.customWidth,s=t.picker.closest(".wp-picker-container").find(".wp-color-result");r.aContainer.css({background:"linear-gradient(to bottom, "+i.join(", ")+"), url("+p+")"}),s.hasClass("wp-picker-open")&&(r.aSlider.slider("value",a),t._color._alpha<1?(r.strip.attr("style",r.strip.attr("style").replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g,"rgb($1$3$5)")),o.width(parseInt(n+l))):o.width(n))}!o.data("reset-alpha")&&1||t.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){t._color._alpha=1,t.active="external",t._change()})},_addInputListeners:function(a){function t(t){var o=new Color(a.val()),r=a.val();a.removeClass("iris-error"),o.error?""!==r&&a.addClass("iris-error"):o.toString()!==e._color.toString()&&("keyup"===t.type&&r.match(/^[0-9a-fA-F]{3}#x2F;)||e._setOption("color",o.toString()))}var e=this;a.on("change",t).on("keyup",e._debounce(t,100)),e.options.hide&&a.on("focus",function(){e.show()})}})}}(jQuery);
includes/functions.php CHANGED
@@ -838,7 +838,7 @@
838
$tooltip_html_attr .= ! empty( $tooltip ) ? ' tabindex="2"' : '';
839
}
840
841
- $data .= sprintf( '<li %1$s class="variable-item %2$s-variable-item %2$s-variable-item-%3$s %4$s" title="%5$s" data-value="%3$s">', $tooltip_html_attr, esc_attr( $type ), esc_attr( $term->slug ), esc_attr( $selected_class ), esc_html( $term->name ) );
842
843
switch ( $type ):
844
case 'color':
@@ -922,7 +922,7 @@
922
$type = 'button';
923
}
924
925
- $data .= sprintf( '<li %1$s class="variable-item %2$s-variable-item %2$s-variable-item-%3$s %4$s" title="%5$s" data-value="%3$s">', $tooltip_html_attr, esc_attr( $type ), esc_attr( $term->slug ), esc_attr( $selected_class ), esc_html( $term->name ) );
926
927
switch ( $type ):
928
@@ -973,7 +973,7 @@
973
$type = 'button';
974
}
975
976
- $data .= sprintf( '<li %1$s class="variable-item %2$s-variable-item %2$s-variable-item-%3$s %4$s" title="%5$s" data-value="%3$s">', $tooltip_html_attr, esc_attr( $type ), esc_attr( $option ), esc_attr( $selected_class ), esc_html( $option ) );
977
978
switch ( $type ):
979
@@ -1450,7 +1450,9 @@
1450
return $html;
1451
}
1452
1453
-
1454
1455
$attribute_id = wc_variation_attribute_name( $args[ 'attribute' ] );
1456
// $attribute_id = sanitize_title( $args[ 'attribute' ] );
838
$tooltip_html_attr .= ! empty( $tooltip ) ? ' tabindex="2"' : '';
839
}
840
841
+ $data .= sprintf( '<li %1$s class="variable-item %2$s-variable-item %2$s-variable-item-%3$s %4$s" title="%5$s" data-value="%3$s" role="button" tabindex="0">', $tooltip_html_attr, esc_attr( $type ), esc_attr( $term->slug ), esc_attr( $selected_class ), esc_html( $term->name ) );
842
843
switch ( $type ):
844
case 'color':
922
$type = 'button';
923
}
924
925
+ $data .= sprintf( '<li %1$s class="variable-item %2$s-variable-item %2$s-variable-item-%3$s %4$s" title="%5$s" data-value="%3$s" role="button" tabindex="0">', $tooltip_html_attr, esc_attr( $type ), esc_attr( $term->slug ), esc_attr( $selected_class ), esc_html( $term->name ) );
926
927
switch ( $type ):
928
973
$type = 'button';
974
}
975
976
+ $data .= sprintf( '<li %1$s class="variable-item %2$s-variable-item %2$s-variable-item-%3$s %4$s" title="%5$s" data-value="%3$s" role="button" tabindex="0">', $tooltip_html_attr, esc_attr( $type ), esc_attr( $option ), esc_attr( $selected_class ), esc_html( $option ) );
977
978
switch ( $type ):
979
1450
return $html;
1451
}
1452
1453
+ if ( is_ajax() && is_admin() ) {
1454
+ return $html;
1455
+ }
1456
1457
$attribute_id = wc_variation_attribute_name( $args[ 'attribute' ] );
1458
// $attribute_id = sanitize_title( $args[ 'attribute' ] );
languages/woo-variation-swatches.pot CHANGED
@@ -24,7 +24,7 @@ msgstr ""
24
msgid "WooCommerce Variation Swatches Settings"
25
msgstr ""
26
27
- #: ../includes/class-wvs-settings-api.php:92, ../includes/class-wvs-settings-api.php:105, ../includes/functions.php:1618
28
msgid "Swatches Settings"
29
msgstr ""
30
@@ -196,9 +196,6 @@ msgstr ""
196
msgid "<span style=\"color: red\">Attribute image size changed by <code>wvs_product_attribute_image_size</code> hook. So this option will not apply any effect.</span>"
197
msgstr ""
198
199
- #: ../includes/functions.php:319
200
- msgstr ""
201
-
202
#: ../includes/functions.php:326
203
msgid "Width"
204
msgstr ""
24
msgid "WooCommerce Variation Swatches Settings"
25
msgstr ""
26
27
+ #: ../includes/class-wvs-settings-api.php:92, ../includes/class-wvs-settings-api.php:105, ../includes/functions.php:1620
28
msgid "Swatches Settings"
29
msgstr ""
30
196
msgid "<span style=\"color: red\">Attribute image size changed by <code>wvs_product_attribute_image_size</code> hook. So this option will not apply any effect.</span>"
197
msgstr ""
198
199
#: ../includes/functions.php:326
200
msgid "Width"
201
msgstr ""
package.json CHANGED
@@ -1,7 +1,7 @@
1
{
2
"package": "Variation Swatches for WooCommerce",
3
"name": "woo-variation-swatches",
4
- "version": "1.0.71",
5
"author": "Emran Ahmed <emran.bd.08@gmail.com>",
6
"contact": "emran.bd.08@gmail.com",
7
"license": "GNU General Public License v3",
1
{
2
"package": "Variation Swatches for WooCommerce",
3
"name": "woo-variation-swatches",
4
+ "version": "1.0.72",
5
"author": "Emran Ahmed <emran.bd.08@gmail.com>",
6
"contact": "emran.bd.08@gmail.com",
7
"license": "GNU General Public License v3",
webpack.mix.js CHANGED
@@ -61,7 +61,7 @@ if (Mix.inProduction()) {
61
}
62
63
mix.banner({
64
- banner : "Variation Swatches for WooCommerce v1.0.71 \n\nAuthor: Emran Ahmed ( emran.bd.08@gmail.com ) \nDate: " + new Date().toLocaleString() + "\nReleased under the GPLv3 license."
65
});
66
67
mix.notification({
61
}
62
63
mix.banner({
64
+ banner : "Variation Swatches for WooCommerce v1.0.72 \n\nAuthor: Emran Ahmed ( emran.bd.08@gmail.com ) \nDate: " + new Date().toLocaleString() + "\nReleased under the GPLv3 license."
65
});
66
67
mix.notification({
woo-variation-swatches.php CHANGED
@@ -4,12 +4,12 @@
4
* Plugin URI: https://wordpress.org/plugins/woo-variation-swatches/
5
* Description: Beautiful colors, images and buttons variation swatches for woocommerce product attributes. Requires WooCommerce 3.2+
6
* Author: Emran Ahmed
7
- * Version: 1.0.71
8
* Domain Path: /languages
9
* Requires at least: 4.8
10
* Tested up to: 5.3
11
* WC requires at least: 3.2
12
- * WC tested up to: 3.8
13
* Text Domain: woo-variation-swatches
14
* Author URI: https://getwooplugins.com/
15
*/
@@ -20,7 +20,7 @@
20
21
final class Woo_Variation_Swatches {
22
23
- protected $_version = '1.0.71';
24
25
protected static $_instance = null;
26
private $_settings_api;
@@ -913,7 +913,7 @@
913
) ) );
914
915
916
- echo sprintf( '<div class="gwp-live-feed-contents notice notice-info"><div class="feed-message-wrapper">7000+ woocommerce stores increase their sales using <a target="_blank" class="thickbox open-plugin-details-modal" href="%s"><strong>Additional Variation Images Gallery</strong></a>. Why not yours? <a class="button-primary" href="%s" rel="noopener">%s</a></div><a class="gwp-live-feed-close-plain notice-dismiss" href="%s"></a></div>', $popup_url, $install_url, $button_text, $cancel_url );
917
918
}
919
}
4
* Plugin URI: https://wordpress.org/plugins/woo-variation-swatches/
5
* Description: Beautiful colors, images and buttons variation swatches for woocommerce product attributes. Requires WooCommerce 3.2+
6
* Author: Emran Ahmed
7
+ * Version: 1.0.72
8
* Domain Path: /languages
9
* Requires at least: 4.8
10
* Tested up to: 5.3
11
* WC requires at least: 3.2
12
+ * WC tested up to: 3.9
13
* Text Domain: woo-variation-swatches
14
* Author URI: https://getwooplugins.com/
15
*/
20
21
final class Woo_Variation_Swatches {
22
23
+ protected $_version = '1.0.72';
24
25
protected static $_instance = null;
26
private $_settings_api;
913
) ) );
914
915
916
+ echo sprintf( '<div class="gwp-live-feed-contents notice notice-info"><div class="feed-message-wrapper">8000+ woocommerce stores increase their sales using <a target="_blank" class="thickbox open-plugin-details-modal" href="%s"><strong>Additional Variation Images Gallery</strong></a>. Why not yours? <a class="button-primary" href="%s" rel="noopener">%s</a></div><a class="gwp-live-feed-close-plain notice-dismiss" href="%s"></a></div>', $popup_url, $install_url, $button_text, $cancel_url );
917
918
}
919
}