WooCommerce Variation Swatches - Version 1.1.1

Version Description

  • Update: WooCommerce 4.7 compatibility
Download this release

Release Info

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

Code changes from version 1.1.0 to 1.1.1

README.txt CHANGED
@@ -6,7 +6,7 @@ Tested up to: 5.5
6
  Requires PHP: 5.6
7
  Stable tag: trunk
8
  WC requires at least: 3.2
9
- WC tested up to: 4.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
@@ -390,6 +390,10 @@ And your are ready to go.
390
 
391
  == Changelog ==
392
 
 
 
 
 
393
  = 1.1.0 =
394
 
395
  * Add: Selected attribute name beside label
6
  Requires PHP: 5.6
7
  Stable tag: trunk
8
  WC requires at least: 3.2
9
+ WC tested up to: 4.7
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
390
 
391
  == Changelog ==
392
 
393
+ = 1.1.1 =
394
+
395
+ * Update: WooCommerce 4.7 compatibility
396
+
397
  = 1.1.0 =
398
 
399
  * Add: Selected attribute name beside label
assets/css/admin.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:21 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .button.button-danger {
@@ -129,10 +129,8 @@
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;
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:49 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: flex;
133
+ align-items: center;
 
134
  padding: 50px 30px;
135
  margin: 0;
136
  border-bottom: 1px solid #DDDDDD;
assets/css/admin.min.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:27 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 [data-new-text],#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-pro-text]{position:relative}#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-new-text]:after,#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-new-text]:before,#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-pro-text]:after,#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-pro-text]:before{-webkit-transform:translateY(-50%);transform:translateY(-50%);position:absolute;right:5px;top:0;color:#fff;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-pro-text]:before{content:attr(data-pro-text);background:#f44336}#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-new-text]:after{content:attr(data-new-text);background:#2196f3}#woo-variation-swatches-settings-wrap .wvs-setting-tab .wvs-new-feature-tick{position:relative;right:-5px;top:-2px;color:#fff;background:#ff5722;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}#woo-variation-swatches-settings-wrap .wvs-setting-tab .description{font-size:small;font-style:italic}.woo-variation-swatches-pro_tab.pro-inactive a{background-color:#ff9800;color:#fff}.wvs-settings-field-content{position:relative}.wvs-show-pro-label{display:block}.wvs-show-pro-label span{padding:2px 4px;background:#fa0000;color:#fff;text-transform:uppercase;font-size:9px;border-radius:2px}.wvs-show-pro-contents{display:inline-block;color:#fa0000;font-size:11px;text-transform:uppercase;font-style:italic;text-decoration:underline;padding:0 5px}.wvs-button-wrapper .reset{color:#a00}
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:54 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 [data-new-text],#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-pro-text]{position:relative}#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-new-text]:after,#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-new-text]:before,#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-pro-text]:after,#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-pro-text]:before{-webkit-transform:translateY(-50%);transform:translateY(-50%);position:absolute;right:5px;top:0;color:#fff;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-pro-text]:before{content:attr(data-pro-text);background:#f44336}#woo-variation-swatches-settings-wrap .nav-tab-wrapper [data-new-text]:after{content:attr(data-new-text);background:#2196f3}#woo-variation-swatches-settings-wrap .wvs-setting-tab .wvs-new-feature-tick{position:relative;right:-5px;top:-2px;color:#fff;background:#ff5722;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}#woo-variation-swatches-settings-wrap .wvs-setting-tab .description{font-size:small;font-style:italic}.woo-variation-swatches-pro_tab.pro-inactive a{background-color:#ff9800;color:#fff}.wvs-settings-field-content{position:relative}.wvs-show-pro-label{display:block}.wvs-show-pro-label span{padding:2px 4px;background:#fa0000;color:#fff;text-transform:uppercase;font-size:9px;border-radius:2px}.wvs-show-pro-contents{display:inline-block;color:#fa0000;font-size:11px;text-transform:uppercase;font-style:italic;text-decoration:underline;padding:0 5px}.wvs-button-wrapper .reset{color:#a00}
assets/css/frontend-tooltip.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:21 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .woo-variation-swatches .radio-variable-item[data-wvstooltip] {
@@ -65,7 +65,6 @@
65
  -webkit-transform: translateZ(0);
66
  transform: translateZ(0);
67
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
68
- -webkit-transition: opacity 300ms linear, bottom 300ms linear;
69
  transition: opacity 300ms linear, bottom 300ms linear;
70
  }
71
 
@@ -76,9 +75,9 @@
76
  transform: translateX(-50%);
77
  padding: 7px;
78
  border-radius: 3px;
79
- background-color: #000000;
80
  background-color: rgba(51, 51, 51, 0.9);
81
- color: #FFFFFF;
82
  text-align: center;
83
  font-size: 14px;
84
  line-height: 1.2;
@@ -90,13 +89,22 @@
90
  }
91
 
92
  .variable-items-wrapper .wvs-has-image-tooltip:before {
93
- content: " ";
94
  background-image: var(--tooltip-background);
 
95
  width: var(--tooltip-width);
96
- height: var(--tooltip-height);
97
- background-size: cover;
98
  border: 2px solid;
99
- background-position: center center;
 
 
 
 
 
 
 
 
100
  }
101
 
102
  .variable-items-wrapper [data-wvstooltip]:after,
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:49 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .woo-variation-swatches .radio-variable-item[data-wvstooltip] {
65
  -webkit-transform: translateZ(0);
66
  transform: translateZ(0);
67
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
 
68
  transition: opacity 300ms linear, bottom 300ms linear;
69
  }
70
 
75
  transform: translateX(-50%);
76
  padding: 7px;
77
  border-radius: 3px;
78
+ background-color: #000;
79
  background-color: rgba(51, 51, 51, 0.9);
80
+ color: #fff;
81
  text-align: center;
82
  font-size: 14px;
83
  line-height: 1.2;
89
  }
90
 
91
  .variable-items-wrapper .wvs-has-image-tooltip:before {
92
+ content: attr(data-title);
93
  background-image: var(--tooltip-background);
94
+ background-repeat: no-repeat;
95
  width: var(--tooltip-width);
96
+ height: calc( var(--tooltip-height) + 20px);
97
+ background-size: contain;
98
  border: 2px solid;
99
+ background-position: center top;
100
+ padding: 0;
101
+ line-height: 20px;
102
+ display: flex;
103
+ align-items: flex-end;
104
+ justify-content: center;
105
+ font-size: 12px;
106
+ -webkit-backface-visibility: hidden;
107
+ backface-visibility: hidden;
108
  }
109
 
110
  .variable-items-wrapper [data-wvstooltip]:after,
assets/css/frontend-tooltip.min.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:27 PM
6
  * Released under the GPLv3 license.
7
  */
8
- .woo-variation-swatches .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches.wvs-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.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.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}
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:54 PM
6
  * Released under the GPLv3 license.
7
  */
8
+ .woo-variation-swatches .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches.wvs-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.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.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:attr(data-title);background-image:var(--tooltip-background);background-repeat:no-repeat;width:var(--tooltip-width);height:calc(var(--tooltip-height) + 20px);background-size:contain;border:2px solid;background-position:top;padding:0;line-height:20px;display:flex;align-items:flex-end;justify-content:center;font-size:12px;-webkit-backface-visibility:hidden;backface-visibility:hidden}.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.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:21 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .woo-variation-swatches .woo-variation-raw-select,
@@ -11,10 +11,9 @@
11
  }
12
 
13
  .woo-variation-swatches .variable-items-wrapper {
14
- display: -webkit-box;
15
  display: flex;
16
  flex-wrap: wrap;
17
- margin: 0;
18
  padding: 0;
19
  list-style: none;
20
  }
@@ -23,7 +22,6 @@
23
  margin: 0;
24
  padding: 0;
25
  list-style: none;
26
- -webkit-transition: all 200ms ease;
27
  transition: all 200ms ease;
28
  -webkit-user-select: none;
29
  -moz-user-select: none;
@@ -82,12 +80,9 @@
82
  .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
83
  box-sizing: border-box;
84
  cursor: pointer;
85
- display: -webkit-box;
86
  display: flex;
87
- -webkit-box-pack: center;
88
- justify-content: center;
89
- -webkit-box-align: center;
90
- align-items: center;
91
  background-color: #FFFFFF;
92
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
93
  padding: 2px;
@@ -301,4 +296,14 @@
301
 
302
  .woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item) {
303
  float: left;
 
 
 
 
 
 
 
 
 
 
304
  }
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:49 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .woo-variation-swatches .woo-variation-raw-select,
11
  }
12
 
13
  .woo-variation-swatches .variable-items-wrapper {
 
14
  display: flex;
15
  flex-wrap: wrap;
16
+ margin: 0 !important;
17
  padding: 0;
18
  list-style: none;
19
  }
22
  margin: 0;
23
  padding: 0;
24
  list-style: none;
 
25
  transition: all 200ms ease;
26
  -webkit-user-select: none;
27
  -moz-user-select: none;
80
  .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
81
  box-sizing: border-box;
82
  cursor: pointer;
 
83
  display: flex;
84
+ justify-content: center;
85
+ align-items: center;
 
 
86
  background-color: #FFFFFF;
87
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
88
  padding: 2px;
296
 
297
  .woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item) {
298
  float: left;
299
+ }
300
+
301
+ .woo-variation-swatches.wvs-show-label .variations td {
302
+ display: block;
303
+ width: auto !important;
304
+ }
305
+
306
+ .woo-variation-swatches.wvs-show-label .variations td label,
307
+ .woo-variation-swatches.wvs-show-label .variations td .woo-selected-variation-item-name {
308
+ display: inline-block;
309
  }
assets/css/frontend.min.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:27 PM
6
  * Released under the GPLv3 license.
7
  */
8
- .woo-variation-swatches .woo-variation-raw-select,.woo-variation-swatches .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches .variable-items-wrapper{display:-webkit-box;display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.woo-variation-swatches .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;-webkit-transition:all .2s ease;transition:all .2s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.woo-variation-swatches .variable-items-wrapper .variable-item.variation-disabled{display:none!important}.woo-variation-swatches .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%;pointer-events:none}.woo-variation-swatches .variable-items-wrapper .variable-item span{pointer-events:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches .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 .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches .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 .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus{box-shadow:0 0 0 3px rgba(0,0,0,.3)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches .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 .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 .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 .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover{box-shadow:0 0 0 1px rgba(0,0,0,.05);pointer-events:none;cursor:not-allowed;position:relative;overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches.wvs-attr-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.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches.wvs-attr-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.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches.wvs-attr-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.wvs-attr-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:54 PM
6
  * Released under the GPLv3 license.
7
  */
8
+ .woo-variation-swatches .woo-variation-raw-select,.woo-variation-swatches .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches .variable-items-wrapper{display:flex;flex-wrap:wrap;margin:0!important;padding:0;list-style:none}.woo-variation-swatches .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;transition:all .2s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.woo-variation-swatches .variable-items-wrapper .variable-item.variation-disabled{display:none!important}.woo-variation-swatches .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%;pointer-events:none}.woo-variation-swatches .variable-items-wrapper .variable-item span{pointer-events:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches .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 .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches .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 .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus{box-shadow:0 0 0 3px rgba(0,0,0,.3)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches .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 .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 .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 .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches.wvs-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches.wvs-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover{box-shadow:0 0 0 1px rgba(0,0,0,.05);pointer-events:none;cursor:not-allowed;position:relative;overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches.wvs-attr-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.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches.wvs-attr-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches.wvs-attr-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.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches.wvs-attr-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches.wvs-attr-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.wvs-attr-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}.woo-variation-swatches.wvs-show-label .variations td{display:block;width:auto!important}.woo-variation-swatches.wvs-show-label .variations td .woo-selected-variation-item-name,.woo-variation-swatches.wvs-show-label .variations td label{display:inline-block}
assets/css/gwp-admin-notice.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:21 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .gwp-live-feed-contents {
@@ -55,10 +55,8 @@
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,10 +72,8 @@
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,10 +89,8 @@
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,12 +103,9 @@
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,10 +153,8 @@
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,12 +163,9 @@
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,7 +290,6 @@
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,7 +301,6 @@
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;
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:49 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: flex;
59
+ align-items: stretch;
 
60
  padding: 0;
61
  border-radius: 4px;
62
  }
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
  .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
  }
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
  .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
  }
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
  }
291
 
292
  .gwp-live-feed-contents .gwp-live-feed-close {
 
293
  display: flex;
294
  right: 0;
295
  text-decoration: none;
301
  }
302
 
303
  .gwp-live-feed-contents .gwp-live-feed-close-plain {
 
304
  display: flex;
305
  right: 0;
306
  text-decoration: none;
assets/css/gwp-admin-notice.min.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:27 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}.wp-admin.rtl .gwp-live-feed-contents .gwp-live-feed-close-plain{left:0;right:auto}
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:54 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}.wp-admin.rtl .gwp-live-feed-contents .gwp-live-feed-close-plain{left:0;right:auto}
assets/css/gwp-admin.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:21 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /**
@@ -184,7 +184,6 @@
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,14 +314,10 @@
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,8 +332,7 @@
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;
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:49 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /**
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
  }
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
  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;
assets/css/gwp-admin.min.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:27 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}
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:54 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}
assets/css/wvs-customize-heading-control.css DELETED
@@ -1,27 +0,0 @@
1
- /*!
2
- * WooCommerce Variation Swatches v1.0.53
3
- *
4
- * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 2019-1-28 16:55:25
6
- * Released under the GPLv3 license.
7
- */
8
- .accordion-section-content li:nth-child(2).customize-control-wvs-heading .wvs-customize-heading-control-title {
9
- margin-top: -15px;
10
- margin-bottom: 0;
11
- }
12
-
13
- .wvs-customize-heading-control-title {
14
- background-color: #191E23;
15
- padding: 10px 15px;
16
- color: #FFFFFF;
17
- margin: 5px -15px;
18
- font-size: 1rem;
19
- font-weight: 200;
20
- display: block;
21
- overflow: hidden;
22
- white-space: nowrap;
23
- text-overflow: ellipsis;
24
- }
25
-
26
-
27
- /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzZXRzL2Nzcy93dnMtY3VzdG9taXplLWhlYWRpbmctY29udHJvbC5jc3MiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvc2Nzcy9zcmMvc2Nzcy9jdXN0b21pemUtaGVhZGluZy1jb250cm9sLnNjc3MiLCJ3ZWJwYWNrOi8vLy4vY3VzdG9taXplLWhlYWRpbmctY29udHJvbC5zY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIlxuLmFjY29yZGlvbi1zZWN0aW9uLWNvbnRlbnQgbGk6bnRoLWNoaWxkKDIpLmN1c3RvbWl6ZS1jb250cm9sLXd2cy1oZWFkaW5nIHtcbiAgLnd2cy1jdXN0b21pemUtaGVhZGluZy1jb250cm9sLXRpdGxlIHtcbiAgICBtYXJnaW4tdG9wICAgIDogLTE1cHg7XG4gICAgbWFyZ2luLWJvdHRvbSA6IDA7XG4gICAgfVxuICB9XG5cbi53dnMtY3VzdG9taXplLWhlYWRpbmctY29udHJvbC10aXRsZSB7XG4gIGJhY2tncm91bmQtY29sb3IgOiAjMTkxRTIzO1xuICBwYWRkaW5nICAgICAgICAgIDogMTBweCAxNXB4O1xuICBjb2xvciAgICAgICAgICAgIDogI0ZGRkZGRjtcbiAgbWFyZ2luICAgICAgICAgICA6IDVweCAtMTVweDtcbiAgZm9udC1zaXplICAgICAgICA6IDFyZW07XG4gIGZvbnQtd2VpZ2h0ICAgICAgOiAyMDA7XG4gIGRpc3BsYXkgICAgICAgICAgOiBibG9jaztcbiAgb3ZlcmZsb3cgICAgICAgICA6IGhpZGRlbjtcbiAgd2hpdGUtc3BhY2UgICAgICA6IG5vd3JhcDtcbiAgdGV4dC1vdmVyZmxvdyAgICA6IGVsbGlwc2lzO1xuICB9XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvc2Nzcy9zcmMvc2Nzcy9jdXN0b21pemUtaGVhZGluZy1jb250cm9sLnNjc3MiLCIuYWNjb3JkaW9uLXNlY3Rpb24tY29udGVudCBsaTpudGgtY2hpbGQoMikuY3VzdG9taXplLWNvbnRyb2wtd3ZzLWhlYWRpbmcgLnd2cy1jdXN0b21pemUtaGVhZGluZy1jb250cm9sLXRpdGxlIHtcbiAgbWFyZ2luLXRvcDogLTE1cHg7XG4gIG1hcmdpbi1ib3R0b206IDA7XG59XG5cbi53dnMtY3VzdG9taXplLWhlYWRpbmctY29udHJvbC10aXRsZSB7XG4gIGJhY2tncm91bmQtY29sb3I6ICMxOTFFMjM7XG4gIHBhZGRpbmc6IDEwcHggMTVweDtcbiAgY29sb3I6ICNGRkZGRkY7XG4gIG1hcmdpbjogNXB4IC0xNXB4O1xuICBmb250LXNpemU6IDFyZW07XG4gIGZvbnQtd2VpZ2h0OiAyMDA7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbn1cblxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vY3VzdG9taXplLWhlYWRpbmctY29udHJvbC5zY3NzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBRUE7QUFDQTtBQUNBO0FDREE7QUFDQTtBRElBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUNGQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/wvs-customize-heading-control.min.css DELETED
@@ -1,8 +0,0 @@
1
- /*!
2
- * WooCommerce Variation Swatches v1.0.53
3
- *
4
- * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 2019-1-28 16:55:31
6
- * Released under the GPLv3 license.
7
- */
8
- .accordion-section-content li:nth-child(2).customize-control-wvs-heading .wvs-customize-heading-control-title{margin-top:-15px;margin-bottom:0}.wvs-customize-heading-control-title{background-color:#191e23;padding:10px 15px;color:#fff;margin:5px -15px;font-size:1rem;font-weight:200;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 
 
 
 
 
 
 
 
assets/css/wvs-theme-override.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:21 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .wvs-theme-sober .product form.cart .variations .variable,
@@ -34,8 +34,7 @@
34
 
35
  .wvs-theme-sober .product form.cart .variations .value,
36
  .wvs-theme-child-sober .product form.cart .variations .value {
37
- -webkit-box-flex: unset;
38
- flex-grow: unset;
39
  }
40
 
41
  .wvs-theme-sober .product form.cart .variations select,
@@ -95,6 +94,11 @@
95
  left: 0;
96
  }
