Flexible Shipping for WooCommerce - Version 4.1.4

Version Description

  • 2021-03-24 =
  • Fixed missing JavaScript function
Download this release

Release Info

Developer wpdesk
Plugin Icon 128x128 Flexible Shipping for WooCommerce
Version 4.1.4
Comparing to
See all releases

Code changes from version 4.1.3 to 4.1.4

assets/js/admin.js CHANGED
@@ -1 +1,271 @@
1
- !function(e){var n={};function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(i,o,function(n){return e[n]}.bind(null,o));return i},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=75)}({75:function(e,n,t){e.exports=t(76)},76:function(e,n){function t(e,n){var t=n.split("?")[0],i=[],o=-1!==n.indexOf("?")?n.split("?")[1]:"";if(""!==o){for(var r=(i=o.split("&")).length-1;r>=0;r-=1)i[r].split("=")[0]===e&&i.splice(r,1);t=t+"?"+i.join("&")}return t}jQuery(document).ready((function(){if(jQuery("#flexible_shipping_labels_url").length&&(window.location.href=jQuery("#flexible_shipping_labels_url").attr("href")),1==jQuery("a.shipping_manifest_download").length&&(window.location.href=jQuery("a.shipping_manifest_download").attr("href")),"function"==typeof window.history.pushState){var e=document.location.href,n=document.location.href;e=t("bulk_flexible_shipping_labels",e),e=t("bulk_flexible_shipping_send",e),e=t("bulk_flexible_shipping_manifests",e),(e=function(e,n){for(;e.charAt(0)==n;)e=e.substring(1);for(;e.charAt(e.length-1)==n;)e=e.substring(0,e.length-1);return e}(e=t("bulk_flexible_shipping_no_labels_created",e),"?"))!=n&&window.history.pushState({},"",e)}var i=jQuery(".fs-connect__vertical-nav-container"),o=jQuery(".fs-connect__content-container");function r(e){i.find(".vertical-menu__feature-item-is-selected").removeClass("vertical-menu__feature-item-is-selected"),o.find(".fs__slide-is-active").removeClass("fs__slide-is-active"),i.children().eq(e).addClass("vertical-menu__feature-item-is-selected"),o.children().eq(e).addClass("fs__slide-is-active")}nextFeatureButtons=jQuery(".fs-banner__button-container .next-feature"),i.on("click",".vertical-menu__feature-item:not( .vertical-menu__feature-item-is-selected )",(function(){r(jQuery(this).index())})),nextFeatureButtons.on("click",(function(e){e.preventDefault(),r(jQuery(this).closest(".fs-connect__slide").index()+1)}))})),jQuery((function(e){e(document).on("click",".flexible-shipping-taxes-notice .notice-dismiss",(function(){e.ajax(ajaxurl,{type:"POST",data:{action:"flexible_shipping_taxes_notice"}})})),e(document).on("click","#enable-fs-connect-box",(function(){var n;e(".enable-fs-connect-box").prop("checked")?(e(".fs-connect-integration-box").slideDown(),n=1):(e(".fs-connect-integration-box").slideUp(),n=0),e.ajax(ajaxurl,{type:"POST",data:{action:"update_fs_connect_integration_setting",fs_box_state:n}})})),e(document).on("click","#flexible_shipping_rate_plugin .close-fs-rate-notice",(function(){e("#flexible_shipping_rate_plugin .notice-dismiss").click()})),e(document).on("click","#flexible_shipping_rate_plugin .fs-not-good",(function(){e("#flexible_shipping_rate_plugin p").html(fs_admin.notice_not_good_enought)}))})),jQuery((function(e){function n(){e("#woocommerce_flexible_shipping_method_free_shipping_cart_notice").closest("tr").toggle(""!==e("#woocommerce_flexible_shipping_method_free_shipping").val())}e("#woocommerce_flexible_shipping_method_free_shipping").on("change",(function(){n()})),n()}))}});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function fs_select2() {
2
+ let elements = jQuery( '.fs_select2' );
3
+ if ( elements.length ) {
4
+ if (jQuery.fn.selectWoo) {
5
+ elements.selectWoo();
6
+ } else {
7
+ elements.select2();
8
+ }
9
+ }
10
+ }
11
+
12
+ jQuery(document).ready(function(){
13
+ if ( jQuery('#flexible_shipping_labels_url').length ) {
14
+ window.location.href = jQuery('#flexible_shipping_labels_url').attr('href');
15
+ }
16
+
17
+ if ( jQuery('a.shipping_manifest_download').length == 1 ) {
18
+ window.location.href = jQuery('a.shipping_manifest_download').attr('href');
19
+ }
20
+
21
+ if ( typeof window.history.pushState == 'function' ) {
22
+ var url = document.location.href;
23
+ var url2 = document.location.href;
24
+ url = fs_removeParam('bulk_flexible_shipping_labels', url);
25
+ url = fs_removeParam('bulk_flexible_shipping_send', url);
26
+ url = fs_removeParam('bulk_flexible_shipping_manifests', url);
27
+ url = fs_removeParam('bulk_flexible_shipping_no_labels_created', url);
28
+ url = fs_trimChar(url,'?');
29
+ if ( url != url2 ) {
30
+ window.history.pushState({}, "", url);
31
+ }
32
+ }
33
+
34
+ /* Connect Global Notice */
35
+ var nav = jQuery( '.fs-connect__vertical-nav-container' ),
36
+ contentContainer = jQuery( '.fs-connect__content-container' );
37
+ nextFeatureButtons = jQuery( '.fs-banner__button-container .next-feature' ),
38
+
39
+ nav.on( 'click', '.vertical-menu__feature-item:not( .vertical-menu__feature-item-is-selected )', function() {
40
+ transitionSlideToIndex( jQuery( this ).index() );
41
+ } );
42
+
43
+ nextFeatureButtons.on( 'click', function( e ) {
44
+ e.preventDefault();
45
+
46
+ var slideIndex = jQuery( this )
47
+ .closest( '.fs-connect__slide' )
48
+ .index();
49
+
50
+ transitionSlideToIndex( slideIndex + 1 );
51
+ } );
52
+
53
+ function transitionSlideToIndex( index ) {
54
+ // Remove classes from previously selected menu item and content
55
+ nav
56
+ .find( '.vertical-menu__feature-item-is-selected' )
57
+ .removeClass( 'vertical-menu__feature-item-is-selected' );
58
+
59
+ contentContainer
60
+ .find( '.fs__slide-is-active' )
61
+ .removeClass( 'fs__slide-is-active' );
62
+
63
+ // Add classes to selected menu item and content
64
+ nav
65
+ .children()
66
+ .eq( index )
67
+ .addClass( 'vertical-menu__feature-item-is-selected' );
68
+
69
+ contentContainer
70
+ .children()
71
+ .eq( index )
72
+ .addClass( 'fs__slide-is-active' );
73
+ }
74
+ });
75
+
76
+ function fs_removeParam(key, sourceURL) {
77
+ var rtn = sourceURL.split("?")[0],
78
+ param,
79
+ params_arr = [],
80
+ queryString = (sourceURL.indexOf("?") !== -1) ? sourceURL.split("?")[1] : "";
81
+ if (queryString !== "") {
82
+ params_arr = queryString.split("&");
83
+ for (var i = params_arr.length - 1; i >= 0; i -= 1) {
84
+ param = params_arr[i].split("=")[0];
85
+ if (param === key) {
86
+ params_arr.splice(i, 1);
87
+ }
88
+ }
89
+ rtn = rtn + "?" + params_arr.join("&");
90
+ }
91
+ return rtn;
92
+ }
93
+
94
+ function fs_trimChar(string, charToRemove) {
95
+ while(string.charAt(0)==charToRemove) {
96
+ string = string.substring(1);
97
+ }
98
+
99
+ while(string.charAt(string.length-1)==charToRemove) {
100
+ string = string.substring(0,string.length-1);
101
+ }
102
+
103
+ return string;
104
+ }
105
+
106
+
107
+ // Order functions
108
+
109
+ function fs_id( element ) {
110
+ return jQuery(element).closest('.flexible_shipping_shipment').attr('data-id');
111
+ }
112
+
113
+ function fs_data_set_val( data, name, val ) {
114
+ if ( typeof name == 'undefined' ) {
115
+ return data;
116
+ }
117
+ if ( name.indexOf("[") == -1 ) {
118
+ data[name] = val;
119
+ }
120
+ else {
121
+ var names = name.split("[");
122
+ var data2 = data;
123
+ var data3 = data;
124
+ var name2 = '';
125
+ jQuery.each(names,function(index,name) {
126
+ name2 = name.replace("]","");
127
+ if ( typeof data2[name2] == 'undefined' ) {
128
+ data2[name2] = {};
129
+ }
130
+ data3 = data2;
131
+ data2 = data2[name2];
132
+ });
133
+ data3[name2] = val;
134
+ }
135
+ return data;
136
+ }
137
+
138
+ function fs_ajax(button, id, fs_action) {
139
+ jQuery('.button-shipping').attr('disabled', true);
140
+ jQuery(button).parent().find('.spinner').css({visibility: 'visible'});
141
+ var data = {};
142
+
143
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_content input, #flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_content select, #flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_content textarea').each(function () {
144
+ if (jQuery(this).attr('type') == 'radio') {
145
+ data = fs_data_set_val( data, jQuery(this).attr('name'), jQuery('#flexible_shipping_shipment_' + id + ' input[name=' + jQuery(this).attr('name') + ']:checked').val() );
146
+ }
147
+ else if (jQuery(this).attr('type') == 'checkbox') {
148
+ if (jQuery(this).is(':checked')) {
149
+ data = fs_data_set_val( data, jQuery(this).attr('name'), jQuery(this).val() );
150
+ }
151
+ else {
152
+ data = fs_data_set_val( data, jQuery(this).attr('name'), '' );
153
+ }
154
+ }
155
+ else {
156
+ data = fs_data_set_val( data, jQuery(this).attr('name'), jQuery(this).val() );
157
+ }
158
+ });
159
+
160
+ var nonce = jQuery('#flexible_shipping_shipment_nonce_' + id).val();
161
+
162
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').hide();
163
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').removeClass("flexible_shipping_shipment_message_error");
164
+
165
+ jQuery.ajax({
166
+ url: fs_admin.ajax_url,
167
+ type: 'POST',
168
+ data: {
169
+ fs_action: fs_action,
170
+ action: 'flexible_shipping',
171
+ nonce: nonce,
172
+ shipment_id: id,
173
+ data: data,
174
+ },
175
+ dataType: 'json',
176
+ }).done(function (response) {
177
+ if (response) {
178
+ if (response == '0') {
179
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').show();
180
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').html("Invalid response: 0");
181
+ }
182
+ else if (response.status == 'success') {
183
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_content').html(response.content);
184
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').hide();
185
+ if ( typeof response.message != 'undefined' ) {
186
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').show();
187
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').html(response.message);
188
+ }
189
+ }
190
+ else {
191
+ if ( typeof response.content !== 'undefined' ) {
192
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_content').html(response.content);
193
+ }
194
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').addClass("flexible_shipping_shipment_message_error");
195
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').show();
196
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').html(response.message);
197
+ }
198
+ }
199
+ else {
200
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').addClass("flexible_shipping_shipment_message_error");
201
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').show();
202
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').html("Request failed: invalid method?");
203
+ }
204
+ }).always(function () {
205
+ jQuery('.button-shipping').attr('disabled', false);
206
+ jQuery('.shipping-spinner').parent().find('.spinner').css({visibility: 'hidden'});
207
+ fs_select2();
208
+ jQuery('#flexible_shipping_shipment_' + id).trigger( "flexible_shipping_ajax_fs_action_after" );
209
+ }).fail(function (jqXHR, textStatus) {
210
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').addClass("flexible_shipping_shipment_message_error");
211
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').show();
212
+ jQuery('#flexible_shipping_shipment_' + id + ' .flexible_shipping_shipment_message').html("Request failed: " + textStatus + " " + jqXHR.status);
213
+ })
214
+ }
215
+
216
+ /* Notice */
217
+ jQuery(function($) {
218
+ $( document ).on( 'click', '.flexible-shipping-taxes-notice .notice-dismiss', function () {
219
+ $.ajax( ajaxurl,
220
+ {
221
+ type: 'POST',
222
+ data: {
223
+ action: 'flexible_shipping_taxes_notice',
224
+ }
225
+ } );
226
+ } );
227
+
228
+ $( document ).on( 'click', '#enable-fs-connect-box', function () {
229
+ var fs_connect_checkbox = $('.enable-fs-connect-box');
230
+ var fs_box_state;
231
+
232
+ if ( fs_connect_checkbox.prop('checked') ){
233
+ $('.fs-connect-integration-box').slideDown();
234
+ fs_box_state = 1;
235
+ } else{
236
+ $('.fs-connect-integration-box').slideUp();
237
+ fs_box_state = 0;
238
+ }
239
+
240
+ $.ajax( ajaxurl,
241
+ {
242
+ type: 'POST',
243
+ data: {
244
+ action: 'update_fs_connect_integration_setting',
245
+ fs_box_state: fs_box_state
246
+ }
247
+ } );
248
+ } );
249
+
250
+ $( document ).on( 'click', '#flexible_shipping_rate_plugin .close-fs-rate-notice', function () {
251
+ $( '#flexible_shipping_rate_plugin .notice-dismiss' ).click();
252
+ } );
253
+
254
+ $( document ).on( 'click', '#flexible_shipping_rate_plugin .fs-not-good', function () {
255
+ $('#flexible_shipping_rate_plugin p').html( fs_admin.notice_not_good_enought );
256
+ } );
257
+
258
+ });
259
+
260
+ /* Free shipping */
261
+ jQuery(function($) {
262
+ function fs_toggle_free_shipping_notice() {
263
+ $('#woocommerce_flexible_shipping_method_free_shipping_cart_notice').closest('tr').toggle($('#woocommerce_flexible_shipping_method_free_shipping').val()!=='');
264
+ }
265
+
266
+ $('#woocommerce_flexible_shipping_method_free_shipping').on('change', function(){
267
+ fs_toggle_free_shipping_notice();
268
+ });
269
+
270
+ fs_toggle_free_shipping_notice();
271
+ });
assets/js/admin.min.js ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function fs_select2(){let elements=jQuery('.fs_select2');if(elements.length){if(jQuery.fn.selectWoo){elements.selectWoo()}else{elements.select2()}}}
2
+ jQuery(document).ready(function(){if(jQuery('#flexible_shipping_labels_url').length){window.location.href=jQuery('#flexible_shipping_labels_url').attr('href')}
3
+ if(jQuery('a.shipping_manifest_download').length==1){window.location.href=jQuery('a.shipping_manifest_download').attr('href')}
4
+ if(typeof window.history.pushState=='function'){var url=document.location.href;var url2=document.location.href;url=fs_removeParam('bulk_flexible_shipping_labels',url);url=fs_removeParam('bulk_flexible_shipping_send',url);url=fs_removeParam('bulk_flexible_shipping_manifests',url);url=fs_removeParam('bulk_flexible_shipping_no_labels_created',url);url=fs_trimChar(url,'?');if(url!=url2){window.history.pushState({},"",url)}}
5
+ var nav=jQuery('.fs-connect__vertical-nav-container'),contentContainer=jQuery('.fs-connect__content-container');nextFeatureButtons=jQuery('.fs-banner__button-container .next-feature'),nav.on('click','.vertical-menu__feature-item:not( .vertical-menu__feature-item-is-selected )',function(){transitionSlideToIndex(jQuery(this).index())});nextFeatureButtons.on('click',function(e){e.preventDefault();var slideIndex=jQuery(this).closest('.fs-connect__slide').index();transitionSlideToIndex(slideIndex+1)});function transitionSlideToIndex(index){nav.find('.vertical-menu__feature-item-is-selected').removeClass('vertical-menu__feature-item-is-selected');contentContainer.find('.fs__slide-is-active').removeClass('fs__slide-is-active');nav.children().eq(index).addClass('vertical-menu__feature-item-is-selected');contentContainer.children().eq(index).addClass('fs__slide-is-active')}});function fs_removeParam(key,sourceURL){var rtn=sourceURL.split("?")[0],param,params_arr=[],queryString=(sourceURL.indexOf("?")!==-1)?sourceURL.split("?")[1]:"";if(queryString!==""){params_arr=queryString.split("&");for(var i=params_arr.length-1;i>=0;i-=1){param=params_arr[i].split("=")[0];if(param===key){params_arr.splice(i,1)}}
6
+ rtn=rtn+"?"+params_arr.join("&")}
7
+ return rtn}
8
+ function fs_trimChar(string,charToRemove){while(string.charAt(0)==charToRemove){string=string.substring(1)}
9
+ while(string.charAt(string.length-1)==charToRemove){string=string.substring(0,string.length-1)}
10
+ return string}
11
+ function fs_id(element){return jQuery(element).closest('.flexible_shipping_shipment').attr('data-id')}
12
+ function fs_data_set_val(data,name,val){if(typeof name=='undefined'){return data}
13
+ if(name.indexOf("[")==-1){data[name]=val}else{var names=name.split("[");var data2=data;var data3=data;var name2='';jQuery.each(names,function(index,name){name2=name.replace("]","");if(typeof data2[name2]=='undefined'){data2[name2]={}}
14
+ data3=data2;data2=data2[name2]});data3[name2]=val}
15
+ return data}
16
+ function fs_ajax(button,id,fs_action){jQuery('.button-shipping').attr('disabled',!0);jQuery(button).parent().find('.spinner').css({visibility:'visible'});var data={};jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_content input, #flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_content select, #flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_content textarea').each(function(){if(jQuery(this).attr('type')=='radio'){data=fs_data_set_val(data,jQuery(this).attr('name'),jQuery('#flexible_shipping_shipment_'+id+' input[name='+jQuery(this).attr('name')+']:checked').val())}else if(jQuery(this).attr('type')=='checkbox'){if(jQuery(this).is(':checked')){data=fs_data_set_val(data,jQuery(this).attr('name'),jQuery(this).val())}else{data=fs_data_set_val(data,jQuery(this).attr('name'),'')}}else{data=fs_data_set_val(data,jQuery(this).attr('name'),jQuery(this).val())}});var nonce=jQuery('#flexible_shipping_shipment_nonce_'+id).val();jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').hide();jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').removeClass("flexible_shipping_shipment_message_error");jQuery.ajax({url:fs_admin.ajax_url,type:'POST',data:{fs_action:fs_action,action:'flexible_shipping',nonce:nonce,shipment_id:id,data:data,},dataType:'json',}).done(function(response){if(response){if(response=='0'){jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').show();jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').html("Invalid response: 0")}else if(response.status=='success'){jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_content').html(response.content);jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').hide();if(typeof response.message!='undefined'){jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').show();jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').html(response.message)}}else{if(typeof response.content!=='undefined'){jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_content').html(response.content)}
17
+ jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').addClass("flexible_shipping_shipment_message_error");jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').show();jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').html(response.message)}}else{jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').addClass("flexible_shipping_shipment_message_error");jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').show();jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').html("Request failed: invalid method?")}}).always(function(){jQuery('.button-shipping').attr('disabled',!1);jQuery('.shipping-spinner').parent().find('.spinner').css({visibility:'hidden'});fs_select2();jQuery('#flexible_shipping_shipment_'+id).trigger("flexible_shipping_ajax_fs_action_after")}).fail(function(jqXHR,textStatus){jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').addClass("flexible_shipping_shipment_message_error");jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').show();jQuery('#flexible_shipping_shipment_'+id+' .flexible_shipping_shipment_message').html("Request failed: "+textStatus+" "+jqXHR.status)})}
18
+ jQuery(function($){$(document).on('click','.flexible-shipping-taxes-notice .notice-dismiss',function(){$.ajax(ajaxurl,{type:'POST',data:{action:'flexible_shipping_taxes_notice',}})});$(document).on('click','#enable-fs-connect-box',function(){var fs_connect_checkbox=$('.enable-fs-connect-box');var fs_box_state;if(fs_connect_checkbox.prop('checked')){$('.fs-connect-integration-box').slideDown();fs_box_state=1}else{$('.fs-connect-integration-box').slideUp();fs_box_state=0}
19
+ $.ajax(ajaxurl,{type:'POST',data:{action:'update_fs_connect_integration_setting',fs_box_state:fs_box_state}})});$(document).on('click','#flexible_shipping_rate_plugin .close-fs-rate-notice',function(){$('#flexible_shipping_rate_plugin .notice-dismiss').click()});$(document).on('click','#flexible_shipping_rate_plugin .fs-not-good',function(){$('#flexible_shipping_rate_plugin p').html(fs_admin.notice_not_good_enought)})});jQuery(function($){function fs_toggle_free_shipping_notice(){$('#woocommerce_flexible_shipping_method_free_shipping_cart_notice').closest('tr').toggle($('#woocommerce_flexible_shipping_method_free_shipping').val()!=='')}
20
+ $('#woocommerce_flexible_shipping_method_free_shipping').on('change',function(){fs_toggle_free_shipping_notice()});fs_toggle_free_shipping_notice()})
assets/js/onboarding.js CHANGED
@@ -32,4 +32,4 @@ object-assign
32
  *
