diff --git a/.gitignore b/.gitignore
index a8c858ef3..88cce482b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,6 +33,7 @@
# Test files
/coverage/
+/attractor_output/
# Ignore master key for decrypting credentials and more.
/config/master.key
diff --git a/Gemfile b/Gemfile
index e3fda0c7f..3062269d0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -62,6 +62,9 @@ group :development, :test do
end
group :development do
+ gem 'attractor'
+ gem 'attractor-javascript'
+ gem 'attractor-ruby'
gem 'htmlbeautifier'
gem 'i18n-debug'
gem 'letter_opener', '~> 1.8'
diff --git a/Gemfile.lock b/Gemfile.lock
index 4ee2f2fdb..580f12bde 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -92,8 +92,23 @@ GEM
airbrake-ruby (6.2.1)
rbtree3 (~> 0.6)
amazing_print (1.5.0)
+ arrayfields (4.9.2)
ast (2.4.2)
attr_required (1.0.1)
+ attractor (2.6.0)
+ churn (>= 1.0.4)
+ descriptive_statistics
+ flog (~> 4.0)
+ launchy
+ listen (~> 3.0)
+ rack-livereload
+ sinatra
+ thor
+ tilt
+ attractor-javascript (0.3.0)
+ attractor (~> 2.0)
+ attractor-ruby (0.3.0)
+ attractor (~> 2.0)
base64 (0.2.0)
bcrypt (3.1.19)
bindata (2.5.0)
@@ -116,6 +131,13 @@ GEM
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
chartkick (5.0.2)
+ chronic (0.10.2)
+ churn (1.0.8)
+ chronic (>= 0.2.3)
+ hirb
+ main
+ ruby_parser (~> 3.0)
+ sexp_processor (~> 4.1)
coderay (1.1.3)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
@@ -136,6 +158,7 @@ GEM
delayed_job_active_record (4.1.7)
activerecord (>= 3.0, < 8.0)
delayed_job (>= 3.0, < 5)
+ descriptive_statistics (2.5.1)
devise (4.9.2)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
@@ -157,6 +180,7 @@ GEM
multipart-post (~> 2)
faraday-net_http (3.1.0)
net-http
+ fattr (2.4.0)
ferrum (0.13)
addressable (~> 2.5)
concurrent-ruby (~> 1.1)
@@ -166,12 +190,17 @@ GEM
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
+ flog (4.8.0)
+ path_expander (~> 1.0)
+ ruby_parser (~> 3.1, > 3.1.0)
+ sexp_processor (~> 4.8)
freezolite (0.3.0)
require-hooks (~> 0.1)
globalid (1.1.0)
activesupport (>= 5.0)
hashdiff (1.0.1)
hashie (5.0.0)
+ hirb (0.7.3)
hkdf (0.3.0)
hotwire-rails (0.1.3)
rails (>= 6.0.0)
@@ -234,6 +263,12 @@ GEM
net-imap
net-pop
net-smtp
+ main (6.3.0)
+ arrayfields (~> 4.9, >= 4.9.2)
+ chronic (~> 0.10, >= 0.10.2)
+ fattr (~> 2.4, >= 2.4.0)
+ map (~> 6.6, >= 6.6.0)
+ map (6.6.0)
marcel (1.0.4)
matrix (0.4.2)
method_source (1.0.0)
@@ -246,6 +281,8 @@ GEM
i18n (>= 0.6.4, <= 2)
msgpack (1.7.1)
multipart-post (2.4.1)
+ mustermann (3.0.0)
+ ruby2_keywords (~> 0.0.1)
net-http (0.4.1)
uri
net-imap (0.4.10)
@@ -290,6 +327,7 @@ GEM
parser (3.3.3.0)
ast (~> 2.4.1)
racc
+ path_expander (1.1.2)
pdfkit (0.8.7.3)
pg (1.5.3)
pg_search (2.3.6)
@@ -309,6 +347,8 @@ GEM
nio4r (~> 2.0)
racc (1.7.3)
rack (2.2.8.1)
+ rack-livereload (0.5.2)
+ rack (< 3)
rack-oauth2 (1.21.3)
activesupport
attr_required
@@ -404,9 +444,14 @@ GEM
faraday (>= 1)
faraday-multipart (>= 1)
ruby-progressbar (1.13.0)
+ ruby2_keywords (0.0.5)
+ ruby_parser (3.21.1)
+ racc (~> 1.5)
+ sexp_processor (~> 4.16)
scenic (1.7.0)
activerecord (>= 4.0.0)
railties (>= 4.0.0)
+ sexp_processor (4.17.2)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
@@ -415,6 +460,11 @@ GEM
simplecov_json_formatter (0.1.4)
simpleidn (0.2.1)
unf (~> 0.1.4)
+ sinatra (3.0.6)
+ mustermann (~> 3.0)
+ rack (~> 2.2, >= 2.2.4)
+ rack-protection (= 3.0.6)
+ tilt (~> 2.0)
sorbet-runtime (0.5.11164)
spy (1.0.5)
stimulus-rails (1.2.1)
@@ -426,6 +476,7 @@ GEM
syntax_tree (6.2.0)
prettier_print (>= 1.2.0)
thor (1.2.2)
+ tilt (2.4.0)
timeout (0.4.0)
turbo-rails (1.4.0)
actionpack (>= 6.0.0)
@@ -483,6 +534,9 @@ PLATFORMS
DEPENDENCIES
airbrake
amazing_print
+ attractor
+ attractor-javascript
+ attractor-ruby
bootsnap (>= 1.1.0)
bullet
byebug
diff --git a/attractor_output/images/attractor_favicon.png b/attractor_output/images/attractor_favicon.png
new file mode 100644
index 000000000..09fffca11
Binary files /dev/null and b/attractor_output/images/attractor_favicon.png differ
diff --git a/attractor_output/images/attractor_logo.svg b/attractor_output/images/attractor_logo.svg
new file mode 100644
index 000000000..b10dc6776
--- /dev/null
+++ b/attractor_output/images/attractor_logo.svg
@@ -0,0 +1,15 @@
+
+
\ No newline at end of file
diff --git a/attractor_output/index.js.html b/attractor_output/index.js.html
new file mode 100644
index 000000000..18a32a753
--- /dev/null
+++ b/attractor_output/index.js.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Attractor Output
+
+
+
+
+
+
+
+
+
+
diff --git a/attractor_output/index.rb.html b/attractor_output/index.rb.html
new file mode 100644
index 000000000..ae63d7013
--- /dev/null
+++ b/attractor_output/index.rb.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Attractor Output
+
+
+
+
+
+
+
+
+
+
diff --git a/attractor_output/javascripts/index.js.js b/attractor_output/javascripts/index.js.js
new file mode 100644
index 000000000..3b45c067b
--- /dev/null
+++ b/attractor_output/javascripts/index.js.js
@@ -0,0 +1,4 @@
+window.type = "js";
+window.serveStatic = true;
+window.filePrefix = { file_prefix: "" };
+window.values = [{"file_path":"app/assets/builds/application.js","x":24,"y":2900,"details":{"":30,"":1,"__init":2,"":1,"__require":2,"":1,"":7,"":1,"":5,"":3,"":1,"":1,"":1,"":1,"":24,"":25,"":1,"":1,"":1,"":1,"":2,"":1,"":8,"":1,"":2,"":1,"":4,"":6,"getAxisOffsetAValue":3,"containsClass":5,"":1,"":1,"":2,"createWebSocketURL":4,"":1,"":1,"":1,"":1,"":1,"":1,"":1,"":1,"":1,"":1,"":1,"":1,"createConsumer":1,"getConfig":2,"":4,"HTMLElement2":1,"":2,"":2,"validateSubmitter":4,"raise":1,"findSubmitterFromClickTarget":7,"clickCaptured":3,"":7,"":1,"frameLoadingStyleFromString":2,"expandURL":1,"getAnchor":3,"getAction":5,"getExtension":3,"isHTML":1,"isPrefixedBy":2,"locationIsVisitable":2,"getRequestURL":2,"toCacheKey":1,"urlsAreEqual":1,"getPathComponents":1,"getLastPathComponent":1,"getPrefix":1,"addTrailingSlash":2,"activateScriptElement":3,"copyElementAttributes":1,"createDocumentFragment":1,"dispatch":3,"nextAnimationFrame":1,"":1,"":1,"nextEventLoopTick":1,"":1,"":1,"nextMicrotask":1,"parseHTMLDocument":1,"unindent":2,"":1,"interpolate":1,"":2,"uuid":1,"":7,"getAttribute":2,"hasAttribute":1,"":2,"markAsBusy":2,"clearBusyState":2,"waitForLoad":1,"":1,"":1,"getHistoryMethodForAction":4,"isAction":3,"getVisitAction":2,"getMetaElement":1,"getMetaContent":2,"setMetaContent":2,"findClosestRecursively":6,"":1,"fetchMethodFromString":6,"importStreamElements":1,"":1,"":1,"formEnctypeFromString":3,"buildFormData":7,"getCookieValue":5,"":1,"responseSucceededWithoutRedirect":2,"mergeFormDataEntries":2,"getPermanentElementById":1,"queryPermanentElementsAll":1,"submissionDoesNotDismissDialog":4,"submissionDoesNotTargetIFrame":9,"doesNotTargetIFrame":3,"createPlaceholderForPermanentElement":1,"elementIsFocusable":2,"readScrollLogicalPosition":5,"readScrollBehavior":3,"elementType":3,"elementIsTracked":1,"elementIsScript":1,"elementIsNoscript":1,"elementIsStylesheet":3,"elementIsMetaElementWithName":2,"elementWithoutNonce":2,"":1,"":1,"":1,"":1,"isSuccessful":2,"":1,"getPermanentElementMapForFragment":2,"fetchResponseFromEvent":4,"fetchResponseIsStream":3,"extendURLWithDeprecatedProperties":1,"":3,"":1,"":3,"":1,"":1,"":1,"":1,"start":1,"registerAdapter":1,"visit":1,"connectStreamSource":1,"disconnectStreamSource":1,"renderStreamMessage":1,"clearCache":1,"setProgressBarDelay":1,"setConfirmMethod":1,"setFormMode":1,"getFrameElementById":3,"activateElement":7,"":5,"":1,"":1,"":1,"getConsumer":2,"setConsumer":1,"createConsumer2":1,"":1,"subscribeTo":1,"walk":6,"":1,"":1,"encodeMethodIntoRequestBody":2,"":4,"determineFetchMethod":4,"determineFormMethod":4,"isBodyInit":2,"extendEvent":2,"parseActionDescriptorString":5,"parseEventTarget":3,"parseEventOptions":1,"":1,"stringifyEventTarget":3,"camelize":1,"":1,"namespaceCamelize":1,"capitalize":1,"dasherize":1,"":1,"tokenize":2,"":1,"":1,"":1,"":1,"":2,"":1,"":1,"getDefaultEventNameForElement":2,"error":1,"typecast":1,"add":1,"del":1,"fetch2":2,"prune":3,"parseTokenString":1,"":1,"":1,"zip":1,"":1,"tokensAreEqual":4,"readInheritableStaticArrayValues":1,"":1,"":1,"readInheritableStaticObjectPairs":1,"":1,"getAncestorsForConstructor":2,"getOwnStaticArrayValues":2,"getOwnStaticObjectPairs":2,"":1,"bless":1,"shadow":1,"getBlessedProperties":1,"":2,"getShadowProperties":1,"":2,"getShadowedDescriptor":6,"":2,"":1,"":1,"extendWithReflect":1,"extended":1,"testReflectExtension":1,"":1,"":1,"":1,"blessDefinition":1,"attributeValueContainsToken":1,"":1,"":1,"":1,"":1,"objectFromEntries":1,"":1,"domReady":1,"":2,"":1,"ClassPropertiesBlessing":1,"":1,"propertiesForClassDefinition":2,"OutletPropertiesBlessing":1,"":1,"propertiesForOutletDefinition":5,"":2,"":1,"TargetPropertiesBlessing":1,"":1,"propertiesForTargetDefinition":2,"ValuePropertiesBlessing":1,"":1,"":1,"propertiesForValueDefinitionPair":4,"parseValueDefinitionPair":1,"parseValueTypeConstant":6,"parseValueTypeDefault":6,"parseValueTypeObject":4,"parseValueTypeDefinition":5,"defaultValueForDefinition":3,"valueDescriptorForTokenAndTypeDefinition":2,"writeJSON":1,"writeString":1,"getCookie":4,"":1,"compact":2,"metaContent":2,"stringEntriesFromFormData":1,"":2,"mergeEntries":4,"get":1,"":3,"":1,"":24,"":5,"":1,"":1,"":1,"":1,"c2":2,"u2":1,"":4,"":26,"":1,"":1,"":1,"":48,"":4,"":2,"":3,"":1,"":1,"":2,"":1,"":1,"":1,"":5,"":21,"":1,"":2,"":4,"":3,"":5,"":22,"":3,"":2,"t3":1,"":5,"i2":9,"":1,"":1,"":10,"":5,"":9,"":3,"":3,"":1,"":2,"":9,"":3,"":2,"":2,"":1,"":3,"":1,"":8,"":1,"":5,"":1,"":2,"":3,"":1,"":2,"":16,"":3,"":1,"":23,"":2,"":7,"":8,"":8,"":4,"":1,"":1,"":2,"":2,"":1,"":1,"":1,"":2,"":3,"":3,"":1,"":1,"":1,"":1,"":2,"":1},"history":[["855e716b","remove build directroy"],["0b26d7b0","immutable invoice billing data"]]},{"file_path":"app/javascript/controllers/index.js","x":22,"y":1,"details":{},"history":[["e921a340","fixed issues from feedback"],["21bf69e9","updated phone confirmation page"],["e493b2b6","updated ui, updated new invoices path"],["f9c0cce5","added finished auctions page, added cookies, added timezone localization"],["ca9c7443","added notification modal, added menu in mobile view"],["89f13995","updated modal windows, added new views, config turbo frame"],["3e051c18","implement new wishlish page, billing profile page"],["b9889821","updated profile page, webpush notifications, invoices, offers"],["367e8cb4","updated admin auction view"],["79c1c556","implemented admin auction page, refactor the logic, update ordeable stimulus controller"]]},{"file_path":"app/packs/entrypoints/controllers/index.js","x":18,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["8e79fcbf","added countdown for mobile confirmation"],["8243cff7","include support user timezone in auction information rendrering"],["b08df3f8","customize banner, added logic"],["b0200375","fixed mobile ui"],["eaa8101c","added autoupdated tax calculation by stimulus"],["8849ae0c","Improved indication of user bids"],["b8883bc1","added webpush"],["16532dce","added localization for notifications"],["e8b2968c","added broadcast for flash notifications"]]},{"file_path":"app/packs/entrypoints/application.js","x":12,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["47c20b91","fixed js sidebar error"],["29775fe5","Fixed javascript errors"],["c396629c","updated turbo frame"],["61058298","Fix javascript errors"],["e042113d","fixed webpacker stimulus scss issues"],["4e0de922","fixed tests"],["b4ebbb47","fixed tests"],["ae00b8e1","added filter, search in admin panel, hotwire, pagination, update sorting"],["6d3339f7","webpack updated"]]},{"file_path":"app/javascript/application.js","x":10,"y":7,"details":{"":1,"":1,"":1,"":2,"":1},"history":[["ab2b0eb4","Fixed main menu and implemented static notices"],["e921a340","fixed issues from feedback"],["f9c0cce5","added finished auctions page, added cookies, added timezone localization"],["89f13995","updated modal windows, added new views, config turbo frame"],["6fd59ef4","added timeleft, added deposit, updated view, added new flash"],["f0dc5208","change index ui"]]},{"file_path":"app/packs/entrypoints/controllers/countdown_controller.js","x":9,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["e921a340","fixed issues from feedback"],["407bafdf","add converter timezone for local"],["8849ae0c","Improved indication of user bids"],["b8883bc1","added webpush"],["492001c9","fixed issued from 20-07-22"],["83ffb73e","update feedback from 13-07-2022"],["dadfc37f","fixed timer"],["89c65ca0","added timer, added broadcast for it, fixed minimum bid issue"]]},{"file_path":"app/packs/entrypoints/controllers/push_notification_controller.js","x":5,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["e921a340","fixed issues from feedback"],["c4a90355","updated push notification controller"],["aee3eb9d","added translation"],["b8883bc1","added webpush"]]},{"file_path":"app/javascript/controllers/application.js","x":5,"y":1,"details":{},"history":[["c93e658d","fixed componen priview missing file"],["367e8cb4","updated admin auction view"],["f0dc5208","change index ui"]]},{"file_path":"app/javascript/controllers/countdown_controller.js","x":5,"y":10,"details":{},"history":[["592fec68","remove jquery snippet from countdown code"],["e921a340","fixed issues from feedback"],["6fd59ef4","added timeleft, added deposit, updated view, added new flash"]]},{"file_path":"app/javascript/packs/application.js","x":5,"y":0,"details":{},"history":[["6d3339f7","webpack updated"],["87431f13","Add google geochart"],["22293723","Add chartkick & controller & view"],["d79e1255","Add descriptive tooltip to auction list email button on main page"],["9bed0fef","Add DejaVu Sans Mono font"],["550a2fa0","Add google analytics tracking"],["c623714b","Reorganize application.js"],["d024c56a","Replace local fonts with an NPM package"],["80e90c87","Add sidebar from semantic-ui, not a custom function"],["e416d42d","Remove obosolete src folder"]]},{"file_path":"app/javascript/controllers/hello_controller.js","x":4,"y":0,"details":{},"history":[]},{"file_path":"app/assets/config/manifest.js","x":4,"y":0,"details":{},"history":[["f0dc5208","change index ui"],["8daf64c4","Add empty manifest.js to upgrade sprockerts to 4.0.2"],["b8e52214","Clean up webpacker configuration"],["91b51338","Add webpack"],["e9329ff1","Run rails new."]]},{"file_path":"app/packs/entrypoints/controllers/auction_type_handler_controller.js","x":4,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["0cfe5804","added migrations for deposit enable, added many to many relationship for user and auction associative, added test"],["bde178c2","comment out eventer file update checker in development conf"],["dee1110b","added auction with offerst filter"]]},{"file_path":"app/packs/entrypoints/controllers/submitter_controller.js","x":4,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["61058298","Fix javascript errors"],["0cfe5804","added migrations for deposit enable, added many to many relationship for user and auction associative, added test"],["e042113d","fixed webpacker stimulus scss issues"]]},{"file_path":"app/javascript/controllers/autotax_counter_controller.js","x":4,"y":8,"details":{},"history":[["318b4883","set comma everywhere, fix localize close message"],["285cb82e","move set offer to top level, fixed separator depends of locale"],["e921a340","fixed issues from feedback"],["99f9213f","added stimulus controllers for check for auctions ends and calculate bid with tax"]]},{"file_path":"app/assets/builds/google_analytics.js","x":4,"y":0,"details":{},"history":[["f9c0cce5","added finished auctions page, added cookies, added timezone localization"],["3d1964e7","connect lhv connect"]]},{"file_path":"app/packs/entrypoints/controllers/dropdown_controller.js","x":4,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["7629e27d","mobile design"],["e8b2968c","added broadcast for flash notifications"],["3fee6c49","added offer and auction notifications"]]},{"file_path":"app/packs/entrypoints/controllers/application.js","x":4,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["29775fe5","Fixed javascript errors"],["c396629c","updated turbo frame"],["e042113d","fixed webpacker stimulus scss issues"]]},{"file_path":"app/packs/entrypoints/controllers/debounce_controller.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["0cfe5804","added migrations for deposit enable, added many to many relationship for user and auction associative, added test"],["e042113d","fixed webpacker stimulus scss issues"]]},{"file_path":"app/packs/entrypoints/controllers/english_offers_controller.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["1b8c0c3d","Corrected translation of auction type"],["8849ae0c","Improved indication of user bids"]]},{"file_path":"app/packs/entrypoints/controllers/check_controller.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["e921a340","fixed issues from feedback"],["e042113d","fixed webpacker stimulus scss issues"]]},{"file_path":"app/packs/entrypoints/controllers/hello_controller.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["0cfe5804","added migrations for deposit enable, added many to many relationship for user and auction associative, added test"],["e042113d","fixed webpacker stimulus scss issues"]]},{"file_path":"app/javascript/controllers/modals/offer_modal_controller.js","x":3,"y":3,"details":{},"history":[["89f13995","updated modal windows, added new views, config turbo frame"],["b9889821","updated profile page, webpush notifications, invoices, offers"],["02444a1a","added modals windows"]]},{"file_path":"app/javascript/controllers/table/ordeable_controller.js","x":3,"y":8,"details":{},"history":[["0f970a33","updated admins templates"],["79c1c556","implemented admin auction page, refactor the logic, update ordeable stimulus controller"],["ff28a715","rename stimulus controller by convetion"]]},{"file_path":"app/packs/entrypoints/controllers/checker_controller.js","x":3,"y":0,"details":{},"history":[["79c1c556","implemented admin auction page, refactor the logic, update ordeable stimulus controller"],["0cfe5804","added migrations for deposit enable, added many to many relationship for user and auction associative, added test"],["e042113d","fixed webpacker stimulus scss issues"]]},{"file_path":"app/packs/entrypoints/controllers/timeleft_controller.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["a34e7c3d","fixed translation, improved countdown ui"],["8e79fcbf","added countdown for mobile confirmation"]]},{"file_path":"app/packs/entrypoints/controllers/wishlist_controller.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["0cfe5804","added migrations for deposit enable, added many to many relationship for user and auction associative, added test"],["1f877d3f","added validator for wishlist"]]},{"file_path":"config/webpack/base.js","x":3,"y":0,"details":{},"history":[["f0dc5208","change index ui"],["4e0de922","fixed tests"],["6d3339f7","webpack updated"]]},{"file_path":"config/webpack/production.js","x":3,"y":0,"details":{},"history":[["f0dc5208","change index ui"],["6d3339f7","webpack updated"],["32e21410","Improve LESS file compiling"],["91b51338","Add webpack"]]},{"file_path":"app/packs/entrypoints/google_analytics.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["aa4ac153","Test google analytics"],["6d3339f7","webpack updated"]]},{"file_path":"app/packs/entrypoints/payment_orders.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["29775fe5","Fixed javascript errors"],["6d3339f7","webpack updated"]]},{"file_path":"app/packs/entrypoints/users.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["29775fe5","Fixed javascript errors"],["6d3339f7","webpack updated"]]},{"file_path":"app/packs/entrypoints/wishlist_items.js","x":3,"y":0,"details":{},"history":[["0e0361a4","removed entrypoint webpacker js code"],["29775fe5","Fixed javascript errors"],["6d3339f7","webpack updated"]]},{"file_path":"app/javascript/controllers/table/tab_controller.js","x":3,"y":10,"details":{},"history":[["e921a340","fixed issues from feedback"],["e493b2b6","updated ui, updated new invoices path"],["f4d73637","delegate footer and header to components, implemented notification page, invoices page, offers page, delegate boiler code to the components"]]},{"file_path":"app/javascript/controllers/push_notification_controller.js","x":3,"y":23,"details":{},"history":[["e921a340","fixed issues from feedback"],["ca9c7443","added notification modal, added menu in mobile view"],["b9889821","updated profile page, webpush notifications, invoices, offers"]]}];
diff --git a/attractor_output/javascripts/index.pack.js b/attractor_output/javascripts/index.pack.js
new file mode 100644
index 000000000..009ad1076
--- /dev/null
+++ b/attractor_output/javascripts/index.pack.js
@@ -0,0 +1,38 @@
+!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=73)}([function(t,e,n){"use strict";t.exports=n(58)},function(t,e,n){t.exports=n(69)()},function(t,e,n){var r=n(62),i=n(63),a=n(64);t.exports=function(t,e){return r(t)||i(t,e)||a()}},function(t,e,n){t.exports=n(65)},,function(t,e){function n(t,e,n,r,i,a,o){try{var l=t[a](o),u=l.value}catch(t){return void n(t)}l.done?e(u):Promise.resolve(u).then(r,i)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise((function(i,a){var o=t.apply(e,r);function l(t){n(o,i,a,l,u,"next",t)}function u(t){n(o,i,a,l,u,"throw",t)}l(void 0)}))}}},,,function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return y.head.insertBefore(e,r),t}}var tt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function et(){for(var t=12,e="";t-- >0;)e+=tt[62*Math.random()|0];return e}function nt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function rt(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function it(t){return t.size!==Z.size||t.x!==Z.x||t.y!==Z.y||t.rotate!==Z.rotate||t.flipX||t.flipY}function at(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*e.x,", ").concat(32*e.y,") "),o="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),l="rotate(".concat(e.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(a," ").concat(o," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var ot={x:0,y:0,width:"100%",height:"100%"};function lt(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function ut(t){var e=t.icons,n=e.main,r=e.mask,i=t.prefix,a=t.iconName,o=t.transform,u=t.symbol,s=t.title,c=t.extra,f=t.watchable,h=void 0!==f&&f,p=r.found?r:n,d=p.width,m=p.height,y="fa-w-".concat(Math.ceil(d/m*16)),v=[C.replacementClass,a?"".concat(C.familyPrefix,"-").concat(a):"",y].filter((function(t){return-1===c.classes.indexOf(t)})).concat(c.classes).join(" "),g={children:[],attributes:l({},c.attributes,{"data-prefix":i,"data-icon":a,class:v,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(d," ").concat(m)})};h&&(g.attributes[w]=""),s&&g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(et())},children:[s]});var _=l({},g,{prefix:i,iconName:a,main:n,mask:r,transform:o,symbol:u,styles:c.styles}),b=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,i=t.main,a=t.mask,o=t.transform,u=i.width,s=i.icon,c=a.width,f=a.icon,h=at({transform:o,containerWidth:c,iconWidth:u}),p={tag:"rect",attributes:l({},ot,{fill:"white"})},d=s.children?{children:s.children.map(lt)}:{},m={tag:"g",attributes:l({},h.inner),children:[lt(l({tag:s.tag,attributes:l({},s.attributes,h.path)},d))]},y={tag:"g",attributes:l({},h.outer),children:[m]},v="mask-".concat(et()),g="clip-".concat(et()),_={tag:"mask",attributes:l({},ot,{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,y]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(e=f,"g"===e.tag?e.children:[e])},_]};return n.push(b,{tag:"rect",attributes:l({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(v,")")},ot)}),{children:n,attributes:r}}(_):function(t){var e=t.children,n=t.attributes,r=t.main,i=t.transform,a=rt(t.styles);if(a.length>0&&(n.style=a),it(i)){var o=at({transform:i,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:l({},o.outer),children:[{tag:"g",attributes:l({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:l({},r.icon.attributes,o.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(_),x=b.children,k=b.attributes;return _.children=x,_.attributes=k,u?function(t){var e=t.prefix,n=t.iconName,r=t.children,i=t.attributes,a=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:l({},i,{id:!0===a?"".concat(e,"-").concat(C.familyPrefix,"-").concat(n):a}),children:r}]}]}(_):function(t){var e=t.children,n=t.main,r=t.mask,i=t.attributes,a=t.styles,o=t.transform;if(it(o)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};i.style=rt(l({},a,{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}(_)}var st=function(){},ct=(C.measurePerformance&&v&&v.mark&&v.measure,function(t,e,n,r){var i,a,o,l=Object.keys(t),u=l.length,s=void 0!==r?function(t,e){return function(n,r,i,a){return t.call(e,n,r,i,a)}}(e,r):e;for(void 0===n?(i=1,o=t[l[0]]):(i=0,o=n);i2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!=typeof N.hooks.addPack||r?N.styles[t]=l({},N.styles[t]||{},i):N.hooks.addPack(t,i),"fas"===t&&ft("fa",e)}var ht=N.styles,pt=N.shims,dt=function(){var t=function(t){return ct(ht,(function(e,n,r){return e[r]=ct(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in ht;ct(pt,(function(t,n){var r=n[0],i=n[1],a=n[2];return"far"!==i||e||(i="fas"),t[r]={prefix:i,iconName:a},t}),{})};dt();N.styles;function mt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function yt(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,i=t.children,a=void 0===i?[]:i;return"string"==typeof t?nt(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(nt(t[n]),'" ')}),"").trim()}(r),">").concat(a.map(yt).join(""),"").concat(e,">")}var vt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return t.flipX=!0,t;if(r&&"v"===i)return t.flipY=!0,t;if(i=parseFloat(i),isNaN(i))return t;switch(r){case"grow":t.size=t.size+i;break;case"shrink":t.size=t.size-i;break;case"left":t.x=t.x-i;break;case"right":t.x=t.x+i;break;case"up":t.y=t.y-i;break;case"down":t.y=t.y+i;break;case"rotate":t.rotate=t.rotate+i}return t}),e):e};function gt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}gt.prototype=Object.create(Error.prototype),gt.prototype.constructor=gt;var _t={fill:"currentColor"},bt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},wt={tag:"path",attributes:l({},_t,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},xt=l({},bt,{attributeName:"opacity"});l({},_t,{cx:"256",cy:"364",r:"28"}),l({},bt,{attributeName:"r",values:"28;14;28;28;14;28;"}),l({},xt,{values:"1;0;1;1;0;1;"}),l({},_t,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),l({},xt,{values:"1;0;0;0;0;1;"}),l({},_t,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),l({},xt,{values:"0;0;1;1;0;0;"}),N.styles;function kt(t){var e=t[0],n=t[1],r=u(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(C.familyPrefix,"-").concat(E.GROUP)},children:[{tag:"path",attributes:{class:"".concat(C.familyPrefix,"-").concat(E.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(C.familyPrefix,"-").concat(E.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}N.styles;var Et='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';function Tt(){var t=_,e=b,n=C.familyPrefix,r=C.replacementClass,i=Et;if(n!==t||r!==e){var a=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),l=new RegExp("\\.".concat(e),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(l,".".concat(r))}return i}function St(){C.autoAddCss&&!Ot&&(J(Tt()),Ot=!0)}function Ct(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return yt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(g){var e=y.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Mt(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return mt(Pt.definitions,n,r)||mt(N.styles,n,r)}var Nt,Pt=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?Z:n,i=e.symbol,a=void 0!==i&&i,o=e.mask,u=void 0===o?null:o,s=e.title,c=void 0===s?null:s,f=e.classes,h=void 0===f?[]:f,p=e.attributes,d=void 0===p?{}:p,m=e.styles,y=void 0===m?{}:m;if(t){var v=t.prefix,g=t.iconName,_=t.icon;return Ct(l({type:"icon"},t),(function(){return St(),C.autoA11y&&(c?d["aria-labelledby"]="".concat(C.replacementClass,"-title-").concat(et()):(d["aria-hidden"]="true",d.focusable="false")),ut({icons:{main:kt(_),mask:u?kt(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:g,transform:l({},Z,r),symbol:a,title:c,extra:{attributes:d,styles:y,classes:h}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:Mt(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:Mt(r||{})),Nt(n,l({},e,{mask:r}))})}).call(this,n(10),n(66).setImmediate)},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";
+/*
+object-assign
+(c) Sindre Sorhus
+@license MIT
+*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,l,u=o(t),s=1;s=0||(i[n]=t[n]);return i}},function(t,e,n){"use strict";var r=n(71),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(t){return r.isMemo(t)?o:l[t.$$typeof]||i}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(d){var i=p(n);i&&i!==d&&t(e,i,r)}var o=c(n);f&&(o=o.concat(f(n)));for(var l=u(e),m=u(n),y=0;yL.length&&L.push(t)}function z(t,e,n){return null==t?0:function t(e,n,r,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case a:case o:u=!0}}if(u)return r(i,e,""===n?"."+I(e,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(e))for(var s=0;se}return!1}(e,n,i,r)&&(n=null),r||null===i?function(t){return!!dt.call(yt,t)||!dt.call(mt,t)&&(pt.test(t)?yt[t]=!0:(mt[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&"":n:(e=i.attributeName,r=i.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}function kt(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function Et(t){t._valueTracker||(t._valueTracker=function(t){var e=kt(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=""+t,a.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function Tt(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=kt(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function St(t,e){var n=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function Ct(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=wt(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function Mt(t,e){null!=(e=e.checked)&&xt(t,"checked",e,!1)}function Nt(t,e){Mt(t,e);var n=wt(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?Ot(t,e.type,n):e.hasOwnProperty("defaultValue")&&Ot(t,e.type,wt(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function Pt(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!t.defaultChecked,t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function Ot(t,e,n){"number"===e&&t.ownerDocument.activeElement===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function At(t,e){return t=i({children:void 0},e),(e=function(t){var e="";return r.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(e.children))&&(t.children=e),t}function Lt(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i=e.length))throw o(Error(93));e=e[0]}n=e}null==n&&(n="")}t._wrapperState={initialValue:wt(n)}}function zt(t,e){var n=wt(e.value),r=wt(e.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function It(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(_t,bt);gt[e]=new vt(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(_t,bt);gt[e]=new vt(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(_t,bt);gt[e]=new vt(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){gt[t]=new vt(t,1,!1,t.toLowerCase(),null,!1)})),gt.xlinkHref=new vt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){gt[t]=new vt(t,1,!1,t.toLowerCase(),null,!0)}));var jt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Ut(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Dt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?Ut(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var Ht,Wt=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction((function(){return t(e,n)}))}:t}((function(t,e){if(t.namespaceURI!==jt.svg||"innerHTML"in t)t.innerHTML=e;else{for((Ht=Ht||document.createElement("div")).innerHTML="",e=Ht.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}}));function $t(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}function Yt(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Bt={animationend:Yt("Animation","AnimationEnd"),animationiteration:Yt("Animation","AnimationIteration"),animationstart:Yt("Animation","AnimationStart"),transitionend:Yt("Transition","TransitionEnd")},qt={},Vt={};function Xt(t){if(qt[t])return qt[t];if(!Bt[t])return t;var e,n=Bt[t];for(e in n)if(n.hasOwnProperty(e)&&e in Vt)return qt[t]=n[e];return t}J&&(Vt=document.createElement("div").style,"AnimationEvent"in window||(delete Bt.animationend.animation,delete Bt.animationiteration.animation,delete Bt.animationstart.animation),"TransitionEvent"in window||delete Bt.transitionend.transition);var Qt=Xt("animationend"),Kt=Xt("animationiteration"),Gt=Xt("animationstart"),Zt=Xt("transitionend"),Jt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),te=!1,ee=[],ne=null,re=null,ie=null,ae=new Map,oe=new Map,le="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),ue="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function se(t,e,n,r){return{blockedOn:t,topLevelType:e,eventSystemFlags:32|n,nativeEvent:r}}function ce(t,e){switch(t){case"focus":case"blur":ne=null;break;case"dragenter":case"dragleave":re=null;break;case"mouseover":case"mouseout":ie=null;break;case"pointerover":case"pointerout":ae.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":oe.delete(e.pointerId)}}function fe(t,e,n,r,i){return null===t||t.nativeEvent!==i?se(e,n,r,i):(t.eventSystemFlags|=r,t)}function he(t){if(null!==t.blockedOn)return!1;var e=Sn(t.topLevelType,t.eventSystemFlags,t.nativeEvent);return null===e||(t.blockedOn=e,!1)}function pe(t,e,n){he(t)&&n.delete(e)}function de(){for(te=!1;0this.eventPool.length&&this.eventPool.push(t)}function Fe(t){t.eventPool=[],t.getPooled=Le,t.release=Re}i(Ae.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=Pe)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=Pe)},persist:function(){this.isPersistent=Pe},isPersistent:Oe,destructor:function(){var t,e=this.constructor.Interface;for(t in e)this[t]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Oe,this._dispatchInstances=this._dispatchListeners=null}}),Ae.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Ae.extend=function(t){function e(){}function n(){return r.apply(this,arguments)}var r=this;e.prototype=r.prototype;var a=new e;return i(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=i({},r.Interface,t),n.extend=r.extend,Fe(n),n},Fe(Ae);var ze=Ae.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Ie=Ae.extend({clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),je=Ae.extend({view:null,detail:null}),Ue=je.extend({relatedTarget:null});function De(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}var He={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},We={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},$e={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ye(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=$e[t])&&!!e[t]}function Be(){return Ye}for(var qe=je.extend({key:function(t){if(t.key){var e=He[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=De(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?We[t.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Be,charCode:function(t){return"keypress"===t.type?De(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?De(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),Ve=0,Xe=0,Qe=!1,Ke=!1,Ge=je.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Be,button:null,buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},movementX:function(t){if("movementX"in t)return t.movementX;var e=Ve;return Ve=t.screenX,Qe?"mousemove"===t.type?t.screenX-e:0:(Qe=!0,0)},movementY:function(t){if("movementY"in t)return t.movementY;var e=Xe;return Xe=t.screenY,Ke?"mousemove"===t.type?t.screenY-e:0:(Ke=!0,0)}}),Ze=Ge.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Je=Ge.extend({dataTransfer:null}),tn=je.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Be}),en=Ae.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),nn=Ge.extend({deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null}),rn=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[Qt,"animationEnd",2],[Kt,"animationIteration",2],[Gt,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[Zt,"transitionEnd",2],["waiting","waiting",2]],an={},on={},ln=0;ln=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=Hn(r)}}function $n(){for(var t=window,e=Dn();e instanceof t.HTMLIFrameElement;){try{var n="string"==typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;e=Dn((t=e.contentWindow).document)}return e}function Yn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var Bn="$",qn="/$",Vn="$?",Xn="$!",Qn=null,Kn=null;function Gn(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function Zn(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"==typeof e.children||"number"==typeof e.children||"object"==typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var Jn="function"==typeof setTimeout?setTimeout:void 0,tr="function"==typeof clearTimeout?clearTimeout:void 0;function er(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function nr(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if(n===Bn||n===Xn||n===Vn){if(0===e)return t;e--}else n===qn&&e++}t=t.previousSibling}return null}var rr=Math.random().toString(36).slice(2),ir="__reactInternalInstance$"+rr,ar="__reactEventHandlers$"+rr,or="__reactContainere$"+rr;function lr(t){var e=t[ir];if(e)return e;for(var n=t.parentNode;n;){if(e=n[or]||n[ir]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=nr(t);null!==t;){if(n=t[ir])return n;t=nr(t)}return e}n=(t=n).parentNode}return null}function ur(t){return!(t=t[ir]||t[or])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function sr(t){if(5===t.tag||6===t.tag)return t.stateNode;throw o(Error(33))}function cr(t){return t[ar]||null}var fr=null,hr=null,pr=null;function dr(){if(pr)return pr;var t,e,n=hr,r=n.length,i="value"in fr?fr.value:fr.textContent,a=i.length;for(t=0;t=_r),xr=String.fromCharCode(32),kr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Er=!1;function Tr(t,e){switch(t){case"keyup":return-1!==vr.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Sr(t){return"object"==typeof(t=t.detail)&&"data"in t?t.data:null}var Cr=!1;var Mr={eventTypes:kr,extractEvents:function(t,e,n,r,i){var a;if(gr)t:{switch(t){case"compositionstart":var o=kr.compositionStart;break t;case"compositionend":o=kr.compositionEnd;break t;case"compositionupdate":o=kr.compositionUpdate;break t}o=void 0}else Cr?Tr(t,r)&&(o=kr.compositionEnd):"keydown"===t&&229===r.keyCode&&(o=kr.compositionStart);return o?(wr&&"ko"!==r.locale&&(Cr||o!==kr.compositionStart?o===kr.compositionEnd&&Cr&&(a=dr()):(hr="value"in(fr=i)?fr.value:fr.textContent,Cr=!0)),e=mr.getPooled(o,n,r,i),a?e.data=a:null!==(a=Sr(r))&&(e.data=a),Ne(e),a=e):a=null,(t=br?function(t,e){switch(t){case"compositionend":return Sr(e);case"keypress":return 32!==e.which?null:(Er=!0,xr);case"textInput":return(t=e.data)===xr&&Er?null:t;default:return null}}(t,r):function(t,e){if(Cr)return"compositionend"===t||!gr&&Tr(t,e)?(t=dr(),pr=hr=fr=null,Cr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=document.documentMode,Zr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Jr=null,ti=null,ei=null,ni=!1;function ri(t,e){var n=e.window===e?e.document:9===e.nodeType?e:e.ownerDocument;return ni||null==Jr||Jr!==Dn(n)?null:("selectionStart"in(n=Jr)&&Yn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},ei&&Kr(ei,n)?null:(ei=n,(t=Ae.getPooled(Zr.select,ti,t,e)).type="select",t.target=Jr,Ne(t),t))}var ii={eventTypes:Zr,extractEvents:function(t,e,n,r,i){var a;if(!(a=!(e=i.window===i?i.document:9===i.nodeType?i:i.ownerDocument))){t:{e=Nn(e),a=d.onSelect;for(var o=0;ooi||(t.current=ai[oi],ai[oi]=null,oi--)}function ui(t,e){ai[++oi]=t.current,t.current=e}var si={},ci={current:si},fi={current:!1},hi=si;function pi(t,e){var n=t.type.contextTypes;if(!n)return si;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=a),a}function di(t){return null!=(t=t.childContextTypes)}function mi(t){li(fi),li(ci)}function yi(t){li(fi),li(ci)}function vi(t,e,n){if(ci.current!==si)throw o(Error(168));ui(ci,e),ui(fi,n)}function gi(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw o(Error(108),G(e)||"Unknown",a);return i({},n,{},r)}function _i(t){var e=t.stateNode;return e=e&&e.__reactInternalMemoizedMergedChildContext||si,hi=ci.current,ui(ci,e),ui(fi,fi.current),!0}function bi(t,e,n){var r=t.stateNode;if(!r)throw o(Error(169));n?(e=gi(t,e,hi),r.__reactInternalMemoizedMergedChildContext=e,li(fi),li(ci),ui(ci,e)):li(fi),ui(fi,n)}var wi=a.unstable_runWithPriority,xi=a.unstable_scheduleCallback,ki=a.unstable_cancelCallback,Ei=a.unstable_shouldYield,Ti=a.unstable_requestPaint,Si=a.unstable_now,Ci=a.unstable_getCurrentPriorityLevel,Mi=a.unstable_ImmediatePriority,Ni=a.unstable_UserBlockingPriority,Pi=a.unstable_NormalPriority,Oi=a.unstable_LowPriority,Ai=a.unstable_IdlePriority,Li={},Ri=void 0!==Ti?Ti:function(){},Fi=null,zi=null,Ii=!1,ji=Si(),Ui=1e4>ji?Si:function(){return Si()-ji};function Di(){switch(Ci()){case Mi:return 99;case Ni:return 98;case Pi:return 97;case Oi:return 96;case Ai:return 95;default:throw o(Error(332))}}function Hi(t){switch(t){case 99:return Mi;case 98:return Ni;case 97:return Pi;case 96:return Oi;case 95:return Ai;default:throw o(Error(332))}}function Wi(t,e){return t=Hi(t),wi(t,e)}function $i(t,e,n){return t=Hi(t),xi(t,e,n)}function Yi(t){return null===Fi?(Fi=[t],zi=xi(Mi,qi)):Fi.push(t),Li}function Bi(){if(null!==zi){var t=zi;zi=null,ki(t)}qi()}function qi(){if(!Ii&&null!==Fi){Ii=!0;var t=0;try{var e=Fi;Wi(99,(function(){for(;t=e&&(Po=!0),t.firstContext=null)}function ra(t,e){if(Gi!==t&&!1!==e&&0!==e)if("number"==typeof e&&1073741823!==e||(Gi=t,e=1073741823),e={context:t,observedBits:e,next:null},null===Ki){if(null===Qi)throw o(Error(308));Ki=e,Qi.dependencies={expirationTime:0,firstContext:e,responders:null}}else Ki=Ki.next=e;return t._currentValue}var ia=!1;function aa(t){return{baseState:t,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function oa(t){return{baseState:t.baseState,firstUpdate:t.firstUpdate,lastUpdate:t.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function la(t,e){return{expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function ua(t,e){null===t.lastUpdate?t.firstUpdate=t.lastUpdate=e:(t.lastUpdate.next=e,t.lastUpdate=e)}function sa(t,e){var n=t.alternate;if(null===n){var r=t.updateQueue,i=null;null===r&&(r=t.updateQueue=aa(t.memoizedState))}else r=t.updateQueue,i=n.updateQueue,null===r?null===i?(r=t.updateQueue=aa(t.memoizedState),i=n.updateQueue=aa(n.memoizedState)):r=t.updateQueue=oa(i):null===i&&(i=n.updateQueue=oa(r));null===i||r===i?ua(r,e):null===r.lastUpdate||null===i.lastUpdate?(ua(r,e),ua(i,e)):(ua(r,e),i.lastUpdate=e)}function ca(t,e){var n=t.updateQueue;null===(n=null===n?t.updateQueue=aa(t.memoizedState):fa(t,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=e:(n.lastCapturedUpdate.next=e,n.lastCapturedUpdate=e)}function fa(t,e){var n=t.alternate;return null!==n&&e===n.updateQueue&&(e=t.updateQueue=oa(e)),e}function ha(t,e,n,r,a,o){switch(n.tag){case 1:return"function"==typeof(t=n.payload)?t.call(o,r,a):t;case 3:t.effectTag=-4097&t.effectTag|64;case 0:if(null==(a="function"==typeof(t=n.payload)?t.call(o,r,a):t))break;return i({},r,a);case 2:ia=!0}return r}function pa(t,e,n,r,i){ia=!1;for(var a=(e=fa(t,e)).baseState,o=null,l=0,u=e.firstUpdate,s=a;null!==u;){var c=u.expirationTime;cm?(y=f,f=null):y=f.sibling;var v=p(i,f,l[m],u);if(null===v){null===f&&(f=y);break}t&&f&&null===v.alternate&&e(i,f),o=a(v,o,m),null===c?s=v:c.sibling=v,c=v,f=y}if(m===l.length)return n(i,f),s;if(null===f){for(;my?(v=m,m=null):v=m.sibling;var _=p(i,m,g.value,s);if(null===_){null===m&&(m=v);break}t&&m&&null===_.alternate&&e(i,m),l=a(_,l,y),null===f?c=_:f.sibling=_,f=_,m=v}if(g.done)return n(i,m),c;if(null===m){for(;!g.done;y++,g=u.next())null!==(g=h(i,g.value,s))&&(l=a(g,l,y),null===f?c=g:f.sibling=g,f=g);return c}for(m=r(i,m);!g.done;y++,g=u.next())null!==(g=d(m,i,y,g.value,s))&&(t&&null!==g.alternate&&m.delete(null===g.key?y:g.key),l=a(g,l,y),null===f?c=g:f.sibling=g,f=g);return t&&m.forEach((function(t){return e(i,t)})),c}return function(t,r,a,u){var s="object"==typeof a&&null!==a&&a.type===j&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case z:t:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(7===s.tag?a.type===j:s.elementType===a.type){n(t,s.sibling),(r=i(s,a.type===j?a.props.children:a.props)).ref=Ta(t,s,a),r.return=t,t=r;break t}n(t,s);break}e(t,s),s=s.sibling}a.type===j?((r=Uu(a.props.children,t.mode,u,a.key)).return=t,t=r):((u=ju(a.type,a.key,a.props,null,t.mode,u)).ref=Ta(t,r,a),u.return=t,t=u)}return l(t);case I:t:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(t,r.sibling),(r=i(r,a.children||[])).return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}(r=Hu(a,t.mode,u)).return=t,t=r}return l(t)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(t,r.sibling),(r=i(r,a)).return=t,t=r):(n(t,r),(r=Du(a,t.mode,u)).return=t,t=r),l(t);if(Ea(a))return m(t,r,a,u);if(K(a))return y(t,r,a,u);if(c&&Sa(t,a),void 0===a&&!s)switch(t.tag){case 1:case 0:throw t=t.type,o(Error(152),t.displayName||t.name||"Component")}return n(t,r)}}var Ma=Ca(!0),Na=Ca(!1),Pa={},Oa={current:Pa},Aa={current:Pa},La={current:Pa};function Ra(t){if(t===Pa)throw o(Error(174));return t}function Fa(t,e){ui(La,e),ui(Aa,t),ui(Oa,Pa);var n=e.nodeType;switch(n){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Dt(null,"");break;default:e=Dt(e=(n=8===n?e.parentNode:e).namespaceURI||null,n=n.tagName)}li(Oa),ui(Oa,e)}function za(t){li(Oa),li(Aa),li(La)}function Ia(t){Ra(La.current);var e=Ra(Oa.current),n=Dt(e,t.type);e!==n&&(ui(Aa,t),ui(Oa,n))}function ja(t){Aa.current===t&&(li(Oa),li(Aa))}var Ua={current:0};function Da(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===Vn||n.data===Xn))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if((64&e.effectTag)!==ve)return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Ha(t,e){return{responder:t,props:e}}var Wa=L.ReactCurrentDispatcher,$a=0,Ya=null,Ba=null,qa=null,Va=null,Xa=null,Qa=null,Ka=0,Ga=null,Za=0,Ja=!1,to=null,eo=0;function no(){throw o(Error(321))}function ro(t,e){if(null===e)return!1;for(var n=0;nKa&&vu(Ka=f)):(yu(f,s.suspenseConfig),a=s.eagerReducer===t?s.eagerState:t(a,s.action)),l=s,s=s.next}while(null!==s&&s!==r);c||(u=l,i=a),Xr(a,e.memoizedState)||(Po=!0),e.memoizedState=a,e.baseUpdate=u,e.baseState=i,n.lastRenderedState=a}return[e.memoizedState,n.dispatch]}function co(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===Ga?(Ga={lastEffect:null}).lastEffect=t.next=t:null===(e=Ga.lastEffect)?Ga.lastEffect=t.next=t:(n=e.next,e.next=t,t.next=n,Ga.lastEffect=t),t}function fo(t,e,n,r){var i=oo();Za|=t,i.memoizedState=co(e,n,void 0,void 0===r?null:r)}function ho(t,e,n,r){var i=lo();r=void 0===r?null:r;var a=void 0;if(null!==Ba){var o=Ba.memoizedState;if(a=o.destroy,null!==r&&ro(r,o.deps))return void co(0,n,a,r)}Za|=t,i.memoizedState=co(e,n,a,r)}function po(t,e){return"function"==typeof e?(t=t(),e(t),function(){e(null)}):null!=e?(t=t(),e.current=t,function(){e.current=null}):void 0}function mo(){}function yo(t,e,n){if(!(25>eo))throw o(Error(301));var r=t.alternate;if(t===Ya||null!==r&&r===Ya)if(Ja=!0,t={expirationTime:$a,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===to&&(to=new Map),void 0===(n=to.get(e)))to.set(e,t);else{for(e=n;null!==e.next;)e=e.next;e.next=t}else{var i=Zl(),a=ya.suspense;a={expirationTime:i=Jl(i,t,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var l=e.last;if(null===l)a.next=a;else{var u=l.next;null!==u&&(a.next=u),l.next=a}if(e.last=a,0===t.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=e.lastRenderedReducer))try{var s=e.lastRenderedState,c=r(s,n);if(a.eagerReducer=r,a.eagerState=c,Xr(c,s))return}catch(t){}nu(t,i)}}var vo={readContext:ra,useCallback:no,useContext:no,useEffect:no,useImperativeHandle:no,useLayoutEffect:no,useMemo:no,useReducer:no,useRef:no,useState:no,useDebugValue:no,useResponder:no},go={readContext:ra,useCallback:function(t,e){return oo().memoizedState=[t,void 0===e?null:e],t},useContext:ra,useEffect:function(t,e){return fo(516,192,t,e)},useImperativeHandle:function(t,e,n){return n=null!=n?n.concat([t]):null,fo(4,36,po.bind(null,e,t),n)},useLayoutEffect:function(t,e){return fo(4,36,t,e)},useMemo:function(t,e){var n=oo();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=oo();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=(t=r.queue={last:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=yo.bind(null,Ya,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},oo().memoizedState=t},useState:function(t){var e=oo();return"function"==typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={last:null,dispatch:null,lastRenderedReducer:uo,lastRenderedState:t}).dispatch=yo.bind(null,Ya,t),[e.memoizedState,t]},useDebugValue:mo,useResponder:Ha},_o={readContext:ra,useCallback:function(t,e){var n=lo();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ro(e,r[1])?r[0]:(n.memoizedState=[t,e],t)},useContext:ra,useEffect:function(t,e){return ho(516,192,t,e)},useImperativeHandle:function(t,e,n){return n=null!=n?n.concat([t]):null,ho(4,36,po.bind(null,e,t),n)},useLayoutEffect:function(t,e){return ho(4,36,t,e)},useMemo:function(t,e){var n=lo();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ro(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)},useReducer:so,useRef:function(){return lo().memoizedState},useState:function(t){return so(uo)},useDebugValue:mo,useResponder:Ha},bo=null,wo=null,xo=!1;function ko(t,e){var n=Fu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function Eo(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function To(t){if(xo){var e=wo;if(e){var n=e;if(!Eo(t,e)){if(!(e=er(n.nextSibling))||!Eo(t,e))return t.effectTag=t.effectTag&~_e|ge,xo=!1,void(bo=t);ko(bo,n)}bo=t,wo=er(e.firstChild)}else t.effectTag=t.effectTag&~_e|ge,xo=!1,bo=t}}function So(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;bo=t}function Co(t){if(t!==bo)return!1;if(!xo)return So(t),xo=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!Zn(e,t.memoizedProps))for(e=wo;e;)ko(t,e),e=er(e.nextSibling);if(So(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw o(Error(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if(n===qn){if(0===e){t=er(t.nextSibling);break t}e--}else n!==Bn&&n!==Xn&&n!==Vn||e++}t=t.nextSibling}t=null}}else t=bo?er(t.stateNode.nextSibling):null;return wo=t,!0}function Mo(){wo=bo=null,xo=!1}var No=L.ReactCurrentOwner,Po=!1;function Oo(t,e,n,r){e.child=null===t?Na(e,null,n,r):Ma(e,t.child,n,r)}function Ao(t,e,n,r,i){n=n.render;var a=e.ref;return na(e,i),r=io(t,e,n,r,a,i),null===t||Po?(e.effectTag|=1,Oo(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Xo(t,e,i))}function Lo(t,e,n,r,i,a){if(null===t){var o=n.type;return"function"!=typeof o||zu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=ju(n.type,null,r,null,e.mode,a)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=o,Ro(t,e,o,r,i,a))}return o=t.child,ie)&&Xl.set(t,e))}}function ru(t,e){t.expirationTime(t=t.nextKnownPendingLevel)?e:t:e}function au(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=Yi(lu.bind(null,t));else{var e=iu(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r=Zl();if(1073741823===e?r=99:1===e||2===e?r=95:r=0>=(r=10*(1073741821-e)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=r)return;n!==Li&&ki(n)}t.callbackExpirationTime=e,t.callbackPriority=r,e=1073741823===e?Yi(lu.bind(null,t)):$i(r,ou.bind(null,t),{timeout:10*(1073741821-e)-Ui()}),t.callbackNode=e}}}function ou(t,e){if(Gl=0,e)return qu(t,e=Zl()),au(t),null;var n=iu(t);if(0!==n){if(e=t.callbackNode,(Ml&(_l|bl))!==vl)throw o(Error(327));if(Su(),t===Nl&&n===Ol||pu(t,n),null!==Pl){var r=Ml;Ml|=_l;for(var i=mu();;)try{_u();break}catch(e){du(t,e)}if(Zi(),Ml=r,ml.current=i,Al===xl)throw e=Ll,pu(t,n),Yu(t,n),au(t),e;if(null===Pl)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=n,su(t,n),r=Al,Nl=null,r){case wl:case xl:throw o(Error(345));case kl:if(2!==n){qu(t,2);break}ku(t);break;case El:if(Yu(t,n),n===(r=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=xu(i)),1073741823===Rl&&10<(i=Ul+Dl-Ui())){if(jl){var a=t.lastPingedTime;if(0===a||a>=n){t.lastPingedTime=n,pu(t,n);break}}if(0!==(a=iu(t))&&a!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}t.timeoutHandle=Jn(ku.bind(null,t),i);break}ku(t);break;case Tl:if(Yu(t,n),n===(r=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=xu(i)),jl&&(0===(i=t.lastPingedTime)||i>=n)){t.lastPingedTime=n,pu(t,n);break}if(0!==(i=iu(t))&&i!==n)break;if(0!==r&&r!==n){t.lastPingedTime=r;break}if(1073741823!==Fl?r=10*(1073741821-Fl)-Ui():1073741823===Rl?r=0:(r=10*(1073741821-Rl)-5e3,0>(r=(i=Ui())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dl(r/1960))-r)&&(r=n)),10=(r=0|l.busyMinDurationMs)?r=0:(i=0|l.busyDelayMs,r=(a=Ui()-(10*(1073741821-a)-(0|l.timeoutMs||5e3)))<=i?0:i+r-a),10=e&&($i(97,(function(){return n._onComplete(),null})),Al=Cl)}function cu(t,e){var n=Ml;Ml|=1;try{return t(e)}finally{(Ml=n)===vl&&Bi()}}function fu(t,e,n,r){var i=Ml;Ml|=4;try{return Wi(98,t.bind(null,e,n,r))}finally{(Ml=i)===vl&&Bi()}}function hu(t,e){var n=Ml;Ml&=-2,Ml|=gl;try{return t(e)}finally{(Ml=n)===vl&&Bi()}}function pu(t,e){t.finishedWork=null,t.finishedExpirationTime=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,tr(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!=i&&mi();break;case 3:za(),yi();break;case 5:ja(r);break;case 4:za();break;case 13:case 19:li(Ua);break;case 10:ta(r)}n=n.return}Nl=t,Pl=Iu(t.current,null),Ol=e,Al=wl,Ll=null,Fl=Rl=1073741823,zl=null,Il=0,jl=!1}function du(t,e){for(;;){try{if(Zi(),ao(),null===Pl||null===Pl.return)return Al=xl,Ll=e,null;t:{var n=t,r=Pl.return,i=Pl,a=e;if(e=Ol,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==a&&"object"==typeof a&&"function"==typeof a.then){var o=a,l=0!=(1&Ua.current),u=r;do{var s;if(s=13===u.tag){var c=u.memoizedState;if(null!==c)s=null!==c.dehydrated;else{var f=u.memoizedProps;s=void 0!==f.fallback&&(!0!==f.unstable_avoidThisFallback||!l)}}if(s){var h=u.updateQueue;if(null===h){var p=new Set;p.add(o),u.updateQueue=p}else h.add(o);if(0==(2&u.mode)){if(u.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var d=la(1073741823,null);d.tag=2,sa(i,d)}i.expirationTime=1073741823;break t}a=void 0,i=e;var m=n.pingCache;if(null===m?(m=n.pingCache=new fl,a=new Set,m.set(o,a)):void 0===(a=m.get(o))&&(a=new Set,m.set(o,a)),!a.has(i)){a.add(i);var y=Pu.bind(null,n,o,i);o.then(y,y)}u.effectTag|=4096,u.expirationTime=e;break t}u=u.return}while(null!==u);a=Error((G(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a component higher in the tree to provide a loading indicator or placeholder to display."+Z(i))}Al!==Sl&&(Al=kl),a=Zo(a,i),u=r;do{switch(u.tag){case 3:o=a,u.effectTag|=4096,u.expirationTime=e,ca(u,hl(u,o,e));break t;case 1:o=a;var v=u.type,g=u.stateNode;if((64&u.effectTag)===ve&&("function"==typeof v.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&(null===Yl||!Yl.has(g)))){u.effectTag|=4096,u.expirationTime=e,ca(u,pl(u,o,e));break t}}u=u.return}while(null!==u)}Pl=wu(Pl)}catch(t){e=t;continue}break}}function mu(){var t=ml.current;return ml.current=vo,null===t?vo:t}function yu(t,e){tIl&&(Il=t)}function gu(){for(;null!==Pl;)Pl=bu(Pl)}function _u(){for(;null!==Pl&&!Ei();)Pl=bu(Pl)}function bu(t){var e=tu(t.alternate,t,Ol);return t.memoizedProps=t.pendingProps,null===e&&(e=wu(t)),yl.current=null,e}function wu(t){Pl=t;do{var e=Pl.alternate;if(t=Pl.return,(2048&Pl.effectTag)===ve){t:{var n=e,r=Ol,a=(e=Pl).pendingProps;switch(e.tag){case 2:case 16:break;case 15:case 0:break;case 1:di(e.type)&&mi();break;case 3:za(),yi(),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===n||null===n.child)&&Co(e)&&Qo(e),Ho(e);break;case 5:ja(e),r=Ra(La.current);var l=e.type;if(null!==n&&null!=e.stateNode)Wo(n,e,l,a,r),n.ref!==e.ref&&(e.effectTag|=128);else if(a){var u=Ra(Oa.current);if(Co(e)){l=void 0,n=(a=e).stateNode;var s=a.type,c=a.memoizedProps;switch(n[ir]=a,n[ar]=c,s){case"iframe":case"object":case"embed":bn("load",n);break;case"video":case"audio":for(var f=0;f<\/script>",f=c.removeChild(c.firstChild)):"string"==typeof n.is?f=f.createElement(c,{is:n.is}):(f=f.createElement(c),"select"===c&&(c=f,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):f=f.createElementNS(u,c),(c=f)[ir]=s,c[ar]=n,Do(n=c,e,!1,!1),e.stateNode=n,u=r;var h=In(l,a);switch(l){case"iframe":case"object":case"embed":bn("load",n),r=a;break;case"video":case"audio":for(r=0;ra.tailExpiration&&1a&&(a=n),(s=l.childExpirationTime)>a&&(a=s),l=l.sibling;r.childExpirationTime=a}if(null!==e)return e;null!==t&&(2048&t.effectTag)===ve&&(null===t.firstEffect&&(t.firstEffect=Pl.firstEffect),null!==Pl.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=Pl.firstEffect),t.lastEffect=Pl.lastEffect),1(t=t.childExpirationTime)?e:t}function ku(t){var e=Di();return Wi(99,Eu.bind(null,t,e)),null}function Eu(t,e){if(Su(),(Ml&(_l|bl))!==vl)throw o(Error(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw o(Error(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=xu(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===Nl&&(Pl=Nl=null,Ol=0),1u&&(c=u,u=l,l=c),c=Wn(b,l),f=Wn(b,u),c&&f&&(1!==x.rangeCount||x.anchorNode!==c.node||x.anchorOffset!==c.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((w=w.createRange()).setStart(c.node,c.offset),x.removeAllRanges(),l>u?(x.addRange(w),x.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),x.addRange(w))))),w=[];for(x=b;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b=n?Bo(t,e,n):(ui(Ua,1&Ua.current),null!==(e=Xo(t,e,n))?e.sibling:null);ui(Ua,1&Ua.current);break;case 19:if(r=e.childExpirationTime>=n,(64&t.effectTag)!==ve){if(r)return Vo(t,e,n);e.effectTag|=64}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null),ui(Ua,Ua.current),!r)return null}return Xo(t,e,n)}Po=!1}}else Po=!1;switch(e.expirationTime=0,e.tag){case 2:if(r=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=ge),t=e.pendingProps,i=pi(e,ci.current),na(e,n),i=io(null,e,r,t,i,n),e.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(e.tag=1,ao(),di(r)){var a=!0;_i(e)}else a=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var l=r.getDerivedStateFromProps;"function"==typeof l&&ga(e,r,l,t),i.updater=_a,e.stateNode=i,i._reactInternalFiber=e,ka(e,r,t,n),e=jo(null,e,r,!0,a,n)}else e.tag=0,Oo(null,e,i,n),e=e.child;return e;case 16:if(i=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=ge),t=e.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,e.type=i,a=e.tag=function(t){if("function"==typeof t)return zu(t)?1:0;if(null!=t){if((t=t.$$typeof)===Y)return 11;if(t===V)return 14}return 2}(i),t=Vi(i,t),a){case 0:e=zo(null,e,i,t,n);break;case 1:e=Io(null,e,i,t,n);break;case 11:e=Ao(null,e,i,t,n);break;case 14:e=Lo(null,e,i,Vi(i.type,t),r,n);break;default:throw o(Error(306),i,"")}return e;case 0:return r=e.type,i=e.pendingProps,zo(t,e,r,i=e.elementType===r?i:Vi(r,i),n);case 1:return r=e.type,i=e.pendingProps,Io(t,e,r,i=e.elementType===r?i:Vi(r,i),n);case 3:if(Uo(e),null===(r=e.updateQueue))throw o(Error(282));if(i=null!==(i=e.memoizedState)?i.element:null,pa(e,r,e.pendingProps,null,n),(r=e.memoizedState.element)===i)Mo(),e=Xo(t,e,n);else{if((i=e.stateNode.hydrate)&&(wo=er(e.stateNode.containerInfo.firstChild),bo=e,i=xo=!0),i)for(n=Na(e,null,r,n),e.child=n;n;)n.effectTag=n.effectTag&~ge|_e,n=n.sibling;else Oo(t,e,r,n),Mo();e=e.child}return e;case 5:return Ia(e),null===t&&To(e),r=e.type,i=e.pendingProps,a=null!==t?t.memoizedProps:null,l=i.children,Zn(r,i)?l=null:null!==a&&Zn(r,a)&&(e.effectTag|=16),Fo(t,e),4&e.mode&&1!==n&&i.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(Oo(t,e,l,n),e=e.child),e;case 6:return null===t&&To(e),null;case 13:return Bo(t,e,n);case 4:return Fa(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Ma(e,null,r,n):Oo(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,Ao(t,e,r,i=e.elementType===r?i:Vi(r,i),n);case 7:return Oo(t,e,e.pendingProps,n),e.child;case 8:case 12:return Oo(t,e,e.pendingProps.children,n),e.child;case 10:t:{if(r=e.type._context,i=e.pendingProps,l=e.memoizedProps,Ji(e,a=i.value),null!==l){var u=l.value;if(0===(a=Xr(u,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,a):1073741823))){if(l.children===i.children&&!fi.current){e=Xo(t,e,n);break t}}else for(null!==(u=e.child)&&(u.return=e);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&a)){1===u.tag&&((c=la(n,null)).tag=2,sa(u,c)),u.expirationTime=e&&t<=e}function Yu(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;ne||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function Bu(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function qu(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}function Vu(t,e,n,r,i,a){var l=e.current;t:if(n){e:{if(be(n=n._reactInternalFiber)!==n||1!==n.tag)throw o(Error(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break e;case 1:if(di(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break e}}u=u.return}while(null!==u);throw o(Error(171))}if(1===n.tag){var s=n.type;if(di(s)){n=gi(n,s,u);break t}}n=u}else n=si;return null===e.context?e.context=n:e.pendingContext=n,e=a,(i=la(r,i)).payload={element:t},null!==(e=void 0===e?null:e)&&(i.callback=e),sa(l,i),nu(l,r),r}function Xu(t,e,n,r){var i=e.current,a=Zl(),o=ya.suspense;return Vu(t,e,n,i=Jl(a,i,o),o,r)}function Qu(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function Ku(t){var e=1073741821-25*(1+((1073741821-Zl()+500)/25|0));e<=eu&&--e,this._expirationTime=eu=e,this._root=t,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Gu(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Zu(t,e,n){var r=new Wu(t,e,n=null!=n&&!0===n.hydrate),i=Fu(3,null,null,2===e?7:1===e?3:0);return r.current=i,i.stateNode=r,t[or]=r.current,n&&0!==e&&function(t){var e=Nn(t);le.forEach((function(n){Pn(n,t,e)})),ue.forEach((function(n){Pn(n,t,e)}))}(9===t.nodeType?t:t.ownerDocument),r}function Ju(t,e,n){this._internalRoot=Zu(t,e,n)}function ts(t,e){this._internalRoot=Zu(t,2,e)}function es(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function ns(t,e,n,r,i){var a=n._reactRootContainer;if(a){var o=a._internalRoot;if("function"==typeof i){var l=i;i=function(){var t=Qu(o);l.call(t)}}Xu(e,o,t,i)}else{if(a=n._reactRootContainer=function(t,e){if(e||(e=!(!(e=t?9===t.nodeType?t.documentElement:t.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var n;n=t.lastChild;)t.removeChild(n);return new Ju(t,0,e?{hydrate:!0}:void 0)}(n,r),o=a._internalRoot,"function"==typeof i){var u=i;i=function(){var t=Qu(o);u.call(t)}}hu((function(){Xu(e,o,t,i)}))}return Qu(o)}function rs(t,e){var n=2=e;)n=r,r=r._next;t._next=r,null!==n&&(n._next=t)}return t},ot=cu,lt=fu,ut=uu,st=function(t,e){var n=Ml;Ml|=2;try{return t(e)}finally{(Ml=n)===vl&&Bi()}};var is,as,os={createPortal:rs,findDOMNode:function(t){if(null==t)t=null;else if(1!==t.nodeType){var e=t._reactInternalFiber;if(void 0===e){if("function"==typeof t.render)throw o(Error(188));throw o(Error(268),Object.keys(t))}t=null===(t=xe(e))?null:t.stateNode}return t},hydrate:function(t,e,n){if(!es(e))throw o(Error(200));return ns(null,t,e,!0,n)},render:function(t,e,n){if(!es(e))throw o(Error(200));return ns(null,t,e,!1,n)},unstable_renderSubtreeIntoContainer:function(t,e,n,r){if(!es(n))throw o(Error(200));if(null==t||void 0===t._reactInternalFiber)throw o(Error(38));return ns(t,e,n,!1,r)},unmountComponentAtNode:function(t){if(!es(t))throw o(Error(40));return!!t._reactRootContainer&&(hu((function(){ns(null,null,t,!1,(function(){t._reactRootContainer=null}))})),!0)},unstable_createPortal:function(){return rs.apply(void 0,arguments)},unstable_batchedUpdates:cu,unstable_interactiveUpdates:function(t,e,n,r){return uu(),fu(t,e,n,r)},unstable_discreteUpdates:fu,unstable_flushDiscreteUpdates:uu,flushSync:function(t,e){if((Ml&(_l|bl))!==vl)throw o(Error(187));var n=Ml;Ml|=1;try{return Wi(99,t.bind(null,e))}finally{Ml=n,Bi()}},unstable_createRoot:function(t,e){if(!es(t))throw o(Error(299),"unstable_createRoot");return new ts(t,e)},unstable_createSyncRoot:function(t,e){if(!es(t))throw o(Error(299),"unstable_createRoot");return new Ju(t,1,e)},unstable_flushControlled:function(t){var e=Ml;Ml|=1;try{Wi(99,t)}finally{(Ml=e)===vl&&Bi()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[ur,sr,cr,O.injectEventPluginsByName,h,Ne,function(t){C(t,Me)},it,at,Tn,P,Su,{current:!1}]}};as=(is={findFiberByHostInstance:lr,bundleType:0,version:"16.10.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(t){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled||!e.supportsFiber)return!0;try{var n=e.inject(t);Au=function(t){try{e.onCommitFiberRoot(n,t,void 0,64==(64&t.current.effectTag))}catch(t){}},Lu=function(t){try{e.onCommitFiberUnmount(n,t)}catch(t){}}}catch(t){}}(i({},is,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:L.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=xe(t))?null:t.stateNode},findFiberByHostInstance:function(t){return as?as(t):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}));var ls={default:os},us=ls&&os||ls;t.exports=us.default||us},function(t,e,n){"use strict";t.exports=n(61)},function(t,e,n){"use strict";
+/** @license React v0.16.0
+ * scheduler.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var r,i,a,o,l;if(Object.defineProperty(e,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,c=function(){if(null!==u)try{var t=e.unstable_now();u(!0,t),u=null}catch(t){throw setTimeout(c,0),t}},f=Date.now();e.unstable_now=function(){return Date.now()-f},r=function(t){null!==u?setTimeout(r,0,t):(u=t,setTimeout(c,0))},i=function(t,e){s=setTimeout(t,e)},a=function(){clearTimeout(s)},o=function(){return!1},l=e.unstable_forceFrameRate=function(){}}else{var h=window.performance,p=window.Date,d=window.setTimeout,m=window.clearTimeout,y=window.requestAnimationFrame,v=window.cancelAnimationFrame;if("undefined"!=typeof console&&("function"!=typeof y&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),"object"==typeof h&&"function"==typeof h.now)e.unstable_now=function(){return h.now()};else{var g=p.now();e.unstable_now=function(){return p.now()-g}}var _=!1,b=null,w=-1,x=5,k=0;o=function(){return e.unstable_now()>=k},l=function(){},e.unstable_forceFrameRate=function(t){0>t||125N(o,n))void 0!==u&&0>N(u,o)?(t[r]=u,t[l]=n,r=l):(t[r]=o,t[a]=n,r=a);else{if(!(void 0!==u&&0>N(u,n)))break t;t[r]=u,t[l]=n,r=l}}}return e}return null}function N(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var P=[],O=[],A=1,L=null,R=3,F=!1,z=!1,I=!1;function j(t){for(var e=C(O);null!==e;){if(null===e.callback)M(O);else{if(!(e.startTime<=t))break;M(O),e.sortIndex=e.expirationTime,S(P,e)}e=C(O)}}function U(t){if(I=!1,j(t),!z)if(null!==C(P))z=!0,r(D);else{var e=C(O);null!==e&&i(U,e.startTime-t)}}function D(t,n){z=!1,I&&(I=!1,a()),F=!0;var r=R;try{for(j(n),L=C(P);null!==L&&(!(L.expirationTime>n)||t&&!o());){var l=L.callback;if(null!==l){L.callback=null,R=L.priorityLevel;var u=l(L.expirationTime<=n);n=e.unstable_now(),"function"==typeof u?L.callback=u:L===C(P)&&M(P),j(n)}else M(P);L=C(P)}if(null!==L)var s=!0;else{var c=C(O);null!==c&&i(U,c.startTime-n),s=!1}return s}finally{L=null,R=r,F=!1}}function H(t){switch(t){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var W=l;e.unstable_ImmediatePriority=1,e.unstable_UserBlockingPriority=2,e.unstable_NormalPriority=3,e.unstable_IdlePriority=5,e.unstable_LowPriority=4,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=R;R=t;try{return e()}finally{R=n}},e.unstable_next=function(t){switch(R){case 1:case 2:case 3:var e=3;break;default:e=R}var n=R;R=e;try{return t()}finally{R=n}},e.unstable_scheduleCallback=function(t,n,o){var l=e.unstable_now();if("object"==typeof o&&null!==o){var u=o.delay;u="number"==typeof u&&0l?(t.sortIndex=u,S(O,t),null===C(P)&&t===C(O)&&(I?a():I=!0,i(U,u-l))):(t.sortIndex=o,S(P,t),z||F||(z=!0,r(D))),t},e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_wrapCallback=function(t){var e=R;return function(){var n=R;R=e;try{return t.apply(this,arguments)}finally{R=n}}},e.unstable_getCurrentPriorityLevel=function(){return R},e.unstable_shouldYield=function(){var t=e.unstable_now();j(t);var n=C(P);return n!==L&&null!==L&&null!==n&&null!==n.callback&&n.startTime<=t&&n.expirationTime=0;--a){var o=this.tryEntries[a],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(u&&s){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function a(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new a(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new a(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(67),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(10))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i,a,o,l,u=1,s={},c=!1,f=t.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(t);h=h&&h.setTimeout?h:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){d(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((a=new MessageChannel).port1.onmessage=function(t){d(t.data)},r=function(t){a.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):r=function(t){setTimeout(d,0,t)}:(o="setImmediate$"+Math.random()+"$",l=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&d(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",l,!1):t.attachEvent("onmessage",l),r=function(e){t.postMessage(o+e,"*")}),h.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n1)for(var n=1;n=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function b(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0||!Array.isArray(e)&&e?v({},t,e):{}}function T(t){var e=t.icon,n=t.mask,r=t.symbol,i=t.className,a=t.title,o=k(e),l=E("classes",[].concat(b(function(t){var e,n=t.spin,r=t.pulse,i=t.fixedWidth,a=t.inverse,o=t.border,l=t.listItem,u=t.flip,s=t.size,c=t.rotation,f=t.pull,h=(v(e={"fa-spin":n,"fa-pulse":r,"fa-fw":i,"fa-inverse":a,"fa-border":o,"fa-li":l,"fa-flip-horizontal":"horizontal"===u||"both"===u,"fa-flip-vertical":"vertical"===u||"both"===u},"fa-".concat(s),void 0!==s),v(e,"fa-rotate-".concat(c),void 0!==c),v(e,"fa-pull-".concat(f),void 0!==f),v(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(h).map((function(t){return h[t]?t:null})).filter((function(t){return t}))}(t)),b(i.split(" ")))),u=E("transform","string"==typeof t.transform?p.b.transform(t.transform):t.transform),s=E("mask",k(n)),c=Object(p.a)(o,g({},l,u,s,{symbol:r,title:a}));if(!c)return function(){var t;!x&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",o),null;var f=c.abstract,h={};return Object.keys(t).forEach((function(e){T.defaultProps.hasOwnProperty(e)||(h[e]=t[e])})),S(f[0],h)}T.displayName="FontAwesomeIcon",T.propTypes={border:m.a.bool,className:m.a.string,mask:m.a.oneOfType([m.a.object,m.a.array,m.a.string]),fixedWidth:m.a.bool,inverse:m.a.bool,flip:m.a.oneOf(["horizontal","vertical","both"]),icon:m.a.oneOfType([m.a.object,m.a.array,m.a.string]),listItem:m.a.bool,pull:m.a.oneOf(["right","left"]),pulse:m.a.bool,rotation:m.a.oneOf([90,180,270]),size:m.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:m.a.bool,symbol:m.a.oneOfType([m.a.bool,m.a.string]),title:m.a.string,transform:m.a.oneOfType([m.a.string,m.a.object]),swapOpacity:m.a.bool},T.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var S=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return t(e,n)})),a=Object.keys(n.attributes||{}).reduce((function(t,e){var r=n.attributes[e];switch(e){case"class":t.attrs.className=r,delete n.attributes.class;break;case"style":t.attrs.style=function(t){return t.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n,r=e.indexOf(":"),i=w(e.slice(0,r)),a=e.slice(r+1).trim();return i.startsWith("webkit")?t[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=a:t[i]=a,t}),{})}(r);break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=r:t.attrs[w(e)]=r}return t}),{attrs:{}}),o=r.style,l=void 0===o?{}:o,u=_(r,["style"]);return a.attrs.style=g({},a.attrs.style,l),e.apply(void 0,[n.tag,g({},a.attrs,u)].concat(b(i)))}.bind(null,i.a.createElement),C={prefix:"fas",iconName:"arrow-right",icon:[448,512,[],"f061","M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"]},M={prefix:"fas",iconName:"sad-tear",icon:[496,512,[],"f5b4","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 168c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM152 416c-26.5 0-48-21-48-47 0-20 28.5-60.4 41.6-77.8 3.2-4.3 9.6-4.3 12.8 0C171.5 308.6 200 349 200 369c0 26-21.5 47-48 47zm16-176c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm170.2 154.2C315.8 367.4 282.9 352 248 352c-21.2 0-21.2-32 0-32 44.4 0 86.3 19.6 114.7 53.8 13.8 16.4-11.2 36.5-24.5 20.4z"]},N=function(t,e){return te?1:t>=e?0:NaN},P=function(t){return null===t?NaN:+t};function O(t,e,n){return(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}(t,n))).sort(N),function(t,e,n=P){if(!(r=t.length))return;if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,a=Math.floor(i),o=+n(t[a],a,t),l=+n(t[a+1],a+1,t);return o+(l-o)*(i-a)}(t,e)}function A(t){var e=t.type,n=Object(r.useState)(95),a=u()(n,2),o=a[0],l=a[1],s=Object(r.useState)([]),f=u()(s,2),p=f[0],d=f[1],m=function(){var t=h()(c.a.mark((function t(n){var r,i;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!window.values){t.next=5;break}i=O(window.values,n/100,(function(t){return t.x*t.y})),r=window.values.filter((function(t){return t.x*t.y>i})),t.next=10;break;case 5:return t.next=7,fetch("suggestions?t=".concat(n,"&type=").concat(e));case 7:return t.next=9,t.sent.json();case 9:r=t.sent;case 10:d(r);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return Object(r.useEffect)((function(){m(o)}),[e]),i.a.createElement("div",{className:"card"},i.a.createElement("div",{className:"card-body"},i.a.createElement("div",{className:"d-flex justify-content-between"},i.a.createElement("div",null,i.a.createElement("h5",{className:"card-title"},"Refactoring Candidates"),i.a.createElement("h6",{className:"card-subtitle text-muted"},"Top 95 Percentile of Churn * Complexity")),i.a.createElement("div",{id:"percentile-input-group"},i.a.createElement("label",{htmlFor:"percentile",className:"text-muted"},i.a.createElement("small",null,"Percentile")),i.a.createElement("div",{className:"input-group align-items-start"},i.a.createElement("input",{type:"text",className:"form-control",placeholder:"","aria-label":"","aria-describedby":"percentile-button",id:"percentile",value:o,onChange:function(t){return l(t.target.value)}}),i.a.createElement("div",{className:"input-group-append"},i.a.createElement("button",{className:"btn btn-dark",type:"button",id:"percentile-button",onClick:function(t){t.preventDefault(),m(o)}},i.a.createElement(T,{icon:C})))))),i.a.createElement("table",{className:"table mt-4"},i.a.createElement("thead",null,i.a.createElement("tr",null,i.a.createElement("th",{scope:"col"},"File Path"),i.a.createElement("th",{scope:"col"},"Churn"),i.a.createElement("th",{scope:"col"},"Complexity"),i.a.createElement("th",{scope:"col"},"Churn * Complexity"))),i.a.createElement("tbody",{id:"suggestions-table"},p.length>0&&p.map((function(t){return i.a.createElement("tr",{key:t.file_path},i.a.createElement("td",null,t.file_path),i.a.createElement("td",null,t.x),i.a.createElement("td",null,Math.round(t.y)),i.a.createElement("td",null,Math.round(t.x*t.y)))}))))))}var L=n(8),R=n.n(L),F=function(t){var e=t.activeFile,n=t.handleClose;return i.a.createElement("div",{className:"col-4"},i.a.createElement("div",{className:"card"},i.a.createElement("div",{className:"card-header"},i.a.createElement("h5",{className:"card-title"},e.file_path),i.a.createElement("h6",{className:"text-muted"},"Additional information"),i.a.createElement("button",{type:"button",className:"close","aria-label":"Close",onClick:n},i.a.createElement("span",{"aria-hidden":"true"},"×"))),i.a.createElement("div",{className:"card-body"},i.a.createElement("h6",{className:"text-muted"},i.a.createElement("strong",null,"Method Teardown")),i.a.createElement("table",{className:"table table-borderless mt-0 method-table"},i.a.createElement("tbody",null,Object.entries(e.details).map((function(t){var e=u()(t,2),n=e[0],r=e[1];return i.a.createElement("tr",{className:"row",key:n},i.a.createElement("td",{className:"px-3 py-1 col-9 text-truncate"},n),i.a.createElement("td",{className:"px-3 py-1 col-3"},Math.round(100*r)/100))})))),i.a.createElement("h6",{className:"text-muted mt-3"},"Git history (last 10 commits)"),i.a.createElement("table",{className:"table table-borderless mt-0 method-table"},i.a.createElement("tbody",null,e.history.map((function(t){var e=u()(t,2),n=e[0],r=e[1];return i.a.createElement("tr",{className:"row",key:n},i.a.createElement("td",{className:"px-3 py-1 col-3 text-truncate"},n),i.a.createElement("td",{className:"px-3 py-1 col-8 text-truncate"},r))})))))))},z=function(t){var e=t.state,n=t.dispatch,r=t.activePlot;return i.a.createElement("div",{className:"mt-3"},i.a.createElement("h6",{className:"text-muted"},i.a.createElement("strong",null,"Display options")),i.a.createElement("form",null,i.a.createElement("div",{className:"form-row"},i.a.createElement("div",{className:"form-group col-2"},i.a.createElement("input",{checked:e.displayFilenames,className:"form-check-input",type:"checkbox",id:"filenames-check",onChange:function(){n({type:"SET_DISPLAY_FILENAMES",displayFilenames:!e.displayFilenames})}}),i.a.createElement("label",{className:"form-check-label text-muted",htmlFor:"filenames-check"},i.a.createElement("small",null,"Display filenames"))),i.a.createElement("div",{className:"form-group col-2"},i.a.createElement("input",{checked:e.displayRegression,className:"form-check-input",type:"checkbox",id:"regression-check",disabled:r!==jf.SCATTER_PLOT,onChange:function(){n({type:"SET_DISPLAY_REGRESSION",displayRegression:!e.displayRegression})}}),i.a.createElement("label",{className:"form-check-label text-muted",htmlFor:"regression-check"},i.a.createElement("small",null,"Display regression"))),i.a.createElement("div",{className:"form-group col-3"},i.a.createElement("label",{htmlFor:"regression-type",className:"text-muted ".concat(r===jf.TREE_MAP&&"disabled")},i.a.createElement("small",null,"Regression Type")),i.a.createElement("select",{id:"regression-type",className:"form-control",disabled:r!==jf.SCATTER_PLOT,onChange:function(t){n({type:"SET_REGRESSION_TYPE",regressionType:parseInt(t.currentTarget.value)})}},i.a.createElement("option",{selected:!0,value:"0"},"Power Law"),i.a.createElement("option",{value:"1"},"Linear"))))))},I=function(t,e){return te?1:t>=e?0:NaN};var j,U,D=(1===(j=I).length&&(U=j,j=function(t,e){return I(U(t),e)}),{left:function(t,e,n,r){for(null==n&&(n=0),null==r&&(r=t.length);n>>1;j(t[i],e)<0?n=i+1:r=i}return n},right:function(t,e,n,r){for(null==n&&(n=0),null==r&&(r=t.length);n>>1;j(t[i],e)>0?r=i:n=i+1}return n}}),H=D.right;var W=function(t,e){var n,r,i,a=t.length,o=-1;if(null==e){for(;++o