97
 
 
 
 
 
 
98
  .wvs-theme-stockholm .variations .reset_variations {
99
  position: relative;
100
  bottom: 0;
@@ -160,7 +164,6 @@
160
 
161
  .wvs-theme-savoy .nm-variation-row,
162
  .wvs-theme-child-savoy .nm-variation-row {
163
- display: -webkit-box;
164
  display: flex;
165
  }
166
 
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:49 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .wvs-theme-sober .product form.cart .variations .variable,
34
 
35
  .wvs-theme-sober .product form.cart .variations .value,
36
  .wvs-theme-child-sober .product form.cart .variations .value {
37
+ flex-grow: unset;
 
38
  }
39
 
40
  .wvs-theme-sober .product form.cart .variations select,
94
  left: 0;
95
  }
96
 
97
+ .wvs-theme-storefront.single-product div.product,
98
+ .wvs-theme-child-storefront.single-product div.product {
99
+ overflow: visible !important;
100
+ }
101
+
102
  .wvs-theme-stockholm .variations .reset_variations {
103
  position: relative;
104
  bottom: 0;
164
 
165
  .wvs-theme-savoy .nm-variation-row,
166
  .wvs-theme-child-savoy .nm-variation-row {
 
167
  display: flex;
168
  }
169
 
assets/css/wvs-theme-override.min.css CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:27 PM
6
  * Released under the GPLv3 license.
7
  */
8
- .wvs-theme-child-sober .product form.cart .variations .variable,.wvs-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.wvs-theme-child-sober .product form.cart .variations .variable-options,.wvs-theme-sober .product form.cart .variations .variable-options{border:0!important}.wvs-theme-child-sober .product form.cart .variations .arrow,.wvs-theme-child-sober .product form.cart .variations .variable-options:after,.wvs-theme-sober .product form.cart .variations .arrow,.wvs-theme-sober .product form.cart .variations .variable-options:after{display:none}.wvs-theme-child-sober .product form.cart .variations .label,.wvs-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.wvs-theme-child-sober .product form.cart .variations .value,.wvs-theme-sober .product form.cart .variations .value{-webkit-box-flex:unset;flex-grow:unset}.wvs-theme-child-sober .product form.cart .variations select,.wvs-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}.wvs-theme-child-sober .product form.cart .radio-variable-item,.wvs-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.wvs-theme-child-sober .product form.cart .radio-variable-item:last-child,.wvs-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.wvs-theme-child-sober .product form.cart .radio-variable-item label,.wvs-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.wvs-theme-child-sober .product form.cart .radio-variable-item label:before,.wvs-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.wvs-theme-child-sober .product form.cart .radio-variable-item label:after,.wvs-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.wvs-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.wvs-theme-shophistic-lite .ql_custom_variations{display:none!important}.wvs-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.wvs-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.wvs-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.wvs-theme-kalium-child .image-variable-item img,.wvs-theme-kalium .image-variable-item img{width:100%!important}.wvs-theme-kalium-child .radio-variable-item input,.wvs-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.wvs-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.wvs-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.wvs-theme-aurum .variable-items-wrapper .image-variable-item>img,.wvs-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.wvs-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.wvs-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.wvs-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.wvs-theme-child-thegem .wvs-archive-variation-wrapper .variations,.wvs-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.wvs-theme-child-ushop .variations_form,.wvs-theme-ushop .variations_form{overflow:visible!important}.wvs-theme-child-ushop .single-product-summary .product_meta,.wvs-theme-ushop .single-product-summary .product_meta{display:inline-table}.wvs-theme-child-savoy .woo-variation-items-wrapper,.wvs-theme-savoy .woo-variation-items-wrapper{position:relative!important}.wvs-theme-child-savoy .woo-variation-items-wrapper .sod_select,.wvs-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.wvs-theme-child-savoy .nm-variation-row,.wvs-theme-savoy .nm-variation-row{display:-webkit-box;display:flex}.wvs-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.wvs-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.wvs-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.wvs-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.wvs-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}.wvs-theme-child-claue .woo-variation-items-wrapper,.wvs-theme-claue .woo-variation-items-wrapper{border:none}.wvs-theme-child-claue .woo-variation-items-wrapper:after,.wvs-theme-claue .woo-variation-items-wrapper:after{display:none}.wvs-theme-child-jupiter table.variations,.wvs-theme-jupiter table.variations{overflow:initial}.wvs-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.wvs-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.wvs-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.wvs-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.wvs-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.wvs-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.wvs-theme-child-twentytwenty table.variations,.wvs-theme-twentytwenty table.variations{overflow:auto}.woo-variation-swatches-theme-child-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,.woo-variation-swatches-theme-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,.wvs-theme-child-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after{display:none!important}.woo-variation-swatches-theme-child-jevelin .sh-woo-layout table.variations,.woo-variation-swatches-theme-jevelin .sh-woo-layout table.variations{max-width:100%}.woo-variation-swatches-theme-child-jevelin .radio-variable-item label,.woo-variation-swatches-theme-jevelin .radio-variable-item label{line-height:1!important}.woo-variation-swatches-theme-child-stockie .woo-variation-raw-select+.select-styled,.woo-variation-swatches-theme-child .woo-variation-raw-select+.select-styled{display:none!important}
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:54 PM
6
  * Released under the GPLv3 license.
7
  */