33
  * This source code is licensed under the MIT license found in the
34
  * LICENSE file in the root directory of this source tree.
35
- */var r,a,o,i,l;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,s=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(s,0))},a=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},i=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){window.cancelAnimationFrame;window.requestAnimationFrame}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var v=p.now();t.unstable_now=function(){return p.now()-v}}var g=!1,y=null,b=-1,E=5,w=0;i=function(){return t.unstable_now()>=w},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e||(E=0<e?Math.floor(1e3/e):5)};var k=new MessageChannel,x=k.port2;k.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+E;try{y(!0,e)?x.postMessage(null):(g=!1,y=null)}catch(e){throw x.postMessage(null),e}}else g=!1},r=function(e){y=e,g||(g=!0,x.postMessage(null))},a=function(e,n){b=m((function(){e(t.unstable_now())}),n)},o=function(){h(b),b=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<_(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],l=o+1,u=e[l];if(void 0!==i&&0>_(i,n))void 0!==u&&0>_(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==u&&0>_(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],P=[],N=1,R=null,M=3,j=!1,F=!1,D=!1;function z(e){for(var t=S(P);null!==t;){if(null===t.callback)C(P);else{if(!(t.startTime<=e))break;C(P),t.sortIndex=t.expirationTime,T(O,t)}t=S(P)}}function I(e){if(D=!1,z(e),!F)if(null!==S(O))F=!0,r(A);else{var t=S(P);null!==t&&a(I,t.startTime-e)}}function A(e,n){F=!1,D&&(D=!1,o()),j=!0;var r=M;try{for(z(n),R=S(O);null!==R&&(!(R.expirationTime>n)||e&&!i());){var l=R.callback;if(null!==l){R.callback=null,M=R.priorityLevel;var u=l(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?R.callback=u:R===S(O)&&C(O),z(n)}else C(O);R=S(O)}if(null!==R)var c=!0;else{var s=S(P);null!==s&&a(I,s.startTime-n),c=!1}return c}finally{R=null,M=r,j=!1}}function L(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){F||j||(F=!0,r(A))},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_getFirstCallbackNode=function(){return S(O)},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_scheduleCallback=function(e,n,i){var l=t.unstable_now();if("object"==typeof i&&null!==i){var u=i.delay;u="number"==typeof u&&0<u?l+u:l,i="number"==typeof i.timeout?i.timeout:L(e)}else i=L(e),u=l;return e={id:N++,callback:n,priorityLevel:e,startTime:u,expirationTime:i=u+i,sortIndex:-1},u>l?(e.sortIndex=u,T(P,e),null===S(O)&&e===S(P)&&(D?o():D=!0,a(I,u-l))):(e.sortIndex=i,T(O,e),F||j||(F=!0,r(A))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();z(e);var n=S(O);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}}},function(e,t,n){"use strict";var r=n(33);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(0),a=n(21),o=n(22),i=o.setStyleProp;function l(e){return o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&o.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var o,u,c,s,f=(n=n||{}).library||r,d=f.cloneElement,p=f.createElement,m=f.isValidElement,h=[],v="function"==typeof n.replace,g=n.trim,y=0,b=t.length;y<b;y++)if(o=t[y],v&&m(u=n.replace(o)))b>1&&(u=d(u,{key:u.key||y})),h.push(u);else if("text"!==o.type){switch(c=o.attribs,l(o)?i(c.style,c):c&&(c=a(c)),s=null,o.type){case"script":case"style":o.children[0]&&(c.dangerouslySetInnerHTML={__html:o.children[0].data});break;case"tag":"textarea"===o.name&&o.children[0]?c.defaultValue=o.children[0].data:o.children&&o.children.length&&(s=e(o.children,n));break;default:continue}b>1&&(c.key=y),h.push(p(o.name,c,s))}else g?o.data.trim()&&h.push(o.data):h.push(o.data);return 1===h.length?h[0]:h}},function(e,t,n){var r=n(36),a=n(37),o=n(38),i=o.MUST_USE_PROPERTY,l=o.HAS_BOOLEAN_VALUE,u=o.HAS_NUMERIC_VALUE,c=o.HAS_POSITIVE_NUMERIC_VALUE,s=o.HAS_OVERLOADED_BOOLEAN_VALUE;function f(e,t){return(e&t)===t}function d(e,t,n){var r,a,o,d=e.Properties,p=e.DOMAttributeNames;for(a in d)r=p[a]||(n?a:a.toLowerCase()),o=d[a],t[r]={attributeName:r,propertyName:a,mustUseProperty:f(o,i),hasBooleanValue:f(o,l),hasNumericValue:f(o,u),hasPositiveNumericValue:f(o,c),hasOverloadedBooleanValue:f(o,s)}}var p={};d(r,p);var m={};d(a,m,!0);var h={};d(r,h),d(a,h,!0);e.exports={html:p,svg:m,properties:h,isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"))}},function(e,t){e.exports={Properties:{autoFocus:4,accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:4,allowTransparency:0,alt:0,as:0,async:4,autoComplete:0,autoPlay:4,capture:4,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:5,cite:0,classID:0,className:0,cols:24,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:4,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:4,defer:4,dir:0,disabled:4,download:32,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:4,formTarget:0,frameBorder:0,headers:0,height:0,hidden:4,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:4,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:5,muted:5,name:0,nonce:0,noValidate:4,open:4,optimum:0,pattern:0,placeholder:0,playsInline:4,poster:0,preload:0,profile:0,radioGroup:0,readOnly:4,referrerPolicy:0,rel:0,required:4,reversed:4,role:0,rows:24,rowSpan:8,sandbox:0,scope:0,scoped:4,scrolling:0,seamless:4,selected:5,shape:0,size:24,sizes:0,span:24,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:8,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:4,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"}}},function(e,t){e.exports={Properties:{accentHeight:0,accumulate:0,additive:0,alignmentBaseline:0,allowReorder:0,alphabetic:0,amplitude:0,arabicForm:0,ascent:0,attributeName:0,attributeType:0,autoReverse:0,azimuth:0,baseFrequency:0,baseProfile:0,baselineShift:0,bbox:0,begin:0,bias:0,by:0,calcMode:0,capHeight:0,clip:0,clipPath:0,clipRule:0,clipPathUnits:0,colorInterpolation:0,colorInterpolationFilters:0,colorProfile:0,colorRendering:0,contentScriptType:0,contentStyleType:0,cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:0,direction:0,display:0,divisor:0,dominantBaseline:0,dur:0,dx:0,dy:0,edgeMode:0,elevation:0,enableBackground:0,end:0,exponent:0,externalResourcesRequired:0,fill:0,fillOpacity:0,fillRule:0,filter:0,filterRes:0,filterUnits:0,floodColor:0,floodOpacity:0,focusable:0,fontFamily:0,fontSize:0,fontSizeAdjust:0,fontStretch:0,fontStyle:0,fontVariant:0,fontWeight:0,format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:0,glyphOrientationHorizontal:0,glyphOrientationVertical:0,glyphRef:0,gradientTransform:0,gradientUnits:0,hanging:0,horizAdvX:0,horizOriginX:0,ideographic:0,imageRendering:0,in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:0,kernelUnitLength:0,kerning:0,keyPoints:0,keySplines:0,keyTimes:0,lengthAdjust:0,letterSpacing:0,lightingColor:0,limitingConeAngle:0,local:0,markerEnd:0,markerMid:0,markerStart:0,markerHeight:0,markerUnits:0,markerWidth:0,mask:0,maskContentUnits:0,maskUnits:0,mathematical:0,mode:0,numOctaves:0,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:0,overlineThickness:0,paintOrder:0,panose1:0,pathLength:0,patternContentUnits:0,patternTransform:0,patternUnits:0,pointerEvents:0,points:0,pointsAtX:0,pointsAtY:0,pointsAtZ:0,preserveAlpha:0,preserveAspectRatio:0,primitiveUnits:0,r:0,radius:0,refX:0,refY:0,renderingIntent:0,repeatCount:0,repeatDur:0,requiredExtensions:0,requiredFeatures:0,restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:0,slope:0,spacing:0,specularConstant:0,specularExponent:0,speed:0,spreadMethod:0,startOffset:0,stdDeviation:0,stemh:0,stemv:0,stitchTiles:0,stopColor:0,stopOpacity:0,strikethroughPosition:0,strikethroughThickness:0,string:0,stroke:0,strokeDasharray:0,strokeDashoffset:0,strokeLinecap:0,strokeLinejoin:0,strokeMiterlimit:0,strokeOpacity:0,strokeWidth:0,surfaceScale:0,systemLanguage:0,tableValues:0,targetX:0,targetY:0,textAnchor:0,textDecoration:0,textRendering:0,textLength:0,to:0,transform:0,u1:0,u2:0,underlinePosition:0,underlineThickness:0,unicode:0,unicodeBidi:0,unicodeRange:0,unitsPerEm:0,vAlphabetic:0,vHanging:0,vIdeographic:0,vMathematical:0,values:0,vectorEffect:0,version:0,vertAdvY:0,vertOriginX:0,vertOriginY:0,viewBox:0,viewTarget:0,visibility:0,widths:0,wordSpacing:0,writingMode:0,x:0,xHeight:0,x1:0,x2:0,xChannelSelector:0,xlinkActuate:0,xlinkArcrole:0,xlinkHref:0,xlinkRole:0,xlinkShow:0,xlinkTitle:0,xlinkType:0,xmlBase:0,xmlns:0,xmlnsXlink:0,xmlLang:0,xmlSpace:0,y:0,y1:0,y2:0,yChannelSelector:0,z:0,zoomAndPan:0},DOMAttributeNames:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space"}}},function(e,t){e.exports={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var a=r(n(40)),o=n(42);t.default=function(e,t){var n={};return e&&"string"==typeof e?(a.default(e,(function(e,r){e&&r&&(n[o.camelCase(e,t)]=r)})),n):n}},function(e,t,n){var r=n(41);e.exports=function(e,t){var n,a=null;if(!e||"string"!=typeof e)return a;for(var o,i,l=r(e),u="function"==typeof t,c=0,s=l.length;c<s;c++)o=(n=l[c]).property,i=n.value,u?t(o,i,n):i&&(a||(a={}),a[o]=i);return a}},function(e,t){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g;function s(e){return e?e.replace(c,""):""}e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var c=1,f=1;function d(e){var t=e.match(r);t&&(c+=t.length);var n=e.lastIndexOf("\n");f=~n?e.length-n:f+e.length}function p(){var e={line:c,column:f};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:c,column:f},this.source=t.source}m.prototype.content=e;var h=[];function v(n){var r=new Error(t.source+":"+c+":"+f+": "+n);if(r.reason=n,r.filename=t.source,r.line=c,r.column=f,r.source=e,!t.silent)throw r;h.push(r)}function g(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function y(){g(a)}function b(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,d(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function w(){var e=p(),t=g(o);if(t){if(E(),!g(i))return v("property missing ':'");var r=g(l),a=e({type:"declaration",property:s(t[0].replace(n,"")),value:r?s(r[0].replace(n,"")):""});return g(u),a}}return y(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}},function(e,t,n){"use strict";t.__esModule=!0,t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,a=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,l=function(e,t){return t.toUpperCase()},u=function(e,t){return t+"-"};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||r.test(e)}(e)?e:(e=e.toLowerCase(),t.reactCompat||(e=e.replace(i,u)),e.replace(a,l))}},function(e,t,n){var r=n(44),a=n(23),o=a.formatDOM,i=a.isIE(9),l=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t,n=e.match(l);return n&&n[1]&&(t=n[1],i&&(e=e.replace(n[0],""))),o(r(e),null,t)}},function(e,t,n){var r=n(23),a=/<([a-zA-Z]+[0-9]?)/,o=/<head.*>/i,i=/<body.*>/i,l=/<(area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)(.*?)\/?>/gi,u=r.isIE(9),c=u||r.isIE(),s=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},f=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var d=new window.DOMParser,p=u?"text/xml":"text/html";s=f=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),u&&(e=e.replace(l,"<$1$2$3/>")),d.parseFromString(e,p)}}if(document.implementation){var m=document.implementation.createHTMLDocument(c?"html-dom-parser":void 0);s=function(e,t){if(t)return m.documentElement.getElementsByTagName(t)[0].innerHTML=e,m;try{return m.documentElement.innerHTML=e,m}catch(t){if(f)return f(e)}}}var h,v=document.createElement("template");v.content&&(h=function(e){return v.innerHTML=e,v.content.childNodes}),e.exports=function(e){var t,n,r,l,u=e.match(a);switch(u&&u[1]&&(t=u[1].toLowerCase()),t){case"html":return n=f(e),o.test(e)||(r=n.getElementsByTagName("head")[0])&&r.parentNode.removeChild(r),i.test(e)||(r=n.getElementsByTagName("body")[0])&&r.parentNode.removeChild(r),n.getElementsByTagName("html");case"head":case"body":return l=s(e).getElementsByTagName(t),i.test(e)&&o.test(e)?l[0].parentNode.childNodes:l;default:return h?h(e):s(e,"body").getElementsByTagName("body")[0].childNodes}}},function(e,t){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},,function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";var r=n(1),a=n(3),o=n(4),i=n.n(o),l=n(0),u=n.n(l),c=n(6);var s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];e.apply(this,r),t.apply(this,r)}}),null)};function f(e){return!e||"#"===e.trim()}var d=u.a.forwardRef((function(e,t){var n=e.as,o=void 0===n?"a":n,i=e.disabled,l=e.onKeyDown,c=Object(a.a)(e,["as","disabled","onKeyDown"]),d=function(e){var t=c.href,n=c.onClick;(i||f(t))&&e.preventDefault(),i?e.stopPropagation():n&&n(e)};return f(c.href)&&(c.role=c.role||"button",c.href=c.href||"#"),i&&(c.tabIndex=-1,c["aria-disabled"]=!0),u.a.createElement(o,Object(r.a)({ref:t},c,{onClick:d,onKeyDown:s((function(e){" "===e.key&&(e.preventDefault(),d(e))}),l)}))}));d.displayName="SafeAnchor";var p=d,m=u.a.forwardRef((function(e,t){var n=e.bsPrefix,o=e.variant,l=e.size,s=e.active,f=e.className,d=e.block,m=e.type,h=e.as,v=Object(a.a)(e,["bsPrefix","variant","size","active","className","block","type","as"]),g=Object(c.a)(n,"btn"),y=i()(f,g,s&&"active",o&&g+"-"+o,d&&g+"-block",l&&g+"-"+l);if(v.href)return u.a.createElement(p,Object(r.a)({},v,{as:h,ref:t,className:i()(y,v.disabled&&"disabled")}));t&&(v.ref=t),m?v.type=m:h||(v.type="button");var b=h||"button";return u.a.createElement(b,Object(r.a)({},v,{className:y}))}));m.displayName="Button",m.defaultProps={variant:"primary",active:!1,disabled:!1};t.a=m},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(78)},,,,function(e,t,n){"use strict";n.r(t);var r=n(0),a=n.n(r),o=n(19),i=n(48),l=n(13),u=n(16),c=n(15),s=n(10),f=n.n(s);function d(e){return(d="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})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var a=b(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(d,e);var t,n,r,s=v(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=s.call(this,e)).state={show:e.content.show,sending:!1,modal_props:{},label_step:e.label_step||"",content:e.content||[],ajax:e.ajax||[],steps:e.steps||0,logo_img:e.logo_img||"",assets_url:e.assets_url||""},t.onClick=t.onClick.bind(y(t)),t.onHide=t.onHide.bind(y(t)),t}return t=d,r=[{key:"getDerivedStateFromProps",value:function(e,t){return{content:e.content,show:e.content.show}}}],(n=[{key:"onHide",value:function(){var e=this.state;e.content.show=!1,this.setState(e)}},{key:"onClick",value:function(e){this.props.on_button_click(e,this.props.id)}},{key:"render",value:function(){var e=this,t=this.state.modal_props;function n(e){var t=e.popup,n="";return t.title?n=t.title:t.step&&(n=e.label_step+t.step),n?a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"title"},n)):null}function r(t){var n=t.step,r=parseInt(t.steps,10);if(!n)return null;for(var o=[],i=function(t){var r="step-"+t;t===n?o.push(a.a.createElement("li",{onClick:function(){return e.onClick(t)},key:r,className:"active"}," ")):o.push(a.a.createElement("li",{onClick:function(){return e.onClick(t)},key:r}," "))},l=1;l<=r;l++)i(l);return a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"steps"},a.a.createElement("ul",null,o)))}function s(e){var t=e.image;return e.status?a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"logo"},a.a.createElement("img",{src:t}))):null}function d(e){var t=e.image;return a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"image"},a.a.createElement("img",{src:t})))}function m(e){var t=e.text;return a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"heading"},a.a.createElement("h1",null,t)))}function h(e){var t=e.text;if(!t)return null;var n=[];return t.forEach((function(e,t){n.push(a.a.createElement("p",{key:"text-"+t},f()(e)))})),a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"text"},n))}function v(e){var t=e.self,n=e.buttons;if(!n)return null;var r=[];return n.forEach((function(e,n){r.push(a.a.createElement(i.a,{key:"button-"+n,onClick:function(){return t.onClick(e)},variant:"link",className:e.classes},e.label))})),a.a.createElement("div",null,r)}return t.show=this.state.show,a.a.createElement(o.a,p({},t,{size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,onHide:this.onHide.bind(this),className:"flexible-shipping-onboarding-popup "+this.state.content.id}),a.a.createElement(o.a.Header,{closeButton:!0}),a.a.createElement(o.a.Body,{style:{display:"flex",justifyContent:"center",alignItems:"center"}},a.a.createElement(l.a,null,a.a.createElement(n,{popup:this.state.content,label_step:this.state.label_step}),a.a.createElement(r,{step:this.state.content.step,steps:this.state.steps}),a.a.createElement(s,{status:this.state.content.logo,image:this.state.assets_url+"/images/"+this.state.logo_img}),a.a.createElement(d,{image:this.state.assets_url+"/images/onboarding/"+this.state.content.image}),a.a.createElement(m,{text:this.state.content.heading}),a.a.createElement(h,{text:this.state.content.text}))),a.a.createElement(o.a.Footer,null,a.a.createElement(v,{buttons:this.state.content.buttons,self:this})))}}])&&m(t.prototype,n),r&&m(t,r),d}(a.a.Component);function w(e){return(w="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})(e)}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var a=_(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(i,e);var t,n,r,o=T(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={ajax:e.ajax,popups:e.popups,logo_img:e.logo_img,label_step:e.label_step,assets_url:e.assets_url,open_auto:e.open_auto,current_step:0,steps:parseInt(e.steps,10)},t.onClick=t.onClick.bind(C(t));var n=document.querySelector(".js--open-onboarding");return t.displayOnboardingOnClick(n),t.displayOnboardingOnScroll(n),t}return t=i,(n=[{key:"displayOnboardingOnClick",value:function(e){var t=this;e.addEventListener("click",(function(e){e.preventDefault(),t.showPopup(t.state.current_step),t.state.open_auto=!1,t.sendAJAX(t.state.ajax.action.click)}))}},{key:"displayOnboardingOnScroll",value:function(e){if(this.state.open_auto){var t=this,n=!1;document.addEventListener("scroll",(function(r){!n&&t.isElementInViewport(e)&&(t.sendAJAX(t.state.ajax.action.auto_show_popup),t.showPopup(0),n=!0)}))}}},{key:"render",value:function(){var e=this;return this.state.popups.map((function(t,n){return a.a.createElement(E,{id:n,key:"popup-"+n,ajax:fs_onboarding_details.ajax,assets_url:e.state.assets_url,label_step:e.state.label_step,logo_img:e.state.logo_img,steps:e.state.steps,content:t,on_button_click:e.onClick})}))}},{key:"isElementInViewport",value:function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}},{key:"onClick",value:function(e,t){if(this.hidePopup(t),"number"==typeof e)this.showPopup(e);else if(e.popup){var n=this.findPopupKey(e.popup);-1!==n&&this.showPopup(n)}else e.action&&this.state.open_auto&&this.sendTrackerDataEvent(e.action)}},{key:"findPopupKey",value:function(e){return this.state.popups.findIndex((function(t){return t.id===e}))}},{key:"showPopup",value:function(e){var t=this.state;this.changePopupShow(e,!0),t.current_step=e,this.setState(t)}},{key:"hidePopup",value:function(e){this.changePopupShow(e,!1)}},{key:"changePopupShow",value:function(e,t){var n=this.state;n.popups[e].show=t,this.setState(n)}},{key:"sendAJAX",value:function(e,t){var n=new FormData;n.append("action",e),n.append("_ajax_nonce",this.state.ajax.nonce),t&&t.forEach((function(e,t){n.append(t,e)}));var r=new XMLHttpRequest;r.open("POST",this.state.ajax.url),r.send(n)}},{key:"sendTrackerDataEvent",value:function(e){var t=new FormData;t.append("event",e),this.sendAJAX(this.state.ajax.action.event,t)}}])&&k(t.prototype,n),r&&k(t,r),i}(a.a.Component),P=n(5);document.addEventListener("DOMContentLoaded",(function(){document.querySelector("#onboarding-container")&&Object(P.render)(a.a.createElement(O,fs_onboarding_details),document.getElementById("onboarding-container"))}),!1)}]);
32
  *