8
+ .wvs-theme-child-sober .product form.cart .variations .variable,.wvs-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.wvs-theme-child-sober .product form.cart .variations .variable-options,.wvs-theme-sober .product form.cart .variations .variable-options{border:0!important}.wvs-theme-child-sober .product form.cart .variations .arrow,.wvs-theme-child-sober .product form.cart .variations .variable-options:after,.wvs-theme-sober .product form.cart .variations .arrow,.wvs-theme-sober .product form.cart .variations .variable-options:after{display:none}.wvs-theme-child-sober .product form.cart .variations .label,.wvs-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.wvs-theme-child-sober .product form.cart .variations .value,.wvs-theme-sober .product form.cart .variations .value{flex-grow:unset}.wvs-theme-child-sober .product form.cart .variations select,.wvs-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}.wvs-theme-child-sober .product form.cart .radio-variable-item,.wvs-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.wvs-theme-child-sober .product form.cart .radio-variable-item:last-child,.wvs-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.wvs-theme-child-sober .product form.cart .radio-variable-item label,.wvs-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.wvs-theme-child-sober .product form.cart .radio-variable-item label:before,.wvs-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.wvs-theme-child-sober .product form.cart .radio-variable-item label:after,.wvs-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.wvs-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.wvs-theme-shophistic-lite .ql_custom_variations{display:none!important}.wvs-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.wvs-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.wvs-theme-child-storefront.single-product div.product,.wvs-theme-storefront.single-product div.product{overflow:visible!important}.wvs-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.wvs-theme-kalium-child .image-variable-item img,.wvs-theme-kalium .image-variable-item img{width:100%!important}.wvs-theme-kalium-child .radio-variable-item input,.wvs-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.wvs-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.wvs-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.wvs-theme-aurum .variable-items-wrapper .image-variable-item>img,.wvs-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.wvs-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.wvs-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.wvs-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.wvs-theme-child-thegem .wvs-archive-variation-wrapper .variations,.wvs-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.wvs-theme-child-ushop .variations_form,.wvs-theme-ushop .variations_form{overflow:visible!important}.wvs-theme-child-ushop .single-product-summary .product_meta,.wvs-theme-ushop .single-product-summary .product_meta{display:inline-table}.wvs-theme-child-savoy .woo-variation-items-wrapper,.wvs-theme-savoy .woo-variation-items-wrapper{position:relative!important}.wvs-theme-child-savoy .woo-variation-items-wrapper .sod_select,.wvs-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.wvs-theme-child-savoy .nm-variation-row,.wvs-theme-savoy .nm-variation-row{display:flex}.wvs-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.wvs-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.wvs-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.wvs-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.wvs-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}.wvs-theme-child-claue .woo-variation-items-wrapper,.wvs-theme-claue .woo-variation-items-wrapper{border:none}.wvs-theme-child-claue .woo-variation-items-wrapper:after,.wvs-theme-claue .woo-variation-items-wrapper:after{display:none}.wvs-theme-child-jupiter table.variations,.wvs-theme-jupiter table.variations{overflow:initial}.wvs-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.wvs-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.wvs-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.wvs-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.wvs-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.wvs-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.wvs-theme-child-twentytwenty table.variations,.wvs-theme-twentytwenty table.variations{overflow:auto}.woo-variation-swatches-theme-child-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,.woo-variation-swatches-theme-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,.wvs-theme-child-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after{display:none!important}.woo-variation-swatches-theme-child-jevelin .sh-woo-layout table.variations,.woo-variation-swatches-theme-jevelin .sh-woo-layout table.variations{max-width:100%}.woo-variation-swatches-theme-child-jevelin .radio-variable-item label,.woo-variation-swatches-theme-jevelin .radio-variable-item label{line-height:1!important}.woo-variation-swatches-theme-child-stockie .woo-variation-raw-select+.select-styled,.woo-variation-swatches-theme-child .woo-variation-raw-select+.select-styled{display:none!important}
assets/js/admin.js CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:21 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:49 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")}},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*$/,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+$/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*$/;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)$/;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("|")+")$"),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(/([$])/,"\\$")};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)+"$"),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)&&"$"!==t.charAt(t.length-1)&&(this[t+"$"]=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]*$/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){var e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("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 r(i,o,s){function a(n,t){if(!o[n]){if(!i[n]){var e="function"==typeof _dereq_&&_dereq_;if(!t&&e)return e(n,!0);if(c)return c(n,!0);e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}e=o[n]={exports:{}};i[n][0].call(e.exports,function(t){var e=i[n][1][t];return a(e||t)},e,e.exports,r,i,o,s)}return o[n].exports}for(var c="function"==typeof _dereq_&&_dereq_,t=0;t<s.length;t++)a(s[t]);return a}({1:[function(t,e,n){"use strict";e.exports=function(t){var n=t._SomePromiseArray;function e(t){var e=new n(t),t=e.promise();return e.setHowMany(1),e.setUnwrap(),e.init(),t}t.any=e,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();)!function(t){var e=t.shift();{var n;"function"!=typeof e?e._settlePromises():(n=t.shift(),t=t.shift(),e.call(n,t))}}(t)}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(i,o,s,a){function n(t,e){this._reject(e)}function c(t,e){e.promiseRejectionQueued=!0,e.bindingPromise._then(n,n,null,this,t)}function l(t,e){0==(50397184&this._bitField)&&this._resolveCallback(e.target)}function u(t,e){e.promiseRejectionQueued||this._reject(t)}var p=!1;i.prototype.bind=function(t){p||(p=!0,i.prototype._propagateFrom=a.propagateFromFunction(),i.prototype._boundValue=a.boundValueFunction());var e=s(t),n=new i(o);n._propagateFrom(this,1);var r=this._target();return n._setBoundTo(e),e instanceof i?(t={promiseRejectionQueued:!1,promise:n,target:r,bindingPromise:e},r._then(o,c,void 0,n,t),e._then(l,u,void 0,n,t),n._setOnCancel(e)):n._resolveCallback(r),n},i.prototype._setBoundTo=function(t){void 0!==t?(this._bitField=2097152|this._bitField,this._boundTo=t):this._bitField=-2097153&this._bitField},i.prototype._isBound=function(){return 2097152==(2097152&this._bitField)},i.bind=function(t,e){return i.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,i=Object.create;i&&(r=i(null),i=i(null),r[" size"]=i[" size"]=0),e.exports=function(r){var n,i=t("./util"),o=i.canEvaluate;i.isIdentifier;function e(t,e){var n;if(null!=t&&(n=t[e]),"function"==typeof n)return n;e="Object "+i.classString(t)+" has no method '"+i.toString(e)+"'";throw new r.TypeError(e)}function s(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]}r.prototype.call=function(t){var e=[].slice.call(arguments,1);return e.push(t),this._then(s,void 0,void 0,e,void 0)},r.prototype.get=function(t){var e;return e="number"==typeof t?c:o&&null!==(e=n(t))?e:a,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){var n;if(i.isArray(t))for(var r=0;r<t.length;++r)this._doInvokeOnCancel(t[r],e);else void 0!==t&&("function"==typeof t?e||(n=o(t).call(this._boundValue()))===s&&(this._attachExtraTrace(n.e),a.throwLater(n.e)):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(J,t,e){"use strict";t.exports=function(i,r){var n,o,s,a=i._getDomain,c=i._async,l=J("./errors").Warning,u=J("./util"),p=J("./es5"),h=u.canAttachTrace,f=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,_=/\((?:timers\.js):\d+:\d+\)/,d=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,v=null,y=null,m=!1,t=!(0==u.env("BLUEBIRD_DEBUG")),e=!(0==u.env("BLUEBIRD_WARNINGS")||!t&&!u.env("BLUEBIRD_WARNINGS")),t=!(0==u.env("BLUEBIRD_LONG_STACK_TRACES")||!t&&!u.env("BLUEBIRD_LONG_STACK_TRACES")),g=0!=u.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(e||!!u.env("BLUEBIRD_W_FORGOTTEN_RETURN"));i.prototype.suppressUnhandledRejections=function(){var t=this._target();t._bitField=-1048577&t._bitField|524288},i.prototype._ensurePossibleRejectionHandled=function(){var t;0==(524288&this._bitField)&&(this._setRejectionIsUnhandled(),t=this,setTimeout(function(){t._notifyUnhandledRejection()},1))},i.prototype._notifyUnhandledRejectionIsHandled=function(){M("rejectionHandled",n,void 0,this)},i.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},i.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)},i.prototype._notifyUnhandledRejection=function(){var t;this._isRejectionUnhandled()&&(t=this._settledValue(),this._setUnhandledRejectionIsNotified(),M("unhandledRejection",o,t,this))},i.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},i.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},i.prototype._isUnhandledRejectionNotified=function(){return 0<(262144&this._bitField)},i.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},i.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},i.prototype._isRejectionUnhandled=function(){return 0<(1048576&this._bitField)},i.prototype._warn=function(t,e,n){return H(t,e,n||this)},i.onPossiblyUnhandledRejection=function(t){var e=a();o="function"==typeof t?null===e?t:u.domainBind(e,t):void 0},i.onUnhandledRejectionHandled=function(t){var e=a();n="function"==typeof t?null===e?t:u.domainBind(e,t):void 0};var b=function(){};i.longStackTraces=function(){if(c.haveItemsQueued()&&!K.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");var t,e,n;!K.longStackTraces&&$()&&(t=i.prototype._captureStackTrace,e=i.prototype._attachExtraTrace,n=i.prototype._dereferenceTrace,K.longStackTraces=!0,b=function(){if(c.haveItemsQueued()&&!K.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");i.prototype._captureStackTrace=t,i.prototype._attachExtraTrace=e,i.prototype._dereferenceTrace=n,r.deactivateLongStackTraces(),c.enableTrampoline(),K.longStackTraces=!1},i.prototype._captureStackTrace=V,i.prototype._attachExtraTrace=I,i.prototype._dereferenceTrace=L,r.activateLongStackTraces(),c.disableTrampolineIfNecessary())},i.hasLongStackTraces=function(){return K.longStackTraces&&$()};var w=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});n=new CustomEvent(t.toLowerCase(),n);return!u.global.dispatchEvent(n)}}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){t=new Event(t.toLowerCase(),{cancelable:!0});return t.detail=e,p.defineProperty(t,"promise",{value:e.promise}),p.defineProperty(t,"reason",{value:e.reason}),!u.global.dispatchEvent(t)}}catch(t){}return function(){return!1}}(),C=u.isNode?function(){return process.emit.apply(process,arguments)}:u.global?function(t){t="on"+t.toLowerCase(),t=u.global[t];return!!t&&(t.apply(u.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function j(t,e){return{promise:e}}var E={promiseCreated:j,promiseFulfilled:j,promiseRejected:j,promiseResolved:j,promiseCancelled:j,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:j},k=function(t){var e=!1;try{e=C.apply(null,arguments)}catch(t){c.throwLater(t),e=!0}var n=!1;try{n=w(t,E[t].apply(null,arguments))}catch(t){c.throwLater(t),n=!0}return n||e};function F(){return!1}function T(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 x(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 P(){return this._onCancelField}function R(t){this._onCancelField=t}function S(){this._cancellationParent=void 0,this._onCancelField=void 0}function O(t,e){var n;0!=(1&e)&&(void 0===(n=(this._cancellationParent=t)._branchesRemainingToCancel)&&(n=0),t._branchesRemainingToCancel=n+1),0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}i.config=function(t){var e;if("longStackTraces"in(t=Object(t))&&(t.longStackTraces?i.longStackTraces():!t.longStackTraces&&i.hasLongStackTraces()&&b()),"warnings"in t&&(e=t.warnings,K.warnings=!!e,g=K.warnings,u.isObject(e)&&"wForgottenReturn"in e&&(g=!!e.wForgottenReturn)),"cancellation"in t&&t.cancellation&&!K.cancellation){if(c.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");i.prototype._clearCancellationData=S,i.prototype._propagateFrom=O,i.prototype._onCancel=P,i.prototype._setOnCancel=R,i.prototype._attachCancellationCallback=x,i.prototype._execute=T,A=O,K.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!K.monitoring?(K.monitoring=!0,i.prototype._fireEvent=k):!t.monitoring&&K.monitoring&&(K.monitoring=!1,i.prototype._fireEvent=F)),i},i.prototype._fireEvent=F,i.prototype._execute=function(t,e,n){try{t(e,n)}catch(t){return t}},i.prototype._onCancel=function(){},i.prototype._setOnCancel=function(t){},i.prototype._attachCancellationCallback=function(t){},i.prototype._captureStackTrace=function(){},i.prototype._attachExtraTrace=function(){},i.prototype._dereferenceTrace=function(){},i.prototype._clearCancellationData=function(){},i.prototype._propagateFrom=function(t,e){};var A=function(t,e){0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)};function D(){var t=this._boundTo;return void 0!==t&&t instanceof i?t.isFulfilled()?t.value():void 0:t}function V(){this._trace=new X(this._peekContext())}function I(t,e){var n;h(t)&&(void 0!==(n=this._trace)&&e&&(n=n._parent),void 0!==n?n.attachExtraTrace(t):t.__stackCleaned__||(n=U(t),u.notEnumerableProp(t,"stack",n.message+"\n"+n.stack.join("\n")),u.notEnumerableProp(t,"__stackCleaned__",!0)))}function L(){this._trace=void 0}function H(t,e,n){var r;K.warnings&&(t=new l(t),e?n._attachExtraTrace(t):K.longStackTraces&&(r=i._peekContext())?r.attachExtraTrace(t):(r=U(t),t.stack=r.message+"\n"+r.stack.join("\n")),k("warning",t)||B(t,"",!0))}function N(t){for(var e=[],n=0;n<t.length;++n){var r=t[n],i=" (No stack trace)"===r||v.test(r),o=i&&Q(r);i&&!o&&(m&&" "!==r.charAt(0)&&(r=" "+r),e.push(r))}return e}function U(t){var e=t.stack,n=t.toString(),e="string"==typeof e&&0<e.length?function(t){for(var e=t.stack.replace(/\s+$/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)"];return{message:n,stack:"SyntaxError"==t.name?e:N(e)}}function B(t,e,n){var r;"undefined"!=typeof console&&(t=u.isObject(t)?(r=t.stack,e+y(r,t)):e+String(t),"function"==typeof s&&s(t,n))}function M(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?k(t,n,r)||i||B(n,"Unhandled rejection "):k(t,r)}function q(t){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{var 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 $(){return"function"==typeof W}var Q=function(){return!1},z=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function G(t){t=t.match(z);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}function X(t){this._parent=t,this._promisesCreated=0;t=this._length=1+(void 0===t?0:t._length);W(this,X),32<t&&this.uncycle()}u.inherits(X,Error),(r.CapturedTrace=X).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}}}},X.prototype.attachExtraTrace=function(t){if(!t.__stackCleaned__){this.uncycle();for(var e=U(t),n=e.message,r=[e.stack],i=this;void 0!==i;)r.push(N(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 W=function(){function t(t,e){return"string"==typeof t?t:void 0!==e.name&&void 0!==e.message?e.toString():q(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 Q=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?q(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&&(s=function(t){},u.isNode&&process.stderr.isTTY?s=function(t,e){}:u.isNode||"string"!=typeof(new Error).stack||(s=function(t,e){}));var K={warnings:e,longStackTraces:!1,cancellation:!1,monitoring:!1};return t&&i.longStackTraces(),{longStackTraces:function(){return K.longStackTraces},warnings:function(){return K.warnings},cancellation:function(){return K.cancellation},monitoring:function(){return K.monitoring},propagateFromFunction:function(){return A},boundValueFunction:function(){return D},checkForgottenReturns:function(t,e,n,r,i){if(void 0===t&&null!==e&&g&&(void 0===i||!i._returnedNonUndefined())&&0!=(65535&r._bitField)){n&&(n+=" ");var o="",s="";if(e._trace){for(var a=e._trace.stack.split("\n"),c=N(a),l=c.length-1;0<=l;--l){var u=c[l];if(!_.test(u)){u=u.match(d);u&&(o="at "+u[1]+":"+u[2]+":"+u[3]+" ");break}}if(0<c.length)for(var p=c[0],l=0;l<a.length;++l)if(a[l]===p){0<l&&(s="\n"+a[l-1]);break}}n="a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+s;r._warn(n,!0,e)}},setBounds:function(t,e){if($()){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=G(i[c])){n=l.fileName,s=l.line;break}for(var l,c=0;c<o.length;++c)if(l=G(o[c])){r=l.fileName,a=l.line;break}s<0||a<0||!n||!r||n!==r||a<=s||(Q=function(t){if(f.test(t))return!0;t=G(t);return!!(t&&t.fileName===n&&s<=t.line&&t.line<=a)})}},warn:H,deprecated:function(t,e){return t+=" is deprecated and will be removed in a future version.",e&&(t+=" Use "+e+" instead."),H(t)},CapturedTrace:X,fireDomEvent:w,fireGlobalEvent:C}}},{"./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"),t=u("TimeoutError","timeout error"),f=u("AggregateError","aggregate error");try{r=TypeError,i=RangeError}catch(t){r=u("TypeError","type error"),i=u("RangeError","range error")}for(var _="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),d=0;d<_.length;++d)"function"==typeof Array.prototype[_[d]]&&(f.prototype[_[d]]=Array.prototype[_[d]]);o.defineProperty(f.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),f.prototype.isOperational=!0;var v=0;function y(t){if(!(this instanceof y))return new y(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)}f.prototype.toString=function(){var t=Array(4*v+1).join(" "),e="\n"+t+"AggregateError of:\n";v++,t=Array(4*v+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 v--,e},c(y,Error);a=Error.__BluebirdErrorTypes__;a||(a=s({CancellationError:h,TimeoutError:t,OperationalError:y,RejectionError:y,AggregateError:f}),o.defineProperty(Error,"__BluebirdErrorTypes__",{value:a,writable:!1,enumerable:!1,configurable:!1})),e.exports={Error:Error,TypeError:r,RangeError:i,CancellationError:a.CancellationError,OperationalError:a.OperationalError,TimeoutError:a.TimeoutError,AggregateError:a.AggregateError,Warning:p}},{"./es5":13,"./util":36}],13:[function(t,e,n){var r,i,o,s,a=function(){"use strict";return void 0===this}();a?e.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:a,propertyIsWritable:function(t,e){e=Object.getOwnPropertyDescriptor(t,e);return!(e&&!e.writable&&!e.set)}}:(r={}.hasOwnProperty,i={}.toString,o={}.constructor.prototype,s=function(t){var e,n=[];for(e in t)r.call(t,e)&&n.push(e);return n},e.exports={isArray:function(t){try{return"[object Array]"===i.call(t)}catch(t){return!1}},keys:s,names:s,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 o}},isES5:a,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(s,i,o){var a=t("./util"),c=s.CancellationError,l=a.errorObj,u=t("./catch_filter")(o);function p(t,e,n){this.promise=t,this.type=e,this.handler=n,this.called=!1,this.cancelPromise=null}function h(t){this.finallyHandler=t}function f(t,e){return null!=t.cancelPromise&&(1<arguments.length?t.cancelPromise._reject(e):t.cancelPromise._cancel(),t.cancelPromise=null,1)}function _(){return v.call(this,this.promise._target()._settledValue())}function d(t){if(!f(this,t))return l.e=t,l}function v(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===o)return r;if(void 0!==r){e._setReturnedNonUndefined();n=i(r,e);if(n instanceof s){if(null!=this.cancelPromise){if(n._isCancelled()){r=new c("late cancellation observer");return e._attachExtraTrace(r),l.e=r,l}n.isPending()&&n._attachCancellationCallback(new h(this))}return n._then(_,d,void 0,this,void 0)}}}return e.isRejected()?(f(this),l.e=t,l):(f(this),t)}return p.prototype.isFinallyHandler=function(){return 0===this.type},h.prototype._resultCancelled=function(){f(this.finallyHandler)},s.prototype._passThrough=function(t,e,n,r){return"function"!=typeof t?this.then():this._then(n,r,void 0,new p(this,e,t),void 0)},s.prototype.lastly=s.prototype.finally=function(t){return this._passThrough(t,0,v,v)},s.prototype.tap=function(t){return this._passThrough(t,1,v)},s.prototype.tapCatch=function(t){var e=arguments.length;if(1===e)return this._passThrough(t,1,void 0,v);for(var n=new Array(e-1),r=0,i=0;i<e-1;++i){var o=arguments[i];if(!a.isObject(o))return s.reject(new TypeError("tapCatch statement predicate: expecting an object but got "+a.classString(o)));n[r++]=o}n.length=r;t=arguments[i];return this._passThrough(u(n,t,this),1,void 0,v)},p}},{"./catch_filter":7,"./util":36}],16:[function(r,t,e){"use strict";t.exports=function(s,n,a,c,t,l){var u=r("./errors").TypeError,e=r("./util"),p=e.errorObj,h=e.tryCatch,f=[];function _(t,e,n,r){var i,o;l.cancellation()?(i=new s(a),o=this._finallyPromise=new s(a),this._promise=i.lastly(function(){return o}),i._captureStackTrace(),i._setOnCancel(this)):(this._promise=new s(a))._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(){var t;this._isResolved()||(t=void 0!==this._generator.return?(this._promise._pushContext(),h(this._generator.return).call(this._generator,void 0)):(t=new s.CancellationError("generator .return() sentinel"),s.coroutine.returnSentinel=t,this._promise._attachExtraTrace(t),this._promise._pushContext(),h(this._generator.throw).call(this._generator,t)),this._promise._popContext(),this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(t))},_.prototype._promiseFulfilled=function(t){this._yieldedPromise=null,this._promise._pushContext();t=h(this._generator.next).call(this._generator,t);this._promise._popContext(),this._continue(t)},_.prototype._promiseRejected=function(t){this._yieldedPromise=null,this._promise._attachExtraTrace(t),this._promise._pushContext();t=h(this._generator.throw).call(this._generator,t);this._promise._popContext(),this._continue(t)},_.prototype._resultCancelled=function(){var t;this._yieldedPromise instanceof s&&(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);t=c(n,this._promise);t instanceof s||null!==(t=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=s.reject(p.e);return n._popContext(),o}i=c(i,n);if(i instanceof s)return i}return null}(t,this._yieldHandlers,this._promise))?0==(50397184&(e=(t=t._target())._bitField))?(this._yieldedPromise=t)._proxy(this,null):0!=(33554432&e)?s._async.invoke(this._promiseFulfilled,this,t._value()):0!=(16777216&e)?s._async.invoke(this._promiseRejected,this,t._reason()):this._promiseCancelled():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")))},s.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}},s.coroutine.addYieldHandler=function(t){if("function"!=typeof t)throw new u("expecting a function but got "+e.classString(t));f.push(t)},s.spawn=function(t){if(l.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return n("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var e=new _(t,this),t=e.promise();return e._run(s.spawn),t}}},{"./errors":12,"./util":36}],17:[function(a,t,e){"use strict";t.exports=function(t,n,e,r,i,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 e=[].slice.call(arguments);t&&e.pop();e=new n(e).promise();return void 0!==t?e.spread(t):e}}},{"./util":36}],18:[function(e,t,n){"use strict";t.exports=function(l,t,o,u,i,p){var s=l._getDomain,a=e("./util"),h=a.tryCatch,f=a.errorObj,c=l._async;function _(t,e,n,r){this.constructor$(t),this._promise._captureStackTrace();t=s();this._callback=null===t?e:a.domainBind(t,e),this._preservedValues=r===i?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=[],c.invoke(this._asyncInit,this,void 0)}function n(t,e,n,r){if("function"!=typeof e)return o("expecting a function but got "+a.classString(e));var i=0;if(void 0!==n){if("object"!=typeof n||null===n)return l.reject(new TypeError("options argument must be an object but it is "+a.classString(n)));if("number"!=typeof n.concurrency)return l.reject(new TypeError("'concurrency' must be a number but it is "+a.classString(n.concurrency)));i=n.concurrency}return new _(t,e,i="number"==typeof i&&isFinite(i)&&1<=i?i:0,r).promise()}a.inherits(_,t),_.prototype._asyncInit=function(){this._init$(void 0,-2)},_.prototype._init=function(){},_.prototype._promiseFulfilled=function(t,e){var n=this._values,r=this.length(),i=this._preservedValues,o=this._limit;if(e<0){if(e=-1*e-1,n[e]=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();c=h(a).call(c,t,e,r),t=s._popContext();if(p.checkForgottenReturns(c,t,null!==i?"Promise.filter":"Promise.map",s),c===f)return this._reject(c.e),!0;t=u(c,this._promise);if(t instanceof l){s=(t=t._target())._bitField;if(0==(50397184&s))return 1<=o&&this._inFlight++,(n[e]=t)._proxy(this,-1*(e+1)),!1;if(0==(33554432&s))return 0!=(16777216&s)?this._reject(t._reason()):this._cancel(),!0;c=t._value()}n[e]=c}return r<=++this._totalResolved&&(null!==i?this._filter(n,i):this._resolve(n),!0)},_.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)}},_.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)},_.prototype.preservedValues=function(){return this._preservedValues},l.prototype.map=function(t,e){return n(this,t,e,null)},l.map=n}},{"./util":36}],19:[function(e,t,n){"use strict";t.exports=function(i,o,t,s,a){var c=e("./util"),l=c.tryCatch;i.method=function(r){if("function"!=typeof r)throw new i.TypeError("expecting a function but got "+c.classString(r));return function(){var t=new i(o);t._captureStackTrace(),t._pushContext();var e=l(r).apply(this,arguments),n=t._popContext();return a.checkForgottenReturns(e,n,"Promise.method",t),t._resolveFromSyncValue(e),t}},i.attempt=i.try=function(t){if("function"!=typeof t)return s("expecting a function but got "+c.classString(t));var e,n,r=new i(o);r._captureStackTrace(),r._pushContext(),n=1<arguments.length?(a.deprecated("calling Promise.try with more than 1 argument"),n=arguments[1],e=arguments[2],c.isArray(n)?l(t).apply(e,n):l(t).call(e,n)):l(t)();t=r._popContext();return a.checkForgottenReturns(n,t,"Promise.try",r),r._resolveFromSyncValue(n),r},i.prototype._resolveFromSyncValue=function(t){t===c.errorObj?this._rejectCallback(t.e,!1):this._resolveCallback(t,!0)}}},{"./util":36}],20:[function(t,e,n){"use strict";var s=t("./util"),o=s.maybeWrapAsError,a=t("./errors").OperationalError,c=t("./es5");var l=/^(?:name|message|stack|cause)$/;function u(t){var e,n;if((n=t)instanceof Error&&c.getPrototypeOf(n)===Error.prototype){(e=new a(t)).name=t.name,e.message=t.message,e.stack=t.stack;for(var r=c.keys(t),i=0;i<r.length;++i){var o=r[i];l.test(o)||(e[o]=t[o])}return e}return s.markAsOriginatingFromRejection(t),t}e.exports=function(r,i){return function(t,e){var n;null!==r&&(t?(n=u(o(t)),r._attachExtraTrace(n),r._reject(n)):i?(n=[].slice.call(arguments,1),r._fulfill(n)):r._fulfill(e),r=null)}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./util"),r=t._async,i=n.tryCatch,o=n.errorObj;function s(t,e){if(!n.isArray(t))return a.call(this,t,e);t=i(e).apply(this._boundValue(),[null].concat(t));t===o&&r.throwLater(t.e)}function a(t,e){var n=this._boundValue(),t=void 0===t?i(e).call(n,null):i(e).call(n,null,t);t===o&&r.throwLater(t.e)}function c(t,e){var n;t||((n=new Error(t+"")).cause=t,t=n);t=i(e).call(this._boundValue(),t);t===o&&r.throwLater(t.e)}t.prototype.asCallback=t.prototype.nodeify=function(t,e){var n;return"function"==typeof t&&(n=a,void 0!==e&&Object(e).spread&&(n=s),this._then(n,c,void 0,this,t)),this}}},{"./util":36}],22:[function(x,P,t){"use strict";P.exports=function(){function s(){return new u("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")}function a(){return new k.PromiseInspection(this._target())}function c(t){return k.reject(new u(t))}function l(){}var o={},p=x("./util"),h=p.isNode?function(){var t=process.domain;return void 0===t&&(t=null),t}:function(){return null};p.notEnumerableProp(k,"_getDomain",h);var t=x("./es5"),e=x("./async"),f=new e;t.defineProperty(k,"_async",{value:f});var n=x("./errors"),u=k.TypeError=n.TypeError;k.RangeError=n.RangeError;var _=k.CancellationError=n.CancellationError;k.TimeoutError=n.TimeoutError,k.OperationalError=n.OperationalError,k.RejectionError=n.OperationalError,k.AggregateError=n.AggregateError;var d=function(){},v={},y={},m=x("./thenables")(k,d),g=x("./promise_array")(k,d,m,c,l),t=x("./context")(k),n=t.create,b=x("./debuggability")(k,t),w=(b.CapturedTrace,x("./finally")(k,m,y)),C=x("./catch_filter")(y),r=x("./nodeback"),j=p.errorObj,E=p.tryCatch;function k(t){t!==d&&function(t,e){if(null==t||t.constructor!==k)throw new u("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof e)throw new u("expecting a function but got "+p.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 i(t){this.promise._resolveCallback(t)}function F(t){this.promise._rejectCallback(t,!1)}function T(t){var e=new k(d);e._fulfillmentHandler0=t,e._rejectionHandler0=t,e._promise0=t,e._receiver0=t}return k.prototype.toString=function(){return"[object Promise]"},k.prototype.caught=k.prototype.catch=function(t){var e=arguments.length;if(1<e){for(var n=new Array(e-1),r=0,i=0;i<e-1;++i){var o=arguments[i];if(!p.isObject(o))return c("Catch statement predicate: expecting an object but got "+p.classString(o));n[r++]=o}return n.length=r,t=arguments[i],this.then(void 0,C(n,t,this))}return this.then(void 0,t)},k.prototype.reflect=function(){return this._then(a,a,void 0,this,void 0)},k.prototype.then=function(t,e){var n;return b.warnings()&&0<arguments.length&&"function"!=typeof t&&"function"!=typeof e&&(n=".then() only accepts functions but was passed: "+p.classString(t),1<arguments.length&&(n+=", "+p.classString(e)),this._warn(n)),this._then(t,e,void 0,void 0,void 0)},k.prototype.done=function(t,e){this._then(t,e,void 0,void 0,void 0)._setIsFinal()},k.prototype.spread=function(t){return"function"!=typeof t?c("expecting a function but got "+p.classString(t)):this.all()._then(t,void 0,void 0,v,void 0)},k.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},k.prototype.all=function(){return 0<arguments.length&&this._warn(".all() was passed arguments but it does not take any"),new g(this).promise()},k.prototype.error=function(t){return this.caught(p.originatesFromRejection,t)},k.getNewLibraryCopy=P.exports,k.is=function(t){return t instanceof k},k.fromNode=k.fromCallback=function(t){var e=new k(d);e._captureStackTrace();var n=1<arguments.length&&!!Object(arguments[1]).multiArgs,n=E(t)(r(e,n));return n===j&&e._rejectCallback(n.e,!0),e._isFateSealed()||e._setAsyncGuaranteed(),e},k.all=function(t){return new g(t).promise()},k.resolve=k.fulfilled=k.cast=function(t){var e=m(t);return e instanceof k||((e=new k(d))._captureStackTrace(),e._setFulfilled(),e._rejectionHandler0=t),e},k.reject=k.rejected=function(t){var e=new k(d);return e._captureStackTrace(),e._rejectCallback(t,!0),e},k.setScheduler=function(t){if("function"!=typeof t)throw new u("expecting a function but got "+p.classString(t));return f.setScheduler(t)},k.prototype._then=function(t,e,n,r,i){var o=void 0!==i,s=o?i:new k(d),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,u,i=h();return 0!=(50397184&c)?(o=a._settlePromiseCtx,0!=(33554432&c)?(u=a._rejectionHandler0,l=t):0!=(16777216&c)?(u=a._fulfillmentHandler0,l=e,a._unsetRejectionIsUnhandled()):(o=a._settlePromiseLateCancellationObserver,u=new _("late cancellation observer"),a._attachExtraTrace(u),l=e),f.invoke(o,a,{handler:null===i?l:"function"==typeof l&&p.domainBind(i,l),promise:s,receiver:r,value:u})):a._addCallbacks(t,e,s,r,i),s},k.prototype._length=function(){return 65535&this._bitField},k.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},k.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},k.prototype._setLength=function(t){this._bitField=-65536&this._bitField|65535&t},k.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},k.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},k.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},k.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},k.prototype._isFinal=function(){return 0<(4194304&this._bitField)},k.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},k.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},k.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},k.prototype._setAsyncGuaranteed=function(){f.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},k.prototype._receiverAt=function(t){t=0===t?this._receiver0:this[4*t-4+3];if(t!==o)return void 0===t&&this._isBound()?this._boundValue():t},k.prototype._promiseAt=function(t){return this[4*t-4+2]},k.prototype._fulfillmentHandlerAt=function(t){return this[4*t-4]},k.prototype._rejectionHandlerAt=function(t){return this[4*t-4+1]},k.prototype._boundValue=function(){},k.prototype._migrateCallback0=function(t){t._bitField;var e=t._fulfillmentHandler0,n=t._rejectionHandler0,r=t._promise0,t=t._receiverAt(0);void 0===t&&(t=o),this._addCallbacks(e,n,r,t,null)},k.prototype._migrateCallbackAt=function(t,e){var n=t._fulfillmentHandlerAt(e),r=t._rejectionHandlerAt(e),i=t._promiseAt(e),e=t._receiverAt(e);void 0===e&&(e=o),this._addCallbacks(n,r,i,e,null)},k.prototype._addCallbacks=function(t,e,n,r,i){var o,s=this._length();return 65531<=s&&(s=0,this._setLength(0)),0===s?(this._promise0=n,this._receiver0=r,"function"==typeof t&&(this._fulfillmentHandler0=null===i?t:p.domainBind(i,t)),"function"==typeof e&&(this._rejectionHandler0=null===i?e:p.domainBind(i,e))):(this[2+(o=4*s-4)]=n,this[3+o]=r,"function"==typeof t&&(this[o]=null===i?t:p.domainBind(i,t)),"function"==typeof e&&(this[1+o]=null===i?e:p.domainBind(i,e))),this._setLength(s+1),s},k.prototype._proxy=function(t,e){this._addCallbacks(void 0,void 0,e,t,null)},k.prototype._resolveCallback=function(t,e){if(0==(117506048&this._bitField)){if(t===this)return this._rejectCallback(s(),!1);var n=m(t,this);if(!(n instanceof k))return this._fulfill(t);e&&this._propagateFrom(n,2);var r=n._target();if(r!==this){n=r._bitField;if(0==(50397184&n)){var i=this._length();0<i&&r._migrateCallback0(this);for(var o=1;o<i;++o)r._migrateCallbackAt(this,o);this._setFollowing(),this._setLength(0),this._setFollowee(r)}else 0!=(33554432&n)?this._fulfill(r._value()):0!=(16777216&n)?this._reject(r._reason()):(n=new _("late cancellation observer"),r._attachExtraTrace(n),this._reject(n))}else this._reject(s())}},k.prototype._rejectCallback=function(t,e,n){var r=p.ensureErrorObject(t),i=r===t;i||n||!b.warnings()||(n="a promise was rejected with a non-error: "+p.classString(t),this._warn(n,!0)),this._attachExtraTrace(r,!!e&&i),this._reject(t)},k.prototype._resolveFromExecutor=function(t){var e,n;t!==d&&((e=this)._captureStackTrace(),this._pushContext(),n=!0,t=this._execute(t,function(t){e._resolveCallback(t)},function(t){e._rejectCallback(t,n)}),n=!1,this._popContext(),void 0!==t&&e._rejectCallback(t,!0))},k.prototype._settlePromiseFromHandler=function(t,e,n,r){var i;0==(65536&r._bitField)&&(r._pushContext(),e===v?n&&"number"==typeof n.length?i=E(t).apply(this._boundValue(),n):(i=j).e=new u("cannot .spread() a non-array: "+p.classString(n)):i=E(t).call(e,n),e=r._popContext(),0==(65536&r._bitField)&&(i===y?r._reject(n):i===j?r._rejectCallback(i.e,!1):(b.checkForgottenReturns(i,e,"",r,this),r._resolveCallback(i))))},k.prototype._target=function(){for(var t=this;t._isFollowing();)t=t._followee();return t},k.prototype._followee=function(){return this._rejectionHandler0},k.prototype._setFollowee=function(t){this._rejectionHandler0=t},k.prototype._settlePromise=function(t,e,n,r){var i=t instanceof k,o=this._bitField,s=0!=(134217728&o);0!=(65536&o)?(i&&t._invokeInternalOnCancel(),n instanceof w&&n.isFinallyHandler()?(n.cancelPromise=t,E(e).call(n,r)===j&&t._reject(j.e)):e===a?t._fulfill(a.call(n)):n instanceof l?n._promiseCancelled(t):i||t instanceof g?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))},k.prototype._settlePromiseLateCancellationObserver=function(t){var e=t.handler,n=t.promise,r=t.receiver,t=t.value;"function"==typeof e?n instanceof k?this._settlePromiseFromHandler(e,r,t,n):e.call(r,t,n):n instanceof k&&n._reject(t)},k.prototype._settlePromiseCtx=function(t){this._settlePromise(t.promise,t.handler,t.receiver,t.value)},k.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)},k.prototype._clearCallbackDataAtIndex=function(t){t=4*t-4;this[2+t]=this[3+t]=this[t]=this[1+t]=void 0},k.prototype._fulfill=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(t===this){var n=s();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=t,0<(65535&e)&&(0!=(134217728&e)?this._settlePromises():f.settlePromises(this),this._dereferenceTrace())}},k.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=t,this._isFinal())return f.fatalError(t,p.isNode);0<(65535&e)?f.settlePromises(this):this._ensurePossibleRejectionHandled()}},k.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)}},k.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)}},k.prototype._settlePromises=function(){var t,e=this._bitField,n=65535&e;0<n&&(0!=(16842752&e)?(t=this._fulfillmentHandler0,this._settlePromise0(this._rejectionHandler0,t,e),this._rejectPromises(n,t)):(t=this._rejectionHandler0,this._settlePromise0(this._fulfillmentHandler0,t,e),this._fulfillPromises(n,t)),this._setLength(0)),this._clearCancellationData()},k.prototype._settledValue=function(){var t=this._bitField;return 0!=(33554432&t)?this._rejectionHandler0:0!=(16777216&t)?this._fulfillmentHandler0:void 0},k.defer=k.pending=function(){return b.deprecated("Promise.defer","new Promise"),{promise:new k(d),resolve:i,reject:F}},p.notEnumerableProp(k,"_makeSelfResolutionError",s),x("./method")(k,d,m,c,b),x("./bind")(k,d,m,b),x("./cancel")(k,g,c,b),x("./direct_resolve")(k),x("./synchronous_inspection")(k),x("./join")(k,g,m,d,f,h),(k.Promise=k).version="3.5.3",x("./map.js")(k,g,c,m,d,b),x("./call_get.js")(k),x("./using.js")(k,c,m,n,d,b),x("./timers.js")(k,d,b),x("./generators.js")(k,c,d,m,l,b),x("./nodeify.js")(k),x("./promisify.js")(k,d),x("./props.js")(k,g,m,c),x("./race.js")(k,d,m,c),x("./reduce.js")(k,g,c,m,d,b),x("./settle.js")(k,g,b),x("./some.js")(k,g,c),x("./filter.js")(k,d),x("./each.js")(k,d),x("./any.js")(k),p.toFastProperties(k),p.toFastProperties(k.prototype),T({a:1}),T({b:2}),T({c:3}),T(1),T(function(){}),T(void 0),T(!1),T(new k(d)),b.setBounds(e.firstLineError,p.lastLineError),k}},{"./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,o,t){var s=r("./util");s.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 s.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()}null!==(r=s.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)):(r=o("expecting an array or an iterable object but got "+s.classString(r)).reason(),this._promise._rejectCallback(r,!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("|")+")$"),m=function(t){return _.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t};function i(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=_.inheritedDataKeys(t),c=[],l=0;l<a.length;++l){var u=a[l],p=t[u],h=r===m||m(u,p,t);"function"!=typeof p||g(p)||(i=t,o=u,s=e,(s=_.getDataPropertyOrDefault(i,o+s,y))&&g(s))||!r(u,p,t,h)||c.push(u,p)}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))}}(c,e,n),c}var n,w=function(t){return t.replace(/([$])/,"\\$")};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)+"$"),s=b(t,e,o,n),a=0,c=s.length;a<c;a+=2){var l,u=s[a],p=s[a+1],h=u+e;r===C?t[h]=C(u,f,u,p,e,i):(l=r(p,function(){return C(u,f,u,p,e,i)}),_.notEnumerableProp(l,"__isPromisified__",!0),t[h]=l)}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=void 0===(e=Object(e)).context?f:e.context,r=!!e.multiArgs,r=C(e=t,n,void 0,e,null,r);return _.copyDescriptors(t,r,i),r},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(n,t,r,i){var a,e=_("./util"),o=e.isObject,c=_("./es5");"function"==typeof Map&&(a=Map);var s,l,u=(l=0,function(t){s=t.size,l=0;var e=new Array(2*t.size);return t.forEach(p,e),e});function p(t,e){this[l]=t,this[l+s]=e,l++}function h(t){var e=!1;if(void 0!==a&&t instanceof a)i=u(t),e=!0;else for(var n=c.keys(t),r=n.length,i=new Array(2*r),o=0;o<r;++o){var s=n[o];i[o]=t[s],i[o+r]=s}this.constructor$(i),this._isMap=e,this._init$(void 0,e?-6:-3)}function f(t){var e=r(t);return o(e)?(t=e instanceof n?e._then(n.props,void 0,void 0,void 0,void 0):new h(e).promise(),e instanceof n&&t._propagateFrom(e,2),t):i("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){var n;if(this._values[e]=t,++this._totalResolved>=this._length){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},n.prototype.props=function(){return f(this)},n.props=f}},{"./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&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(_,t,e){"use strict";t.exports=function(o,t,i,e,s,a){var c=o._getDomain,l=_("./util"),u=l.tryCatch;function p(t,e,n,r){this.constructor$(t);t=c();this._fn=null===t?e:l.domainBind(t,e),void 0!==n&&(n=o.resolve(n))._attachCancellationCallback(this),this._initialValue=n,this._currentCancellable=null,this._eachValues=r===s?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 n(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 f(t){this.accum=t,this.array._gotAccum(t);t=e(this.value,this.array._promise);return t instanceof o?(this.array._currentCancellable=t)._then(r,void 0,void 0,this,void 0):r.call(this,t)}function r(t){var e=this.array,n=e._promise,r=u(e._fn);n._pushContext(),(r=void 0!==e._eachValues?r.call(n._boundValue(),t,this.index,this.length):r.call(n._boundValue(),this.accum,t,this.index,this.length))instanceof o&&(e._currentCancellable=r);t=n._popContext();return a.checkForgottenReturns(r,t,void 0!==e._eachValues?"Promise.each":"Promise.reduce",n),r}l.inherits(p,t),p.prototype._gotAccum=function(t){void 0!==this._eachValues&&null!==this._eachValues&&t!==s&&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 o&&this._currentCancellable.cancel(),this._initialValue instanceof o&&this._initialValue.cancel())},p.prototype._iterate=function(t){var e=(this._values=t).length,n=void 0!==this._initialValue?(i=this._initialValue,0):(i=o.resolve(t[0]),1);if(!(this._currentCancellable=i).isRejected())for(;n<e;++n)var r={accum:null,value:t[n],index:n,length:e,array:this},i=i._then(f,void 0,void 0,r,void 0);void 0!==this._eachValues&&(i=i._then(this._eachComplete,void 0,void 0,this,void 0)),i._then(h,h,void 0,i,this)},o.prototype.reduce=function(t,e){return n(this,t,e,null)},o.reduce=n}},{"./util":36}],29:[function(t,e,n){"use strict";var r,i,o,s=t("./util"),t=s.getNativePromise();t=s.isNode&&"undefined"==typeof MutationObserver?(r=global.setImmediate,i=process.nextTick,s.isRecentNode?function(t){r.call(global,t)}:function(t){i.call(process,t)}):"function"==typeof t&&"function"==typeof t.resolve?(o=t.resolve(),function(t){o.then(t)}):"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=t},{"./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,r){var n=u("./util"),i=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 r("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new c(t),t=n.promise();return n.setHowMany(e),n.init(),t}n.inherits(c,e),c.prototype._init=function(){var t;this._initialized&&(0!==this._howMany?(this._init$(void 0,-5),t=s(this._values),!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))):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){t="Input array must contain at least "+this._howMany+" items but contains only "+t+" items";return new i(t)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=l,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(s,a){var c=t("./util"),l=c.errorObj,i=c.isObject;var o={}.hasOwnProperty;return function(t,e){if(i(t)){if(t instanceof s)return t;var n=function(t){try{return t.then}catch(t){return l.e=t,l}}(t);if(n===l){e&&e._pushContext();var r=s.reject(n.e);return e&&e._popContext(),r}if("function"==typeof n){if(function(t){try{return o.call(t,"_promise0")}catch(t){return!1}}(t)){r=new s(a);return t._then(r._fulfill,r._reject,void 0,r,null),r}return function(t,e,n){var r=new s(a),i=r;n&&n._pushContext();r._captureStackTrace(),n&&n._popContext();var o=!0,t=c.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&&t===l&&(r._rejectCallback(t.e,!0,!0),r=null);return i}(t,n,e)}}return t}}},{"./util":36}],34:[function(t,e,n){"use strict";e.exports=function(r,i,o){var s=t("./util"),a=r.TimeoutError;function c(t){this.handle=t}c.prototype._resultCancelled=function(){clearTimeout(this.handle)};function l(t){return e(+this).thenReturn(t)}var e=r.delay=function(t,e){var n;return void 0!==e?(n=r.resolve(e)._then(l,null,null,t,void 0),o.cancellation()&&e instanceof r&&n._setOnCancel(e)):(n=new r(i),t=setTimeout(function(){n._fulfill()},+t),o.cancellation()&&n._setOnCancel(new c(t)),n._captureStackTrace()),n._setAsyncGuaranteed(),n};r.prototype.delay=function(t){return e(t,this)};function u(t){return clearTimeout(this.handle),t}function p(t){throw clearTimeout(this.handle),t}r.prototype.timeout=function(t,e){var n,r;t=+t;t=new c(setTimeout(function(){n.isPending()&&function(t,e,n){e="string"!=typeof e?e instanceof Error?e:new a("operation timed out"):new a(e);s.markAsOriginatingFromRejection(e),t._attachExtraTrace(e),t._reject(e),null!=n&&n.cancel()}(n,e,r)},t));return o.cancellation()?(r=this.then(),(n=r._then(u,p,void 0,t,void 0))._setOnCancel(t)):n=this._then(u,p,void 0,t,void 0),n}}},{"./util":36}],35:[function(s,t,e){"use strict";t.exports=function(p,h,f,e,t,_){var d=s("./util"),n=s("./errors").TypeError,r=s("./util").inherits,v=d.errorObj,y=d.tryCatch,i={};function l(t){setTimeout(function(){throw t},0)}function m(i,o){var s=0,a=i.length,c=new p(t);return function t(){if(a<=s)return c._fulfill();var e,n,r=(e=i[s++],(n=f(e))!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&n._setDisposable(e._getDisposer()),n);if(r instanceof p&&r._isDisposable()){try{r=f(r._getDisposer().tryDispose(o),i.promise)}catch(t){return l(t)}if(r instanceof p)return r._then(t,l,null,null,null)}t()}(),c}function g(t,e,n){this._data=t,this._promise=e,this._context=n}function o(t,e,n){this.constructor$(t,e,n)}function b(t){return g.isDisposer(t)?(this.resources[this.index]._setDisposable(t),t.promise()):t}function w(t){this.length=t,this.promise=null,this[t-1]=null}g.prototype.data=function(){return this._data},g.prototype.promise=function(){return this._promise},g.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():i},g.prototype.tryDispose=function(t){var e=this.resource(),n=this._context;void 0!==n&&n._pushContext();t=e!==i?this.doDispose(e,t):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,t},g.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},r(o,g),o.prototype.doDispose=function(t,e){return this.data().call(t,t,e)},w.prototype._resultCancelled=function(){for(var t=this.length,e=0;e<t;++e){var n=this[e];n instanceof p&&n.cancel()}},p.using=function(){var t=arguments.length;if(t<2)return h("you must pass at least 2 arguments to Promise.using");var e,o=arguments[t-1];if("function"!=typeof o)return h("expecting a function but got "+d.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 w(t),r=0;r<t;++r){var i,a=e[r];g.isDisposer(a)?(a=(i=a).promise())._setDisposable(i):(i=f(a))instanceof p&&(a=i._then(b,null,null,{resources:n,index:r},void 0)),n[r]=a}for(var c=new Array(n.length),r=0;r<c.length;++r)c[r]=p.resolve(n[r]).reflect();var l=p.all(c).then(function(t){for(var e=0;e<t.length;++e){var n=t[e];if(n.isRejected())return v.e=n.error(),v;if(!n.isFulfilled())return void l.cancel();t[e]=n.value()}u._pushContext(),o=y(o);var r=s?o.apply(void 0,t):o(t),i=u._popContext();return _.checkForgottenReturns(r,i,"Promise.using",u),r}),u=l.lastly(function(){var t=new p.PromiseInspection(l);return m(n,t)});return(n.promise=u)._setOnCancel(n),u},p.prototype._setDisposable=function(t){this._bitField=131072|this._bitField,this._disposer=t},p.prototype._isDisposable=function(){return 0<(131072&this._bitField)},p.prototype._getDisposer=function(){return this._disposer},p.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},p.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)&&"$"!==t.charAt(t.length-1)&&(this[t+"$"]=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){for(var n=t.length,r=new Array(n+1),i=0;i<n;++i)r[i]=t[i];return r[i]=e,r}function d(t,e,n){if(!l.isES5)return{}.hasOwnProperty.call(t,e)?t[e]:void 0;e=Object.getOwnPropertyDescriptor(t,e);return null!=e?null==e.get&&null==e.set?e.value:n:void 0}function v(t,e,n){if(p(t))return t;n={value:n,configurable:!0,enumerable:!1,writable:!0};return l.defineProperty(t,e,n),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=[],r=Object.create(null);null!=t&&!a(t);){try{e=c(t)}catch(t){return n}for(var i=0;i<e.length;++i){var o,s=e[i];r[s]||(r[s]=!0,null!=(o=Object.getOwnPropertyDescriptor(t,s))&&null==o.get&&null==o.set&&n.push(s))}t=l.getPrototypeOf(t)}return n}}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]),e=g.test(t+"")&&0<l.names(t).length;if(n||r||e)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]*$/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},D,A;"undefined"!=typeof Symbol&&Symbol.iterator&&(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/divi_woo_layout_injector.min.js CHANGED
@@ -1 +1 @@
1
- function wli_refresh_cart_count(){var r=0;jQuery(".sb_woo_mini_cart ul li").length&&jQuery(".sb_woo_mini_cart ul li").each(function(){var o=jQuery(this).children(".quantity").text().split(" "),e=parseInt(o[0]);r+=e}),r<=0&&(r=""),jQuery(".sb_woo_prod_cart_container .et-cart-info span").text(r)}function sb_woo_popup_notice(o){jQuery("html, body").scrollTop(0),jQuery.colorbox({html:o,width:"50%",className:"woocommerce"})}function sb_woo_maybe_submit_checkout_coupon(){jQuery(this).keypress(function(o){13==o.which&&sb_woo_submit_checkout_coupon()})}function sb_woo_submit_checkout_coupon(){if(jQuery(".coupon-module").length){jQuery(".coupon-module").parent().removeClass("woocommerce-invalid").removeClass("woocommerce-validated");var o=jQuery(".coupon-module").val();""!=o?(jQuery("#coupon_code").val(o),jQuery(".checkout_coupon").submit()):jQuery(".coupon-module").parent().addClass("woocommerce-invalid").removeClass("woocommerce-validated")}return!1}function sb_woo_variation_image(){var o=jQuery(".single-product .cart.variations_form").data("product_variations"),r="",c="",t="",u=[],_=0,n=0,i=[];jQuery(".single-product .cart.variations_form .variations .value select").each(function(o,e){r=jQuery(this).val(),c=jQuery(this).attr("id"),t="attribute_"+c,r&&(u.push([t,r]),_++)}),0<_&&(jQuery(o).each(function(o,e){var r=e.attributes;n=0,jQuery(r).each(function(o,e){jQuery(e).each(function(o,r){jQuery(u).each(function(o,e){r[e[0]]!=e[1]&&""!=r[e[0]]||n++})})}),_<=n&&(i=e)}),sb_woo_product_thumb_replace_by_url(void 0!==i.image?i.image.full_src:jQuery(".sb_woo_product_thumb_col_num_1 a").data("large_image"),jQuery(".sb_woo_product_image_container")))}function sb_woo_product_thumb_replace_by_url(o,e){if(jQuery(".single-product .sb_woo_product_image img").attr("src")!=o){if(0==(r=e.closest(".sb_woo_product_image_container")).length)var r=jQuery(".sb_woo_product_image_container");if(r.length){r.find(".sb_woo_product_image img").trigger("zoom.destroy"),r.find(".sb_woo_product_image img.zoomImg").remove();var c=r.find(".sb_woo_product_image img").height();r.find(".sb_woo_product_image").css("height",c+"px"),r.find(".sb_woo_product_image img").fadeOut(400,function(){r.find(".sb_woo_product_image img").attr("src",o),r.find(".sb_woo_product_image").imagesLoaded(function(){var o=r.find(".sb_woo_product_image img").height();r.find(".sb_woo_product_image").css("height",o+"px"),r.find(".sb_woo_product_image img").fadeIn(400,function(){r.find(".sb_woo_product_image").hasClass("sb_woo_image_disable_zoom")?r.find(".sb_woo_product_image").hasClass("sb_woo_image_disable_lightbox")||jQuery(".sb_woo_product_image").colorbox({href:r.find(".sb_woo_product_image img").attr("src")}):r.find(".sb_woo_product_image").zoom({callback:function(){r.find(".sb_woo_product_image").hasClass("sb_woo_image_disable_lightbox")||jQuery(this).colorbox({href:r.find(".sb_woo_product_image img").attr("src")})}})})})})}}}function sb_woo_product_thumb_replace(o){sb_woo_product_thumb_replace_by_url(o.data("large_image"),o)}jQuery(document).ready(function(){if(jQuery(".single-product .sb_woo_product_image").length&&(jQuery(".single-product .sb_woo_product_image").hasClass("sb_woo_image_disable_zoom")?jQuery(".single-product .sb_woo_product_image").hasClass("sb_woo_image_disable_lightbox")||jQuery(".sb_woo_product_image").colorbox({href:jQuery(".single-product .sb_woo_product_image img").attr("src")}):jQuery(".single-product .sb_woo_product_image").zoom({callback:function(){jQuery(".single-product .sb_woo_product_image").hasClass("sb_woo_image_disable_lightbox")||jQuery(this).colorbox({href:jQuery(".single-product .sb_woo_product_image img").attr("src")})}})),jQuery(".single-product .cart.variations_form")&&jQuery(".single-product .cart.variations_form .variations .value select").each(function(o,e){jQuery(this).change(function(){sb_woo_variation_image()})}),jQuery(".woocommerce-remove-coupon").length&&jQuery(".et_pb_woo_checkout_coupon").slideUp(),jQuery(document.body).on("wc_fragments_refreshed",function(){}),jQuery("body").hasClass("wli_injected")){if(0<jQuery(".wpcf7").length){var o=document.body.className.match(/(^|\s)postid-(\d+)(\s|$)/);o&&(jQuery("input[name='_wpcf7_container_post']").val(o[2]),jQuery(".wpcf7-submit").addClass("button"),jQuery(".wpcf7-form > p").addClass("form-row"),jQuery(".wpcf7-form > p .wpcf7-form-control-wrap input").addClass("input-text"))}jQuery(document.body).on("added_to_cart",function(){setTimeout(function(){jQuery(".added_to_cart").addClass("button")},50)}),jQuery(document.body).on("wc_fragments_loaded",function(){wli_refresh_cart_count()}),jQuery(document.body).on("wc_fragments_refreshed",function(){wli_refresh_cart_count()}),jQuery(document.body).on("checkout_error",function(){jQuery(".woocommerce-NoticeGroup").length&&(sb_woo_popup_notice(jQuery(".woocommerce-NoticeGroup").html()),setTimeout(function(){jQuery(".woocommerce-NoticeGroup").remove()},250))}),jQuery(document.body).on("updated_wc_div",function(){jQuery(".woocommerce .woocommerce-error").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-error")),jQuery(".entry-content .woocommerce .woocommerce-error").remove()),jQuery(".woocommerce .woocommerce-message").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-message").clone().wrap("<div />")),jQuery(".entry-content .woocommerce .woocommerce-message").remove()),0<jQuery(".cart-empty").length&&jQuery(".et_pb_woo_cart_totals").remove()}),jQuery(document.body).on("applied_coupon",function(){jQuery(".woocommerce .woocommerce-error").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-error")),jQuery(".entry-content .woocommerce .woocommerce-error").remove())}),jQuery(document.body).on("removed_coupon",function(){jQuery(".woocommerce .woocommerce-message").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-message").clone().wrap("<div />")),jQuery(".entry-content .woocommerce .woocommerce-message").remove())}),jQuery(document.body).on("update_checkout",function(){jQuery(".wli_wrapper_checkout-form-coupon .woocommerce-error").length?(sb_woo_popup_notice(jQuery(".wli_wrapper_checkout-form-coupon .woocommerce-error").clone().wrap("<div />")),jQuery(".et_pb_woo_checkout_coupon").slideDown()):jQuery(".wli_wrapper_checkout-form-coupon .woocommerce-message").length?(sb_woo_popup_notice(jQuery(".wli_wrapper_checkout-form-coupon .woocommerce-message").clone().wrap("<div />")),jQuery(".coupon-module").val(""),jQuery(".woocommerce-remove-coupon").length?jQuery(".et_pb_woo_checkout_coupon").slideDown():jQuery(".et_pb_woo_checkout_coupon").slideUp()):jQuery(".woocommerce .woocommerce-message").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-message").clone().wrap("<div />")),setTimeout(function(){jQuery(".entry-content > .woocommerce > .woocommerce-message").remove()},250))})}});
1
+ function wli_refresh_cart_count(){var e=0;jQuery(".sb_woo_mini_cart ul li").length&&jQuery(".sb_woo_mini_cart ul li").each(function(){var o=jQuery(this).children(".quantity").text().split(" "),o=parseInt(o[0]);e+=o}),e<=0&&(e=""),jQuery(".sb_woo_prod_cart_container .et-cart-info span").text(e)}function sb_woo_popup_notice(o){jQuery("html, body").scrollTop(0),jQuery.colorbox({html:o,width:"50%",className:"woocommerce"})}function sb_woo_maybe_submit_checkout_coupon(){jQuery(this).keypress(function(o){13==o.which&&sb_woo_submit_checkout_coupon()})}function sb_woo_submit_checkout_coupon(){var o;return jQuery(".coupon-module").length&&(jQuery(".coupon-module").parent().removeClass("woocommerce-invalid").removeClass("woocommerce-validated"),""!=(o=jQuery(".coupon-module").val())?(jQuery("#coupon_code").val(o),jQuery(".checkout_coupon").submit()):jQuery(".coupon-module").parent().addClass("woocommerce-invalid").removeClass("woocommerce-validated")),!1}function sb_woo_variation_image(){var r,c,t,o=jQuery(".single-product .cart.variations_form").data("product_variations"),u=[],_=0,n=0,m=[];jQuery(".single-product .cart.variations_form .variations .value select").each(function(o,e){r=jQuery(this).val(),c=jQuery(this).attr("id"),t="attribute_"+c,r&&(u.push([t,r]),_++)}),0<_&&(jQuery(o).each(function(o,e){var r=e.attributes;n=0,jQuery(r).each(function(o,e){jQuery(e).each(function(o,r){jQuery(u).each(function(o,e){r[e[0]]!=e[1]&&""!=r[e[0]]||n++})})}),_<=n&&(m=e)}),sb_woo_product_thumb_replace_by_url(void 0!==m.image?m.image.full_src:jQuery(".sb_woo_product_thumb_col_num_1 a").data("large_image"),jQuery(".sb_woo_product_image_container")))}function sb_woo_product_thumb_replace_by_url(o,e){var r;jQuery(".single-product .sb_woo_product_image img").attr("src")!=o&&(0==(r=e.closest(".sb_woo_product_image_container")).length&&(r=jQuery(".sb_woo_product_image_container")),r.length&&(r.find(".sb_woo_product_image img").trigger("zoom.destroy"),r.find(".sb_woo_product_image img.zoomImg").remove(),e=r.find(".sb_woo_product_image img").height(),r.find(".sb_woo_product_image").css("height",e+"px"),r.find(".sb_woo_product_image img").fadeOut(400,function(){r.find(".sb_woo_product_image img").attr("src",o),r.find(".sb_woo_product_image").imagesLoaded(function(){var o=r.find(".sb_woo_product_image img").height();r.find(".sb_woo_product_image").css("height",o+"px"),r.find(".sb_woo_product_image img").fadeIn(400,function(){r.find(".sb_woo_product_image").hasClass("sb_woo_image_disable_zoom")?r.find(".sb_woo_product_image").hasClass("sb_woo_image_disable_lightbox")||jQuery(".sb_woo_product_image").colorbox({href:r.find(".sb_woo_product_image img").attr("src")}):r.find(".sb_woo_product_image").zoom({callback:function(){r.find(".sb_woo_product_image").hasClass("sb_woo_image_disable_lightbox")||jQuery(this).colorbox({href:r.find(".sb_woo_product_image img").attr("src")})}})})})})))}function sb_woo_product_thumb_replace(o){sb_woo_product_thumb_replace_by_url(o.data("large_image"),o)}jQuery(document).ready(function(){var o;jQuery(".single-product .sb_woo_product_image").length&&(jQuery(".single-product .sb_woo_product_image").hasClass("sb_woo_image_disable_zoom")?jQuery(".single-product .sb_woo_product_image").hasClass("sb_woo_image_disable_lightbox")||jQuery(".sb_woo_product_image").colorbox({href:jQuery(".single-product .sb_woo_product_image img").attr("src")}):jQuery(".single-product .sb_woo_product_image").zoom({callback:function(){jQuery(".single-product .sb_woo_product_image").hasClass("sb_woo_image_disable_lightbox")||jQuery(this).colorbox({href:jQuery(".single-product .sb_woo_product_image img").attr("src")})}})),jQuery(".single-product .cart.variations_form")&&jQuery(".single-product .cart.variations_form .variations .value select").each(function(o,e){jQuery(this).change(function(){sb_woo_variation_image()})}),jQuery(".woocommerce-remove-coupon").length&&jQuery(".et_pb_woo_checkout_coupon").slideUp(),jQuery(document.body).on("wc_fragments_refreshed",function(){}),jQuery("body").hasClass("wli_injected")&&(0<jQuery(".wpcf7").length&&((o=document.body.className.match(/(^|\s)postid-(\d+)(\s|$)/))&&(jQuery("input[name='_wpcf7_container_post']").val(o[2]),jQuery(".wpcf7-submit").addClass("button"),jQuery(".wpcf7-form > p").addClass("form-row"),jQuery(".wpcf7-form > p .wpcf7-form-control-wrap input").addClass("input-text"))),jQuery(document.body).on("added_to_cart",function(){setTimeout(function(){jQuery(".added_to_cart").addClass("button")},50)}),jQuery(document.body).on("wc_fragments_loaded",function(){wli_refresh_cart_count()}),jQuery(document.body).on("wc_fragments_refreshed",function(){wli_refresh_cart_count()}),jQuery(document.body).on("checkout_error",function(){jQuery(".woocommerce-NoticeGroup").length&&(sb_woo_popup_notice(jQuery(".woocommerce-NoticeGroup").html()),setTimeout(function(){jQuery(".woocommerce-NoticeGroup").remove()},250))}),jQuery(document.body).on("updated_wc_div",function(){jQuery(".woocommerce .woocommerce-error").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-error")),jQuery(".entry-content .woocommerce .woocommerce-error").remove()),jQuery(".woocommerce .woocommerce-message").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-message").clone().wrap("<div />")),jQuery(".entry-content .woocommerce .woocommerce-message").remove()),0<jQuery(".cart-empty").length&&jQuery(".et_pb_woo_cart_totals").remove()}),jQuery(document.body).on("applied_coupon",function(){jQuery(".woocommerce .woocommerce-error").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-error")),jQuery(".entry-content .woocommerce .woocommerce-error").remove())}),jQuery(document.body).on("removed_coupon",function(){jQuery(".woocommerce .woocommerce-message").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-message").clone().wrap("<div />")),jQuery(".entry-content .woocommerce .woocommerce-message").remove())}),jQuery(document.body).on("update_checkout",function(){jQuery(".wli_wrapper_checkout-form-coupon .woocommerce-error").length?(sb_woo_popup_notice(jQuery(".wli_wrapper_checkout-form-coupon .woocommerce-error").clone().wrap("<div />")),jQuery(".et_pb_woo_checkout_coupon").slideDown()):jQuery(".wli_wrapper_checkout-form-coupon .woocommerce-message").length?(sb_woo_popup_notice(jQuery(".wli_wrapper_checkout-form-coupon .woocommerce-message").clone().wrap("<div />")),jQuery(".coupon-module").val(""),jQuery(".woocommerce-remove-coupon").length?jQuery(".et_pb_woo_checkout_coupon").slideDown():jQuery(".et_pb_woo_checkout_coupon").slideUp()):jQuery(".woocommerce .woocommerce-message").length&&(sb_woo_popup_notice(jQuery(".woocommerce .woocommerce-message").clone().wrap("<div />")),setTimeout(function(){jQuery(".entry-content > .woocommerce > .woocommerce-message").remove()},250))}))});
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){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);
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(f){f.fn.FormFieldDependency=function(e){function c(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 o(e,t){return 0<=f.inArray(e,t)&&f.isArray(t)}function u(e){if("null"==typeof e||void 0===e)return 1;if("string"==typeof e)return""==f.trim(e);if("object"==(void 0===e?"undefined":_typeof(e))){if(f.isArray(e)){var t=f.map(e,function(e,t){return""==f.trim(e)?null:e});return f.isEmptyObject(t)}return f.isEmptyObject(e)}}function p(t,a,s,e){if(void 0===e&&(e=!1),void 0===f(s).prop("tagName"))return!1;var n=f(s).prop("tagName").toLowerCase()+":"+f(s).prop("type").toLowerCase(),r=f.trim(f(s).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 i=void 0===a.modifier?"":a.modifier;new RegExp(a.pattern,i).test(r)?f(t).show():f(t).hide()}e&&f(document.body).on("input",f(s),function(e){p(t,a,s,!1)})}function i(t,a,s,e){if(void 0===e&&(e=!1),void 0===f(s).prop("tagName"))return!1;var n=f(s).prop("tagName").toLowerCase()+":"+f(s).prop("type").toLowerCase(),r=f(s).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":""==f.trim(r)?f(t).show():f(t).hide();break;case"input:checkbox":f(s).is(":checked")&&""!=f.trim(r)?f(t).hide():f(t).show();break;case"select:select-multiple":u(r)?f(t).show():f(t).hide()}e&&f(document.body).on("input change",f(s),function(e){i(t,a,s,!1)})}function l(t,a,s,e){if(void 0===e&&(e=!1),void 0===f(s).prop("tagName"))return!1;var n=f(s).prop("tagName").toLowerCase()+":"+f(s).prop("type").toLowerCase(),r=f(s).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":""!=f.trim(r)?f(t).show():f(t).hide();break;case"input:checkbox":f(s).is(":checked")&&""!=f.trim(r)?f(t).show():f(t).hide();break;case"select:select-multiple":u(r)?f(t).hide():f(t).show()}e&&f(document.body).on("input change",f(s),function(e){l(t,a,s,!1)})}function h(t,a,s,e){if(void 0===e&&(e=!1),void 0===f(s).prop("tagName"))return!1;var n=f(s).prop("tagName").toLowerCase()+":"+f(s).prop("type").toLowerCase(),r=f(s).val(),i=void 0!==a.like;switch(a.empty=void 0!==a.empty&&a.empty,a.strict=void 0!==a.strict&&a.strict,i&&("input:checkbox"==(i=f(a.like).prop("tagName").toLowerCase()+":"+f(a.like).prop("type").toLowerCase())||"input:radio"==i?a.value=f(a.like+":checked").map(function(){return this.value}).get():(a.value=f(a.like).val(),showOnEmptyValue||(a.value=""==f.trim(f(a.like).val())?null:f(a.like).val()))),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":f.trim(r)==a.value||o(r,a.value)||""==f.trim(r)&&a.empty?f(t).show():f(t).hide();break;case"input:checkbox":case"input:radio":(r=f(s+":checked").map(function(){return this.value}).get())==a.value||o(r,a.value)||c(r,a.value,a.strict)||u(r)&&a.empty?f(t).show():f(t).hide();break;case"select:select-multiple":c(r,a.value,a.strict)||null==r&&a.empty?f(t).show():f(t).hide()}e&&f(document.body).on("input change",f(s),function(e){h(t,a,s,!1)})}function d(t,a,s,e){if(void 0===e&&(e=!1),void 0===f(s).prop("tagName"))return!1;var n=f(s).prop("tagName").toLowerCase()+":"+f(s).prop("type").toLowerCase(),r=f(s).val(),i=void 0!==a.like;switch(a.strict=void 0!==a.strict&&a.strict,a.empty=void 0===a.empty||a.empty,i&&("input:checkbox"==(i=f(a.like).prop("tagName").toLowerCase()+":"+f(a.like).prop("type").toLowerCase())||"input:radio"==i?a.value=f(a.like+":checked").map(function(){return this.value}).get():(a.value=f(a.like).val(),showOnEmptyValue||(a.value=""==f.trim(f(a.like).val())?null:f(a.like).val()))),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!=a.value&&!o(r,a.value)&&(""!=f.trim(r)||a.empty)?f(t).show():f(t).hide();break;case"input:checkbox":case"input:radio":r=f(s+":checked").map(function(){return this.value}).get(),void 0===a.strict&&(a.strict=!1),r==a.value||o(r,a.value)||c(r,a.value,a.strict)||u(r)&&!a.empty?f(t).hide():f(t).show();break;case"select:select-multiple":!c(r,a.value,a.strict)&&(null!=r||a.empty)?f(t).show():f(t).hide()}e&&f(document.body).on("input change",f(s),function(e){d(t,a,s,!1)})}function r(t,a,s,e){if(void 0===e&&(e=!1),void 0===f(s).prop("tagName"))return!1;f(s).prop("tagName").toLowerCase(),f(s).prop("type").toLowerCase();var n=parseInt(f(s).val());switch(a.value=parseInt(a.value),a.sign){case"<":case"lt":case"lessthen":case"less-then":case"LessThen":n<a.value?f(t).show():f(t).hide();break;case"<=":case"lteq":case"lessthenequal":case"less-then-equal":case"LessThenEqual":case"eqlt":n<=a.value?f(t).show():f(t).hide();break;case">=":case"gteq":case"greaterthenequal":case"greater-then-equal":case"GreaterThenEqual":case"eqgt":n>=a.value?f(t).show():f(t).hide();break;case">":case"gt":case"greaterthen":case"greater-then":case"GreaterThen":n>a.value?f(t).show():f(t).hide()}e&&f(document.body).on("input change",f(s),function(e){r(t,a,s,!1)})}function v(t,a,s,e){if(void 0===e&&(e=!1),void 0===f(s).prop("tagName"))return!1;f(s).prop("tagName").toLowerCase(),f(s).prop("type").toLowerCase();var n,r,i=parseInt(f(s).val());f.isArray(a.value)&&(n=parseInt(a.value[0]),r=parseInt(a.value[1])),void 0===a.value&&(n=parseInt(a.min),r=parseInt(a.max)),n<i&&i<r?f(t).show():f(t).hide(),e&&f(document.body).on("input change",f(s),function(e){v(t,a,s,!1)})}function m(t,a,s,e){if(void 0===e&&(e=!1),void 0===f(s).prop("tagName"))return!1;f(s).prop("tagName").toLowerCase(),f(s).prop("type").toLowerCase();var n=f(s).val().length;switch(a.value=parseInt(a.value),a.sign){case"<":case"lt":case"lessthen":case"less-then":case"LessThen":n<a.value?f(t).show():f(t).hide();break;case"<=":case"lteq":case"lessthenequal":case"less-then-equal":case"LessThenEqual":case"eqlt":n<=a.value?f(t).show():f(t).hide();break;case">=":case"gteq":case"greaterthenequal":case"greater-then-equal":case"GreaterThenEqual":case"eqgt":n>=a.value?f(t).show():f(t).hide();break;case">":case"gt":case"greaterthen":case"greater-then":case"GreaterThen":n>a.value?f(t).show():f(t).hide()}e&&f(document.body).on("input change",f(s),function(e){m(t,a,s,!1)})}function a(a,e){f.each(e,function(e,t){switch(t.type){case"empty":i(a,t,e,!0);break;case"notempty":case"not-empty":case"notEmpty":case"!empty":l(a,t,e,!0);break;case"equal":case"==":case"=":h(a,t,e,!0);break;case"!equal":case"notequal":case"!=":case"not-equal":case"notEqual":d(a,t,e,!0);break;case"regexp":case"expression":case"reg":case"exp":p(a,t,e,!0);break;case"compare":case"comp":r(a,t,e,!0);break;case"length":case"lng":m(a,t,e,!0);break;case"range":v(a,t,e,!0)}})}var t=f.extend({attribute:"wvsdepends",rules:{}},e);return e=t.rules,f.each(e,function(e,t){a(f(e),t)}),this.each(function(){var e=f(this).data(t.attribute.replace("data-","").trim());e&&(f(this).addClass("has-dependent-data"),f.each(e,function(e,t){a(f(this),t)}.bind(this)))})}}(jQuery);
assets/js/frontend.js CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:21 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
@@ -301,7 +301,11 @@ var WooVariationSwatches = function ($) {
301
  }
302
 
303
  // Default Selected
304
- if (in_stocks.includes(attribute_value)) {
 
 
 
 
305
 
306
  $(this).removeClass('selected disabled');
307
  $(this).removeAttr('aria-hidden');
@@ -562,8 +566,12 @@ var WooVariationSwatches = function ($) {
562
  // if (_.indexOf(selects, value) !== -1)
563
  // if (selects.includes(value))
564
 
 
 
 
 
565
  // Make Selected // selects.includes(attribute_value) // in_stocks
566
- if (in_stocks.includes(attribute_value)) {
567
 
568
  $(this).removeClass('selected disabled');
569
  $(this).removeAttr('aria-hidden');
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:49 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
301
  }
302
 
303
  // Default Selected
304
+ // We can't use es6 includes for IE11
305
+ // in_stocks.includes(attribute_value)
306
+ // _.contains(in_stocks, attribute_value)
307
+
308
+ if (_.contains(in_stocks, attribute_value)) {
309
 
310
  $(this).removeClass('selected disabled');
311
  $(this).removeAttr('aria-hidden');
566
  // if (_.indexOf(selects, value) !== -1)
567
  // if (selects.includes(value))
568
 
569
+ // We can't use es6 includes for IE11
570
+ // in_stocks.includes(attribute_value)
571
+ // _.contains(in_stocks, attribute_value)
572
+
573
  // Make Selected // selects.includes(attribute_value) // in_stocks
574
+ if (_.contains(in_stocks, attribute_value)) {
575
 
576
  $(this).removeClass('selected disabled');
577
  $(this).removeAttr('aria-hidden');
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.wvs",".variations_form:not(.wvs-loaded)",function(i){t(this).WooVariationSwatches()}),t(document.body).on("post-load.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("yith_infs_added_elem.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("yith-wcan-ajax-filtered.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("wood-images-loaded.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("berocket_ajax_products_loaded.wvs",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.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t("body").on("aln_reloaded.wvs",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._disabled={},this.product_variations=this._element.data("product_variations")||[],this.is_ajax_variation=this.product_variations.length<1,this.product_id=this._element.data("product_id"),this.reset_variations=this._element.find(".reset_variations"),this.is_mobile=t("body").hasClass("woo-variation-swatches-on-mobile"),this.selected_item_template='<span class="woo-selected-variation-item-name" data-default=""></span>',this._element.addClass("wvs-loaded"),this.init(),this.update(),t(document).trigger("woo_variation_swatches",[this._element])}return a(e,[{key:"init",value:function(){var i=this,e=this;this._generated=this.product_variations.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},{}),this._out_of_stock=this.product_variations.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},{}),woo_variation_swatches_options.show_variation_label&&this._element.find(".variations .label").each(function(e,a){t(a).append(i.selected_item_template)}),this._element.find("ul.variable-items-wrapper").each(function(i,a){t(this).parent().addClass("woo-variation-items-wrapper");var o=t(this).siblings("select.woo-variation-raw-select"),s="",n=t(this).siblings("select.woo-variation-raw-select").find("option"),r=t(this).siblings("select.woo-variation-raw-select").find("option:disabled"),c=t(this).siblings("select.woo-variation-raw-select").find("option:selected"),l=t(this).siblings("select.woo-variation-raw-select").find("option").eq(1),d=t(this).find("li:not(.woo-variation-swatches-variable-item-more)"),h=t(this).hasClass("reselect-clear"),v=t(this).data("attribute_name"),u=(e.is_ajax_variation||e._generated[v],e.is_ajax_variation||e._out_of_stock[v],[]),f=[],w=t(this).parent().prev().find(".woo-selected-variation-item-name");n.length<1&&(o=t(this).parent().find("select.woo-variation-raw-select"),n=t(this).parent().find("select.woo-variation-raw-select").find("option"),r=t(this).parent().find("select.woo-variation-raw-select").find("option:disabled"),c=t(this).parent().find("select.woo-variation-raw-select").find("option:selected"),l=t(this).parent().find("select.woo-variation-raw-select").find("option").eq(1)),n.each(function(){""!==t(this).val()&&(u.push(t(this).val()),s=c?c.val():l.val())}),r.each(function(){""!==t(this).val()&&f.push(t(this).val())});var p=_.difference(u,f);d.each(function(i,e){var a=t(this).attr("data-value"),o=t(this).attr("data-title");t(this).removeClass("selected disabled").addClass("disabled"),t(this).attr("aria-checked","false"),t(this).attr("tabindex","-1"),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!0).prop("checked",!1),p.includes(a)&&(t(this).removeClass("selected disabled"),t(this).removeAttr("aria-hidden"),t(this).attr("tabindex","0"),t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1),a===s&&(t(this).addClass("selected"),t(this).attr("aria-checked","true"),woo_variation_swatches_options.show_variation_label&&w.text(": "+o),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("checked",!0)))}),h?(t(this).on("click.wvs","li:not(.selected):not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(i){i.preventDefault(),i.stopPropagation();var a=t(this).data("value");o.val(a).trigger("change"),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.trigger("touchstart"),t(this).trigger("focus"),t(this).trigger("wvs-selected-item",[a,o,e._element])}),t(this).on("click.wvs","li.selected:not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(i){i.preventDefault(),i.stopPropagation();var a=t(this).val();o.val("").trigger("change"),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.trigger("touchstart"),t(this).trigger("focus"),t(this).trigger("wvs-unselected-item",[a,o,e._element])}),t(this).on("click.wvs","input.wvs-radio-variable-item:radio",function(i){i.stopPropagation(),t(this).trigger("change.wvs",{radioChange:!0})}),t(this).on("change.wvs","input.wvs-radio-variable-item:radio",function(i,a){if(i.preventDefault(),i.stopPropagation(),a&&a.radioChange){var s=t(this).val();t(this).parent("li.radio-variable-item").hasClass("selected")?(o.val("").trigger("change"),t(this).parent("li.radio-variable-item").trigger("wvs-unselected-item",[s,o,e._element])):(o.val(s).trigger("change"),t(this).parent("li.radio-variable-item").trigger("wvs-selected-item",[s,o,e._element])),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.trigger("touchstart")}})):(t(this).on("click.wvs","li:not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(i){i.preventDefault(),i.stopPropagation();var a=t(this).data("value");o.val(a).trigger("change"),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.trigger("touchstart"),t(this).trigger("focus"),t(this).trigger("wvs-selected-item",[a,o,e._element])}),t(this).on("change.wvs","input.wvs-radio-variable-item:radio",function(i){i.preventDefault(),i.stopPropagation();var a=t(this).val();o.val(a).trigger("change"),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.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",[a,o,e._element])})),t(this).on("keydown.wvs","li:not(.disabled):not(.woo-variation-swatches-variable-item-more)",function(i){(i.keyCode&&32===i.keyCode||i.key&&" "===i.key||i.keyCode&&13===i.keyCode||i.key&&"enter"===i.key.toLowerCase())&&(i.preventDefault(),t(this).trigger("click.wvs"))})}),this._element.trigger("woo_variation_swatches_init",[this,this.product_variations]),t(document).trigger("woo_variation_swatches_loaded",[this._element,this.product_variations])}},{key:"update",value:function(){var i=this;this._element.on("woocommerce_variation_has_changed.wvs",function(e){e.stopPropagation(),t(this).find("ul.variable-items-wrapper").each(function(e,a){t(this).siblings("select.woo-variation-raw-select");var o="",s=t(this).siblings("select.woo-variation-raw-select").find("option"),n=t(this).siblings("select.woo-variation-raw-select").find("option:disabled"),r=t(this).siblings("select.woo-variation-raw-select").find("option:selected"),c=t(this).siblings("select.woo-variation-raw-select").find("option").eq(1),l=t(this).find("li:not(.woo-variation-swatches-variable-item-more)"),d=t(this).data("attribute_name"),h=(i.is_ajax_variation||i._generated[d],i.is_ajax_variation||i._out_of_stock[d],[]),v=[],u=t(this).parent().prev().find(".woo-selected-variation-item-name");s.length<1&&(t(this).parent().find("select.woo-variation-raw-select"),s=t(this).parent().find("select.woo-variation-raw-select").find("option"),n=t(this).parent().find("select.woo-variation-raw-select").find("option:disabled"),r=t(this).parent().find("select.woo-variation-raw-select").find("option:selected"),c=t(this).parent().find("select.woo-variation-raw-select").find("option").eq(1)),s.each(function(){""!==t(this).val()&&(h.push(t(this).val()),o=r?r.val():c.val())}),n.each(function(){""!==t(this).val()&&v.push(t(this).val())});var f=_.difference(h,v);i.is_ajax_variation?l.each(function(e,a){var s=t(this).attr("data-value"),n=t(this).attr("data-title");t(this).removeClass("selected disabled"),t(this).attr("aria-checked","false"),o.length<1&&woo_variation_swatches_options.show_variation_label&&u.text(""),s===o&&(t(this).addClass("selected"),t(this).attr("aria-checked","true"),woo_variation_swatches_options.show_variation_label&&u.text(": "+n),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1).prop("checked",!0)),t(this).trigger("wvs-item-updated",[o,s,i])}):l.each(function(e,a){var s=t(this).attr("data-value"),n=t(this).attr("data-title");t(this).removeClass("selected disabled").addClass("disabled"),t(this).attr("aria-checked","false"),t(this).attr("tabindex","-1"),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!0).prop("checked",!1),f.includes(s)&&(t(this).removeClass("selected disabled"),t(this).removeAttr("aria-hidden"),t(this).attr("tabindex","0"),t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1),o.length<1&&woo_variation_swatches_options.show_variation_label&&u.text(""),s===o&&(t(this).addClass("selected"),t(this).attr("aria-checked","true"),woo_variation_swatches_options.show_variation_label&&u.text(": "+n),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("checked",!0))),t(this).trigger("wvs-item-updated",[o,s,i])}),t(this).trigger("wvs-items-updated")})})}}],[{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(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.wvs",".variations_form:not(.wvs-loaded)",function(i){t(this).WooVariationSwatches()}),t(document.body).on("post-load.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("yith_infs_added_elem.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("yith-wcan-ajax-filtered.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("wood-images-loaded.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t(document).on("berocket_ajax_products_loaded.wvs",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.wvs",function(){t(".variations_form").each(function(){t(this).wc_variation_form()})}),t("body").on("aln_reloaded.wvs",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._disabled={},this.product_variations=this._element.data("product_variations")||[],this.is_ajax_variation=this.product_variations.length<1,this.product_id=this._element.data("product_id"),this.reset_variations=this._element.find(".reset_variations"),this.is_mobile=t("body").hasClass("woo-variation-swatches-on-mobile"),this.selected_item_template='<span class="woo-selected-variation-item-name" data-default=""></span>',this._element.addClass("wvs-loaded"),this.init(),this.update(),t(document).trigger("woo_variation_swatches",[this._element])}return a(e,[{key:"init",value:function(){var i=this,e=this;this._generated=this.product_variations.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},{}),this._out_of_stock=this.product_variations.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},{}),woo_variation_swatches_options.show_variation_label&&this._element.find(".variations .label").each(function(e,a){t(a).append(i.selected_item_template)}),this._element.find("ul.variable-items-wrapper").each(function(i,a){t(this).parent().addClass("woo-variation-items-wrapper");var o=t(this).siblings("select.woo-variation-raw-select"),s="",n=t(this).siblings("select.woo-variation-raw-select").find("option"),r=t(this).siblings("select.woo-variation-raw-select").find("option:disabled"),c=t(this).siblings("select.woo-variation-raw-select").find("option:selected"),l=t(this).siblings("select.woo-variation-raw-select").find("option").eq(1),d=t(this).find("li:not(.woo-variation-swatches-variable-item-more)"),h=t(this).hasClass("reselect-clear"),v=t(this).data("attribute_name"),u=(e.is_ajax_variation||e._generated[v],e.is_ajax_variation||e._out_of_stock[v],[]),f=[],w=t(this).parent().prev().find(".woo-selected-variation-item-name");n.length<1&&(o=t(this).parent().find("select.woo-variation-raw-select"),n=t(this).parent().find("select.woo-variation-raw-select").find("option"),r=t(this).parent().find("select.woo-variation-raw-select").find("option:disabled"),c=t(this).parent().find("select.woo-variation-raw-select").find("option:selected"),l=t(this).parent().find("select.woo-variation-raw-select").find("option").eq(1)),n.each(function(){""!==t(this).val()&&(u.push(t(this).val()),s=c?c.val():l.val())}),r.each(function(){""!==t(this).val()&&f.push(t(this).val())});var p=_.difference(u,f);d.each(function(i,e){var a=t(this).attr("data-value"),o=t(this).attr("data-title");t(this).removeClass("selected disabled").addClass("disabled"),t(this).attr("aria-checked","false"),t(this).attr("tabindex","-1"),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!0).prop("checked",!1),_.contains(p,a)&&(t(this).removeClass("selected disabled"),t(this).removeAttr("aria-hidden"),t(this).attr("tabindex","0"),t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1),a===s&&(t(this).addClass("selected"),t(this).attr("aria-checked","true"),woo_variation_swatches_options.show_variation_label&&w.text(": "+o),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("checked",!0)))}),h?(t(this).on("click.wvs","li:not(.selected):not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(i){i.preventDefault(),i.stopPropagation();var a=t(this).data("value");o.val(a).trigger("change"),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.trigger("touchstart"),t(this).trigger("focus"),t(this).trigger("wvs-selected-item",[a,o,e._element])}),t(this).on("click.wvs","li.selected:not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(i){i.preventDefault(),i.stopPropagation();var a=t(this).val();o.val("").trigger("change"),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.trigger("touchstart"),t(this).trigger("focus"),t(this).trigger("wvs-unselected-item",[a,o,e._element])}),t(this).on("click.wvs","input.wvs-radio-variable-item:radio",function(i){i.stopPropagation(),t(this).trigger("change.wvs",{radioChange:!0})}),t(this).on("change.wvs","input.wvs-radio-variable-item:radio",function(i,a){if(i.preventDefault(),i.stopPropagation(),a&&a.radioChange){var s=t(this).val();t(this).parent("li.radio-variable-item").hasClass("selected")?(o.val("").trigger("change"),t(this).parent("li.radio-variable-item").trigger("wvs-unselected-item",[s,o,e._element])):(o.val(s).trigger("change"),t(this).parent("li.radio-variable-item").trigger("wvs-selected-item",[s,o,e._element])),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.trigger("touchstart")}})):(t(this).on("click.wvs","li:not(.radio-variable-item):not(.woo-variation-swatches-variable-item-more)",function(i){i.preventDefault(),i.stopPropagation();var a=t(this).data("value");o.val(a).trigger("change"),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.trigger("touchstart"),t(this).trigger("focus"),t(this).trigger("wvs-selected-item",[a,o,e._element])}),t(this).on("change.wvs","input.wvs-radio-variable-item:radio",function(i){i.preventDefault(),i.stopPropagation();var a=t(this).val();o.val(a).trigger("change"),o.trigger("click"),o.trigger("focusin"),e.is_mobile&&o.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",[a,o,e._element])})),t(this).on("keydown.wvs","li:not(.disabled):not(.woo-variation-swatches-variable-item-more)",function(i){(i.keyCode&&32===i.keyCode||i.key&&" "===i.key||i.keyCode&&13===i.keyCode||i.key&&"enter"===i.key.toLowerCase())&&(i.preventDefault(),t(this).trigger("click.wvs"))})}),this._element.trigger("woo_variation_swatches_init",[this,this.product_variations]),t(document).trigger("woo_variation_swatches_loaded",[this._element,this.product_variations])}},{key:"update",value:function(){var i=this;this._element.on("woocommerce_variation_has_changed.wvs",function(e){e.stopPropagation(),t(this).find("ul.variable-items-wrapper").each(function(e,a){t(this).siblings("select.woo-variation-raw-select");var o="",s=t(this).siblings("select.woo-variation-raw-select").find("option"),n=t(this).siblings("select.woo-variation-raw-select").find("option:disabled"),r=t(this).siblings("select.woo-variation-raw-select").find("option:selected"),c=t(this).siblings("select.woo-variation-raw-select").find("option").eq(1),l=t(this).find("li:not(.woo-variation-swatches-variable-item-more)"),d=t(this).data("attribute_name"),h=(i.is_ajax_variation||i._generated[d],i.is_ajax_variation||i._out_of_stock[d],[]),v=[],u=t(this).parent().prev().find(".woo-selected-variation-item-name");s.length<1&&(t(this).parent().find("select.woo-variation-raw-select"),s=t(this).parent().find("select.woo-variation-raw-select").find("option"),n=t(this).parent().find("select.woo-variation-raw-select").find("option:disabled"),r=t(this).parent().find("select.woo-variation-raw-select").find("option:selected"),c=t(this).parent().find("select.woo-variation-raw-select").find("option").eq(1)),s.each(function(){""!==t(this).val()&&(h.push(t(this).val()),o=r?r.val():c.val())}),n.each(function(){""!==t(this).val()&&v.push(t(this).val())});var f=_.difference(h,v);i.is_ajax_variation?l.each(function(e,a){var s=t(this).attr("data-value"),n=t(this).attr("data-title");t(this).removeClass("selected disabled"),t(this).attr("aria-checked","false"),o.length<1&&woo_variation_swatches_options.show_variation_label&&u.text(""),s===o&&(t(this).addClass("selected"),t(this).attr("aria-checked","true"),woo_variation_swatches_options.show_variation_label&&u.text(": "+n),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1).prop("checked",!0)),t(this).trigger("wvs-item-updated",[o,s,i])}):l.each(function(e,a){var s=t(this).attr("data-value"),n=t(this).attr("data-title");t(this).removeClass("selected disabled").addClass("disabled"),t(this).attr("aria-checked","false"),t(this).attr("tabindex","-1"),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!0).prop("checked",!1),_.contains(f,s)&&(t(this).removeClass("selected disabled"),t(this).removeAttr("aria-hidden"),t(this).attr("tabindex","0"),t(this).find("input.wvs-radio-variable-item:radio").prop("disabled",!1),o.length<1&&woo_variation_swatches_options.show_variation_label&&u.text(""),s===o&&(t(this).addClass("selected"),t(this).attr("aria-checked","true"),woo_variation_swatches_options.show_variation_label&&u.text(": "+n),t(this).hasClass("radio-variable-item")&&t(this).find("input.wvs-radio-variable-item:radio").prop("checked",!0))),t(this).trigger("wvs-item-updated",[o,s,i])}),t(this).trigger("wvs-items-updated")})})}}],[{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)}});
assets/js/gwp-admin.js CHANGED
@@ -1,8 +1,8 @@
1
  /*!
2
- * Variation Swatches for WooCommerce v1.1.0
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 10/27/2020, 8:26:21 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
1
  /*!
2
+ * Variation Swatches for WooCommerce v1.1.1
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 11/16/2020, 8:52:49 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(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,_);
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){e=n.extend({},n.GWPBackboneModal.defaultOptions,e);e.template&&new n.GWPBackboneModal.View({target:e.template,string:e.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" />',e='<div class="wp-picker-container" />',a='<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(e),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(a).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(e),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(a)),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:"100%",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),o.element.trigger("change")):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")),e=o.find(".iris-slider-offset-alpha"),a={aContainer:o,aSlider:e};void 0!==t.data("custom-width")?r.options.customWidth=parseInt(t.data("custom-width"))||0:r.options.customWidth=100,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(a,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,e=parseInt(100*t._color._alpha),a=t._color.toRgb(),i=["rgb("+a.r+","+a.g+","+a.b+") 0%","rgba("+a.r+","+a.g+","+a.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",e),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()}),o.trigger("change")},_addInputListeners:function(e){function t(t){var o=new Color(e.val()),r=e.val();e.removeClass("iris-error"),o.error?""!==r&&e.addClass("iris-error"):o.toString()!==a._color.toString()&&("keyup"===t.type&&r.match(/^[0-9a-fA-F]{3}$/)||a._setOption("color",o.toString()))}var a=this;e.on("change",t).on("keyup",a._debounce(t,100)),a.options.hide&&e.on("focus",function(){a.show()})}})}}(jQuery);
1
+ !function(n){var s,o,e,a,i,l,p,c;n.wp.wpColorPicker.prototype._hasAlpha||(s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==",o='<div class="wp-picker-holder" />',e='<div class="wp-picker-container" />',a='<input type="button" class="button button-small" />',(i=void 0!==wpColorPickerL10n.current)?l='<a tabindex="0" class="wp-color-result" />':(l='<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>',p="<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)},n.widget("wp.wpColorPicker",n.wp.wpColorPicker,{_hasAlpha:!0,_create:function(){if(n.support.iris){var r=this,t=r.element;if(n.extend(r.options,t.data()),"hue"===r.options.type)return r._createHueOnly();r.close=n.proxy(r.close,r),r.initialValue=t.val(),t.addClass("wp-color-picker"),i?(t.hide().wrap(e),r.wrap=t.parent(),r.toggler=n(l).insertBefore(t).css({backgroundColor:r.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),r.pickerContainer=n(o).insertAfter(t),r.button=n(a).addClass("hidden")):(t.parent("label").length||(t.wrap(p),r.wrappingLabelText=n(c).insertBefore(t).text(wpColorPickerL10n.defaultLabel)),r.wrappingLabel=t.parent(),r.wrappingLabel.wrap(e),r.wrap=r.wrappingLabel.parent(),r.toggler=n(l).insertBefore(r.wrappingLabel).css({backgroundColor:r.initialValue}),r.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),r.pickerContainer=n(o).insertAfter(r.wrappingLabel),r.button=n(a)),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("+s+")"}),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:"100%",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()}),n.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){""!==n(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",""),n.isFunction(o.options.clear)&&o.options.clear.call(this,t))}),o.button.on("click",function(t){n(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",""),n.isFunction(o.options.clear)&&o.options.clear.call(this,t),o.element.trigger("change")):n(this).hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})}}),n.widget("a8c.iris",n.a8c.iris,{_create:function(){var r,t,o,e,a,i;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&&(t=(r=this).element,e=(o=n('<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"))).find(".iris-slider-offset-alpha"),e={aContainer:o,aSlider:e},void 0!==t.data("custom-width")?r.options.customWidth=parseInt(t.data("custom-width"))||0:r.options.customWidth=100,r.options.defaultWidth=t.width(),(r._color._alpha<1||-1!=r._color.toString().indexOf("rgb"))&&t.width(parseInt(r.options.defaultWidth+r.options.customWidth)),n.each(e,function(t,o){r.controls[t]=o}),r.controls.square.css({"margin-right":"0"}),e=r.picker.width()-r.controls.square.width()-20,i=e/2-(a=e/6),n.each(["aContainer","strip"],function(t,o){r.controls[o].width(i).css({"margin-left":a+"px"})}),r._initControls(),r._change())},_initControls:function(){var r;this._super(),this.options.alpha&&(r=this).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,o,r,e,a,i,n=this,l=n.element;this.options.alpha&&(t=n.controls,o=parseInt(100*n._color._alpha),r=["rgb("+(i=n._color.toRgb()).r+","+i.g+","+i.b+") 0%","rgba("+i.r+","+i.g+","+i.b+", 0) 100%"],e=n.options.defaultWidth,a=n.options.customWidth,i=n.picker.closest(".wp-picker-container").find(".wp-color-result"),t.aContainer.css({background:"linear-gradient(to bottom, "+r.join(", ")+"), url("+s+")"}),i.hasClass("wp-picker-open")&&(t.aSlider.slider("value",o),n._color._alpha<1?(t.strip.attr("style",t.strip.attr("style").replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g,"rgb($1$3$5)")),l.width(parseInt(e+a))):l.width(e))),l.data("reset-alpha")&&n.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){n._color._alpha=1,n.active="external",n._change()}),l.trigger("change")},_addInputListeners:function(e){function t(t){var o=new Color(e.val()),r=e.val();e.removeClass("iris-error"),o.error?""!==r&&e.addClass("iris-error"):o.toString()!==a._color.toString()&&("keyup"===t.type&&r.match(/^[0-9a-fA-F]{3}$/)||a._setOption("color",o.toString()))}var a=this;e.on("change",t).on("keyup",a._debounce(t,100)),a.options.hide&&e.on("focus",function(){a.show()})}}))}(jQuery);
assets/js/wvs-customize-alpha-color-control.js DELETED
@@ -1,49 +0,0 @@
1
- /*global wp*/
2
- var WVS_Customize_Alpha_Color_Control = {
3
- ready: function ready() {
4
-
5
- var control = this,
6
- updating = false,
7
- picker = void 0;
8
-
9
- picker = this.container.find('.wvs-color-picker');
10
- picker.val(control.setting()).wpColorPicker({
11
- change: function change() {
12
- updating = true;
13
- control.setting.set(picker.wpColorPicker('color'));
14
- updating = false;
15
- },
16
- clear: function clear() {
17
- updating = true;
18
- control.setting.set('');
19
- updating = false;
20
- }
21
- });
22
-
23
- control.setting.bind(function (value) {
24
- // Bail if the update came from the control itself.
25
- if (updating) {
26
- return;
27
- }
28
- picker.val(value);
29
- picker.wpColorPicker('color', value);
30
- });
31
-
32
- // Collapse color picker when hitting Esc instead of collapsing the current section.
33
- control.container.on('keydown', function (event) {
34
- var pickerContainer = void 0;
35
- if (27 !== event.which) {
36
- // Esc.
37
- return;
38
- }
39
- pickerContainer = control.container.find('.wp-picker-container');
40
- if (pickerContainer.hasClass('wp-picker-active')) {
41
- picker.wpColorPicker('close');
42
- control.container.find('.wp-color-result').focus();
43
- event.stopPropagation(); // Prevent section from being collapsed.
44
- }
45
- });
46
- }
47
- };
48
-
49
- wp.customize.controlConstructor['wvs-alpha-color'] = wp.customize.Control.extend(WVS_Customize_Alpha_Color_Control);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/wvs-customize-alpha-color-control.min.js DELETED
@@ -1 +0,0 @@
1
- var WVS_Customize_Alpha_Color_Control={ready:function(){var o=this,n=!1,t=void 0;t=this.container.find(".wvs-color-picker"),t.val(o.setting()).wpColorPicker({change:function(){n=!0,o.setting.set(t.wpColorPicker("color")),n=!1},clear:function(){n=!0,o.setting.set(""),n=!1}}),o.setting.bind(function(o){n||(t.val(o),t.wpColorPicker("color",o))}),o.container.on("keydown",function(n){var i=void 0;27===n.which&&(i=o.container.find(".wp-picker-container"),i.hasClass("wp-picker-active")&&(t.wpColorPicker("close"),o.container.find(".wp-color-result").focus(),n.stopPropagation()))})}};wp.customize.controlConstructor["wvs-alpha-color"]=wp.customize.Control.extend(WVS_Customize_Alpha_Color_Control);
 
images/advanced-screenshot.png DELETED
Binary file
images/archive-preview.png DELETED
Binary file
images/archive-pro.png DELETED
Binary file
images/special-preview.png DELETED
Binary file
images/style-preview.png DELETED
Binary file
languages/woo-variation-swatches.pot CHANGED
@@ -308,7 +308,7 @@ msgstr ""
308
  msgid "Choose a color"
309
  msgstr ""
310
 
311
- #: ../includes/functions.php:471, ../woo-variation-swatches.php:408
312
  msgid "Choose an Image"
313
  msgstr ""
314
 
@@ -324,12 +324,12 @@ msgstr ""
324
  msgid "Select none"
325
  msgstr ""
326
 
327
- #: ../includes/functions.php:656, ../includes/functions.php:741
328
- msgid "Add new %s"
329
  msgstr ""
330
 
331
- #: ../includes/functions.php:656, ../includes/functions.php:658, ../includes/functions.php:741, ../includes/functions.php:743
332
- msgid "Add new"
333
  msgstr ""
334
 
335
  #: ../includes/functions.php:1056, ../includes/functions.php:1128, ../includes/functions.php:1201, ../includes/functions.php:1271, ../includes/functions.php:1339, ../includes/functions.php:1418
@@ -404,94 +404,94 @@ msgstr ""
404
  msgid "Please share the reason"