33
  * This source code is licensed under the MIT license found in the
34
  * LICENSE file in the root directory of this source tree.
35
+ */var r,a,o,i,l;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,s=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(s,0))},a=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},i=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){window.cancelAnimationFrame;window.requestAnimationFrame}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var v=p.now();t.unstable_now=function(){return p.now()-v}}var g=!1,y=null,b=-1,E=5,w=0;i=function(){return t.unstable_now()>=w},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e||(E=0<e?Math.floor(1e3/e):5)};var k=new MessageChannel,x=k.port2;k.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+E;try{y(!0,e)?x.postMessage(null):(g=!1,y=null)}catch(e){throw x.postMessage(null),e}}else g=!1},r=function(e){y=e,g||(g=!0,x.postMessage(null))},a=function(e,n){b=m((function(){e(t.unstable_now())}),n)},o=function(){h(b),b=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<_(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],l=o+1,u=e[l];if(void 0!==i&&0>_(i,n))void 0!==u&&0>_(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==u&&0>_(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],P=[],N=1,R=null,M=3,j=!1,F=!1,D=!1;function z(e){for(var t=S(P);null!==t;){if(null===t.callback)C(P);else{if(!(t.startTime<=e))break;C(P),t.sortIndex=t.expirationTime,T(O,t)}t=S(P)}}function I(e){if(D=!1,z(e),!F)if(null!==S(O))F=!0,r(A);else{var t=S(P);null!==t&&a(I,t.startTime-e)}}function A(e,n){F=!1,D&&(D=!1,o()),j=!0;var r=M;try{for(z(n),R=S(O);null!==R&&(!(R.expirationTime>n)||e&&!i());){var l=R.callback;if(null!==l){R.callback=null,M=R.priorityLevel;var u=l(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?R.callback=u:R===S(O)&&C(O),z(n)}else C(O);R=S(O)}if(null!==R)var c=!0;else{var s=S(P);null!==s&&a(I,s.startTime-n),c=!1}return c}finally{R=null,M=r,j=!1}}function L(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){F||j||(F=!0,r(A))},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_getFirstCallbackNode=function(){return S(O)},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_scheduleCallback=function(e,n,i){var l=t.unstable_now();if("object"==typeof i&&null!==i){var u=i.delay;u="number"==typeof u&&0<u?l+u:l,i="number"==typeof i.timeout?i.timeout:L(e)}else i=L(e),u=l;return e={id:N++,callback:n,priorityLevel:e,startTime:u,expirationTime:i=u+i,sortIndex:-1},u>l?(e.sortIndex=u,T(P,e),null===S(O)&&e===S(P)&&(D?o():D=!0,a(I,u-l))):(e.sortIndex=i,T(O,e),F||j||(F=!0,r(A))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();z(e);var n=S(O);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}}},function(e,t,n){"use strict";var r=n(33);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(0),a=n(21),o=n(22),i=o.setStyleProp;function l(e){return o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&o.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var o,u,c,s,f=(n=n||{}).library||r,d=f.cloneElement,p=f.createElement,m=f.isValidElement,h=[],v="function"==typeof n.replace,g=n.trim,y=0,b=t.length;y<b;y++)if(o=t[y],v&&m(u=n.replace(o)))b>1&&(u=d(u,{key:u.key||y})),h.push(u);else if("text"!==o.type){switch(c=o.attribs,l(o)?i(c.style,c):c&&(c=a(c)),s=null,o.type){case"script":case"style":o.children[0]&&(c.dangerouslySetInnerHTML={__html:o.children[0].data});break;case"tag":"textarea"===o.name&&o.children[0]?c.defaultValue=o.children[0].data:o.children&&o.children.length&&(s=e(o.children,n));break;default:continue}b>1&&(c.key=y),h.push(p(o.name,c,s))}else g?o.data.trim()&&h.push(o.data):h.push(o.data);return 1===h.length?h[0]:h}},function(e,t,n){var r=n(36),a=n(37),o=n(38),i=o.MUST_USE_PROPERTY,l=o.HAS_BOOLEAN_VALUE,u=o.HAS_NUMERIC_VALUE,c=o.HAS_POSITIVE_NUMERIC_VALUE,s=o.HAS_OVERLOADED_BOOLEAN_VALUE;function f(e,t){return(e&t)===t}function d(e,t,n){var r,a,o,d=e.Properties,p=e.DOMAttributeNames;for(a in d)r=p[a]||(n?a:a.toLowerCase()),o=d[a],t[r]={attributeName:r,propertyName:a,mustUseProperty:f(o,i),hasBooleanValue:f(o,l),hasNumericValue:f(o,u),hasPositiveNumericValue:f(o,c),hasOverloadedBooleanValue:f(o,s)}}var p={};d(r,p);var m={};d(a,m,!0);var h={};d(r,h),d(a,h,!0);e.exports={html:p,svg:m,properties:h,isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"))}},function(e,t){e.exports={Properties:{autoFocus:4,accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:4,allowTransparency:0,alt:0,as:0,async:4,autoComplete:0,autoPlay:4,capture:4,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:5,cite:0,classID:0,className:0,cols:24,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:4,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:4,defer:4,dir:0,disabled:4,download:32,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:4,formTarget:0,frameBorder:0,headers:0,height:0,hidden:4,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:4,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:5,muted:5,name:0,nonce:0,noValidate:4,open:4,optimum:0,pattern:0,placeholder:0,playsInline:4,poster:0,preload:0,profile:0,radioGroup:0,readOnly:4,referrerPolicy:0,rel:0,required:4,reversed:4,role:0,rows:24,rowSpan:8,sandbox:0,scope:0,scoped:4,scrolling:0,seamless:4,selected:5,shape:0,size:24,sizes:0,span:24,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:8,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:4,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"}}},function(e,t){e.exports={Properties:{accentHeight:0,accumulate:0,additive:0,alignmentBaseline:0,allowReorder:0,alphabetic:0,amplitude:0,arabicForm:0,ascent:0,attributeName:0,attributeType:0,autoReverse:0,azimuth:0,baseFrequency:0,baseProfile:0,baselineShift:0,bbox:0,begin:0,bias:0,by:0,calcMode:0,capHeight:0,clip:0,clipPath:0,clipRule:0,clipPathUnits:0,colorInterpolation:0,colorInterpolationFilters:0,colorProfile:0,colorRendering:0,contentScriptType:0,contentStyleType:0,cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:0,direction:0,display:0,divisor:0,dominantBaseline:0,dur:0,dx:0,dy:0,edgeMode:0,elevation:0,enableBackground:0,end:0,exponent:0,externalResourcesRequired:0,fill:0,fillOpacity:0,fillRule:0,filter:0,filterRes:0,filterUnits:0,floodColor:0,floodOpacity:0,focusable:0,fontFamily:0,fontSize:0,fontSizeAdjust:0,fontStretch:0,fontStyle:0,fontVariant:0,fontWeight:0,format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:0,glyphOrientationHorizontal:0,glyphOrientationVertical:0,glyphRef:0,gradientTransform:0,gradientUnits:0,hanging:0,horizAdvX:0,horizOriginX:0,ideographic:0,imageRendering:0,in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:0,kernelUnitLength:0,kerning:0,keyPoints:0,keySplines:0,keyTimes:0,lengthAdjust:0,letterSpacing:0,lightingColor:0,limitingConeAngle:0,local:0,markerEnd:0,markerMid:0,markerStart:0,markerHeight:0,markerUnits:0,markerWidth:0,mask:0,maskContentUnits:0,maskUnits:0,mathematical:0,mode:0,numOctaves:0,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:0,overlineThickness:0,paintOrder:0,panose1:0,pathLength:0,patternContentUnits:0,patternTransform:0,patternUnits:0,pointerEvents:0,points:0,pointsAtX:0,pointsAtY:0,pointsAtZ:0,preserveAlpha:0,preserveAspectRatio:0,primitiveUnits:0,r:0,radius:0,refX:0,refY:0,renderingIntent:0,repeatCount:0,repeatDur:0,requiredExtensions:0,requiredFeatures:0,restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:0,slope:0,spacing:0,specularConstant:0,specularExponent:0,speed:0,spreadMethod:0,startOffset:0,stdDeviation:0,stemh:0,stemv:0,stitchTiles:0,stopColor:0,stopOpacity:0,strikethroughPosition:0,strikethroughThickness:0,string:0,stroke:0,strokeDasharray:0,strokeDashoffset:0,strokeLinecap:0,strokeLinejoin:0,strokeMiterlimit:0,strokeOpacity:0,strokeWidth:0,surfaceScale:0,systemLanguage:0,tableValues:0,targetX:0,targetY:0,textAnchor:0,textDecoration:0,textRendering:0,textLength:0,to:0,transform:0,u1:0,u2:0,underlinePosition:0,underlineThickness:0,unicode:0,unicodeBidi:0,unicodeRange:0,unitsPerEm:0,vAlphabetic:0,vHanging:0,vIdeographic:0,vMathematical:0,values:0,vectorEffect:0,version:0,vertAdvY:0,vertOriginX:0,vertOriginY:0,viewBox:0,viewTarget:0,visibility:0,widths:0,wordSpacing:0,writingMode:0,x:0,xHeight:0,x1:0,x2:0,xChannelSelector:0,xlinkActuate:0,xlinkArcrole:0,xlinkHref:0,xlinkRole:0,xlinkShow:0,xlinkTitle:0,xlinkType:0,xmlBase:0,xmlns:0,xmlnsXlink:0,xmlLang:0,xmlSpace:0,y:0,y1:0,y2:0,yChannelSelector:0,z:0,zoomAndPan:0},DOMAttributeNames:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space"}}},function(e,t){e.exports={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var a=r(n(40)),o=n(42);t.default=function(e,t){var n={};return e&&"string"==typeof e?(a.default(e,(function(e,r){e&&r&&(n[o.camelCase(e,t)]=r)})),n):n}},function(e,t,n){var r=n(41);e.exports=function(e,t){var n,a=null;if(!e||"string"!=typeof e)return a;for(var o,i,l=r(e),u="function"==typeof t,c=0,s=l.length;c<s;c++)o=(n=l[c]).property,i=n.value,u?t(o,i,n):i&&(a||(a={}),a[o]=i);return a}},function(e,t){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g;function s(e){return e?e.replace(c,""):""}e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var c=1,f=1;function d(e){var t=e.match(r);t&&(c+=t.length);var n=e.lastIndexOf("\n");f=~n?e.length-n:f+e.length}function p(){var e={line:c,column:f};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:c,column:f},this.source=t.source}m.prototype.content=e;var h=[];function v(n){var r=new Error(t.source+":"+c+":"+f+": "+n);if(r.reason=n,r.filename=t.source,r.line=c,r.column=f,r.source=e,!t.silent)throw r;h.push(r)}function g(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function y(){g(a)}function b(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,d(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function w(){var e=p(),t=g(o);if(t){if(E(),!g(i))return v("property missing ':'");var r=g(l),a=e({type:"declaration",property:s(t[0].replace(n,"")),value:r?s(r[0].replace(n,"")):""});return g(u),a}}return y(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}},function(e,t,n){"use strict";t.__esModule=!0,t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,a=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,l=function(e,t){return t.toUpperCase()},u=function(e,t){return t+"-"};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||r.test(e)}(e)?e:(e=e.toLowerCase(),t.reactCompat||(e=e.replace(i,u)),e.replace(a,l))}},function(e,t,n){var r=n(44),a=n(23),o=a.formatDOM,i=a.isIE(9),l=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t,n=e.match(l);return n&&n[1]&&(t=n[1],i&&(e=e.replace(n[0],""))),o(r(e),null,t)}},function(e,t,n){var r=n(23),a=/<([a-zA-Z]+[0-9]?)/,o=/<head.*>/i,i=/<body.*>/i,l=/<(area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)(.*?)\/?>/gi,u=r.isIE(9),c=u||r.isIE(),s=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},f=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var d=new window.DOMParser,p=u?"text/xml":"text/html";s=f=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),u&&(e=e.replace(l,"<$1$2$3/>")),d.parseFromString(e,p)}}if(document.implementation){var m=document.implementation.createHTMLDocument(c?"html-dom-parser":void 0);s=function(e,t){if(t)return m.documentElement.getElementsByTagName(t)[0].innerHTML=e,m;try{return m.documentElement.innerHTML=e,m}catch(t){if(f)return f(e)}}}var h,v=document.createElement("template");v.content&&(h=function(e){return v.innerHTML=e,v.content.childNodes}),e.exports=function(e){var t,n,r,l,u=e.match(a);switch(u&&u[1]&&(t=u[1].toLowerCase()),t){case"html":return n=f(e),o.test(e)||(r=n.getElementsByTagName("head")[0])&&r.parentNode.removeChild(r),i.test(e)||(r=n.getElementsByTagName("body")[0])&&r.parentNode.removeChild(r),n.getElementsByTagName("html");case"head":case"body":return l=s(e).getElementsByTagName(t),i.test(e)&&o.test(e)?l[0].parentNode.childNodes:l;default:return h?h(e):s(e,"body").getElementsByTagName("body")[0].childNodes}}},function(e,t){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},,function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";var r=n(1),a=n(3),o=n(4),i=n.n(o),l=n(0),u=n.n(l),c=n(6);var s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];e.apply(this,r),t.apply(this,r)}}),null)};function f(e){return!e||"#"===e.trim()}var d=u.a.forwardRef((function(e,t){var n=e.as,o=void 0===n?"a":n,i=e.disabled,l=e.onKeyDown,c=Object(a.a)(e,["as","disabled","onKeyDown"]),d=function(e){var t=c.href,n=c.onClick;(i||f(t))&&e.preventDefault(),i?e.stopPropagation():n&&n(e)};return f(c.href)&&(c.role=c.role||"button",c.href=c.href||"#"),i&&(c.tabIndex=-1,c["aria-disabled"]=!0),u.a.createElement(o,Object(r.a)({ref:t},c,{onClick:d,onKeyDown:s((function(e){" "===e.key&&(e.preventDefault(),d(e))}),l)}))}));d.displayName="SafeAnchor";var p=d,m=u.a.forwardRef((function(e,t){var n=e.bsPrefix,o=e.variant,l=e.size,s=e.active,f=e.className,d=e.block,m=e.type,h=e.as,v=Object(a.a)(e,["bsPrefix","variant","size","active","className","block","type","as"]),g=Object(c.a)(n,"btn"),y=i()(f,g,s&&"active",o&&g+"-"+o,d&&g+"-block",l&&g+"-"+l);if(v.href)return u.a.createElement(p,Object(r.a)({},v,{as:h,ref:t,className:i()(y,v.disabled&&"disabled")}));t&&(v.ref=t),m?v.type=m:h||(v.type="button");var b=h||"button";return u.a.createElement(b,Object(r.a)({},v,{className:y}))}));m.displayName="Button",m.defaultProps={variant:"primary",active:!1,disabled:!1};t.a=m},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(76)},,function(e,t,n){"use strict";n.r(t);var r=n(0),a=n.n(r),o=n(19),i=n(48),l=n(13),u=n(16),c=n(15),s=n(10),f=n.n(s);function d(e){return(d="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})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var a=b(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(d,e);var t,n,r,s=v(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=s.call(this,e)).state={show:e.content.show,sending:!1,modal_props:{},label_step:e.label_step||"",content:e.content||[],ajax:e.ajax||[],steps:e.steps||0,logo_img:e.logo_img||"",assets_url:e.assets_url||""},t.onClick=t.onClick.bind(y(t)),t.onHide=t.onHide.bind(y(t)),t}return t=d,r=[{key:"getDerivedStateFromProps",value:function(e,t){return{content:e.content,show:e.content.show}}}],(n=[{key:"onHide",value:function(){var e=this.state;e.content.show=!1,this.setState(e)}},{key:"onClick",value:function(e){this.props.on_button_click(e,this.props.id)}},{key:"render",value:function(){var e=this,t=this.state.modal_props;function n(e){var t=e.popup,n="";return t.title?n=t.title:t.step&&(n=e.label_step+t.step),n?a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"title"},n)):null}function r(t){var n=t.step,r=parseInt(t.steps,10);if(!n)return null;for(var o=[],i=function(t){var r="step-"+t;t===n?o.push(a.a.createElement("li",{onClick:function(){return e.onClick(t)},key:r,className:"active"}," ")):o.push(a.a.createElement("li",{onClick:function(){return e.onClick(t)},key:r}," "))},l=1;l<=r;l++)i(l);return a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"steps"},a.a.createElement("ul",null,o)))}function s(e){var t=e.image;return e.status?a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"logo"},a.a.createElement("img",{src:t}))):null}function d(e){var t=e.image;return a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"image"},a.a.createElement("img",{src:t})))}function m(e){var t=e.text;return a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"heading"},a.a.createElement("h1",null,t)))}function h(e){var t=e.text;if(!t)return null;var n=[];return t.forEach((function(e,t){n.push(a.a.createElement("p",{key:"text-"+t},f()(e)))})),a.a.createElement(u.a,null,a.a.createElement(c.a,{className:"text"},n))}function v(e){var t=e.self,n=e.buttons;if(!n)return null;var r=[];return n.forEach((function(e,n){r.push(a.a.createElement(i.a,{key:"button-"+n,onClick:function(){return t.onClick(e)},variant:"link",className:e.classes},e.label))})),a.a.createElement("div",null,r)}return t.show=this.state.show,a.a.createElement(o.a,p({},t,{size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,onHide:this.onHide.bind(this),className:"flexible-shipping-onboarding-popup "+this.state.content.id}),a.a.createElement(o.a.Header,{closeButton:!0}),a.a.createElement(o.a.Body,{style:{display:"flex",justifyContent:"center",alignItems:"center"}},a.a.createElement(l.a,null,a.a.createElement(n,{popup:this.state.content,label_step:this.state.label_step}),a.a.createElement(r,{step:this.state.content.step,steps:this.state.steps}),a.a.createElement(s,{status:this.state.content.logo,image:this.state.assets_url+"/images/"+this.state.logo_img}),a.a.createElement(d,{image:this.state.assets_url+"/images/onboarding/"+this.state.content.image}),a.a.createElement(m,{text:this.state.content.heading}),a.a.createElement(h,{text:this.state.content.text}))),a.a.createElement(o.a.Footer,null,a.a.createElement(v,{buttons:this.state.content.buttons,self:this})))}}])&&m(t.prototype,n),r&&m(t,r),d}(a.a.Component);function w(e){return(w="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})(e)}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var a=_(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(i,e);var t,n,r,o=T(i);function i(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={ajax:e.ajax,popups:e.popups,logo_img:e.logo_img,label_step:e.label_step,assets_url:e.assets_url,open_auto:e.open_auto,current_step:0,steps:parseInt(e.steps,10)},t.onClick=t.onClick.bind(C(t));var n=document.querySelector(".js--open-onboarding");return t.displayOnboardingOnClick(n),t.displayOnboardingOnScroll(n),t}return t=i,(n=[{key:"displayOnboardingOnClick",value:function(e){var t=this;e.addEventListener("click",(function(e){e.preventDefault(),t.showPopup(t.state.current_step),t.state.open_auto=!1,t.sendAJAX(t.state.ajax.action.click)}))}},{key:"displayOnboardingOnScroll",value:function(e){if(this.state.open_auto){var t=this,n=!1;document.addEventListener("scroll",(function(r){!n&&t.isElementInViewport(e)&&(t.sendAJAX(t.state.ajax.action.auto_show_popup),t.showPopup(0),n=!0)}))}}},{key:"render",value:function(){var e=this;return this.state.popups.map((function(t,n){return a.a.createElement(E,{id:n,key:"popup-"+n,ajax:fs_onboarding_details.ajax,assets_url:e.state.assets_url,label_step:e.state.label_step,logo_img:e.state.logo_img,steps:e.state.steps,content:t,on_button_click:e.onClick})}))}},{key:"isElementInViewport",value:function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}},{key:"onClick",value:function(e,t){if(this.hidePopup(t),"number"==typeof e)this.showPopup(e);else if(e.popup){var n=this.findPopupKey(e.popup);-1!==n&&this.showPopup(n)}else e.action&&this.state.open_auto&&this.sendTrackerDataEvent(e.action)}},{key:"findPopupKey",value:function(e){return this.state.popups.findIndex((function(t){return t.id===e}))}},{key:"showPopup",value:function(e){var t=this.state;this.changePopupShow(e,!0),t.current_step=e,this.setState(t)}},{key:"hidePopup",value:function(e){this.changePopupShow(e,!1)}},{key:"changePopupShow",value:function(e,t){var n=this.state;n.popups[e].show=t,this.setState(n)}},{key:"sendAJAX",value:function(e,t){var n=new FormData;n.append("action",e),n.append("_ajax_nonce",this.state.ajax.nonce),t&&t.forEach((function(e,t){n.append(t,e)}));var r=new XMLHttpRequest;r.open("POST",this.state.ajax.url),r.send(n)}},{key:"sendTrackerDataEvent",value:function(e){var t=new FormData;t.append("event",e),this.sendAJAX(this.state.ajax.action.event,t)}}])&&k(t.prototype,n),r&&k(t,r),i}(a.a.Component),P=n(5);document.addEventListener("DOMContentLoaded",(function(){document.querySelector("#onboarding-container")&&Object(P.render)(a.a.createElement(O,fs_onboarding_details),document.getElementById("onboarding-container"))}),!1)}]);
assets/js/rules-settings.js CHANGED
@@ -32,7 +32,7 @@ object-assign
32
  Copyright (c) 2017 Jed Watson.