405
  msgstr ""
406
 
407
- #: ../woo-variation-swatches.php:385
408
  msgid "Clear"
409
  msgstr ""
410
 
411
- #: ../woo-variation-swatches.php:386
412
  msgid "Clear color"
413
  msgstr ""
414
 
415
- #: ../woo-variation-swatches.php:387
416
  msgid "Default"
417
  msgstr ""
418
 
419
- #: ../woo-variation-swatches.php:388
420
  msgid "Select default color"
421
  msgstr ""
422
 
423
- #: ../woo-variation-swatches.php:389
424
  msgid "Select Color"
425
  msgstr ""
426
 
427
- #: ../woo-variation-swatches.php:390
428
  msgid "Color value"
429
  msgstr ""
430
 
431
- #: ../woo-variation-swatches.php:409
432
  msgid "Add Attribute"
433
  msgstr ""
434
 
435
- #: ../woo-variation-swatches.php:410
436
  msgid "Add"
437
  msgstr ""
438
 
439
- #: ../woo-variation-swatches.php:411
440
  msgid "Cancel"
441
  msgstr ""
442
 
443
- #: ../woo-variation-swatches.php:412
444
  msgid "Use Image"
445
  msgstr ""
446
 
447
- #: ../woo-variation-swatches.php:413
448
  msgid "Add Media"
449
  msgstr ""
450
 
451
- #: ../woo-variation-swatches.php:504, ../woo-variation-swatches.php:504
452
  msgid "Read Documentation"
453
  msgstr ""
454
 
455
- #: ../woo-variation-swatches.php:506
456
  msgid "Facing issue?"
457
  msgstr ""
458
 
459
- #: ../woo-variation-swatches.php:506
460
  msgid "Please open a ticket."
461
  msgstr ""
462
 
463
- #: ../woo-variation-swatches.php:521
464
  msgid "Go Pro"
465
  msgstr ""
466
 
467
- #: ../woo-variation-swatches.php:574
468
  msgid "Please check PHP version requirement."
469
  msgstr ""
470
 
471
- #: ../woo-variation-swatches.php:576
472
  msgid "It's required to use latest version of PHP to use <strong>Variation Swatches for WooCommerce</strong>."
473
  msgstr ""
474
 
475
- #: ../woo-variation-swatches.php:588
476
  msgid "WooCommerce"
477
  msgstr ""
478
 
479
- #: ../woo-variation-swatches.php:596
480
  msgid "<strong>Variation Swatches for WooCommerce</strong> is an add-on of "
481
  msgstr ""
482
 
483
- #: ../woo-variation-swatches.php:609
484
  msgid "Currently, you are using older version of WooCommerce. It's recommended to use latest version of WooCommerce to work with %s."