33
  Licensed under the MIT License (MIT), see
34
  http://jedwatson.github.io/classnames
35
- */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},40:function(e,t,n){var r=n(41);e.exports=function(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,a,l=r(e),s="function"==typeof t,u=0,c=l.length;u<c;u++)i=(n=l[u]).property,a=n.value,s?t(i,a,n):a&&(o||(o={}),o[i]=a);return o}},41:function(e,t){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,o=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,u=/^\s+|\s+$/g;function c(e){return e?e.replace(u,""):""}e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var u=1,d=1;function f(e){var t=e.match(r);t&&(u+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function p(){var e={line:u,column:d};return function(t){return t.position=new h(e),y(),t}}function h(e){this.start=e,this.end={line:u,column:d},this.source=t.source}h.prototype.content=e;var m=[];function v(n){var r=new Error(t.source+":"+u+":"+d+": "+n);if(r.reason=n,r.filename=t.source,r.line=u,r.column=d,r.source=e,!t.silent)throw r;m.push(r)}function g(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function y(){g(o)}function b(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function w(){var e=p(),t=g(i);if(t){if(x(),!g(a))return v("property missing ':'");var r=g(l),o=e({type:"declaration",property:c(t[0].replace(n,"")),value:r?c(r[0].replace(n,"")):""});return g(s),o}}return y(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}},42:function(e,t,n){"use strict";t.__esModule=!0,t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,o=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return t+"-"};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||r.test(e)}(e)?e:(e=e.toLowerCase(),t.reactCompat||(e=e.replace(a,s)),e.replace(o,l))}},43:function(e,t,n){var r=n(44),o=n(23),i=o.formatDOM,a=o.isIE(9),l=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t,n=e.match(l);return n&&n[1]&&(t=n[1],a&&(e=e.replace(n[0],""))),i(r(e),null,t)}},44:function(e,t,n){var r=n(23),o=/<([a-zA-Z]+[0-9]?)/,i=/<head.*>/i,a=/<body.*>/i,l=/<(area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)(.*?)\/?>/gi,s=r.isIE(9),u=s||r.isIE(),c=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var f=new window.DOMParser,p=s?"text/xml":"text/html";c=d=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),s&&(e=e.replace(l,"<$1$2$3/>")),f.parseFromString(e,p)}}if(document.implementation){var h=document.implementation.createHTMLDocument(u?"html-dom-parser":void 0);c=function(e,t){if(t)return h.documentElement.getElementsByTagName(t)[0].innerHTML=e,h;try{return h.documentElement.innerHTML=e,h}catch(t){if(d)return d(e)}}}var m,v=document.createElement("template");v.content&&(m=function(e){return v.innerHTML=e,v.content.childNodes}),e.exports=function(e){var t,n,r,l,s=e.match(o);switch(s&&s[1]&&(t=s[1].toLowerCase()),t){case"html":return n=d(e),i.test(e)||(r=n.getElementsByTagName("head")[0])&&r.parentNode.removeChild(r),a.test(e)||(r=n.getElementsByTagName("body")[0])&&r.parentNode.removeChild(r),n.getElementsByTagName("html");case"head":case"body":return l=c(e).getElementsByTagName(t),a.test(e)&&i.test(e)?l[0].parentNode.childNodes:l;default:return m?m(e):c(e,"body").getElementsByTagName("body")[0].childNodes}}},45:function(e,t){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},46:function(e,t,n){"use strict";e.exports=n(73)},47:function(e,t,n){"use strict";var r=function(){};e.exports=r},48:function(e,t,n){"use strict";var r=n(1),o=n(3),i=n(4),a=n.n(i),l=n(0),s=n.n(l),u=n(6);var c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),null)};function d(e){return!e||"#"===e.trim()}var f=s.a.forwardRef((function(e,t){var n=e.as,i=void 0===n?"a":n,a=e.disabled,l=e.onKeyDown,u=Object(o.a)(e,["as","disabled","onKeyDown"]),f=function(e){var t=u.href,n=u.onClick;(a||d(t))&&e.preventDefault(),a?e.stopPropagation():n&&n(e)};return d(u.href)&&(u.role=u.role||"button",u.href=u.href||"#"),a&&(u.tabIndex=-1,u["aria-disabled"]=!0),s.a.createElement(i,Object(r.a)({ref:t},u,{onClick:f,onKeyDown:c((function(e){" "===e.key&&(e.preventDefault(),f(e))}),l)}))}));f.displayName="SafeAnchor";var p=f,h=s.a.forwardRef((function(e,t){var n=e.bsPrefix,i=e.variant,l=e.size,c=e.active,d=e.className,f=e.block,h=e.type,m=e.as,v=Object(o.a)(e,["bsPrefix","variant","size","active","className","block","type","as"]),g=Object(u.a)(n,"btn"),y=a()(d,g,c&&"active",i&&g+"-"+i,f&&g+"-block",l&&g+"-"+l);if(v.href)return s.a.createElement(p,Object(r.a)({},v,{as:m,ref:t,className:a()(y,v.disabled&&"disabled")}));t&&(v.ref=t),h?v.type=h:m||(v.type="button");var b=m||"button";return s.a.createElement(b,Object(r.a)({},v,{className:y}))}));h.displayName="Button",h.defaultProps={variant:"primary",active:!1,disabled:!1};t.a=h},49:function(e,t,n){e.exports=n(69)},5:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){}}}(),e.exports=n(29)},53:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},54:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},55:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},552:function(e,t){},557:function(e,t){},559:function(e,t){},56:function(e,t,n){"use strict";var r=n(70),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||l&&l[g])){var y=f(n,g);try{u(t,g,y)}catch(e){}}}}return t}},57:function(e,t,n){"use strict";(function(e){
36
  /**!
37
  * @fileOverview Kickass library to create and place poppers near their reference elements.
38
  * @version 1.16.1-lts
@@ -57,7 +57,7 @@ object-assign
57
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58
  * SOFTWARE.
59
  */
60
- var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:s(l(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}var c=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?c:10===e?d:c||d}function p(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,l,s=i.commonAncestorContainer;if(e!==s&&t!==s||r.contains(o))return"BODY"===(l=(a=s).nodeName)||"HTML"!==l&&p(a.firstElementChild)!==a?p(s):s;var u=h(e);return u.host?m(u.host,t):m(e,h(t).host)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v(t,"top"),o=v(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function y(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function S(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function O(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=v(e,"top"),r=v(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?x(e.ownerDocument):{},l=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,u=e.offsetWidth-l,c=e.offsetHeight-s;if(u||c){var d=a(e);u-=y(d,"x"),c-=y(d,"y"),o.width-=u,o.height-=c}return S(o)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),o="HTML"===t.nodeName,i=O(e),l=O(t),u=s(e),c=a(t),d=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth);n&&o&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var h=S({top:i.top-l.top-d,left:i.left-l.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(c.marginTop),v=parseFloat(c.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=p-v,h.right-=p-v,h.marginTop=m,h.marginLeft=v}return(r&&!n?t.contains(u):t===u&&"BODY"!==u.nodeName)&&(h=g(h,t)),h}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=C(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:v(n),l=t?0:v(n,"left"),s={top:a-r.top+r.marginTop,left:l-r.left+r.marginLeft,width:o,height:i};return S(s)}function P(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=l(e);return!!n&&P(n)}function N(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function R(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?N(e):m(e,u(t));if("viewport"===r)i=T(a,o);else{var c=void 0;"scrollParent"===r?"BODY"===(c=s(l(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===r?e.ownerDocument.documentElement:r;var d=C(c,a,o);if("HTML"!==c.nodeName||P(a))i=d;else{var f=x(e.ownerDocument),p=f.height,h=f.width;i.top+=d.top-d.marginTop,i.bottom=p+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var v="number"==typeof(n=n||0);return i.left+=v?n:n.left||0,i.top+=v?n:n.top||0,i.right-=v?n:n.right||0,i.bottom-=v?n:n.bottom||0,i}function j(e){return e.width*e.height}function I(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=R(n,r,i,o),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(l).map((function(e){return k({key:e},l[e],{area:j(l[e])})})).sort((function(e,t){return t.area-e.area})),u=s.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),c=u.length>0?u[0].key:s[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?N(t):m(t,u(n));return C(n,o,r)}function A(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function D(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function L(e,t,n){n=n.split("-")[0];var r=A(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",l=i?"left":"top",s=i?"height":"width",u=i?"width":"height";return o[a]=t[a]+t[s]/2-r[s]/2,o[l]=n===l?t[l]-r[u]:t[D(l)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function z(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function;var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=S(t.offsets.popper),t.offsets.reference=S(t.offsets.reference),t=n(t,e))})),t}function W(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=I(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=L(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=z(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function H(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function $(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(e){var t=e.ownerDocument;return t?t.defaultView:window}function U(e,t,n,r){n.updateBound=r,V(e).addEventListener("resize",n.updateBound,{passive:!0});var o=s(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(s(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function K(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function q(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,V(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Q=n&&/Firefox/i.test(navigator.userAgent);function X(e,t,n){var r=F(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o);return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=J.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),r=Z.slice(n+1).concat(Z.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),l=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[l]&&a[l].indexOf(",");var s=/\s*,\s*|\s+/,u=-1!==l?[a.slice(0,l).concat([a[l].split(s)[0]]),[a[l].split(s)[1]].concat(a.slice(l+1))]:[a];return(u=u.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var l=void 0;switch(a){case"%p":l=n;break;case"%":case"%r":default:l=r}return S(l)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){G(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,l=-1!==["bottom","top"].indexOf(n),s=l?"left":"top",u=l?"width":"height",c={start:_({},s,i[s]),end:_({},s,i[s]+i[u]-a[u])};e.offsets.popper=k({},a,c[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,l=r.split("-")[0],s=void 0;return s=G(+n)?[+n,0]:oe(n,i,a,l),"left"===l?(i.top+=s[0],i.left-=s[1]):"right"===l?(i.top+=s[0],i.left+=s[1]):"top"===l?(i.left+=s[0],i.top-=s[1]):"bottom"===l&&(i.left+=s[0],i.top+=s[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=H("transform"),o=e.instance.popper.style,i=o.top,a=o.left,l=o[r];o.top="",o.left="",o[r]="";var s=R(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=l,t.boundaries=s;var u=t.priority,c=e.offsets.popper,d={primary:function(e){var n=c[e];return c[e]<s[e]&&!t.escapeWithReference&&(n=Math.max(c[e],s[e])),_({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=c[n];return c[e]>s[e]&&!t.escapeWithReference&&(r=Math.min(c[n],s[e]-("right"===e?c.width:c.height))),_({},n,r)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=k({},c,d[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),l=a?"right":"bottom",s=a?"left":"top",u=a?"width":"height";return n[l]<i(r[s])&&(e.offsets.popper[s]=i(r[s])-n[u]),n[s]>i(r[l])&&(e.offsets.popper[s]=i(r[l])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return e;var o=e.placement.split("-")[0],i=e.offsets,l=i.popper,s=i.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),p=u?"left":"top",h=u?"bottom":"right",m=A(r)[c];s[h]-m<l[f]&&(e.offsets.popper[f]-=l[f]-(s[h]-m)),s[f]+m>l[h]&&(e.offsets.popper[f]+=s[f]+m-l[h]),e.offsets.popper=S(e.offsets.popper);var v=s[f]+s[c]/2-m/2,g=a(e.instance.popper),y=parseFloat(g["margin"+d]),b=parseFloat(g["border"+d+"Width"]),x=v-e.offsets.popper[f]-y-b;return x=Math.max(Math.min(l[c]-m,x),0),e.arrowElement=r,e.offsets.arrow=(_(n={},f,Math.round(x)),_(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=R(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=D(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(l,s){if(r!==l||a.length===s+1)return e;r=e.placement.split("-")[0],o=D(r);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,f="left"===r&&d(u.right)>d(c.left)||"right"===r&&d(u.left)<d(c.right)||"top"===r&&d(u.bottom)>d(c.top)||"bottom"===r&&d(u.top)<d(c.bottom),p=d(u.left)<d(n.left),h=d(u.right)>d(n.right),m=d(u.top)<d(n.top),v=d(u.bottom)>d(n.bottom),g="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===i&&p||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&v),x=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&p||!y&&"start"===i&&v||!y&&"end"===i&&m),w=b||x;(f||g||w)&&(e.flipped=!0,(f||g)&&(r=a[s+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=k({},e.offsets.popper,L(e.instance.popper,e.offsets.reference,e.placement)),e=z(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),l=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(l?o[a?"width":"height"]:0),e.placement=D(t),e.offsets.popper=S(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration,a=void 0!==i?i:t.gpuAcceleration,l=p(e.instance.popper),s=O(l),u={position:o.position},c=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,l=function(e){return e},s=i(o.width),u=i(r.width),c=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),f=t?c||d||s%2==u%2?i:a:l,p=t?i:l;return{left:f(s%2==1&&u%2==1&&!d&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:f(r.right)}}(e,window.devicePixelRatio<2||!Q),d="bottom"===n?"top":"bottom",f="right"===r?"left":"right",h=H("transform"),m=void 0,v=void 0;if(v="bottom"===d?"HTML"===l.nodeName?-l.clientHeight+c.bottom:-s.height+c.bottom:c.top,m="right"===f?"HTML"===l.nodeName?-l.clientWidth+c.right:-s.width+c.right:c.left,a&&h)u[h]="translate3d("+m+"px, "+v+"px, 0)",u[d]=0,u[f]=0,u.willChange="transform";else{var g="bottom"===d?-1:1,y="right"===f?-1:1;u[d]=v*g,u[f]=m*y,u.willChange=d+", "+f}var b={"x-placement":e.placement};return e.attributes=k({},b,e.attributes),e.styles=k({},u,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Y(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Y(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=M(o,t,e,n.positionFixed),a=I(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Y(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var l=this.options.eventsEnabled;l&&this.enableEventListeners(),this.state.eventsEnabled=l}return E(e,[{key:"update",value:function(){return W.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return K.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=J,ae.Defaults=ie,t.a=ae}).call(this,n(72))},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n(1);var r=n(0),o=n.n(r),i=o.a.createContext({});i.Consumer,i.Provider;function a(e,t){var n=Object(r.useContext)(i);return e||n[t]||t}},68:function(e,t,n){n(77),n(552),n(557),e.exports=n(559)},69:function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=x(a,n);if(l){if(l===c)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===c)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function d(){}function f(){}function p(){}var h={};h[o]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(k([])));v&&v!==t&&n.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,l){var s=u(e[o],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,l)}))}l(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return f.prototype=g.constructor=p,p.constructor=f,f.displayName=l(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),b.prototype[i]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),l(g,a,"Generator"),g[o]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},7:function(e,t){e.exports=wp.i18n},70:function(e,t,n){"use strict";e.exports=n(71)},71:function(e,t,n){"use strict";
61
  /** @license React v16.13.1
62
  * react-is.production.min.js
63
  *
@@ -73,7 +73,7 @@ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typ
73
  *
74
  * This source code is licensed under the MIT license found in the
75
  * LICENSE file in the root directory of this source tree.
76
- */var r=60103,o=60106,i=60107,a=60108,l=60114,s=60109,u=60110,c=60112,d=60113,f=60120,p=60115,h=60116,m=60121,v=60122,g=60117,y=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var x=Symbol.for;r=x("react.element"),o=x("react.portal"),i=x("react.fragment"),a=x("react.strict_mode"),l=x("react.profiler"),s=x("react.provider"),u=x("react.context"),c=x("react.forward_ref"),d=x("react.suspense"),f=x("react.suspense_list"),p=x("react.memo"),h=x("react.lazy"),m=x("react.block"),v=x("react.server.block"),g=x("react.fundamental"),y=x("react.debug_trace_mode"),b=x("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case d:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case h:case p:case s:return e;default:return t}}case o:return t}}}var E=s,_=r,k=c,S=i,O=h,C=p,T=o,P=l,N=a,R=d;t.ContextConsumer=u,t.ContextProvider=E,t.Element=_,t.ForwardRef=k,t.Fragment=S,t.Lazy=O,t.Memo=C,t.Portal=T,t.Profiler=P,t.StrictMode=N,t.Suspense=R,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===c},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===h},t.isMemo=function(e){return w(e)===p},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===l||e===y||e===a||e===d||e===f||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===u||e.$$typeof===c||e.$$typeof===g||e.$$typeof===m||e[0]===v)},t.typeOf=w},77:function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(5),a=n(1),l=n(53);var s=n(27),u=n(54);function c(e,t){return Object(l.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(e,t)||Object(s.a)(e,t)||Object(u.a)()}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){d(e,t,n[t])}))}return e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function v(e){return(v="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})(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?g(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=n(18);function w(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(x.a)(e,t)}var E=n(2),_=n.n(E),k=n(17),S=n.n(k),O=n(25);var C=n(55);function T(e){return function(e){if(Array.isArray(e))return Object(O.a)(e)}(e)||Object(C.a)(e)||Object(s.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var P=function(){function e(){p(this,e),d(this,"refs",{})}return m(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){return t.node.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(N)}}]),e}();function N(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function R(e,t){return Object.keys(e).reduce((function(n,r){return-1===t.indexOf(r)&&(n[r]=e[r]),n}),{})}var j={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},I=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}();function M(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))}function A(e,t){e.style["".concat(I,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function D(e,t){e.style["".concat(I,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function L(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function F(e,t,n){return Math.max(e,Math.min(n,t))}function z(e){return"px"===e.substr(-2)?parseFloat(e):0}function W(e){var t=window.getComputedStyle(e);return{bottom:z(t.marginBottom),left:z(t.marginLeft),right:z(t.marginRight),top:z(t.marginTop)}}function B(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function H(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function $(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function V(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var r={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?r:U(e.parentNode,t,r)}}function K(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}function q(e){var t=e.lockOffset,n=e.width,r=e.height,o=t,i=t,a="px";if("string"==typeof t){var l=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);S()(null!==l,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),o=parseFloat(t),i=parseFloat(t),a=l[1]}return S()(isFinite(o)&&isFinite(i),"lockOffset value should be a finite. Given %s",t),"%"===a&&(o=o*n/100,i=i*r/100),{x:o,y:i}}function G(e){var t=e.height,n=e.width,r=e.lockOffset,o=Array.isArray(r)?r:[r,r];S()(2===o.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var i=c(o,2),a=i[0],l=i[1];return[q({height:t,lockOffset:a,width:n}),q({height:t,lockOffset:l,width:n})]}function Y(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return n.test(t[e])}))}(e)?e:Y(e.parentNode):null}function Q(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:z(t.gridColumnGap),y:z(t.gridRowGap)}:{x:0,y:0}}var X=27,J=32,Z=37,ee=38,te=39,ne=40,re="A",oe="BUTTON",ie="CANVAS",ae="INPUT",le="OPTION",se="TEXTAREA",ue="SELECT";function ce(e){var t="input, textarea, select, canvas, [contenteditable]",n=e.querySelectorAll(t),r=e.cloneNode(!0);return T(r.querySelectorAll(t)).forEach((function(e,t){("file"!==e.type&&(e.value=n[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===ie&&n[t].width>0&&n[t].height>0)&&e.getContext("2d").drawImage(n[t],0,0)})),r}function de(e){return null!=e.sortableHandle}var fe=function(){function e(t,n){p(this,e),this.container=t,this.onScrollCallback=n}return m(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,r=e.minTranslate,o=e.maxTranslate,i=e.width,a=e.height,l={x:0,y:0},s={x:1,y:1},u=10,c=10,d=this.container,f=d.scrollTop,p=d.scrollLeft,h=d.scrollHeight,m=d.scrollWidth,v=0===f,g=h-f-d.clientHeight==0,y=0===p,b=m-p-d.clientWidth==0;n.y>=o.y-a/2&&!g?(l.y=1,s.y=c*Math.abs((o.y-a/2-n.y)/a)):n.x>=o.x-i/2&&!b?(l.x=1,s.x=u*Math.abs((o.x-i/2-n.x)/i)):n.y<=r.y+a/2&&!v?(l.y=-1,s.y=c*Math.abs((n.y-a/2-r.y)/a)):n.x<=r.x+i/2&&!y&&(l.x=-1,s.x=u*Math.abs((n.x-i/2-r.x)/i)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===l.x&&0===l.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:s.x*l.x,top:s.y*l.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}();var pe={axis:_.a.oneOf(["x","y","xy"]),contentWindow:_.a.any,disableAutoscroll:_.a.bool,distance:_.a.number,getContainer:_.a.func,getHelperDimensions:_.a.func,helperClass:_.a.string,helperContainer:_.a.oneOfType([_.a.func,"undefined"==typeof HTMLElement?_.a.any:_.a.instanceOf(HTMLElement)]),hideSortableGhost:_.a.bool,keyboardSortingTransitionDuration:_.a.number,lockAxis:_.a.string,lockOffset:_.a.oneOfType([_.a.number,_.a.string,_.a.arrayOf(_.a.oneOfType([_.a.number,_.a.string]))]),lockToContainerEdges:_.a.bool,onSortEnd:_.a.func,onSortMove:_.a.func,onSortOver:_.a.func,onSortStart:_.a.func,pressDelay:_.a.number,pressThreshold:_.a.number,keyCodes:_.a.shape({lift:_.a.arrayOf(_.a.number),drop:_.a.arrayOf(_.a.number),cancel:_.a.arrayOf(_.a.number),up:_.a.arrayOf(_.a.number),down:_.a.arrayOf(_.a.number)}),shouldCancelStart:_.a.func,transitionDuration:_.a.number,updateBeforeSortStart:_.a.func,useDragHandle:_.a.bool,useWindowAsScrollContainer:_.a.bool},he={lift:[J],drop:[J],cancel:[X],up:[ee,Z],down:[ne,te]},me={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:he,shouldCancelStart:function(e){return-1!==[ae,se,ue,le,oe].indexOf(e.target.tagName)||!!L(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},ve=Object.keys(pe);function ge(e){S()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function ye(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}var be={index:_.a.number.isRequired,collection:_.a.oneOfType([_.a.number,_.a.string]),disabled:_.a.bool},xe=Object.keys(be);var we=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return p(this,n),y(this,b(n).apply(this,arguments))}return w(n,t),m(n,[{key:"componentDidMount",value:function(){Object(i.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return S()(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return Object(r.createElement)(e,Object(a.a)({ref:t},this.props))}}]),n}(r.Component),d(t,"displayName",B("sortableHandle",e)),n}((function(){return o.a.createElement("span",{className:"drag-handle"},o.a.createElement("span",null))})),Ee=n(3);function _e(e,t){if(null==e)return{};var n,r,o=Object(Ee.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ke(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ke(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var Se=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=ke(e))&&(r&&(r+=" "),r+=t);return r};function Oe(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}function Ce(e){if("string"!=typeof e)throw new Error(Oe(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Te=r.forwardRef((function(e,t){var n=e.classes,o=e.className,i=e.disabled,l=e.IconComponent,s=e.inputRef,u=e.variant,c=void 0===u?"standard":u,d=_e(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return r.createElement(r.Fragment,null,r.createElement("select",Object(a.a)({className:Se(n.root,n.select,n[c],o,i&&n.disabled),disabled:i,ref:s||t},d)),e.multiple?null:r.createElement(l,{className:Se(n.icon,n["icon".concat(Ce(c))],i&&n.disabled)}))})),Pe=n(56),Ne=n.n(Pe),Re="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},je="object"===("undefined"==typeof window?"undefined":Re(window))&&"object"===("undefined"==typeof document?"undefined":Re(document))&&9===document.nodeType;var Ie=n(9),Me={}.constructor;function Ae(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(Ae);if(e.constructor!==Me)return e;var t={};for(var n in e)t[n]=Ae(e[n]);return t}function De(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=Ae(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Le=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},Fe=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=Le(e[r]," ");else n=Le(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function ze(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function We(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;if(e&&i++,a)if(Array.isArray(a))for(var l=0;l<a.length;l++){var s=a[l];for(var u in s){var c=s[u];null!=c&&(r&&(r+="\n"),r+=""+ze(u+": "+Fe(c)+";",i))}}else for(var d in a){var f=a[d];null!=f&&(r&&(r+="\n"),r+=""+ze(d+": "+Fe(f)+";",i))}for(var p in t){var h=t[p];null!=h&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+ze(p+": "+Fe(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),ze(e+" {"+r,--i)+ze("}",i)):r}var Be=/([[\].#*$><+~=|^:(),"'`\s])/g,He="undefined"!=typeof CSS&&CSS.escape,$e=function(e){return He?He(e):e.replace(Be,"\\$1")},Ve=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var l=i&&a;if(l?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var s=this.options.sheet;return s&&s.attached,this},e}(),Ue=function(e){function t(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,l=r.sheet,s=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=s(g(g(o)),l),o.selectorText="."+$e(o.id)),o}Object(Ie.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Fe(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(a.a)({},e,{allowEmpty:!0}):e;return We(this.selectorText,this.style,n)},m(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(Ve),Ke={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Ue(e,t,n)}},qe={indent:1,children:!0},Ge=/@([\w-]+)/,Ye=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(Ge);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new yt(Object(a.a)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=qe),null==e.indent&&(e.indent=qe.indent),null==e.children&&(e.children=qe.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),Qe=/@media|@supports\s+/,Xe={onCreateRule:function(e,t,n){return Qe.test(e)?new Ye(e,t,n):null}},Je={indent:1,children:!0},Ze=/@keyframes\s+([\w-]+)/,et=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(Ze);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,l=n.generateId;for(var s in this.id=!1===o?this.name:$e(l(this,i)),this.rules=new yt(Object(a.a)({},n,{parent:this})),t)this.rules.add(s,t[s],Object(a.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=Je),null==e.indent&&(e.indent=Je.indent),null==e.children&&(e.children=Je.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),tt=/@keyframes\s+/,nt=/\$([\w-]+)/g,rt=function(e,t){return"string"==typeof e?e.replace(nt,(function(e,n){return n in t?t[n]:e})):e},ot=function(e,t,n){var r=e[t],o=rt(r,n);o!==r&&(e[t]=o)},it={onCreateRule:function(e,t,n){return"string"==typeof e&&tt.test(e)?new et(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&ot(e,"animation-name",n.keyframes),"animation"in e&&ot(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return rt(e,r.keyframes);default:return e}}},at=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return Object(Ie.a)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(a.a)({},e,{allowEmpty:!0}):e;return We(this.key,this.style,n)},t}(Ve),lt={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new at(e,t,n):null}},st=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=We(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return We(this.at,this.style,e)},e}(),ut=/@font-face/,ct={onCreateRule:function(e,t,n){return ut.test(e)?new st(e,t,n):null}},dt=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return We(this.key,this.style,e)},e}(),ft={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new dt(e,t,n):null}},pt=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),ht={"@charset":!0,"@import":!0,"@namespace":!0},mt=[Ke,Xe,it,lt,ct,ft,{onCreateRule:function(e,t,n){return e in ht?new pt(e,t,n):null}}],vt={process:!0},gt={force:!0,process:!0},yt=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,l=r.jss,s=r.Renderer,u=r.generateId,c=r.scoped,d=Object(a.a)({classes:this.classes,parent:o,sheet:i,jss:l,Renderer:s,generateId:u,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),f=e;e in this.raw&&(f=e+"-d"+this.counter++),this.raw[f]=t,f in this.classes&&(d.selector="."+$e(this.classes[f]));var p=De(f,t,d);if(!p)return null;this.register(p);var h=void 0===d.index?this.index.length:d.index;return this.index.splice(h,0,p),p},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Ue?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof et&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Ue?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof et&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=vt);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var l=t,s=l.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==l.style){for(var u in i.onProcessStyle(l.style,l,a),l.style){var c=l.style[u];c!==s[u]&&l.prop(u,c,gt)}for(var d in s){var f=l.style[d],p=s[d];null==f&&f!==p&&l.prop(d,null,gt)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t},e}(),bt=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(a.a)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new yt(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),xt=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),wt=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(Ee.a)(t,["attached"]),o="",i=0;i<this.registry.length;i++){var a=this.registry[i];null!=n&&a.attached!==n||(o&&(o+="\n"),o+=a.toString(r))}return o},m(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),Et="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),_t="2f1acc6c3a606b082e5eef5e54414ffb";null==Et[_t]&&(Et[_t]=0);var kt=Et[_t]++,St=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+kt+o+t:i+n.key+"-"+kt+(o?"-"+o:"")+"-"+t}},Ot=function(e){var t;return function(){return t||(t=e()),t}},Ct=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},Tt=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Fe(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0},Pt=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Nt=function(e,t){return e.selectorText=t,e.selectorText===t},Rt=Ot((function(){return document.querySelector("head")}));function jt(e){var t=wt.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=Rt(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var It=Ot((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Mt=function(e,t,n){try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},At=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},Dt=function(){function e(e){this.getPropertyValue=Ct,this.setProperty=Tt,this.removeProperty=Pt,this.setSelector=Nt,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&wt.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=It();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=jt(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Rt().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=At(n,t);if(!1===(o=Mt(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var l=At(n,t),s=Mt(n,a,l);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,l,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof bt&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Lt=0,Ft=function(){function e(e){this.id=Lt++,this.version="10.5.1",this.plugins=new xt,this.options={id:{minify:!1},createGenerateId:St,Renderer:je?Dt:null,plugins:[]},this.generateId=St({minify:!1});for(var t=0;t<mt.length;t++)this.plugins.use(mt[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=Object(a.a)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===wt.index?0:wt.index+1);var r=new bt(e,Object(a.a)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),wt.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=Object(a.a)({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=De(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}();var zt="object"==typeof CSS&&null!=CSS&&"number"in CSS,Wt=function(e){return new Ft(e)};
77
  /**
78
  * A better abstraction over CSS.
79
  *
32
  Copyright (c) 2017 Jed Watson.
33
  Licensed under the MIT License (MIT), see
34
  http://jedwatson.github.io/classnames
35
+ */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},40:function(e,t,n){var r=n(41);e.exports=function(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,a,l=r(e),s="function"==typeof t,u=0,c=l.length;u<c;u++)i=(n=l[u]).property,a=n.value,s?t(i,a,n):a&&(o||(o={}),o[i]=a);return o}},41:function(e,t){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,o=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,u=/^\s+|\s+$/g;function c(e){return e?e.replace(u,""):""}e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var u=1,d=1;function f(e){var t=e.match(r);t&&(u+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function p(){var e={line:u,column:d};return function(t){return t.position=new h(e),y(),t}}function h(e){this.start=e,this.end={line:u,column:d},this.source=t.source}h.prototype.content=e;var m=[];function v(n){var r=new Error(t.source+":"+u+":"+d+": "+n);if(r.reason=n,r.filename=t.source,r.line=u,r.column=d,r.source=e,!t.silent)throw r;m.push(r)}function g(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function y(){g(o)}function b(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function w(){var e=p(),t=g(i);if(t){if(x(),!g(a))return v("property missing ':'");var r=g(l),o=e({type:"declaration",property:c(t[0].replace(n,"")),value:r?c(r[0].replace(n,"")):""});return g(s),o}}return y(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}},42:function(e,t,n){"use strict";t.__esModule=!0,t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,o=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return t+"-"};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||r.test(e)}(e)?e:(e=e.toLowerCase(),t.reactCompat||(e=e.replace(a,s)),e.replace(o,l))}},43:function(e,t,n){var r=n(44),o=n(23),i=o.formatDOM,a=o.isIE(9),l=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t,n=e.match(l);return n&&n[1]&&(t=n[1],a&&(e=e.replace(n[0],""))),i(r(e),null,t)}},44:function(e,t,n){var r=n(23),o=/<([a-zA-Z]+[0-9]?)/,i=/<head.*>/i,a=/<body.*>/i,l=/<(area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)(.*?)\/?>/gi,s=r.isIE(9),u=s||r.isIE(),c=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var f=new window.DOMParser,p=s?"text/xml":"text/html";c=d=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),s&&(e=e.replace(l,"<$1$2$3/>")),f.parseFromString(e,p)}}if(document.implementation){var h=document.implementation.createHTMLDocument(u?"html-dom-parser":void 0);c=function(e,t){if(t)return h.documentElement.getElementsByTagName(t)[0].innerHTML=e,h;try{return h.documentElement.innerHTML=e,h}catch(t){if(d)return d(e)}}}var m,v=document.createElement("template");v.content&&(m=function(e){return v.innerHTML=e,v.content.childNodes}),e.exports=function(e){var t,n,r,l,s=e.match(o);switch(s&&s[1]&&(t=s[1].toLowerCase()),t){case"html":return n=d(e),i.test(e)||(r=n.getElementsByTagName("head")[0])&&r.parentNode.removeChild(r),a.test(e)||(r=n.getElementsByTagName("body")[0])&&r.parentNode.removeChild(r),n.getElementsByTagName("html");case"head":case"body":return l=c(e).getElementsByTagName(t),a.test(e)&&i.test(e)?l[0].parentNode.childNodes:l;default:return m?m(e):c(e,"body").getElementsByTagName("body")[0].childNodes}}},45:function(e,t){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},46:function(e,t,n){"use strict";e.exports=n(73)},47:function(e,t,n){"use strict";var r=function(){};e.exports=r},48:function(e,t,n){"use strict";var r=n(1),o=n(3),i=n(4),a=n.n(i),l=n(0),s=n.n(l),u=n(6);var c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),null)};function d(e){return!e||"#"===e.trim()}var f=s.a.forwardRef((function(e,t){var n=e.as,i=void 0===n?"a":n,a=e.disabled,l=e.onKeyDown,u=Object(o.a)(e,["as","disabled","onKeyDown"]),f=function(e){var t=u.href,n=u.onClick;(a||d(t))&&e.preventDefault(),a?e.stopPropagation():n&&n(e)};return d(u.href)&&(u.role=u.role||"button",u.href=u.href||"#"),a&&(u.tabIndex=-1,u["aria-disabled"]=!0),s.a.createElement(i,Object(r.a)({ref:t},u,{onClick:f,onKeyDown:c((function(e){" "===e.key&&(e.preventDefault(),f(e))}),l)}))}));f.displayName="SafeAnchor";var p=f,h=s.a.forwardRef((function(e,t){var n=e.bsPrefix,i=e.variant,l=e.size,c=e.active,d=e.className,f=e.block,h=e.type,m=e.as,v=Object(o.a)(e,["bsPrefix","variant","size","active","className","block","type","as"]),g=Object(u.a)(n,"btn"),y=a()(d,g,c&&"active",i&&g+"-"+i,f&&g+"-block",l&&g+"-"+l);if(v.href)return s.a.createElement(p,Object(r.a)({},v,{as:m,ref:t,className:a()(y,v.disabled&&"disabled")}));t&&(v.ref=t),h?v.type=h:m||(v.type="button");var b=m||"button";return s.a.createElement(b,Object(r.a)({},v,{className:y}))}));h.displayName="Button",h.defaultProps={variant:"primary",active:!1,disabled:!1};t.a=h},49:function(e,t,n){e.exports=n(69)},5:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){}}}(),e.exports=n(29)},53:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},54:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},55:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},550:function(e,t){},555:function(e,t){},557:function(e,t){},56:function(e,t,n){"use strict";var r=n(70),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||l&&l[g])){var y=f(n,g);try{u(t,g,y)}catch(e){}}}}return t}},57:function(e,t,n){"use strict";(function(e){
36
  /**!
37
  * @fileOverview Kickass library to create and place poppers near their reference elements.
38
  * @version 1.16.1-lts
57
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58
  * SOFTWARE.
59
  */
60
+ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:s(l(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}var c=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?c:10===e?d:c||d}function p(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,l,s=i.commonAncestorContainer;if(e!==s&&t!==s||r.contains(o))return"BODY"===(l=(a=s).nodeName)||"HTML"!==l&&p(a.firstElementChild)!==a?p(s):s;var u=h(e);return u.host?m(u.host,t):m(e,h(t).host)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v(t,"top"),o=v(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function y(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function S(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function O(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=v(e,"top"),r=v(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?x(e.ownerDocument):{},l=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,u=e.offsetWidth-l,c=e.offsetHeight-s;if(u||c){var d=a(e);u-=y(d,"x"),c-=y(d,"y"),o.width-=u,o.height-=c}return S(o)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),o="HTML"===t.nodeName,i=O(e),l=O(t),u=s(e),c=a(t),d=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth);n&&o&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var h=S({top:i.top-l.top-d,left:i.left-l.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(c.marginTop),v=parseFloat(c.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=p-v,h.right-=p-v,h.marginTop=m,h.marginLeft=v}return(r&&!n?t.contains(u):t===u&&"BODY"!==u.nodeName)&&(h=g(h,t)),h}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=C(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:v(n),l=t?0:v(n,"left"),s={top:a-r.top+r.marginTop,left:l-r.left+r.marginLeft,width:o,height:i};return S(s)}function P(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=l(e);return!!n&&P(n)}function N(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function R(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?N(e):m(e,u(t));if("viewport"===r)i=T(a,o);else{var c=void 0;"scrollParent"===r?"BODY"===(c=s(l(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===r?e.ownerDocument.documentElement:r;var d=C(c,a,o);if("HTML"!==c.nodeName||P(a))i=d;else{var f=x(e.ownerDocument),p=f.height,h=f.width;i.top+=d.top-d.marginTop,i.bottom=p+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var v="number"==typeof(n=n||0);return i.left+=v?n:n.left||0,i.top+=v?n:n.top||0,i.right-=v?n:n.right||0,i.bottom-=v?n:n.bottom||0,i}function j(e){return e.width*e.height}function I(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=R(n,r,i,o),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(l).map((function(e){return k({key:e},l[e],{area:j(l[e])})})).sort((function(e,t){return t.area-e.area})),u=s.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),c=u.length>0?u[0].key:s[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?N(t):m(t,u(n));return C(n,o,r)}function A(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function D(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function L(e,t,n){n=n.split("-")[0];var r=A(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",l=i?"left":"top",s=i?"height":"width",u=i?"width":"height";return o[a]=t[a]+t[s]/2-r[s]/2,o[l]=n===l?t[l]-r[u]:t[D(l)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function z(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function;var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=S(t.offsets.popper),t.offsets.reference=S(t.offsets.reference),t=n(t,e))})),t}function W(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=I(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=L(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=z(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function B(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function H(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function $(){return this.state.isDestroyed=!0,B(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(e){var t=e.ownerDocument;return t?t.defaultView:window}function U(e,t,n,r){n.updateBound=r,V(e).addEventListener("resize",n.updateBound,{passive:!0});var o=s(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(s(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function K(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}function q(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,V(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Q=n&&/Firefox/i.test(navigator.userAgent);function X(e,t,n){var r=F(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o);return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=J.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),r=Z.slice(n+1).concat(Z.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),l=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[l]&&a[l].indexOf(",");var s=/\s*,\s*|\s+/,u=-1!==l?[a.slice(0,l).concat([a[l].split(s)[0]]),[a[l].split(s)[1]].concat(a.slice(l+1))]:[a];return(u=u.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var l=void 0;switch(a){case"%p":l=n;break;case"%":case"%r":default:l=r}return S(l)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){G(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,l=-1!==["bottom","top"].indexOf(n),s=l?"left":"top",u=l?"width":"height",c={start:_({},s,i[s]),end:_({},s,i[s]+i[u]-a[u])};e.offsets.popper=k({},a,c[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,l=r.split("-")[0],s=void 0;return s=G(+n)?[+n,0]:oe(n,i,a,l),"left"===l?(i.top+=s[0],i.left-=s[1]):"right"===l?(i.top+=s[0],i.left+=s[1]):"top"===l?(i.left+=s[0],i.top-=s[1]):"bottom"===l&&(i.left+=s[0],i.top+=s[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=H("transform"),o=e.instance.popper.style,i=o.top,a=o.left,l=o[r];o.top="",o.left="",o[r]="";var s=R(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=l,t.boundaries=s;var u=t.priority,c=e.offsets.popper,d={primary:function(e){var n=c[e];return c[e]<s[e]&&!t.escapeWithReference&&(n=Math.max(c[e],s[e])),_({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=c[n];return c[e]>s[e]&&!t.escapeWithReference&&(r=Math.min(c[n],s[e]-("right"===e?c.width:c.height))),_({},n,r)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=k({},c,d[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),l=a?"right":"bottom",s=a?"left":"top",u=a?"width":"height";return n[l]<i(r[s])&&(e.offsets.popper[s]=i(r[s])-n[u]),n[s]>i(r[l])&&(e.offsets.popper[s]=i(r[l])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return e;var o=e.placement.split("-")[0],i=e.offsets,l=i.popper,s=i.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),p=u?"left":"top",h=u?"bottom":"right",m=A(r)[c];s[h]-m<l[f]&&(e.offsets.popper[f]-=l[f]-(s[h]-m)),s[f]+m>l[h]&&(e.offsets.popper[f]+=s[f]+m-l[h]),e.offsets.popper=S(e.offsets.popper);var v=s[f]+s[c]/2-m/2,g=a(e.instance.popper),y=parseFloat(g["margin"+d]),b=parseFloat(g["border"+d+"Width"]),x=v-e.offsets.popper[f]-y-b;return x=Math.max(Math.min(l[c]-m,x),0),e.arrowElement=r,e.offsets.arrow=(_(n={},f,Math.round(x)),_(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(B(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=R(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=D(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(l,s){if(r!==l||a.length===s+1)return e;r=e.placement.split("-")[0],o=D(r);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,f="left"===r&&d(u.right)>d(c.left)||"right"===r&&d(u.left)<d(c.right)||"top"===r&&d(u.bottom)>d(c.top)||"bottom"===r&&d(u.top)<d(c.bottom),p=d(u.left)<d(n.left),h=d(u.right)>d(n.right),m=d(u.top)<d(n.top),v=d(u.bottom)>d(n.bottom),g="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===i&&p||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&v),x=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&p||!y&&"start"===i&&v||!y&&"end"===i&&m),w=b||x;(f||g||w)&&(e.flipped=!0,(f||g)&&(r=a[s+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=k({},e.offsets.popper,L(e.instance.popper,e.offsets.reference,e.placement)),e=z(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),l=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(l?o[a?"width":"height"]:0),e.placement=D(t),e.offsets.popper=S(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration,a=void 0!==i?i:t.gpuAcceleration,l=p(e.instance.popper),s=O(l),u={position:o.position},c=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,l=function(e){return e},s=i(o.width),u=i(r.width),c=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),f=t?c||d||s%2==u%2?i:a:l,p=t?i:l;return{left:f(s%2==1&&u%2==1&&!d&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:f(r.right)}}(e,window.devicePixelRatio<2||!Q),d="bottom"===n?"top":"bottom",f="right"===r?"left":"right",h=H("transform"),m=void 0,v=void 0;if(v="bottom"===d?"HTML"===l.nodeName?-l.clientHeight+c.bottom:-s.height+c.bottom:c.top,m="right"===f?"HTML"===l.nodeName?-l.clientWidth+c.right:-s.width+c.right:c.left,a&&h)u[h]="translate3d("+m+"px, "+v+"px, 0)",u[d]=0,u[f]=0,u.willChange="transform";else{var g="bottom"===d?-1:1,y="right"===f?-1:1;u[d]=v*g,u[f]=m*y,u.willChange=d+", "+f}var b={"x-placement":e.placement};return e.attributes=k({},b,e.attributes),e.styles=k({},u,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Y(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Y(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=M(o,t,e,n.positionFixed),a=I(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Y(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var l=this.options.eventsEnabled;l&&this.enableEventListeners(),this.state.eventsEnabled=l}return E(e,[{key:"update",value:function(){return W.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return K.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=J,ae.Defaults=ie,t.a=ae}).call(this,n(72))},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n(1);var r=n(0),o=n.n(r),i=o.a.createContext({});i.Consumer,i.Provider;function a(e,t){var n=Object(r.useContext)(i);return e||n[t]||t}},68:function(e,t,n){n(75),n(550),n(555),e.exports=n(557)},69:function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=x(a,n);if(l){if(l===c)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===c)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function d(){}function f(){}function p(){}var h={};h[o]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(k([])));v&&v!==t&&n.call(v,o)&&(h=v);var g=p.prototype=d.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,l){var s=u(e[o],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,l)}))}l(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return f.prototype=g.constructor=p,p.constructor=f,f.displayName=l(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),b.prototype[i]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),l(g,a,"Generator"),g[o]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},7:function(e,t){e.exports=wp.i18n},70:function(e,t,n){"use strict";e.exports=n(71)},71:function(e,t,n){"use strict";
61
  /** @license React v16.13.1
62
  * react-is.production.min.js
63
  *
73
  *
74
  * This source code is licensed under the MIT license found in the
75
  * LICENSE file in the root directory of this source tree.
76
+ */var r=60103,o=60106,i=60107,a=60108,l=60114,s=60109,u=60110,c=60112,d=60113,f=60120,p=60115,h=60116,m=60121,v=60122,g=60117,y=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var x=Symbol.for;r=x("react.element"),o=x("react.portal"),i=x("react.fragment"),a=x("react.strict_mode"),l=x("react.profiler"),s=x("react.provider"),u=x("react.context"),c=x("react.forward_ref"),d=x("react.suspense"),f=x("react.suspense_list"),p=x("react.memo"),h=x("react.lazy"),m=x("react.block"),v=x("react.server.block"),g=x("react.fundamental"),y=x("react.debug_trace_mode"),b=x("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case d:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case h:case p:case s:return e;default:return t}}case o:return t}}}var E=s,_=r,k=c,S=i,O=h,C=p,T=o,P=l,N=a,R=d;t.ContextConsumer=u,t.ContextProvider=E,t.Element=_,t.ForwardRef=k,t.Fragment=S,t.Lazy=O,t.Memo=C,t.Portal=T,t.Profiler=P,t.StrictMode=N,t.Suspense=R,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===c},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===h},t.isMemo=function(e){return w(e)===p},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===l||e===y||e===a||e===d||e===f||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===u||e.$$typeof===c||e.$$typeof===g||e.$$typeof===m||e[0]===v)},t.typeOf=w},75:function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(5),a=n(1),l=n(53);var s=n(27),u=n(54);function c(e,t){return Object(l.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(e,t)||Object(s.a)(e,t)||Object(u.a)()}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){d(e,t,n[t])}))}return e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function v(e){return(v="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})(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?g(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=n(18);function w(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(x.a)(e,t)}var E=n(2),_=n.n(E),k=n(17),S=n.n(k),O=n(25);var C=n(55);function T(e){return function(e){if(Array.isArray(e))return Object(O.a)(e)}(e)||Object(C.a)(e)||Object(s.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var P=function(){function e(){p(this,e),d(this,"refs",{})}return m(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){return t.node.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(N)}}]),e}();function N(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function R(e,t){return Object.keys(e).reduce((function(n,r){return-1===t.indexOf(r)&&(n[r]=e[r]),n}),{})}var j={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},I=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}();function M(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))}function A(e,t){e.style["".concat(I,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function D(e,t){e.style["".concat(I,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function L(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function F(e,t,n){return Math.max(e,Math.min(n,t))}function z(e){return"px"===e.substr(-2)?parseFloat(e):0}function W(e){var t=window.getComputedStyle(e);return{bottom:z(t.marginBottom),left:z(t.marginLeft),right:z(t.marginRight),top:z(t.marginTop)}}function B(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function H(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function $(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function V(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var r={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?r:U(e.parentNode,t,r)}}function K(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}function q(e){var t=e.lockOffset,n=e.width,r=e.height,o=t,i=t,a="px";if("string"==typeof t){var l=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);S()(null!==l,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),o=parseFloat(t),i=parseFloat(t),a=l[1]}return S()(isFinite(o)&&isFinite(i),"lockOffset value should be a finite. Given %s",t),"%"===a&&(o=o*n/100,i=i*r/100),{x:o,y:i}}function G(e){var t=e.height,n=e.width,r=e.lockOffset,o=Array.isArray(r)?r:[r,r];S()(2===o.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var i=c(o,2),a=i[0],l=i[1];return[q({height:t,lockOffset:a,width:n}),q({height:t,lockOffset:l,width:n})]}function Y(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return n.test(t[e])}))}(e)?e:Y(e.parentNode):null}function Q(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:z(t.gridColumnGap),y:z(t.gridRowGap)}:{x:0,y:0}}var X=27,J=32,Z=37,ee=38,te=39,ne=40,re="A",oe="BUTTON",ie="CANVAS",ae="INPUT",le="OPTION",se="TEXTAREA",ue="SELECT";function ce(e){var t="input, textarea, select, canvas, [contenteditable]",n=e.querySelectorAll(t),r=e.cloneNode(!0);return T(r.querySelectorAll(t)).forEach((function(e,t){("file"!==e.type&&(e.value=n[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===ie&&n[t].width>0&&n[t].height>0)&&e.getContext("2d").drawImage(n[t],0,0)})),r}function de(e){return null!=e.sortableHandle}var fe=function(){function e(t,n){p(this,e),this.container=t,this.onScrollCallback=n}return m(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,r=e.minTranslate,o=e.maxTranslate,i=e.width,a=e.height,l={x:0,y:0},s={x:1,y:1},u=10,c=10,d=this.container,f=d.scrollTop,p=d.scrollLeft,h=d.scrollHeight,m=d.scrollWidth,v=0===f,g=h-f-d.clientHeight==0,y=0===p,b=m-p-d.clientWidth==0;n.y>=o.y-a/2&&!g?(l.y=1,s.y=c*Math.abs((o.y-a/2-n.y)/a)):n.x>=o.x-i/2&&!b?(l.x=1,s.x=u*Math.abs((o.x-i/2-n.x)/i)):n.y<=r.y+a/2&&!v?(l.y=-1,s.y=c*Math.abs((n.y-a/2-r.y)/a)):n.x<=r.x+i/2&&!y&&(l.x=-1,s.x=u*Math.abs((n.x-i/2-r.x)/i)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===l.x&&0===l.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:s.x*l.x,top:s.y*l.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}();var pe={axis:_.a.oneOf(["x","y","xy"]),contentWindow:_.a.any,disableAutoscroll:_.a.bool,distance:_.a.number,getContainer:_.a.func,getHelperDimensions:_.a.func,helperClass:_.a.string,helperContainer:_.a.oneOfType([_.a.func,"undefined"==typeof HTMLElement?_.a.any:_.a.instanceOf(HTMLElement)]),hideSortableGhost:_.a.bool,keyboardSortingTransitionDuration:_.a.number,lockAxis:_.a.string,lockOffset:_.a.oneOfType([_.a.number,_.a.string,_.a.arrayOf(_.a.oneOfType([_.a.number,_.a.string]))]),lockToContainerEdges:_.a.bool,onSortEnd:_.a.func,onSortMove:_.a.func,onSortOver:_.a.func,onSortStart:_.a.func,pressDelay:_.a.number,pressThreshold:_.a.number,keyCodes:_.a.shape({lift:_.a.arrayOf(_.a.number),drop:_.a.arrayOf(_.a.number),cancel:_.a.arrayOf(_.a.number),up:_.a.arrayOf(_.a.number),down:_.a.arrayOf(_.a.number)}),shouldCancelStart:_.a.func,transitionDuration:_.a.number,updateBeforeSortStart:_.a.func,useDragHandle:_.a.bool,useWindowAsScrollContainer:_.a.bool},he={lift:[J],drop:[J],cancel:[X],up:[ee,Z],down:[ne,te]},me={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:he,shouldCancelStart:function(e){return-1!==[ae,se,ue,le,oe].indexOf(e.target.tagName)||!!L(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},ve=Object.keys(pe);function ge(e){S()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function ye(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}var be={index:_.a.number.isRequired,collection:_.a.oneOfType([_.a.number,_.a.string]),disabled:_.a.bool},xe=Object.keys(be);var we=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return p(this,n),y(this,b(n).apply(this,arguments))}return w(n,t),m(n,[{key:"componentDidMount",value:function(){Object(i.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return S()(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return Object(r.createElement)(e,Object(a.a)({ref:t},this.props))}}]),n}(r.Component),d(t,"displayName",B("sortableHandle",e)),n}((function(){return o.a.createElement("span",{className:"drag-handle"},o.a.createElement("span",null))})),Ee=n(3);function _e(e,t){if(null==e)return{};var n,r,o=Object(Ee.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ke(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ke(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var Se=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=ke(e))&&(r&&(r+=" "),r+=t);return r};function Oe(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}function Ce(e){if("string"!=typeof e)throw new Error(Oe(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Te=r.forwardRef((function(e,t){var n=e.classes,o=e.className,i=e.disabled,l=e.IconComponent,s=e.inputRef,u=e.variant,c=void 0===u?"standard":u,d=_e(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return r.createElement(r.Fragment,null,r.createElement("select",Object(a.a)({className:Se(n.root,n.select,n[c],o,i&&n.disabled),disabled:i,ref:s||t},d)),e.multiple?null:r.createElement(l,{className:Se(n.icon,n["icon".concat(Ce(c))],i&&n.disabled)}))})),Pe=n(56),Ne=n.n(Pe),Re="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},je="object"===("undefined"==typeof window?"undefined":Re(window))&&"object"===("undefined"==typeof document?"undefined":Re(document))&&9===document.nodeType;var Ie=n(9),Me={}.constructor;function Ae(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(Ae);if(e.constructor!==Me)return e;var t={};for(var n in e)t[n]=Ae(e[n]);return t}function De(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=Ae(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Le=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},Fe=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=Le(e[r]," ");else n=Le(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function ze(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function We(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;if(e&&i++,a)if(Array.isArray(a))for(var l=0;l<a.length;l++){var s=a[l];for(var u in s){var c=s[u];null!=c&&(r&&(r+="\n"),r+=""+ze(u+": "+Fe(c)+";",i))}}else for(var d in a){var f=a[d];null!=f&&(r&&(r+="\n"),r+=""+ze(d+": "+Fe(f)+";",i))}for(var p in t){var h=t[p];null!=h&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+ze(p+": "+Fe(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),ze(e+" {"+r,--i)+ze("}",i)):r}var Be=/([[\].#*$><+~=|^:(),"'`\s])/g,He="undefined"!=typeof CSS&&CSS.escape,$e=function(e){return He?He(e):e.replace(Be,"\\$1")},Ve=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var l=i&&a;if(l?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var s=this.options.sheet;return s&&s.attached,this},e}(),Ue=function(e){function t(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,l=r.sheet,s=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=s(g(g(o)),l),o.selectorText="."+$e(o.id)),o}Object(Ie.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Fe(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(a.a)({},e,{allowEmpty:!0}):e;return We(this.selectorText,this.style,n)},m(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(Ve),Ke={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Ue(e,t,n)}},qe={indent:1,children:!0},Ge=/@([\w-]+)/,Ye=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(Ge);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new yt(Object(a.a)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=qe),null==e.indent&&(e.indent=qe.indent),null==e.children&&(e.children=qe.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),Qe=/@media|@supports\s+/,Xe={onCreateRule:function(e,t,n){return Qe.test(e)?new Ye(e,t,n):null}},Je={indent:1,children:!0},Ze=/@keyframes\s+([\w-]+)/,et=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(Ze);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,l=n.generateId;for(var s in this.id=!1===o?this.name:$e(l(this,i)),this.rules=new yt(Object(a.a)({},n,{parent:this})),t)this.rules.add(s,t[s],Object(a.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=Je),null==e.indent&&(e.indent=Je.indent),null==e.children&&(e.children=Je.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),tt=/@keyframes\s+/,nt=/\$([\w-]+)/g,rt=function(e,t){return"string"==typeof e?e.replace(nt,(function(e,n){return n in t?t[n]:e})):e},ot=function(e,t,n){var r=e[t],o=rt(r,n);o!==r&&(e[t]=o)},it={onCreateRule:function(e,t,n){return"string"==typeof e&&tt.test(e)?new et(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&ot(e,"animation-name",n.keyframes),"animation"in e&&ot(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return rt(e,r.keyframes);default:return e}}},at=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return Object(Ie.a)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(a.a)({},e,{allowEmpty:!0}):e;return We(this.key,this.style,n)},t}(Ve),lt={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new at(e,t,n):null}},st=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=We(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return We(this.at,this.style,e)},e}(),ut=/@font-face/,ct={onCreateRule:function(e,t,n){return ut.test(e)?new st(e,t,n):null}},dt=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return We(this.key,this.style,e)},e}(),ft={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new dt(e,t,n):null}},pt=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),ht={"@charset":!0,"@import":!0,"@namespace":!0},mt=[Ke,Xe,it,lt,ct,ft,{onCreateRule:function(e,t,n){return e in ht?new pt(e,t,n):null}}],vt={process:!0},gt={force:!0,process:!0},yt=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,l=r.jss,s=r.Renderer,u=r.generateId,c=r.scoped,d=Object(a.a)({classes:this.classes,parent:o,sheet:i,jss:l,Renderer:s,generateId:u,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),f=e;e in this.raw&&(f=e+"-d"+this.counter++),this.raw[f]=t,f in this.classes&&(d.selector="."+$e(this.classes[f]));var p=De(f,t,d);if(!p)return null;this.register(p);var h=void 0===d.index?this.index.length:d.index;return this.index.splice(h,0,p),p},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Ue?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof et&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Ue?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof et&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=vt);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var l=t,s=l.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==l.style){for(var u in i.onProcessStyle(l.style,l,a),l.style){var c=l.style[u];c!==s[u]&&l.prop(u,c,gt)}for(var d in s){var f=l.style[d],p=s[d];null==f&&f!==p&&l.prop(d,null,gt)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t},e}(),bt=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(a.a)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new yt(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),xt=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),wt=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(Ee.a)(t,["attached"]),o="",i=0;i<this.registry.length;i++){var a=this.registry[i];null!=n&&a.attached!==n||(o&&(o+="\n"),o+=a.toString(r))}return o},m(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),Et="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),_t="2f1acc6c3a606b082e5eef5e54414ffb";null==Et[_t]&&(Et[_t]=0);var kt=Et[_t]++,St=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+kt+o+t:i+n.key+"-"+kt+(o?"-"+o:"")+"-"+t}},Ot=function(e){var t;return function(){return t||(t=e()),t}},Ct=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},Tt=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Fe(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0},Pt=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Nt=function(e,t){return e.selectorText=t,e.selectorText===t},Rt=Ot((function(){return document.querySelector("head")}));function jt(e){var t=wt.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=Rt(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var It=Ot((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Mt=function(e,t,n){try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},At=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},Dt=function(){function e(e){this.getPropertyValue=Ct,this.setProperty=Tt,this.removeProperty=Pt,this.setSelector=Nt,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&wt.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=It();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=jt(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Rt().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=At(n,t);if(!1===(o=Mt(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var l=At(n,t),s=Mt(n,a,l);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,l,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof bt&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Lt=0,Ft=function(){function e(e){this.id=Lt++,this.version="10.5.1",this.plugins=new xt,this.options={id:{minify:!1},createGenerateId:St,Renderer:je?Dt:null,plugins:[]},this.generateId=St({minify:!1});for(var t=0;t<mt.length;t++)this.plugins.use(mt[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=Object(a.a)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===wt.index?0:wt.index+1);var r=new bt(e,Object(a.a)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),wt.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=Object(a.a)({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=De(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}();var zt="object"==typeof CSS&&null!=CSS&&"number"in CSS,Wt=function(e){return new Ft(e)};
77
  /**
78
  * A better abstraction over CSS.
79
  *
classes/class-flexible-shipping-plugin.php CHANGED
@@ -644,7 +644,7 @@ class Flexible_Shipping_Plugin extends AbstractPlugin implements HookableCollect
644
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
645
  wp_register_script(
646
  'fs_admin',
647
- trailingslashit( $this->get_plugin_assets_url() ) . 'js/admin.js',
648
  array( 'jquery' ),
649
  $this->scripts_version
650
  );
644
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
645
  wp_register_script(
646
  'fs_admin',
647
+ trailingslashit( $this->get_plugin_assets_url() ) . 'js/admin' . $suffix . '.js',
648
  array( 'jquery' ),
649
  $this->scripts_version
650
  );
flexible-shipping.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Flexible Shipping
4
  * Plugin URI: https://wordpress.org/plugins/flexible-shipping/
5
  * Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
6
- * Version: 4.1.3
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=plugin-list&utm_medium=link&utm_campaign=flexible-shipping-plugin-list
9
  * Text Domain: flexible-shipping
@@ -38,7 +38,7 @@ if ( ! defined( 'ABSPATH' ) ) {
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
- $plugin_version = '4.1.3';
42
 
43
  $plugin_name = 'Flexible Shipping';
44
  $product_id = 'Flexible Shipping';
3
  * Plugin Name: Flexible Shipping
4
  * Plugin URI: https://wordpress.org/plugins/flexible-shipping/
5
  * Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
6
+ * Version: 4.1.4
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=plugin-list&utm_medium=link&utm_campaign=flexible-shipping-plugin-list
9
  * Text Domain: flexible-shipping
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
+ $plugin_version = '4.1.4';
42
 
43
  $plugin_name = 'Flexible Shipping';
44
  $product_id = 'Flexible Shipping';
lang/flexible-shipping.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Flexible Shipping plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Flexible Shipping 4.1.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-shipping\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2021-03-23T15:51:27+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: flexible-shipping\n"
2
  # This file is distributed under the same license as the Flexible Shipping plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Flexible Shipping 4.1.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/flexible-shipping\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2021-03-24T11:05:07+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: flexible-shipping\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://flexibleshipping.com/products/flexible-shipping-pro-woocomm
4
  Tags: table rate, table rate shipping, conditional shipping, shipping method, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes, shipping, free shipping, advanced shipping
5
  Requires at least: 4.5
6
  Tested up to: 5.7
7
- Stable tag: 4.1.3
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -171,6 +171,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
171
 
172
  == Changelog ==
173
 
 
 
 
174
  = 4.1.3 - 2021-03-23 =
175
  * Fixed FS Pro Box position
176
  * Changed FS Pro Box styling
4
  Tags: table rate, table rate shipping, conditional shipping, shipping method, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes, shipping, free shipping, advanced shipping
5
  Requires at least: 4.5
6
  Tested up to: 5.7
7
+ Stable tag: 4.1.4
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
171
 
172
  == Changelog ==
173
 
174
+ = 4.1.4 - 2021-03-24 =
175
+ * Fixed missing JavaScript function
176
+
177
  = 4.1.3 - 2021-03-23 =
178
  * Fixed FS Pro Box position
179
  * Changed FS Pro Box styling
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit95dc13734143288a3ed6c264ec2c99c2::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit9961f7484cbd2a4a05cb340fc82c7e5a::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit95dc13734143288a3ed6c264ec2c99c2
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit95dc13734143288a3ed6c264ec2c99c2
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit95dc13734143288a3ed6c264ec2c99c2', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit95dc13734143288a3ed6c264ec2c99c2', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit95dc13734143288a3ed6c264ec2c99c2::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit95dc13734143288a3ed6c264ec2c99c2
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInit95dc13734143288a3ed6c264ec2c99c2::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequire95dc13734143288a3ed6c264ec2c99c2($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequire95dc13734143288a3ed6c264ec2c99c2($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit9961f7484cbd2a4a05cb340fc82c7e5a
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit9961f7484cbd2a4a05cb340fc82c7e5a', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit9961f7484cbd2a4a05cb340fc82c7e5a', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit9961f7484cbd2a4a05cb340fc82c7e5a::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInit9961f7484cbd2a4a05cb340fc82c7e5a::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequire9961f7484cbd2a4a05cb340fc82c7e5a($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequire9961f7484cbd2a4a05cb340fc82c7e5a($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit95dc13734143288a3ed6c264ec2c99c2
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
@@ -627,10 +627,10 @@ class ComposerStaticInit95dc13734143288a3ed6c264ec2c99c2
627
  public static function getInitializer(ClassLoader $loader)
628
  {
629
  return \Closure::bind(function () use ($loader) {
630
- $loader->prefixLengthsPsr4 = ComposerStaticInit95dc13734143288a3ed6c264ec2c99c2::$prefixLengthsPsr4;
631
- $loader->prefixDirsPsr4 = ComposerStaticInit95dc13734143288a3ed6c264ec2c99c2::$prefixDirsPsr4;
632
- $loader->fallbackDirsPsr4 = ComposerStaticInit95dc13734143288a3ed6c264ec2c99c2::$fallbackDirsPsr4;
633
- $loader->classMap = ComposerStaticInit95dc13734143288a3ed6c264ec2c99c2::$classMap;
634
 
635
  }, null, ClassLoader::class);
636
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit9961f7484cbd2a4a05cb340fc82c7e5a
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
627
  public static function getInitializer(ClassLoader $loader)
628
  {
629
  return \Closure::bind(function () use ($loader) {
630
+ $loader->prefixLengthsPsr4 = ComposerStaticInit9961f7484cbd2a4a05cb340fc82c7e5a::$prefixLengthsPsr4;
631
+ $loader->prefixDirsPsr4 = ComposerStaticInit9961f7484cbd2a4a05cb340fc82c7e5a::$prefixDirsPsr4;
632
+ $loader->fallbackDirsPsr4 = ComposerStaticInit9961f7484cbd2a4a05cb340fc82c7e5a::$fallbackDirsPsr4;
633
+ $loader->classMap = ComposerStaticInit9961f7484cbd2a4a05cb340fc82c7e5a::$classMap;
634
 
635
  }, null, ClassLoader::class);
636
  }