485
  msgstr ""
486
 
487
- #: ../woo-variation-swatches.php:609
488
  msgid "Variation Swatches for WooCommerce"
489
  msgstr ""
490
 
491
- #: ../woo-variation-swatches.php:704
492
  msgid "Variation Swatches for WooCommerce Plugin try to load \"%s\" but template \"%s\" was not found."
493
  msgstr ""
494
 
495
- #: ../woo-variation-swatches.php:923
496
  msgid "Install Now"
497
  msgstr ""
308
  msgid "Choose a color"
309
  msgstr ""
310
 
311
+ #: ../includes/functions.php:471, ../woo-variation-swatches.php:412
312
  msgid "Choose an Image"
313
  msgstr ""
314
 
324
  msgid "Select none"
325
  msgstr ""
326
 
327
+ #: ../includes/functions.php:658, ../includes/functions.php:656, ../includes/functions.php:743, ../includes/functions.php:741
328
+ msgid "Add new"
329
  msgstr ""
330
 
331
+ #: ../includes/functions.php:656, ../includes/functions.php:741
332
+ msgid "Add new %s"
333
  msgstr ""
334
 
335
  #: ../includes/functions.php:1056, ../includes/functions.php:1128, ../includes/functions.php:1201, ../includes/functions.php:1271, ../includes/functions.php:1339, ../includes/functions.php:1418
404
  msgid "Please share the reason"
405
  msgstr ""
406
 
407
+ #: ../woo-variation-swatches.php:389
408
  msgid "Clear"
409
  msgstr ""
410
 
411
+ #: ../woo-variation-swatches.php:390
412
  msgid "Clear color"
413
  msgstr ""
414
 
415
+ #: ../woo-variation-swatches.php:391
416
  msgid "Default"
417
  msgstr ""
418
 
419
+ #: ../woo-variation-swatches.php:392
420
  msgid "Select default color"
421
  msgstr ""
422
 
423
+ #: ../woo-variation-swatches.php:393
424
  msgid "Select Color"
425
  msgstr ""
426
 
427
+ #: ../woo-variation-swatches.php:394
428
  msgid "Color value"
429
  msgstr ""
430
 
431
+ #: ../woo-variation-swatches.php:413
432
  msgid "Add Attribute"
433
  msgstr ""
434
 
435
+ #: ../woo-variation-swatches.php:414
436
  msgid "Add"
437
  msgstr ""
438
 
439
+ #: ../woo-variation-swatches.php:415
440
  msgid "Cancel"
441
  msgstr ""
442
 
443
+ #: ../woo-variation-swatches.php:416
444
  msgid "Use Image"
445
  msgstr ""
446
 
447
+ #: ../woo-variation-swatches.php:417
448
  msgid "Add Media"
449
  msgstr ""
450
 
451
+ #: ../woo-variation-swatches.php:508, ../woo-variation-swatches.php:508
452
  msgid "Read Documentation"
453
  msgstr ""
454
 
455
+ #: ../woo-variation-swatches.php:510
456
  msgid "Facing issue?"
457
  msgstr ""
458
 
459
+ #: ../woo-variation-swatches.php:510
460
  msgid "Please open a ticket."
461
  msgstr ""
462
 
463
+ #: ../woo-variation-swatches.php:525
464
  msgid "Go Pro"
465
  msgstr ""
466
 
467
+ #: ../woo-variation-swatches.php:578
468
  msgid "Please check PHP version requirement."
469
  msgstr ""
470
 
471
+ #: ../woo-variation-swatches.php:580
472
  msgid "It's required to use latest version of PHP to use <strong>Variation Swatches for WooCommerce</strong>."
473
  msgstr ""
474
 
475
+ #: ../woo-variation-swatches.php:592
476
  msgid "WooCommerce"
477
  msgstr ""
478
 
479
+ #: ../woo-variation-swatches.php:600
480
  msgid "<strong>Variation Swatches for WooCommerce</strong> is an add-on of "
481
  msgstr ""
482
 
483
+ #: ../woo-variation-swatches.php:613
484
  msgid "Currently, you are using older version of WooCommerce. It's recommended to use latest version of WooCommerce to work with %s."
485
  msgstr ""
486
 
487
+ #: ../woo-variation-swatches.php:613
488
  msgid "Variation Swatches for WooCommerce"
489
  msgstr ""
490
 
491
+ #: ../woo-variation-swatches.php:708
492
  msgid "Variation Swatches for WooCommerce Plugin try to load \"%s\" but template \"%s\" was not found."
493
  msgstr ""
494
 
495
+ #: ../woo-variation-swatches.php:927
496
  msgid "Install Now"
497
  msgstr ""
package.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "package": "Variation Swatches for WooCommerce",
3
  "name": "woo-variation-swatches",
4
- "version": "1.1.0",
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.1.1",
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.1.0 \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.1.1 \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.1.0
8
  * Domain Path: /languages
9
  * Requires at least: 4.8
10
  * Tested up to: 5.5
11
  * WC requires at least: 3.2
12
- * WC tested up to: 4.6
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.1.0';
24
 
25
  protected static $_instance = null;
26
  private $_settings_api;
@@ -298,6 +298,10 @@
298
  // array_push( $classes, sprintf( 'woo-variation-swatches-stylesheet-%s', $this->get_option( 'stylesheet' ) ? 'enabled' : 'disabled' ) );
299
  array_push( $classes, sprintf( 'wvs%s-css', $this->get_option( 'stylesheet' ) ? '' : '-no' ) );
300
 
 
 
 
 
301
  if ( $this->is_pro_active() ) {
302
  array_push( $classes, 'wvs-pro' );
303
  }
@@ -449,8 +453,8 @@
449
  // 'title'=>'',
450
  // 'desc'=>'',
451
  // 'default'=>'',
452
- // 'is_new'=>true|false,
453
- // 'require' => array( 'trigger_catalog_mode' => array( 'type' => '==', 'value' => 'hover' ) )
454
  // ]
455
  // ] // fields end
456
  // ]
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.1.1
8
  * Domain Path: /languages
9
  * Requires at least: 4.8
10
  * Tested up to: 5.5
11
  * WC requires at least: 3.2
12
+ * WC tested up to: 4.7
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.1.1';
24
 
25
  protected static $_instance = null;
26
  private $_settings_api;
298
  // array_push( $classes, sprintf( 'woo-variation-swatches-stylesheet-%s', $this->get_option( 'stylesheet' ) ? 'enabled' : 'disabled' ) );
299
  array_push( $classes, sprintf( 'wvs%s-css', $this->get_option( 'stylesheet' ) ? '' : '-no' ) );
300
 
301
+ if ( (bool) woo_variation_swatches()->get_option( 'show_variation_label' ) ) {
302
+ $classes[] = 'wvs-show-label';
303
+ }
304
+
305
  if ( $this->is_pro_active() ) {
306
  array_push( $classes, 'wvs-pro' );
307
  }
453
  // 'title'=>'',
454
  // 'desc'=>'',
455
  // 'default'=>'',
456
+ // 'is_new'=>true|false,
457
+ // 'require' => array( 'trigger_catalog_mode' => array( 'type' => '==', 'value' => 'hover' ) )
458
  // ]
459
  // ] // fields end
460
  // ]